/* ============================================================================
   VTN Industries · Varianta BC «Lumină și motor»
   Fond deschis și colorat (din B: energia, portocaliul, titlurile mari; din C: etichetele mono, cotele punctuale,
   interfețele desenate din cod). Doar scena motorului e pe fond închis.
   Scriitori: CSS scrie tranzițiile de stare (.is-in, .is-on, .is-live); GSAP (bc.js) scrie opacity/transform pe
   [data-r] și pe bucățile titlurilor; motor.js scrie doar în scena motorului.
   ============================================================================ */
:root {
  --bg: #f6f4ef; --bg2: #efece5; --paper: #ffffff; --line: #dcd7cc; --line2: #e8e4db;
  --ink: #121418; --ink2: #3f444c; --mute: #5b616a;
  --orange: #ff5b1f; --orange-t: #c2410c; --orange-50: #fff0e8; --orange-100: #ffdcc9;
  --blue: #2f5bff; --blue-t: #2447e6; --blue-50: #eaefff; --blue-100: #d5deff;
  --sky: #0b6a8e; --sky-50: #e4f4fb;
  --dark: #0c0e12; --dark2: #151920; --dark3: #1f242d; --on-dark: #eef0f3; --on-dark2: #9aa1ab;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --nav: 68px;
  --pad: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1320px;
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.i { width: 1em; height: 1em; flex: none; }
.blue { color: var(--blue-t); }
.orange { color: var(--orange-t); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ------------------------------------------------ etichete, butoane */
.label { display: inline-flex; align-items: center; gap: .6rem; font: 500 .78rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.label__n { display: inline-grid; place-items: center; min-width: 2.2em; padding: .2em .45em; border-radius: 6px; background: var(--blue); color: #fff; letter-spacing: .02em; }
.label__n--o { background: var(--orange); color: var(--ink); }
.label__n--ink { background: var(--ink); color: var(--orange); }
.label--dark { color: var(--on-dark2); }
.label--ink { color: #2a1206; }

.btn {
  --bgc: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.3rem;
  border-radius: 999px; border: 1.5px solid transparent; background: var(--bgc); color: var(--fg);
  font: 600 .98rem/1.1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .i { transition: translate .3s var(--ease); }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn--orange { --bgc: var(--orange); --fg: var(--ink); box-shadow: 0 10px 30px -12px rgba(255, 91, 31, .7); }
.btn--blue { --bgc: var(--blue); --fg: #fff; box-shadow: 0 10px 30px -12px rgba(47, 91, 255, .75); }
.btn--ink { --bgc: var(--ink); --fg: #fff; }
.btn--line { --bgc: transparent; --fg: var(--ink); border-color: rgba(18, 20, 24, .25); }
.btn--line-ink { --bgc: transparent; --fg: var(--ink); border-color: rgba(18, 20, 24, .5); }
.btn--dark { --bgc: var(--dark3); --fg: var(--on-dark); border-color: #333a45; }
.btn--dark[data-state="on"] { --bgc: var(--orange); --fg: var(--ink); border-color: var(--orange); }
.btn--dark:disabled { opacity: .5; cursor: default; }
.btn--ghost { --bgc: transparent; --fg: var(--on-dark); border-color: #333a45; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .i { translate: 3px 0; }
  .btn--orange:hover { --bgc: #ff7440; }
  .btn--blue:hover { --bgc: #4a70ff; }
  .btn--ink:hover { --bgc: #2a2e36; }
  .btn--line:hover, .btn--line-ink:hover { --bgc: var(--ink); --fg: #fff; border-color: var(--ink); }
  .btn--dark:not(:disabled):hover, .btn--ghost:hover { border-color: var(--orange); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--blue); flex: none; }
.dot--orange { background: var(--orange); }
.dot--live { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.chip { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font: 500 .82rem/1.2 var(--mono); color: var(--ink2); }

/* cota (linie de cotă, detaliu punctual de planșă) */
.cota { overflow: visible; }
.cota line { stroke: var(--orange); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.anim .cota { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) .2s; }
.anim .cota.is-in, .anim .app.is-in .cota { clip-path: inset(0 0 0 0); }

/* ------------------------------------------------ bara de sus */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav); display: flex; align-items: center; gap: 1.5rem;
  padding: 0 var(--pad); transition: background-color .35s, color .35s, box-shadow .35s;
}
.nav.is-solid { background: rgba(246, 244, 239, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav[data-tone="dark"] { background: rgba(12, 14, 18, .78); color: var(--on-dark); box-shadow: 0 1px 0 #262b33; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; min-height: 44px; }
.brand__mark { width: 34px; height: 34px; overflow: visible; }
.brand__lines { fill: none; stroke: currentColor; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; opacity: 0; }
.brand__lines .v { stroke: var(--orange); stroke-width: 10; }
.brand__lines .s { stroke: var(--blue); }
.brand__name { font: 800 1.35rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.brand__name b { font-weight: 800; color: var(--orange-t); }
.nav[data-tone="dark"] .brand__name b { color: var(--orange); }
.anim .nav .brand__lines { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease) .15s forwards; }
.anim .nav .brand__lines .v { animation-delay: .5s; }
.anim .nav .brand__lines .s { animation-delay: .75s; }
.anim .nav .brand__solid { opacity: 0; animation: fadein .5s ease 1.2s forwards; }
.anim .nav .brand__lines { animation: draw 1.2s var(--ease) .15s forwards, fadeout .4s ease 1.5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes fadeout { to { opacity: 0; } }
.brand__mark use { transform-box: fill-box; }
.nav__links { display: flex; gap: .3rem; margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .8rem; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav__links .mono { font-size: .72rem; color: #1d3bc9; }
.nav[data-tone="dark"] .nav__links .mono { color: #8fa6ff; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { background: rgba(18, 20, 24, .06); } .nav[data-tone="dark"] .nav__links a:hover { background: rgba(255, 255, 255, .08); } }
.nav__end { display: flex; align-items: center; gap: .6rem; }
.menu { position: relative; display: none; }
.menu__btn { list-style: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid rgba(18, 20, 24, .2); cursor: pointer; font-weight: 600; font-size: .92rem; }
.nav[data-tone="dark"] .menu__btn { border-color: #3a414c; }
.menu__btn::-webkit-details-marker { display: none; }
.menu__bars { width: 16px; height: 10px; border-block: 2px solid currentColor; position: relative; transition: border-color .2s; }
.menu[open] .menu__bars { border-color: transparent; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: currentColor; transition: transform .25s; }
.menu:not([open]) .menu__bars::before, .menu:not([open]) .menu__bars::after { opacity: 0; }
.menu[open] .menu__bars::before { transform: rotate(45deg); }
.menu[open] .menu__bars::after { transform: rotate(-45deg); }
.menu__panel { position: absolute; right: 0; top: calc(100% + .6rem); width: min(86vw, 320px); padding: .5rem; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(18, 20, 24, .35); border: 1px solid var(--line); display: grid;
  max-height: calc(100svh - var(--nav) - 1rem); overflow-y: auto; overscroll-behavior: contain; }
.menu__panel a { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 .9rem; border-radius: 12px; text-decoration: none; font-weight: 500; }
.menu__panel a:hover { background: var(--bg); }
.menu__panel .mono { font-size: .75rem; color: var(--blue-t); }
.menu__panel .menu__cta { justify-content: center; margin-top: .3rem; color: var(--ink); }
.menu__panel .menu__cta:hover { background: #ff7440; }
.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1.5px solid rgba(18, 20, 24, .16); font: 500 .78rem/1 var(--mono); letter-spacing: .04em; }
.lang a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .5rem; border-radius: 999px; text-decoration: none; color: var(--ink2); }
.lang a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav[data-tone="dark"] .lang { border-color: #3a414c; }
.nav[data-tone="dark"] .lang a { color: var(--on-dark2); }
.nav[data-tone="dark"] .lang a[aria-current="page"] { background: var(--on-dark); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .lang a:not([aria-current]):hover { color: var(--blue-t); } .nav[data-tone="dark"] .lang a:not([aria-current]):hover { color: #fff; } }
.lang--menu { display: none; justify-self: center; margin-top: .5rem; }
.lang--menu a { min-width: 56px; min-height: 44px; }

/* ------------------------------------------------ HERO */
.hero { position: relative; min-height: max(640px, 100svh); display: grid; grid-template-rows: 1fr auto; padding-top: var(--nav); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-on { opacity: 1; }
.hero__wash { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(246, 244, 239, .97) 0%, rgba(246, 244, 239, .9) 30%, rgba(246, 244, 239, .35) 52%, rgba(246, 244, 239, 0) 68%),
  linear-gradient(0deg, rgba(246, 244, 239, 1) 0%, rgba(246, 244, 239, 0) 22%); }
.hero__inner { align-self: center; width: min(100%, var(--maxw)); margin: 0 auto; padding: clamp(1rem, 3vh, 3rem) var(--pad) 1.2rem; }
.hero__title { margin: 1.1rem 0 0; font: 900 clamp(3rem, min(6.8vw, 9.6vh), 7.2rem)/1.12 var(--display); letter-spacing: -.005em; text-transform: uppercase; max-width: 9.5ch; }
.hero__title .row { display: block; }
.hero__title .blue { color: var(--blue); position: relative; }
.hero__cota { width: min(34rem, 60%); height: 16px; margin: .9rem 0 0; }
.hero__lead { max-width: 31rem; margin-top: 1.1rem; font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--ink2); }
.hero__lead strong { color: var(--blue-t); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }
.hero__eng { display: flex; gap: .7rem; align-items: baseline; max-width: 54rem; margin-top: 1.1rem; font-size: .94rem; color: var(--ink2); }
.hero__eng a { color: var(--orange-t); font-weight: 600; text-underline-offset: 3px; display: inline-block; padding-block: .7rem; margin-block: -.7rem; }
.hero__eng .dot { translate: 0 -1px; }
.bar { display: block; height: 6px; border-radius: 6px; background: var(--blue-100); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--w, 1)); }

.hero__bar { position: relative; display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; width: min(100% - 2 * var(--pad), var(--maxw)); margin: 0 auto 1rem;
  border-radius: 18px; background: rgba(255, 255, 255, .75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(18, 20, 24, .07); overflow: hidden; }
.div { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: baseline; align-content: start; padding: .8rem 1.3rem; text-decoration: none; position: relative; min-height: 44px; }
.div + .div { border-left: 1px solid var(--line2); }
.div .mono { grid-row: span 2; font-size: .78rem; color: #fff; background: var(--blue); padding: .15rem .45rem; border-radius: 6px; align-self: center; }
.div--orange .mono { background: var(--orange); color: var(--ink); }
.div--tel .mono { background: var(--ink); }
.div b { font: 800 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.div small { color: var(--mute); font-size: .82rem; }
.div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.div--orange::after { background: var(--orange); }
.div--tel::after { background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .div:hover::after { transform: scaleX(1); } }

/* ------------------------------------------------ secțiuni */
.sec { position: relative; width: min(100%, var(--maxw)); margin: 0 auto; padding: clamp(3.2rem, 7vh, 5rem) var(--pad) 0; }
.sec__head { display: grid; gap: 1rem; max-width: 52rem; margin-bottom: clamp(2rem, 4vh, 3rem); }
.sec__head--row { max-width: none; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 1rem 4rem; }
.sec__head--row > .lead { padding-bottom: .3rem; }
.sec__head--row > div { display: grid; gap: 1rem; }
.h2 { font: 900 clamp(2.5rem, 5.4vw, 5.2rem)/1.16 var(--display); text-transform: uppercase; letter-spacing: -.002em; }
.h3 { font: 800 clamp(1.8rem, 2.8vw, 2.6rem)/1.12 var(--display); text-transform: uppercase; }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.14rem); color: var(--ink2); max-width: 40rem; }
.blob { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: .9; }
.blob--blue { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -12vw; top: 2rem; background: radial-gradient(closest-side, #b9c8ff, transparent); }

/* ContaSpark */
.cs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(1.4rem, 3vw, 2.5rem); border-radius: calc(var(--r) + 8px); background: linear-gradient(135deg, #ffffff 0%, var(--blue-50) 100%);
  box-shadow: 0 0 0 1px rgba(47, 91, 255, .12), 0 40px 80px -50px rgba(47, 91, 255, .45); }
.cs__copy { display: grid; gap: 1rem; justify-items: start; }
.cs__name { font: 900 clamp(3rem, 6vw, 5.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.cs__name span { color: var(--blue); }
.cs__tag { font-size: 1.15rem; font-weight: 500; }
.cs__feats { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; margin: .3rem 0 .4rem; font-size: .9rem; color: var(--ink2); }
.cs__feats li { position: relative; padding-left: 2rem; }
.cs__feats .mono { position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 6px; background: var(--blue-100); color: var(--blue-t); font-size: .72rem; }
.cs__feats b { display: block; color: var(--ink); font-weight: 600; }
.cs__ver { font-size: .74rem; color: var(--mute); letter-spacing: .02em; }
.cs__ver span { color: var(--blue-t); margin: 0 .3rem; }

/* interfața ContaSpark desenată din cod */
.app { position: relative; border-radius: 16px; background: var(--paper); box-shadow: 0 30px 60px -30px rgba(18, 30, 80, .45), 0 0 0 1px rgba(18, 20, 24, .08); font-size: .82rem; }
.app__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line2); }
.app__bar i, .win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2ddd3; }
.app__bar i:first-child, .win__bar i:first-child { background: #ff8a5c; }
.app__bar span { margin-left: .6rem; font-size: .72rem; color: var(--mute); }
.app__body { display: grid; grid-template-columns: 7.2rem 1fr; min-height: 290px; }
.app__side { display: grid; align-content: start; gap: .2rem; padding: .8rem .6rem; border-right: 1px solid var(--line2); background: #fafaf8; border-bottom-left-radius: 16px; }
.app__side span { padding: .45rem .6rem; border-radius: 8px; color: var(--mute); }
.app__side .is-on { background: var(--blue-50); color: var(--blue-t); font-weight: 600; }
.app__main { padding: 1rem 1.1rem 1.1rem; display: grid; gap: .8rem; align-content: start; }
.app__h { display: flex; justify-content: space-between; align-items: baseline; }
.app__h .mono { font-size: .72rem; color: var(--blue-t); }
.app__list { display: grid; gap: .45rem; }
.app__list li { display: grid; grid-template-columns: auto 9.5rem 1fr auto; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 10px; background: #f7f8fc; }
.app__list .f { font: 600 .6rem/1 var(--mono); padding: .3rem .35rem; border-radius: 5px; background: var(--blue); color: #fff; }
.app__list b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__list .ok { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #16a34a; color: #fff; font-size: .65rem; }
.app__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: .6rem; }
.app__cal, .app__xml { padding: .7rem .8rem; border-radius: 10px; background: #f7f8fc; display: grid; gap: .35rem; }
.app__cal .mono, .app__xml .mono { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.app__cal p:not(.mono) { display: grid; grid-template-columns: 2.8rem 1fr; align-items: center; gap: .5rem; font-size: .74rem; }
.app__cal .bar i { background: var(--orange); }
.app__cal .bar { background: var(--orange-100); }
.app__conv { display: flex; align-items: center; gap: .45rem; margin-top: .2rem; }
.app__conv span { font: 600 .68rem/1 var(--mono); padding: .4rem .5rem; border-radius: 6px; }
.app__conv .x { background: var(--sky-50); color: var(--sky); }
.app__conv .p { background: var(--blue); color: #fff; }
.app__conv .i { color: var(--mute); }
.app__toast { position: absolute; right: -1rem; bottom: -1.2rem; display: flex; align-items: center; gap: .55rem; padding: .65rem .9rem; border-radius: 12px; background: var(--ink); color: #fff; font-size: .8rem; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
.app__toast span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--orange); color: var(--ink); font-weight: 700; }
.app__cota { position: absolute; left: 0; right: 0; top: -1.6rem; width: 100%; height: 14px; }
.app__cotatxt { position: absolute; top: -2.15rem; left: 50%; translate: -50% 0; padding: 0 .5rem; background: var(--bg); color: var(--orange-t); font-size: .72rem; }
/* animația interfeței: CSS singur, pornită o dată de clasa .is-in (pusă de bc.js) */
.anim .app .app__list li .bar i { transform: scaleX(0); }
.anim .app .app__list li .ok { opacity: 0; scale: .4; }
.anim .app .app__toast { opacity: 0; translate: 0 12px; }
.anim .app.is-in .app__list li .bar i { transform: scaleX(1); transition: transform .9s var(--ease) calc(.3s + var(--i) * .55s); }
.anim .app.is-in .app__list li .ok { opacity: 1; scale: 1; transition: opacity .3s ease calc(1.05s + var(--i) * .55s), scale .4s var(--ease) calc(1.05s + var(--i) * .55s); }
.anim .app.is-in .app__toast { opacity: 1; translate: 0 0; transition: opacity .5s ease 3.4s, translate .6s var(--ease) 3.4s; }
.anim .app .app__conv .p { animation: none; }
.anim .app.is-in .app__conv .p { animation: pulse 2.4s ease-in-out 2.4s 2; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47, 91, 255, .2); } }

/* ce automatizăm + pași */
.auto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.6rem clamp(2rem, 5vw, 4.5rem); margin-top: clamp(2.2rem, 5vh, 3.5rem); align-items: start; }
.auto__head { display: grid; gap: .9rem; align-content: start; }
.auto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; grid-row: span 2; }
.tile { --tb: var(--blue-50); --tc: var(--blue); --tf: #fff; padding: 1.2rem 1.2rem 1.3rem; border-radius: var(--r); background: var(--tb); display: grid; gap: .45rem; align-content: start; }
.tile--sky { --tb: var(--sky-50); --tc: var(--sky); }
.tile--orange { --tb: var(--orange-50); --tc: var(--orange); --tf: var(--ink); }
.tile--ink { --tb: var(--ink); --tc: var(--orange); --tf: var(--ink); color: #fff; }
.tile--ink p { color: #c3c8d0 !important; }
.tile__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tc); color: var(--tf); margin-bottom: .3rem; }
.tile__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile h4 { font: 800 1.5rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.tile p { font-size: .9rem; color: var(--ink2); }
.steps { position: relative; grid-column: 1; }
.steps__rail { position: absolute; left: 1.05rem; top: 1rem; bottom: 5.5rem; width: 2px; background: var(--line); }
.steps__rail i { display: block; width: 100%; height: 100%; background: var(--blue); transform-origin: 50% 0; }
.anim .steps__rail i { transform: scaleY(0); }
.steps__list { display: grid; gap: .9rem; }
.steps__list li { position: relative; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 1rem; align-content: start; }
.steps__n { grid-row: span 2; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); color: var(--blue-t); font-size: .78rem; font-weight: 500; position: relative; }
.steps__list h4 { font-size: 1.02rem; font-weight: 600; line-height: 1.3; padding-top: .35rem; }
.steps__list p { font-size: .9rem; color: var(--ink2); }
.steps__cta { margin-top: 1.4rem; }

/* Machine Doctor */
.md { display: grid; grid-template-columns: 1.35fr 1fr; margin-top: clamp(2.2rem, 5vh, 3.5rem); border-radius: calc(var(--r) + 8px); overflow: hidden; text-decoration: none; background: var(--dark); color: var(--on-dark);
  box-shadow: 0 40px 80px -50px rgba(18, 20, 24, .6); isolation: isolate; }
.md__img { position: relative; overflow: hidden; min-height: 240px; }
.md__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.md__body { display: grid; gap: .8rem; align-content: center; padding: clamp(1.5rem, 3.5vw, 3rem); background: linear-gradient(160deg, #13204f 0%, var(--dark) 70%); }
.md .label { color: #aab6e8; }
.md__title { font: 900 clamp(2.6rem, 4.4vw, 4.2rem)/1.1 var(--display); text-transform: uppercase; }
.md__desc { color: #c3c8d0; }
.md__go { display: inline-flex; align-items: center; gap: .5rem; justify-self: start; min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; margin-top: .4rem; }
@media (hover: hover) and (pointer: fine) { .md__go { transition: background-color .25s; } .md:hover .md__go { background: #4a70ff; } }

/* ------------------------------------------------ INGINERIE */
.sec--eng { padding-top: clamp(2.6rem, 6vh, 4rem); padding-bottom: clamp(1.6rem, 4vh, 2.6rem); }
.sec--eng .sec__head { margin-bottom: 0; }
.tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.tools li { padding: .45rem .9rem; border-radius: 999px; background: var(--orange-50); color: #8a2d06; font: 500 .85rem/1.2 var(--mono); border: 1px solid var(--orange-100); }

/* scena motorului (singura întunecată) */
.motor { position: relative; height: 230vh; height: 230svh; background: var(--dark); color: var(--on-dark); margin-inline: clamp(0px, 1.2vw, 20px); border-radius: 32px; overflow: clip; }
.motor::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 55% at 64% 48%, rgba(255, 91, 31, .16), transparent 70%),
  radial-gradient(40% 40% at 90% 90%, rgba(47, 91, 255, .12), transparent 70%); pointer-events: none; }
.motor__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(300px, 30rem) 1fr; overflow: hidden;
  width: min(100%, 1440px); margin: 0 auto; }
.motor__stage { position: relative; grid-column: 2; grid-row: 1; margin: var(--nav) var(--pad) 1.5rem 0; }
.motor__stage::before { /* colțuri de cadru (detaliu de planșă, local) */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background:
    linear-gradient(#3a414c, #3a414c) 0 0 / 22px 1px no-repeat, linear-gradient(#3a414c, #3a414c) 0 0 / 1px 22px no-repeat,
    linear-gradient(#3a414c, #3a414c) 100% 0 / 22px 1px no-repeat, linear-gradient(#3a414c, #3a414c) 100% 0 / 1px 22px no-repeat,
    linear-gradient(#3a414c, #3a414c) 0 100% / 22px 1px no-repeat, linear-gradient(#3a414c, #3a414c) 0 100% / 1px 22px no-repeat,
    linear-gradient(#3a414c, #3a414c) 100% 100% / 22px 1px no-repeat, linear-gradient(#3a414c, #3a414c) 100% 100% / 1px 22px no-repeat; }
.motor__poster, .motor__plansa, .motor__draw, .motor__cote, .motor__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.motor__poster img { width: 100%; height: 100%; object-fit: contain; }
.js .motor__poster { display: none; }
.motor__plansa { object-fit: contain; opacity: 0; filter: invert(1) sepia(1) saturate(3) hue-rotate(160deg) brightness(1.1); }
.motor__draw { opacity: 0; }
.motor__cote { opacity: 0; overflow: visible; }
.motor__cote .ax line { stroke: #ff7a45; stroke-width: .35; stroke-dasharray: 2 1.2 .4 1.2; }
.motor__cote .dia { fill: none; stroke: #ff7a45; stroke-width: .35; stroke-dasharray: 1.4 1; }
.motor__cote .arc { fill: none; stroke: #ff7a45; stroke-width: .4; }
.motor__cote text { fill: #ff7a45; font: 500 4.2px var(--mono); }
.motor__gl { opacity: 0; }
.motor__gl canvas { width: 100% !important; height: 100% !important; touch-action: pan-y; }
.motor:not(.is-free) .motor__gl { pointer-events: none; }
.motor.is-fallback .motor__poster { display: block; }
.motor.is-free .motor__gl canvas { cursor: grab; }
.motor.is-free .motor__gl canvas:active { cursor: grabbing; }
.motor__status { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; font-size: .78rem; color: var(--on-dark2); white-space: nowrap; }
.motor__drag { position: absolute; right: 1rem; bottom: 1rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark2); opacity: 0; transition: opacity .5s; }
.motor.is-free .motor__drag { opacity: 1; }
.motor__hud { grid-column: 1; grid-row: 1; align-self: center; display: grid; gap: 1rem; padding: var(--nav) 0 1.5rem var(--pad); position: relative; z-index: 2; }
.motor__title { font: 900 clamp(2.4rem, 3.8vw, 3.8rem)/1.16 var(--display); text-transform: uppercase; }
.motor__steps { display: grid; gap: .3rem; font-size: .8rem; }
.motor__steps li { display: flex; align-items: center; gap: .7rem; color: #8b939e; transition: color .3s; }
.motor__steps li span { display: grid; place-items: center; width: 2rem; height: 1.5rem; border-radius: 5px; border: 1px solid #333a45; transition: background-color .3s, color .3s, border-color .3s; }
.motor__steps li.is-on { color: var(--on-dark); }
.motor__steps li.is-on span { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.motor__steps li.is-done span { border-color: #ff7a45; color: #ff7a45; }
.motor__txt { color: var(--on-dark2); font-size: .94rem; max-width: 28rem; }
.specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .3rem 1.6rem; }
.specs dt { font: 500 .7rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #8b939e; }
.specs .o { font-family: var(--sans); font-weight: 500; margin-right: .08em; }
.specs dd { font: 800 1.5rem/1.1 var(--display); color: #fff; }
.motor__ctl { display: flex; flex-wrap: wrap; gap: .5rem; }
.motor__meter { position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 2px; background: #232830; }
.motor__meter i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.motor.is-free .motor__meter { opacity: 0; transition: opacity .6s; }

/* suportul de laptop */
.sec--eng2 { padding-top: clamp(2rem, 5vh, 3rem); }
.concept { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.concept__stage { position: relative; aspect-ratio: 16 / 10; border-radius: calc(var(--r) + 4px); overflow: hidden; background: radial-gradient(70% 70% at 60% 40%, #2a1a14, var(--dark) 70%); box-shadow: 0 30px 60px -35px rgba(12, 14, 18, .7); }
.concept__stage picture img { width: 100%; height: 100%; object-fit: cover; }
.concept__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; }
.concept__stage.is-live picture { opacity: 0; transition: opacity .5s; }
.concept__load { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 255, 255, .9); }
.concept__stage .motor__status { color: var(--on-dark2); }
.concept__stage canvas { background: transparent; }
.concept__dim { position: absolute; right: 1rem; top: 1rem; padding: .2rem .5rem; border-radius: 6px; border: 1px solid var(--orange); color: #ff7a45; font-size: .75rem; background: rgba(12, 14, 18, .6); }
.concept__copy { display: grid; gap: 1rem; justify-items: start; }
.concept__copy > p:not(.label) { color: var(--ink2); max-width: 34rem; }

/* ------------------------------------------------ WEB */
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 961px) {
  .sec--web { display: grid; grid-template-columns: minmax(16rem, .8fr) 2fr; gap: 2.5rem; align-items: center; }
  .sec--web .sec__head--row { grid-template-columns: 1fr; margin: 0; align-items: start; }
  .sec--web .h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
}
.demo { display: grid; gap: 1.1rem; padding: 1rem 1rem 1.4rem; border-radius: calc(var(--r) + 6px); text-decoration: none; background: var(--orange-50); }
.demo--cool { background: var(--blue-50); }
.win { display: block; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 24px 50px -30px rgba(18, 20, 24, .5); }
.win__bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; border-bottom: 1px solid var(--line2); }
.win__bar .mono { margin-left: .5rem; font-size: .7rem; color: var(--mute); }
.win img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform .8s var(--ease); }
.demo__meta { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; gap: .15rem 1rem; padding: 0 .4rem; }
.demo__meta > * { grid-column: 1; }
.demo__meta .demo__go { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin: 0; }
/* pe desktop cardurile sunt înguste (coloana a doua): «Deschide demo-ul» sub descriere (după regulile de bază, ca să le bată) */
@media (min-width: 961px) {
  .demo__meta { grid-template-columns: 1fr; }
  .demo__meta .demo__go { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .4rem; }
  .demos { align-items: start; }
}
.demo__meta .mono { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.demo__title { font: 900 2.4rem/1 var(--display); text-transform: uppercase; }
.demo__desc { color: var(--ink2); }
.demo__go { display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; font-weight: 600; color: var(--orange-t); min-height: 44px; }
.demo--cool .demo__go { color: var(--blue-t); }
@media (hover: hover) and (pointer: fine) { .demo:hover .win img { transform: scale(1.04); } }

/* ------------------------------------------------ CONTACT */
.final { width: min(100%, var(--maxw)); margin: 0 auto; padding: clamp(3.2rem, 7vh, 5rem) var(--pad) clamp(1.5rem, 4vh, 2.5rem); }
.final__card { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 1rem; justify-items: start; padding: clamp(1.8rem, 4vw, 3.6rem);
  border-radius: calc(var(--r) + 12px); color: var(--ink);
  background: radial-gradient(70% 90% at 100% 0%, #ffb08a 0%, transparent 60%), linear-gradient(120deg, #ff5b1f 0%, #ff6a2e 55%, #ff8a4c 100%); }
.final__emb { position: absolute; right: -6%; bottom: -30%; width: min(52vw, 560px); z-index: -1; fill: none; stroke: rgba(18, 20, 24, .09); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.final__title { font: 900 clamp(2.6rem, 5.6vw, 5.6rem)/1.16 var(--display); text-transform: uppercase; max-width: 14ch; }
.final__lead { max-width: 34rem; font-size: 1.1rem; color: #2a1206; }
.final__links { display: grid; gap: .1rem; }
.final__side { display: grid; gap: 1.2rem; justify-items: start; }
@media (min-width: 961px) {
  .final__card { grid-template-columns: 1.15fr 1fr; column-gap: 3rem; align-items: end; }
  .final__card > .label, .final__title, .final__lead { grid-column: 1; }
  .final__side { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
}
.final__mail, .final__tel { font: 800 clamp(1.6rem, 3.6vw, 3rem)/1.1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .01em; min-height: 44px; display: inline-flex; align-items: center; }
.final__mail { text-transform: none; }
@media (hover: hover) and (pointer: fine) { .final__mail:hover, .final__tel:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; } }
.final :focus-visible { outline-color: var(--ink); }

/* ------------------------------------------------ SUBSOL */
.foot { width: min(100%, var(--maxw)); margin: 0 auto; padding: 1rem var(--pad) 2.2rem; font-size: .88rem; color: var(--ink2); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.brand--foot { font: 800 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); gap: .5rem; }
.brand--foot .brand__mark { width: 26px; height: 26px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0 .3rem; margin-left: auto; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .5rem; text-underline-offset: 3px; }
@media (max-width: 420px) { .foot__legal a { padding: 0 .38rem; font-size: .84rem; } }
.foot__copy { font-size: .76rem; color: var(--mute); }
.footer__id { padding-top: 1rem; font-size: .8rem; line-height: 1.7; color: var(--mute); }
.footer__id strong { color: var(--ink2); font-weight: 600; }

/* ------------------------------------------------ cursor (doar mouse, fără mișcare redusă) */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary { cursor: none; }
.has-cursor .motor.is-free canvas { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor.is-live .cursor__dot, .cursor.is-live .cursor__ring { opacity: 1; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--orange); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(47, 91, 255, .6); transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(47, 91, 255, .1); border-color: var(--blue); }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }

/* ------------------------------------------------ stări inițiale pentru animații (doar cu .anim) */
.anim [data-r] { opacity: 0; }
.anim [data-split] { opacity: 0; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .22em .03em .24em; margin: -.22em -.03em -.24em; }
.split-c { display: inline-block; }
.is-set .split-w { overflow: visible; }

/* ------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .menu { display: block; }
  .nav__end { margin-left: auto; }
}
@media (max-width: 960px) {
  .cs, .auto, .md, .concept, .sec__head--row { grid-template-columns: 1fr; }
  .auto { grid-template-columns: minmax(0, 1fr); }
  .auto__grid { grid-row: auto; }
  .steps { grid-column: auto; }
  .md__img { min-height: 0; aspect-ratio: 2 / 1; }
  .motor__sticky { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .motor__stage { grid-column: 1; grid-row: 1; margin: calc(var(--nav) + .5rem) var(--pad) 0; }
  .motor__hud { grid-column: 1; grid-row: 2; padding: .6rem var(--pad) 1.2rem; gap: .6rem; align-self: end; }
  .motor__txt { display: none; }
  .motor__steps { grid-auto-flow: column; justify-content: start; gap: .8rem; }
  .motor__steps li { font-size: 0; gap: 0; }
  .motor__steps li span { font-size: .75rem; }
  .motor__steps li.is-on { font-size: .75rem; gap: .4rem; }
  .motor__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .specs dd { font-size: 1.25rem; }
  .motor__drag { bottom: .4rem; right: .4rem; }
}
@media (max-width: 760px) {
  :root { --nav: 60px; --r: 18px; }
  .hero { min-height: 0; grid-template-rows: auto; padding-bottom: 0; }
  .hero__media { position: relative; order: 0; height: 22vh; height: 22svh; min-height: 150px; margin-top: .6rem; margin: 0 var(--pad); border-radius: 20px; overflow: hidden; inset: auto; z-index: 0; }
  .hero__wash { background: linear-gradient(0deg, rgba(246, 244, 239, 0) 70%, rgba(246, 244, 239, .0) 100%); }
  .hero__inner { order: 1; padding-top: 1.1rem; padding-bottom: 1.2rem; }
  .hero__title { font-size: clamp(3rem, 15.5vw, 4.6rem); }
  .hero__lead { margin-top: .8rem; font-size: 1rem; }
  .hero__cta { margin-top: 1.1rem; }
  .hero__eng { margin-top: 1rem; font-size: .88rem; }
  .label { font-size: .72rem; }
  .hero__cota { width: 70%; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__bar { order: 4; grid-template-columns: 1fr 1fr; margin: 1.2rem var(--pad) 0; width: auto; }
  .div { padding: .8rem .9rem; grid-template-columns: 1fr; row-gap: .15rem; }
  .div .mono { grid-row: auto; justify-self: start; }
  .div small { display: none; }
  .div b { font-size: 1.05rem; }
  .div--tel { display: none; }
  .hero { display: flex; flex-direction: column; }
  .sec { padding-top: 2.6rem; }
  .sec--eng { padding-top: 2.6rem; padding-bottom: 1.4rem; }
  .sec--eng2 { padding-top: 1.8rem; }
  .sec__head { margin-bottom: 1.4rem; gap: .8rem; }
  .cs { padding: 1.2rem 1rem 1.8rem; }
  .cs__feats { grid-template-columns: 1fr 1fr; gap: .6rem .9rem; font-size: .82rem; }
  .cs__feats li { padding-left: 0; padding-top: 1.8rem; }
  .cs__feats .mono { top: 0; }
  .cs__name { font-size: 3.4rem; }
  .cs { gap: 1.6rem; }
  .app__list li:nth-child(4) { display: none; }
  .app { font-size: .74rem; }
  .app__body { grid-template-columns: 1fr; min-height: 0; }
  .app__side { display: none; }
  .app__list li { grid-template-columns: auto 1fr 3.2rem auto; gap: .5rem; }
  .app__row { display: none; }
  .app__toast { position: relative; right: auto; bottom: auto; margin: 0 .8rem .8rem auto; width: max-content; }
  .auto { margin-top: 2.6rem; gap: 1.2rem; }
  .auto__grid { gap: .6rem; }
  .tile { padding: .9rem .9rem 1rem; gap: .3rem; }
  .tile__ico { width: 36px; height: 36px; margin-bottom: .1rem; }
  .tile h4 { font-size: 1.25rem; }
  .tile p { font-size: .8rem; line-height: 1.45; }
  .steps__list { grid-template-columns: 1fr 1fr; gap: .9rem .8rem; }
  .steps__list li { grid-template-columns: 1fr; row-gap: .3rem; }
  .steps__n { grid-row: auto; }
  .steps__rail { left: 0; right: 0; top: 1.1rem; bottom: auto; width: auto; height: 2px; display: none; }
  .cs__ver { display: none; }
  .steps__cta { margin-top: 1rem; width: 100%; }
  .steps__list h4 { padding-top: .25rem; }
  .steps__list p { font-size: .84rem; }
  .md { margin-top: 2.6rem; }
  .md__body { padding: 1.3rem 1.2rem 1.5rem; gap: .6rem; }
  .md__desc { font-size: .92rem; }
  .motor { height: 200vh; height: 200svh; margin-inline: 0; border-radius: 24px; }
  .app__cota, .app__cotatxt { display: none; }
  .motor__stage { margin: calc(var(--nav) + .3rem) 0 0; }
  .motor__stage::before { display: none; }
  .motor__hud { padding-bottom: 1rem; }
  .motor__ctl .btn--ghost { display: none; }
  .motor__ctl .btn { flex: 1 1 auto; padding-inline: .7rem; font-size: .84rem; }
  .specs { gap: .2rem 1rem; }
  .demos { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) .6rem; scrollbar-width: none; }
  .demos::-webkit-scrollbar { display: none; }
  .demo { flex: 0 0 82%; scroll-snap-align: center; }
  .concept__stage { aspect-ratio: 16 / 10; }
  .concept { gap: 1.2rem; }
  .final { padding-top: 2.4rem; }
  .demo__meta { grid-template-columns: 1fr; }
  .demo__meta .demo__go { grid-column: 1; grid-row: auto; justify-self: start; }
  .brand__name { white-space: nowrap; font-size: 1.2rem; }
  .sec--web .lead { font-size: .95rem; }
  .sec--web .sec__head { margin-bottom: 1rem; }
  .footer__id { font-size: .74rem; line-height: 1.6; }
  .foot__row { padding: .6rem 0; gap: 0 1rem; }
  .demo { padding: .7rem .7rem 1rem; gap: .8rem; }
  .demo__title { font-size: 1.9rem; }
  .final__card { padding: 1.8rem 1.3rem 2rem; }
  .final__card .btn-row .btn { flex: 1 1 auto; }
  .foot__legal { margin-left: -.5rem; }
}
/* telefon culcat: scena motorului nu se fixează (nu încape), iar hero-ul e compact */
@media (max-height: 500px) and (orientation: landscape) {
  .motor { height: auto; }
  .motor__sticky { position: relative; height: auto; min-height: 100vh; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .motor__stage { grid-column: 2; grid-row: 1; min-height: 80vh; margin: var(--nav) var(--pad) 1rem 0; }
  .motor__hud { grid-column: 1; grid-row: 1; padding: var(--nav) 0 1rem var(--pad); }
  .hero__title { font-size: clamp(2.2rem, 11vh, 3rem); }
  /* textul hero rămâne pe partea luminoasă a fotografiei (contrast AA pe telefon în peisaj) */
  .hero__lead, .hero__eng { max-width: 29rem; }
  .hero__wash { background:
    linear-gradient(90deg, rgba(246, 244, 239, .97) 0%, rgba(246, 244, 239, .93) 58%, rgba(246, 244, 239, .4) 72%, rgba(246, 244, 239, 0) 84%),
    linear-gradient(0deg, rgba(246, 244, 239, 1) 0%, rgba(246, 244, 239, 0) 22%); }
}

/* ------------------------------------------------ mișcare redusă: fără fixare, totul vizibil */
.rm .motor { height: auto; }
.rm .motor__sticky { position: relative; height: auto; min-height: min(100vh, 820px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* fără JavaScript: scena motorului e o imagine, nu se fixează */
.no-js .motor { height: auto; }
.no-js .motor__sticky { position: relative; height: auto; min-height: 640px; }
.no-js .motor__ctl button, .no-js .motor__drag { display: none; }
.nw { white-space: nowrap; }
@media (max-width: 560px) { .nav__end > .lang { display: none; } .lang--menu { display: inline-flex; } }
@media (max-width: 480px) { .brand__name b { display: none; } .nav { gap: .6rem; } .nav__end { gap: .4rem; } .btn--sm { padding-inline: .85rem; } }
@media (max-width: 350px) { .nav__end .btn--sm { display: none; } .steps__cta { font-size: .9rem; padding-inline: 1rem; gap: .4rem; } }
:lang(en) .hero__title { max-width: 11.5ch; }
:lang(en) .hero__eng { max-width: 44rem; }
/* modul «Planșa»: fără îndemnul de rotire peste desen */
.motor.is-plan .motor__drag { opacity: 0; }
/* pauză pentru bucla video din hero (WCAG 2.2.2); apare doar cât video-ul rulează */
.hero__pause { position: absolute; right: var(--pad); bottom: calc(100% - var(--nav) - 3.4rem); z-index: 2; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(18, 20, 24, .14); background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; } /* fără backdrop-filter: peste video ar recompune încețoșarea la fiecare cadru */
.hero__pause svg { width: 14px; height: 14px; }
.hero__pause .pl { display: none; }
.hero__pause[data-state="off"] .pa { display: none; }
.hero__pause[data-state="off"] .pl { display: block; }
@media (max-width: 760px) { .hero__pause { top: calc(var(--nav) + 1.1rem); bottom: auto; right: calc(var(--pad) + .6rem); } }
