/* LPD Cars — Public Site Stylesheet
 * Direction A (Dashboard Bold) + B borrowings (12-col asymmetric grid, drop-cap, corner brackets, italic Fraunces accents)
 */
:root {
  --bg: #0A0A0A;
  --bg-alt: #121212;
  --bg-card: #161616;
  --line: #1F1F1F;
  --line-2: #2A2A2A;
  --paper: #FAFAF7;
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --muted: #8A8A85;
  --yellow: #F5C518;
  --yellow-soft: #F5C51820;
  --yellow-hover: #D9AC10;
  --display: 'Inter', system-ui, sans-serif;
  --display-italic: 'Fraunces', Georgia, serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --maxw: 1320px;
  --pad: clamp(1rem, 4vw, 3rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.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; }

/* ---------- CIRCULAR LOGO SPLASH (plays once per session) ----------
 * The new logo IS already a circular gold-bordered badge, so no extra rings.
 * Just a clean fade + scale + gold glow + soft curtain dismissal.
 * Total duration: 1.8s, then peels away.
 */
.lpd-splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  overflow: hidden;
  animation: splash-curtain 0.55s cubic-bezier(.7,0,.3,1) 1.75s forwards;
}
.lpd-splash::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245,197,24,.14), transparent 55%);
  opacity: 0; animation: splash-glow 1.0s ease-out 0.3s forwards;
}
.lpd-splash__stage {
  position: relative;
  width: clamp(220px, 36vw, 340px);
  aspect-ratio: 1;
  display: grid; place-items: center;
}

/* Logo fades up + scales from .82 → 1.0 with soft gold glow */
.lpd-splash__logo {
  width: 100%; height: auto;
  opacity: 0; transform: scale(.82);
  filter: drop-shadow(0 0 0 rgba(245,197,24,0));
  animation:
    splash-logo-in   0.95s cubic-bezier(.34,1.56,.64,1) 0.20s forwards,
    splash-logo-glow 1.4s  ease-out 0.50s forwards;
}

@keyframes splash-glow      { to { opacity: 1; } }
@keyframes splash-logo-in   { to { opacity: 1; transform: scale(1); } }
@keyframes splash-logo-glow {
  0%   { filter: drop-shadow(0 0 0 rgba(245,197,24,0)); }
  55%  { filter: drop-shadow(0 0 38px rgba(245,197,24,.45)); }
  100% { filter: drop-shadow(0 0 18px rgba(245,197,24,.28)); }
}
@keyframes splash-curtain {
  to { opacity: 0; transform: scale(1.06); visibility: hidden; pointer-events: none; }
}

/* ---------- NAV (sticky, black, 3-col grid: brand | centered links | cta) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: .9rem var(--pad);
  max-width: var(--maxw); margin: 0 auto;
  gap: 1.5rem;
}
.nav__brand {
  display: flex; align-items: center; gap: .65rem;
  justify-self: start;
  text-decoration: none;
}
.nav__logo {
  width: 42px; height: 42px;
  background-image: url('/assets/logo.png');
  background-size: contain; background-repeat: no-repeat; background-position: center;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.nav__brand:hover .nav__logo { transform: scale(1.06) rotate(-3deg); }
.nav__name {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.05rem;
  color: var(--white);
  white-space: nowrap;
}
.nav__name .y { color: var(--yellow); }
.nav__links {
  display: flex; gap: 2.2rem; align-items: center;
  justify-self: center;
}
.nav__links a {
  font-size: .9rem; font-weight: 500; letter-spacing: .015em;
  color: rgba(255,255,255,.85);
  position: relative; padding: .4rem 0;
  transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 2px; background: var(--yellow);
  transform: translateX(-50%);
  transition: width .25s cubic-bezier(.4,0,.2,1);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--yellow); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: .8rem; justify-self: end; }
.nav__cta {
  padding: .65rem 1.25rem; background: var(--yellow); color: var(--ink);
  font-weight: 700; border-radius: 999px; font-size: .85rem;
  letter-spacing: .01em;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--yellow-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245,197,24,.25); }
.nav__toggle {
  display: none; background: transparent; border: 0; color: var(--white);
  width: 42px; height: 42px; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
  border-radius: 10px; transition: background .2s;
}
.nav__toggle:hover { background: rgba(255,255,255,.06); }
.nav__toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

/* ====================================================================
   MOBILE DRAWER — clean rebuild, slides in FROM THE LEFT.
   Engineered defensively: the panel is taken out of the grid flow with
   position:fixed, has its own stacking context (no transform on parents),
   and uses high specificity (.nav .nav__links) so nothing overrides.
   ==================================================================== */

/* Backdrop dim overlay — sits behind the drawer, above the splash (9999) */
.nav__backdrop {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease-out;
}
.nav__backdrop.is-open { opacity: 1; pointer-events: auto; }

/* Drawer-only sub-sections — hidden on desktop, shown inside the slide-out panel on mobile */
.nav__drawer-contact, .nav__drawer-social { display: none; }

/* ── Mobile breakpoint ──────────────────────────────────────────────── */
@media (max-width: 880px) {

  /* Reset .nav__inner to a clean 2-column flex so layout doesn't
     fight the fixed-positioned drawer. */
  .nav .nav__inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
  }
  .nav .nav__brand { justify-self: auto; }
  .nav .nav__right { justify-self: auto; margin-left: auto; }

  /* THE DRAWER PANEL — slides in from the LEFT */
  .nav .nav__links {
    /* Position: fixed pinned to viewport's left edge, full height */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;

    /* Sizing: 320px wide on phone, 86vw cap so it never exceeds screen */
    width: 320px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;          /* iOS dynamic viewport: full screen */

    /* Stacking: above backdrop AND above the splash overlay (9999) */
    z-index: 99999 !important;

    /* Layout inside drawer */
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 5rem 1.4rem 2rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    /* Visual */
    background: #080808 !important;
    border-right: 1px solid var(--line) !important;
    border-left: 0 !important;

    /* Animation: starts off-screen to the LEFT */
    transform: translateX(-100%) !important;
    transition: transform .32s cubic-bezier(.4,0,.2,1) !important;

    /* Scroll inside drawer if content overflows */
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;

    /* Defensive: remove any inherited grid/flex overrides */
    justify-self: stretch !important;
  }
  .nav .nav__links.is-open {
    transform: translateX(0) !important;
    box-shadow: 20px 0 60px rgba(0,0,0,.6) !important;
  }

  /* Direct page links (children of .nav__links) */
  .nav .nav__links > a {
    display: block;
    padding: 1rem .25rem;
    font-size: 1.05rem; font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: left;
    color: rgba(255,255,255,.92);
    text-decoration: none;
    width: 100%;
  }
  .nav .nav__links > a::after { display: none; }
  .nav .nav__links > a:hover, .nav .nav__links > a.is-active {
    color: var(--yellow);
    background: rgba(245,197,24,.06);
  }

  /* Hide desktop CTA, show hamburger toggle */
  .nav .nav__cta { display: none !important; }
  .nav .nav__toggle {
    display: inline-flex !important;
    z-index: 100000 !important;    /* always tappable, above splash + drawer */
    position: relative;
  }
  /* The whole nav bar must stay above the splash so the toggle is reachable */
  .nav {
    position: relative;
    z-index: 100000;
  }

  /* Body scroll lock when drawer open */
  body.nav-open { overflow: hidden; touch-action: none; }

  /* ── Drawer sub-section: contact lines ─────────────────── */
  .nav .nav__links .nav__drawer-contact {
    display: block;
    margin-top: 1.4rem; padding-top: 1.2rem;
    border-top: 2px solid rgba(245,197,24,.18);
  }
  .nav .nav__links .nav__drawer-contact h4 {
    font-family: var(--display); font-size: .72rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--yellow); margin: 0 0 .8rem;
  }
  .nav .nav__links .nav__contact-line {
    display: flex; align-items: center; gap: .65rem;
    padding: .6rem .25rem;
    color: rgba(255,255,255,.88);
    font-size: 1rem; font-weight: 500;
    border-bottom: 0; text-decoration: none;
    transition: color .15s;
  }
  .nav .nav__links .nav__contact-line:hover { color: var(--yellow); }
  .nav .nav__links .nav__contact-line > span {
    color: var(--yellow); font-size: 1rem; width: 22px;
    display: inline-block; text-align: center;
  }

  /* ── Drawer sub-section: social media buttons ──────────── */
  .nav .nav__links .nav__drawer-social {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
    margin-top: 1.4rem; padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav .nav__links .nav__social {
    display: block; padding: .75rem .9rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px; text-align: center;
    font-size: .82rem; font-weight: 600; letter-spacing: .04em;
    color: rgba(255,255,255,.88); text-decoration: none;
    transition: border-color .15s, color .15s, background .15s;
  }
  .nav .nav__links .nav__social:hover {
    border-color: var(--yellow); color: var(--yellow);
    background: rgba(245,197,24,.06);
  }
  .nav .nav__links .nav__social--wa {
    background: #25D366; color: #0A0A0A;
    border-color: #25D366; grid-column: 1/-1;
  }
  .nav .nav__links .nav__social--wa:hover {
    background: #1cb955; color: #0A0A0A; border-color: #1cb955;
  }

  /* ── Big yellow CTA at the very bottom of drawer ──────── */
  .nav .nav__links .nav__cta-mobile {
    display: block !important;
    margin-top: 1.6rem;
    padding: 1.05rem 1.2rem;
    background: var(--yellow); color: var(--ink);
    text-align: center; border-radius: 999px;
    font-weight: 700; font-size: 1rem; letter-spacing: .04em;
    text-decoration: none;
    border-bottom: 0;
    box-shadow: 0 4px 20px rgba(245,197,24,.18);
  }
  .nav .nav__links .nav__cta-mobile:hover { background: var(--yellow-hover); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: clamp(640px, 96vh, 920px);
  padding: clamp(3rem, 9vw, 7rem) var(--pad) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 20%, rgba(245,197,24,.08) 0%, transparent 50%), var(--bg);
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto;
  position: relative; z-index: 2;
  max-width: min(640px, 60%);  /* leave breathing room on the right for the wheel */
  margin-left: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  margin-right: 0;
  text-align: left;
}
.hero__brand {
  display: block; margin: 0 0 1.4rem;
  width: clamp(56px, 7vw, 78px); height: auto;
  filter: drop-shadow(0 0 18px rgba(245,197,24,.3));
  opacity: 0; transform: translateY(-12px);
  animation: hero-brand-in 0.8s cubic-bezier(.34,1.56,.64,1) 0.3s forwards;
}
@keyframes hero-brand-in { to { opacity: 1; transform: translateY(0); } }
@media (max-width: 980px) {
  .hero__inner {
    max-width: 100%;
    margin-left: auto; margin-right: auto;
    text-align: center;
    padding-inline: var(--pad);
  }
  .hero__brand { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__brand { opacity: 1; transform: none; animation: none; }
}

/* Corner brackets (borrowed from B) */
.hero__corner { position: absolute; width: 36px; height: 36px; border: 2px solid var(--yellow); pointer-events: none; }
.hero__corner.tl { top: 1rem; left: 1rem; border-right: 0; border-bottom: 0; }
.hero__corner.br { bottom: 1rem; right: 1rem; border-left: 0; border-top: 0; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.2rem;
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.7); } }

.hero__h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 7.5vw, 6.8rem);
  letter-spacing: -.05em;
  line-height: .82;          /* tighter than before (was .88) — lines hug each other */
  font-variation-settings: 'wght' 250;
  animation: weight-morph linear both;
  animation-timeline: scroll(root);
  animation-range: 0 50vh;
  text-transform: uppercase;
  margin: 0;
}
.hero__h1 br + span,
.hero__h1 .y,
.hero__h1 .stroke { margin-top: -.05em; display: block; }
@keyframes weight-morph {
  0%   { font-variation-settings: 'wght' 250; letter-spacing: -.025em; }
  60%  { font-variation-settings: 'wght' 700; letter-spacing: -.045em; }
  100% { font-variation-settings: 'wght' 950; letter-spacing: -.06em; }
}
.hero__h1 .y { color: var(--yellow); display: block; }
.hero__h1 .stroke { -webkit-text-stroke: 2px var(--white); -webkit-text-fill-color: transparent; }
@supports not (animation-timeline: scroll(root)) {
  .hero__h1 { animation: none; font-variation-settings: 'wght' 800; }
}

.hero__lede {
  margin-top: 1.6rem; max-width: 48ch;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}
.hero__actions { margin-top: 1.8rem; display: flex; gap: .7rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.7rem;
  font-family: var(--body); font-weight: 600;
  font-size: .95rem; letter-spacing: .005em;
  border-radius: 999px;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  cursor: pointer; border: 0;
}
.btn--y { background: var(--yellow); color: var(--ink); }
.btn--y:hover { background: var(--yellow-hover); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(245,197,24,.25); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #1a1a1a; transform: translateY(-1px); }

/* Smart speedometer SVG — sized down so the wheel video reads on the right */
.hero__arc {
  position: absolute;
  right: clamp(-4vw, -2vw, 0vw);
  bottom: clamp(-15vh, -8vh, -4vh);
  width: clamp(380px, 42vw, 680px);  /* WAS 620–1200px, now 380–680px */
  height: auto; opacity: .85; pointer-events: none;
}
@media (max-width: 980px) {
  .hero__arc { right: -10vw; bottom: -10vh; width: 90vw; opacity: .55; }
}
.hero__arc .seg { fill: var(--yellow); transform-origin: 600px 600px; opacity: 0; transition: opacity .15s ease-out, filter .2s; }
.hero__arc .seg.is-lit { opacity: var(--seg-op, 0.85); }
.hero__arc .seg.is-tip { filter: brightness(1.4); }
.hero__arc .needle { stroke: var(--yellow); stroke-width: 6; stroke-linecap: round; opacity: 0; transition: opacity .3s ease-out; transform-origin: 600px 1100px; }
.hero__arc.is-active .needle { opacity: 1; }
.hero__arc .pivot { fill: var(--yellow); opacity: 0; transition: opacity .3s ease-out; }
.hero__arc.is-active .pivot { opacity: 1; }

.hero__stats {
  margin-top: 2.4rem; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1.1fr);
  gap: 1.2rem; max-width: 580px;
  border-top: 1px solid var(--line-2); padding-top: 1.3rem;
}
.hero__stats .item { min-width: 0; overflow: hidden; }
.hero__stats .item .num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: -.03em; color: var(--yellow); display: block;
  white-space: nowrap;                  /* keep "€19k–32k" on a single line, never break */
}
.hero__stats .item .lbl { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Hero video — branded LPD loop. Sits behind type, dark veil guarantees contrast. */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 70% center;          /* on desktop: wheel sits on the right */
  opacity: .55; pointer-events: none;
  background: var(--bg);
}
.hero__video-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(10,10,10,.4) 0%, rgba(10,10,10,.85) 65%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.92) 88%);
}
/* Mobile: video stays FULL-BLEED behind everything (like desktop), but veil is
 * tuned so the headline reads cleanly on top. Speedometer hidden (too noisy). */
@media (max-width: 760px) {
  .hero {
    min-height: clamp(620px, 88vh, 820px);
    padding: clamp(2.4rem, 7vw, 4rem) var(--pad) clamp(2.4rem, 6vw, 3rem);
  }
  .hero__inner { padding-bottom: 0; }
  .hero__video {
    inset: 0; height: 100%;
    object-position: 50% 35%;        /* wheel centered, slightly up */
    opacity: .58;
  }
  .hero__video-veil {
    inset: 0; height: 100%;
    background:
      radial-gradient(ellipse at 50% 35%, rgba(10,10,10,.18) 0%, rgba(10,10,10,.85) 70%),
      linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.65) 50%, rgba(10,10,10,.92) 100%);
  }
  .hero__arc { display: none; }
  /* Tighten hero copy for mobile — bigger lede, more breathing room */
  .hero__brand { width: 64px; }
  .hero__h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: .88; letter-spacing: -.045em; }
  .hero__lede { font-size: 1rem; line-height: 1.55; max-width: 100%; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: .75rem; max-width: 100%; padding-top: 1.1rem; }
  .hero__stats .item .num { font-size: 1.4rem; }
  .hero__stats .item .lbl { font-size: .65rem; letter-spacing: .08em; }
  .hero__corner { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* ---------- MARQUEE TICKER ---------- */
.marquee {
  --base-speed: 38s; --velocity: 1; --skew: 0;
  display: flex; overflow: hidden;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  transform: skewY(calc(var(--skew) * 1deg));
  transition: transform .25s ease-out;
}
.marquee__track {
  display: flex; gap: 3.5rem; flex-shrink: 0;
  animation: scroll-left calc(var(--base-speed) / var(--velocity)) linear infinite;
  padding-right: 3.5rem; will-change: transform;
}
@keyframes scroll-left { to { transform: translateX(-50%); } }
.marquee__item {
  font-family: var(--display); font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 800; letter-spacing: -.02em; white-space: nowrap;
  color: var(--white); display: flex; align-items: center; gap: 1.1rem;
}
.marquee__item .y { color: var(--yellow); }
.marquee__item em { font-family: var(--display-italic); font-style: italic; font-weight: 500; color: var(--yellow); }
.marquee__item .dot { width: .35em; height: .35em; border-radius: 50%; background: var(--yellow); }

/* ---------- SECTIONS ---------- */
.sect { padding: clamp(4rem, 9vw, 7rem) var(--pad); }
.sect__head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .7rem;
  display: inline-flex; align-items: center; gap: .65rem;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--yellow); }
.sect h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800; letter-spacing: -.035em; line-height: .98;
  text-transform: uppercase;
}
.sect h2 .y { color: var(--yellow); }
.sect h2 em { font-family: var(--display-italic); font-style: italic; color: var(--yellow); font-weight: 400; text-transform: none; }
.sect__link {
  font-weight: 600; color: var(--yellow);
  display: inline-flex; align-items: center; gap: .35rem;
  padding-bottom: 4px; border-bottom: 1px solid var(--yellow-soft);
  transition: gap .2s;
}
.sect__link:hover { gap: .6rem; }

/* ---------- FEATURED CARS — magazine 12-col asymmetric (B borrowing) ---------- */
.cars-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem); row-gap: clamp(1.4rem, 2.5vw, 2rem);
}
.car { background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .25s, transform .25s; display: flex; flex-direction: column; animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
.car:hover { border-color: var(--yellow); transform: translateY(-4px); }
@keyframes reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.car--hero { grid-column: span 8; }
.car--sm { grid-column: span 4; }
.car--md { grid-column: span 6; }
.car--full { grid-column: span 12; }
/* Tablet: 2-up grid (still nice cards, not stacked) */
@media (max-width: 920px) {
  .car--hero, .car--sm, .car--md { grid-column: span 6; }
}
/* Phone: stay 2-up unless very narrow — only stack at <440px */
@media (max-width: 440px) {
  .cars-grid { gap: 1rem; }
  .car--hero, .car--sm, .car--md { grid-column: span 12; }
}

.car__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1a1a1a; }
.car--hero .car__img { aspect-ratio: 16 / 9; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.car:hover .car__img img { transform: scale(1.04); }
.car__badge { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--ink); padding: .35rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.car__badge--alt { background: var(--white); color: var(--ink); }
.car__badge--ink { background: var(--ink); color: var(--yellow); border: 1px solid var(--yellow); }

.car__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
/* Mobile 2-up: tighter padding + smaller type so cards still feel scannable */
@media (max-width: 720px) {
  .car__body { padding: .9rem 1rem 1.1rem; }
  .car__title { font-size: 1rem; line-height: 1.2; }
  .car__price { font-size: 1.05rem; }
  .car__head { gap: .5rem; margin-bottom: .55rem; flex-direction: column; align-items: stretch; }
  .car__head .car__price { align-self: flex-start; }
  .car__make { font-size: .62rem; letter-spacing: .12em; }
  .car__specs { gap: .35rem; padding-top: .7rem; margin-top: .7rem; }
  .car__specs span { font-size: .7rem; padding: .25rem .55rem; }
  .car__cta { font-size: .8rem; margin-top: .8rem; }
  .car__badge { font-size: .62rem; padding: .25rem .55rem; top: 8px; left: 8px; }
}
.car__head { display: flex; justify-content: space-between; gap: 1rem; align-items: start; margin-bottom: .8rem; }
.car__make { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.car__title { font-family: var(--display); font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.car__year { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.car__price { font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; white-space: nowrap; }
.car__specs { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.car__specs span { font-size: .8rem; color: rgba(255,255,255,.7); background: rgba(255,255,255,.04); padding: .35rem .7rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .35rem; }
.car__cta { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--yellow); font-size: .9rem; }

/* ---------- BUDGET BUCKETS ---------- */
.buckets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 880px) { .buckets { grid-template-columns: repeat(2, 1fr); } }
.bkt { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; transition: border-color .25s, transform .25s; position: relative; overflow: hidden; animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
.bkt:hover { border-color: var(--yellow); transform: translateY(-3px); }
.bkt__range { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bkt__count { font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--yellow); letter-spacing: -.04em; line-height: 1; }
.bkt__lbl { font-size: .85rem; color: rgba(255,255,255,.65); }
.bkt__arr { position: absolute; top: 1.3rem; right: 1.4rem; color: var(--muted); font-size: 1.2rem; transition: color .2s, transform .2s; }
.bkt:hover .bkt__arr { color: var(--yellow); transform: translate(2px, -2px); }

/* ---------- SERVICES — 4-col editorial blocks (B borrowing) ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 880px) { .services { grid-template-columns: repeat(2, 1fr); } }
.svc { padding: 2.5rem 1.8rem; border-right: 1px solid var(--line); position: relative; animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 40%; }
.svc:last-child { border-right: 0; }
@media (max-width: 880px) { .svc:nth-child(odd) { border-right: 1px solid var(--line); } .svc:nth-child(even) { border-right: 0; } .svc:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.svc__num { font-family: var(--display-italic); font-style: italic; font-weight: 400; font-size: 1.05rem; color: var(--yellow); margin-bottom: 1.2rem; }
.svc__name { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-bottom: .8rem; text-transform: uppercase; }
.svc__name em { font-family: var(--display-italic); font-style: italic; font-weight: 400; color: var(--yellow); text-transform: none; }
.svc__desc { color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.6; }

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
.about__photo {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  display: block;
  background: var(--bg-card);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,.4));
}

/* Services section: subtle steering-wheel background image at low opacity */
.services { position: relative; }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url('/assets/photos/steering-wheel.jpg') center/cover no-repeat;
  opacity: .12; mix-blend-mode: lighten;
}
.services > .svc { position: relative; z-index: 1; background: rgba(18,18,18,.6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.about__text p { color: rgba(255,255,255,.78); font-size: 1.05rem; margin-bottom: 1.2rem; line-height: 1.65; }
.about__text p.drop::first-letter { color: var(--yellow); font-family: var(--display); font-weight: 900; font-size: 3.4rem; float: left; line-height: 1; padding-right: .4rem; padding-top: .15rem; }
.about__stats { display: flex; gap: 2rem; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.about__stats .stat .num { font-family: var(--display); font-weight: 800; color: var(--yellow); font-size: 2rem; letter-spacing: -.03em; display: block; }
.about__stats .stat .lbl { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- CTA BAND ---------- */
.cta-band { background: var(--yellow); color: var(--ink); padding: clamp(3rem, 8vw, 5rem) var(--pad); text-align: center; }
.cta-band h3 { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; line-height: 1; }
.cta-band p { margin-top: 1rem; font-size: 1.1rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band__actions { margin-top: 2rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER (centered: logo top → 3 column links → bottom strip) ---------- */
.foot {
  background: #050505;
  padding: 5rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.foot::before {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: clamp(60px, 10vw, 100px); height: 2px;
  background: var(--yellow);
}
.foot__brand-block {
  max-width: var(--maxw); margin: 0 auto 3.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center;
}
.foot__logo {
  width: clamp(90px, 14vw, 130px); height: auto;
  filter: drop-shadow(0 0 12px rgba(245,197,24,.18));
}
.foot__brand {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -.025em;
}
.foot__brand .y { color: var(--yellow); }
.foot__tagline {
  color: var(--muted); font-size: .85rem; letter-spacing: .12em;
  text-transform: uppercase;
  max-width: 460px;
}
.foot__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  text-align: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) {
  .foot__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.foot__col h4 {
  font-family: var(--display);
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1.4rem; font-weight: 700;
  position: relative; padding-bottom: .75rem;
}
.foot__col h4::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 1px; background: var(--yellow); opacity: .5;
}
.foot__col a, .foot__col p {
  color: rgba(255,255,255,.65); font-size: .92rem;
  margin: 0 0 .65rem; display: block; line-height: 1.55;
  transition: color .2s;
}
.foot__col a:hover { color: var(--yellow); }
.foot__col a:last-child, .foot__col p:last-child { margin-bottom: 0; }
.foot__social {
  display: flex; gap: .75rem; justify-content: center; margin-top: .9rem;
}
.foot__social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  margin: 0; padding: 0;
  transition: background .2s, border-color .2s, transform .2s;
}
.foot__social a:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.foot__social a:hover svg { fill: var(--ink); }
.foot__social svg { width: 18px; height: 18px; fill: rgba(255,255,255,.7); transition: fill .2s; }

.foot__bottom {
  max-width: var(--maxw); margin: 2rem auto 0;
  display: flex; flex-direction: column; align-items: center;
  gap: .65rem;
  font-size: .8rem; color: var(--muted);
  text-align: center;
}
.foot__bottom a { color: var(--muted); }
.foot__bottom a:hover { color: var(--yellow); }
.foot__credit .agnt { color: var(--yellow); font-weight: 700; letter-spacing: .05em; }

/* ---------- LEASING / RENTAL PAGE HERO ------------ */
.page-hero {
  padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse at 75% 30%, rgba(245,197,24,.08) 0%, transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero .wrap { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  letter-spacing: -.045em; line-height: .92;
  font-weight: 800; text-transform: uppercase;
  margin: 1rem 0 0;
}
.page-hero h1 .y { color: var(--yellow); }
.page-hero__lede {
  margin-top: 1.6rem; max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.78); line-height: 1.55;
}
.page-hero__lede em { font-family: var(--display-italic); font-style: italic; color: var(--yellow); font-weight: 500; }
.page-hero__actions {
  margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap;
}

/* ---------- FAQ (leasing page) ---------------------- */
.faq-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1rem;
}
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }
.faq {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.2rem 1.4rem;
  transition: border-color .2s;
}
.faq[open] { border-color: var(--yellow); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem;
  letter-spacing: -.005em; color: var(--white);
  list-style: none; position: relative; padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: -2px;
  font-size: 1.4rem; color: var(--yellow);
  transition: transform .25s;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  margin: .8rem 0 0; color: rgba(255,255,255,.75);
  font-size: .95rem; line-height: 1.6;
}
.faq strong { color: var(--white); }
.faq em { font-family: var(--display-italic); font-style: italic; color: var(--yellow); }

/* ---------- RENTAL CONDITIONS GRID ------------------ */
.rent-info {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 880px) { .rent-info { grid-template-columns: 1fr; gap: .8rem; } }
.rent-info__col {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.4rem 1.5rem;
}
.rent-info__col h4 {
  color: var(--yellow); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
  margin: 0 0 1rem; padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}
.rent-info__col ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: .6rem;
}
.rent-info__col li {
  color: rgba(255,255,255,.78);
  font-size: .92rem; line-height: 1.5;
  padding-left: 18px; position: relative;
}
.rent-info__col li::before {
  content: "·"; color: var(--yellow); font-weight: 800;
  position: absolute; left: 4px; top: -2px; font-size: 1.4em;
}
.rent-info__col strong { color: var(--white); }

/* ---------- DEAL-TYPE TABS (cars page intro) ---------- */
.deal-tabs {
  display: flex; flex-wrap: wrap; gap: .55rem;
  margin: 1.6rem auto 0;
  max-width: var(--maxw);
  padding-inline: 0;
}
.deal-tab {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem 1.15rem;
  font-family: var(--display);
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.78);
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.deal-tab:hover { color: var(--yellow); border-color: var(--yellow); }
.deal-tab.is-active {
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
  font-weight: 700;
}
.deal-tab__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 7px; border-radius: 999px;
  font-size: .72rem; font-weight: 700;
  background: rgba(0,0,0,.18); color: inherit;
}
.deal-tab:not(.is-active) .deal-tab__count { background: rgba(255,255,255,.06); }
.car { transition: opacity .25s, transform .3s; }
.car.is-hidden { display: none; }

/* ---------- INVENTORY PAGE — FILTERS + GRID ---------- */
.inv-hero { padding: clamp(3rem, 7vw, 5rem) var(--pad) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.inv-hero--photo { min-height: clamp(280px, 32vw, 420px); display: flex; align-items: center; }
.inv-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.inv-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.inv-hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 50%, rgba(10,10,10,.55) 100%);
}
.inv-hero--photo .wrap { position: relative; z-index: 2; width: 100%; }
.inv-hero h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; line-height: 1; max-width: var(--maxw); margin: 1rem auto 0; padding-inline: 0; }
.inv-hero h1 .y { color: var(--yellow); }
.inv-hero p { color: rgba(255,255,255,.7); margin-top: 1rem; max-width: 60ch; }
.inv-hero .wrap > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.inv-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; max-width: var(--maxw); margin: 0 auto; padding: 2.5rem var(--pad); }
@media (max-width: 960px) { .inv-layout { grid-template-columns: 1fr; } }

.filters { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; align-self: start; position: sticky; top: 90px; }
.filters h3 { font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.5rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.filters h3 button { background: transparent; border: 0; color: var(--muted); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.filters h3 button:hover { color: var(--yellow); }
.filter-group { margin-bottom: 1.4rem; }
.filter-group__label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; display: block; font-weight: 500; }
.filter-group select, .filter-group input { width: 100%; background: var(--bg-alt); border: 1px solid var(--line); color: var(--white); padding: .6rem .8rem; border-radius: 8px; font-size: .92rem; transition: border-color .2s; }
.filter-group select:focus, .filter-group input:focus { outline: 0; border-color: var(--yellow); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.filter-chip { background: var(--bg-alt); border: 1px solid var(--line); color: rgba(255,255,255,.7); padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; cursor: pointer; transition: all .2s; user-select: none; }
.filter-chip:hover { border-color: var(--yellow); }
.filter-chip.is-active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-weight: 600; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

/* ---------- INVENTORY FILTERS (public /cars, /leasing, /rental) ---------- */
.inv-filters { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.5rem; margin-bottom: 1.6rem; }
.inv-filters__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem 1rem; }
.inv-filters__field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.inv-filters__field span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.inv-filters__field--narrow { grid-column: span 1; }
.inv-filters input, .inv-filters select {
  width: 100%; background: var(--bg-alt); border: 1px solid var(--line);
  color: var(--white); padding: .7rem .9rem; border-radius: 10px;
  font-size: .95rem; font-family: var(--body); transition: border-color .15s, box-shadow .15s;
  box-sizing: border-box; min-width: 0;
}
.inv-filters input:focus, .inv-filters select:focus {
  outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245,197,24,.15);
}
.inv-filters__actions { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.inv-filters__actions .btn { padding: .7rem 1.6rem; }
.inv-filters__clear { font-size: .85rem; color: var(--muted); text-decoration: underline; }
.inv-filters__clear:hover { color: var(--yellow); }
@media (max-width: 600px) {
  .inv-filters { padding: 1rem 1rem; }
  .inv-filters__row { grid-template-columns: repeat(2, 1fr); }
}

.inv-results { display: flex; flex-direction: column; gap: 1rem; }
.inv-results__bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: .8rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 1rem; }
.inv-results__count { font-size: .9rem; color: var(--muted); }
.inv-results__count strong { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
/* Mobile: ALWAYS 2-up, never single column. Smaller cards but you can scan many cars at once. */
@media (max-width: 720px) {
  .inv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
}
@media (max-width: 380px) {
  .inv-grid { gap: .55rem; }
}
.inv-empty { padding: 4rem 2rem; text-align: center; color: var(--muted); }
.inv-empty h4 { font-family: var(--display); font-size: 1.4rem; color: var(--white); margin-bottom: .5rem; }

/* ---------- CONTACT PAGE ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: var(--maxw); margin: 0 auto; padding: 4rem var(--pad); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon { width: 48px; height: 48px; flex-shrink: 0; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--yellow); font-size: 1.2rem; }
.contact-item h4 { font-family: var(--display); font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--yellow); margin-bottom: .3rem; }
.contact-item p, .contact-item a { color: rgba(255,255,255,.85); font-size: 1rem; }
.contact-item a:hover { color: var(--yellow); }
.contact-form { background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; }
.contact-form h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.form-field input, .form-field textarea, .form-field select { width: 100%; background: var(--bg-alt); border: 1px solid var(--line); color: var(--white); padding: .8rem 1rem; border-radius: 10px; font-size: 1rem; transition: border-color .2s; font-family: var(--body); }
.form-field input:focus, .form-field textarea:focus { outline: 0; border-color: var(--yellow); }
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-field--row { grid-template-columns: 1fr; } }

.map { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--line); margin-top: 2rem; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.6) invert(0.92) hue-rotate(180deg); }

/* ---------- LEGAL / 404 / GENERIC ---------- */
.page-generic { max-width: 760px; margin: 0 auto; padding: 5rem var(--pad); }
.page-generic h1 { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 1.5rem; }
.page-generic h1 .y { color: var(--yellow); }
.page-generic h2 { font-family: var(--display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; margin: 2.5rem 0 1rem; color: var(--yellow); }
.page-generic h3 { font-family: var(--display); font-size: 1.1rem; font-weight: 600; margin: 1.5rem 0 .6rem; }
.page-generic p { color: rgba(255,255,255,.78); margin-bottom: 1rem; line-height: 1.7; }
.page-generic ul { color: rgba(255,255,255,.78); margin: 1rem 0 1rem 1.4rem; line-height: 1.7; }
.page-generic a { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation-duration: 120s; }
  .lpd-splash { animation-delay: 0s; opacity: 0; visibility: hidden; pointer-events: none; }
}
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- WHATSAPP FAB ---------- */
.fab-whatsapp { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,211,102,.35); transition: transform .2s, box-shadow .2s; }
.fab-whatsapp:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.fab-whatsapp svg { width: 30px; height: 30px; }

/* ---------- INQUIRIES / CONTACT FORM (branded LPD yellow + black) ---------- */
form.pp-inquiries-form {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 18px; padding: 2rem;
  position: relative;
}
form.pp-inquiries-form::before {
  content: ""; position: absolute; left: 0; top: 24px; bottom: 24px;
  width: 3px; background: var(--yellow); border-radius: 0 3px 3px 0;
}
form.pp-inquiries-form .pp-form-title {
  font-family: var(--display); font-size: 1.45rem; font-weight: 800;
  letter-spacing: -.01em; color: var(--white);
  margin: 0 0 .4rem;
}
form.pp-inquiries-form > label {
  display: flex; flex-direction: column; gap: .45rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
form.pp-inquiries-form input[type=text],
form.pp-inquiries-form input[type=email],
form.pp-inquiries-form input[type=tel],
form.pp-inquiries-form input[type=url],
form.pp-inquiries-form select,
form.pp-inquiries-form textarea {
  width: 100%; box-sizing: border-box;
  background: var(--bg-alt); color: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  padding: .85rem 1rem; font: 1rem var(--body);
  letter-spacing: 0; text-transform: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
form.pp-inquiries-form input::placeholder,
form.pp-inquiries-form textarea::placeholder { color: rgba(255,255,255,.35); }
form.pp-inquiries-form input:focus,
form.pp-inquiries-form select:focus,
form.pp-inquiries-form textarea:focus {
  outline: 0;
  border-color: var(--yellow);
  background: #0F0F0F;
  box-shadow: 0 0 0 4px rgba(245,197,24,.18);
}
form.pp-inquiries-form textarea { min-height: 130px; resize: vertical; line-height: 1.55; }

form.pp-inquiries-form .pp-checkbox,
form.pp-inquiries-form .pp-consent {
  display: flex; align-items: flex-start; gap: .65rem;
  flex-direction: row;                    /* override the column rule above */
  font-size: .85rem; color: rgba(255,255,255,.78);
  text-transform: none; letter-spacing: 0; font-weight: 400; line-height: 1.5;
}
form.pp-inquiries-form .pp-consent input[type=checkbox] {
  margin-top: 2px; flex-shrink: 0;
  width: 18px; height: 18px;
  accent-color: var(--yellow);
}
form.pp-inquiries-form .pp-consent a { color: var(--yellow); text-decoration: underline; }

form.pp-inquiries-form .pp-form-actions { margin-top: .4rem; }
form.pp-inquiries-form button[type="submit"] {
  background: var(--yellow); color: var(--ink);
  padding: 1rem 2rem; border-radius: 999px;
  font: 700 1rem var(--display); letter-spacing: .04em; text-transform: uppercase;
  border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
form.pp-inquiries-form button[type="submit"]:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,197,24,.3);
}
form.pp-inquiries-form button[type="submit"]:active { transform: translateY(0); }

/* Success / error banners */
form.pp-inquiries-form .pp-alert {
  padding: .9rem 1.1rem; border-radius: 10px;
  font-size: .92rem; line-height: 1.5;
  animation: ppFadeSlide .35s ease-out;
}
form.pp-inquiries-form .pp-alert-ok {
  background: rgba(46, 204, 113, .12); color: #4ade80;
  border-left: 3px solid #2ECC71;
}
form.pp-inquiries-form .pp-alert-ok::before { content: "✓ "; font-weight: 800; }
form.pp-inquiries-form .pp-alert-error {
  background: rgba(231, 76, 60, .12); color: #fca5a5;
  border-left: 3px solid #E74C3C;
}
form.pp-inquiries-form .pp-alert-error::before { content: "✕ "; font-weight: 800; }
@keyframes ppFadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  form.pp-inquiries-form { padding: 1.4rem 1.2rem; border-radius: 14px; }
  form.pp-inquiries-form button[type="submit"] { width: 100%; }
}
