/* AeroDoze v2 - "studio monocrom": fundal de studio gri cu lumina moale, cerneala neagra, perna 3D in timp real.
   Layout: o scena 3D fixa in spatele textului; sectiunile isi spun povestea pe rand, sectiunea tehnica trece in negru. */
:root {
  --paper: #E7E7E4;
  --paper-2: #D9D9D5;
  --shade: #9C9C98;
  --ink: #0C0C0C;
  --ink-2: #3B3B39;
  --mute: #8C8C88;
  --line: rgb(12 12 12 / 0.14);
  --night: #0D0D0E;
  --night-ink: #EDEDEA;
  --night-mute: #7E7E7A;
  --night-line: rgb(237 237 234 / 0.16);

  --f-mark: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gutter: clamp(18px, 3.4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --hud-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
/* clip, nu doar hidden pe body: pe telefon un element prea lat (de exemplu literele mari) nu mai poate largi pagina */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip, nu hidden: hidden face din body un container de derulare (overflow-y devine auto) si atunci position: sticky
     (antetul paginilor secundare, galeria paginii de produs) se raporteaza la body, care nu se deruleaza, deci nu se mai lipeste */
  overflow-x: clip;
}
img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:visited { color: inherit; }
:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
.sr-only { 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; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
.placeholder { padding: 0 4px; border-radius: 3px; background: rgb(12 12 12 / 0.08); }

/* ---------- straturile fixe: un singur canvas (#scene) cu cerul, grila fina si perna 3D ---------- */
/* fundalul de studio, grila si granulatia din CSS raman doar ca rezerva, cand WebGL nu porneste:
   cu cerul pornit le deseneaza canvasul (un strat CSS cu mix-blend-mode peste un canvas animat costa o compunere in plus la fiecare cadru) */
.backdrop { position: fixed; inset: 0; z-index: -4; pointer-events: none; }
html.has-sky .backdrop, html.has-sky .grid-lines, html.has-sky .grain { display: none; }
/* grila de coloane, ca pe o fisa tehnica: linii de un pixel, abia vizibile, deschise cand cerul se intuneca */
.grid-lines {
  position: fixed; top: 0; bottom: 0; left: var(--gutter); right: var(--gutter); z-index: -2; pointer-events: none;
  color: var(--ink); opacity: .07; border-right: 1px solid currentColor;
  background: linear-gradient(to right, currentColor 1px, transparent 1px) 0 0 / calc(100% / 6) 100% repeat-x;
  transition: color .8s var(--ease-io), opacity .8s var(--ease-io);
}
html.is-dark .grid-lines { color: var(--night-ink); opacity: .06; }
.backdrop > div { position: absolute; inset: -10%; transition: opacity 1.1s var(--ease-io); }
.backdrop-light {
  background:
    radial-gradient(55% 60% at 88% 8%, rgb(120 120 116 / 0.55), transparent 70%),
    radial-gradient(45% 70% at 4% 70%, rgb(150 150 146 / 0.35), transparent 72%),
    radial-gradient(60% 50% at 50% 110%, rgb(255 255 255 / 0.55), transparent 70%),
    var(--paper);
}
.backdrop-dark {
  opacity: 0;
  background:
    radial-gradient(50% 55% at 80% 20%, rgb(70 70 72 / 0.55), transparent 70%),
    radial-gradient(40% 60% at 10% 85%, rgb(40 40 42 / 0.7), transparent 72%),
    var(--night);
}
html.is-dark .backdrop-dark { opacity: 1; }
/* cat fereastra (nu 100vw: acela include bara de derulare si latimea in plus a paginii); scena se masoara dupa el */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- incarcarea ---------- */
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--paper); transition: opacity .9s var(--ease-io), visibility 0s .9s; }
.loader-ring { position: absolute; width: min(64vmin, 520px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgb(12 12 12 / 0.12); }
.loader-ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--ink); clip-path: inset(0 0 calc(100% - var(--p, 0%)) 0); transition: clip-path .4s var(--ease-out); }
.loader-text { font: 400 12px/1 var(--f-text); letter-spacing: .02em; color: var(--ink); }
.loader-text span { color: var(--mute); }
html.is-ready .loader { opacity: 0; visibility: hidden; }
html.no-js .loader { display: none; }

/* ---------- HUD: sigla, navigatia, pretul + butonul ---------- */
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--hud-h); padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; color: var(--ink); transition: color .8s var(--ease-io); }
html.is-dark .hud { color: var(--night-ink); }
.hud-logo { font: 400 15px/1 var(--f-mark); letter-spacing: .04em; text-decoration: none; }
.hud-nav { display: none; gap: 26px; margin-left: auto; font-size: 13px; }
.hud-nav a { text-decoration: none; opacity: .62; transition: opacity .3s; }
.hud-nav a:hover { opacity: 1; }
.btn-pill {
  display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 6px 0 20px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font: 500 14px/1 var(--f-text); letter-spacing: .01em;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease-io), color .4s var(--ease-io); white-space: nowrap;
}
.btn-pill:visited { color: var(--paper); }
.btn-pill:active { transform: scale(.97); }
.pill-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(231 231 228 / 0.14); transition: transform .5s var(--ease-out); }
.pill-ico svg { width: 12px; height: 12px; }
.btn-pill:hover .pill-ico { transform: translate(2px, -2px) scale(1.06); }
/* fara tranzitie pe transform: intrarea din antet (gsap.from y:16, experience.js) anima aceeasi proprietate, iar pe un
   calculator lent GSAP citea pozitia finala din mijlocul tranzitiei CSS si butonul ramanea cu ~16 px mai jos decat meniul */
.hud .btn-pill { margin-left: auto; min-height: 42px; transition: background-color .4s var(--ease-io), color .4s var(--ease-io); }
.btn-price { opacity: .6; font-weight: 400; }
html.is-dark .hud .btn-pill { background: var(--night-ink); color: var(--night); }
html.is-dark .hud .pill-ico { background: rgb(13 13 14 / 0.1); }
.hud-index { position: fixed; left: var(--gutter); bottom: 22px; z-index: 40; font: 400 11px/1 var(--f-text); letter-spacing: .14em; color: var(--mute); transition: color .8s; }
html.is-dark .hud-index { color: var(--night-mute); }
.hud-index b { color: var(--ink); font-weight: 400; transition: color .8s; }
html.is-dark .hud-index b { color: var(--night-ink); }

/* ---------- tipografia ---------- */
.micro { font: 400 12px/1.5 var(--f-text); letter-spacing: .01em; color: var(--ink-2); }
.label { font: 500 11px/1 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.big-words {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 400; text-transform: uppercase;
  font-size: clamp(40px, 8vw, 160px); line-height: .9; letter-spacing: -0.025em; display: grid; gap: .04em;
}
.big-words .line { display: block; white-space: nowrap; }
.big-words .w { display: inline-block; color: rgb(12 12 12 / 0.16); transition: color .5s var(--ease-io); }
.big-words .w.on { color: var(--ink); }
.big-words.sm { font-size: clamp(36px, 6.2vw, 120px); }
html.no-js .big-words .w { color: var(--ink); }

/* ---------- sectiunile ---------- */
main { position: relative; z-index: 1; }
section { position: relative; padding-inline: var(--gutter); }

/* 1. deschiderea: AERO [perna] DOZE */
.s-hero { min-height: 100svh; display: grid; align-items: center; padding-top: var(--hud-h); }
.hero-word { position: relative; display: flex; justify-content: space-between; align-items: center; font: 400 clamp(48px, 7.4vw, 170px)/1 var(--f-mark); letter-spacing: -0.02em; text-transform: uppercase; }
.hw { display: block; }
.hero-fallback { display: none; position: absolute; left: 50%; top: 50%; width: min(34vw, 460px); transform: translate(-50%, -50%); }
html.no-webgl .hero-fallback { display: block; }
.hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 56px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.hero-foot .micro-r { text-align: right; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: currentColor; transform-origin: top; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 2 + 5. declaratiile mari, aliniate alternativ ca in revistele de produs */
.s-statement { min-height: 135svh; display: grid; align-content: center; padding-block: 18svh; }
.s-statement .big-words .l2 { padding-left: 9vw; }
.s-statement .big-words .l3 { padding-left: 6vw; }
.s-statement .big-words .l4 { padding-left: 30vw; }
.s-statement-2 .big-words { justify-items: end; text-align: right; }
.s-statement-2 .big-words .line { padding-left: 0 !important; }
.s-statement-2 .big-words .l2 { padding-right: 14vw; }

/* 3. notele de produs: titlu mare in literele de afis, paragraf lizibil (folosite si in 5) */
.s-notes { min-height: 110svh; display: grid; align-content: center; }
.notes { display: grid; gap: clamp(36px, 6svh, 72px); max-width: min(460px, 36vw); }
/* eticheta capitolului ergonomic, deasupra notelor */
.notes-head .label { color: var(--ink-2); }
.notes-r { margin-left: auto; }
.note { display: grid; gap: 14px; }
.note-ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.note-ico svg { width: 24px; height: 24px; }
.note h3 { font: 400 clamp(24px, 2.1vw, 38px)/1.02 var(--f-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.015em; }
.note p { font-size: clamp(16px, 1.1vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 32ch; }

/* 4. rotirea completa, cu litere uriase care trec pe dupa perna */
.s-spin { height: 100svh; overflow: hidden; padding: 0; }
.marquee { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 400 clamp(90px, 17vw, 330px)/1 var(--f-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgb(12 12 12 / 0.28); will-change: transform; }
.spin-caption { position: absolute; left: var(--gutter); bottom: max(64px, calc(var(--consent-h, 0px) + 16px)); max-width: 280px; }

/* 7. fisa tehnica, pe negru */
.s-spec { height: 100svh; padding-top: calc(var(--hud-h) + 24px); color: var(--night-ink); }
.spec-head { display: grid; gap: 10px; }
.spec-head .label { color: var(--night-mute); }
.spec-model { font: 400 clamp(48px, 7vw, 120px)/1 var(--f-mark); letter-spacing: -0.02em; }
.spec-head .micro { color: var(--night-mute); }
.spec-head .label, .spec-head .micro, .spec-head h2 { transition: color .45s var(--ease-io), text-shadow .45s var(--ease-io); }
.s-spec.is-macro .spec-head { text-shadow: 0 1px 24px rgb(0 0 0 / .6); }
.s-spec.is-macro .spec-head .label, .s-spec.is-macro .spec-head .micro { color: var(--night-ink); }
.spec-list { list-style: none; margin: 0; padding: 0; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(420px, 38vw); border-top: 1px solid var(--night-line); }
.spec-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--night-line); font-size: 13px; color: var(--night-mute); transition: color .45s var(--ease-io); }
.spec-list li .n { font: 400 11px/1 var(--f-text); letter-spacing: .1em; }
.spec-list li .v { font-size: 12px; text-align: right; }
.spec-list li.on { color: var(--night-ink); }
.spec-pointer { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; }
.spec-pointer.on { opacity: 1; }
.spec-pointer line { stroke: var(--night-ink); stroke-width: 1; }
.spec-pointer circle { fill: var(--night-ink); }
.spec-pointer .halo { fill: none; stroke: var(--night-ink); stroke-width: 1; opacity: .5; }

/* 6. inauntru: anatomia pernei. Titlul sus-stanga, legenda in dreapta (ca fisa tehnica), perna intre ele;
   pe ecranele inguste sau verticale textul sta sus si perna dedesubt. Nimic nu mai e ancorat jos (acolo sta cardul de cookie-uri) */
.s-inside {
  --leg-w: clamp(300px, 26vw, 420px);
  height: 100svh; padding: calc(var(--hud-h) + 24px) var(--gutter) 56px; color: var(--night-ink);
  display: grid; grid-template-columns: minmax(0, 1fr) var(--leg-w); grid-template-rows: auto auto 1fr;
  grid-template-areas: "head leg" "note leg" ". leg"; column-gap: 4vw;
}
.inside-head { grid-area: head; display: grid; gap: 12px; align-content: start; }
.inside-head .label { color: var(--night-mute); }
.inside-title { width: max-content; font: 400 clamp(40px, min(6.4vw, 11.5svh), 112px)/.92 var(--f-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.025em; }
.inside-note { grid-area: note; align-self: start; margin-top: 12px; max-width: 260px; color: rgb(237 237 234 / .7); }
.inside-legend { grid-area: leg; align-self: center; position: relative; isolation: isolate; }
/* un val intunecat, static, sub legenda: textul ramane lizibil si peste norii luminati */
.inside-legend::before { content: ""; position: absolute; inset: -56px -40px -56px -72px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgb(9 10 12 / .55), transparent); }
.inside-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--night-line); }
.inside-steps li { border-bottom: 1px solid var(--night-line); }
.inside-steps h3 { font: inherit; }
.inside-steps button {
  all: unset; box-sizing: border-box; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; width: 100%; padding: 7px 0 8px; cursor: pointer;
  font: 400 clamp(20px, min(1.55vw, 3svh), 28px)/1.12 var(--f-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em;
  color: rgb(237 237 234 / .62); transition: color .45s var(--ease-io);
}
.inside-steps .n { font: 400 11px/1 var(--f-text); font-stretch: 100%; letter-spacing: .1em; }
.inside-steps li.on button { color: var(--night-ink); }
@media (hover: hover) { .inside-steps button:hover { color: var(--night-ink); } }
.inside-steps button:focus-visible { outline: 1.5px solid currentColor; outline-offset: 3px; }
/* descrierile stau una peste alta in aceeasi celula: inaltimea legendei nu se schimba niciodata intre pasi */
.inside-caps { display: grid; margin-top: 18px; }
.inside-caps p { font: 400 clamp(15px, 1.05vw, 17px)/1.55 var(--f-text); color: rgb(237 237 234 / .86); max-width: 38ch; }
/* doar cand coregrafia ruleaza (clasa pusa de experience.js) descrierile stau una peste alta; altfel se vad toate */
.s-inside.is-live .inside-caps p { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-io), transform .7s var(--ease-out); }
.s-inside.is-live .inside-caps p.on { opacity: 1; transform: none; }
/* rezerva fara cer (fara JS sau fara WebGL): fundalul ramane deschis, deci si legenda e in tema deschisa */
html.no-js .s-inside, html.no-webgl:not(.has-sky) .s-inside { color: var(--ink); }
html.no-js .inside-head .label, html.no-js .inside-note,
html.no-webgl:not(.has-sky) .inside-head .label, html.no-webgl:not(.has-sky) .inside-note { color: var(--mute); }
html.no-js .inside-steps, html.no-js .inside-steps li,
html.no-webgl:not(.has-sky) .inside-steps, html.no-webgl:not(.has-sky) .inside-steps li { border-color: var(--line); }
html.no-js .inside-steps button, html.no-webgl:not(.has-sky) .inside-steps button { color: var(--ink); }
html.no-js .inside-caps p, html.no-webgl:not(.has-sky) .inside-caps p { color: var(--ink-2); }
html.no-js .inside-legend::before, html.no-webgl:not(.has-sky) .inside-legend::before { display: none; }
/* stratul de deasupra scenei: reperele, unghiul, lupa (pozitii scrise de inside.js) */
.inside-fx { position: fixed; inset: 0; z-index: 2; pointer-events: none; color: var(--night-ink); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease-io), visibility 0s .5s; }
.inside-fx.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease-io); }
.fx-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fx-angle, .fx-lead { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0; transition: opacity .4s var(--ease-io); }
.fx-deg { fill: currentColor; font: 500 18px/1 var(--f-text); letter-spacing: .02em; text-anchor: middle; dominant-baseline: middle; opacity: 0; transition: opacity .4s var(--ease-io); }
.fx-dot { fill: currentColor; opacity: 0; transition: opacity .4s var(--ease-io); }
.inside-fx.ang .fx-angle, .inside-fx.ang .fx-deg { opacity: 1; }
.inside-fx.lp .fx-lead { opacity: .8; }
.inside-fx.lp .fx-dot { opacity: 1; }
.mk { position: absolute; left: 0; top: 0; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 1px solid rgb(237 237 234 / .7); background: rgb(13 13 14 / .55); font: 500 11px/1 var(--f-text); letter-spacing: .04em; display: grid; place-items: center; opacity: 0; transition: opacity .4s var(--ease-io), background-color .4s var(--ease-io), color .4s var(--ease-io); will-change: transform; }
.mk.show { opacity: .6; }
.mk.on { opacity: 1; background: var(--night-ink); border-color: var(--night-ink); color: var(--night); box-shadow: 0 0 0 4px rgb(13 13 14 / .35); }
.loupe { position: absolute; left: 0; top: 0; width: var(--lp, 232px); margin: 0; opacity: 0; transition: opacity .45s var(--ease-io); will-change: transform; }
.inside-fx.lp .loupe { opacity: 1; }
.loupe svg { display: block; width: 100%; height: auto; }
.lp-pvc { fill: #9fa2a7; }
.lp-edge { stroke: #e4e5e7; stroke-width: 1; }
.lp-flock { fill: none; stroke: #c9cbce; stroke-width: .8; stroke-linecap: round; opacity: .72; }
.lp-ring { fill: none; stroke: var(--night-ink); stroke-width: 1; opacity: .7; }
.loupe figcaption { margin-top: 10px; text-align: center; font: 500 12px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: rgb(237 237 234 / .72); }
html.no-webgl .inside-fx { display: none; }

/* 7. umflarea, derulata cu pagina */
.s-inflate { height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4vw; }
/* locul pernei 3D (desenata in canvasul comun); fara WebGL, o fotografie */
.inflate-stage { width: min(100%, 46vw, 640px); aspect-ratio: 1; margin-inline: auto; }
.inflate-fallback { display: none; width: 100%; height: 100%; object-fit: contain; }
html.no-webgl .inflate-fallback { display: block; }
.inflate-copy { display: grid; gap: 22px; }
.inflate-copy .micro { max-width: 300px; }


/* 9. oferta */
.s-offer { min-height: 110svh; display: grid; align-content: center; gap: 48px; padding-block: 16svh; }
.offer-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); max-width: 760px; }
.opt { display: grid; gap: 14px; padding: 28px 28px 26px; background: var(--paper); align-content: start; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
/* .opt p ar castiga (specificitate mai mare) si ar face pretul mic: il legam de card */
.opt .opt-price { font: 400 clamp(46px, 5vw, 76px)/1 var(--f-mark); letter-spacing: -0.03em; color: var(--ink); }
.opt p { font-size: 13px; color: var(--ink-2); }
.opt .btn-pill { justify-self: start; margin-top: 8px; }
.opt-save { padding: 4px 9px; border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.assure { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.assure li[hidden] { display: none; }

/* 10. intrebari */
.s-faq { padding-block: 16svh 18svh; display: grid; gap: 40px; }
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 64px; font: 400 clamp(17px, 1.6vw, 21px)/1.3 var(--f-text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 11px; height: 11px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .5s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; max-width: 64ch; color: var(--ink-2); }

/* subsolul: semnatura uriasa */
.site-footer { position: relative; z-index: 1; padding: 12svh var(--gutter) 28px; display: grid; gap: 36px; border-top: 1px solid var(--line); background: var(--paper); }
/* cuvantul are ~7,7em latime: il potrivim exact intre margini, pe orice ecran */
.foot-word { font: 400 min(260px, calc((100vw - 2 * var(--gutter)) / 7.9))/0.9 var(--f-mark); letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; }
.footer-nav a { text-decoration: none; opacity: .7; min-height: 44px; display: inline-flex; align-items: center; }
.footer-nav a:hover { opacity: 1; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; opacity: .7; cursor: pointer; min-height: 44px; }
.linklike:hover { opacity: 1; }
.footer-legal { display: grid; gap: 4px; font-size: 12px; color: var(--mute); }

/* intrarea elementelor la derulare (vizibile implicit; animate doar cu JS) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
/* pe calculator si focalizarea din neclar (dureaza o secunda, o singura data); pe telefon un blur animat pe blocuri mari de text
   se redeseneaza la fiecare cadru, deci acolo raman doar opacitatea si miscarea */
@media (pointer: fine) {
  .js .reveal { filter: blur(8px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
  .js .reveal.in { filter: none; }
}

/* recomandare, cookie-uri, plata in previzualizare */
.refbar { position: fixed; left: 50%; top: calc(var(--hud-h) + 6px); transform: translateX(-50%); z-index: 41; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; }
.refbar[hidden] { display: none; }
.refbar-close { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgb(231 231 228 / 0.14); color: inherit; cursor: pointer; }
.refbar-close svg { width: 12px; height: 12px; }
.consent { position: fixed; left: var(--gutter); bottom: 22px; z-index: 70; width: min(400px, calc(100vw - 2 * var(--gutter))); display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: var(--ink); color: var(--paper); font-size: 13px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.5); }
.consent[hidden] { display: none; }
.consent a { color: inherit; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-consent { min-height: 44px; border-radius: 999px; border: 1px solid rgb(231 231 228 / 0.3); background: transparent; color: inherit; font: 500 13px/1 var(--f-text); cursor: pointer; }
.btn-consent:hover { border-color: var(--paper); }
.modal { max-width: min(92vw, 420px); padding: 28px; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px -40px rgb(0 0 0 / 0.5); }
.modal::backdrop { background: rgb(12 12 12 / 0.4); backdrop-filter: blur(4px); }
.modal h2 { font: 400 22px/1.2 var(--f-mark); margin-bottom: 12px; }
.modal p { color: var(--ink-2); margin-bottom: 22px; font-size: 14px; }
.modal .btn-pill { border: 0; cursor: pointer; padding: 0 22px; }

/* paginile legale si de multumire */
/* antetul lipicios nu acopera elementul cu focus (navigarea cu tastatura) si nici ancorele (#details, #faq) */
html:has(.legal-header) { scroll-padding-top: calc(var(--hud-h) + 12px); }
.legal-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; height: var(--hud-h); padding: 0 var(--gutter); background: rgb(231 231 228 / 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.legal-header .logo { font: 400 15px/1 var(--f-mark); letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.legal-back { margin-left: auto; font-size: 13px; opacity: .7; text-decoration: none; }
.legal-main { padding: 56px var(--gutter) 96px; }
.legal-article { max-width: 70ch; }
.legal-article h1 { font: 400 clamp(30px, 5vw, 52px)/1.05 var(--f-mark); letter-spacing: -0.02em; margin: 14px 0 28px; }
.legal-article h2 { font: 500 19px/1.3 var(--f-text); margin: 36px 0 10px; }
.legal-article h3 { font: 500 15px/1.3 var(--f-text); margin: 22px 0 8px; }
.legal-article p, .legal-article li { color: var(--ink-2); }
.legal-article p + p { margin-top: 12px; }
.legal-article ul, .legal-article ol { padding-left: 20px; display: grid; gap: 6px; margin: 12px 0; }
.legal-article .table-wrap { overflow-x: auto; margin: 16px 0; }
.legal-article table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-article th, .legal-article td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-article th { font: 500 11px/1.4 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.legal-updated { font: 500 11px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.legal-note { padding: 14px 16px; border-radius: 12px; background: rgb(12 12 12 / 0.05); margin: 16px 0; }
.legal-article #open-cookie-settings { min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: 500 14px/1 var(--f-text); cursor: pointer; }

/* 6. pe ecrane inguste sau verticale: textul sus (titlul pe un rand, pasii ca o propozitie), perna dedesubt */
@media (max-width: 1099px), (orientation: portrait) {
  .s-inside { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr; grid-template-areas: "head" "leg" "note" "."; column-gap: 0; padding: calc(var(--hud-h) + 12px) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); }
  .inside-head { gap: 10px; }
  .inside-title { font-size: clamp(30px, min(10vw, 5.2svh), 48px); }
  .inside-title br { display: none; }
  .inside-legend { align-self: start; margin-top: 14px; }
  .inside-legend::before { display: none; }
  .inside-steps { display: flex; flex-wrap: wrap; column-gap: .45em; border: 0; }
  .inside-steps li { border: 0; }
  .inside-steps button { display: inline; width: auto; padding: 0; font-size: clamp(14px, min(4.1vw, 2.3svh), 20px); line-height: 1.15; }
  .inside-steps .n { display: none; }
  .inside-caps { margin-top: 10px; }
  .inside-caps p { font-size: 15px; line-height: 1.5; max-width: 46ch; }
  .inside-note { margin-top: 8px; max-width: none; }
  /* fara valul intunecat de sub legenda: o umbra discreta tine textul lizibil si peste norii luminati */
  .inside-steps button, .inside-caps p, .inside-note { text-shadow: 0 1px 16px rgb(0 0 0 / .6); }
}

/* ---------- telefon ---------- */
@media (max-width: 759px) {
  /* Michroma e lata: "DOZE" are ~4,6 em, deci la 19vw incape intre margini (la 23vw iesea din ecran si largea pagina) */
  .hero-word { position: absolute; inset: calc(var(--hud-h) + 4svh) var(--gutter) auto; display: block; font-size: min(19vw, 15svh); line-height: .9; height: 70svh; }
  /* pe telefon ambele cuvinte stau pe centru, deasupra si dedesubtul pernei (Flav, 4 oct) */
  .hw-l, .hw-r { position: absolute; left: 0; right: 0; text-align: center; }
  .hw-l { top: 0; }
  .hw-r { bottom: 0; }
  .hero-fallback { width: 72vw; }
  .hero-foot { bottom: max(64px, calc(var(--consent-h, 0px) + 16px)); }
  .scroll-cue { display: none; }
  .big-words { font-size: 12.4vw; }
  .big-words .line { white-space: normal; }
  .big-words.sm { font-size: 10.4vw; }
  .s-statement .big-words .line { padding-left: 0 !important; padding-right: 0 !important; }
  .s-statement { min-height: 120svh; align-content: end; padding-block: 12svh 16svh; }
  .s-notes { align-content: end; padding-bottom: 14svh; }
  .notes { gap: 26px; max-width: none; }
  .note { gap: 10px; }
  .note-ico { width: 44px; height: 44px; }
  .note h3 { font-size: min(6.6vw, 3.6svh); }
  .note p { font-size: 16px; line-height: 1.5; }
  .mk { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
  .loupe { display: flex; flex-direction: column-reverse; margin-top: -18px; }
  .loupe figcaption { font-size: 10px; letter-spacing: .06em; margin: 0 0 8px; }
  .notes-r { margin-left: 0; }
  .s-spec { padding-top: calc(var(--hud-h) + 8px); }
  .spec-list { position: absolute; left: var(--gutter); right: var(--gutter); top: auto; bottom: max(64px, calc(var(--consent-h, 0px) + 16px)); transform: none; width: auto; }
  .spec-list li { padding: 12px 0; font-size: 13px; }
  .spec-list li:not(.on) { display: none; }      /* pe telefon: un singur rand odata, perna are loc deasupra */
  .s-inflate { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .inflate-stage { width: min(80vw, 420px); order: -1; }
  .offer-grid { max-width: none; }
  .hud { gap: 14px; }
  .grid-lines { background-size: calc(100% / 4) 100%; }
}
@media (min-width: 760px) {
  .hud-nav { display: flex; }
  .hud-nav + .btn-pill { margin-left: 8px; }   /* doar cand meniul e vizibil; pe telefon butonul sta in dreapta */
  .offer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after, .marquee { animation: none !important; }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; filter: none; transition: none; }
}
