@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060709;
  --fg: #f0f2f5;
  --fg-dim: #b9c0ca;
  --fg-mute: #98a0ac;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.22);
  --silver: linear-gradient(135deg, #ffffff 0%, #c8d0d8 30%, #8a93a0 55%, #cdd6df 80%, #ffffff 100%);
  --card: linear-gradient(180deg, rgba(34, 40, 48, 0.65) 0%, rgba(16, 20, 26, 0.95) 100%);
  --card-glow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 0 42px rgba(255,255,255,0.10), 0 0 14px rgba(255,255,255,0.06), 0 12px 32px rgba(0,0,0,0.45);
  --ok: #45d98a;
  --bad: #ff7a70;
  --green: #25d366;
  --brand: #dd7a39;
  --maxw: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 24px;
  --radius-sm: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Cursor: the system cursor is never hidden; a high-contrast arrow stays visible on the black background */
@media (pointer: fine) {
  html { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M3 2l17 9.2-7.3 1.9-3.4 7.1z' fill='%23ffffff' stroke='%23060709' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 3 2, auto; }
  a, button, label, select, summary, [role="button"], input[type="range"], input[type="checkbox"], .reel {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='7' fill='%23ffffff' stroke='%23060709' stroke-width='2'/%3E%3C/svg%3E") 14 14, pointer;
  }
  input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text; }
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(255,255,255,.6); border-radius: 50%;
  box-shadow: 0 0 18px rgba(255,255,255,.25);
  pointer-events: none; opacity: 0;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), opacity .3s, background-color .25s;
}
.cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(255,255,255,.08); border-color: #fff; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-ring { display: none; } }

:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 2001; background: #fff; color: var(--bg); padding: 10px 18px; border-radius: 99px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.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; }

/* Preloader: fades out on its own after 3.5 s even if scripts never run */
.preloader { position: fixed; inset: 0; z-index: 2000; background: var(--bg); display: grid; place-items: center; animation: preloaderOut .6s ease 3.5s forwards; }
.preloader.is-done { animation: preloaderOut .6s ease forwards; }
.preloader-inner { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.preloader-glow { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 40%, transparent 70%); animation: glowBreathe 2.4s ease-in-out infinite; }
.preloader-ring, .preloader-ring-2 { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.08); }
.preloader-ring { inset: 0; border-top-color: #fff; animation: spin 1.4s linear infinite; }
.preloader-ring-2 { inset: 18px; border-bottom-color: rgba(255,255,255,.7); animation: spin 2.4s linear infinite reverse; }
.preloader img { width: 128px; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 0 24px rgba(255,255,255,.35)); animation: logoPulse 2.4s ease-in-out infinite; }
@keyframes preloaderOut { to { opacity: 0; visibility: hidden; } }
@keyframes glowBreathe { 0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(.95); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
@keyframes logoPulse { 0%, 100% { opacity: .85; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.02); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Ambient layers */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(90px); opacity: .16; }
.aurora span:nth-child(1) { left: -20vmax; top: -25vmax; background: radial-gradient(circle, #9fb3c8 0%, transparent 60%); animation: aurora1 28s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { right: -25vmax; top: 10vh; background: radial-gradient(circle, #ffffff 0%, transparent 60%); opacity: .08; animation: aurora2 34s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { left: 10vw; bottom: -35vmax; background: radial-gradient(circle, #6f7f92 0%, transparent 60%); animation: aurora3 40s ease-in-out infinite alternate; }
@keyframes aurora1 { to { transform: translate(20%, 15%) scale(1.15); } }
@keyframes aurora2 { to { transform: translate(-18%, 22%) scale(.9); } }
@keyframes aurora3 { to { transform: translate(15%, -20%) scale(1.1); } }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .site-footer { position: relative; z-index: 1; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(80px, 10vw, 140px); }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--fg-dim); }
.h1 { font-size: clamp(44px, 6vw, 88px); letter-spacing: -0.04em; line-height: 1.02; }
.h2 { font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -0.03em; line-height: 1.05; }
.accent {
  background: var(--silver); background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #c8d0d8;
  animation: silverShift 8s ease-in-out infinite;
}
@keyframes silverShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--fg-dim); line-height: 1.6; max-width: 34em; }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { grid-column: 1 / -1; }
@media (max-width: 880px) { .section-head { grid-template-columns: 1fr; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border-radius: 99px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-light { background: var(--fg); color: var(--bg); box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 8px 24px rgba(255,255,255,.18); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 14px 34px rgba(255,255,255,.3); }
.btn-ghost { border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--fg); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.btn-green { background: var(--green); color: #03170a; box-shadow: 0 10px 30px rgba(37,211,102,.32); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(37,211,102,.45); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.center { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; }

/* Glass card */
.card { position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-glow); isolation: isolate; }
.sweep::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(140deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 30%, rgba(255,255,255,0) 50%, rgba(255,255,255,.45) 75%, rgba(255,255,255,0) 100%);
  background-size: 220% 220%; animation: frameSweep 10s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
}
@keyframes frameSweep { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(8, 10, 14, .9); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 58px; width: auto; filter: drop-shadow(0 0 14px rgba(255,255,255,.12)); }
.nav { display: flex; gap: 2px; }
.nav a { padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; color: var(--fg-dim); transition: color .2s, background-color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: #fff; background: rgba(255,255,255,.07); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 99px; padding: 3px; }
.lang-switch button { min-width: 38px; min-height: 32px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--fg-dim); }
.lang-switch button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), background-color .2s; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: rgba(6,7,9,.98);
  padding: 20px var(--pad) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 10px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu nav { margin-bottom: 14px; }
.mobile-menu nav a { display: block; padding: 14px 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; }
@media (max-width: 1060px) { .nav, .header-actions .btn-light { display: none; } .menu-toggle { display: grid; } }
@media (max-width: 520px) { :root { --header-h: 64px; } .logo img { height: 48px; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 48px) 0 clamp(64px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { object-position: 70% 50%; animation: kenBurns 24s ease-in-out infinite alternate; transform-origin: 70% 50%; }
@keyframes kenBurns { from { transform: scale(1.02); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,9,.5) 0%, rgba(6,7,9,.05) 35%, rgba(6,7,9,.55) 78%, var(--bg) 100%), linear-gradient(90deg, rgba(6,7,9,.88) 0%, rgba(6,7,9,.35) 45%, rgba(6,7,9,0) 70%); }
.hero .wrap { width: 100%; }
.hero-bottom { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-chip { display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 7px; border: 1px solid var(--line-strong); border-radius: 99px; background: rgba(6,7,9,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; color: var(--fg-dim); }
.hero-chip b { display: block; color: #fff; font-size: 13px; font-weight: 600; }
.hero-chip .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; flex: none; }
.hero-chip .dot svg { width: 16px; height: 16px; }
.hero .eyebrow { margin-top: 24px; }
.hero h1 { margin-top: 18px; max-width: 12.5ch; }
.hero .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-in > * { opacity: 0; transform: translateY(18px); animation: heroIn 1s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: .12s; }
.hero-in > *:nth-child(3) { animation-delay: .24s; }
.hero-in > *:nth-child(4) { animation-delay: .36s; }
.hero-in > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.scroll-indicator { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); pointer-events: none; }
.scroll-indicator .line { width: 1px; height: 44px; background: linear-gradient(180deg, rgba(255,255,255,.4), transparent); position: relative; overflow: hidden; }
.scroll-indicator .line::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: linear-gradient(180deg, #fff, transparent); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(400%); opacity: 0; } }
@media (max-width: 960px) { .hero-bottom { grid-template-columns: 1fr; } .scroll-indicator { display: none; } }

/* Tint demo card (hero) */
.tint-card { padding: 18px; }
.glass { position: relative; width: 100%; aspect-ratio: 1136 / 951; }
.glass > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.bay-view { -webkit-mask: url("../img/3d/hero-mask.png") center / 100% 100% no-repeat; mask: url("../img/3d/hero-mask.png") center / 100% 100% no-repeat; }
.bay-view .sky { fill: #111a26; }
.bay-view .moon { fill: #f0f2f5; }
.bay-view .city rect { fill: #1a2533; }
.bay-view .lights rect { fill: #f3c27a; }
.bay-view .bridge path { fill: none; stroke: var(--brand); stroke-width: 4; }
.bay-view .bridge .deck { stroke-width: 8; }
.bay-view .bridge .tower { stroke-width: 7; }
.bay-view .bridge .hangers { stroke-width: 1.5; }
.bay-view .water { fill: #0b131d; }
.bay-view .ripples { fill: none; stroke: var(--brand); stroke-width: 2; opacity: .45; }
.glass .film { background: #06080b; opacity: var(--film, .6); z-index: 1; -webkit-mask: url("../img/3d/hero-mask.png") center / 100% 100% no-repeat; mask: url("../img/3d/hero-mask.png") center / 100% 100% no-repeat; transition: opacity .35s var(--ease); }
.glass img { z-index: 2; mix-blend-mode: screen; opacity: .6; }
.tint-control { display: grid; gap: 8px; padding: 6px 6px 2px; }
.tint-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tint-row label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }
.tint-row output { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; box-shadow: 0 0 10px currentColor; }
.status[data-state="ok"] { color: var(--ok); }
.status[data-state="bad"] { color: var(--bad); }
.fine { font-size: 12.5px; color: var(--fg-dim); line-height: 1.55; }
.fine a, .text-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #1a1d23, #e8edf5); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #1a1d23, #e8edf5); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--bg); box-shadow: 0 0 0 1px #fff, 0 4px 14px rgba(255,255,255,.35); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--bg); box-shadow: 0 0 0 1px #fff; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: rgba(6,7,9,.6); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 26px; padding: 20px 13px; font-size: clamp(15px, 1.5vw, 19px); font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; color: var(--fg-dim); }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; margin-left: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { padding: 28px 24px; min-height: 240px; display: flex; flex-direction: column; gap: 14px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 0 60px rgba(255,255,255,.16), 0 18px 40px rgba(0,0,0,.5); }
.why-card .num { font-size: 48px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.why-card h3 { margin-top: auto; font-size: 19px; letter-spacing: -0.01em; }
.why-card p { font-size: 13.5px; color: var(--fg-dim); line-height: 1.55; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } .why-card { min-height: 0; } }

/* Services (layout unchanged: bento) */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc-card { grid-column: span 2; display: flex; flex-direction: column; padding: 28px; min-height: 420px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc-card[data-service="tint"], .svc-card[data-service="upholstery"] { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: auto 1fr; column-gap: 20px; }
.svc-card[data-service="tint"] .svc-top, .svc-card[data-service="upholstery"] .svc-top { grid-column: 1 / -1; }
.svc-card[data-service="tint"] .svc-body, .svc-card[data-service="upholstery"] .svc-body { align-self: end; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 0 60px rgba(255,255,255,.14), 0 18px 40px rgba(0,0,0,.5); }
.svc-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 30% 0%, rgba(255,255,255,.08), transparent 70%); }
.svc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc-index { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--fg-mute); }
.svc-art { flex: 1; display: grid; place-items: center; padding: 14px 0; min-height: 190px; }
.svc-art img { max-height: 250px; width: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); transition: transform .8s var(--ease); }
.svc-card[data-service="tint"] .svc-art img, .svc-card[data-service="upholstery"] .svc-art img { max-height: 300px; }
.svc-card:hover .svc-art img { transform: translateY(-8px) rotate(-1.5deg) scale(1.04); }
.svc-card h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; }
.svc-card p { margin-top: 12px; color: var(--fg-dim); font-size: 14.5px; max-width: 32em; }
.svc-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.svc-card .btn { margin-top: 20px; align-self: flex-start; }
.svc-help { grid-column: span 2; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.svc-help h3 { font-size: clamp(26px, 2.2vw, 32px); letter-spacing: -0.03em; }
.svc-help p { color: var(--fg-dim); }
.svc-help .btn { align-self: flex-start; }
@media (max-width: 1060px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-card[data-service="tint"], .svc-card[data-service="upholstery"], .svc-help { grid-column: span 1; }
  .svc-card[data-service="tint"], .svc-card[data-service="upholstery"] { display: flex; }
  .svc-help { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { min-height: 0; padding: 24px; } }

/* Reels (process videos) */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reel { position: relative; display: block; width: 100%; text-align: left; }
.reel-frame { display: block; position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #0b0d11; }
.reel-frame video, .reel-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,7,9,.85)); }
.reel-chip { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(6,7,9,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 11px; font-weight: 600; }
.reel-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s; }
.reel-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); animation: heroPulse 2.4s ease-in-out infinite; }
.reel-play svg { width: 22px; height: 22px; margin-left: 3px; }
.reel:hover .reel-play { transform: scale(1.1); background: rgba(255,255,255,.25); }
.reel-caption { display: block; margin-top: 14px; }
.reel-caption b { display: block; font-weight: 600; font-size: 16px; }
.reel-caption span { display: block; margin-top: 4px; font-size: 13px; color: var(--fg-dim); }
@keyframes heroPulse { 0%, 100% { opacity: .6; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.08); } }
@media (max-width: 1060px) { .reels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .reels { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .reel { scroll-snap-align: start; }
}
dialog.player { border: 0; padding: 0; background: transparent; width: min(420px, 92vw); max-height: 92vh; overflow: visible; }
dialog.player::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
dialog.player video { width: 100%; border-radius: var(--radius); max-height: 86vh; }
dialog.player .close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--bg); font-size: 22px; display: grid; place-items: center; z-index: 2; }

/* Tint law simulator */
.sim { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.sim-stage { padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; align-content: center; }
.car-svg { width: 100%; height: auto; display: block; }
.car-svg .body { fill: #14181e; stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.car-svg .trim { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.5; }
.car-svg .seam { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.5; }
.car-svg .mirror { fill: #14181e; stroke: rgba(255,255,255,.28); stroke-width: 1.5; }
.car-svg .lamp { fill: #fff; }
.car-svg .lamp.tail { fill: var(--bad); }
.car-svg .tire { fill: #07080a; stroke: rgba(255,255,255,.2); stroke-width: 2; }
.car-svg .rim { fill: #14181e; stroke: #c8d0d8; stroke-width: 2; }
.car-svg .glass-base { fill: #a9c4dc; }
.car-svg .win { fill: #05070a; stroke: rgba(255,255,255,.55); stroke-width: 1.2; transition: fill-opacity .45s var(--ease); }
.car-svg .win.is-active, .car-svg .win:hover { stroke: #fff; stroke-width: 2.5; }
.car-svg .strip { fill: #05070a; }
.sim-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sim-panel { padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; align-content: start; }
.zone { display: grid; gap: 6px; }
.zone-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.zone-head label, .zone-head .zl { font-size: 14px; font-weight: 600; }
.zone-head output { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ws-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; color: var(--fg-dim); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: #fff; color: #fff; }
.chip[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.sim-summary { position: relative; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); font-size: 14px; color: var(--fg-dim); }
.sim-summary strong { display: block; color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.sim-summary[data-state="ok"] { border-color: rgba(69,217,138,.55); }
.sim-summary[data-state="bad"] { border-color: rgba(255,122,112,.6); }
@media (max-width: 960px) { .sim { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); transition: border-color .2s, background-color .2s, box-shadow .3s; }
.faq details[open] { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.04); box-shadow: 0 0 30px rgba(255,255,255,.06); }
.faq summary { list-style: none; padding: 20px 24px; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; line-height: 1; transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--fg-dim); font-size: 15px; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }

/* Booking */
.book { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 32px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); transition: border-color .2s, background-color .2s; }
a.contact-item:hover { border-color: #fff; background: rgba(255,255,255,.05); }
.contact-item > svg { width: 22px; height: 22px; flex: none; }
.contact-item small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); }
.contact-item b { font-size: 16px; font-weight: 600; }
.form { padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field.full, .form fieldset, .form .check, .form .btn, .form-status, .notice { grid-column: 1 / -1; }
.field label, .form legend { font-size: 13px; font-weight: 600; }
.optional { font-weight: 500; color: var(--fg-mute); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; font-size: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line-strong); border-radius: 14px; transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.06); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { margin-bottom: 10px; padding: 0; }
.svc-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; }
.svc-checks label { position: relative; }
.svc-checks input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.svc-checks span { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 14px; font-size: 14px; font-weight: 500; transition: border-color .2s, background-color .2s; }
.svc-checks span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--fg-dim); flex: none; }
.svc-checks input:checked + span { border-color: #fff; background: rgba(255,255,255,.08); }
.svc-checks input:checked + span::before { background: #fff; border-color: #fff; box-shadow: inset 0 0 0 3px var(--bg); }
.svc-checks input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
fieldset[aria-invalid="true"] .svc-checks span { border-color: var(--bad); }
.err { font-size: 12.5px; color: var(--bad); font-weight: 500; }
.err:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 12.5px; color: var(--fg-dim); line-height: 1.55; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #fff; }
.notice { font-size: 12.5px; color: var(--fg-dim); }
.notice a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .6; }
.form-status { padding: 14px 18px; border-radius: 14px; font-size: 14px; }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { background: rgba(69,217,138,.1); border: 1px solid rgba(69,217,138,.55); }
.form-status[data-state="error"] { background: rgba(255,122,112,.1); border: 1px solid rgba(255,122,112,.55); }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Final CTA */
.cta-final .h1 { max-width: 13ch; }
.cta-final .hero-cta { margin-top: 36px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); background: rgba(6,7,9,.6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h2 { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 18px; }
.foot-grid ul { display: grid; gap: 12px; }
.foot-grid ul a { font-size: 14px; color: var(--fg-dim); transition: color .2s; }
.foot-grid ul a:hover { color: #fff; }
.foot-brand img { width: 140px; height: auto; }
.foot-brand p { margin: 16px 0 0; font-size: 13.5px; color: var(--fg-dim); max-width: 26em; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-mute); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-bottom a:hover { color: #fff; }
.page-legal .site-footer { padding-top: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Floating call button */
.fab {
  position: fixed; z-index: 40; right: clamp(16px, 2.5vw, 28px); bottom: calc(clamp(16px, 2.5vw, 28px) + env(safe-area-inset-bottom, 0px));
  width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--bg); display: grid; place-items: center;
  box-shadow: 0 16px 48px rgba(255,255,255,.22), 0 6px 18px rgba(0,0,0,.45);
  transition: transform .25s ease, opacity .3s, visibility .3s;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 26px; height: 26px; }
.fab::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); animation: callPulse 1.8s ease-out infinite; }
.fab.is-hidden { opacity: 0; visibility: hidden; transform: scale(.8); }
@keyframes callPulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.stagger > .reveal:nth-child(6) { transition-delay: .4s; }
.stagger > .reveal:nth-child(7) { transition-delay: .48s; }

[data-mt] { margin-top: 22px; }
[data-mt-sm] { margin-top: 10px; }

/* Legal pages */
.legal { padding-top: calc(var(--header-h) + 64px); padding-bottom: 96px; }
.legal article { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; margin: 16px 0 12px; }
.legal .updated { color: var(--fg-mute); font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 12px; font-weight: 600; line-height: 1.25; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; font-weight: 600; line-height: 1.3; }
.legal p, .legal li, .legal td { color: var(--fg-dim); font-size: 15.5px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin: 12px 0; }
.legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.legal .btn { text-decoration: none; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--fg-mute); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }
[data-lang-block] { display: none; }
html[lang="en"] [data-lang-block="en"], html[lang="es"] [data-lang-block="es"] { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .preloader { display: none; }
}

/* Simulator panes: four real glass renders instead of a drawing */
.panes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pane { margin: 0; }
.glass.sm .bay { -webkit-mask: url("../img/3d/hero-mask.png") center / 100% 100% no-repeat; mask: url("../img/3d/hero-mask.png") center / 100% 100% no-repeat; object-fit: fill; }
.glass .film.win { transition: opacity .45s var(--ease), clip-path .45s var(--ease); outline-offset: 6px; }
.glass .film.is-strip { clip-path: inset(0 0 84% 0); }
.pane .shine { z-index: 2; mix-blend-mode: screen; opacity: .6; pointer-events: none; }
.pane.is-active .glass { filter: drop-shadow(0 0 18px rgba(255,255,255,.28)); }
.pane figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; font-size: 13px; font-weight: 600; }
.pane figcaption output { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pane figcaption output[data-state="ok"] { color: var(--ok); }
.pane figcaption output[data-state="bad"] { color: var(--bad); }
.glass .film.win:focus-visible { outline: 2px solid #fff; }
.glass img.bay { z-index: 0; mix-blend-mode: normal; opacity: 1; }

/* Reels look finished before their video arrives: the 3D still sits underneath, the video fades in once it has frames */
.reel-frame { background: radial-gradient(80% 60% at 50% 40%, rgba(255,255,255,.07), transparent 70%), #0b0d11; }
.reel-frame .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-bg video.is-ready { opacity: 1; }

/* Video backgrounds behind section headers, fading into the page */
.has-bg { position: relative; isolation: isolate; }
.section-bg { position: absolute; inset: 0 0 auto 0; height: min(100%, 820px); z-index: -1; overflow: hidden; -webkit-mask: linear-gradient(180deg, transparent 0%, #000 18%, #000 55%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 18%, #000 55%, transparent 100%); }
.section-bg video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); filter: saturate(.8); }
.section-bg video.is-ready { opacity: .38; }
.section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,9,.85) 0%, rgba(6,7,9,.45) 60%, rgba(6,7,9,.7) 100%); }
.cta-final .section-bg { height: 100%; -webkit-mask: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%); }
.cta-final .section-bg video.is-ready { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .section-bg video { opacity: .3; } }

/* Service cards: full-bleed Full HD photo, copy at the bottom (grid unchanged) */
.svc-card, .svc-card[data-service="tint"], .svc-card[data-service="upholstery"] { display: flex; flex-direction: column; justify-content: space-between; min-height: 460px; }
.svc-photo { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transform: scale(1.02); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,7,9,.35) 0%, rgba(6,7,9,.15) 35%, rgba(6,7,9,.92) 78%, rgba(6,7,9,.98) 100%); }
.svc-card:hover .svc-photo img { opacity: .85; transform: scale(1.07); }
.svc-card .svc-body { position: relative; }
.svc-card .svc-top { position: relative; }
.svc-index { color: var(--fg-dim); }
@media (max-width: 620px) { .svc-card, .svc-card[data-service="tint"], .svc-card[data-service="upholstery"] { min-height: 420px; } }
.svc-card[data-service="tint"] .svc-body, .svc-card[data-service="upholstery"] .svc-body { align-self: flex-start; max-width: 36em; }

/* Permanent WhatsApp free-estimate button, next to the call button */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(clamp(16px, 2.5vw, 28px) + 78px); bottom: calc(clamp(16px, 2.5vw, 28px) + 8px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px 10px 16px;
  border-radius: 99px; background: var(--green); color: #03170a; font-size: 14px; font-weight: 700;
  box-shadow: 0 12px 34px rgba(37,211,102,.4), 0 6px 18px rgba(0,0,0,.45);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float svg { width: 22px; height: 22px; flex: none; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37,211,102,.55), 0 6px 18px rgba(0,0,0,.45); }
@media (max-width: 520px) { .wa-float { font-size: 13px; padding: 10px 16px 10px 12px; } }
.wa-float { transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .3s, visibility .3s; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(10px); }

/* Seven services: last row is upholstery, carpet and the help card */
.svc-card[data-service="upholstery"] { grid-column: span 2; }
@media (max-width: 1060px) { .svc-card[data-service="upholstery"] { grid-column: span 1; } }

/* Touch screens: solid silver accent so forced-dark modes and clip bugs can't make it unreadable */
:root { color-scheme: dark only; }
@media (hover: none), (max-width: 760px) {
  .accent { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: #d6dce4; color: #d6dce4; animation: none; }
}
