/* ==========================================================================
   Leo's Mobile Windows Tint — design system
   Palette sampled from the official logo: navy wordmark, shield blue,
   sunburst gold, silver truck and warm cream background.
   ========================================================================== */
:root {
  --navy-950: #071521;
  --navy-900: #0b1d2c;
  --navy-800: #10283b;
  --navy: #13334a;          /* logo wordmark */
  --blue: #1d4b6d;          /* logo shield */
  --blue-400: #3a77a6;
  --gold: #d4a452;          /* logo sunburst */
  --gold-600: #b5862f;
  --gold-300: #ecd08f;
  --gold-100: #f7ecd2;
  --cream: #f9f6ec;         /* logo background */
  --cream-200: #f1eadb;
  --silver: #c0cbd1;        /* logo truck */
  --white: #ffffff;
  --ink: #13232f;
  --ink-2: #4c5c68;
  --line: rgba(19, 51, 74, .12);
  --line-dark: rgba(255, 255, 255, .12);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 29, 44, .06);
  --shadow: 0 12px 36px -12px rgba(11, 29, 44, .22);
  --shadow-lg: 0 30px 70px -24px rgba(11, 29, 44, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 78px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--cream); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
main, .footer { overflow-x: clip; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--gold); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--white); }
.section--cream2 { background: var(--cream-200); }
.section--dark { background: var(--navy-900); color: #d9e2e8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #b9c7d1; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 700 .78rem/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.head--center { text-align: center; margin-inline: auto; }
.head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); }
.section--dark .lead { color: #b9c7d1; }
.gold-text { background: linear-gradient(100deg, var(--gold-300), var(--gold) 45%, var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--navy-900);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: 999px; overflow: hidden; isolation: isolate;
  font: 700 .98rem/1.1 var(--font-head); letter-spacing: .01em; white-space: nowrap;
  background: var(--bg); color: var(--fg); box-shadow: 0 10px 26px -12px rgba(212, 164, 82, .8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(212, 164, 82, .95); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--navy { --bg: var(--navy); --fg: #fff; box-shadow: 0 10px 26px -12px rgba(19, 51, 74, .7); }
.btn--navy:hover { box-shadow: 0 16px 34px -12px rgba(19, 51, 74, .8); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px #fff; }
.btn--outline { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--outline:hover { --bg: var(--navy); --fg: #fff; box-shadow: inset 0 0 0 2px var(--navy); }
.btn--wa { --bg: #1fae5b; --fg: #fff; box-shadow: 0 10px 26px -12px rgba(31, 174, 91, .8); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem var(--font-head); color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(249, 246, 236, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .4s, border-color .4s, height .4s var(--ease);
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 29, 44, .35); border-color: var(--line); --header-h: 68px; height: 68px; }
.header__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 54px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 1.45rem/1 var(--font-head); color: var(--navy); letter-spacing: .02em; }
.brand__tag { font: 600 .72rem/1.2 var(--font-head); color: var(--blue); letter-spacing: .04em; margin-top: 4px; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav__drop > button { white-space: nowrap;
  position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none;
  font: 600 .92rem/1 var(--font-head); color: var(--navy); border-radius: 8px;
}
.nav > ul > li > a::after, .nav__drop > button::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > ul > li > a:hover::after, .nav > ul > li > a[aria-current="page"]::after, .nav__drop:hover > button::after, .nav__drop > button.is-current::after { transform: scaleX(1); }
.nav__drop { position: relative; }
.nav__drop svg { width: 14px; height: 14px; transition: transform .3s; }
.nav__drop:hover svg, .nav__drop:focus-within svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 270px; padding: 10px; list-style: none; margin: 0;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all .3s var(--ease);
}
.nav__menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__menu a { padding: 12px 14px; font-weight: 600; }
.nav__menu a:hover { background: var(--cream); color: var(--blue); }
.nav__menu--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 440px; }
.header__cta { display: flex; align-items: center; gap: 12px; }

/* Language switch */
.lang {
  display: inline-flex; align-items: center; padding: 4px; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); font: 700 .74rem/1 var(--font-head); letter-spacing: .08em;
}
.lang a { padding: 8px 11px; border-radius: 999px; color: var(--ink-2); transition: background .3s, color .3s; }
.lang a[aria-current="true"] { background: var(--navy); color: #fff; }
.lang a:not([aria-current="true"]):hover { color: var(--navy); background: var(--cream-200); }
.lang__sep { width: 1px; height: 14px; background: var(--line); margin: 0 2px; }
.footer .lang { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark); }
.footer .lang a { color: #b9c7d1; }
.footer .lang a[aria-current="true"] { background: var(--gold); color: var(--navy-900); }

.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--navy); position: relative; flex: none; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 420px) {
  .brand img { width: 44px; } .brand__name { font-size: 1.2rem; } .brand__tag { font-size: .62rem; }
  .header .lang { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99; padding: calc(var(--header-h) + 16px) var(--gutter) 120px; overflow-y: auto;
  background: var(--navy-900); color: #fff; visibility: hidden; clip-path: circle(0 at calc(100% - 40px) 38px);
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .drawer { visibility: visible; clip-path: circle(150% at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease); }
.menu-open { overflow: hidden; }
.drawer__lang { margin-bottom: 22px; }
.drawer .lang { background: rgba(255, 255, 255, .08); box-shadow: none; }
.drawer .lang a { color: #cfd9e0; padding: 11px 16px; }
.drawer .lang a[aria-current="true"] { background: var(--gold); color: var(--navy-900); }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav > ul > li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease); }
.menu-open .drawer nav > ul > li { opacity: 1; transform: none; transition-delay: calc(.15s + var(--i) * .05s); }
.drawer nav > ul > li > a, .drawer summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font: 700 1.2rem var(--font-head); cursor: pointer; list-style: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary svg { width: 18px; transition: transform .3s; }
.drawer details[open] summary svg { transform: rotate(180deg); }
.drawer details ul { padding: 0 0 14px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.drawer details a { display: block; padding: 8px 0; color: #b9c7d1; font-weight: 500; }
.drawer__cta { display: grid; gap: 12px; margin-top: 28px; }
.drawer__cta .btn { width: 100%; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 90px; background: var(--navy-950); color: #fff; isolation: isolate;
}
.hero__bg { position: absolute; inset: -8% 0 0; z-index: -3; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 21, 33, .94) 0%, rgba(7, 21, 33, .78) 42%, rgba(7, 21, 33, .25) 75%, rgba(7, 21, 33, .45) 100%),
    linear-gradient(0deg, rgba(7, 21, 33, .85), transparent 45%);
}
.sunburst {
  position: absolute; z-index: -1; width: 1400px; aspect-ratio: 1; right: -420px; top: 50%; translate: 0 -50%;
  background: repeating-conic-gradient(from 0deg, rgba(212, 164, 82, .11) 0deg 5deg, transparent 5deg 12deg);
  -webkit-mask: radial-gradient(circle, #000 0 18%, rgba(0, 0, 0, .6) 38%, transparent 66%);
  mask: radial-gradient(circle, #000 0 18%, rgba(0, 0, 0, .6) 38%, transparent 66%);
  animation: spin 120s linear infinite; pointer-events: none; mix-blend-mode: screen;
}
@keyframes spin { to { rotate: 360deg; } }
.hero__content { max-width: 800px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; animation-delay: calc(.25s + var(--i, 0) * .14s); }
@keyframes lineUp { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__text { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #c6d3dc; max-width: 600px; margin-bottom: 34px; }
.anim-in { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, .6s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero__chips li { display: flex; align-items: center; gap: 10px; font: 600 .92rem var(--font-head); color: #dfe7ec; list-style: none; }
.hero__chips svg { width: 20px; height: 20px; color: var(--gold); }
.hero__chips ul { display: contents; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + 48px) 0 72px; }
  .hero::before { background: linear-gradient(0deg, rgba(7, 21, 33, .95) 10%, rgba(7, 21, 33, .7) 60%, rgba(7, 21, 33, .55)); }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .sunburst { width: 900px; right: -500px; }
  .scroll-cue { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy-900);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 100px)) 0 clamp(56px, 8vw, 96px);
}
.page-hero__bg { position: absolute; inset: -10% 0 0; z-index: -2; will-change: transform; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) both; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 21, 33, .95) 20%, rgba(11, 29, 44, .72) 60%, rgba(11, 29, 44, .5)); }
.page-hero .sunburst { width: 1000px; right: -380px; z-index: -1; opacity: .8; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.5rem); max-width: 860px; }
.page-hero p { color: #c6d3dc; max-width: 680px; font-size: clamp(1rem, 1.4vw, 1.18rem); margin-bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font: 600 .82rem var(--font-head); color: #9fb2bf; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gold); }
.crumbs a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(212, 164, 82, .5); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 21, 33, .55), transparent 55%); }
.card__badge { position: absolute; left: 18px; bottom: 16px; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gold); color: var(--navy-900); box-shadow: var(--shadow); }
.card__badge svg { width: 26px; height: 26px; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body p { color: var(--ink-2); }
.card__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding-top: 8px; }

.feature { padding: 30px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--blue-400)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature:hover::before { transform: scaleX(1); }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--gold-300); transition: transform .5s var(--ease); }
.feature:hover .feature__icon { transform: rotate(-8deg) scale(1.06); }
.feature__icon svg { width: 28px; height: 28px; }
.feature p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.section--dark .feature { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); }
.section--dark .feature p { color: #a9bac6; }
.section--dark .feature__icon { background: rgba(212, 164, 82, .14); color: var(--gold); }

/* ---------- Media frame ---------- */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; background: var(--navy-800); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame-wrap { position: relative; }
.frame-wrap::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; border-radius: var(--r-lg); border: 2px solid var(--gold); z-index: -1; opacity: .7; }
.frame__tag { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(7, 21, 33, .7); backdrop-filter: blur(8px); color: #fff; font: 600 .78rem var(--font-head); }

/* ---------- Check list ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1d2c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checks strong { color: var(--navy); font-family: var(--font-head); }
.section--dark .checks strong { color: #fff; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 44px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); opacity: .5; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step__num { counter-increment: s; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; position: relative; background: var(--navy-800); border: 2px solid var(--gold); color: var(--gold); font: 800 1.9rem var(--font-head); box-shadow: 0 0 0 10px var(--navy-900); }
.step__num::before { content: "0" counter(s); }
.step:hover .step__num { animation: pulseRing 1.2s var(--ease); }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 10px var(--navy-900), 0 0 0 10px rgba(212, 164, 82, .6); } 100% { box-shadow: 0 0 0 10px var(--navy-900), 0 0 0 28px rgba(212, 164, 82, 0); } }
@media (max-width: 760px) { .steps::before { display: none; } }

/* ---------- Area marquee & chips ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 700 .95rem var(--font-head); color: var(--navy); white-space: nowrap; transition: background .3s, color .3s, transform .4s var(--ease), border-color .3s; }
.chip svg { width: 18px; height: 18px; color: var(--gold-600); }
.chip:hover { background: var(--navy); color: #fff; transform: translateY(-3px); border-color: var(--navy); }
.chip:hover svg { color: var(--gold); }
.area-card { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.area-card strong { font: 800 1.15rem var(--font-head); color: var(--navy); display: flex; align-items: center; justify-content: space-between; }
.area-card strong svg { width: 20px; color: var(--gold-600); transition: transform .3s var(--ease); }
.area-card:hover strong svg { transform: translateX(4px); }
.area-card span { color: var(--ink-2); font-size: .92rem; }
.area-card--hub { background: linear-gradient(135deg, var(--navy), var(--blue)); border: 0; }
.area-card--hub strong { color: #fff; }
.area-card--hub span { color: #c6d3dc; }
.area-card--hub em { font-style: normal; align-self: flex-start; font: 700 .7rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--navy-900); padding: 5px 10px; border-radius: 999px; }

/* ---------- Tint preview ---------- */
.tint { border-radius: var(--r-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.tint__stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tint__stage img { width: 100%; height: 100%; object-fit: cover; }
.tint__glass { position: absolute; inset: 0 0 0 50%; background: rgba(5, 12, 20, var(--a)); transition: background .35s var(--ease); border-left: 3px solid var(--gold); }
.tint__glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .12) 42%, transparent 54%); }
.tint__glass::before { content: ""; position: absolute; left: -15px; top: 50%; width: 27px; height: 27px; margin-top: -13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(212, 164, 82, .3); }
.tint__side { position: absolute; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(7, 21, 33, .75); color: #fff; font: 700 .78rem var(--font-head); backdrop-filter: blur(6px); }
.tint__side--l { left: 16px; } .tint__side--r { right: 16px; color: var(--gold-300); }
.tint__label { position: absolute; top: 18px; left: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(7, 21, 33, .75); color: #fff; font: 700 .85rem var(--font-head); backdrop-filter: blur(6px); }
.tint__controls { padding: 22px 24px 24px; color: #c6d3dc; }
.tint__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; font: 600 .9rem var(--font-head); }
.tint__row output { font: 800 1.6rem var(--font-head); color: var(--gold); }
.tint input[type="range"] { width: 100%; accent-color: var(--gold); height: 28px; cursor: pointer; }
.tint__steps { display: flex; justify-content: space-between; font: 600 .75rem var(--font-head); color: #8ea2b0; margin-top: 4px; }
.tint__note { font-size: .82rem; color: #8ea2b0; margin: 14px 0 0; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 700 .88rem var(--font-head); color: var(--navy); transition: all .3s var(--ease); }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow); }
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery--grid { columns: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery--grid .g-item { margin: 0; }
.gallery--grid .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery--grid .g-item img { aspect-ratio: 1; height: 100%; }
@media (max-width: 860px) { .gallery--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; break-inside: avoid; background: var(--navy-800); cursor: zoom-in; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.g-item img { width: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; text-align: left; background: linear-gradient(0deg, rgba(7, 21, 33, .9), transparent); color: #fff; font: 600 .88rem var(--font-head); transform: translateY(8px); opacity: 0; transition: all .45s var(--ease); }
.g-item figcaption small { display: block; color: var(--gold-300); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; opacity: 1; }
@media (hover: none) { .g-item figcaption { opacity: 1; transform: none; } }
.g-item.is-hidden { display: none; }
.g-item.is-leaving { opacity: 0; transform: scale(.94); }
.g-item.is-entering { animation: gIn .5s var(--ease) both; }
@keyframes gIn { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.g-zoom { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--navy); opacity: 0; transform: scale(.7); transition: all .4s var(--ease); }
.g-zoom svg { width: 18px; }
.g-item:hover .g-zoom { opacity: 1; transform: none; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--r); background: var(--gold-100); border: 1px solid rgba(212, 164, 82, .45); color: #5b4518; font-size: .94rem; margin-bottom: 32px; }
.notice svg { width: 22px; flex: none; margin-top: 2px; color: var(--gold-600); }
.notice p { margin: 0; }
.notice--blue { background: #e8f0f6; border-color: rgba(29, 75, 109, .25); color: var(--navy); }
.notice--blue svg { color: var(--blue); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 70px 70px 90px; background: rgba(4, 12, 19, .94); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .4s; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: center; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: calc(100svh - 190px); width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox img.swap { animation: lbSwap .45s var(--ease); }
@keyframes lbSwap { from { opacity: 0; transform: translateX(var(--dir, 20px)); } }
.lightbox figcaption { color: #dfe7ec; margin-top: 16px; text-align: center; font: 600 .95rem var(--font-head); }
.lightbox figcaption span { color: var(--gold); margin-left: 10px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.lb-btn:hover { background: var(--gold); color: var(--navy-900); transform: scale(1.06); }
.lb-btn svg { width: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) { .lightbox { padding: 64px 12px 110px; } .lb-prev, .lb-next { top: auto; bottom: 24px; translate: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .4s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: rgba(212, 164, 82, .55); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; font: 700 1.05rem/1.35 var(--font-head); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream-200); position: relative; transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--gold); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq__a { padding: 0 24px 22px; color: var(--ink-2); }
.faq__a p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px); background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, var(--blue)); color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #c6d3dc; margin: 0; max-width: 560px; }
.cta-band .sunburst { width: 900px; right: -300px; opacity: .9; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }
@media (max-width: 520px) { .cta-band .btn { flex: 1 1 100%; } }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; position: relative; }
.field > label, .field legend { font: 700 .88rem var(--font-head); color: var(--navy); }
.field .opt { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #d8dee3; background: var(--cream);
  transition: border-color .25s, box-shadow .25s, background .25s; font-size: 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8c3cb; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29, 75, 109, .12); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c2412d; background: #fff7f5; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.field__err { font-size: .82rem; color: #b3341f; font-weight: 600; min-height: 0; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; min-height: 0; cursor: pointer; margin: 0; }
.pills span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; border: 1.5px solid #d8dee3; background: var(--cream); font: 600 .9rem var(--font-head); color: var(--navy); transition: all .25s; }
.pills input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.cond { display: none; }
.cond.is-shown { display: flex; animation: fadeUp .5s var(--ease); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.form-foot small { color: var(--ink-2); flex: 1 1 260px; }
.form-foot small a { color: var(--blue); text-decoration: underline; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"]::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spinA .7s linear infinite; }
@keyframes spinA { to { transform: rotate(360deg); } }
.form-msg { display: none; margin-top: 20px; padding: 18px 20px; border-radius: 14px; font-weight: 600; }
.form-msg.is-ok { display: flex; gap: 12px; background: #e9f7ef; color: #14532d; border: 1px solid #a7dcbc; animation: fadeUp .5s var(--ease); }
.form-msg.is-err { display: block; background: #fdf0ed; color: #8a2615; border: 1px solid #f1b8ab; animation: fadeUp .5s var(--ease); }
.form-msg a { text-decoration: underline; }

/* Contact cards */
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.contact-card__icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--gold-300); }
.contact-card__icon--wa { background: #1fae5b; color: #fff; }
.contact-card__icon svg { width: 26px; }
.contact-card small { display: block; font: 700 .75rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.contact-card strong { font: 700 1.05rem var(--font-head); color: var(--navy); word-break: break-word; }

/* Reviews empty state */
.empty { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px); border-radius: var(--r-lg); background: #fff; border: 2px dashed rgba(212, 164, 82, .55); }
.stars { display: inline-flex; gap: 6px; color: var(--gold); margin-bottom: 16px; }
.stars svg { width: 30px; animation: starPop .6s var(--ease) both; animation-delay: calc(var(--i) * .1s); }
@keyframes starPop { from { transform: scale(0) rotate(-40deg); opacity: 0; } }

/* Prose (legal / about) */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--blue); text-decoration: underline; }
.legal-flag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--gold-100); color: #7a5a1c; font: 700 .75rem var(--font-head); letter-spacing: .04em; }

/* Note box (e.g. headlight compliance) */
.callout { display: flex; gap: 18px; padding: 24px 26px; border-radius: var(--r); background: var(--navy-900); color: #c6d3dc; border-left: 4px solid var(--gold); }
.callout svg { width: 28px; flex: none; color: var(--gold); }
.callout strong { color: #fff; font-family: var(--font-head); display: block; margin-bottom: 4px; }
.callout p { margin: 0; }

/* Stat-free highlight strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); margin-top: -56px; position: relative; z-index: 2; border: 1px solid var(--line); }
.strip > div { padding: 26px 24px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.strip > div:last-child { border: 0; }
.strip svg { width: 34px; height: 34px; flex: none; color: var(--gold-600); }
.strip strong { display: block; font: 800 1rem var(--font-head); color: var(--navy); line-height: 1.2; }
.strip span { font-size: .86rem; color: var(--ink-2); line-height: 1.35; display: block; margin-top: 2px; }
@media (max-width: 960px) { .strip { grid-template-columns: 1fr 1fr; } .strip > div:nth-child(2) { border-right: 0; } .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .strip { grid-template-columns: 1fr; margin-top: -36px; } .strip > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--navy-950); color: #9fb2bf; padding: clamp(64px, 8vw, 100px) 0 0; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue)); }
.footer__grid { display: grid; grid-template-columns: 1.25fr .95fr 1.45fr 1.25fr; gap: 36px; }
.footer__brand-badge { display: inline-block; padding: 14px 18px; border-radius: 18px; background: var(--cream); margin-bottom: 20px; }
.footer__brand-badge img { width: 150px; }
.footer h3 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--gold); }
.footer__areas { grid-template-columns: 1fr 1fr; column-gap: 14px; }
.footer__areas a { white-space: nowrap; font-size: .94rem; }
.footer__contact a, .footer__contact span { font-size: .94rem; overflow-wrap: anywhere; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 18px; flex: none; margin-top: 4px; color: var(--gold); }
.footer__bottom { margin-top: 56px; padding: 24px 0 28px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: .88rem; align-items: center; }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { padding-bottom: 100px; } }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #1fae5b; color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 174, 91, .8); transition: transform .4s var(--ease); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fae5b; animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 32px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .fab { display: none; }
  .mobile-bar { position: fixed; inset: auto 10px 10px; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(7, 21, 33, .92); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .5s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 14px; font: 700 .86rem var(--font-head); color: #fff; background: rgba(255, 255, 255, .08); }
  .mobile-bar a svg { width: 18px; }
  .mobile-bar a.wa { background: #1fae5b; }
  .mobile-bar a.q { background: var(--gold); color: var(--navy-900); }
  .menu-open .mobile-bar { transform: translateY(140%); }
}

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 98px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; }
.to-top:hover { background: var(--gold); color: var(--navy-900); }
@media (max-width: 760px) { .to-top { display: none; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0); }

/* Page transition (fallback for browsers without view transitions) */
.page-fade { position: fixed; inset: 0; z-index: 500; background: var(--cream); pointer-events: none; opacity: 0; transition: opacity .3s; }
.is-leaving .page-fade { opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .img-reveal { opacity: 1; transform: none; clip-path: none; }
  .sunburst, .marquee__track { animation: none !important; }
}
