/* Metal Force CNC – stiluri site public.
   Paleta și tipografia vin din prototipul aprobat: portocaliu #F26A1B (accent), #C24E0E (butoane),
   antracit #121315 / #1E2023, Barlow + Barlow Condensed; titlurile mari folosesc fontul stencil din secțiunea 3D. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }
@font-face { font-family: "Big Shoulders Stencil Display"; font-weight: 700; font-display: swap; src: url(../fonts/big-shoulders-stencil-display-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Big Shoulders Stencil Display"; font-weight: 700; font-display: swap; src: url(../fonts/big-shoulders-stencil-display-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }
@font-face { font-family: "Big Shoulders Stencil Display"; font-weight: 800; font-display: swap; src: url(../fonts/big-shoulders-stencil-display-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Big Shoulders Stencil Display"; font-weight: 800; font-display: swap; src: url(../fonts/big-shoulders-stencil-display-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F; }

:root {
  --orange: #F26A1B;
  --orange-deep: #C24E0E;
  --orange-dark: #a8430b;
  --ink: #2B2E33;
  --ink-soft: #3c4047;
  --muted: #5a5f67;
  --line: #E3E5E8;
  --gray: #F4F5F6;
  --gray-2: #F9FAFA;
  --dark: #121315;
  --dark-2: #1E2023;
  --dark-line: #33363b;
  --on-dark: #e4e6e9;
  --on-dark-dim: #b9bdc4;
  --font: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-stencil: "Big Shoulders Stencil Display", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1280px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img, video { max-width: 100%; display: block; }
a { color: var(--orange-deep); }
a:hover { color: #8f390a; }
h1, h2, h3, h4 { font-family: var(--font-cond); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--dark); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* ---------- Butoane și elemente comune ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange-deep); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font: 600 16px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 30px; min-height: 52px; transition: background .2s;
}
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.btn-dark { background: var(--dark); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.kicker { font-weight: 600; letter-spacing: .18em; font-size: 14px; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 10px; }
.on-dark .kicker, .kicker.light { color: var(--orange); }
.link-accent { color: var(--orange); font-weight: 600; text-decoration: none; }
.link-accent:hover { color: #fff; }
.more { color: var(--orange-deep); font-weight: 600; }
.h-section { font-size: clamp(34px, 4vw, 44px); }
.lead { font-size: 19px; line-height: 1.65; color: var(--ink-soft); }
.section { padding-block: clamp(64px, 8vw, 96px); }
.section-gray { background: var(--gray); }
.section-dark { background: var(--dark-2); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }

/* ---------- Antet ---------- */
.site-head { position: relative; z-index: 20; }
.topbar { background: var(--dark); font-size: 14px; }
.topbar-in { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: flex-end; align-items: center; padding-block: 9px; }
.topbar a { color: #d9dbde; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar svg { color: var(--orange); }
.mainbar { background: #fff; }
.mainbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; padding-block: 14px 8px; }
.logo img { height: 60px; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; }
.menu > a, .has-sub > a {
  font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent; display: inline-flex; align-items: center;
}
.menu > a:hover, .has-sub > a:hover { color: var(--orange-deep); }
.menu > a.on, .has-sub.on > a { color: var(--orange-deep); border-bottom-color: var(--orange); }
.menu .menu-cta { display: none; }
.has-sub { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.sub-btn { background: none; border: 0; padding: 4px; margin: 0; cursor: pointer; color: inherit; display: inline-flex; min-height: 32px; align-items: center; }
.sub {
  position: absolute; top: 100%; left: -18px; min-width: 260px; padding: 10px 0; background: #fff;
  border-top: 3px solid var(--orange); box-shadow: 0 18px 40px rgba(18,19,21,.14);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 20px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sub a:hover { background: var(--gray); color: var(--orange-deep); }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); padding: 8px; margin-right: -8px; cursor: pointer; min-width: 44px; min-height: 44px; }
.wave { position: absolute; left: 0; top: 100%; width: 100%; height: 48px; display: block; pointer-events: none; }

/* ---------- Eroi (hero) ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,19,21,.9) 0%, rgba(18,19,21,.55) 50%, rgba(18,19,21,.12) 100%); }
.hero-in { position: relative; padding-top: 120px; padding-bottom: 72px; }
.hero h1 { font-family: var(--font-stencil); font-weight: 800; text-transform: uppercase; font-size: clamp(46px, 6.4vw, 92px); line-height: .9; letter-spacing: .005em; max-width: 14ch; }
.hero p.sub-t { margin-top: 18px; max-width: 580px; font-size: 21px; line-height: 1.5; color: #e4e6e9; }
.hero-photo { min-height: 540px; }
.hero-plain { background: var(--dark-2); }
.hero-plain .hero-in { padding-top: 112px; padding-bottom: 60px; }
.hero-plain h1 { max-width: 20ch; }
.crumbs { font-size: 15px; color: var(--on-dark-dim); margin-bottom: 14px; }
.crumbs a { color: var(--orange); text-decoration: none; }

/* Acasă: video pe tot ecranul, titlul mare centrat jos (după demo13). */
.hero-home { min-height: max(640px, 100svh); justify-content: center; text-align: center; }
.hero-home .hero-shade { background: linear-gradient(180deg, rgba(18,19,21,.2) 0%, rgba(18,19,21,.5) 55%, rgba(18,19,21,.92) 100%); }
.hero-home .hero-in { padding-bottom: clamp(64px, 10vh, 110px); }
.hero-home h1 { font-size: clamp(52px, 8.4vw, 132px); max-width: none; margin-inline: auto; }
.hero-home p.sub-t { margin-inline: auto; max-width: 720px; font-size: clamp(18px, 1.6vw, 21px); }
.hero-home p.sub-t strong { color: #fff; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-mark { position: absolute; left: 4%; top: 38%; transform: translateY(-50%); width: 34%; max-width: 480px; min-width: 200px; opacity: .14; pointer-events: none; }
.video-toggle {
  position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; background: rgba(18,19,21,.55); color: #fff;
  border: 1px solid rgba(255,255,255,.35); padding: 8px 14px; font: 500 14px var(--font); cursor: pointer; min-height: 40px;
}
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 36px; background: rgba(255,255,255,.6); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Secțiuni pe două coloane ---------- */
.split { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.split > .main { flex: 999 1 520px; min-width: 0; }
.split > .side { flex: 1 1 320px; min-width: 0; }
.split.center { align-items: center; }
.frame-img { position: relative; }
.frame-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.frame-img::before, .frame-img::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--orange); }
.frame-img::before { top: -10px; left: -10px; border-right: 0; border-bottom: 0; }
.frame-img::after { bottom: -10px; right: -10px; border-left: 0; border-top: 0; }
.placeholder {
  min-height: 360px; background: #E9EBED; border: 2px dashed #b6bac1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; color: var(--muted); text-align: center; padding: 24px;
}

/* ---------- Cifre ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.stat { padding: 28px 24px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.stat b { display: block; font-family: var(--font-stencil); font-weight: 800; font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--orange); }
.stat span { display: block; margin-top: 8px; color: var(--on-dark-dim); }

/* ---------- Carduri servicii ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--orange); transform: translateY(-3px); color: var(--ink); box-shadow: 0 14px 30px rgba(18,19,21,.08); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card img.fit-contain { object-fit: contain; background: #fff; padding: 10px; }
.card-b { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 24px; letter-spacing: .04em; text-transform: uppercase; }
.card p { margin: 8px 0 14px; color: #4a4e55; line-height: 1.55; flex: 1; }
.card .num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }

/* ---------- Certificări ---------- */
.cert-box { background: var(--gray); padding: 32px; }
.cert-box h3 { font-size: 22px; letter-spacing: .12em; margin-bottom: 18px; }
.certs { display: flex; flex-wrap: wrap; gap: 14px; }
.cert { flex: 1 1 160px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); padding: 16px; color: inherit; text-decoration: none; }
a.cert:hover { border-color: var(--orange); color: inherit; }
.cert svg { color: var(--orange-deep); flex: none; }
.cert b { display: block; font-family: var(--font-cond); font-weight: 700; font-size: 22px; line-height: 1.1; }
.cert small { font-size: 14px; color: var(--muted); }

/* ---------- Bandă CTA ---------- */
.cta-band { padding-block: 72px; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cta-band h2 { flex: 1 1 480px; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.cta-orange { background: var(--orange); color: #141210; position: relative; overflow: hidden; }
.cta-orange h2 { font-family: var(--font-stencil); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 4.4vw, 60px); line-height: .92; }
.cta-orange .btn { background: #141210; }
.cta-orange .btn:hover { background: #000; }
.cta-orange::before { content: "MF-CNC · CERERE DE OFERTĂ"; position: absolute; top: 16px; left: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; opacity: .7; }
html[lang="en"] .cta-orange::before { content: "MF-CNC · QUOTE REQUEST"; }

/* ---------- Pagină serviciu ---------- */
.svc-layout { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.svc-nav { flex: 1 1 260px; min-width: 0; background: var(--gray); padding: 8px 0; position: sticky; top: 24px; }
.svc-nav h2 { padding: 16px 18px 8px; font-size: 18px; letter-spacing: .12em; color: var(--muted); }
.svc-nav a { display: block; padding: 12px 18px; color: var(--ink); text-decoration: none; font-weight: 500; border-left: 3px solid transparent; }
.svc-nav a:hover { color: var(--orange-deep); background: #eceef0; }
.svc-nav a[aria-current] { border-left-color: var(--orange); color: var(--orange-deep); font-weight: 600; background: #fff; }
.svc-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.svc-figure img { width: 100%; height: auto; max-height: 460px; object-fit: cover; }

.prose { font-size: 18px; line-height: 1.75; color: var(--ink-soft); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 32px; color: var(--ink); margin-top: 36px; }
.prose h3 { font-size: 24px; color: var(--ink); margin-top: 32px; }
.prose strong { color: var(--ink); }
.prose ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 24px; }
.prose li { position: relative; padding-left: 26px; line-height: 1.5; }
.prose li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--orange); }
.prose ol { padding-left: 22px; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--orange); font-family: var(--font-cond); font-weight: 600; font-size: 28px; line-height: 1.25; color: var(--ink); }
.prose.narrow ul { grid-template-columns: 1fr; }

.machine { display: flex; flex-wrap: wrap; border: 1px solid var(--line); }
.machine-img { flex: 1 1 320px; min-width: 0; background: #fff; display: flex; align-items: center; justify-content: center; padding: 24px; }
.machine-img img { width: 100%; max-width: 420px; height: auto; }
.machine-b { flex: 1 1 340px; min-width: 0; padding: 32px; background: var(--gray-2); }
.machine-b h3 { font-size: 32px; margin: 6px 0 20px; }
.specs { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; font-size: 16px; }
.specs dt { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-align: right; }
.specs dt:last-of-type, .specs dd:last-of-type { border-bottom: 0; }
.machine-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.dark-cta { background: var(--dark-2); color: #fff; padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.dark-cta h3 { font-size: 30px; }
.dark-cta p { margin-top: 8px; color: #c9ccd1; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery button { padding: 0; border: 0; background: #e9ebed; cursor: zoom-in; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: 15px; color: var(--muted); padding-top: 8px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,11,12,.9); }
.lightbox img { max-width: 100%; max-height: 84vh; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin-top: 10px; }
.lightbox .lb-close { position: fixed; top: 16px; right: 16px; background: rgba(0,0,0,.5); color: #fff; border: 0; width: 48px; height: 48px; cursor: pointer; display: grid; place-items: center; }

/* ---------- Despre noi ---------- */
.quote-big { font-family: var(--font-cond); font-weight: 700; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; color: var(--ink); }
.founder figure { margin: 0; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder figcaption { margin-top: 16px; }
.founder figcaption b { display: block; font-family: var(--font-cond); font-size: 24px; }
.mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.mv > div { border: 1px solid var(--line); border-top: 4px solid var(--orange); padding: 36px; }
.mv > div + div { border-top-color: var(--ink); }
.mv h2 { font-size: 32px; margin-bottom: 14px; }
.mv p { font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.slogan-band { background: var(--dark); position: relative; overflow: hidden; text-align: center; padding-block: 80px; }
.slogan-band p { font-family: var(--font-stencil); font-weight: 800; font-size: clamp(40px, 6vw, 84px); letter-spacing: .04em; color: #fff; text-transform: uppercase; line-height: .95; }
.slogan-band span { color: var(--orange); }
.slogan-band img { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 520px; opacity: .06; }

/* ---------- Cariere ---------- */
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.check-list li { display: flex; gap: 12px; }
.check-list svg { flex: none; color: var(--orange-deep); margin-top: 2px; }
.box-gray { background: var(--gray); padding: 36px; }
.box-gray h3 { font-size: 26px; line-height: 1.15; }
.contact-strip { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 18px; margin-top: 18px; }
.contact-strip span { display: inline-flex; align-items: center; gap: 10px; }
.contact-strip svg { color: var(--orange); }
.contact-strip a { color: #fff; text-decoration: none; }
.contact-strip a:hover { color: var(--orange); }

/* ---------- Contact ---------- */
.contact-hero { position: relative; background: var(--gray); overflow: hidden; }
.contact-hero .photo { position: absolute; top: 64px; bottom: 0; right: 0; width: 70%; background: #D7DADE; }
.contact-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-hero .card-white { position: relative; max-width: 660px; background: #fff; padding: 64px 56px; box-shadow: 0 20px 50px rgba(18,19,21,.08); }
.contact-hero .hero-in { padding-top: 140px; padding-bottom: 80px; }
.contact-hero h1 { font-family: var(--font-stencil); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 5vw, 64px); line-height: .92; }
.contact-hero blockquote { margin: 20px 0 0; font-size: 21px; line-height: 1.55; color: #4a4e55; }
.brushed {
  background-color: #2A2D31; color: var(--on-dark);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0px, rgba(255,255,255,.018) 1px, transparent 1px, transparent 3px), linear-gradient(160deg, #3A3D42 0%, #2A2D31 45%, #1E2023 100%);
}
.form-card { flex: 1 1 460px; min-width: 0; background: #fff; color: var(--ink); border-radius: 14px; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 56px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.form-card h2 { text-align: center; font-size: clamp(34px, 4vw, 44px); color: var(--orange-deep); }
.form-card .intro { text-align: center; color: var(--muted); margin: 10px auto 26px; max-width: 46ch; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .req { color: var(--muted); font-weight: 400; }
.inp { width: 100%; font: 400 17px var(--font); color: var(--ink); background: #fff; border: 1px solid #c9ccd1; border-radius: 6px; padding: 12px 14px; min-height: 50px; }
.inp:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
textarea.inp { resize: vertical; min-height: 120px; }
.field .err { color: #b3261e; font-size: 14px; margin-top: 6px; }
.field.has-err .inp { border-color: #b3261e; }
.drop {
  display: block; border: 2px dashed #c9ccd1; border-radius: 8px; padding: 22px; text-align: center; cursor: pointer; color: var(--muted); transition: border-color .2s, background .2s;
}
.drop:hover, .drop.over { border-color: var(--orange); background: #fff7f1; }
.drop svg { margin: 0 auto 8px; color: var(--orange-deep); }
.drop strong { color: var(--ink); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.file-list li { display: flex; justify-content: space-between; gap: 12px; background: var(--gray); padding: 8px 12px; border-radius: 4px; }
.file-list li span:last-child { color: var(--muted); white-space: nowrap; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--orange-deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 6px; font-size: 15px; }
.alert-err { background: #fdecea; color: #8c1d18; }
.sent { text-align: center; padding: 30px 0; }
.sent svg { margin: 0 auto; color: var(--orange-deep); }
.sent h3 { margin: 16px 0 8px; font-size: 28px; }
.info { flex: 1 1 360px; min-width: 0; }
.info h2 { font-size: clamp(34px, 4vw, 44px); color: var(--orange); margin-bottom: 28px; }
.info ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; font-size: 18px; }
.info li { display: flex; gap: 18px; align-items: center; }
.info li svg { color: var(--orange); flex: none; }
.info small { display: block; font-size: 14px; color: var(--on-dark-dim); }
.info a, .info .v { color: #fff; text-decoration: none; font-weight: 500; }
.info a:hover { color: var(--orange); }
.soc { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.soc:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.map { margin-top: 72px; position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.map img { width: 100%; height: auto; }
.map-tag { position: absolute; left: 24px; bottom: 24px; background: rgba(18,19,21,.88); padding: 18px 22px; border-left: 4px solid var(--orange); max-width: 380px; }
.map-tag a { font-family: var(--font-cond); font-weight: 700; font-size: 24px; letter-spacing: .04em; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.map-tag a:hover { color: var(--orange); }
.map-tag div { margin-top: 4px; color: #c9ccd1; font-size: 15px; }

/* ---------- Subsol ---------- */
.site-foot { background: var(--dark); color: #c9ccd1; font-size: 15px; line-height: 1.6; }
.foot-in { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-block: 64px 36px; }
.foot-in > div { flex: 1 1 170px; }
.foot-brand { flex: 1.6 1 260px !important; }
.foot-brand img { height: 52px; width: auto; opacity: .92; }
.foot-brand p { margin-top: 20px; max-width: 320px; }
.foot-brand .slogan { margin-top: 16px; font-family: var(--font-stencil); font-weight: 800; font-size: 22px; letter-spacing: .1em; color: var(--orange); text-transform: uppercase; }
.foot-h { font-size: 18px; letter-spacing: .1em; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-list a, .foot-legal a { color: #c9ccd1; text-decoration: none; }
.foot-list a:hover, .foot-legal a:hover { color: #fff; }
.foot-eu { flex: 1 1 100% !important; border-top: 1px solid #2B2E33; padding-top: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.foot-eu .foot-h { margin: 0; }
.foot-eu p { margin: 0 !important; flex: 1 1 360px; }
.foot-eu p { margin-bottom: 10px; }
.foot-bottom { border-top: 1px solid #2B2E33; }
.foot-bottom-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 18px; font-size: 14px; color: #9a9ea6; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Pagini text (legal, fonduri) ---------- */
.doc { max-width: 860px; }
.eu-logos { margin-bottom: 36px; background: #fff; border: 1px solid var(--line); padding: 16px; }

/* ===================== Ecrane medii ===================== */
@media (max-width: 1100px) {
  .menu { gap: 6px 18px; }
  .menu > a, .has-sub > a { font-size: 16px; }
}

/* ===================== Mobil: meniu sertar ===================== */
@media (max-width: 960px) {
  .logo img { height: 48px; }
  .mainbar-in { padding-block: 10px 6px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .menu {
    position: fixed; inset: 0; z-index: 50; background: var(--dark); flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0;
    padding: 84px max(24px, env(safe-area-inset-left, 0px)) 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu { transform: none; visibility: visible; }
  body.menu-open .menu-btn { position: fixed; top: 12px; right: 16px; z-index: 60; color: #fff; }
  .menu > a, .has-sub > a { color: #fff; font-family: var(--font-cond); font-weight: 700; font-size: 30px; text-transform: uppercase; letter-spacing: .02em; padding: 12px 0; border-bottom: 1px solid #2B2E33; }
  .menu > a.on, .has-sub.on > a { color: var(--orange); border-bottom-color: #2B2E33; }
  .has-sub { display: flex; flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-btn { color: #fff; border-bottom: 1px solid #2B2E33; padding: 0 12px; min-width: 52px; justify-content: center; }
  .sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 14px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .sub a { color: #c9ccd1; padding: 10px 0; font-size: 18px; }
  .sub a:hover { background: transparent; color: var(--orange); }
  .menu .menu-cta { display: inline-flex; margin-top: 28px; font-size: 16px; min-height: 52px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar-in { justify-content: center; gap: 4px 18px; font-size: 13px; }
  .topbar a span { display: none; }
  .wave { height: 28px; }
  .hero-photo { min-height: 460px; }
  .hero-in { padding-top: 96px; padding-bottom: 48px; }
  .hero p.sub-t { font-size: 18px; }
  .hero-home { min-height: max(560px, 92svh); }
  .hero-home h1 { font-size: clamp(46px, 14vw, 72px); }
  .hero-actions .btn { width: 100%; }
  .video-toggle { bottom: 14px; padding: 6px 10px; font-size: 13px; }
  .scroll-cue { display: none; }
  .svc-nav { position: static; order: 2; }
  .form .row2 { grid-template-columns: 1fr; }
  .contact-hero .photo { position: relative; top: 0; width: 100%; height: 220px; }
  .contact-hero .hero-in { padding-top: 0; padding-bottom: 40px; margin-top: -60px; }
  .contact-hero .card-white { padding: 32px 22px; }
  .map { margin-top: 48px; border-radius: 8px; }
  .map-tag { position: static; max-width: none; }
  .machine-b { padding: 24px 20px; }
  .machine-b h3 { font-size: 28px; }
  .cta-band .btn { width: 100%; }
  .cta-orange::before { left: 24px; }
  .dark-cta { padding: 28px 22px; }
  .dark-cta .btn { width: 100%; }
  .cert-box, .box-gray { padding: 24px 20px; }
  .mv > div { padding: 28px 22px; }
  .prose { font-size: 17px; }
  .prose blockquote { font-size: 24px; }
  .stat { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Lucrări (pagina Rezultate) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 600 14px var(--font); letter-spacing: .04em; padding: 9px 16px; min-height: 42px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.filters button:hover { border-color: var(--orange); }
.filters button.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.work-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); background: #fff; cursor: zoom-in; font: inherit; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.work-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18,19,21,.08); }
.work-card[hidden] { display: none; }
.work-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9ebed; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.work-card:hover .work-img img { transform: scale(1.04); }
.work-count { position: absolute; right: 10px; bottom: 10px; background: rgba(18,19,21,.8); color: #fff; font: 500 12px var(--font-mono); padding: 3px 8px; }
.work-txt { display: block; padding: 14px 16px 16px; }
.work-cat { display: block; font: 500 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 4px; }
.work-txt b { display: block; font-family: var(--font-cond); font-size: 21px; line-height: 1.15; }
.work-txt small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.lightbox { width: min(1200px, 96vw); max-height: 94vh; color: #fff; overflow: visible; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-height: 72vh; max-width: 100%; margin: 0 auto; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 72px; border: 0; background: rgba(18,19,21,.6); color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: var(--orange-deep); }
.lb-prev { left: 0; } .lb-next { right: 0; }
.lb-info { max-width: 820px; margin: 16px auto 0; text-align: center; }
.lb-cat { font: 500 12px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.lb-info h3 { font-size: 28px; margin: 4px 0; color: #fff; }
.lb-info p { color: #c9ccd1; text-align: center; margin: 4px 0 0; }
.lb-n { display: block; margin-top: 8px; font: 12px var(--font-mono); color: #9a9ea6; }
@media (max-width: 760px) {
  .works { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work-txt { padding: 10px 12px 12px; }
  .work-txt b { font-size: 17px; }
  .lb-nav { width: 40px; height: 56px; font-size: 30px; }
  .lb-info h3 { font-size: 22px; }
}

/* ---------- Credit realizare site ---------- */
.made-by { color: #9a9ea6; }
.made-by a { color: #c9ccd1; text-decoration: none; font-weight: 600; }
.made-by a:hover { color: var(--orange); }

/* ---------- Buton „înapoi sus” ---------- */
.to-top {
  position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--orange-deep); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.to-top::before, .to-top::after { content: ""; position: absolute; width: 8px; height: 8px; border: 2px solid #fff; opacity: .7; }
.to-top::before { top: 5px; left: 5px; border-right: 0; border-bottom: 0; }
.to-top::after { bottom: 5px; right: 5px; border-left: 0; border-top: 0; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange-dark); color: #fff; }
body.menu-open .to-top { display: none; }
@media (max-width: 760px) { .to-top { width: 46px; height: 46px; } }

/* Meniul derulant trebuie să stea peste valul portocaliu de sub antet (altfel primul rând, „Proiectare”, era acoperit). */
.mainbar { position: relative; z-index: 2; }
.wave { z-index: 1; }
.sub { z-index: 30; }

/* ---------- Comutator de limbă RO / EN ---------- */
.lang-switch { display: inline-flex; border: 1px solid var(--line); margin-left: 4px; }
.lang-switch a { font: 600 13px var(--font); letter-spacing: .08em; padding: 5px 9px; color: var(--muted); text-decoration: none; border-bottom: 0 !important; }
.lang-switch a + a { border-left: 1px solid var(--line); }
.lang-switch a:hover { color: var(--orange-deep); }
.lang-switch a.on { background: var(--dark); color: #fff; }
@media (max-width: 960px) {
  .lang-switch { margin: 22px 0 0; border-color: #3a3d42; align-self: flex-start; }
  .lang-switch a { font-size: 16px; padding: 10px 16px; color: #c9ccd1; }
  .lang-switch a + a { border-left-color: #3a3d42; }
  .lang-switch a.on { background: var(--orange-deep); }
}
