/* Vakema hero – design tokens from the logo (see IMPLEMENTATION_PLAN.md §1.2) */
:root {
  --bg-void: #07080A;
  --gold-100: #FFE7A3;
  --gold-300: #F2C14E;
  --gold-500: #D49A24;
  --gold-700: #8A5A12;
  --chrome-100: #F4F6F8;
  --chrome-300: #C9CED4;
  --chrome-500: #8C939B;
  --chrome-700: #3E4349;
  --glass-surface: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-primary: #F2F4F7;
  --text-muted: #9AA3B2;

  --font-display: 'Michroma', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 10px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--gold-300); color: #1a1204; padding: 10px 14px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Scene + cinematic overlays ---------- */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.fx-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 95% at 50% 42%, transparent 52%, rgba(0, 0, 0, .7) 100%),
    linear-gradient(90deg, rgba(7, 8, 10, .72) 0%, rgba(7, 8, 10, .25) 34%, transparent 55%);
}
.fx-grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 2; opacity: .07; mix-blend-mode: overlay;
  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");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Loader (logo + progress, until every asset is ready) ---------- */
#loader {
  position: fixed; inset: 0; z-index: 60; background: var(--bg-void);
  display: grid; place-items: center;
}
/* Soft gold light breathing behind the logo */
.loader-glow {
  position: absolute; left: 50%; top: 50%; width: min(120vw, 1100px); aspect-ratio: 1; translate: -50% -55%;
  background: radial-gradient(closest-side, rgba(242, 193, 78, .16), rgba(242, 193, 78, .05) 45%, transparent 70%);
  animation: glow-breathe 3.2s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes glow-breathe { from { opacity: .55; scale: .92; } to { opacity: 1; scale: 1.04; } }
.loader-brand { position: relative; display: flex; flex-direction: column; align-items: center; width: min(80vw, 560px); }
.loader-logo {
  width: 100%; height: auto; mix-blend-mode: screen; opacity: 0;
  animation: logo-in 1.4s var(--ease-out) .1s forwards;
}
/* HUD row: what is happening + big percentage, right above the bar */
.loader-hud { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%; margin-top: 10px; }
.loader-stage {
  font-family: var(--font-display); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted);
  animation: stage-blink 1.6s ease-in-out infinite;
}
@keyframes stage-blink { 50% { color: var(--text-primary); } }
.loader-pct {
  font-family: var(--font-display); font-size: clamp(22px, 5vw, 30px); line-height: 1; font-variant-numeric: tabular-nums;
  color: var(--gold-300); text-shadow: 0 0 18px rgba(242, 193, 78, .55);
}
/* Game-style bar: framed track, striped gold fill, shimmer and a spark at the head.
   The fill width is set from the head script in index.html. */
.loader-bar {
  position: relative; width: 100%; height: 14px; margin-top: 10px; padding: 3px; border-radius: 999px;
  border: 1px solid rgba(242, 193, 78, .35); background: rgba(0, 0, 0, .55);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .8), 0 0 24px rgba(242, 193, 78, .08);
}
.loader-fill {
  position: relative; display: block; width: 0; height: 100%; min-width: 6px; border-radius: inherit;
  background: linear-gradient(180deg, #FFE7A3, var(--gold-300) 45%, #8A5A12);
  box-shadow: 0 0 14px rgba(242, 193, 78, .65);
}
.loader-fill::before, .loader-fill::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.loader-fill::before {
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .22) 0 6px, transparent 6px 12px);
  animation: bar-stripes .7s linear infinite;
}
.loader-fill::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent) no-repeat;
  background-size: 40% 100%;
  animation: bar-shine 1.8s ease-in-out infinite;
}
@keyframes bar-stripes { to { background-position: 16.97px 0; } }
@keyframes bar-shine { from { background-position: -70% 0; } to { background-position: 170% 0; } }
.loader-spark {
  position: absolute; right: 0; top: 50%; z-index: 1; width: 8px; height: 8px; border-radius: 50%; translate: 0 -50%;
  background: #fff; box-shadow: 0 0 8px 3px #FFE7A3, 0 0 22px 8px rgba(242, 193, 78, .7);
  animation: spark 0.9s ease-in-out infinite alternate;
}
@keyframes spark { from { opacity: .6; scale: .7; } to { opacity: 1; scale: 1.15; } }
.loader-tip { min-height: 2.8em; margin: 18px 0 0; font-size: 13px; line-height: 1.4; text-align: center; color: var(--text-muted); }
.loader-tip b {
  margin-right: 8px; font-family: var(--font-display); font-size: 9.5px; font-weight: 400; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-300);
}
.loader-tip-text { transition: opacity .3s; }
.loader-tip-text.is-out { opacity: 0; }
body:has(#loader) .skip-intro { opacity: 0; pointer-events: none; }
/* The 3D could not start: the bar gives way to a message and a retry button */
#loader.is-error .loader-hud, #loader.is-error .loader-bar, #loader.is-error .loader-tip { display: none; }
#loader.is-error .loader-glow { animation: none; opacity: .4; }
.loader-error { margin-top: 18px; text-align: center; }
.loader-error-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--text-primary); }
.loader-error-text { max-width: 380px; margin: 0 auto 20px; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
@keyframes logo-in { from { opacity: 0; filter: blur(10px); transform: scale(1.04); } to { opacity: .92; filter: blur(0); transform: none; } }

/* ---------- Reveal choreography (driven by body.is-intro) ---------- */
.reveal { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), visibility 0s; }
.is-intro .reveal { opacity: 0; visibility: hidden; transform: translateY(18px); transition: none; }
.is-intro .nav.reveal { transform: translateY(-24px); }
.hero-copy .reveal:nth-child(1) { transition-delay: .15s; }
.hero-copy .reveal:nth-child(2) { transition-delay: .28s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .42s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .56s; }
.hero-chips.reveal { transition-delay: .7s; }

/* ---------- Glass navigation ---------- */
.nav {
  position: fixed; z-index: 30; top: 16px; left: 16px; right: 16px; height: 64px;
  display: flex; align-items: center; gap: 20px; padding: 0 10px 0 16px; border-radius: 18px;
  background:
    radial-gradient(260px 120px at var(--mx, 50%) -20%, rgba(242, 193, 78, .18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)),
    rgba(10, 11, 14, .55);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(0, 0, 0, .25), 0 24px 60px rgba(0, 0, 0, .4);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav, .btn-glass, .chip, .glass-label, .back-btn, .toast { background: rgba(16, 18, 22, .9) !important; }
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.mark { height: 32px; width: auto; filter: drop-shadow(0 0 10px rgba(242, 193, 78, .25)); }
.wordmark { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.wordmark b { font-weight: 400; font-size: 17px; letter-spacing: .1em; }
.wm-gold, .gold {
  background: linear-gradient(180deg, var(--gold-100) 0%, var(--gold-300) 45%, var(--gold-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wm-chrome {
  background: linear-gradient(180deg, #fff 0%, var(--chrome-300) 55%, var(--chrome-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark small { font-size: 7.5px; letter-spacing: .62em; color: var(--chrome-300); margin-top: 4px; }

.nav-links { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0 auto; }
.nav-links a {
  display: block; position: relative; padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: none;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255, 255, 255, .05); }
.nav-links a[aria-current="page"] { color: var(--text-primary); }
.nav-links a[aria-current="page"]::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
}
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav > nav { flex: 1; min-width: 0; }
.lang { display: flex; height: 40px; padding: 3px; gap: 2px; border-radius: 10px; border: 1px solid var(--glass-border); }
.lang button {
  padding: 0 9px; border: 0; border-radius: 7px; background: transparent;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--text-muted); transition: color .2s, background .2s;
}
.lang button:hover { color: var(--text-primary); }
.lang button[aria-pressed="true"] { color: #1a1205; background: linear-gradient(180deg, var(--gold-100), var(--gold-300)); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; background: transparent; border: 1px solid var(--glass-border); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text-primary); transition: transform .3s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0;
  font-size: 15px; font-weight: 700; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-position .6s var(--ease-out), transform .25s, box-shadow .3s;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  color: #1a1204;
  /* gold → chrome shift on hover (VAKE|MA split) */
  background: linear-gradient(110deg, var(--gold-100) 0%, var(--gold-300) 25%, var(--gold-500) 50%, var(--chrome-300) 75%, #fff 100%);
  background-size: 200% 100%; background-position: 0% 0;
  box-shadow: 0 8px 30px rgba(242, 193, 78, .25), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 10px 36px rgba(201, 206, 212, .25), inset 0 1px 0 rgba(255, 255, 255, .6); }
.nav-cta { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-glass {
  color: var(--text-primary); background: var(--glass-surface); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Hero copy ---------- */
.hero { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.hero-copy {
  position: absolute; left: var(--gutter); bottom: clamp(88px, 13vh, 150px);
  max-width: 780px; pointer-events: none;
}
/* Only the controls catch clicks: the text itself lets clicks through to the 3D products behind it */
.hero-copy a, .hero-copy button, .hero-chips a, .hero-chips button { pointer-events: auto; }
/* Hovering a product behind the copy fades the copy so the product stays visible */
body.has-hover .hero-copy { opacity: .12; }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-300);
}
.eyebrow::before { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-300)); }
h1 {
  margin: 20px 0 18px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.005em;
  text-wrap: balance; text-shadow: 0 2px 40px rgba(0, 0, 0, .6);
}
.lead { max-width: 46ch; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--text-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-chips {
  position: absolute; right: var(--gutter); bottom: clamp(88px, 13vh, 150px);
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.chip {
  display: flex; align-items: center; gap: 14px; min-width: 190px; min-height: 48px; padding: 0 18px;
  border-radius: 12px; border: 1px solid var(--glass-border); background: var(--glass-surface);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 14px; font-weight: 600; text-decoration: none; text-align: left;
  transition: border-color .3s, background .3s, transform .3s var(--ease-out);
}
.chip i { font-style: normal; font-family: var(--font-display); font-size: 10px; letter-spacing: .1em; color: var(--gold-300); }
.chip:hover { border-color: rgba(242, 193, 78, .5); background: rgba(255, 255, 255, .1); transform: translateX(-4px); }
.chip.is-active { border-color: var(--gold-300); background: rgba(242, 193, 78, .14); }
/* Wall view: the headline steps aside so the whole wall is visible; the chips stay to switch walls */
body.is-wall .hero-copy { opacity: 0; transform: translateY(12px); transition-delay: 0s; }
body.is-wall .hero-copy * { pointer-events: none; }

/* ---------- Sheets: glass pages over the showroom (Kontaktai, Pasiūlymas) ---------- */
.sheet { position: fixed; inset: 0; z-index: 28; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 7, .45); opacity: 0; transition: opacity .6s var(--ease-out); }
.sheet-panel {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(1100px 560px at 85% 0%, rgba(242, 193, 78, .11), transparent 60%), rgba(9, 10, 13, .82);
  backdrop-filter: blur(26px) saturate(130%); -webkit-backdrop-filter: blur(26px) saturate(130%);
  /* opens as a circle growing out of the "Kontaktai" link (--ox/--oy set in JS) */
  clip-path: circle(0px at var(--ox, 90%) var(--oy, 40px));
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1);
}
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { clip-path: circle(150vmax at var(--ox, 90%) var(--oy, 40px)); }
.sheet [data-anim] { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); }
.sheet.is-open [data-anim] { opacity: 1; transform: none; transition-delay: calc(.35s + var(--i) * 70ms); }
.sheet-rule { display: block; width: 240px; height: 4px; margin-bottom: 18px; }
.sheet-rule line { stroke: var(--gold-300); stroke-width: 2; stroke-dasharray: 240; stroke-dashoffset: 240; transition: stroke-dashoffset 1.1s var(--ease-out); }
.sheet.is-open .sheet-rule line { stroke-dashoffset: 0; transition-delay: .55s; }
.sheet-close {
  position: fixed; z-index: 2; top: 100px; right: var(--gutter); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .06); color: var(--text-primary);
  font-size: 24px; line-height: 1; opacity: 0; transform: rotate(-90deg) scale(.6);
  transition: opacity .4s, transform .6s var(--ease-out), background .2s;
}
.sheet.is-open .sheet-close { opacity: 1; transform: none; transition-delay: .5s; }
.sheet-close:hover { background: rgba(255, 255, 255, .14); }
.sheet-inner { max-width: 1180px; margin: 0 auto; padding: 128px var(--gutter) 56px; }
.sheet-head h2 { margin: 16px 0 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4vw, 56px); line-height: 1.1; }
.contacts-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-areas: "cards form" "map form";
  gap: 20px; margin-top: 36px;
}
.contact-cards { grid-area: cards; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px;
  border: 1px solid var(--glass-border); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  transition: border-color .3s;
}
.contact-card:hover { border-color: rgba(242, 193, 78, .45); }
.contact-card svg { width: 26px; height: 26px; margin-bottom: 8px; fill: none; stroke: var(--gold-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-card span { font-family: var(--font-display); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-muted); }
.contact-card a, .contact-card p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--text-primary); text-decoration: none; }
.contact-card a:hover { color: var(--gold-300); }
.contact-form {
  grid-area: form; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 18px;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .05);
}
.contact-form h3 { margin: 0 0 4px; font-size: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(0, 0, 0, .25);
  font: inherit; font-size: 15px; color: var(--text-primary); resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold-300); box-shadow: 0 0 0 3px rgba(242, 193, 78, .18); }
.contact-form textarea::placeholder { color: #5f6773; }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.contact-map { grid-area: map; position: relative; min-height: 200px; border-radius: 18px; overflow: hidden; border: 1px solid var(--glass-border); background: #0d0f13; }
.contact-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-road { fill: none; stroke: #2a2f37; stroke-width: 6; stroke-linecap: round; }
.map-road.major { stroke: #3a414b; stroke-width: 10; }
.map-river { fill: none; stroke: #1b3346; stroke-width: 16; }
.map-pin { fill: var(--gold-300); }
.map-pulse { fill: none; stroke: var(--gold-300); stroke-width: 2; transform-origin: 232px 104px; animation: map-pulse 2.2s var(--ease-out) infinite; }
@keyframes map-pulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(3); opacity: 0; } }
.map-label { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-display); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); }
.sheet-note { margin-top: 26px; font-size: 12.5px; color: var(--text-muted); }
body.sheet-open .hero-copy, body.sheet-open .hero-chips, body.sheet-open .hint { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  .contacts-grid { grid-template-columns: 1fr; grid-template-areas: "cards" "form" "map"; }
}
@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
  .sheet-inner { padding-top: 104px; }
  .sheet-close { top: 92px; width: 42px; height: 42px; }
}

/* ---------- Quote request (Gauti pasiūlymą) ---------- */
.sheet [hidden] { display: none !important; }
.quote-steps { display: flex; gap: 8px; margin: 30px 0 22px; padding: 0; list-style: none; }
.quote-steps li {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .03);
  font-size: 13px; font-weight: 600; color: var(--text-muted); transition: border-color .3s, background .3s, color .3s;
}
.quote-steps b {
  display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--glass-border); font-family: var(--font-display); font-size: 10px; font-weight: 400;
}
.quote-steps li[aria-current="step"] { color: var(--text-primary); border-color: rgba(242, 193, 78, .55); background: rgba(242, 193, 78, .08); }
.quote-steps li[aria-current="step"] b { border-color: transparent; background: var(--gold-300); color: #1a1205; }
.quote-steps li.is-done { color: var(--text-primary); cursor: pointer; }
.quote-steps li.is-done b { border-color: var(--gold-300); color: var(--gold-300); }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.quote-form { padding: 26px; border-radius: 18px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .05); }
.quote-step { display: flex; flex-direction: column; gap: 18px; min-width: 0; margin: 0; padding: 0; border: 0; animation: step-in .45s var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
.quote-step legend { margin-bottom: 4px; padding: 0; font-size: 22px; font-weight: 700; }
.q-label { margin: 0 0 8px; font-size: 13px; color: var(--text-muted); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .04);
  font-size: 14px; font-weight: 600; color: var(--text-primary); transition: border-color .2s, background .2s, color .2s;
}
.choice label:hover span { border-color: rgba(242, 193, 78, .45); }
.choice input:checked + span { border-color: var(--gold-300); background: rgba(242, 193, 78, .16); color: var(--gold-100); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-300); outline-offset: 2px; }
.choice-group:has([aria-invalid]) .choice span { border-color: #e5786d; }
.check { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; font-size: 14px; color: var(--text-primary); cursor: pointer; }
.check > span { flex: 1; }
.check input { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold-300); }
.check:has([aria-invalid]) { color: #f0928a; }
.check .err { flex-basis: 100%; padding-left: 28px; }
.quote-step > label:not(.check), .field-row > label, .quote-item label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); }
.quote-form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .quote-form select, .quote-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(0, 0, 0, .25);
  font: inherit; font-size: 15px; color: var(--text-primary); resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.quote-form select option { background: #15171b; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--gold-300); box-shadow: 0 0 0 3px rgba(242, 193, 78, .18); }
.quote-form textarea::placeholder, .quote-form input::placeholder { color: #5f6773; }
.quote-form [aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) { border-color: #e5786d; }
.quote-form .err { font-size: 12.5px; font-weight: 600; color: #f0928a; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-items { display: flex; flex-direction: column; gap: 10px; }
.quote-item {
  display: grid; grid-template-columns: minmax(0, 2.2fr) .8fr 1fr 1fr 40px; gap: 10px; align-items: start; padding: 12px;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .06); background: rgba(0, 0, 0, .18); animation: step-in .35s var(--ease-out);
}
.qi-remove {
  width: 40px; height: 46px; margin-top: 21px; border-radius: 10px; border: 1px solid var(--glass-border);
  background: transparent; font-size: 20px; color: var(--text-muted);
}
.qi-remove:hover { color: var(--text-primary); background: rgba(255, 255, 255, .08); }
.btn-add { align-self: flex-start; min-height: 40px; padding: 0 16px; font-size: 13px; }
.file input { font-size: 13px; color: var(--text-muted); }
.file input::file-selector-button {
  margin-right: 12px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, .07); font: inherit; font-weight: 600; color: var(--text-primary); cursor: pointer;
}
.quote-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-thumbs:empty { display: none; }
.quote-thumbs img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 1px solid var(--glass-border); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-nav { display: flex; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); }
.quote-nav [data-next], .quote-nav [data-submit] { margin-left: auto; }
.quote-nav [data-submit]:disabled { opacity: .6; cursor: progress; }
.quote-summary {
  position: sticky; top: 104px; padding: 22px; border-radius: 18px;
  border: 1px solid rgba(242, 193, 78, .25); background: linear-gradient(180deg, rgba(242, 193, 78, .07), rgba(255, 255, 255, .03));
}
.quote-summary h3 { margin: 0 0 14px; font-size: 16px; }
.quote-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 13.5px; }
.quote-summary dt { color: var(--text-muted); }
.quote-summary dd { margin: 0; font-weight: 600; color: var(--text-primary); }
.quote-summary dd.empty { grid-column: 1 / -1; font-weight: 400; color: var(--text-muted); }
.quote-trust { display: grid; gap: 8px; margin: 18px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: var(--text-muted); }
.quote-trust li::before { content: "✓"; margin-right: 8px; font-weight: 700; color: var(--gold-300); }
.quote-done {
  max-width: 620px; margin: 40px auto 0; padding: 40px 30px; border-radius: 20px; text-align: center;
  border: 1px solid rgba(242, 193, 78, .3); background: rgba(255, 255, 255, .05); animation: step-in .6s var(--ease-out);
}
.quote-done svg { width: 64px; height: 64px; fill: none; stroke: var(--gold-300); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.quote-done circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s .1s var(--ease-out) forwards; }
.quote-done path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .7s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.quote-done h3 { margin: 18px 0 6px; font-size: 26px; }
.quote-ref { font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; color: var(--gold-300); }
.quote-next { display: grid; gap: 10px; max-width: 440px; margin: 24px auto; padding-left: 20px; text-align: left; color: var(--text-primary); }
.quote-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 960px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-summary { position: static; }
}
@media (max-width: 640px) {
  .quote-steps span { display: none; }
  .quote-steps li { justify-content: center; }
  .quote-form { padding: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .quote-item { grid-template-columns: repeat(3, minmax(0, 1fr)) 40px; }
  .qi-type { grid-column: 1 / -1; }
}

/* ---------- "Under development" notice ---------- */
.dev-banner {
  position: fixed; z-index: 25; top: 92px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 6px 6px 6px 14px; border-radius: 999px; border: 1px solid rgba(242, 193, 78, .35);
  background: rgba(16, 17, 21, .62); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 12.5px; color: var(--text-muted); white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.is-intro .dev-banner.reveal { transform: translate(-50%, -10px); }
.dev-banner.reveal { transition-delay: .9s; }
.dev-banner strong { color: var(--gold-300); font-weight: 700; letter-spacing: .02em; }
.dev-text-short { display: none; }
.dev-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold-300); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(242, 193, 78, .6); animation: dev-pulse 2s infinite;
}
@keyframes dev-pulse { 70% { box-shadow: 0 0 0 8px rgba(242, 193, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 193, 78, 0); } }
.dev-close {
  width: 28px; height: 28px; border-radius: 50%; border: 0; flex-shrink: 0;
  background: rgba(255, 255, 255, .06); color: var(--text-muted); font-size: 16px; line-height: 1;
}
.dev-close:hover { color: var(--text-primary); background: rgba(255, 255, 255, .12); }
.dev-banner.is-hidden { display: none; }
body.is-focus .dev-banner { opacity: 0; pointer-events: none; transition-delay: 0s; }
.soon {
  display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 999px;
  border: 1px solid rgba(242, 193, 78, .4); color: var(--gold-300);
  font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.chip .soon { margin-left: auto; }

/* ---------- Floating product label ---------- */
.glass-label {
  position: fixed; z-index: 15; left: 0; top: 0; min-width: 220px; max-width: 300px; padding: 14px 16px;
  border-radius: 14px; border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 20px 50px rgba(0, 0, 0, .45);
  transform: translate(-50%, -100%); pointer-events: none; will-change: left, top;
  opacity: 0; transition: opacity .35s;
}
.glass-label.is-visible { opacity: 1; }
.glass-label.is-focus {
  pointer-events: auto; left: var(--gutter) !important; top: auto !important;
  bottom: clamp(88px, 13vh, 150px); transform: none; width: max-content; max-width: min(430px, calc(100vw - 32px)); padding: 20px 22px;
}
.glass-label.is-focus h2 { font-size: 20px; }
.hero-copy, .hero-chips { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.is-focus .hero-copy, .is-focus .hero-chips { opacity: 0; transform: translateY(12px); transition-delay: 0s; }
.is-focus .hero-copy *, .is-focus .hero-chips * { pointer-events: none; }
@media (max-width: 960px) { .glass-label.is-focus { left: 16px !important; right: 16px; max-width: none; bottom: 24px; } }
.glass-label .tag { font-family: var(--font-display); font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-300); }
.glass-label h2 { margin: 6px 0 4px; font-size: 16px; font-weight: 700; }
.glass-label p { font-size: 13px; color: var(--text-muted); }
.glass-label .label-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.glass-label.is-focus p { max-width: 36ch; }
.glass-label .btn { min-height: 40px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
.glass-label .btn .soon { margin-left: 6px; }

.back-btn {
  position: fixed; z-index: 20; left: var(--gutter); top: 100px; min-height: 44px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--glass-border); background: var(--glass-surface);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 14px; font-weight: 600;
}
.back-btn:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Hint, skip, toast ---------- */
.hint {
  position: fixed; z-index: 12; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-muted); letter-spacing: .02em;
  opacity: 0; transition: opacity .8s; pointer-events: none; white-space: nowrap;
}
.hint.is-visible { opacity: 1; }
.mouse { width: 16px; height: 24px; border: 1.5px solid var(--chrome-500); border-radius: 9px; position: relative; }
.mouse::after {
  content: ''; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; margin-left: -1px;
  border-radius: 2px; background: var(--gold-300); animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(7px); } }

.skip-intro {
  position: fixed; z-index: 70; right: var(--gutter); bottom: 28px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(255, 255, 255, .05);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
  transition: opacity .4s, color .2s;
}
.skip-intro:hover { color: var(--text-primary); }
body:not(.is-intro) .skip-intro { opacity: 0; pointer-events: none; }

.toast {
  position: fixed; z-index: 80; left: 50%; top: 96px; transform: translate(-50%, -12px);
  padding: 12px 18px; border-radius: 12px; border: 1px solid var(--glass-border);
  background: rgba(20, 22, 27, .75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }


/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 10px 9px; font-size: 13px; }
}
@media (max-width: 960px) {
  .nav { gap: 12px; }
  .menu-btn { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; left: 16px; right: 16px; top: 88px; flex-direction: column; gap: 2px; padding: 10px;
    border-radius: 18px; border: 1px solid var(--glass-border);
    background: rgba(18, 20, 24, .72); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility 0s .3s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .fx-vignette {
    background:
      radial-gradient(120% 95% at 50% 35%, transparent 50%, rgba(0, 0, 0, .7) 100%),
      linear-gradient(0deg, rgba(7, 8, 10, .92) 0%, rgba(7, 8, 10, .55) 38%, transparent 62%);
  }
  .hero-copy { left: 16px; right: 16px; bottom: 92px; }
  .hero-chips { left: 16px; right: 16px; bottom: 24px; flex-direction: row; }
  .chip { flex: 1; min-width: 0; padding: 0 12px; gap: 8px; justify-content: center; font-size: 13px; }
  .chip:hover { transform: none; }
  .hint { display: none; }
  .dev-banner { top: 90px; font-size: 12px; }
  .dev-text { display: none; }
  .dev-text-short { display: inline; }
  .chip .soon { display: none; }
  .skip-intro { bottom: auto; top: 96px; }
  .back-btn { top: 96px; left: 16px; }
}
@media (max-width: 560px) {
  .lang { height: 36px; }
  .lang button { padding: 0 7px; font-size: 11px; }
  .cta-row .btn { flex: 1 1 100%; }
  .lead { font-size: 15px; }
  .eyebrow { font-size: 9.5px; letter-spacing: .22em; }
}
@media (max-height: 700px) and (min-width: 961px) {
  .hero-copy, .hero-chips { bottom: 64px; }
  h1 { font-size: clamp(28px, 3.4vw, 48px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .loader-logo { opacity: .9; }
}
