/* ============================================================
   Freeport Transmission — styles.css
   Design system: Coinbase Guidelines (adapted)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Brand */
  --color-primary:          #0052ff;
  --color-primary-active:   #003ecc;
  --color-primary-disabled: #a8b8cc;

  /* Surfaces */
  --color-canvas:               #ffffff;
  --color-surface-soft:         #f7f7f7;
  --color-surface-strong:       #eef0f3;
  --color-surface-dark:         #0a0b0d;
  --color-surface-dark-elevated:#16181c;

  /* Hairlines */
  --color-hairline:      #dee1e6;
  --color-hairline-soft: #eef0f3;

  /* Text */
  --color-ink:          #0a0b0d;
  --color-body:         #5b616e;
  --color-body-strong:  #0a0b0d;
  --color-muted:        #7c828a;
  --color-muted-soft:   #a8acb3;
  --color-on-primary:   #ffffff;
  --color-on-dark:      #ffffff;
  --color-on-dark-soft: #a8acb3;

  /* Semantic */
  --color-semantic-up:   #05b169;
  --color-semantic-down: #cf202f;

  /* Spacing */
  --sp-xxs:     4px;
  --sp-xs:      8px;
  --sp-sm:     12px;
  --sp-base:   16px;
  --sp-md:     20px;
  --sp-lg:     24px;
  --sp-xl:     32px;
  --sp-xxl:    48px;
  --sp-section:12px;

  /* Radius */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 100px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-display: 'Inter', -apple-system, system-ui, sans-serif;
  --font-body:    'Inter', -apple-system, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

/* ── TOP NAV ──────────────────────────────────────────────── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  /* minimum breathing room between brand and the menu; menu stays pinned right */
  gap: var(--sp-xl);
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-on-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-brand span { color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-on-dark-soft);
  line-height: 1.4;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--color-on-dark); }
.nav-links a.active { color: var(--color-on-dark); }
.nav-cta {
  background: var(--color-primary);
  color: var(--color-on-primary) !important;
  font-weight: 600 !important;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 14px !important;
  white-space: nowrap;
  transition: background 0.15s ease !important;
}
.nav-cta:hover { background: var(--color-primary-active) !important; color: var(--color-on-primary) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--sp-xs);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-on-dark);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.mobile-nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.mobile-nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--color-surface-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-lg) var(--sp-xl);
  flex-direction: column;
  gap: var(--sp-md);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-on-dark-soft);
  padding: var(--sp-xs) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a.nav-cta {
  display: inline-block;
  border-bottom: none !important;
  margin-top: var(--sp-xs);
}

/* ── HERO BAND (DARK) ─────────────────────────────────────── */
.hero-band {
  background: var(--color-surface-dark);
  position: relative;
  overflow: hidden;
  padding: var(--sp-section) 0;
}
.hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/AdobeStock_430529690.jpeg') center/cover no-repeat;
  opacity: 0.18;
}
.hero-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,11,13,0.92) 40%, rgba(0,82,255,0.06) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-block;
  background: var(--color-surface-dark-elevated);
  color: var(--color-on-dark-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-lg);
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -1.6px;
  color: var(--color-on-dark);
  margin-bottom: var(--sp-lg);
}
.hero-h1 em { font-style: normal; color: var(--color-primary); }
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-on-dark-soft);
  margin-bottom: var(--sp-xxl);
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-base);
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  padding: 16px 32px;
  border-radius: var(--r-pill);
  height: 56px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn-primary:hover  { background: var(--color-primary-active); }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-dark-elevated);
  color: var(--color-on-dark);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-secondary-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-on-dark);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn-outline-dark:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.04); }

/* Hero Product Card (dark elevated) */
.hero-card-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card {
  position: relative;
  z-index: 1;
  background: var(--color-surface-dark-elevated);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-card);
  width: 340px;
}
.product-card-back {
  position: absolute;
  z-index: 0;
  width: 320px;
  height: 180px;
  background: rgba(22,24,28,0.7);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,0.05);
  transform: rotate(-4deg) translateY(16px) translateX(20px);
  backdrop-filter: blur(4px);
}
.product-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-on-dark-soft);
  margin-bottom: var(--sp-base);
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-on-dark);
  letter-spacing: -0.5px;
  margin-bottom: var(--sp-sm);
  line-height: 1.2;
}
.product-card-items { list-style: none; display: flex; flex-direction: column; gap: var(--sp-xs); margin-bottom: var(--sp-lg); }
.product-card-items li {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: 14px;
  color: var(--color-on-dark-soft);
}
.product-card-items li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.product-card-cta {
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s ease;
}
.product-card-cta:hover { background: var(--color-primary-active); }

/* ── TOWING STRIP ─────────────────────────────────────────── */
.towing-strip {
  background: var(--color-primary);
  padding: 12px var(--sp-xl);
  text-align: center;
}
.towing-strip p {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-on-primary);
  letter-spacing: 0.01em;
}
.towing-strip a {
  color: var(--color-on-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── SECTION (LIGHT — TRUST) ──────────────────────────────── */
.section-light {
  background: var(--color-canvas);
  padding: var(--sp-section) 0;
}
.section-soft {
  background: var(--color-surface-soft);
  padding: var(--sp-section) 0;
}
.section-dark {
  background: var(--color-surface-dark);
  padding: var(--sp-section) 0;
}

.section-label {
  display: inline-block;
  background: var(--color-surface-strong);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-lg);
}
.section-label-dark {
  background: var(--color-surface-dark-elevated);
  color: var(--color-on-dark-soft);
  border: 1px solid rgba(255,255,255,0.08);
}
.section-h2 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: -1px;
  color: var(--color-ink);
  margin-bottom: var(--sp-base);
}
.section-h2-dark { color: var(--color-on-dark); }
.section-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-body);
  max-width: 560px;
  margin-bottom: var(--sp-xxl);
}
.section-body-dark { color: var(--color-on-dark-soft); }

/* ── FEATURE CARDS (3-UP) ─────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.feature-card {
  background: var(--color-canvas);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  border: 1px solid var(--color-hairline);
  transition: box-shadow 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-soft); }
.feature-card-dark {
  background: var(--color-surface-dark-elevated);
  border: 1px solid rgba(255,255,255,0.08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-surface-strong);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  font-size: 20px;
}
.feature-icon-dark { background: rgba(255,255,255,0.08); }
.feature-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--sp-xs);
  line-height: 1.33;
}
.feature-card-title-dark { color: var(--color-on-dark); }
.feature-card-body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-body);
}
.feature-card-body-dark { color: var(--color-on-dark-soft); }

/* ── IMAGE CARDS (services) ───────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.service-card {
  background: var(--color-canvas);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,11,13,0.6) 0%, transparent 60%);
}
.service-card-body {
  padding: var(--sp-xl);
}
.service-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--sp-xs);
}
.service-card-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-body);
  margin-bottom: var(--sp-base);
}
.service-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s ease;
}
.service-card-link:hover { gap: 8px; }

/* ── LEAD FORM SECTION ────────────────────────────────────── */
.form-section {
  background: var(--color-surface-dark);
  padding: var(--sp-section) 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: start;
}
.form-intro { max-width: 480px; }
.form-wrapper {
  background: var(--color-surface-dark-elevated);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  border: 1px solid rgba(255,255,255,0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-base);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-base);
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-on-dark-soft);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.15s ease;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--color-primary); border-width: 2px; }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--color-surface-dark); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 32px;
  height: 56px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  margin-top: var(--sp-xs);
}
.form-submit:hover  { background: var(--color-primary-active); }
.form-submit:active { transform: scale(0.98); }
.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-xxl) var(--sp-xl);
  color: var(--color-on-dark);
}
.form-success h3 { font-size: 24px; font-weight: 600; margin-bottom: var(--sp-sm); }
.form-success p  { color: var(--color-on-dark-soft); font-size: 16px; }

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: var(--color-surface-dark);
  padding: var(--sp-section) 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cta-band .section-h2 { color: var(--color-on-dark); margin-bottom: var(--sp-base); }
.cta-band .section-body { color: var(--color-on-dark-soft); margin: 0 auto var(--sp-xxl); }
.cta-band-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-base);
  flex-wrap: wrap;
}

/* ── HOURS / INFO CARDS ───────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}
.info-card {
  background: var(--color-canvas);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  border: 1px solid var(--color-hairline);
}
.info-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: var(--sp-base);
  letter-spacing: -0.01em;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-hairline-soft);
  font-size: 15px;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--color-ink); font-weight: 500; }
.hours-time { color: var(--color-body); font-family: var(--font-mono); font-size: 14px; }
.hours-closed { color: var(--color-muted); }
.address-text { font-size: 16px; color: var(--color-body); line-height: 1.6; }
.address-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--sp-sm);
  transition: gap 0.15s ease;
}
.address-link:hover { gap: 10px; }

/* ── PAGE HERO (lighter pages) ────────────────────────────── */
.page-hero {
  background: var(--color-surface-dark);
  padding: 12px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.12;
}
.page-hero.services-hero::before {
  background: url('../images/AdobeStock_539080960.jpeg') center/cover no-repeat;
}
.page-hero.contact-hero::before {
  background: url('../images/motor-oil-engine-bay.jpg') center/cover no-repeat;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,11,13,0.9) 50%, rgba(0,82,255,0.05) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero-badge {
  display: inline-block;
  background: var(--color-surface-dark-elevated);
  color: var(--color-on-dark-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-lg);
}
.page-h1 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -1.3px;
  color: var(--color-on-dark);
  margin-bottom: var(--sp-lg);
}
.page-h1 em { font-style: normal; color: var(--color-primary); }
.page-hero-sub {
  font-size: 18px;
  color: var(--color-on-dark-soft);
  line-height: 1.6;
  max-width: 520px;
}

/* ── SERVICES PAGE ────────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: center;
  padding: var(--sp-section) 0;
  border-bottom: 1px solid var(--color-hairline);
}
.service-detail-grid:last-child { border-bottom: none; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 360px;
}
.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail-badge {
  display: inline-block;
  background: var(--color-surface-strong);
  color: var(--color-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-lg);
}
.service-detail-h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.11;
  letter-spacing: -0.5px;
  color: var(--color-ink);
  margin-bottom: var(--sp-base);
}
.service-detail-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-body);
  margin-bottom: var(--sp-lg);
}
.service-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--sp-xl);
}
.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  font-size: 15px;
  color: var(--color-body-strong);
}
.service-detail-list li::before {
  content: '✓';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  color: white;
  font-size: 11px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── BTN LIGHT ────────────────────────────────────────────── */
.btn-primary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  height: 48px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}
.btn-primary-light:hover  { background: var(--color-primary-active); }
.btn-primary-light:active { transform: scale(0.98); }
.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-strong);
  color: var(--color-ink);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 24px;
  height: 48px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.btn-secondary-light:hover { background: var(--color-hairline); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--color-canvas);
  border-top: 1px solid var(--color-hairline);
  padding: var(--sp-xxl) 0 var(--sp-xl);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-xxl);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-sm);
}
.footer-brand span { color: var(--color-primary); }
.footer-tagline {
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.5;
  margin-bottom: var(--sp-base);
  max-width: 260px;
}
.footer-phone {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink);
}
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-base);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer-links li { font-size: 14px; color: var(--color-body); }
.footer-links a {
  font-size: 14px;
  color: var(--color-body);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--color-ink); }
.footer-legal {
  border-top: 1px solid var(--color-hairline);
  padding-top: var(--sp-lg);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}
.footer-legal a { color: var(--color-muted); text-decoration: underline; }

/* ── CALL TRACKING ────────────────────────────────────────── */
.call-tracking-number {
  /* Intentional hook for call tracking swap */
}

/* ── UTILITIES ────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-base { margin-bottom: var(--sp-base); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mt-xl { margin-top: var(--sp-xl); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-h1      { font-size: 52px; }
  .section-h2   { font-size: 36px; }
  .page-h1      { font-size: 44px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
}

@media (max-width: 768px) {
  :root { --sp-section: 12px; }

  .top-nav { position: relative; }
  .nav-links   { display: none; }
  .nav-hamburger { display: flex; }

  .hero-inner   { grid-template-columns: 1fr; }
  .hero-h1      { font-size: 40px; letter-spacing: -1px; }
  .hero-card-stack { display: none; }

  .section-h2   { font-size: 32px; }
  .page-h1      { font-size: 36px; letter-spacing: -0.8px; }

  .feature-grid  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .form-grid    { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }

  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }

  .info-grid    { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-xl); }

  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions .btn-primary,
  .cta-band-actions .btn-secondary-dark { width: 100%; justify-content: center; }

  .hero-ctas    { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-base); }
  .hero-h1   { font-size: 32px; }
  .section-h2 { font-size: 28px; }
  .page-h1   { font-size: 28px; }
  .hero-sub  { font-size: 16px; }
}
