/* Rockstar Autoworks — Website V3
   Dark hero → light catalogue → dark booking → dark footer.
   No framework, no webfont: the display voice comes from uppercase, tight
   tracking and condensed-if-available system faces, which keeps the critical
   path down to HTML + CSS. */

/* ============================== TOKENS ============================== */
:root {
  --ink:        #0A0B0D;   /* page black */
  --graphite:   #131518;   /* dark panels */
  --steel:      #21252B;   /* dark cards */
  --steel-line: #2E333B;
  --mist:       #F4F5F7;   /* light catalogue background */
  --paper:      #FFFFFF;
  --line:       #E2E5EA;

  --red:        #CD3B32;   /* sampled from the Rockstar logo */
  --red-hot:    #E24036;   /* interactive */
  --red-deep:   #A32A23;
  --blue:       #2D79C8;
  --blue-hot:   #54B9FF;
  --gold:       #D5A75A;

  --text:       #14171B;
  --text-soft:  #5A626D;
  --on-dark:        #FFFFFF;
  --on-dark-soft:   #B4BCC7;
  --on-dark-faint:  #7C8593;

  --wrap: 1200px;
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 18px;

  --shadow-card: 0 1px 2px rgba(16,20,26,.06), 0 8px 24px rgba(16,20,26,.07);
  --shadow-lift: 0 2px 4px rgba(16,20,26,.08), 0 16px 40px rgba(16,20,26,.13);

  --header-h: 64px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font);
}

/* ============================== RESET =============================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
address { font-style: normal; }
sup { font-size: .55em; vertical-align: super; line-height: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 200; background: var(--red); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--red-hot);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Display voice: uppercase + tight tracking + condensed where the system
   font is variable (SF Pro, Roboto Flex). Degrades cleanly everywhere else. */
.eyebrow, .section-head h2, .cat-card h3, .hero h1,
.catalogue-heading, .svc-name, .book-copy h2, .footer-col h2 {
  font-family: var(--font-display);
  font-stretch: 92%;
}

/* ============================= BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), background-position .35s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease),
              transform .18s var(--ease), box-shadow .25s var(--ease);
}
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: .9375rem; }

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--red-deep), var(--red-hot), #FF655B, var(--red-deep));
  background-size: 260% 100%;
  box-shadow: 0 10px 28px rgba(205,59,50,.28), inset 0 1px rgba(255,255,255,.2);
  animation: accent-flow 8s ease-in-out infinite;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 14px 36px rgba(226,64,54,.38), inset 0 1px rgba(255,255,255,.26);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(1px); }

.btn-outline { border-color: rgba(255,255,255,.34); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.09); }

.btn-outline-dark { border-color: rgba(20,23,27,.22); color: var(--text); background: transparent; }
.btn-outline-dark:hover { border-color: var(--text); background: rgba(20,23,27,.05); }

.btn-ghost { background: rgba(255,255,255,.07); color: #fff; border-color: rgba(255,255,255,.14); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.btn-glass {
  color: #fff; background: rgba(8,11,16,.68); border-color: rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 10px 22px rgba(0,0,0,.2);
}
.btn-glass:hover { background: rgba(226,64,54,.82); border-color: rgba(255,255,255,.46); transform: translateY(-2px); }

.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-ico { width: 19px; height: 19px; filter: drop-shadow(0 0 8px currentColor); }
.ico-book, .ico-login { color: #FFD166; }
.ico-whatsapp { color: #43E082; }
.ico-call { color: #60C3FF; }
.ico-directions { color: #FF816B; }
.ico-details, .ico-services { color: #B79CFF; }
.ico-retry { color: #FFF0A8; }

/* ============================== HEADER ============================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: linear-gradient(180deg, rgba(5,9,15,.9), rgba(5,9,15,.46) 62%, transparent);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  background: linear-gradient(90deg, rgba(7,10,15,.97), rgba(18,12,17,.96), rgba(7,10,15,.97));
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 12px 34px rgba(0,0,0,.3);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-name {
  display: flex; flex-direction: column; line-height: 1;
  color: #fff; font-weight: 800; font-size: .9375rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.brand-name em {
  font-style: normal; font-size: .5625rem; font-weight: 600;
  letter-spacing: .28em; color: var(--on-dark-soft); margin-top: 3px;
}

.header-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.header-nav a {
  color: var(--on-dark-soft); text-decoration: none;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  padding: 6px 0; position: relative;
  transition: color .18s var(--ease);
}
.header-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold));
  box-shadow: 0 0 12px rgba(226,64,54,.8);
  transition: right .22s var(--ease);
}
.header-nav a:hover { color: #fff; }
.header-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call { padding-inline: 14px; }
.header-wa { width: 44px; padding: 0; }

.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm); cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 18px; height: 2px; background: #fff; margin-inline: auto;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after  { top: 6px; }
.menu-btn[aria-expanded='true'] .menu-bars { background: transparent; }
.menu-btn[aria-expanded='true'] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded='true'] .menu-bars::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; background: rgba(10,11,13,.97); border-top: 1px solid rgba(255,255,255,.09); }
.mobile-nav a {
  display: block; padding: 15px 24px; color: #fff; text-decoration: none;
  font-weight: 600; font-size: .9375rem; border-bottom: 1px solid rgba(255,255,255,.07);
}

/* =============================== HERO =============================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 46vw, 820px);
  background: #05080D;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (min-width: 900px) {
  /* The IMAX master gets a clean header rail so navigation never sits across
     the advisor's face, while the theatrical panorama remains edge-to-edge. */
  .hero-media { inset: var(--header-h) 0 0; }
}
.hero::before {
  content: ''; position: absolute; inset: -18%; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 18% 46%, rgba(226,64,54,.22), transparent 30%),
    radial-gradient(circle at 64% 55%, rgba(45,121,200,.16), transparent 28%),
    radial-gradient(circle at 54% 82%, rgba(213,167,90,.12), transparent 24%);
  filter: blur(16px);
  animation: ambient-drift 11s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,8,13,.96) 0%, rgba(5,8,13,.8) 30%, rgba(5,8,13,.18) 55%, rgba(5,8,13,.14) 72%, rgba(5,8,13,.42) 100%),
    linear-gradient(180deg, rgba(5,8,13,.58) 0%, transparent 28%, rgba(5,8,13,.18) 70%, rgba(5,8,13,.84) 100%);
}
.hero-inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(640px, 46vw, 820px);
  padding-top: calc(var(--header-h) + 52px);
  padding-bottom: 82px;
  max-width: min(var(--wrap), 100%);
}

.eyebrow {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  color: var(--red-hot); font-size: .75rem; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; flex: none; width: 38px; height: 2px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold));
  box-shadow: 0 0 16px rgba(226,64,54,.8);
}
/* Each part stays whole, so a narrow screen breaks between the name and the
   location instead of stranding the ™ on its own line. */
.eyebrow span { white-space: nowrap; }
.eyebrow span + span::before { content: '· '; }
.eyebrow sup { margin-left: -.18em; letter-spacing: 0; }

.hero h1 {
  max-width: 8ch;
  font-size: clamp(3.4rem, 7.4vw, 6.35rem);
  text-transform: uppercase;
  letter-spacing: -.055em;
  line-height: .84;
  text-wrap: balance;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.48));
}
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 span {
  color: #F4F6F8;
  background: linear-gradient(180deg, #FFFFFF 5%, #B5BBC3 54%, #F4F6F8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 strong {
  margin-top: .12em; font-weight: 900;
  color: var(--red-hot);
  background: linear-gradient(105deg, #FF5A50 0%, #CC2C25 45%, #FF786F 72%, #A31E18 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: title-shine 7s ease-in-out infinite;
}

/* The five categories, stated once in the hero as a running line rather than
   as five stacked headline rows — it reads as a promise, not a menu. */
.hero-services {
  max-width: 40ch; margin-top: 26px;
  font-family: var(--font-display); font-stretch: 92%;
  font-size: clamp(1rem, 1.7vw, 1.3125rem); font-weight: 700;
  letter-spacing: .01em; color: #fff;
}
.hero-services span { color: var(--red-hot); padding-inline: 3px; text-shadow: 0 0 14px rgba(226,64,54,.8); }

.hero-sub {
  max-width: 44ch; margin-top: 14px;
  font-size: clamp(.9375rem, 1.4vw, 1.0625rem);
  color: var(--on-dark-soft);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-contact {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 28px; color: var(--on-dark-soft); font-size: .9375rem;
}
.hero-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.32); padding-bottom: 2px; }
.hero-contact a:hover { border-color: var(--red-hot); }
.hero-contact strong { letter-spacing: .02em; }
.hero-contact span { color: var(--on-dark-faint); }


/* ============================= SECTIONS ============================= */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-light { background: var(--paper); }
.section-mist  {
  background:
    radial-gradient(circle at 86% 8%, rgba(45,121,200,.08), transparent 26%),
    radial-gradient(circle at 12% 74%, rgba(226,64,54,.07), transparent 28%),
    linear-gradient(180deg, #F7F8FA, #EEF1F5);
}
.section-dark  {
  background:
    radial-gradient(circle at 12% 20%, rgba(226,64,54,.12), transparent 34%),
    radial-gradient(circle at 88% 70%, rgba(45,121,200,.1), transparent 32%),
    linear-gradient(145deg, #080A0D, #10141A 50%, #08090C);
  color: var(--on-dark);
}

.section-head { max-width: 62ch; margin-bottom: clamp(36px, 4vw, 52px); }
.section-head h2 {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  text-transform: uppercase; letter-spacing: -.01em;
}
.section-head p { margin-top: 14px; color: var(--text-soft); font-size: 1.0625rem; }
.section-dark .section-head p { color: var(--on-dark-soft); }
.section-kicker {
  margin: 0 0 10px !important; color: var(--red-hot) !important;
  font-size: .75rem !important; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
}

/* ========================= CATEGORY CARDS =========================== */
.section-services {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 10% 15%, rgba(226,64,54,.15), transparent 30%),
    radial-gradient(circle at 90% 70%, rgba(45,121,200,.14), transparent 28%),
    linear-gradient(145deg, #090C11, #111720 52%, #080A0E);
}
.section-services::before {
  content: ''; position: absolute; width: 540px; height: 540px; right: -190px; top: -220px;
  border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 90deg, transparent, rgba(226,64,54,.18), transparent, rgba(84,185,255,.14), transparent);
  filter: blur(32px); animation: halo-spin 18s linear infinite;
}
.section-services .wrap { position: relative; }
.section-services .section-head { max-width: 760px; }
.section-services .section-head h2 { color: #fff; }
.section-services .section-head > p:last-child { color: var(--on-dark-soft); }

.cat-grid { display: grid; gap: 20px; grid-template-columns: repeat(6, minmax(0, 1fr)); }

.cat-card {
  grid-column: span 2;
  display: flex; flex-direction: column; min-height: 420px;
  background: #151A21;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  color: var(--on-dark);
  position: relative; overflow: hidden;
  box-shadow: 0 22px 54px rgba(0,0,0,.24);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; min-height: 390px; }
.cat-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,9,13,.04) 10%, rgba(7,9,13,.24) 42%, rgba(7,9,13,.96) 100%),
    linear-gradient(100deg, rgba(7,9,13,.42), transparent 56%);
  pointer-events: none;
}
.cat-card::after {
  content: ''; position: absolute; inset: 0 0 auto; z-index: 3; height: 3px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold), var(--blue-hot), var(--red-hot));
  background-size: 240% 100%; animation: accent-flow 7s linear infinite;
}
.cat-card:hover {
  transform: translateY(-8px) scale(1.008); border-color: rgba(255,90,80,.48);
  box-shadow: 0 30px 72px rgba(0,0,0,.46), 0 0 38px rgba(226,64,54,.1);
}
.cat-media { position: absolute; inset: 0; }
.cat-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.9) contrast(1.05); transform: scale(1.01);
  transition: transform .75s var(--ease), filter .45s var(--ease);
}
.cat-card:hover .cat-media img { transform: scale(1.075); filter: saturate(1.1) contrast(1.08); }
.cat-card-body {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  justify-content: flex-end; min-height: 100%; padding: 28px;
}
.cat-number {
  position: absolute; top: 24px; right: 24px;
  font-size: .6875rem; font-weight: 800; letter-spacing: .18em; color: rgba(255,255,255,.7);
}

.cat-ico {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 12px; background: rgba(10,12,17,.66); border: 1px solid rgba(255,103,92,.48);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.cat-ico svg { width: 26px; height: 26px; fill: var(--red-hot); }
.cat-ico svg .stroke { fill: none; stroke: var(--red-hot); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-ico svg .stroke.light { stroke: #fff; stroke-width: 2.4; }

.cat-card h3 { max-width: 24ch; font-size: clamp(1.15rem, 2vw, 1.5rem); text-transform: uppercase; letter-spacing: -.01em; }
.cat-card-body > p { max-width: 46ch; margin-top: 10px; color: #D1D7DF; font-size: .875rem; line-height: 1.58; }

.cat-link {
  align-self: flex-start; margin-top: 18px; padding-inline: 15px;
  font-size: .6875rem;
}

/* ============================= FILTERS ==============================
   The catalogue has NO inner scroller. It flows with the page, so the wheel
   always moves the page and never gets trapped in a nested region. The
   filters stay reachable by sticking to the viewport under the header. */
.filter-bar {
  position: sticky; top: var(--header-h); z-index: 20;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 26px; padding: 16px 20px;
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-lg);
  background: rgba(252,253,254,.94);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 10px 34px rgba(19,26,36,.09), inset 0 1px #fff;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
/* Once pinned, cards scroll underneath — the bar has to be genuinely opaque
   or their text ghosts through it. */
.filter-bar.is-pinned { background: #FBFCFD; }
/* A hairline of brand colour that only shows once the bar is pinned. */
.filter-bar::after {
  content: ''; position: absolute; inset: auto 20px -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold), var(--blue-hot));
  opacity: 0; transition: opacity .3s var(--ease);
}
.filter-bar.is-pinned { box-shadow: 0 16px 44px rgba(19,26,36,.16); }
.filter-bar.is-pinned::after { opacity: 1; }

.filter-row { display: flex; align-items: center; gap: 16px; }
.filter-label {
  flex: none; width: 60px;
  font-size: .625rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-soft);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  min-height: 38px; padding: 8px 15px; display: inline-flex; align-items: center;
  background: transparent; border: 1px solid transparent; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .01em; color: var(--text-soft);
  cursor: pointer; white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.chip:hover { color: var(--text); background: rgba(19,26,36,.05); }

/* Vehicle type is a true segmented control — one track, one lit segment. */
.segmented {
  gap: 2px; padding: 3px;
  background: rgba(19,26,36,.06); border-radius: 999px;
  border: 1px solid rgba(19,26,36,.06);
}
.segmented .chip { min-height: 34px; padding-inline: 17px; }
.segmented .chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--red-hot), var(--red-deep));
  box-shadow: 0 3px 12px rgba(205,59,50,.34), inset 0 1px rgba(255,255,255,.2);
}

/* Categories stay chips, but only the active one carries weight. */
.chips[data-filter='category'] .chip.is-active {
  color: #fff; background: var(--ink);
  box-shadow: 0 3px 12px rgba(10,11,13,.24);
}

.catalogue-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 22px;
}
.catalogue-heading {
  position: relative;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  text-transform: uppercase; letter-spacing: -.005em;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.catalogue-heading .count {
  padding: 4px 11px; border-radius: 999px;
  background: rgba(205,59,50,.1); color: var(--red-deep);
  font-size: .6875rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase;
}
.filter-note { flex: 1 1 300px; max-width: 62ch; color: var(--text-soft); font-size: .8125rem; text-align: right; }

/* ========================== SERVICE CARDS ===========================
   Price is the anchor of every card: it sits on its own shelf at the foot,
   aligned across the row, so a customer can scan a column of numbers. */
.svc-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid rgba(19,26,36,.07);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 2px 6px rgba(17,23,31,.04), 0 14px 38px rgba(17,23,31,.07);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
/* Accent rail wipes in from the left on hover. */
.svc-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; z-index: 3; height: 3px;
  background: linear-gradient(90deg, var(--red-hot), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease);
}
.svc-card:not(.is-skeleton):hover {
  transform: translateY(-6px);
  border-color: rgba(205,59,50,.22);
  box-shadow: 0 6px 14px rgba(17,23,31,.06), 0 28px 60px rgba(17,23,31,.16);
}
.svc-card:not(.is-skeleton):hover::before { transform: scaleX(1); }

.svc-media {
  position: relative; aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #20242B, #0E1114);
  overflow: hidden;
}
.svc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.svc-card:not(.is-skeleton):hover .svc-media img { transform: scale(1.06); }
.svc-media.is-empty::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(205,59,50,.28), transparent 62%);
}

/* Vehicle badge floats on the image rather than competing with the copy. */
.svc-media .for-vehicle {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(8,10,13,.62); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .625rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}

.svc-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 0; }

.svc-tag {
  align-self: flex-start; margin-bottom: 11px;
  font-size: .625rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
}
.svc-name { font-size: 1.125rem; line-height: 1.26; letter-spacing: -.012em; }
.svc-desc {
  margin-top: 9px; color: var(--text-soft); font-size: .875rem; line-height: 1.58;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.svc-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px;
  font-size: .75rem; color: var(--text-soft);
}
.svc-meta span {
  display: inline-flex; align-items: center; gap: 5px; font-weight: 600;
}
.svc-meta span::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

/* The price shelf: tinted, ruled off, and always flush to the card foot. */
.svc-price {
  /* auto top margin keeps the shelf on the card floor, so prices line up
     across a row no matter how long each description runs. */
  margin: auto -20px 0; padding: 15px 20px 16px;
  background: linear-gradient(180deg, rgba(244,246,248,.7), rgba(238,241,245,.9));
  border-top: 1px solid rgba(19,26,36,.07);
}
.svc-price .amount {
  font-family: var(--font-display); font-stretch: 92%;
  font-size: 1.875rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink);
  line-height: 1.05; display: block;
}
.svc-price .amount .from {
  font-size: .625rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); display: block; margin-bottom: 3px;
}
.svc-price .amount.is-prompt {
  font-size: .9375rem; font-weight: 700; letter-spacing: 0; color: var(--text-soft);
}
.svc-price .gst { font-size: .75rem; color: var(--text-soft); margin-top: 4px; }

/* Three icon buttons never fit one row at card width, so Book takes the full
   row as the primary action and the two secondaries share the row below. */
.svc-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 0 -20px; padding: 14px 20px 18px;
}
.svc-actions .btn { min-width: 0; padding-inline: 10px; font-size: .6875rem; }
.svc-actions .btn:first-child { grid-column: 1 / -1; }

/* Skeletons */
.svc-card.is-skeleton { padding: 20px; min-height: 340px; gap: 12px; }
.sk { background: linear-gradient(90deg, #E9ECF0 25%, #F3F5F7 50%, #E9ECF0 75%); background-size: 200% 100%; border-radius: var(--r-sm); animation: shimmer 1.4s linear infinite; }
.sk-tag   { width: 92px;  height: 18px; border-radius: 999px; }
.sk-title { width: 76%;   height: 22px; }
.sk-line  { width: 100%;  height: 13px; }
.sk-line.short { width: 62%; }
.sk-price { width: 128px; height: 32px; margin-top: auto; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ====================== EMPTY / ENQUIRY / ERROR ===================== */
.svc-empty {
  grid-column: 1 / -1; padding: 44px 28px; text-align: center;
  background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r);
}
.svc-empty h3 { font-size: 1.125rem; text-transform: uppercase; letter-spacing: .02em; }
.svc-empty p { margin-top: 10px; color: var(--text-soft); max-width: 56ch; margin-inline: auto; }
.svc-empty .btn { margin-top: 20px; }

.enquiry {
  margin-top: 28px; padding: 28px;
  background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: var(--r);
}
.enquiry h3 { font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .02em; }
.enquiry > p { margin-top: 10px; color: var(--text-soft); font-size: .9375rem; max-width: 76ch; }
.enquiry-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.enquiry-list li {
  padding: 6px 13px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text);
}
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.cat-error {
  padding: 44px 28px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--r);
}
.cat-error h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.cat-error p { margin-top: 10px; color: var(--text-soft); }
.cat-error-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* ============================= BOOKING ============================== */
.book-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(330px, 1.2fr) minmax(290px, .95fr);
  gap: clamp(24px, 3vw, 42px); align-items: center;
}
.booking-advisor {
  position: relative; display: block; align-self: stretch; min-height: 470px;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(145deg, #181C23, #080A0E);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 28px 78px rgba(0,0,0,.4), 0 0 48px rgba(226,64,54,.1);
}
.booking-advisor::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(6,8,12,.42));
}
.booking-advisor img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; object-position: 50% 42%; }
.book-copy h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); text-transform: uppercase; }
.book-copy > p { margin-top: 16px; color: var(--on-dark-soft); font-size: 1.0625rem; max-width: 48ch; }
/* Four equal actions read better as a 2x2 block than as a row that wraps
   3 + 1 at every column width the two-up layout actually produces. */
.book-actions {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; margin-top: 28px; max-width: 520px;
}
.book-note { margin-top: 22px; color: var(--on-dark-faint); font-size: .875rem; }
.book-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.biz-card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(35,39,47,.9), rgba(16,19,24,.94));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.04);
}
.biz-name { font-family: var(--font-display); font-stretch: 92%; font-weight: 800; font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .04em; }
.biz-addr { margin-top: 14px; color: var(--on-dark-soft); font-size: .9375rem; line-height: 1.7; }
.biz-hint { color: var(--on-dark-faint); font-size: .8125rem; }
.biz-meta { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--steel-line); display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .875rem; }
.biz-meta dt { color: var(--on-dark-faint); font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; align-self: center; }
.biz-meta dd { color: var(--on-dark); }
.biz-meta a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.biz-meta a:hover { border-color: var(--red-hot); }

.xraw-strip {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 44px; padding: 20px 24px;
  background: linear-gradient(100deg, rgba(32,36,44,.86), rgba(15,19,25,.9), rgba(30,23,28,.86));
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg);
}
.xraw-strip > div:nth-child(2) { flex: 1; min-width: 220px; }
.xraw-title { font-weight: 800; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; }
.xraw-sub { color: var(--on-dark-faint); font-size: .8125rem; margin-top: 4px; }
.xraw-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================== FOOTER ============================== */
.site-footer { background: #060708; color: var(--on-dark-soft); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-ids { margin-top: 10px; color: var(--on-dark-faint); font-size: .75rem; letter-spacing: .04em; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 {
  font-size: .6875rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: #fff; margin-bottom: 4px;
}
.footer-col a {
  color: var(--on-dark-soft); text-decoration: none; font-size: .875rem;
  transition: color .16s var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .75rem; color: var(--on-dark-faint);
}
.footer-xraw { letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }

/* ========================= MOBILE ACTION BAR ======================== */
.action-bar {
  display: none;
  position: fixed; inset: auto 0 0 0; z-index: 90;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(10,11,13,.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -1px 0 rgba(226,64,54,.16), 0 -18px 40px rgba(0,0,0,.28);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 58px; padding: 8px 4px;
  color: var(--on-dark-soft); text-decoration: none;
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em;
}
.action-bar a:active { background: rgba(255,255,255,.08); }
.action-bar .ico { width: 21px; height: 21px; }
.action-bar a:last-child { color: #fff; }
.action-bar a:last-child .ico { fill: var(--red-hot); }

/* ============================== MODAL =============================== */
.svc-modal {
  width: min(620px, calc(100vw - 32px));
  max-height: min(86vh, 820px);
  padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper); color: var(--text);
  box-shadow: 0 30px 90px rgba(6,7,8,.42);
  overflow: hidden;
}
.svc-modal::backdrop { background: rgba(6,7,8,.72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.svc-modal[open] { display: flex; flex-direction: column; animation: modal-in .22s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.99); } }

.modal-head {
  position: relative; padding: 26px 60px 20px 26px;
  border-bottom: 1px solid var(--line); flex: none;
}
.modal-cat { font-size: .625rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.modal-head h2 { font-family: var(--font-display); font-stretch: 92%; font-size: 1.375rem; line-height: 1.24; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
  transition: background-color .16s var(--ease);
}
.modal-close:hover { background: #E6E9ED; }
.modal-close svg { width: 16px; height: 16px; fill: var(--text); }

.modal-body { padding: 24px 26px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-body img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 20px; }
.modal-body > p { color: var(--text-soft); font-size: .9375rem; }

.modal-price {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin: 20px 0; padding: 16px 18px;
  background: var(--mist); border-radius: var(--r); border-left: 3px solid var(--red);
}
.modal-price .amount { font-family: var(--font-display); font-stretch: 92%; font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.modal-price .amount.is-prompt { font-size: 1.0625rem; letter-spacing: 0; color: var(--text-soft); }
.modal-price .note { font-size: .8125rem; color: var(--text-soft); }

.modal-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 18px 0; font-size: .875rem; }
.modal-facts dt { font-size: .6875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); align-self: center; }

.modal-list { margin-top: 8px; }
.modal-list h3 { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); margin-top: 18px; margin-bottom: 8px; }
.modal-list ul li {
  position: relative; padding-left: 20px; margin-bottom: 6px;
  font-size: .875rem; color: var(--text-soft); line-height: 1.55;
}
.modal-list ul li::before {
  content: ''; position: absolute; left: 4px; top: .58em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}

.modal-foot { display: flex; gap: 10px; padding: 18px 26px; border-top: 1px solid var(--line); background: var(--mist); flex: none; }
.modal-foot .btn { flex: 1; }

/* =========================== LEGAL PAGES ============================ */
.legal { padding: calc(var(--header-h) + 64px) 0 88px; background: var(--paper); }
.legal .wrap { max-width: 760px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--text-soft); text-decoration: none;
  font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.legal-back:hover { color: var(--red); }
.legal h1 {
  margin-top: 12px; font-family: var(--font-display); font-stretch: 92%;
  font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase;
}
.legal .lede { margin-top: 14px; color: var(--text-soft); font-size: 1.0625rem; }
.legal h2 {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-stretch: 92%;
  font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .02em;
}
.legal p { margin-top: 12px; color: var(--text-soft); }
.legal ul { margin-top: 12px; }
.legal ul li {
  position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--text-soft);
}
.legal ul li::before {
  content: ''; position: absolute; left: 4px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal code {
  padding: 2px 6px; background: var(--mist); border: 1px solid var(--line);
  border-radius: 4px; font-size: .875em;
}
.legal-updated { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--text-soft); }

/* ======================== AMBIENT ANIMATION ======================== */
@keyframes accent-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes title-shine {
  0%, 72%, 100% { background-position: 0% 50%; }
  86% { background-position: 100% 50%; }
}
@keyframes ambient-drift {
  0% { transform: translate3d(-1%, -1%, 0) scale(1); opacity: .72; }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: 1; }
}
@keyframes halo-spin { to { transform: rotate(1turn); } }

/* ========================== REDUCED MOTION ========================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .cat-card:hover, .svc-card:hover { transform: none; }
}

@media print {
  .site-header, .action-bar, .hero-media, .svc-actions, .filters, .svc-modal { display: none !important; }
  body { background: #fff; color: #000; }
}
