/* =====================================================================
   GREENWOOD AUTO CENTRE — styles.css
   Built from webbuild starter template spec
   Accent: Deep Indigo (#4F46E5)
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Neutral scale */
  --neutral-50:  #FAFAFA;
  --neutral-100: #F4F4F5;
  --neutral-200: #E4E4E7;
  --neutral-300: #D4D4D8;
  --neutral-400: #A1A1AA;
  --neutral-500: #71717A;
  --neutral-600: #52525B;
  --neutral-700: #3F3F46;
  --neutral-800: #27272A;
  --neutral-900: #18181B;

  /* Accent — Deep Indigo */
  --accent:        #4F46E5;
  --accent-hover:  #4338CA;
  --accent-active: #3730A3;
  --accent-soft:   #EEF2FF;

  /* Semantic */
  --success: #16A34A;
  --warning: #D97706;
  --error:   #DC2626;
  --info:    #2563EB;

  /* Surfaces */
  --bg:           var(--neutral-50);
  --bg-elevated:  #FFFFFF;
  --text:         var(--neutral-900);
  --text-muted:   var(--neutral-600);
  --border:       var(--neutral-200);

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing — 8px 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;

  /* Radii */
  --radius-sm: 6px;
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow:    0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-nav: 0 1px 0 var(--neutral-200), 0 4px 16px rgba(0, 0, 0, 0.04);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 72px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast:   150ms;
  --t-base:   200ms;
  --t-slow:   400ms;

  /* Type stack */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------------------
   2. RESET
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
:root { color-scheme: light; }
html { scroll-behavior: smooth; }

/* ---------------------------------------------------------------------
   3. BASE
   --------------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--neutral-900);
}
h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.25rem); letter-spacing: -0.035em; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 1.25rem + 3vw, 3rem); letter-spacing: -0.03em; text-transform: uppercase; }
h3 { font-size: clamp(1.375rem, 1.05rem + 1.4vw, 1.75rem); }
h4 { font-size: var(--text-lg); font-weight: 700; }

p { color: var(--text-muted); max-width: 65ch; }
p strong { color: var(--text); font-weight: 600; }

a { transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--accent-hover); }
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 5px var(--accent);
  border-radius: 4px;
}

/* ---------------------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

main > section {
  padding-block: clamp(4rem, 8vw, 8rem);
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.section-intro {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-intro h2 { margin-bottom: var(--space-4); }
.section-intro p { margin-inline: auto; }
.section-lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 50ch;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--neutral-900);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  z-index: 100;
  font-weight: 500;
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* ---------------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.6875rem 1.125rem;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
  white-space: nowrap;
  user-select: none;
}
.btn-lg { padding: 0.875rem 1.375rem; font-size: var(--text-base); }
.btn .icon { transition: transform var(--t-base) var(--ease); flex-shrink: 0; }
.btn:hover .icon { transform: translateX(2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.2);
}
.btn-primary:hover  { background: var(--accent-hover); color: #fff; }
.btn-primary:active { background: var(--accent-active); transform: translateY(1px); }

.btn-secondary {
  background: transparent;
  color: var(--neutral-900);
  border-color: var(--neutral-300);
}
.btn-secondary:hover  { background: var(--neutral-100); border-color: var(--neutral-400); color: var(--neutral-900); }
.btn-secondary:active { background: var(--neutral-200); transform: translateY(1px); }

.btn-ghost { background: transparent; color: var(--neutral-900); }
.btn-ghost:hover { background: var(--neutral-100); color: var(--neutral-900); }

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 5px var(--accent);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ---------------------------------------------------------------------
   6. HEADER & NAV
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-nav); background: rgba(250, 250, 250, 0.92); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent);
  font-weight: 600;
  font-size: var(--text-base);
}
.brand:hover { color: var(--accent); }
.brand-name { color: var(--neutral-900); letter-spacing: -0.01em; }

.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex;
  gap: var(--space-8);
}
.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-700);
  padding: var(--space-2) 0;
  position: relative;
}
.nav-desktop a:hover { color: var(--neutral-900); }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav-desktop a:hover::after { transform: scaleX(1); }

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

/* Open/Closed status pill */
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-700);
}
.nav-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-400);
  flex-shrink: 0;
}
.nav-status-text {
  white-space: nowrap;
}
.nav-call-btn .icon { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  position: relative;
  z-index: 60;
  transition: background-color var(--t-fast) var(--ease);
}
.hamburger:hover { background: var(--neutral-100); }
.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-900);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .nav-actions { display: inline-flex; }
  .hamburger { display: none; }
}

/* ---------------------------------------------------------------------
   7. MOBILE NAV OVERLAY
   --------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--neutral-50);
  z-index: 55;
  padding: calc(var(--nav-height) + var(--space-8)) clamp(1rem, 6vw, 2.5rem) var(--space-12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }

.mobile-nav nav { max-width: 480px; }
.mobile-nav-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--neutral-200);
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-8);
}
.mobile-nav a {
  display: block;
  padding: var(--space-4) 0;
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--neutral-900);
  border-bottom: 1px solid var(--neutral-200);
  min-height: 44px;
  letter-spacing: -0.01em;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-cta { width: 100%; }

@media (min-width: 1024px) {
  .mobile-nav { display: none; }
}

/* ---------------------------------------------------------------------
   8. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--neutral-50);
}
main > section.hero {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 8vw, 6rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(79, 70, 229, 0.06) 0%, transparent 70%),
    radial-gradient(40% 30% at 85% 30%, rgba(79, 70, 229, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
.hero-text { max-width: 580px; }
.hero-title {
  font-size: clamp(2.25rem, 1.4rem + 3.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: var(--space-6);
  color: var(--neutral-900);
}
.hero-sub {
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .hero-image img {
    aspect-ratio: 4 / 3;
    max-height: 480px;
  }
}

/* ---------------------------------------------------------------------
   9. STATS
   --------------------------------------------------------------------- */
.stats {
  background: #FFFFFF;
  border-block: 1px solid var(--border);
}
main > section.stats {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-6);
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat { text-align: left; display: block; }
a.stat { color: inherit; border-radius: var(--radius); }
a.stat:hover { color: inherit; background: var(--neutral-100); }
a.stat:hover .stat-figure { color: var(--accent); }
.stat-figure {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--neutral-900);
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 24ch;
}

/* ---------------------------------------------------------------------
   10. SERVICES
   --------------------------------------------------------------------- */
.services { background: var(--neutral-50); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition:
    transform var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.service-card { position: relative; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
}
.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  letter-spacing: -0.015em;
}
.service-card p {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 40ch;
}
.service-card p a {
  color: var(--accent);
  font-weight: 500;
}
.service-card p a:hover {
  color: var(--accent-hover);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------------------
   11. GALLERY
   --------------------------------------------------------------------- */
.gallery { background: #FFFFFF; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-wide {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-wide {
    grid-column: span 2;
  }
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  transition: transform var(--t-slow) var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.02);
}

/* ---------------------------------------------------------------------
   12. REVIEWS
   --------------------------------------------------------------------- */
.reviews { background: var(--neutral-50); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.review-stars {
  display: flex;
  gap: var(--space-1);
  color: var(--warning);
}
.review-card blockquote p {
  font-size: var(--text-base);
  color: var(--neutral-700);
  line-height: 1.6;
  max-width: 50ch;
}
.review-author {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--neutral-200);
}
.review-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--neutral-900);
}

/* ---------------------------------------------------------------------
   13. CONTACT / VISIT
   --------------------------------------------------------------------- */
.contact { background: #FFFFFF; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.contact-block h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-500);
  margin-bottom: var(--space-3);
}
.contact-block p {
  font-size: var(--text-base);
  color: var(--neutral-900);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}
/* Phone numbers must never line-break mid-number */
a[href^="tel:"] { white-space: nowrap; }
.contact-card {
  display: block;
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: inherit;
  transition:
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
}
.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  background: var(--accent-soft);
  color: inherit;
}
.contact-card h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-500);
  margin-bottom: var(--space-3);
}
.contact-card p {
  font-size: var(--text-base);
  color: var(--neutral-900);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
}
.contact-card:hover .contact-link { color: var(--accent-hover); }
.contact-link .icon { flex-shrink: 0; }

/* Hours list */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--neutral-100);
  font-size: var(--text-sm);
  color: var(--neutral-900);
  max-width: 320px;
}
.hours-list li span:first-child {
  font-weight: 500;
  color: var(--neutral-700);
  min-width: 3rem;
}
.hours-closed {
  color: var(--neutral-500);
}
.hours-closed span:last-child {
  color: var(--neutral-500);
}

/* Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: var(--neutral-100);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ---------------------------------------------------------------------
   14. FINAL CTA
   --------------------------------------------------------------------- */
.cta { background: var(--neutral-50); }
.cta-inner {
  text-align: center;
  max-width: 720px;
}
.cta h2 { margin-bottom: var(--space-4); }
.cta p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto var(--space-8);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-5);
}
.cta-fine {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  text-align: center;
}

/* ---------------------------------------------------------------------
   15. FOOTER
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding-block: clamp(3rem, 6vw, 5rem) var(--space-8);
}
.site-footer .brand-name { color: #FFFFFF; }
.site-footer .brand { color: #FFFFFF; }
.site-footer .brand .brand-mark { color: var(--accent-soft); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.2fr 2.4fr; gap: var(--space-12); }
}

.footer-brand { max-width: 320px; }
.footer-tag {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--neutral-400);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-6);
}
@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  font-size: var(--text-sm);
  color: var(--neutral-400);
}
.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-8);
  border-top: 1px solid var(--neutral-800);
  font-size: var(--text-sm);
  color: var(--neutral-500);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom p { color: var(--neutral-500); }

/* ---------------------------------------------------------------------
   16. ACCESSIBILITY — reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------
   17. OVERFLOW SAFETY
   --------------------------------------------------------------------- */
html, body { overflow-x: clip; }
