/* ===== styles/global.css ===== */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/fonts/archivo-wdth.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ Design tokens ============ */
:root {
  --ink: #0a0b0d;
  --ink-2: #111317;
  --char: #16181d;
  --char-2: #1d2027;
  --char-3: #262a32;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef0;
  --muted: #9aa1aa;
  --silver: #c7cbd1;
  --steel: #6f7680;
  --red: #e3202e;
  --red-hot: #ff3b47;
  --red-deep: #a8121d;
  --red-glow: rgba(227, 32, 46, 0.35);
  --wa: #25d366;

  --light-bg: #f3f4f6;
  --light-card: #ffffff;
  --light-text: #14161a;
  --light-muted: #5a616b;
  --light-line: #e2e5e9;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  --font: 'Archivo Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  color-scheme: dark;
}

/* ============ Base ============ */
*, *::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);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main, footer { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
.icon { flex: none; }
[hidden] { display: none !important; }
.split > *, .grid > *, .container > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.08; font-weight: 800; letter-spacing: -0.01em; font-stretch: 112%; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6.2vw, 4.6rem); font-stretch: 120%; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-stretch: 105%; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============ Layout ============ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--alt { background: var(--ink-2); }
.section--light { background: var(--light-bg); color: var(--light-text); color-scheme: light; }
.section--light .muted, .section--light .lead { color: var(--light-muted); }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }

.eyebrow {
  display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red-hot); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--light .eyebrow { color: var(--red); }

.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.sec-head--row > div { max-width: 680px; }
.sec-head p { margin-bottom: 0; }

.metal {
  background: linear-gradient(180deg, #ffffff 0%, #d9dce0 45%, #8f959d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.red { color: var(--red-hot); }
.section--light .red { color: var(--red); }

.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .split--top { align-items: start; } .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr 0.85fr; } }

/* ============ Buttons ============ */
.btn {
  --bg: var(--red); --fg: #fff; --bd: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 12px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--red-glow); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn--wa { --bg: var(--wa); --fg: #062b13; }
.btn--wa:hover { box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.45); }
.btn--ghost { --bg: rgba(255, 255, 255, 0.04); --fg: var(--text); --bd: var(--line-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bd: rgba(255, 255, 255, 0.3); box-shadow: none; }
.section--light .btn--ghost { --bg: #fff; --fg: var(--light-text); --bd: var(--light-line); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn-row > .btn { flex: 1 1 100%; } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.link-arrow .icon { transition: transform 0.3s var(--ease); color: var(--red-hot); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--light .link-arrow { color: var(--light-text); }

/* ============ Cards ============ */
.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--char) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(227, 32, 46, 0.45); box-shadow: 0 30px 60px -30px var(--red-glow); }
.section--light .card { background: var(--light-card); border-color: var(--light-line); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.section--light .card:hover { border-color: rgba(227, 32, 46, 0.4); box-shadow: 0 24px 48px -28px rgba(20, 22, 26, 0.35); }

.icon-badge {
  width: 52px; height: 52px; flex: none; border-radius: 14px;
  display: grid; place-items: center; color: var(--red-hot);
  background: radial-gradient(circle at 30% 20%, rgba(227, 32, 46, 0.22), rgba(227, 32, 46, 0.06));
  border: 1px solid rgba(227, 32, 46, 0.28);
  transition: transform 0.5s var(--ease);
}
.card:hover .icon-badge { transform: rotate(-8deg) scale(1.06); }
.section--light .icon-badge { color: var(--red); background: #fdecee; border-color: #f7c9cd; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; border: 1px solid var(--line-2); color: var(--silver);
  background: rgba(255, 255, 255, 0.03);
}
.section--light .chip { border-color: var(--light-line); color: var(--light-muted); background: #fff; }

/* ============ Photo (admin-managed images with designed fallback) ============ */
.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--char); isolation: isolate; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: 1; }
.photo:hover img { transform: scale(1.04); }
.photo__credit { position: absolute; right: 8px; bottom: 8px; z-index: 2; max-width: calc(100% - 16px); padding: 2px 7px; border-radius: 4px; background: rgba(0, 0, 0, 0.55); color: rgba(255, 255, 255, 0.85); font-size: 0.62rem; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.photo--fallback {
  display: grid; place-items: center; color: var(--steel);
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(227, 32, 46, 0.22), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(199, 203, 209, 0.10), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #1b1e24, #0d0f12);
  border: 1px solid var(--line);
}
.photo--fallback .photo__art { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.photo--fallback .photo__art .icon { width: clamp(56px, 9vw, 88px); height: auto; color: var(--silver); opacity: 0.55; stroke-width: 1.1; }
.photo--fallback .photo__label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--steel); max-width: 26ch; }

/* ============ Reveal animations ============ */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal='left'] { transform: translateX(-32px); }
.js [data-reveal='right'] { transform: translateX(32px); }
.js [data-reveal='zoom'] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ============ Page hero (inner pages) ============ */
.page-hero {
  position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(227, 32, 46, 0.18), transparent 60%),
    linear-gradient(180deg, #0e1013, var(--ink));
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(80% 80% at 70% 20%, #000, transparent 75%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 5.2vw, 3.8rem); max-width: 20ch; }
.page-hero .lead { margin-top: 8px; }
.page-hero__actions { margin-top: 28px; }

/* ============ Breadcrumbs ============ */
.crumbs { padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.86rem; color: var(--muted); margin-bottom: 20px; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: '/'; color: var(--steel); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--silver); }

/* ============ Prose ============ */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--red-hot); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }

.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: ''; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ============ Forms ============ */
.field { display: grid; gap: 8px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--silver); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 12px;
  background: var(--ink); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 32, 46, 0.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1aa' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field .err { color: var(--red-hot); font-size: 0.82rem; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--red-hot); }
.field.invalid .err { display: block; }

/* bottom padding so sticky mobile bar never covers content */
@media (max-width: 899px) { body { padding-bottom: 76px; } }
.sec-head--center .eyebrow { margin-inline: auto; justify-content: center; }

/* ===== components/Logo.astro ===== */
.logo { display: inline-flex; align-items: center; gap: 12px; }
  .logo__mark { flex: none; transition: transform 0.6s var(--ease); }
  .logo:hover .logo__mark { transform: rotate(-6deg); }
  .logo__text { display: grid; line-height: 1; }
  .logo__name { white-space: nowrap; font-weight: 800; font-stretch: 122%; font-size: 1.12rem; text-transform: uppercase; letter-spacing: 0.01em; }
  .logo__name b { color: var(--red-hot); font-weight: 800; }
  .logo__sub { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 5px; white-space: nowrap; }
  @media (max-width: 419px) { .logo__sub { display: none; } }

/* ===== components/Header.astro ===== */
.topbar { display: none; background: #050607; border-bottom: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); position: relative; z-index: 51; }
  .topbar__in { display: flex; gap: 28px; justify-content: flex-end; height: 38px; align-items: center; }
  .topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
  .topbar span:first-child { margin-right: auto; }
  .topbar a:hover { color: var(--text); }
  .topbar .icon { color: var(--red-hot); }

  .hdr { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s; border-bottom: 1px solid transparent; }
  .hdr.scrolled, .hdr.solid { background: rgba(10, 11, 13, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
  .hdr__in { height: 100%; display: flex; align-items: center; gap: 12px; }
  .hdr__in > .logo { margin-right: auto; }

  .nav, .hdr__cta { display: none; }
  .hdr__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
  .hdr__icon--call { color: var(--red-hot); }

  .burger { display: grid; align-content: center; justify-items: center; gap: 5px; }
  .burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }
  .burger span:nth-child(3) { width: 14px; justify-self: center; transform: translateX(-3px); }

  @media (min-width: 1100px) {
    .topbar { display: block; }
    .nav { display: flex; align-items: center; gap: 2px; margin: 0 16px 0 24px; }
    .hdr__cta { display: flex; gap: 10px; }
    .hdr__icon, .burger { display: none; }
  }
  @media (min-width: 1100px) and (max-width: 1519px) { .hdr__call span { display: none; } }

  .nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 10px; font-weight: 600; font-size: 0.96rem; color: var(--silver); transition: color 0.2s, background 0.2s; }
  .nav__link:hover, .dd.open > .nav__link { color: #fff; background: rgba(255,255,255,.05); }
  .nav__link.on { color: #fff; }
  .nav__link.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); }
  .nav__link .icon { transition: transform 0.3s var(--ease); }
  .dd.open > .nav__link .icon { transform: rotate(180deg); }

  .dd { position: relative; }
  .mega, .drop {
    position: absolute; top: calc(100% + 14px); left: 50%;
    background: rgba(17, 19, 23, 0.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .mega::before, .drop::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .dd.open .mega, .dd.open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

  .mega { width: min(880px, 92vw); display: grid; grid-template-columns: 290px 1fr; padding: 12px; }
  .mega__tabs { display: grid; align-content: start; gap: 2px; padding-right: 12px; border-right: 1px solid var(--line); }
  .mega__tab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-align: left; font-weight: 600; font-size: 0.92rem; color: var(--silver); transition: background 0.2s, color 0.2s; }
  .mega__tab .icon { color: var(--steel); flex: none; transition: color 0.2s; }
  .mega__tab small { margin-left: auto; font-size: 0.75rem; color: var(--steel); }
  .mega__tab.on, .mega__tab:hover { background: rgba(227, 32, 46, 0.1); color: #fff; }
  .mega__tab.on .icon { color: var(--red-hot); }
  .mega__all { display: inline-flex; align-items: center; gap: 8px; margin: 10px 14px 4px; font-weight: 700; font-size: 0.9rem; color: var(--red-hot); }
  .mega__panel { padding: 14px 18px 18px 26px; animation: fadeIn 0.35s var(--ease); }
  .mega__blurb { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
  .mega__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
  .mega__list a { display: block; padding: 8px 10px; margin-left: -10px; border-radius: 8px; font-size: 0.92rem; color: var(--text); transition: background 0.2s, color 0.2s, transform 0.25s var(--ease); }
  .mega__list a:hover { background: rgba(255,255,255,.05); color: #fff; transform: translateX(3px); }

  .drop { width: 420px; padding: 16px; }
  .drop__grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .drop__grid a { display: block; padding: 8px 10px; border-radius: 8px; font-size: 0.9rem; color: var(--silver); }
  .drop__grid a:hover { background: rgba(255,255,255,.05); color: #fff; }
  .drop .mega__all { margin: 10px 10px 2px; }

  @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

  /* Drawer */
  .drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; overflow: hidden; }
  .drawer.open { visibility: visible; }
  .drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity 0.4s var(--ease); }
  .drawer.open .drawer__scrim { opacity: 1; }
  .drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
    background: var(--ink-2); border-left: 1px solid var(--line); display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.5s var(--ease); overflow-y: auto; overscroll-behavior: contain;
  }
  .drawer.open .drawer__panel { transform: none; }
  .drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); height: var(--header-h); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ink-2); z-index: 2; }
  .drawer__top .hdr__icon { display: grid; }

  .drawer__search { margin: 16px var(--gutter) 6px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink); color: var(--muted); }
  .drawer__search:focus-within { border-color: var(--red); }
  .drawer__search input { flex: 1; min-height: 50px; background: none; border: 0; outline: none; font-size: 1rem; }
  .drawer__results { list-style: none; margin: 4px var(--gutter) 8px; }
  .drawer__results a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
  .drawer__none { padding: 12px 4px; color: var(--muted); }
  .drawer__none a { display: inline; border: 0; color: var(--red-hot); padding: 0; }

  .drawer__nav { padding: 8px var(--gutter); display: grid; }
  .drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-size: 1.2rem; font-weight: 700; font-stretch: 110%; border-bottom: 1px solid var(--line); list-style: none; cursor: pointer; }
  .drawer__link::-webkit-details-marker { display: none; }
  .drawer.open .drawer__link { animation: slideIn 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms + 120ms); }
  .acc[open] > .drawer__link .icon { transform: rotate(45deg); }
  .drawer__link .icon { transition: transform 0.3s var(--ease); color: var(--red-hot); }
  .acc__body { padding: 6px 0 14px; }
  .acc--sub summary { display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-weight: 600; color: var(--silver); cursor: pointer; list-style: none; }
  .acc--sub summary::-webkit-details-marker { display: none; }
  .acc--sub summary .icon { color: var(--red-hot); }
  .acc--sub summary small { margin-left: auto; color: var(--steel); }
  .acc--sub ul { list-style: none; padding: 0 0 8px 30px; border-left: 1px solid var(--line); margin-left: 12px; }
  .acc--sub li a { display: block; padding: 9px 0; color: var(--muted); font-size: 0.96rem; }
  .acc--sub li a:hover { color: #fff; }
  .acc__brands { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
  .acc__brands a { display: block; padding: 9px 4px; color: var(--muted); }
  .acc__all { display: inline-block; margin-top: 10px; padding: 6px 4px; color: var(--red-hot); font-weight: 700; }
  .drawer__foot { margin-top: auto; padding: 20px var(--gutter) 28px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
  .drawer__foot p { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; font-size: 0.86rem; }

  @keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

/* ===== components/Footer.astro ===== */
.ftr { background: #060708; border-top: 1px solid var(--line); }
  .ftr__cta { background: radial-gradient(60% 140% at 100% 0%, rgba(227, 32, 46, 0.25), transparent 60%), var(--char); border-bottom: 1px solid var(--line); }
  .ftr__cta-in { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: clamp(36px, 6vw, 56px); }
  .ftr__cta h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: 6px; }
  .ftr__cta p { margin: 0; }

  .ftr__grid { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 72px) 32px; grid-template-columns: 1fr; }
  @media (min-width: 640px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
  @media (min-width: 1024px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; } .ftr__brand { grid-column: auto; } }
  .ftr h3 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver); margin-bottom: 18px; font-stretch: 110%; }
  .ftr ul { list-style: none; display: grid; gap: 10px; }
  .ftr ul a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
  .ftr ul a:hover { color: #fff; }
  .ftr ul small { color: var(--steel); }
  .ftr__brand > p { margin: 18px 0; max-width: 44ch; font-size: 0.95rem; }
  address { font-style: normal; display: grid; gap: 12px; font-size: 0.93rem; color: var(--silver); }
  address > * { display: flex; gap: 12px; align-items: flex-start; }
  address .icon { color: var(--red-hot); flex: none; margin-top: 3px; }
  address a:hover { color: #fff; }
  .ftr__social { display: flex; gap: 10px; margin-top: 22px; }
  .ftr__social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--silver); transition: border-color 0.2s, transform 0.3s var(--ease); }
  .ftr__social a:hover { border-color: var(--red); transform: translateY(-2px); }

  .ftr__seo { display: grid; gap: 24px; padding-bottom: 36px; border-top: 1px solid var(--line); padding-top: 32px; }
  @media (min-width: 900px) { .ftr__seo { grid-template-columns: 1fr 1fr; gap: 48px; } }
  .ftr__seo p { color: var(--steel); font-size: 0.88rem; line-height: 1.9; margin: 0; }
  .ftr__seo a { color: var(--muted); }
  .ftr__seo a:hover { color: #fff; }

  .ftr__bottom { border-top: 1px solid var(--line); }
  .ftr__bottom-in { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px; font-size: 0.85rem; color: var(--steel); }
  .ftr__bottom a { color: var(--silver); }
  .ftr__bottom a:hover { color: var(--red-hot); }

/* ===== components/ContactDock.astro ===== */
.fab {
    position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
    display: none; place-items: center; background: var(--wa); color: #fff;
    box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.55); transition: transform 0.35s var(--ease);
  }
  .fab:hover { transform: scale(1.08); }
  .fab__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2.4s var(--ease) infinite; z-index: -1; }
  .fab__tip {
    position: absolute; right: calc(100% + 12px); white-space: nowrap; background: #fff; color: #111; font-weight: 700; font-size: 0.86rem;
    padding: 8px 14px; border-radius: 10px; opacity: 0; transform: translateX(8px); transition: 0.3s var(--ease); pointer-events: none;
  }
  .fab:hover .fab__tip { opacity: 1; transform: none; }
  @keyframes pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }

  .dock {
    position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 60;
    display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; padding: 6px;
    background: rgba(17, 19, 23, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.6);
    animation: dockIn 0.7s var(--ease) 0.4s both;
  }
  .dock__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 13px; font-weight: 700; font-size: 0.92rem; color: var(--text); background: rgba(255,255,255,.04); }
  .dock__btn--call { background: var(--red); color: #fff; }
  .dock__btn--wa { background: var(--wa); color: #062b13; }
  .dock__btn:active { transform: scale(0.97); }
  @keyframes dockIn { from { transform: translateY(120%); } to { transform: none; } }

  @media (min-width: 900px) { .fab { display: grid; } .dock { display: none; } }

/* ===== components/Faq.astro ===== */
.faq { display: grid; gap: 12px; }
  .faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--char); transition: border-color 0.3s, background 0.3s; }
  .faq__item[open] { border-color: rgba(227, 32, 46, 0.4); background: linear-gradient(180deg, var(--char-2), var(--char)); }
  summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(18px, 3vw, 26px); cursor: pointer; list-style: none; }
  summary::-webkit-details-marker { display: none; }
  summary h3 { margin: 0; font-size: clamp(1rem, 1.6vw, 1.12rem); font-stretch: 100%; font-weight: 700; line-height: 1.4; }
  .faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--red-hot); transition: transform 0.4s var(--ease), background 0.3s; }
  .faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--red); color: #fff; border-color: var(--red); }
  .faq__a { padding: 0 clamp(18px, 3vw, 26px) 6px; color: var(--muted); animation: faqIn 0.45s var(--ease); }
  .faq__a a { color: var(--red-hot); text-decoration: underline; }
  @keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .section--light .faq__item { background: #fff; border-color: var(--light-line); }
  .section--light .faq__item[open] { border-color: rgba(227, 32, 46, 0.35); }
  .section--light .faq__a { color: var(--light-muted); }
  .section--light .faq__icon { border-color: var(--light-line); color: var(--red); }

/* ===== components/ContactForm.astro ===== */
.cform { position: relative; background: var(--char); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); }
  .cform__grid { display: grid; gap: 16px; margin-bottom: 20px; }
  @media (min-width: 640px) { .cform__grid { grid-template-columns: 1fr 1fr; } .cform__full { grid-column: 1 / -1; } }
  .cform__note { margin: 14px 0 0; font-size: 0.85rem; color: var(--muted); text-align: center; }
  .cform__note a { color: var(--silver); text-decoration: underline; }
  .cform__done { position: absolute; inset: 0; border-radius: inherit; background: var(--char); display: grid; place-content: center; justify-items: center; text-align: center; padding: 32px; gap: 6px; animation: doneIn 0.5s var(--ease); }
  .cform__done[hidden] { display: none; }
  .cform__done p { color: var(--muted); max-width: 44ch; }
  .cform__done a { color: var(--red-hot); text-decoration: underline; }
  .cform__tick { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #062b13; margin-bottom: 12px; animation: pop 0.6s var(--ease); }
  @keyframes doneIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes pop { 0% { transform: scale(0.3); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* ===== components/Reviews.astro ===== */
.rv { display: grid; gap: 20px; }
  @media (min-width: 960px) { .rv { grid-template-columns: 0.8fr 2fr; } }
  .rv__score { display: grid; align-content: center; justify-items: start; gap: 10px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: linear-gradient(160deg, #fff, #eef0f3); border: 1px solid var(--light-line); color: var(--light-text); transition: transform 0.4s var(--ease); }
  .rv__score:hover { transform: translateY(-4px); }
  .rv__num { font-size: clamp(3.4rem, 7vw, 5rem); font-weight: 900; font-stretch: 125%; line-height: 1; }
  .rv__stars { display: flex; gap: 2px; color: #f5a623; }
  .rv__score p { margin: 0; color: var(--light-muted); }
  .rv__score .link-arrow { color: var(--light-text); }
  .rv__list { display: grid; gap: 20px; }
  @media (min-width: 720px) { .rv__list { grid-template-columns: repeat(3, 1fr); } }
  .rv__card { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--light-line); color: var(--light-text); }
  .rv__card blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; flex: 1; }
  .rv__card figcaption { display: flex; align-items: center; gap: 12px; }
  .rv__card figcaption small { display: block; color: var(--light-muted); font-size: 0.8rem; }
  .rv__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-deep)); }
  .rv__card--cta { background: var(--light-text); color: #fff; border-color: transparent; justify-content: center; transition: transform 0.4s var(--ease); }
  .rv__card--cta:hover { transform: translateY(-4px); }
  .rv__card--cta > .icon { color: #f5a623; }
  .rv__card--cta strong { font-size: 1.2rem; font-stretch: 110%; }
  .rv__card--cta span { color: var(--silver); }
  .rv__card--cta .link-arrow { color: #fff; }

/* ===== components/LocationBlock.astro ===== */
.loc { display: grid; gap: 24px; }
  @media (min-width: 960px) { .loc:not(.loc--stack) { grid-template-columns: 0.9fr 1.1fr; } }
  .loc--stack .loc__map { min-height: 300px; }
  .loc__info { display: grid; gap: 22px; align-content: start; }
  .loc__row { display: flex; gap: 16px; }
  .loc__row h3 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
  .loc__row p { margin: 0 0 6px; }
  .loc__row a:not(.link-arrow) { text-decoration: underline; text-underline-offset: 3px; }
  .loc__map { min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); position: relative; }
  .loc__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .loc__load {
    position: absolute; inset: 0; width: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
    background:
      radial-gradient(circle at 50% 45%, rgba(227, 32, 46, 0.25), transparent 40%),
      linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
      linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
      var(--char);
  }
  .loc__load > span:nth-child(3) { color: var(--muted); font-size: 0.92rem; margin-bottom: 10px; }
  .loc__pin { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-bottom: 8px; animation: bob 2.2s var(--ease) infinite; box-shadow: 0 0 0 10px rgba(227, 32, 46, 0.15); }
  @keyframes bob { 50% { transform: translateY(-6px); } }
  .section--light .loc__row a { color: var(--light-text); }

/* ===== components/ServiceCard.astro ===== */
.svc { gap: 4px; height: 100%; }
  .svc .icon-badge { margin-bottom: 18px; }
  .svc h3 { margin-bottom: 8px; }
  .svc p { color: var(--muted); font-size: 0.96rem; flex: 1; }
  .section--light .svc p { color: var(--light-muted); }
  .svc .link-arrow { font-size: 0.92rem; margin-top: 4px; }
  @media (max-width: 559px) {
    .svc { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
    .svc .icon-badge { grid-row: span 3; margin: 0; width: 46px; height: 46px; }
    .svc h3 { margin-bottom: 4px; }
    .svc p { margin-bottom: 8px; }
  }

/* ===== components/Gauge.astro ===== */
.gauge { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-inline: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
  .gauge::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(227, 32, 46, 0.35), transparent 65%); filter: blur(30px); z-index: -1; animation: glow 4s ease-in-out infinite; }
  .gauge svg { width: 100%; height: 100%; overflow: visible; }
  .gauge__needle { transform-origin: 200px 200px; transform: rotate(135deg); animation: rev 2.6s var(--ease) 0.4s forwards, idle 3.2s ease-in-out 3s infinite; }
  .gauge__sweep { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 2.2s var(--ease) 0.5s forwards; }
  .gauge__tick { opacity: 0; animation: tickIn 0.4s ease forwards; animation-delay: var(--t); }
  @keyframes rev { 0% { transform: rotate(135deg); } 55% { transform: rotate(372deg); } 100% { transform: rotate(334deg); } }
  @keyframes idle { 0%, 100% { transform: rotate(334deg); } 50% { transform: rotate(340deg); } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes tickIn { to { opacity: 1; } }
  @keyframes glow { 50% { opacity: 0.6; transform: scale(0.94); } }
  @media (prefers-reduced-motion: reduce) { .gauge__needle { transform: rotate(334deg); } .gauge__sweep { stroke-dashoffset: 0; } .gauge__tick { opacity: 1; } }

/* ===== pages/index.astro ===== */
/* HERO */
  .hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 8vw, 96px); overflow: hidden; min-height: min(100svh, 920px); display: flex; align-items: center;
    background: radial-gradient(60% 70% at 78% 40%, rgba(227, 32, 46, 0.2), transparent 60%), radial-gradient(50% 50% at 0% 100%, rgba(199, 203, 209, 0.07), transparent 60%), linear-gradient(180deg, #0b0c0f 0%, var(--ink) 100%); }
  .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
  .hero--img .hero__bg { opacity: 0.35; }
  .hero--img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.95) 0%, rgba(10,11,13,.7) 55%, rgba(10,11,13,.4)); }
  .hero__grid-bg { position: absolute; inset: 0; opacity: 0.6; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 75%); }
  .hero__in > * { min-width: 0; }
  .hero__in { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
  @media (min-width: 1024px) { .hero__in { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
  .hero h1 { display: grid; gap: 0.08em; margin-bottom: 22px; }
  .hero__h1-2 { font-size: 0.72em; color: var(--text); }
  .hero .lead { margin-bottom: 30px; }
  .hero__anim { opacity: 0; transform: translateY(24px); animation: heroIn 1s var(--ease) forwards; animation-delay: var(--d); }
  @keyframes heroIn { to { opacity: 1; transform: none; } }

  .hero__trust { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 36px; max-width: 640px; }
  @media (min-width: 640px) { .hero__trust { grid-template-columns: repeat(4, 1fr); } }
  .hero__trust li, .hero__trust a { display: flex; align-items: center; gap: 10px; }
  .hero__trust li { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
  .hero__trust li > .icon, .hero__trust a > .icon { color: var(--red-hot); flex: none; }
  .hero__trust span { display: grid; line-height: 1.2; }
  .hero__trust strong { font-size: 1.15rem; font-stretch: 115%; display: inline-flex; align-items: center; gap: 4px; }
  .hero__trust strong .icon { color: #f5a623; }
  .hero__trust small { color: var(--muted); font-size: 0.75rem; }

  .hero__visual { position: relative; max-width: 480px; width: 100%; margin-inline: auto; animation: heroIn 1.2s var(--ease) 0.2s both; }
  @media (max-width: 1023px) { .hero__visual { max-width: 340px; order: -1; } }
  @media (max-width: 1023px) { .hero__visual { display: none; } }
  .hero__float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; background: rgba(22, 24, 29, 0.85); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: var(--shadow); white-space: nowrap; animation: float 5s ease-in-out infinite; }
  .hero__float .icon { color: var(--red-hot); }
  .hero__float--a { top: 6%; left: -6%; }
  .hero__float--b { bottom: 8%; right: -4%; animation-delay: -2.5s; }
  @keyframes float { 50% { transform: translateY(-10px); } }

  .hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); display: none; }
  .hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red-hot); animation: scrollDot 1.8s var(--ease) infinite; }
  @media (min-width: 1024px) and (min-height: 760px) { .hero__scroll { display: block; } }
  @keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

  /* MARQUEE */
  .marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-2); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .marquee__track { display: flex; gap: clamp(36px, 5vw, 64px); width: max-content; padding-block: 22px; animation: marquee 50s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  .marquee a { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 800; font-stretch: 120%; text-transform: uppercase; color: var(--steel); white-space: nowrap; transition: color 0.2s; }
  .marquee a:hover { color: #fff; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* CATEGORIES */
  .cats { display: grid; gap: 18px; }
  @media (min-width: 720px) { .cats { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1100px) { .cats { grid-template-columns: repeat(3, 1fr); } }
  .cat { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(180deg, var(--char), var(--ink-2)); transition: border-color 0.3s; }
  .cat:hover { border-color: rgba(227, 32, 46, 0.4); }
  .cat { padding: 20px 22px; }
  .cat__head { display: flex; gap: 14px; align-items: center; list-style: none; cursor: pointer; }
  .cat__head::-webkit-details-marker { display: none; }
  .cat[open] .cat__head { padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
  .cat__head h3 { margin: 0 0 2px; font-size: 1.1rem; }
  .cat__toggle { margin-left: auto; width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--red-hot); transition: transform 0.35s var(--ease); }
  .cat[open] .cat__toggle { transform: rotate(45deg); }
  @media (min-width: 720px) { .cat { padding: 26px; } .cat__toggle { display: none; } .cat__head { cursor: default; pointer-events: none; } }
  .cat__count { font-size: 0.8rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
  .cat ul { list-style: none; display: grid; gap: 2px; }
  .cat li a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; color: var(--muted); font-size: 0.95rem; transition: color 0.2s, padding 0.3s var(--ease); }
  .cat li a::after { content: '→'; opacity: 0; color: var(--red-hot); transition: opacity 0.2s; }
  .cat li a:hover { color: #fff; padding-left: 6px; }
  .cat li a:hover::after { opacity: 1; }

  /* BRANDS */
  .brands { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  @media (max-width: 639px) { .brand { padding: 16px 6px; } .brand__name { font-size: 0.82rem; } .brand__sub { display: none; } }
  @media (min-width: 640px) { .brands { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
  @media (min-width: 1024px) { .brands { grid-template-columns: repeat(7, 1fr); } }
  .brand { display: grid; gap: 6px; padding: 22px 16px; height: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--char); text-align: center; justify-items: center; transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s; }
  .brand:hover { transform: translateY(-4px); border-color: rgba(227, 32, 46, 0.5); background: var(--char-2); }
  .brand__name { font-weight: 800; font-stretch: 115%; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.02em; }
  .brand--lux .brand__name { background: linear-gradient(180deg, #fff, #9aa0a8); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .brand__sub { font-size: 0.74rem; color: var(--steel); display: inline-flex; align-items: center; gap: 4px; }
  .brand:hover .brand__sub { color: var(--red-hot); }

  /* WHY */
  .why { display: grid; gap: 28px 32px; }
  @media (min-width: 640px) { .why { grid-template-columns: 1fr 1fr; } }
  .why__item { display: flex; gap: 16px; }
  .why__item h3 { font-size: 1.08rem; margin-bottom: 6px; }
  .why__item p { color: var(--muted); font-size: 0.95rem; margin: 0; }
  .why__media { position: relative; }
  @media (max-width: 959px) { .why__media .photo { aspect-ratio: 16 / 10 !important; } }
  .why__badge { position: absolute; left: -12px; bottom: 32px; padding: 20px 24px; border-radius: 18px; background: var(--red); box-shadow: 0 24px 50px -18px var(--red-glow); display: grid; max-width: 200px; }
  .why__badge strong { font-size: 2.6rem; line-height: 1; font-weight: 900; font-stretch: 125%; }
  .why__badge span { font-size: 0.86rem; font-weight: 600; }
  @media (max-width: 959px) { .why__badge { left: 16px; } }

  /* GALLERY */
  .gal { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
  @media (min-width: 900px) { .gal { grid-template-columns: repeat(4, 1fr); } .gal__item:first-child { grid-column: span 2; grid-row: span 2; } }
  .gal__item { position: relative; min-width: 0; }
  .gal__item .photo { height: 100%; }
  .gal__cap { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: rgba(10,11,13,.75); backdrop-filter: blur(8px); }

  /* AREAS */
  .areas { list-style: none; display: grid; gap: 10px; }
  @media (min-width: 560px) { .areas { grid-template-columns: 1fr 1fr; } }
  .areas a { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--char); font-weight: 600; transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s; }
  .areas a > .icon:first-child { color: var(--red-hot); flex: none; }
  .areas a span { flex: 1; }
  .areas a > .icon:last-child { color: var(--steel); transition: transform 0.3s var(--ease), color 0.2s; }
  .areas a:hover { border-color: rgba(227, 32, 46, 0.45); background: var(--char-2); transform: translateX(4px); }
  .areas a:hover > .icon:last-child { color: var(--red-hot); transform: translateX(3px); }

  /* FAQ */
  .faq-wrap { display: grid; gap: 32px; }
  @media (min-width: 1024px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .faq-wrap .sec-head { position: sticky; top: calc(var(--header-h) + 32px); } }

  /* CONTACT */
  .contact-grid { display: grid; gap: 32px; }
  @media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* ===== pages/services/index.astro ===== */
.filterbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(10, 11, 13, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .filterbar__in { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-block: 12px; }
  .search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink); color: var(--muted); }
  .search:focus-within { border-color: var(--red); }
  .search input { flex: 1; min-height: 46px; background: none; border: 0; outline: none; font-size: 1rem; }
  .jump { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--silver); white-space: nowrap; transition: border-color 0.2s, color 0.2s; }
  .jump a:hover { border-color: var(--red); color: #fff; }
  .jump .icon { color: var(--red-hot); }
  [data-item] { display: contents; }
  [data-item][hidden] { display: none; }
  section[id] { scroll-margin-top: calc(var(--header-h) + 80px); }

/* ===== pages/services/[slug].astro ===== */
.facts { display: grid; gap: 18px; padding: 16px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--char); }
  @media (min-width: 960px) { .facts { position: sticky; top: calc(var(--header-h) + 24px); } }
  .facts ul { list-style: none; display: grid; gap: 14px; padding: 4px 8px; }
  .facts li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 0.95rem; }
  .facts li .icon { color: var(--red-hot); margin-top: 2px; }
  .facts li small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.12em; }
  .facts__cta { display: grid; gap: 10px; }

  .sym { list-style: none; display: grid; gap: 12px; }
  @media (min-width: 720px) { .sym { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1100px) { .sym { grid-template-columns: repeat(3, 1fr); } }
  .sym li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--char); }
  .sym__n { font-weight: 900; font-stretch: 125%; color: var(--red-hot); font-size: 1.1rem; line-height: 1.5; }

  .steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; position: relative; }
  @media (min-width: 900px) { .steps { grid-template-columns: repeat(var(--cols, 5), 1fr); } }
  .steps li { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--light-line); display: grid; gap: 14px; align-content: start; }
  .steps__n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--light-text); color: #fff; font-weight: 800; font-stretch: 120%; }
  .steps li:first-child .steps__n { background: var(--red); }
  .steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .steps p { margin: 0; color: var(--light-muted); font-size: 0.94rem; }

  .brandbox { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--char); }
  .brandchips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .brandchips .chip:hover { border-color: var(--red); color: #fff; }

  .arealist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .arealist a { display: flex; align-items: center; gap: 8px; width: 100%; }
  .arealist li:has(a):hover { border-color: var(--red); }
  .arealist li { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--char); font-weight: 600; font-size: 0.95rem; }
  .arealist .icon { color: var(--red-hot); }

/* ===== pages/brands/index.astro ===== */
.bgrid { list-style: none; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
  @media (min-width: 900px) { .bgrid { grid-template-columns: repeat(4, 1fr); } }
  .bcard { display: grid; gap: 8px; height: 100%; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(160deg, var(--char-2), var(--ink-2)); transition: transform 0.4s var(--ease), border-color 0.3s; }
  .bcard:hover { transform: translateY(-4px); border-color: rgba(227, 32, 46, 0.5); }
  .bcard__name { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 800; font-stretch: 120%; text-transform: uppercase; }
  .bcard__sub { font-size: 0.85rem; color: var(--muted); }
  .bcard .link-arrow { font-size: 0.88rem; margin-top: 6px; }

/* ===== pages/brands/[slug].astro ===== */
.models { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 !important; margin: 12px 0 16px; }
  .models li { margin: 0; }
  .models a.chip:hover { border-color: var(--red); }
  .side { display: grid; gap: 16px; }
  @media (min-width: 960px) { .side { position: sticky; top: calc(var(--header-h) + 24px); } }
  .side__cta { display: grid; gap: 10px; }
  .allsvc { display: grid; gap: 28px; }
  @media (min-width: 720px) { .allsvc { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1100px) { .allsvc { grid-template-columns: repeat(3, 1fr); } }
  .allsvc h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .allsvc h3 .icon { color: var(--red-hot); }
  .allsvc ul { list-style: none; display: grid; gap: 2px; }
  .allsvc a { display: block; padding: 6px 0; color: var(--muted); font-size: 0.95rem; }
  .allsvc a:hover { color: #fff; }
  .arealinks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .arealinks a { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--char); font-weight: 600; transition: border-color 0.2s; }
  .arealinks a:hover { border-color: var(--red); }
  .arealinks .icon { color: var(--red-hot); }
  .darkform { color: var(--text); color-scheme: dark; }

/* ===== pages/areas/index.astro ===== */
.alist { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
  @media (min-width: 960px) { .alist { grid-template-columns: repeat(4, 1fr); } }
  .alist .card { gap: 10px; height: 100%; }
  .alist h2 { font-size: 1.25rem; margin: 8px 0 0; }
  .alist .muted { font-size: 0.9rem; flex: 1; }

/* ===== pages/areas/[slug].astro ===== */
.visit { display: grid; gap: 18px; padding: 16px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--char); }
  @media (min-width: 960px) { .visit { position: sticky; top: calc(var(--header-h) + 24px); } }
  .visit ul { list-style: none; display: grid; gap: 14px; padding: 4px 8px; }
  .visit li { display: flex; gap: 12px; font-weight: 600; font-size: 0.93rem; }
  .visit li .icon { color: var(--red-hot); margin-top: 2px; }
  .visit li small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.12em; }
  .visit li a { text-decoration: underline; }
  .visit__cta { display: grid; gap: 10px; }
  .allsvc { display: grid; gap: 28px; }
  @media (min-width: 720px) { .allsvc { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1100px) { .allsvc { grid-template-columns: repeat(3, 1fr); } }
  .allsvc h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .allsvc h3 .icon { color: var(--red-hot); }
  .allsvc ul { list-style: none; display: grid; gap: 2px; }
  .allsvc a { display: block; padding: 6px 0; color: var(--muted); font-size: 0.95rem; }
  .allsvc a:hover { color: #fff; }
  .chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .chips .chip:hover { border-color: var(--red); color: #fff; }

/* ===== pages/about.astro ===== */
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
  .stats li { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--char); display: grid; gap: 4px; }
  .stats strong { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; font-stretch: 125%; line-height: 1; color: #fff; }
  .stats span { color: var(--muted); font-size: 0.9rem; }
  .rv-wrap { background: transparent; }

/* ===== pages/contact.astro ===== */
.cgrid { display: grid; gap: 48px; }
  @media (min-width: 1024px) { .cgrid { grid-template-columns: 1.1fr 0.9fr; } }
  .cgrid h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ===== pages/gallery.astro ===== */
.gf { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
  .gf .chip { cursor: pointer; }
  .gf .chip.on { background: var(--red); border-color: var(--red); color: #fff; }
  .masonry { columns: 2 180px; column-gap: 14px; }
  @media (min-width: 900px) { .masonry { columns: 3; } }
  .masonry .mi { margin: 0 0 14px; break-inside: avoid; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--char); animation: miIn 0.6s var(--ease) both; }
  .masonry .mi[hidden] { display: none; }
  .masonry .mi button { display: block; width: 100%; cursor: zoom-in; }
  .masonry .mi img { width: 100%; transition: transform 0.8s var(--ease); }
  .masonry .mi:hover img { transform: scale(1.04); }
  .masonry figcaption { padding: 10px 14px; font-size: 0.88rem; color: var(--muted); }
  @keyframes miIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  .lb { max-width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; background: #000; color: #fff; }
  .lb::backdrop { background: rgba(0,0,0,.85); backdrop-filter: blur(4px); }
  .lb img { max-height: 82vh; width: auto; margin: auto; }
  .lb p { padding: 12px 18px; margin: 0; color: var(--silver); }
  .lb__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.6); display: grid; place-items: center; }
  .gal-empty { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
  @media (min-width: 900px) { .gal-empty { grid-template-columns: repeat(4, 1fr); } }

/* ===== pages/blog/index.astro ===== */
.post { gap: 14px; height: 100%; }
  .post .chip { align-self: flex-start; }
  .post h2 { font-size: 1.3rem; margin: 0; }
  .post p { flex: 1; margin: 0; font-size: 0.96rem; }
  .post__meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--steel); }

/* ===== pages/blog/[id].astro ===== */
.post-grid { display: grid; gap: 48px; }
  @media (min-width: 1024px) { .post-grid { grid-template-columns: 1fr 340px; } .post-grid aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
  .prose p, .prose li { color: #c9cdd3; }
  .prose strong { color: #fff; }

/* ===== pages/404.astro ===== */
.nf { text-align: center; padding: calc(var(--header-h) + 40px) 0 100px; }
  .nf__code { font-size: clamp(6rem, 22vw, 12rem); font-weight: 900; font-stretch: 125%; line-height: 1; margin: 0; }
  .nf__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
  .nf__links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 0.92rem; }
  .nf__links a:hover { border-color: var(--red); }

/* ===== location page (scoped) ===== */
.pg-location .visit { display: grid; gap: 16px; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--char); }
  @media (min-width: 960px) { .pg-location .visit { position: sticky; top: calc(var(--header-h) + 24px); } }
  .pg-location .visit h3 { margin: 0; }
  .pg-location .visit ul { list-style: none; display: grid; gap: 14px; }
  .pg-location .visit li { display: flex; gap: 12px; font-weight: 600; font-size: 0.93rem; }
  .pg-location .visit li .icon { color: var(--red-hot); margin-top: 2px; }
  .pg-location .visit li small { display: block; font-weight: 500; font-size: 0.75rem; color: var(--steel); text-transform: uppercase; letter-spacing: 0.12em; }
  .pg-location .visit li a { text-decoration: underline; }
  .pg-location .visit__cta { display: grid; gap: 10px; }
  .pg-location .probs { display: grid; gap: 12px; margin-top: 20px; }
  .pg-location .prob { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--char); }
  .pg-location .prob h3 { font-size: 1.02rem; margin-bottom: 4px; }
  .pg-location .prob p { margin: 0; color: var(--muted); font-size: 0.94rem; }
  .pg-location .steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
  @media (min-width: 900px) { .pg-location .steps { grid-template-columns: repeat(5, 1fr); } }
  .pg-location .steps li { padding: 24px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--light-line); display: grid; gap: 12px; align-content: start; }
  .pg-location .steps__n { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--light-text); color: #fff; font-weight: 800; }
  .pg-location .steps li:first-child .steps__n { background: var(--red); }
  .pg-location .steps h3 { font-size: 1rem; margin-bottom: 4px; }
  .pg-location .steps p { margin: 0; color: var(--light-muted); font-size: 0.92rem; }
  .pg-location .links { list-style: none; display: grid; gap: 8px; margin-top: 16px; }
  .pg-location .links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--char); font-weight: 600; font-size: 0.94rem; transition: border-color 0.2s; }
  .pg-location .links a:hover { border-color: var(--red); }
  .pg-location .links .icon { color: var(--red-hot); flex: none; }

/* ===== Mobile polish (header + quick-contact bar) ===== */
@media (max-width: 1099px) {
  :root { --header-h: 64px; }
  .hdr__in { gap: 10px; }
  .hdr .logo { min-width: 0; gap: 10px; }
  .hdr .logo__text { min-width: 0; }
  .logo__name { font-size: clamp(0.95rem, 4.4vw, 1.12rem); }
  .hdr__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; }
}
/* The bottom bar already has a Call button on phones, so hide the header call icon there */
@media (max-width: 899px) {
  .hdr__icon--call { display: none !important; }
}
@media (max-width: 380px) {
  .logo__mark { width: 34px; height: 34px; }
  .hdr .logo { gap: 8px; }
}

/* Quick-contact bar: slim, equal buttons, safe-area aware */
.dock {
  left: 12px; right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px; padding: 5px; border-radius: 16px;
  background: rgba(14, 16, 20, 0.92);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
}
.dock__btn {
  min-height: 42px; min-width: 0; gap: 6px; padding: 0 6px;
  border-radius: 11px; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.01em;
  white-space: nowrap; overflow: hidden;
}
.dock__btn .icon { width: 18px; height: 18px; flex: none; }
.dock__btn:not(.dock__btn--call):not(.dock__btn--wa) { background: transparent; border: 1px solid var(--line-2); color: var(--silver); }
@media (max-width: 360px) {
  .dock { left: 8px; right: 8px; gap: 5px; }
  .dock__btn { font-size: 0.76rem; gap: 5px; padding: 0 4px; }
  .dock__btn .icon { width: 16px; height: 16px; }
}
@media (max-width: 899px) { body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); } }

/* ===== Mobile polish: grids that must never exceed the screen ===== */
.cats > *, .brands > li, .bgrid > li, .gal > * { min-width: 0; }
.bcard__name { overflow-wrap: break-word; }
@media (max-width: 639px) {
  .brand { padding: 16px 8px; justify-content: center; align-content: center; min-height: 64px; }
  .brand__name { font-size: 0.84rem; font-stretch: 110%; letter-spacing: 0.01em; }
  .brand__sub { display: none !important; }
  .bcard__name { font-size: clamp(0.95rem, 4.4vw, 1.2rem); }
}
@media (max-width: 400px) {
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Gallery preview: equal tiles on phones/tablets (the big first tile is desktop-only) */
@media (max-width: 899px) {
  .gal__item .photo { height: auto; aspect-ratio: 4 / 3 !important; }
}
.cform__grid > *, .field { min-width: 0; }
.field select, .field input, .field textarea { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
@media (max-width: 479px) {
  .photo--fallback .photo__art { padding: 12px; gap: 10px; max-width: 100%; }
  .photo--fallback .photo__label { font-size: 0.62rem; letter-spacing: 0.12em; }
}
.contact-grid > *, .cgrid > *, .faq-wrap > *, .post-grid > * { min-width: 0; }

/* ===== Animated car logo ===== */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__car { display: block; flex: none; line-height: 0; }
.logo__car svg { width: 56px; height: auto; overflow: visible; display: block; }
.logo__car .car__speed, .logo__car .car__beam { opacity: 0; }
.logo__name { white-space: nowrap; }

/* Header: car and name share the same spot and alternate (12s loop) */
.hdr .logo { position: relative; gap: 0; }
.hdr .logo__car { position: absolute; left: 0; top: 50%; z-index: 2; }
.hdr .logo__car, .hdr .logo__text, .hdr .car__wheel, .hdr .car__speed, .hdr .car__beam {
  animation-duration: 12s; animation-iteration-count: infinite; animation-delay: var(--logo-delay, -9.6s);
}
.hdr .logo__car { animation-name: ucz-car; animation-timing-function: linear; }
.hdr .logo__text { animation-name: ucz-name; animation-timing-function: linear; }
.hdr .car__wheel { animation-name: ucz-wheel; animation-timing-function: linear; }
.hdr .car__speed { animation-name: ucz-speed; }
.hdr .car__beam { animation-name: ucz-beam; }
/* shine across the name while it is shown */
.hdr .logo__name { position: relative; }
.hdr .logo__name::after {
  content: 'Unity Car Zone'; position: absolute; left: 0; top: 0; pointer-events: none;
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  -webkit-background-clip: text; background-clip: text;
  animation: ucz-shine 12s linear infinite; animation-delay: var(--logo-delay, -9.6s);
}

/*  0–17%  car idles at the start (headlight on)
    17–27% car races across → name revealed behind it, car leaves on the right
    27–72% name shown (shine at ~50%)
    72–80% name wipes away
    80–92% car drives back in from the left; 92–100% idles  */
@keyframes ucz-car {
  0%, 17% { left: 0; opacity: 1; transform: translateY(-50%); animation-timing-function: cubic-bezier(.55,0,.85,.4); }
  27% { left: calc(100% + 8px); opacity: 1; transform: translateY(-50%); }
  27.5%, 79.9% { left: -72px; opacity: 0; transform: translateY(-50%); }
  80% { left: -72px; opacity: 1; transform: translateY(-50%); animation-timing-function: cubic-bezier(.2,.75,.3,1); }
  90% { left: 4px; transform: translateY(-50%); }
  92%, 100% { left: 0; opacity: 1; transform: translateY(-50%); }
}
@keyframes ucz-name {
  0%, 17% { clip-path: inset(-20% 100% -20% 0); animation-timing-function: cubic-bezier(.55,0,.85,.4); }
  27%, 72% { clip-path: inset(-20% 0 -20% 0); animation-timing-function: cubic-bezier(.6,0,.4,1); }
  80%, 100% { clip-path: inset(-20% 100% -20% 0); }
}
@keyframes ucz-wheel {
  0%, 17% { transform: rotate(0deg); }
  27%, 80% { transform: rotate(1440deg); }
  92%, 100% { transform: rotate(2160deg); }
}
@keyframes ucz-speed {
  0%, 80% { opacity: 0; } 83%, 88% { opacity: 1; } 92%, 100% { opacity: 0; }
}
@keyframes ucz-beam {
  0% { opacity: .9; } 8% { opacity: .55; } 16% { opacity: .95; } 27%, 88% { opacity: 0; } 92% { opacity: .95; } 100% { opacity: .9; }
}
@keyframes ucz-shine {
  0%, 44% { background-position: 150% 0; } 56%, 100% { background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hdr .logo__car { display: none; }
  .hdr .logo__text, .hdr .logo__name::after { animation: none !important; clip-path: none !important; }
}
/* Footer / drawer: static car next to the name */
.ftr .logo__car svg, .drawer .logo__car svg { width: 48px; }
.hdr .logo__car svg { width: 62px; }
@media (max-width: 1099px) { .hdr .logo__car svg { width: 54px; } }
