/* ============================================================
   WOZIR AUTO & CO. — cinematic, video-first
   Built by Ummah Technologies
   ============================================================ */

/* ---------- TOKENS ---------- */
:root{
  /* Varsity Green + White rebrand (Heritage Forest). Token NAMES kept so every
     rule is untouched — only the colour VALUES flip dark→light. */
  --ink:        #F7F9F6;   /* varsity white — page base + text-on-accent */
  --ink-2:      #FFFFFF;   /* elevated white surface (marquee, footer, fields) */
  --ink-3:      #FFFFFF;   /* cards */
  --ink-4:      #EFF4EC;   /* card hover — faint green tint */
  --cream:      #101814;   /* ink — primary text */
  --cream-dim:  rgba(16,24,20,0.66);
  --cream-faint:rgba(16,24,20,0.50);
  --gold:       #2E7D46;   /* varsity green accent (Option A "Green") */
  --gold-bright:#16432F;   /* heritage forest — hover / deep */
  --line:       rgba(16,24,20,0.14);
  --line-soft:  rgba(16,24,20,0.08);

  --font-display:'Bebas Neue', Impact, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;
  --font-body:   'Manrope', system-ui, sans-serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart:cubic-bezier(0.25, 1, 0.5, 1);
  --ease-io:   cubic-bezier(0.87, 0, 0.13, 1);

  --pad: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1340px;
}

/* ---------- RESET ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:auto; scroll-padding-top:clamp(4.5rem,8vh,6rem); }
body{
  background:var(--ink);
  color:var(--cream);
  font-family:var(--font-body);
  font-size:clamp(1rem,0.95rem + 0.2vw,1.125rem);
  line-height:1.6;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,video{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; cursor:pointer; background:none; border:none; }
ul{ list-style:none; }
::selection{ background:var(--gold); color:var(--ink); }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:2px; }

/* Lenis */
html.lenis,html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-stopped{ overflow:hidden; }

.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); }

/* ---------- TYPE PRIMITIVES ---------- */
.kicker{
  font-family:var(--font-body);
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.24em;
  text-transform:uppercase;
  color:var(--gold);
  display:flex; align-items:center; gap:0.75rem;
}
/* Section eyebrow labels (the small green kicker text above each heading)
   removed site-wide per client. */
.kicker{ display:none !important; }
.kicker::before{
  content:""; width:2.2rem; height:1px; background:transparent; flex:none;
}
.kicker span{ color:var(--cream-faint); }

.section-title{
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(2.6rem, 6.4vw, 6rem);
  line-height:0.92;
  letter-spacing:0.01em;
  text-transform:uppercase;
}
.section-title em,
.story__quote em,
.visit__title em,
.hero__title em{
  font-family:var(--font-accent);
  font-style:italic;
  font-weight:500;
  text-transform:none;
  color:var(--gold);
  letter-spacing:-0.01em;
}

.section-head{ margin-bottom:clamp(2.5rem,5vw,4.5rem); max-width:40ch; }
.section-head--row{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:2rem; max-width:none; flex-wrap:wrap;
}
.section-head .kicker{ margin-bottom:1.4rem; }

/* ---------- BUTTONS ---------- */
.btn{
  --b:var(--cream);
  display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  font-weight:700; font-size:0.95rem; letter-spacing:0.02em;
  padding:1.05rem 2rem; border-radius:100px;
  transition:transform .5s var(--ease-expo), background-color .4s var(--ease-quart), color .4s var(--ease-quart), border-color .4s var(--ease-quart);
  will-change:transform;
}
.btn--gold{ background:var(--gold); color:var(--ink); }
.btn--gold:hover{ background:var(--gold-bright); }
.btn--ghost{ border:1px solid var(--line); color:var(--cream); backdrop-filter:blur(4px); }
.btn--ghost:hover{ border-color:var(--cream); background:rgba(16,24,20,0.05); }
.btn--fb{ background:#1877F2; color:#fff; display:inline-flex; align-items:center; gap:0.5rem; }
.btn--fb:hover{ background:#0f66d0; }
.btn--fb svg{ display:block; flex:0 0 auto; }
.btn--block{ width:100%; }

/* ---------- REVEAL BASE (JS-enhanced; visible without JS) ---------- */
.line{ display:block; overflow:hidden; }
.line__in{ display:block; }
html.js .reveal,
html.js .reveal-stagger{ opacity:0; }

/* ---------- PRELOADER ---------- */
.preloader{
  position:fixed; inset:0; z-index:200; background:var(--ink);
  display:grid; place-items:center;
  transition:opacity .8s var(--ease-quart), visibility .8s;
}
.preloader.is-done{ opacity:0; visibility:hidden; }
.preloader__inner{ display:flex; flex-direction:column; align-items:center; gap:1.6rem; }
.preloader__logo{ width:210px; opacity:0.96; animation:floaty 3s ease-in-out infinite; }
.preloader__bar{ width:160px; height:2px; background:var(--line); overflow:hidden; border-radius:2px; }
.preloader__fill{ display:block; height:100%; width:0%; background:var(--gold); transition:width .3s linear; }
@keyframes floaty{ 0%,100%{ transform:translateY(-3px) } 50%{ transform:translateY(3px) } }

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:1.4rem 0;
  transition:padding .5s var(--ease-expo), background-color .5s var(--ease-quart), border-color .5s;
  border-bottom:1px solid transparent;
}
.nav--scrolled{
  padding:0.75rem 0;
  /* Solid-ish bar by default — legible without a blur. On touch/mobile the
     full-width backdrop-filter re-blurs the scrolling hero/ambient video every
     frame (the single worst iOS scroll-jank source), so we DON'T blur there. */
  background:rgba(247,249,246,0.92);
  border-bottom:1px solid var(--line-soft);
}
/* Frosted glass only where it's cheap + appreciated: desktop, fine pointer. */
@media (min-width:900px) and (pointer:fine){
  .nav--scrolled{
    background:rgba(247,249,246,0.72);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
  }
}
.nav__inner{
  max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad);
  display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
}
.nav__logo{ height:66px; width:auto; transition:height .5s var(--ease-expo); }
.nav--scrolled .nav__logo{ height:50px; }
.nav__links{ display:flex; gap:2.2rem; margin-left:auto; margin-right:2rem; }
.nav__links a{
  font-size:0.92rem; font-weight:700; color:var(--cream);
  position:relative; padding:0.3rem 0; transition:color .35s var(--ease-quart);
}
.nav__links a::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:1px;
  background:var(--gold); transform:scaleX(0); transform-origin:right;
  transition:transform .45s var(--ease-expo);
}
.nav__links a:hover{ color:var(--cream); }
.nav__links a:hover::after{ transform:scaleX(1); transform-origin:left; }
.nav__cta{
  display:inline-flex; align-items:center; gap:0.6rem;
  font-weight:700; font-size:0.92rem; letter-spacing:0.01em;
  padding:0.6rem 1.2rem; border:1px solid var(--line); border-radius:100px;
  transition:border-color .4s, background-color .4s, color .4s;
}
.nav__cta:hover{ border-color:var(--gold); color:var(--gold); }
.nav__cta-dot{ width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 0 rgba(46,125,70,.6); animation:pulse 2.4s infinite; }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(46,125,70,.55) } 70%{ box-shadow:0 0 0 8px rgba(46,125,70,0) } 100%{ box-shadow:0 0 0 0 rgba(46,125,70,0) } }
.nav__burger{ display:none; flex-direction:column; gap:5px; width:30px; height:24px; justify-content:center; }
.nav__burger span{ display:block; height:2px; width:100%; background:var(--cream); transition:transform .4s var(--ease-expo), opacity .3s; }
.nav.is-open .nav__burger span:nth-child(1){ transform:translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2){ transform:translateY(-3.5px) rotate(-45deg); }

/* ---------- MOBILE MENU ---------- */
.mobile-menu{
  position:fixed; inset:0; z-index:90; background:var(--ink);
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  gap:2rem; padding:var(--pad);
  clip-path:inset(0 0 100% 0); transition:clip-path .7s var(--ease-io);
}
.mobile-menu.is-open{ clip-path:inset(0 0 0% 0); }
.mobile-menu__links{ display:flex; flex-direction:column; gap:0.4rem; }
.mobile-menu__links a{ font-family:var(--font-display); font-size:clamp(2.6rem,12vw,4rem); line-height:1; text-transform:uppercase; color:var(--cream); }
.mobile-menu__links a:active{ color:var(--gold); }
.mobile-menu__cta{ font-weight:700; color:var(--gold); font-size:1.2rem; }
.mobile-menu__meta{ color:var(--cream-faint); font-size:0.9rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; min-height:100svh; display:flex; flex-direction:column; justify-content:flex-end; overflow:hidden; padding-top:clamp(5rem,11vh,7.5rem); }
.hero__media{ position:absolute; inset:0; z-index:0; }
.hero__video{ width:100%; height:100%; object-fit:cover; will-change:transform; }
.hero__scrim{
  position:absolute; inset:0;
  /* Gentle darken at the very top so the nav sits in its own band and stays
     legible, transparent through the middle, then darken the lower half so the
     headline reads cleanly over the video. */
  background:
    linear-gradient(to bottom, rgba(9,13,11,0.28) 0%, rgba(9,13,11,0) 12%),
    linear-gradient(to bottom, rgba(9,13,11,0) 2%, rgba(9,13,11,0.5) 42%, rgba(9,13,11,0.66) 62%, rgba(9,13,11,0.88) 100%);
}
.hero__grain{
  position:absolute; inset:0; opacity:0.05; mix-blend-mode:overlay; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content{ position:relative; z-index:2; width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); padding-bottom:clamp(2rem,5vh,4rem); }
.hero__kicker{ margin-bottom:1.6rem; }
.hero__title{
  font-family:var(--font-display); font-weight:400; text-transform:uppercase;
  /* Bold but not overwhelming — height-aware so it stays balanced and leaves
     clear breathing room below the header on every window size. */
  font-size:clamp(2.3rem, min(6.6vw, 9.2vh), 6.2rem); line-height:0.9; letter-spacing:0.005em;
  margin-bottom:1.8rem; max-width:14ch;
}
.hero__title em{ font-size:0.78em; }
/* "perfect" is a smaller italic line — pull it up snug under "Find Your" so the
   spacing reads tight and intentional instead of floaty. */
.hero__title .line:nth-child(2){ margin-top:-0.28em; margin-bottom:-0.06em; }
.hero__sub{ max-width:46ch; color:var(--cream-dim); font-size:clamp(1.02rem,1.4vw,1.28rem); margin-bottom:2.2rem; }
.hero__actions{ display:flex; gap:1rem; flex-wrap:wrap; }
.hero__foot{
  position:relative; z-index:2; width:100%; max-width:var(--maxw); margin-inline:auto;
  padding:1.6rem var(--pad) 1.8rem;
  display:flex; justify-content:space-between; align-items:flex-end; gap:1rem;
  border-top:1px solid var(--line-soft); margin-top:clamp(1.6rem,4vh,3rem);
}
.hero__phone{ display:flex; flex-direction:column; }
.hero__phone-num{ font-family:var(--font-display); font-size:1.7rem; line-height:1; letter-spacing:0.03em; }
.hero__phone-meta{ font-size:0.78rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--cream-faint); margin-top:0.35rem; }
.hero__scroll{ display:flex; flex-direction:column; align-items:center; gap:0.7rem; font-size:0.7rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--cream-faint); }
.hero__scroll-line{ width:1px; height:46px; background:linear-gradient(var(--gold),transparent); position:relative; overflow:hidden; }
.hero__scroll-line::after{ content:""; position:absolute; top:-50%; left:0; width:100%; height:50%; background:var(--gold); animation:scrolldn 2s var(--ease-io) infinite; }
@keyframes scrolldn{ 0%{ transform:translateY(0) } 100%{ transform:translateY(300%) } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee{ overflow:hidden; border-block:1px solid var(--line-soft); padding:1.1rem 0; background:var(--ink-2); }
.marquee__track{ display:flex; align-items:center; gap:2.2rem; width:max-content; animation:marq 32s linear infinite; }
.marquee__track span{ font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.6rem); letter-spacing:0.04em; text-transform:uppercase; color:var(--cream); white-space:nowrap; }
.marquee__track i{ color:var(--gold); font-style:normal; font-size:1rem; }
@keyframes marq{ to{ transform:translateX(-50%) } }

/* ============================================================
   THE DIFFERENCE
   ============================================================ */
.difference{ position:relative; padding-block:clamp(5rem,11vw,9rem); overflow:hidden; }
.difference__bg{ position:absolute; inset:0; z-index:0; }
.difference__bg .ambient-video{ width:100%; height:100%; object-fit:cover; opacity:0.92; }
.difference__veil{ position:absolute; inset:0; background:linear-gradient(rgba(9,13,11,0.34), rgba(9,13,11,0.52)); }
.difference .container{ position:relative; z-index:2; }
.difference .section-title{ max-width:18ch; }

.pillars{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(1.5rem,3vw,3rem); }
.pillar{ padding-top:1.6rem; border-top:1px solid var(--line); }
.pillar__num{ font-family:var(--font-display); font-size:1.3rem; color:var(--gold); letter-spacing:0.08em; display:block; margin-bottom:1.4rem; }
.pillar__title{ font-family:var(--font-display); font-weight:400; font-size:clamp(1.6rem,2.4vw,2.1rem); text-transform:uppercase; line-height:1; letter-spacing:0.02em; margin-bottom:0.9rem; }
.pillar__copy{ color:var(--cream-dim); font-size:0.98rem; line-height:1.6; }

/* ============================================================
   INVENTORY
   ============================================================ */
.inventory{ padding-block:clamp(5rem,11vw,9rem); background:var(--ink); }
.inventory__note{ max-width:34ch; color:var(--cream-dim); }
.cars{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.2rem,2.2vw,2rem); }
.car{
  background:var(--ink-3); border:1px solid var(--line-soft); border-radius:18px; overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .6s var(--ease-expo), border-color .5s, background-color .5s;
  will-change:transform;
}
.car:hover{ transform:translateY(-8px); border-color:var(--line); background:var(--ink-4); }
.car__media{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--ink-2); }
.car__media img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease-expo); }
.car:hover .car__media img{ transform:scale(1.07); }
.car__badge{
  position:absolute; top:1rem; left:1rem; z-index:2;
  font-size:0.66rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--ink); background:var(--gold); padding:0.45rem 0.8rem; border-radius:100px;
}
.car__body{ padding:1.6rem 1.6rem 1.8rem; display:flex; flex-direction:column; flex:1; }
.car__head{ display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; margin-bottom:1.3rem; }
.car__title{ font-family:var(--font-display); font-weight:400; font-size:clamp(1.7rem,2.5vw,2.2rem); text-transform:uppercase; line-height:0.95; letter-spacing:0.01em; }
.car__price{ font-family:var(--font-display); font-size:clamp(1.7rem,2.5vw,2.2rem); color:var(--gold); line-height:0.95; white-space:nowrap; display:flex; flex-direction:column; align-items:flex-end; }
.car__price span{ font-family:var(--font-body); font-size:0.62rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--cream-faint); }
.car__specs{ display:flex; flex-direction:column; gap:0.65rem; margin-bottom:1.7rem; border-top:1px solid var(--line-soft); padding-top:1.2rem; }
.car__specs li{ display:flex; justify-content:space-between; font-size:0.92rem; color:var(--cream); }
.car__specs li span{ color:var(--cream-faint); }
.car__cta{ margin-top:auto; display:inline-flex; align-items:center; gap:0.5rem; font-weight:700; font-size:0.92rem; color:var(--cream); transition:gap .4s var(--ease-expo), color .4s; }
.car__cta i{ color:var(--gold); transition:transform .4s var(--ease-expo); }
.car:hover .car__cta{ color:var(--gold); }
.car:hover .car__cta i{ transform:translateX(5px); }

.car--teaser{ background:transparent; border:1px dashed var(--line); }
.car--teaser:hover{ background:rgba(16,24,20,0.04); transform:translateY(-8px); }
.car__teaser-inner{ padding:2rem 1.8rem; display:flex; flex-direction:column; gap:1rem; height:100%; justify-content:center; }
.car__teaser-title{ font-family:var(--font-display); font-weight:400; font-size:clamp(1.9rem,3vw,2.6rem); text-transform:uppercase; line-height:0.95; }
.car__teaser-copy{ color:var(--cream-dim); font-size:0.96rem; }
.car--teaser .car__cta{ margin-top:0.4rem; }

/* ============================================================
   OUR STORY
   ============================================================ */
.story{ position:relative; padding-block:clamp(6rem,14vw,11rem); overflow:hidden; }
.story__bg{ position:absolute; inset:0; z-index:0; }
.story__bg .ambient-video{ width:100%; height:100%; object-fit:cover; opacity:0.92; }
.story__veil{ position:absolute; inset:0; background:linear-gradient(rgba(9,13,11,0.34), rgba(9,13,11,0.52)); }
.story__content{ position:relative; z-index:2; max-width:54ch; }
.story__content .kicker{ margin-bottom:1.8rem; }
.story__quote{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; font-size:clamp(3rem,9vw,7.5rem); line-height:0.88; letter-spacing:0.01em; margin-bottom:2rem; }
.story__quote span{ display:block; }
.story__copy{ color:var(--cream-dim); font-size:clamp(1.05rem,1.4vw,1.25rem); max-width:50ch; margin-bottom:3rem; }
.story__stats{ display:grid; grid-template-columns:repeat(4,auto); gap:clamp(1.5rem,4vw,3.5rem); }
.stat{ display:flex; flex-direction:column; gap:0.3rem; }
.stat__num{ font-family:var(--font-display); font-size:clamp(2.2rem,4vw,3.2rem); color:var(--gold); line-height:1; }
.stat__label{ font-size:0.74rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--cream-faint); }

/* ============================================================
   VISIT / CONTACT
   ============================================================ */
.visit{ position:relative; padding-block:clamp(5rem,11vw,9rem); overflow:hidden; }
.visit__bg{ position:absolute; inset:0; z-index:0; }
.visit__bg .ambient-video{ width:100%; height:100%; object-fit:cover; opacity:0.9; }
.visit__veil{ position:absolute; inset:0; background:linear-gradient(rgba(9,13,11,0.36), rgba(9,13,11,0.56)); }
.visit__grid{ position:relative; z-index:2; display:grid; grid-template-columns:1.1fr 0.9fr; gap:clamp(2.5rem,5vw,5rem); align-items:start; }
.visit__title{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; font-size:clamp(2.8rem,6vw,5.5rem); line-height:0.9; margin:1.4rem 0 1.4rem; }
.visit__copy{ color:var(--cream-dim); max-width:42ch; margin-bottom:2.6rem; }
.visit__details{ display:flex; flex-direction:column; }
.visit__details li{ display:flex; flex-direction:column; gap:0.25rem; padding:1.1rem 0; border-top:1px solid var(--line-soft); }
.visit__details li:last-child{ border-bottom:1px solid var(--line-soft); }
.visit__label{ font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); }
.visit__details a,.visit__details span:not(.visit__label){ font-size:1.08rem; color:var(--cream); transition:color .35s; }
.visit__details a:hover{ color:var(--gold); }

.visit__form{ background:var(--ink-3); border:1px solid var(--line-soft); border-radius:20px; padding:clamp(1.6rem,3vw,2.4rem); display:flex; flex-direction:column; gap:1.1rem; }
.field{ display:flex; flex-direction:column; gap:0.5rem; }
.field label{ font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--cream-dim); font-weight:600; }
.field label span{ color:var(--cream-faint); text-transform:none; letter-spacing:0; }
.field input,.field select,.field textarea{
  font:inherit; font-size:1rem; color:var(--cream);
  background:var(--ink); border:1px solid var(--line); border-radius:10px;
  padding:0.85rem 1rem; width:100%; transition:border-color .35s, background-color .35s;
}
.field textarea{ resize:vertical; min-height:84px; }
.field input::placeholder,.field textarea::placeholder{ color:var(--cream-faint); }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--gold); background:var(--ink-2); }
.field select{ appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%232E7D46' stroke-width='1.6'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.5rem; }
.visit__formnote{ font-size:0.92rem; min-height:1.2em; color:var(--gold); font-weight:600; }
.visit__formnote.is-error{ color:#B23B2E; }

/* ============================================================
   FOOTER
   ============================================================ */
/* Footer shares the page background so the last section bleeds straight into it. */
.footer{ background:var(--ink); border-top:none; padding-top:clamp(3.5rem,7vw,6rem); }
.footer__inner{ display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:2.5rem; padding-bottom:3.5rem; }
.footer__brand p{ color:var(--cream-dim); max-width:34ch; margin-top:1.3rem; font-size:0.96rem; }
.footer__logo{ height:62px; width:auto; }
.footer__col{ display:flex; flex-direction:column; gap:0.85rem; }
.footer__h{ font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold); margin-bottom:0.5rem; }
.footer__col a{ color:var(--cream-dim); font-size:0.98rem; transition:color .35s; }
.footer__col a:hover{ color:var(--cream); }
.footer__legal{ display:flex; gap:1.4rem; flex-wrap:wrap; }
.footer__legal a{ color:var(--cream-faint); transition:color .35s; }
.footer__legal a:hover{ color:var(--gold); }
.footer__bar{
  max-width:var(--maxw); margin-inline:auto; padding:1.6rem var(--pad);
  border-top:1px solid var(--line-soft);
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  font-size:0.84rem; color:var(--cream-faint);
}
.footer__credit a{ color:var(--gold); font-weight:600; }

/* ---------- TEXT LEGIBILITY OVER BRIGHTER VIDEO ---------- */
/* No glow/halo behind text — dark copy sits on the cream veils, the hero gets a
   subtle dark shadow (set in the hero block below). */
.hero__title,.story__quote,
.difference .section-title,.visit__title,
.difference .kicker,.story__content .kicker,.visit .kicker,.inventory .kicker,
.story__copy,.difference .pillar__copy,.story__stats .stat{ text-shadow:none; }

/* ---------- INVENTORY video backdrop ---------- */
.inventory{ position:relative; overflow:hidden; }
.inventory__bg{ position:absolute; inset:0; z-index:0; }
.inventory__bg .ambient-video{ width:100%; height:100%; object-fit:cover; opacity:0.85; }
.inventory__veil{ position:absolute; inset:0; background:linear-gradient(rgba(9,13,11,0.42), rgba(9,13,11,0.6)); }
.inventory .container{ position:relative; z-index:2; }

/* ---------- INVENTORY carousel (dream cards) ---------- */
.invcarousel{ position:relative; }
.invtrack{ display:flex; gap:1.2rem; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x proximity; padding:0.4rem 0.2rem 1.4rem; scrollbar-width:none; -ms-overflow-style:none; }
.invtrack::-webkit-scrollbar{ display:none; }
.invtrack.is-grab{ cursor:grab; }
.invtrack.is-grabbing{ cursor:grabbing; }
.invcard{ position:relative; flex:0 0 auto; width:clamp(248px,24vw,300px); aspect-ratio:3/4; border-radius:16px; overflow:hidden; scroll-snap-align:start; border:1px solid var(--line-soft); background:var(--ink-2); transition:transform .6s var(--ease-expo), border-color .5s; }
.invcard:hover{ transform:translateY(-8px); border-color:var(--line); }
.invcard img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease-expo); pointer-events:none; }
.invcard:hover img{ transform:scale(1.08); }
.invcard__scrim{ position:absolute; inset:0; pointer-events:none; background:linear-gradient(to top, rgba(247,249,246,0.95) 8%, rgba(247,249,246,0.25) 48%, transparent 72%); }
.invcard__badge{ position:absolute; top:0.85rem; left:0.85rem; font-size:0.58rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--ink); background:var(--gold); padding:0.35rem 0.7rem; border-radius:100px; }
.invcard__info{ position:absolute; left:0; right:0; bottom:0; padding:1.3rem; }
.invcard__price{ font-family:var(--font-display); font-size:2rem; line-height:1; color:var(--gold); display:flex; align-items:baseline; gap:0.45rem; }
.invcard__price span{ font-family:var(--font-body); font-size:0.58rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--cream-faint); }
.invcard__title{ font-family:var(--font-display); font-weight:400; font-size:1.55rem; text-transform:uppercase; line-height:1; letter-spacing:0.02em; margin:0.35rem 0 0.55rem; }
.invcard__specs{ font-size:0.84rem; color:var(--cream-dim); margin-bottom:0.85rem; }
.invcard__cta{ display:inline-flex; align-items:center; gap:0.45rem; font-weight:700; font-size:0.85rem; color:var(--gold); opacity:0; transform:translateY(8px); transition:opacity .45s, transform .45s var(--ease-expo); }
.invcard__cta i{ transition:transform .4s var(--ease-expo); }
.invcard:hover .invcard__cta{ opacity:1; transform:translateY(0); }
.invcard:hover .invcard__cta i{ transform:translateX(4px); }
.invtrack.is-looping{ scroll-snap-type:none; }
.invcarousel__foot{ position:relative; display:flex; justify-content:center; align-items:center; gap:1rem; margin-top:0.6rem; min-height:48px; }
.invcarousel__hint{ position:absolute; left:0.2rem; top:50%; transform:translateY(-50%); font-size:0.72rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--cream-faint); pointer-events:none; }
.invcarousel__arrows{ display:flex; gap:0.75rem; }
.invarrow{ width:48px; height:48px; border-radius:50%; border:1px solid var(--line); color:var(--cream); background:var(--ink-2); font-size:1.55rem; line-height:1; display:grid; place-items:center; transition:transform .3s var(--ease-expo), border-color .3s, color .3s, background-color .3s; }
.invarrow:hover{ border-color:var(--gold); color:#fff; background:var(--gold); transform:translateY(-2px); }
.invarrow:active{ transform:translateY(0) scale(0.94); }
@media (max-width:899px){
  .invcard{ width:clamp(220px,72vw,280px); }
  .invcard__cta{ opacity:1; transform:none; }
}
@media (max-width:560px){
  .invcarousel__hint{ display:none; }
}

/* ---------- SHOWCASE full-bleed video band ---------- */
.showcase{ position:relative; min-height:80vh; display:flex; align-items:center; overflow:hidden; }
.showcase__bg{ position:absolute; inset:0; z-index:0; }
.showcase__bg .ambient-video{ width:100%; height:100%; object-fit:cover; opacity:0.92; will-change:transform; }
.showcase__veil{ position:absolute; inset:0; background:
  linear-gradient(100deg, rgba(247,249,246,0.84) 0%, rgba(247,249,246,0.40) 48%, rgba(247,249,246,0.18) 100%),
  linear-gradient(to top, rgba(247,249,246,0.55), transparent 32%); }
.showcase .container{ position:relative; z-index:2; }
.showcase__kicker{ margin-bottom:1.5rem; }
.showcase__title{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; font-size:clamp(2.8rem,7.5vw,7rem); line-height:0.88; letter-spacing:0.01em; max-width:15ch; text-shadow:0 2px 44px rgba(247,249,246,0.6); }
.showcase__title em{ font-family:var(--font-accent); font-style:italic; font-weight:500; text-transform:none; color:var(--gold); letter-spacing:-0.01em; }
.showcase__sub{ margin-top:1.5rem; max-width:46ch; color:var(--cream); font-size:clamp(1.05rem,1.4vw,1.3rem); text-shadow:0 2px 22px rgba(247,249,246,0.6); }
.showcase__actions{ margin-top:2rem; display:flex; gap:1rem; flex-wrap:wrap; }

/* ============================================================
   FULL-PAGE SNAP — each section comes up and locks (desktop)
   ============================================================ */
.panel{ position:relative; }
@media (min-width:900px) and (min-height:680px){
  /* Full-height cinematic sections with NORMAL scrolling. The previous
     scroll-snap (mandatory + scroll-snap-stop:always) cut off the bottom of
     every section taller than the viewport and made scrolling jump/stick. */
  .panel{ min-height:100svh; display:flex; flex-direction:column; }
  /* Auto-margin centring: centres short sections in the viewport, but lets tall
     ones (story / visit) top-align and grow so their headings never hide behind
     the fixed header. */
  .panel > .container{ width:100%; margin-block:auto; }
  /* Reserve space for the fixed header on every section except the hero, so a
     section's top content is never tucked under the sticky nav. */
  .panel:not(.hero){ padding-top:clamp(5.5rem,9vh,7rem); scroll-margin-top:clamp(4.5rem,8vh,6rem); }
  /* Balanced hero: content vertically centred with clear space below the
     header, footer pinned to the bottom so the whole frame reads intentionally. */
  .hero{ justify-content:center; padding-bottom:clamp(6rem,12vh,8.5rem); }
  .hero__foot{ position:absolute; left:0; right:0; bottom:0; margin-top:0; }
  .inventory, .difference, .showcase, .story, .visit{ padding-block:clamp(5rem,8vh,7rem); }
  .inventory .section-head{ margin-bottom:2rem; }
  .car__media{ aspect-ratio:16/10; }
}

/* ============================================================
   DIFFERENCE — relationship statement + spinning 3D car
   ============================================================ */
.difference__grid{ display:grid; grid-template-columns:1.02fr 0.98fr; gap:clamp(2rem,4vw,4.5rem); align-items:center; width:100%; }
.difference__text .kicker{ margin-bottom:1.4rem; }
.difference .section-title{ font-size:clamp(2.1rem,3.6vw,3.6rem); line-height:0.98; max-width:18ch; }
.difference .pillars{ grid-template-columns:repeat(2,1fr); gap:1.4rem 2rem; margin-top:2.2rem; }
.difference .pillar{ padding-top:1rem; border-top:1px solid var(--line); }
.difference .pillar__num{ margin-bottom:0.8rem; }
.difference .pillar__title{ font-size:clamp(1.3rem,1.9vw,1.7rem); margin-bottom:0.5rem; }
.difference .pillar__copy{ font-size:0.9rem; line-height:1.5; }

.difference__window{ position:relative; width:100%; align-self:stretch; min-height:min(62vh,540px); border-radius:18px; overflow:hidden; border:1px solid var(--line); box-shadow:0 40px 90px -42px rgba(16,24,20,0.18); }
.difference__window video{ width:100%; height:100%; object-fit:cover; }
.difference__windowscrim{ position:absolute; inset:0; pointer-events:none; background:linear-gradient(to top, rgba(247,249,246,0.72), transparent 48%), linear-gradient(110deg, rgba(247,249,246,0.28), transparent 42%); }
.difference__windowlabel{ position:absolute; left:1.1rem; bottom:1rem; display:flex; align-items:center; gap:0.6rem; font-size:0.72rem; letter-spacing:0.2em; text-transform:uppercase; font-weight:700; color:var(--cream); }
.difference__windowlabel i{ width:7px; height:7px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 0 rgba(46,125,70,.6); animation:pulse 2.4s infinite; }

@media (max-width:899px){
  .difference__grid{ grid-template-columns:1fr; gap:1.5rem; }
  .difference__window{ min-height:300px; }
}

/* ---------- STATIC CAPTURE MODE (?static=1) ---------- */
html.is-static{ scroll-snap-type:none !important; }
html.is-static #preloader{ display:none !important; }
html.is-static .panel{ min-height:auto !important; scroll-snap-align:none !important; display:block !important; }
html.is-static .hero{ min-height:760px !important; display:flex !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px){
  .pillars{ grid-template-columns:repeat(2,1fr); row-gap:2.5rem; }
  .cars{ grid-template-columns:repeat(2,1fr); }
  .car--teaser{ grid-column:1 / -1; }
  .visit__grid{ grid-template-columns:1fr; }
  .story__stats{ grid-template-columns:repeat(2,auto); justify-content:start; gap:2rem 3rem; }
}
@media (max-width:768px){
  .nav__links{ display:none; }
  .nav__cta{ display:none; }
  .nav__burger{ display:flex; }
  .nav.is-open .nav__cta{ display:none; }
  .footer__inner{ grid-template-columns:1fr; gap:2.2rem; }
  .hero__foot{ flex-direction:column; align-items:flex-start; gap:1.4rem; }
  .hero__scroll{ display:none; }
  .section-head--row{ align-items:flex-start; }
}
@media (max-width:560px){
  .cars{ grid-template-columns:1fr; }
  .car--teaser{ grid-column:auto; }
  .story__stats{ grid-template-columns:repeat(2,1fr); }
  .footer__bar{ flex-direction:column; }
  .btn{ width:100%; }
  .hero__actions{ width:100%; }
}

/* ============================================================
   HERO — white headline over the darkened video (no box behind text)
   ============================================================ */
.hero__title{ color:#FFFFFF; text-shadow:0 2px 26px rgba(8,12,10,0.5); }
.hero__title em{ color:#43B871; }                 /* "perfect" — vivid green on dark */
.hero__sub{ color:rgba(255,255,255,0.88); }
.hero .kicker{ color:#43B871; }
.hero .kicker::before{ background:transparent; }
.hero .kicker span{ color:rgba(255,255,255,0.60); }
.hero__phone-num{ color:#FFFFFF; }
.hero__phone-meta,.hero__scroll{ color:rgba(255,255,255,0.66); }
.hero__scroll-line{ background:linear-gradient(rgba(255,255,255,0.85),transparent); }
.hero__scroll-line::after{ background:#FFFFFF; }
.hero__foot{ border-top-color:rgba(255,255,255,0.16); }
.hero .btn--ghost{ border-color:rgba(255,255,255,0.38); color:#FFFFFF; }
.hero .btn--ghost:hover{ border-color:#FFFFFF; background:rgba(255,255,255,0.10); }

/* ============================================================
   DEALERSHIP LISTING GRID + DETAIL MODAL
   ============================================================ */
/* Dealership cards live in the horizontal carousel (.invtrack). */
.invtrack .vcard{ flex:0 0 auto; width:clamp(278px,80vw,330px); scroll-snap-align:start; }

.vcard{
  background:var(--ink-2); border:1px solid var(--line); border-radius:16px; overflow:hidden;
  cursor:pointer; display:flex; flex-direction:column;
  transition:transform .4s var(--ease-expo), box-shadow .4s, border-color .4s;
}
.vcard:hover{ transform:translateY(-6px); border-color:var(--gold); box-shadow:0 26px 54px -30px rgba(16,24,20,0.40); }
.vcard:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
.vcard__media{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--ink); }
.vcard__media img{ width:100%; height:100%; object-fit:cover; transition:transform 1s var(--ease-expo); }
.vcard:hover .vcard__media img{ transform:scale(1.05); }
.vcard__badge{ position:absolute; top:0.8rem; left:0.8rem; font-size:0.6rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:#fff; background:var(--gold); padding:0.34rem 0.7rem; border-radius:100px; }
.vcard__photos{ position:absolute; bottom:0.8rem; right:0.8rem; font-size:0.68rem; font-weight:600; color:#fff; background:rgba(16,24,20,0.6); padding:0.26rem 0.6rem; border-radius:100px; backdrop-filter:blur(4px); }
.vcard__fb{ position:absolute; top:0.7rem; right:0.7rem; z-index:2; display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:100px; color:#fff; background:#1877F2; box-shadow:0 6px 18px -7px rgba(24,119,242,0.75); transition:transform .3s var(--ease-expo), background .3s; }
.vcard__fb:hover{ background:#0f66d0; transform:scale(1.09); }
.vcard__fb svg{ display:block; }
.vcard__body{ padding:1.15rem 1.3rem 1.35rem; display:flex; flex-direction:column; gap:0.55rem; flex:1; }
.vcard__title{ font-family:var(--font-display); font-weight:400; font-size:clamp(1.45rem,1.9vw,1.85rem); text-transform:uppercase; line-height:1; letter-spacing:0.01em; color:var(--cream); }
.vcard__price{ font-family:var(--font-display); font-size:clamp(1.9rem,2.6vw,2.4rem); color:var(--gold); line-height:1; display:flex; align-items:baseline; gap:0.4rem; }
.vcard__price span{ font-family:var(--font-body); font-size:0.58rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--cream-faint); }
.vcard__specs{ display:flex; flex-wrap:wrap; gap:0.4rem; margin-top:0.15rem; }
.vcard__specs span{ font-size:0.76rem; font-weight:600; color:var(--cream-dim); background:var(--ink); border:1px solid var(--line-soft); padding:0.3rem 0.6rem; border-radius:8px; }
.vcard__cta{ margin-top:auto; padding-top:0.55rem; display:inline-flex; align-items:center; gap:0.4rem; font-weight:700; font-size:0.86rem; color:var(--gold); }
.vcard__cta i{ font-style:normal; transition:transform .3s var(--ease-expo); }
.vcard:hover .vcard__cta i{ transform:translateX(4px); }

.vmodal{ position:fixed; inset:0; z-index:300; display:flex; align-items:center; justify-content:center; padding:clamp(0.6rem,3vw,2rem); }
.vmodal[hidden]{ display:none; }
.vmodal__backdrop{ position:absolute; inset:0; background:rgba(16,24,20,0.64); backdrop-filter:blur(3px); animation:vfade .25s ease; }
.vmodal__panel{ position:relative; z-index:1; width:100%; max-width:1040px; max-height:92vh; overflow:auto; background:var(--ink-2); border-radius:18px; box-shadow:0 40px 100px -30px rgba(16,24,20,0.5); animation:vpop .3s var(--ease-expo); }
@keyframes vfade{ from{opacity:0} to{opacity:1} }
@keyframes vpop{ from{opacity:0; transform:translateY(16px) scale(.985)} to{opacity:1; transform:none} }
.vmodal__close{ position:absolute; top:0.8rem; right:0.8rem; z-index:3; width:40px; height:40px; border-radius:50%; background:rgba(16,24,20,0.55); color:#fff; font-size:1.5rem; line-height:1; display:grid; place-items:center; transition:background .3s; }
.vmodal__close:hover{ background:var(--gold); }
.vmodal__grid{ display:grid; grid-template-columns:1.12fr 0.88fr; }
.vmodal__grid > *{ min-width:0; }   /* let columns shrink; prevents the gallery image blowing out the panel width */
@media (max-width:820px){ .vmodal__grid{ grid-template-columns:1fr; } }
.vmodal__gallery{ background:var(--ink); padding:1rem; display:flex; flex-direction:column; gap:0.7rem; }
.vmodal__stage{ position:relative; aspect-ratio:4/3; border-radius:12px; overflow:hidden; background:var(--ink-4); }
.vmodal__main{ width:100%; height:100%; object-fit:cover; }

/* ---------- Wozir logo watermark on every car photo (on-site branding) ----------
   Non-destructive CSS overlay (the stored photos are untouched). White wordmark,
   bottom-left so it never collides with the badge / photo-count / Facebook chips. */
.vcard__media::after,
.vmodal__stage::after{
  content:""; position:absolute; z-index:3; pointer-events:none;
  left:0.75rem; bottom:0.7rem; width:74px; height:37px;
  background:url("../assets/images/wozir-watermark.png") no-repeat left bottom / contain;
  opacity:0.8; filter:drop-shadow(0 1px 5px rgba(0,0,0,0.7));
}
.vmodal__stage::after{ left:1rem; bottom:1rem; width:116px; height:58px; opacity:0.88; }
.vmodal__thumbs{ display:flex; gap:0.5rem; overflow-x:auto; padding-bottom:0.3rem; }
.vmodal__thumb{ flex:0 0 auto; width:76px; height:56px; border-radius:8px; overflow:hidden; border:2px solid transparent; padding:0; cursor:pointer; background:none; }
.vmodal__thumb img{ width:100%; height:100%; object-fit:cover; }
.vmodal__thumb.is-active{ border-color:var(--gold); }
.vmodal__info{ padding:clamp(1.4rem,3vw,2.2rem); display:flex; flex-direction:column; gap:0.7rem; }
.vmodal__badge{ align-self:flex-start; font-size:0.62rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:#fff; background:var(--gold); padding:0.32rem 0.7rem; border-radius:100px; }
.vmodal__title{ font-family:var(--font-display); font-weight:400; font-size:clamp(2rem,3.4vw,2.8rem); text-transform:uppercase; line-height:0.98; color:var(--cream); }
.vmodal__price{ font-family:var(--font-display); font-size:clamp(2.2rem,4vw,3rem); color:var(--gold); line-height:1; display:flex; align-items:baseline; gap:0.5rem; }
.vmodal__price span{ font-family:var(--font-body); font-size:0.6rem; font-weight:700; letter-spacing:0.16em; text-transform:uppercase; color:var(--cream-faint); }
.vmodal__specs{ display:grid; grid-template-columns:1fr 1fr; gap:0 1.4rem; margin:0.4rem 0; }
@media (max-width:520px){ .vmodal__specs{ grid-template-columns:1fr; } }
.vmodal__specs > div{ display:flex; justify-content:space-between; gap:0.6rem; padding:0.55rem 0; border-bottom:1px solid var(--line-soft); }
.vmodal__specs dt{ font-size:0.74rem; color:var(--cream-faint); text-transform:uppercase; letter-spacing:0.05em; }
.vmodal__specs dd{ font-size:0.88rem; font-weight:600; color:var(--cream); text-align:right; word-break:break-word; }
.vmodal__desc{ font-size:0.94rem; line-height:1.6; color:var(--cream-dim); white-space:pre-line; max-height:190px; overflow:auto; }
.vmodal__desc:empty{ display:none; }
.vmodal__actions{ display:flex; gap:0.8rem; flex-wrap:wrap; margin-top:0.4rem; }
.vmodal__actions .btn{ flex:1; min-width:150px; }

/* ============================================================
   SECTION WINDOWS + REDESIGN (clean video, content in windows)
   ============================================================ */
.win{
  position:relative; z-index:2;
  background:var(--ink-2); border:1px solid var(--line); border-radius:20px;
  box-shadow:0 44px 100px -46px rgba(9,13,11,0.72);
  padding:clamp(1.5rem,3.2vw,2.6rem);
}

/* inventory now sits on the light/cream background → dark, readable text */
.inventory .kicker{ color:var(--gold); }
.inventory .section-title{ color:var(--cream); text-shadow:none; }
.inventory .section-title em{ color:var(--gold); }
.inventory__note{ color:var(--cream-dim); text-shadow:none; }

/* difference: the text + pillars become a window beside the video window */
.difference__grid{ align-items:stretch; }
.difference__text.win{ display:flex; flex-direction:column; justify-content:center; }

/* story window sits left over clean footage */
.story__content.win{ max-width:min(560px, 92%); }

/* ---------- TRADE-IN — "sell us your car" ---------- */
.trade{ position:relative; padding-block:clamp(5rem,11vw,9rem); overflow:hidden; }
.trade__bg{ position:absolute; inset:0; z-index:0; }
.trade__bg .ambient-video{ width:100%; height:100%; object-fit:cover; opacity:0.9; }
.trade__veil{ position:absolute; inset:0; background:linear-gradient(rgba(9,13,11,0.42), rgba(9,13,11,0.62)); }
.trade__grid{ position:relative; z-index:2; display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.trade__intro .kicker{ color:#43B871; }
.trade__title{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; font-size:clamp(2.6rem,6vw,5rem); line-height:0.92; color:#fff; margin:1.2rem 0 1.2rem; text-shadow:0 2px 26px rgba(0,0,0,0.5); }
.trade__title em{ font-family:var(--font-accent); font-style:italic; font-weight:500; text-transform:none; color:#43B871; }
.trade__copy{ color:rgba(255,255,255,0.9); max-width:44ch; font-size:clamp(1.02rem,1.4vw,1.2rem); text-shadow:0 1px 12px rgba(0,0,0,0.5); }
.trade__form{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.trade__form .field--full{ grid-column:1 / -1; }
.trade__note{ grid-column:1 / -1; font-size:0.92rem; min-height:1.2em; color:var(--gold); font-weight:600; }
.trade__note.is-error{ color:#B23B2E; }

/* ---------- FAQ accordion ---------- */
.faq{ position:relative; padding-block:clamp(5rem,11vw,9rem); overflow:hidden; }
.faq__bg{ position:absolute; inset:0; z-index:0; }
.faq__bg .ambient-video{ width:100%; height:100%; object-fit:cover; opacity:0.88; }
.faq__veil{ position:absolute; inset:0; background:linear-gradient(rgba(9,13,11,0.42), rgba(9,13,11,0.62)); }
.faq__grid{ position:relative; z-index:2; display:grid; grid-template-columns:0.82fr 1.18fr; gap:clamp(1.6rem,4vw,4rem); align-items:start; }
.faq__head .kicker{ color:#43B871; }
.faq__title{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; font-size:clamp(2.4rem,5vw,4.2rem); line-height:0.94; color:#fff; margin-top:1rem; text-shadow:0 2px 24px rgba(0,0,0,0.5); }
.faq__list{ padding:0.4rem clamp(1.2rem,2.4vw,2rem); }
.faq__item{ border-bottom:1px solid var(--line-soft); }
.faq__item:last-child{ border-bottom:0; }
.faq__q{ width:100%; text-align:left; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.15rem 0; font-size:clamp(1rem,1.35vw,1.12rem); font-weight:700; color:var(--cream); }
.faq__q i{ font-style:normal; font-size:1.5rem; line-height:1; color:var(--gold); transition:transform .3s var(--ease-expo); flex:none; }
.faq__item.is-open .faq__q i{ transform:rotate(45deg); }
.faq__a{ max-height:0; overflow:hidden; transition:max-height .45s var(--ease-expo); }
.faq__a p{ padding:0 0 1.25rem; color:var(--cream-dim); line-height:1.6; max-width:62ch; }

/* interactive map window (Visit) */
.visit__map{ margin-top:1.5rem; border-radius:14px; overflow:hidden; border:1px solid var(--line); aspect-ratio:16/10; background:var(--ink); }
.visit__map iframe{ width:100%; height:100%; border:0; display:block; }
/* Map facade — instant placeholder; the real Google embed (~1MB JS, ~270ms
   main-thread block) loads only on click via main.js. */
.mapfacade{ position:relative; width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0.35rem; cursor:pointer; border:0; color:var(--cream); font-family:inherit; text-align:center;
  background:
    radial-gradient(circle at 50% 40%, rgba(46,125,70,0.20), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 34px),
    var(--ink-2); transition:background-color .25s ease; }
.mapfacade:hover, .mapfacade:focus-visible{ background-color:#18271f; outline:none; }
.mapfacade__pin{ color:var(--gold); filter:drop-shadow(0 4px 10px rgba(0,0,0,0.4)); animation:mapbob 2.4s ease-in-out infinite; }
.mapfacade__label{ font-weight:700; letter-spacing:0.01em; }
.mapfacade__addr{ font-size:0.8rem; color:var(--cream-dim); }
@keyframes mapbob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-4px); } }
@media (prefers-reduced-motion: reduce){ .mapfacade__pin{ animation:none; } }

@media (max-width:900px){
  .trade__grid, .faq__grid{ grid-template-columns:1fr; }
  .trade__form{ grid-template-columns:1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
  html.js .reveal, html.js .reveal-stagger{ opacity:1 !important; transform:none !important; }
  .line__in{ transform:none !important; }
  .marquee__track{ animation:none; }
  .hero__video, .ambient-video{ /* keep poster; videos still allowed but no parallax */ }
}

/* ============================================================
   SUBPAGES (vehicle / inventory / about / contact)
   ============================================================ */
body.subpage{ background:var(--ink); }
body.subpage main{ padding-top:clamp(84px,6vw,112px); }

/* ---------- VEHICLE DETAIL ---------- */
.vehicle{ padding-bottom:clamp(4rem,9vw,7rem); min-height:72vh; }
.vehicle__back{ display:inline-flex; align-items:center; gap:0.5rem; font-weight:600; font-size:0.9rem; color:var(--cream-dim); margin-bottom:1.6rem; transition:color .3s var(--ease-expo), gap .3s var(--ease-expo); }
.vehicle__back i{ font-style:normal; }
.vehicle__back:hover{ color:var(--gold); gap:0.78rem; }
.vehicle__state{ padding:5rem 0; font-size:1.1rem; color:var(--cream-dim); }
.vehicle__state a{ color:var(--gold); font-weight:600; }

.vehicle__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:1.4rem; flex-wrap:wrap; border-bottom:1px solid var(--line-soft); padding-bottom:1.4rem; margin-bottom:2rem; }
.vehicle__badge{ display:inline-block; font-size:0.62rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:#fff; background:var(--gold); padding:0.34rem 0.7rem; border-radius:100px; margin-bottom:0.7rem; }
.vehicle__title{ font-family:var(--font-display); font-size:clamp(2.4rem,6vw,4.2rem); line-height:0.98; letter-spacing:0.01em; color:var(--cream); }
.vehicle__price{ font-family:var(--font-display); font-size:clamp(2rem,4.5vw,3rem); color:var(--gold); white-space:nowrap; line-height:1; }
.vehicle__price span{ font-family:var(--font-body); font-size:0.9rem; font-weight:600; color:var(--cream-dim); letter-spacing:0.04em; }

.vehicle__layout{ display:grid; grid-template-columns:1.35fr 1fr; gap:clamp(1.5rem,3.5vw,3rem); align-items:start; }
.vgallery__stage{ position:relative; aspect-ratio:4/3; border-radius:16px; overflow:hidden; background:var(--ink-4); border:1px solid var(--line-soft); }
.vgallery__stage img{ width:100%; height:100%; object-fit:cover; }
.vgallery__thumbs{ display:flex; gap:0.55rem; flex-wrap:wrap; margin-top:0.7rem; }
.vthumb{ position:relative; width:84px; height:60px; border-radius:9px; overflow:hidden; border:2px solid transparent; padding:0; background:none; cursor:pointer; transition:border-color .3s; }
.vthumb img{ width:100%; height:100%; object-fit:cover; }
.vthumb.is-active{ border-color:var(--gold); }

/* Wozir watermark on the vehicle-page gallery — main photo (prominent) + each
   thumbnail (subtle), so every picture on the page is branded. */
.vgallery__stage::after{
  content:""; position:absolute; z-index:3; pointer-events:none;
  left:1rem; bottom:0.9rem; width:150px; height:75px;
  background:url("../assets/images/wozir-watermark.png") no-repeat left bottom / contain;
  opacity:0.9; filter:drop-shadow(0 1px 6px rgba(0,0,0,0.7));
}
.vthumb::after{
  content:""; position:absolute; z-index:2; pointer-events:none;
  left:4px; bottom:3px; width:38px; height:19px;
  background:url("../assets/images/wozir-watermark.png") no-repeat left bottom / contain;
  opacity:0.7; filter:drop-shadow(0 1px 2px rgba(0,0,0,0.75));
}

.vinfo{ padding:clamp(1.4rem,2.5vw,2rem); position:sticky; top:92px; }
.vinfo__h{ font-family:var(--font-display); font-size:1.4rem; letter-spacing:0.02em; color:var(--cream); margin-bottom:0.9rem; }
.vinfo__h + .vinfo__desc, .vinfo__desc{ }
.vinfo .vinfo__h ~ .vinfo__h{ margin-top:1.6rem; }
.vspecs{ display:grid; grid-template-columns:1fr 1fr; gap:0.9rem 1.2rem; }
.vspec dt{ font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--cream-faint); }
.vspec dd{ font-size:1rem; font-weight:600; color:var(--cream); margin-top:0.15rem; }
.vinfo__desc{ font-size:0.96rem; line-height:1.65; color:var(--cream-dim); margin-top:0.3rem; }

.vprice{ display:flex; flex-direction:column; gap:0.2rem; margin-top:1.6rem; padding:1.1rem 1.3rem; background:var(--ink-4); border-radius:12px; border:1px solid var(--line-soft); }
.vprice__label{ font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--cream-faint); }
.vprice__num{ font-family:var(--font-display); font-size:2.4rem; color:var(--gold); line-height:1; }

.vactions{ display:flex; flex-wrap:wrap; gap:0.6rem; margin-top:1.3rem; }
.vactions .btn{ flex:1 1 auto; justify-content:center; }
.vactions__note{ font-size:0.82rem; color:var(--cream-faint); margin-top:0.7rem; }

.vwhy{ margin-top:1.6rem; padding-top:1.4rem; border-top:1px solid var(--line-soft); }
.vwhy__h{ font-size:0.75rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); margin-bottom:0.7rem; }
.vwhy ul{ display:grid; gap:0.5rem; }
.vwhy li{ position:relative; padding-left:1.5rem; font-size:0.95rem; color:var(--cream); }
.vwhy li::before{ content:"\2713"; position:absolute; left:0; color:var(--gold); font-weight:800; }

@media (max-width:860px){
  .vehicle__layout{ grid-template-columns:1fr; }
  .vinfo{ position:static; }
}

/* ---------- Send-inquiry wizard (step-by-step contact popup) ---------- */
.iqmodal{ position:fixed; inset:0; z-index:300; display:grid; place-items:center; padding:1.2rem; }
.iqmodal[hidden]{ display:none; }
.iqmodal__backdrop{ position:absolute; inset:0; background:rgba(9,13,11,0.55); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.iqmodal__panel{ position:relative; z-index:1; width:100%; max-width:440px; background:var(--ink-2); border:1px solid var(--line); border-radius:20px; padding:clamp(1.6rem,4vw,2.4rem); box-shadow:0 50px 110px -40px rgba(9,13,11,0.6); animation:iqin .4s var(--ease-expo); }
@keyframes iqin{ from{ opacity:0; transform:translateY(14px) scale(0.98); } to{ opacity:1; transform:none; } }
.iqmodal__close{ position:absolute; top:0.7rem; right:0.85rem; width:36px; height:36px; border-radius:50%; font-size:1.5rem; line-height:1; color:var(--cream-dim); display:grid; place-items:center; transition:background-color .25s, color .25s; }
.iqmodal__close:hover{ background:var(--line-soft); color:var(--cream); }
.iqmodal__kicker{ font-size:0.7rem; letter-spacing:0.2em; text-transform:uppercase; font-weight:700; color:var(--gold); }
.iqmodal__vehicle{ font-family:var(--font-display); font-weight:400; font-size:1.5rem; text-transform:uppercase; letter-spacing:0.02em; color:var(--cream); line-height:1.05; margin:0.2rem 0 1.1rem; }
.iqmodal__bar{ height:4px; border-radius:100px; background:var(--line-soft); overflow:hidden; margin-bottom:1.6rem; }
.iqmodal__bar span{ display:block; height:100%; width:33%; background:var(--gold); border-radius:100px; transition:width .45s var(--ease-expo); }
.iqstep__q{ display:block; font-size:1.1rem; font-weight:700; color:var(--cream); margin-bottom:0.9rem; line-height:1.3; }
.iqstep__q span{ font-weight:500; color:var(--cream-faint); }
.iqinput{ width:100%; padding:0.95rem 1.05rem; border:1px solid var(--line); border-radius:12px; background:var(--ink); color:var(--cream); font:inherit; font-size:1rem; transition:border-color .25s; }
.iqinput::placeholder{ color:var(--cream-faint); }
.iqinput:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(46,125,70,0.14); }
.iqinput--area{ margin-top:0.7rem; resize:vertical; min-height:88px; }
.iq-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.iqform__err{ min-height:1.2em; margin-top:0.7rem; font-size:0.88rem; color:#B23B2E; font-weight:600; }
.iqform__nav{ display:flex; gap:0.7rem; margin-top:1.3rem; }
.iqnext{ flex:1; justify-content:center; }
.iqback{ padding-inline:1.3rem; }
.iqstep--done{ text-align:center; padding:0.5rem 0 0.2rem; }
.iqdone__mark{ width:56px; height:56px; margin:0 auto 1rem; border-radius:50%; background:var(--gold); color:var(--ink); display:grid; place-items:center; font-size:1.8rem; }
.iqdone__h{ font-family:var(--font-display); font-weight:400; font-size:2rem; text-transform:uppercase; color:var(--cream); line-height:1; }
.iqdone__p{ color:var(--cream-dim); margin:0.6rem 0 1.3rem; }
.iqdone__btn{ width:100%; justify-content:center; }

/* ---------- SUBPAGE HERO (about / contact / inventory headers) ---------- */
.subpage-hero{ padding-bottom:clamp(1.4rem,3vw,2.4rem); }
.subpage-hero .kicker{ margin-bottom:0.8rem; }
.subpage-title{ font-family:var(--font-display); font-size:clamp(2.8rem,8vw,5.4rem); line-height:0.95; letter-spacing:0.01em; color:var(--cream); }
.subpage-title em{ font-family:var(--font-accent); font-style:italic; font-weight:400; color:var(--gold); }
.subpage-lede{ margin-top:1rem; max-width:60ch; font-size:clamp(1.05rem,1.6vw,1.3rem); line-height:1.5; color:var(--cream-dim); }

/* ---------- ABOUT ---------- */
.about-body{ padding-block:clamp(1.5rem,4vw,3rem) clamp(4rem,9vw,7rem); }
.about-grid{ display:grid; grid-template-columns:1.5fr 1fr; gap:clamp(1.5rem,3.5vw,3rem); align-items:start; }
.about-copy{ padding:clamp(1.6rem,3vw,2.6rem); }
.about-copy .section-title{ margin:0.6rem 0 1.2rem; }
.about-copy p{ color:var(--cream-dim); line-height:1.7; margin-bottom:1.1rem; }
.about-copy .btn{ margin-top:0.6rem; }
.about-values{ position:sticky; top:96px; }
.about-values__h{ font-family:var(--font-display); font-size:1.8rem; letter-spacing:0.02em; color:var(--cream); margin:0.4rem 0 1.2rem; }
.valuecard{ padding:1.1rem 1.3rem; border:1px solid var(--line-soft); border-radius:14px; background:var(--ink-2); margin-bottom:0.8rem; }
.valuecard h4{ font-size:1.05rem; color:var(--cream); margin-bottom:0.3rem; }
.valuecard p{ font-size:0.9rem; color:var(--cream-dim); line-height:1.55; }
.about-cta{ margin-top:clamp(2rem,5vw,4rem); padding:clamp(2rem,4vw,3.5rem); text-align:center; }
.about-cta h2{ font-family:var(--font-display); font-size:clamp(2rem,4.5vw,3.2rem); color:var(--cream); }
.about-cta p{ max-width:52ch; margin:0.8rem auto 1.5rem; color:var(--cream-dim); }
.about-cta__btns{ display:flex; gap:0.8rem; justify-content:center; flex-wrap:wrap; }

/* ---------- CONTACT ---------- */
.contact-body{ padding-bottom:clamp(4rem,9vw,7rem); }
.contact-grid{ display:grid; grid-template-columns:1.15fr 1fr; gap:clamp(1.5rem,3.5vw,3rem); align-items:start; }
.contact-form{ padding:clamp(1.6rem,3vw,2.4rem); display:grid; gap:1rem; }
.contact-form .field{ display:flex; flex-direction:column; gap:0.4rem; }
.contact-form .contact-note{ font-size:0.9rem; color:var(--cream-dim); min-height:1.2em; }
.contact-form .contact-note.is-error{ color:#c0392b; }
.contact-info{ display:grid; gap:1rem; align-content:start; }
.contact-info__item{ padding:1.05rem 1.3rem; border:1px solid var(--line-soft); border-radius:14px; background:var(--ink-2); }
.contact-info__label{ display:block; font-size:0.7rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); margin-bottom:0.35rem; }
.contact-info__item a, .contact-info__item span{ color:var(--cream); font-weight:600; }
.contact-map{ border-radius:14px; overflow:hidden; border:1px solid var(--line); aspect-ratio:16/10; margin-top:0.2rem; }
.contact-map iframe{ width:100%; height:100%; border:0; }

/* ---------- INVENTORY PAGE ---------- */
.invpage{ padding-bottom:clamp(4rem,9vw,7rem); }
.invfilters{ display:flex; flex-wrap:wrap; gap:0.7rem; align-items:center; margin:1.4rem 0 2rem; }
.invfilters select{ font:inherit; font-size:0.9rem; padding:0.55rem 0.9rem; border:1px solid var(--line); border-radius:100px; background:var(--ink-2); color:var(--cream); cursor:pointer; }
.invfilters__count{ margin-left:auto; font-size:0.9rem; font-weight:600; color:var(--cream-dim); }
.invgrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(278px,1fr)); gap:1.4rem; }
.invgrid .vcard{ width:auto; }
.invpage__empty{ padding:4rem 0; text-align:center; color:var(--cream-dim); font-size:1.05rem; }

@media (max-width:860px){
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .about-values{ position:static; }
}

/* ---------- LEGAL (privacy / terms) ---------- */
.legal{ padding-bottom:clamp(4rem,9vw,7rem); }
.legal__body{ max-width:74ch; }
.legal__updated{ font-size:0.9rem; color:var(--cream-faint); margin-top:0.6rem; }
.legal__body h2{ font-family:var(--font-display); font-size:clamp(1.5rem,3vw,2.1rem); letter-spacing:0.01em; color:var(--cream); margin:2.2rem 0 0.7rem; }
.legal__body h2:first-of-type{ margin-top:0; }
.legal__body p{ color:var(--cream-dim); line-height:1.7; font-size:1rem; margin-bottom:1rem; }
.legal__body ul{ margin:0 0 1rem 0; display:grid; gap:0.5rem; }
.legal__body li{ position:relative; padding-left:1.4rem; color:var(--cream-dim); line-height:1.65; }
.legal__body li::before{ content:"\2014"; position:absolute; left:0; color:var(--gold); }
.legal__body a{ color:var(--gold); font-weight:600; }
.legal__body strong{ color:var(--cream); }
