/* ===================================================================
   480 AUTO REPAIR — Design Tokens & Component Styles
   Black & Silver Chrome brand system
   =================================================================== */

/* ---- Fonts (self-hosted) ---- */
@font-face {
  font-family: 'Anton';
  src: url('./assets/fonts/Anton.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bebas Neue';
  src: url('./assets/fonts/BebasNeue.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Condensed';
  src: url('./assets/fonts/RobotoCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Condensed';
  src: url('./assets/fonts/RobotoCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Type Scale ---- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6.5vw, 7rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius — tighter, industrial */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-xl: 0.875rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-accent: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- Color: Dark (default brand mode — black & chrome) ---- */
:root,
[data-theme='dark'] {
  --color-bg: #0a0a0b;
  --color-surface: #131315;
  --color-surface-2: #191a1c;
  --color-surface-offset: #0e0e10;
  --color-surface-offset-2: #1e1f21;
  --color-surface-dynamic: #26272a;
  --color-divider: oklch(1 0 0 / 0.08);
  --color-border: oklch(1 0 0 / 0.14);

  --color-text: #f3f3f4;
  --color-text-muted: #a9a9ae;
  --color-text-faint: #6c6c71;
  --color-text-inverse: #0a0a0b;

  /* Chrome silver accent */
  --color-primary: #cdd1d7;
  --color-primary-hover: #e9ebee;
  --color-primary-active: #aeb3ba;
  --color-primary-highlight: #2b2c2f;

  --color-error: #d9727e;
  --color-error-highlight: #3a2528;
  --color-success: #85b98c;
  --color-success-highlight: #223226;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.4);
  --shadow-md: 0 6px 20px oklch(0 0 0 / 0.5);
  --shadow-lg: 0 20px 48px oklch(0 0 0 / 0.6);
}

/* ---- Color: Light (lighter graphite/chrome variant) ---- */
[data-theme='light'] {
  --color-bg: #f1f1f2;
  --color-surface: #ffffff;
  --color-surface-2: #f8f8f9;
  --color-surface-offset: #ececee;
  --color-surface-offset-2: #e2e2e5;
  --color-surface-dynamic: #d7d7da;
  --color-divider: oklch(0 0 0 / 0.08);
  --color-border: oklch(0 0 0 / 0.14);

  --color-text: #1a1a1c;
  --color-text-muted: #55555b;
  --color-text-faint: #8b8b91;
  --color-text-inverse: #f5f5f6;

  --color-primary: #2c2d31;
  --color-primary-hover: #000000;
  --color-primary-active: #4a4b50;
  --color-primary-highlight: #e2e2e5;

  --color-error: #a3323f;
  --color-error-highlight: #f0d9dc;
  --color-success: #2f6b3a;
  --color-success-highlight: #dceade;

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 260 / 0.08);
  --shadow-md: 0 6px 20px oklch(0.2 0.01 260 / 0.1);
  --shadow-lg: 0 20px 48px oklch(0.2 0.01 260 / 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
  }
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    /* still default to dark brand look unless user explicitly switches to light */
  }
}

/* ===================================================================
   Layout Primitives
   =================================================================== */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--wide {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.container--narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.section--tight {
  padding-block: clamp(var(--space-8), 5vw, var(--space-16));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 200;
  font-family: var(--font-body);
  font-weight: 700;
  transition: top var(--transition-interactive);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ===================================================================
   Typography
   =================================================================== */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--text-sm);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.hero-title {
  font-size: var(--text-hero);
  line-height: 0.98;
  color: inherit;
}
.page-title {
  font-size: var(--text-2xl);
}
.section-title {
  font-size: var(--text-xl);
}
.subsection-title {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: var(--text-lg);
  letter-spacing: normal;
}

p.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}
p {
  color: var(--color-text-muted);
}
.text-body {
  font-size: var(--text-base);
}

a {
  color: inherit;
}

/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
  min-height: 44px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
}
.btn-primary:active {
  background: var(--color-primary-active);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-block {
  width: 100%;
}

/* ===================================================================
   Header / Nav
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header--hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.brand img {
  height: 42px;
  width: auto;
}
.brand-text {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding-block: var(--space-2);
  position: relative;
}
.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--color-text);
}
.main-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}
.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform var(--transition-interactive), opacity var(--transition-interactive);
}
.nav-toggle span::before {
  position: absolute;
  top: -7px;
}
.nav-toggle span::after {
  position: absolute;
  top: 7px;
}
.nav-toggle[aria-expanded='true'] span {
  background: transparent;
}
.nav-toggle[aria-expanded='true'] span::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav ul {
  list-style: none;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.mobile-nav a {
  display: block;
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav a[aria-current='page'] {
  color: var(--color-primary);
}
.mobile-nav .btn {
  margin-top: var(--space-4);
}

@media (min-width: 900px) {
  .main-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero--page {
  min-height: 46vh;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, oklch(0 0 0 / 0.35) 0%, oklch(0 0 0 / 0.55) 55%, oklch(0 0 0 / 0.92) 100%),
    repeating-linear-gradient(115deg, oklch(1 0 0 / 0.02) 0px, oklch(1 0 0 / 0.02) 1px, transparent 1px, transparent 4px);
}
[data-theme='light'] .hero-scrim {
  background:
    linear-gradient(180deg, oklch(0 0 0 / 0.25) 0%, oklch(0 0 0 / 0.45) 55%, oklch(0 0 0 / 0.85) 100%),
    repeating-linear-gradient(115deg, oklch(1 0 0 / 0.02) 0px, oklch(1 0 0 / 0.02) 1px, transparent 1px, transparent 4px);
}
.hero-content {
  padding-block: var(--space-16) var(--space-16);
  color: #f3f3f4;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-2) var(--space-3);
  border: 1px solid oklch(1 0 0 / 0.25);
  border-radius: var(--radius-full);
  color: #f3f3f4;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.hero-ctas .btn-outline {
  color: #f3f3f4;
  border-color: oklch(1 0 0 / 0.35);
}
.hero-ctas .btn-outline:hover {
  border-color: #f3f3f4;
  color: #f3f3f4;
}

/* Info strip under hero */
.info-strip {
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
}
.info-strip .container--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-block: var(--space-6);
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.info-item .label {
  font-family: var(--font-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.info-item .value {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}
@media (min-width: 700px) {
  .info-strip .container--wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================================================
   Services — asymmetric layout (not 3-col cards)
   =================================================================== */
.services-lead {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 900px) {
  .services-lead {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.feature-callout {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}
.feature-callout .num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-primary-highlight);
  -webkit-text-stroke: 1px var(--color-border);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-4);
}
.service-rows {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.service-row:first-child {
  padding-top: 0;
}
.service-row .name {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}
.service-row .tag {
  font-family: var(--font-accent);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* Full service list page — alternating rows */
.service-detail {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
  align-items: center;
}
.service-detail:last-child {
  border-bottom: none;
}
@media (min-width: 820px) {
  .service-detail {
    grid-template-columns: 120px 1fr;
    gap: var(--space-10);
  }
  .service-detail--reverse {
    grid-template-columns: 1fr 120px;
  }
  .service-detail--reverse .service-index {
    order: 2;
  }
}
.service-index {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-border);
  line-height: 1;
}
.service-detail h3 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.service-detail ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-3);
}
.service-detail li {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  position: relative;
  padding-left: var(--space-4);
}
.service-detail li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* ===================================================================
   Before / After
   =================================================================== */
.ba-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) {
  .ba-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}
.ba-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 100%;
}
.ba-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}
.ba-figure figcaption {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-family: var(--font-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  background: oklch(0 0 0 / 0.55);
  color: #f3f3f4;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  max-width: none;
}
.ba-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.ba-after-grid .ba-figure:first-child {
  grid-column: 1 / -1;
}

.video-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-offset);
}
.video-figure video {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  background: #000;
}

/* ===================================================================
   Banner (fleet/commercial full-bleed)
   =================================================================== */
.banner {
  position: relative;
  isolation: isolate;
  padding-block: clamp(var(--space-16), 12vw, var(--space-32));
  overflow: hidden;
}
.banner-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, oklch(0 0 0 / 0.92) 10%, oklch(0 0 0 / 0.55) 60%, oklch(0 0 0 / 0.35) 100%);
}
.banner-content {
  max-width: 46ch;
  color: #f3f3f4;
}
.banner-content p {
  color: oklch(1 0 0 / 0.75);
}
.banner .btn-primary {
  margin-top: var(--space-6);
}

/* ===================================================================
   CTA band
   =================================================================== */
.cta-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.cta-band .container--wide {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-block: var(--space-12);
  align-items: flex-start;
}
.cta-band h2 {
  font-size: var(--text-xl);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
@media (min-width: 820px) {
  .cta-band .container--wide {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ===================================================================
   Contact
   =================================================================== */
.contact-grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
  }
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row .label {
  font-family: var(--font-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.contact-row .value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}
.contact-row a.value:hover {
  color: var(--color-primary);
}
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 360px;
  background: var(--color-surface-offset);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}
.hours-table {
  width: 100%;
}
.hours-table tr {
  border-bottom: 1px solid var(--color-divider);
}
.hours-table tr:last-child {
  border-bottom: none;
}
.hours-table td {
  padding-block: var(--space-3);
  font-size: var(--text-sm);
}
.hours-table td:first-child {
  color: var(--color-text-muted);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--color-text);
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  border-top: 1px solid var(--color-divider);
  background: var(--color-surface-offset);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
}
@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.footer-brand img {
  height: 46px;
  margin-bottom: var(--space-4);
}
.footer-brand p {
  max-width: 40ch;
  font-size: var(--text-sm);
}
.footer-heading {
  font-family: var(--font-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-list a {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.footer-list a:hover {
  color: var(--color-text);
}
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===================================================================
   Scroll reveal
   =================================================================== */
.reveal {
  opacity: 0;
  clip-path: inset(8% 0 0 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    clip-path: none;
    transition: none;
  }
}

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.grain-divider {
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--color-divider) 0, var(--color-divider) 6px, transparent 6px, transparent 12px);
}

/* ===================================================================
   Reviews
   =================================================================== */
.reviews-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  justify-content: space-between;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .reviews-header {
    flex-direction: row;
    align-items: flex-end;
  }
}
.rating-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 240px;
}
.rating-stars {
  color: var(--color-primary);
  font-size: var(--text-lg);
  letter-spacing: 0.1em;
}
.rating-score {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-text);
}
.rating-score .rating-of {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  font-weight: 400;
}
.rating-count {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.rating-link {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}
.rating-link:hover {
  color: var(--color-primary-hover);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-10);
}
@media (min-width: 700px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.review-stars {
  color: var(--color-primary);
  letter-spacing: 0.1em;
  font-size: var(--text-sm);
}
.review-text {
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.6;
  flex-grow: 1;
}
.review-author {
  font-family: var(--font-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ===================================================================
   Financing
   =================================================================== */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.financing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .financing-grid {
    grid-template-columns: 1.3fr 0.7fr;
  }
}
.financing-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.financing-points li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.financing-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}
.financing-disclaimer {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 52ch;
}
.financing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  text-align: center;
}
.financing-badge {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.financing-badge-label {
  font-family: var(--font-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.financing-badge-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.02em;
  color: var(--color-primary);
}
.financing-tagline {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.financing-amount {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
  gap: var(--space-6);
}
.financing-amount div {
  display: flex;
  flex-direction: column;
}
.financing-amount .num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
}
.financing-amount .label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
