/* ============================================================
   Arlington Heights Transmission — Design System
   Mobile-first, conversion-focused
   ============================================================ */

/* --- Variables --- */
:root {
  --navy:    #102A2B;
  --amber:   #C49A3A;
  --amber-dk:#96742A;
  --white:   #ffffff;
  --off-white:#f8f9fa;
  --gray-100:#f1f3f5;
  --gray-200:#e9ecef;
  --gray-400:#adb5bd;
  --gray-600:#6c757d;
  --gray-800:#343a40;
  --text:    #1a1a1a;
  --green:   #28a745;
  --red:     #dc3545;

  --font-sans: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.15);

  --transition: .2s ease;
  --max-w: 1200px;
  --header-h: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; text-decoration-color: rgba(13, 33, 55, .35); }
a:hover { color: var(--amber); text-decoration-color: currentColor; }
a[href^="tel:"],
a[href^="sms:"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}
/* Dark sections need a high-contrast link color (navy would be invisible).
   Exclude .btn — buttons set their own colors. */
.section--dark a:not(.btn):not(.btn-secondary):not(.btn-primary),
.hero a:not(.btn):not(.btn-secondary):not(.btn-primary),
.page-hero a:not(.btn):not(.btn-secondary):not(.btn-primary),
.cta-section a:not(.btn):not(.btn-secondary):not(.btn-primary),
.site-footer a:not(.btn):not(.btn-secondary):not(.btn-primary) { color: var(--amber); }
.section--dark a:not(.btn):not(.btn-secondary):not(.btn-primary):hover,
.hero a:not(.btn):not(.btn-secondary):not(.btn-primary):hover,
.page-hero a:not(.btn):not(.btn-secondary):not(.btn-primary):hover,
.site-footer a:not(.btn):not(.btn-secondary):not(.btn-primary):hover { color: #fff; }
/* Footer column lists keep their muted gray */
.site-footer .footer-col ul a { color: var(--gray-400); }
.site-footer .footer-col ul a:hover { color: var(--white); }
.site-footer .footer-col ul a,
.site-footer .footer-bottom a,
.site-footer .footer-brand a,
.check-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
ul, ol { list-style: none; }
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--gray-600); }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 3.5rem 0; }
.section-lg { padding: 5rem 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--gray { background: var(--gray-100); }
.section--amber { background: var(--amber); }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-amber { color: var(--amber) !important; }
.text-navy  { color: var(--navy) !important; }

.section-header { margin-bottom: 2.5rem; text-align: center; }
.section-header p { color: var(--gray-600); max-width: 640px; margin: .75rem auto 0; font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none !important;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dk);
  border-color: var(--amber-dk);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-block { display: flex; width: 100%; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--header-h);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  text-decoration: none !important;
}
.logo-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
}
.logo-name span { color: var(--amber); }
.logo-tag {
  font-size: .65rem;
  color: var(--gray-400);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.header-phone {
  display: none;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
}
@media (min-width: 480px) { .header-phone { display: flex; } }
.header-phone-label {
  font-size: .65rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.header-phone-number {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: -.01em;
}
.header-cta {
  display: none;
}
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* Nav */
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: .25rem;
  }
  .main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: .875rem;
    font-weight: 600;
    padding: .4rem .75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
  }
  .main-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
}

/* Mobile hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem;
  flex-direction: column;
  gap: .25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--gray-400);
  font-weight: 600;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.mobile-menu .menu-phone {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--amber);
  text-align: center;
  padding: 1rem;
  margin-top: auto;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(239,159,39,.15);
  border: 1px solid rgba(239,159,39,.3);
  border-radius: 100px;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 span { color: var(--amber); }
.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}
.hero-trust-item svg { color: var(--amber); flex-shrink: 0; }

/* Hero card / promo panel */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.hero-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
  text-align: center;
}
.promo-list { display: flex; flex-direction: column; gap: .75rem; }
.promo-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
  border-left: 4px solid var(--amber);
}
.promo-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--amber);
  white-space: nowrap;
}
.promo-desc { font-size: .875rem; color: var(--gray-800); font-weight: 600; }
.promo-desc span { color: var(--gray-600); font-weight: 400; font-size: .8rem; display: block; }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--amber);
  padding: 1rem 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  color: var(--navy);
  font-size: .9rem;
}
.trust-item svg { flex-shrink: 0; }

/* --- Cards --- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-6 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (max-width: 640px) { .grid-6 { grid-template-columns: 1fr; } }
/* 8-card services grid (punch list 1.3) — compact 4×2 desktop, 2×4 mobile */
.grid-services-8 { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .grid-services-8 { grid-template-columns: repeat(4, 1fr); } }
.grid-services-8 .card { display: flex; flex-direction: column; }
.grid-services-8 .card > img {
  width: 100% !important;
  height: 145px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: .5rem .5rem 0 0 !important;
  aspect-ratio: auto !important;
}
.grid-services-8 .card-body { padding: .65rem .8rem .75rem; }
.grid-services-8 .card-icon {
  display: none;
}
.grid-services-8 .card-title { font-size: .92rem; font-weight: 700; margin: 0 0 .25rem; line-height: 1.25; }
.grid-services-8 .card-text {
  font-size: .78rem;
  line-height: 1.4;
  margin: 0 0 .4rem;
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.grid-services-8 .card-link { font-size: .78rem; padding: 0; }

/* Contact + claim form layout (punch list 3, 4) — form-left / info-right */
.contact-form-section { background: var(--gray-100, #f8fafc); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-col {
  background: #fff;
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
@media (max-width: 480px) { .contact-form-col { padding: 1.25rem; } }
.contact-info-col { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: .5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.contact-info-card h3 { margin: 0 0 .75rem; font-size: 1.1rem; color: var(--navy, #102A2B); }
.contact-info-card p { margin: 0 0 .85rem; font-size: .92rem; line-height: 1.5; color: #374151; }
.contact-phone {
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amber, #C49A3A);
  text-decoration: none;
  min-height: 44px;
}
.contact-phone:hover { text-decoration: underline; }
.contact-phone-actions {
  margin-top: .25rem;
  font-size: .9rem;
  color: var(--gray-600, #6c757d);
}
.contact-phone-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy, #102A2B);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--amber);
  min-height: 44px;
  min-width: 48px;
}
.contact-phone-action:hover { color: var(--amber); }
.footer-phone-actions {
  margin-top: .35rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.footer-phone-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.95);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed var(--amber);
  min-height: 44px;
  min-width: 48px;
}
.footer-phone-action:hover { color: var(--amber); }
/* Form field styling — works on light or dark contact-form-col */
.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: .88rem;
  color: #374151;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .7rem .85rem;
  margin-top: .35rem;
  border: 1px solid #cbd5e1;
  border-radius: .375rem;
  font: inherit;
  font-size: 1rem;
  color: #0f172a;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber, #C49A3A);
  box-shadow: 0 0 0 3px rgba(239, 159, 39, .18);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button[type="submit"] { width: 100%; margin-top: .25rem; }

/* Photo gallery — compact strip carousel (punch list 1.12) */
.gallery-section .gallery-caption-text { text-align: center; }
.photo-gallery { position: relative; }
.gallery-track {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .25rem .25rem .5rem;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 200px;
  height: 130px;
  scroll-snap-align: start;
  margin: 0;
  border-radius: .375rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  font-size: 0;
  line-height: 0;
  display: block;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}
@media (min-width: 768px) {
  .gallery-slide { flex-basis: 240px; height: 150px; }
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 33, 55, 0.85);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.gallery-arrow:hover { background: var(--amber); color: var(--navy); }
.gallery-arrow--prev { left: -12px; }
.gallery-arrow--next { right: -12px; }
@media (max-width: 640px) {
  .gallery-arrow { display: none; }
}

/* Neighborhood tiles — clean text + pin icon (no photos until real neighborhood imagery is sourced) */
.neighborhood-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .neighborhood-grid { grid-template-columns: repeat(4, 1fr); } }
.neighborhood-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: .5rem;
  padding: 1rem .75rem;
  text-decoration: none;
  color: var(--navy);
  min-height: 110px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.neighborhood-card:hover {
  transform: translateY(-2px);
  border-color: var(--amber);
  box-shadow: 0 6px 16px rgba(13,33,55,.08);
}
.neighborhood-card .pin-icon {
  width: 22px;
  height: 22px;
  color: var(--amber);
  margin-bottom: .35rem;
}
.neighborhood-name {
  display: block;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  line-height: 1.25;
}
.neighborhood-meta {
  display: block;
  font-size: .72rem;
  color: var(--gray-600);
  margin-top: .15rem;
  letter-spacing: .03em;
}

/* Make emblem cards — used on /transmissions/ hub */
.make-emblem-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .make-emblem-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .make-emblem-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .make-emblem-grid { grid-template-columns: repeat(5, 1fr); } }
.make-emblem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: .5rem;
  padding: 1.5rem 1rem 1.1rem;
  text-decoration: none;
  color: var(--navy);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.make-emblem-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
  box-shadow: 0 8px 22px rgba(13,33,55,.10);
}
.make-emblem-card-img {
  height: 56px;
  width: auto;
  max-width: 110px;
  margin-bottom: .85rem;
  object-fit: contain;
}
.make-emblem-card-mono {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--amber);
  margin-bottom: .85rem;
  height: 56px;
  display: flex;
  align-items: center;
}
.make-emblem-card-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: .2rem;
}
.make-emblem-card-meta {
  font-size: .78rem;
  color: var(--gray-600);
  margin-bottom: .55rem;
  line-height: 1.4;
}
.make-emblem-card-cta {
  font-size: .78rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: .03em;
  margin-top: auto;
}

/* Hub-grid for /arlington-heights/ and similar list pages — card-link-block wraps */
.makes-hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .makes-hub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .makes-hub-grid { grid-template-columns: repeat(4, 1fr); } }
.card-link-block { text-decoration: none; color: inherit; display: block; }
.card-link-block .card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: .5rem;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card-link-block:hover .card {
  transform: translateY(-2px);
  border-color: var(--amber);
  box-shadow: 0 6px 18px rgba(13,33,55,.08);
}
.card-link-block .card h3 {
  margin: 0 0 .35rem;
  color: var(--navy);
  font-size: 1.05rem;
}
.card-link-block .card .card-meta {
  margin: 0 0 .85rem;
  color: var(--gray-600);
  font-size: .85rem;
  line-height: 1.45;
  flex: 1;
}
.card-link-block .card .card-cta {
  display: inline-block;
  color: var(--amber);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .02em;
}

/* Make tiles — clean monogram text (no photos / no emblems yet) */
.makes-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .makes-grid { grid-template-columns: repeat(5, 1fr); } }
.make-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: .5rem;
  padding: 1rem .5rem;
  text-decoration: none;
  color: var(--navy);
  min-height: 100px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.make-tile:hover {
  transform: translateY(-2px);
  border-color: var(--amber);
  box-shadow: 0 6px 16px rgba(13,33,55,.08);
}
.make-tile-mono {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--amber);
  line-height: 1;
  margin-bottom: .35rem;
}
.make-tile-emblem {
  display: block;
  height: 44px;
  width: auto;
  max-width: 90px;
  margin: 0 auto .5rem;
  object-fit: contain;
}
.make-tile-name {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  line-height: 1.25;
}
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--amber);
}
.card-body { padding: 1.25rem; }
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(239,159,39,.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 1rem;
}
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.card-text { font-size: .875rem; color: var(--gray-600); }
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--amber);
  margin-top: .75rem;
  min-height: 44px;
  min-width: 44px;
}

/* Make cards */
.make-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none !important;
  color: var(--navy);
  font-weight: 700;
  transition: all var(--transition);
}
.make-card:hover {
  border-color: var(--amber);
  background: rgba(239,159,39,.06);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.make-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

/* --- Reviews / Testimonials --- */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.review-stars { color: var(--amber); font-size: 1.1rem; margin-bottom: .75rem; }
.review-text { font-size: .9rem; color: var(--gray-800); font-style: italic; margin-bottom: 1rem; }
.review-author { font-weight: 700; font-size: .875rem; color: var(--navy); }
.review-date { font-size: .78rem; color: var(--gray-600); }

.safe-scenarios .review-text {
  font-style: normal;
  margin-bottom: 0;
}

.scenario-label {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: .65rem;
}

.safe-scenarios .text-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

@media (max-width: 767px) {
  .safe-scenarios .text-center .btn {
    min-height: 44px;
    width: min(100%, 320px);
  }
}

/* --- Rating badge --- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(239,159,39,.1);
  border: 1px solid rgba(239,159,39,.25);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-weight: 800;
  color: var(--navy);
  font-size: .9rem;
}
.rating-stars { color: var(--amber); }

/* --- Service List --- */
.service-list { display: flex; flex-direction: column; gap: .5rem; }
.service-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: var(--gray-800);
}
.service-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  flex-shrink: 0;
}

/* --- CTA Sections --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy), #1e3f6a);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.75); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary { font-size: 1.1rem; padding: 1rem 2rem; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* --- Banner / Alert --- */
.top-banner {
  background: var(--amber);
  color: var(--navy);
  text-align: center;
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 700;
}
.top-banner a { color: var(--navy); text-decoration: underline; }
.top-banner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}

/* --- Forms --- */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .35rem; color: var(--gray-800); }
.form-control {
  display: block;
  width: 100%;
  padding: .65rem .9rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--amber); }
.form-control::placeholder { color: var(--gray-400); }

/* Contact form card */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--amber);
}

/* --- Footer --- */
.site-footer {
  background: #071524;
  color: var(--gray-400);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .logo-name { color: var(--white); }
.footer-brand p { font-size: .875rem; margin-top: .75rem; max-width: 280px; line-height: 1.7; }
.footer-phone {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--amber);
  text-decoration: none !important;
  display: block;
  margin-top: 1rem;
}
.footer-col h4 { color: var(--white); font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col ul a { color: var(--gray-400); font-size: .875rem; text-decoration: none; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--amber); }
/* Mobile footer accordion (punch list 0.4) */
@media (max-width: 600px) {
  .footer-col h4 { cursor: pointer; user-select: none; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .footer-col h4::after { content: "+"; font-size: 1.25rem; font-weight: 400; color: var(--amber); transition: transform var(--transition); }
  .footer-col.open h4::after { content: "−"; }
  .footer-col ul { max-height: 0; overflow: hidden; transition: max-height .25s ease; gap: 0; }
  .footer-col.open ul { max-height: 1000px; padding: .75rem 0 1rem; gap: .5rem; }
  .footer-brand { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}
.footer-bottom a { color: var(--gray-400); }
.footer-bottom a:hover { color: var(--amber); }
.footer-schema-address { display: none; }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: .75rem 0;
  font-size: .825rem;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.breadcrumb a { color: var(--gray-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--gray-400); }

/* --- Page Hero (inner pages) — dramatic, high-contrast hero across every page --- */
.page-hero {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(239,159,39,0.08) 0%, transparent 55%),
    linear-gradient(135deg, #0a1d33 0%, #14365b 60%, #1d4474 100%);
  color: var(--white);
  padding: 6.5rem 0 5rem;
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero > .container { width: 100%; }
.page-hero .breadcrumb { color: rgba(255,255,255,.78); margin-bottom: 1.25rem; font-size: .88rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.95); text-decoration: none; font-weight: 600; }
.page-hero .breadcrumb a:hover { color: var(--amber); }
.page-hero .breadcrumb > span { color: rgba(255,255,255,.55); margin: 0 .4rem; }
.page-hero .breadcrumb > span:last-child { color: var(--amber); margin-right: 0; font-weight: 600; }
.page-hero .eyebrow,
.page-hero .offer-badge {
  display: inline-block;
  color: var(--navy);
  background: var(--amber);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.page-hero h1 {
  color: #ffffff !important;
  font-size: clamp(34px, 4.6vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  margin: 0 0 1.1rem !important;
  max-width: 880px;
  letter-spacing: -.01em;
}
.page-hero p,
.page-hero .hero-sub {
  color: rgba(255,255,255,0.9);
  max-width: 720px;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
  margin: 0 0 1.65rem;
  font-weight: 400;
}
.page-hero .hero-cta,
.page-hero .hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: .25rem;
}
.page-hero .hero-cta .btn,
.page-hero .hero-cta-group .btn { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.page-hero .page-hero-form-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  gap: 44px;
  align-items: center;
}
.page-hero .page-hero-copy { min-width: 0; }
.page-hero .page-hero-form-card {
  justify-self: end;
  width: 100%;
  max-width: 500px;
}
.page-hero .page-hero-form-card h2 { color: #102A2B !important; }
.page-hero .page-hero-form-card p,
.page-hero .page-hero-form-card .hero-form-note { max-width: none; }
.page-hero .breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
}

/* "Get Free diagnostic intake" button — white background, dark text — pops on hero */
.page-hero .btn-primary,
.hero .btn-primary,
.cta-section .btn-primary,
.split-section .btn-primary {
  background: #ffffff !important;
  color: var(--navy, #102A2B) !important;
  border: 2px solid #ffffff !important;
}
.page-hero .btn-primary:hover,
.hero .btn-primary:hover,
.cta-section .btn-primary:hover,
.split-section .btn-primary:hover {
  background: var(--amber, #C49A3A) !important;
  color: var(--navy, #102A2B) !important;
  border-color: var(--amber, #C49A3A) !important;
}
@media (max-width: 640px) {
  .page-hero { padding: 3rem 0 2rem; min-height: 0; }
  .page-hero .page-hero-form-shell { grid-template-columns: 1fr; gap: 18px; }
  .page-hero .page-hero-form-card { justify-self: stretch; max-width: none; padding: 16px; }
  .page-hero h1 { font-size: clamp(28px, 8vw, 36px) !important; }
  .page-hero .hero-cta,
  .page-hero .hero-cta-group { flex-direction: column; align-items: stretch; }
  .page-hero .hero-cta .btn,
  .page-hero .hero-cta-group .btn { width: 100%; justify-content: center; text-align: center; }
}

/* --- Promo badge --- */
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--amber);
  color: var(--navy);
  border-radius: 100px;
  padding: .3rem .85rem;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* --- Sticky phone bar (mobile) --- */
.sticky-phone-bar {
  display: none !important;
}
@media (min-width: 768px) { .sticky-phone-bar { display: none; } }
.sticky-phone-bar a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 900;
  color: var(--navy);
  font-size: 1rem;
  text-decoration: none !important;
}
/* push body above sticky bar on mobile */
@media (max-width: 767px) { body { padding-bottom: 60px; } }

/* --- Offer / landing-page specific --- */
.offer-hero { background: linear-gradient(135deg, var(--navy) 0%, #0f2d4a 100%); padding: 4rem 0; }
.offer-price-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--amber);
  color: var(--navy);
  border-radius: var(--radius-xl);
  padding: 1.25rem 2rem;
  margin-bottom: 1.5rem;
}
.offer-price-tag .was { font-size: .85rem; font-weight: 700; text-decoration: line-through; opacity: .6; }
.offer-price-tag .now { font-size: 3rem; font-weight: 900; line-height: 1; }
.offer-price-tag .desc { font-size: .9rem; font-weight: 700; }

/* --- Blog --- */
/* Blog index grid + filter pills (Section 5) */
.blog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card-emoji {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3f6a 100%);
  color: var(--amber);
}
.blog-card-img-real {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.blog-card-cat {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .35rem;
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 .5rem;
}
.blog-card-date {
  font-size: .78rem;
  color: var(--gray-600);
  margin: 0 0 .75rem;
}
.blog-card-link {
  display: inline-block;
  margin-top: auto;
  color: var(--amber);
  font-weight: 700;
  font-size: .85rem;
}
.blog-card.hidden { display: none; }

/* Filter pills */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.blog-filter-search {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: .55rem .85rem;
  border: 1px solid #cbd5e1;
  border-radius: 100px;
  font: inherit;
  background: #fff;
}
.blog-filter-search:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(239,159,39,.18);
}
.blog-filter-pill {
  padding: .45rem .9rem;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 100px;
  background: #fff;
  color: #374151;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.blog-filter-pill:hover {
  border-color: var(--amber);
  color: var(--navy);
}
.blog-filter-pill.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy), #1e3f6a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: .78rem; color: var(--gray-600); margin-bottom: .5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.blog-tag { background: var(--gray-100); border-radius: 100px; padding: .2rem .6rem; }
.blog-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.blog-card h3 a { color: var(--navy); text-decoration: none; }
.blog-card h3 a:hover { color: var(--amber); }
.blog-card p { font-size: .875rem; color: var(--gray-600); flex: 1; }

/* --- FAQ --- */
/* FAQ list with thumbnails (Section 2 cleanup — replaces over-applied splits on /faq/) */
.faq-grid-section { background: #fff; }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid #e6e9ee;
}
.faq-item--with-thumb {
  border-bottom: 1px solid #e6e9ee;
}
.faq-item--with-thumb > .faq-q {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1rem 0;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  font-family: inherit;
}
.faq-item--with-thumb > .faq-q:hover { color: var(--amber); }
.faq-thumb {
  width: 64px;
  height: 64px;
  border-radius: .375rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e6e9ee;
}
.faq-item--with-thumb .faq-question-text { flex: 1; }
.faq-item--with-thumb .faq-icon {
  font-size: 1.5rem;
  color: var(--amber);
  font-weight: 400;
  width: 24px;
  text-align: center;
}
.faq-item--with-thumb.open .faq-icon { transform: rotate(45deg); }
.faq-item--with-thumb .faq-a {
  display: none;
  padding: 0 0 1.25rem 5rem;
  color: #374151;
  line-height: 1.65;
}
.faq-item--with-thumb.open .faq-a { display: block; }
@media (max-width: 600px) {
  .faq-thumb { width: 48px; height: 48px; }
  .faq-item--with-thumb .faq-a { padding-left: 0; }
}

.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
}
.faq-q:hover { color: var(--amber); }
.faq-q .faq-icon { font-size: 1.25rem; flex-shrink: 0; transition: transform var(--transition); }
.faq-a { display: none; padding: 0 0 1rem; font-size: .9rem; color: var(--gray-600); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* --- Neighborhood map placeholder --- */
.map-placeholder {
  height: 300px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
  color: var(--gray-600);
  font-weight: 700;
}
.map-placeholder span { font-size: 3rem; }

/* --- Process steps --- */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) {
  .steps { flex-direction: row; }
  .steps .step { flex: 1; }
}
.step { display: flex; gap: 1rem; }
@media (min-width: 768px) {
  .step { flex-direction: column; text-align: center; align-items: center; }
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 900;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Step icon (punch list 1.7) */
.step-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: rgba(239, 159, 39, 0.12);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px;
  max-height: 36px;
  display: block;
}
.step h4 { margin-bottom: .3rem; }
.step p { font-size: .875rem; color: var(--gray-600); }

/* --- Comparison table --- */
.compare-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.compare-table th, .compare-table td {
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.compare-table th { background: var(--navy); color: var(--white); font-weight: 700; }
.compare-table tr:nth-child(even) { background: var(--gray-100); }
.compare-table .check { color: var(--green); font-weight: 900; }
.compare-table .x { color: var(--red); }

/* --- Helper utilities --- */
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* ============================================================
   Mega Menu — Desktop
   ============================================================ */
.mega-nav {
  display: none;
  align-items: center;
  gap: .25rem;
}
@media (min-width: 1024px) {
  .mega-nav { display: flex; }
  .main-nav { display: none !important; }
}

.mega-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}

.mega-item { position: relative; }

/* Trigger button */
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  color: var(--gray-400);
  font-size: .875rem;
  font-weight: 600;
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  background: none;
  border: none;
  line-height: 1;
  min-height: 44px;
}
.mega-trigger:hover,
.mega-item.open .mega-trigger {
  color: var(--white);
  background: rgba(255,255,255,.09);
}
.mega-trigger .chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.mega-item.open .chevron { transform: rotate(180deg); }

.mega-simple-link,
.mega-link,
.mega-service-item,
.mega-offer-item {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}

.mega-simple-link {
  justify-content: center;
  padding: .4rem .75rem;
}

/* Dropdown panel */
.mega-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  border: 1px solid var(--gray-200);
  z-index: 2000;
  min-width: 220px;
  animation: panelFade .14s ease;
}
.mega-item.open .mega-panel { display: block; }

/* Arrow notch */
.mega-panel::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 7px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: drop-shadow(0 -2px 2px rgba(0,0,0,.06));
}

@keyframes panelFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mega-panel--wide  { min-width: 560px; left: 0; transform: none; }
.mega-panel--wide::before { left: 4rem; transform: none; }
.mega-panel--services { min-width: 420px; }
.mega-panel--narrow { min-width: 260px; }

.mega-inner { padding: 1.25rem; }

/* Column layout (Transmissions panel) */
.mega-columns {
  display: flex;
  gap: 2rem;
}
.mega-col {
  display: flex;
  flex-direction: column;
  min-width: 148px;
}
.mega-col-label {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  padding-bottom: .5rem;
  margin-bottom: .35rem;
  border-bottom: 2px solid var(--gray-100);
}

/* Links inside panels */
.mega-link {
  display: block;
  color: var(--gray-700, #495057);
  font-size: .875rem;
  font-weight: 500;
  padding: .32rem .45rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.mega-link:hover {
  color: var(--navy);
  background: var(--gray-100);
  text-decoration: none;
}
.mega-cta-link { color: var(--green) !important; font-weight: 700; }
.mega-see-all  {
  font-size: .8rem !important;
  font-weight: 700 !important;
  color: var(--amber) !important;
  margin-top: .2rem;
}
.mega-see-all:hover { background: rgba(239,159,39,.08) !important; }

/* Services grid panel */
.mega-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .2rem;
}
.mega-service-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: var(--gray-800);
  font-size: .85rem;
  font-weight: 500;
  padding: .4rem .5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.mega-service-item:hover { background: var(--gray-100); color: var(--navy); text-decoration: none; }
.mega-service-icon { font-size: 1rem; width: 22px; text-align: center; flex-shrink: 0; }

/* Offer items */
.mega-offer-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--gray-800);
  text-decoration: none;
  padding: .55rem .45rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  transition: all var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.mega-offer-item:last-child { border-bottom: none; }
.mega-offer-item:hover { background: var(--gray-100); color: var(--navy); text-decoration: none; }
.mega-offer-price {
  font-weight: 900;
  color: var(--amber);
  font-size: 1rem;
  min-width: 46px;
}

/* Locations grid */
.mega-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .1rem;
}

/* Simple link (Blog / Contact) */
.mega-simple-link {
  display: block;
  color: var(--gray-400);
  font-size: .875rem;
  font-weight: 600;
  padding: .4rem .7rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.mega-simple-link:hover { color: var(--white); background: rgba(255,255,255,.09); }

/* Backdrop */
.mega-backdrop { display: none; }

/* ============================================================
   Mobile Menu (mob-menu)
   ============================================================ */
.mob-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #071524;
  z-index: 1100;
  overflow-y: auto;
  flex-direction: column;
  padding: 1.25rem;
  gap: 0;
}
.mob-menu.open { display: flex; }
@media (min-width: 1024px) { .mob-menu { display: none !important; } }

.mob-cta {
  background: var(--amber);
  color: var(--navy) !important;
  border-radius: var(--radius-md);
  padding: .9rem 1.25rem;
  font-weight: 900;
  font-size: 1rem;
  display: block;
  text-align: center;
  text-decoration: none !important;
  margin-bottom: 1rem;
}
.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  font-size: 1rem;
  padding: .95rem .25rem;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--transition);
}
.mob-link:hover { color: var(--white); }
.mob-link .arrow { color: var(--amber); font-size: .9rem; }
.mob-phone {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--amber) !important;
  text-align: center;
  display: block;
  padding: 1.25rem .5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.1);
  text-decoration: none !important;
}

/* ============================================================
   Hub Page Cards  (dark overlay + icon)
   ============================================================ */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 640px)  { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .hub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .hub-grid { grid-template-columns: repeat(4, 1fr); } }

.hub-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .hub-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.hub-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 235px;
  background: linear-gradient(145deg, #102A2B 0%, #173354 55%, #0f2640 100%);
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 2px solid rgba(255,255,255,.06);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  text-decoration: none !important;
  cursor: pointer;
}
/* subtle inner gradient overlay */
.hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}
/* grid pattern noise */
.hub-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1v1H0z' fill='%23ffffff' fill-opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hub-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(239,159,39,.22), 0 4px 16px rgba(0,0,0,.25);
}
.hub-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(239,159,39,.14);
  border: 1px solid rgba(239,159,39,.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.hub-card-body {
  margin-top: auto;
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
}
.hub-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .3rem;
  line-height: 1.25;
}
.hub-card-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .9rem;
  line-height: 1.5;
}
.hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--amber);
}
.hub-card-cta::after { content: ' →'; }
.hub-card:hover .hub-card-cta { text-decoration: underline; }

/* ============================================================
   All Makes Page
   ============================================================ */
.makes-alpha-group { margin-bottom: 2.5rem; }
.makes-alpha-letter {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  border-bottom: 3px solid var(--amber);
  padding-bottom: .3rem;
  margin-bottom: 1rem;
  min-width: 36px;
  text-align: center;
}
.makes-grid-alpha {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
@media (min-width: 480px) { .makes-grid-alpha { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .makes-grid-alpha { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px){ .makes-grid-alpha { grid-template-columns: repeat(5, 1fr); } }

.make-logo-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.1rem .9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  text-decoration: none !important;
  color: var(--navy);
  font-weight: 700;
  transition: all var(--transition);
  text-align: center;
}
.make-logo-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239,159,39,.15);
}
.make-logo-box {
  width: 72px;
  height: 52px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--gray-200);
}
.make-logo-name { font-size: .9rem; font-weight: 800; color: var(--navy); }
.make-logo-sub  { font-size: .72rem; color: var(--amber); font-weight: 600; }

/* ============================================================
   Models Index Page
   ============================================================ */
.model-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.filter-btn {
  padding: .38rem .85rem;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.filter-btn:hover {
  border-color: var(--amber);
  color: var(--navy);
}
.filter-btn.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
@media (min-width: 480px) { .model-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .model-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px){ .model-grid { grid-template-columns: repeat(5, 1fr); } }

.model-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: .9rem;
  text-decoration: none !important;
  color: var(--navy);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.model-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(239,159,39,.12);
}
.model-card-make {
  font-size: .68rem;
  font-weight: 800;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.model-card-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}
.model-card-link {
  font-size: .72rem;
  color: var(--gray-500, #adb5bd);
  margin-top: .1rem;
}
.models-meta {
  font-size: .875rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.model-card.hidden { display: none; }

/* Problems grid (make pages — common transmission issues) */
.problems-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .problems-grid { grid-template-columns: repeat(2, 1fr); } }
.problem-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-left: 4px solid var(--amber);
  border-radius: .5rem;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 2px 10px rgba(13,33,55,.05);
}
.problem-card h3 {
  margin: 0 0 .35rem;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.25;
}
.problem-card p {
  margin: 0 0 .5rem;
  color: #374151;
  line-height: 1.55;
  font-size: .92rem;
}
.problem-card p:last-child { margin-bottom: 0; }
.problem-card .symptoms {
  margin-top: .55rem;
  padding-top: .65rem;
  border-top: 1px dashed #d1d5db;
  font-size: .88rem;
  color: var(--gray-600);
}

/* Types hub grid (transmission unit selector) */
.types-hub-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .types-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .types-hub-grid { grid-template-columns: repeat(3, 1fr); } }
.type-card {
  display: block;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-left: 4px solid var(--amber);
  border-radius: .5rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.type-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13,33,55,.08);
  border-color: var(--amber);
}
.type-card .type-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: .25rem;
  line-height: 1.3;
}
.type-card .type-vehicles {
  color: var(--gray-600);
  font-size: .82rem;
  line-height: 1.5;
}

/* Pricing box (make pages) */
.pricing-box {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: .5rem;
  padding: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(13,33,55,.06);
}
.pricing-box pre {
  margin: 0 0 1rem;
  font-family: inherit;
  white-space: pre-wrap;
  font-size: .95rem;
  line-height: 1.7;
  color: #374151;
}
.pricing-box .pricing-note {
  font-size: .82rem;
  color: var(--gray-600);
  margin: 0 0 1rem;
}

/* ============================================================
   Header — hide old simple .main-nav, show mega-nav
   ============================================================ */

/* ── Audit Fixes (Apr 2026) ─────────────────────────────── */

/* Prevent horizontal overflow on mobile */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* Fix: Top banner text overflow */
.top-banner {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Fix: Footer-bottom stacks on small mobile */
@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  .footer-bottom > div {
    width: 100%;
  }
}

/* Fix: Hero CTAs stack vertically on small mobile */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    gap: .75rem;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Fix: Service CTA buttons need vertical stacking on mobile */
@media (max-width: 640px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: .75rem;
  }
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Print / a11y --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .sticky-phone-bar, .mobile-menu { display: none; }
  body { padding: 0; }
}

/* Fix: Mega menu panels overflow on tablets */
@media (max-width: 1024px) {
  .mega-panel--wide {
    min-width: 0;
    width: calc(100vw - 2rem);
    max-width: 100%;
    left: 0 !important;
    transform: none !important;
  }
  .mega-columns {
    flex-direction: column;
  }
  .mega-col--makes {
    min-width: 0 !important;
  }
}


/* ─────────────────────────────────────────────
   Image layout styles (added by image pipeline)
   ───────────────────────────────────────────── */

/* Hero image */
.page-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Body images — float right on desktop */
.body-image {
  width: 45%;
  float: right;
  margin: 0 0 20px 20px;
  border-radius: 8px;
  display: block;
}

/* When a body-image figure ends up inside the gallery carousel, reset all
   body-image styling so it fills the slide like every other gallery image. */
.gallery-slide img.body-image,
.gallery-slide .body-image {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  float: none !important;
  border-radius: 0 !important;
  display: block !important;
}

/* Full width body image */
.body-image-full {
  width: 100%;
  margin: 20px 0;
  border-radius: 8px;
  display: block;
}

/* Figure and caption */
figure {
  margin: 0 0 1.5rem;
}
figcaption {
  font-size: 13px;
  color: #666;
  padding: 6px 0;
  font-style: italic;
}

/* Body images section */
.ct-body-images-section {
  background: #f8f9fa;
  padding: 2rem 0;
}
.ct-body-images-intro {
  max-width: 760px;
  margin: 0 0 1rem;
}

.ct-body-images-intro {
  display: none !important;
}
.ct-body-images-intro .eyebrow {
  margin-bottom: .35rem;
}
.ct-body-images-intro p {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.55;
}
.ct-body-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.ct-body-images figure {
  margin: 0;
}
.ct-body-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Hero image container */
.hero-image-container {
  margin: 1.5rem 0;
}
.hero-image-container figure {
  margin: 0;
}

/* Mobile — all images full width */
@media (max-width: 768px) {
  .body-image {
    width: 100%;
    float: none;
    margin: 20px 0;
  }
  .page-hero-image {
    height: 250px;
  }
  .ct-body-images {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PHASE 1 FIXES — Mobile, Navigation, Hero, Split, Images
   ============================================================ */

/* Mobile nav active state (new JS uses .active class) */
.mob-menu.active { display: flex; }

/* Body base */
body { overflow-x: hidden; }

/* Announcement bar mobile fix */
.top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .top-banner { font-size: .78rem; padding: .4rem .75rem; }
  .top-banner .hide-mobile { display: none; }
}

/* Hamburger open animation */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero new full-page structure (reduced from 100vh — no longer eats whole viewport) */
.hero {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
  background: none;
}
@media (min-width: 1024px) { .hero { min-height: 640px; } }
.hero::before { display: none; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,33,55,0.92) 0%, rgba(13,33,55,0.75) 60%, rgba(13,33,55,0.55) 100%);
  z-index: 1;
}
.hero-shell {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  gap: 44px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 0;
  color: white;
  margin-left: 0;
}
.hero-badge {
  display: inline-block;
  background: #C49A3A;
  color: #412402;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: none;
}
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 700; line-height: 1.15; margin: 0 0 16px; color: white; }
.hero-accent { color: #C49A3A; }
.hero-content p { font-size: clamp(16px, 2vw, 18px); color: rgba(255,255,255,0.85); margin: 0 0 28px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-primary { background: #C49A3A; color: #412402; padding: 14px 28px; border-radius: 6px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; display: inline-block; }
.btn-secondary { background: transparent; color: white; padding: 14px 28px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid rgba(255,255,255,0.6); white-space: nowrap; display: inline-block; }
.btn-primary:hover { background: #FAC775; text-decoration: none; }
.btn-secondary:hover { border-color: white; text-decoration: none; }
/* Hero trust checkmarks — 3-on-top, 2-on-bottom centered (punch list 1.1) */
.hero-trust { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.85); }
.hero-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.hero-trust-row span { white-space: nowrap; }
.hero-form-card {
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.26);
  padding: 22px;
  color: #102A2B;
}
.hero-form-header { margin-bottom: 16px; }
.hero-form-kicker {
  display: inline-block;
  background: #C49A3A;
  color: #412402;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.hero-form-header h2 {
  color: #102A2B;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.12;
  margin: 0 0 8px;
}
.hero-form-header p {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}
.hero-lead-form {
  display: grid;
  gap: 10px;
}
.hero-lead-form label {
  display: grid;
  gap: 5px;
  color: #102A2B;
  font-size: 13px;
  font-weight: 700;
}
.hero-lead-form input,
.hero-lead-form select,
.hero-lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  color: #102A2B;
  background: #fff;
}
.hero-lead-form textarea {
  min-height: 92px;
  resize: vertical;
}
.hero-lead-form input:focus,
.hero-lead-form select:focus,
.hero-lead-form textarea:focus {
  outline: 3px solid rgba(239,159,39,0.28);
  border-color: #C49A3A;
}
.hero-lead-form button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: #C49A3A;
  color: #412402;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  padding: 12px 16px;
}
.hero-form-note {
  color: #4b5563 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 2px 0 0 !important;
}
.hero-form-note a {
  color: #102A2B !important;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.hero-form-error {
  color: #c0392b;
  font-size: 13px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .hero { min-height: auto; align-items: flex-start; }
  .hero-shell { grid-template-columns: 1fr; gap: 18px; padding: 30px 20px 28px; }
  .hero-content { padding: 0; margin-left: 0; }
  .hero-buttons { display: none; }
  .btn-primary, .btn-secondary { text-align: center; padding: 16px 20px; }
  .hero-trust { gap: 6px; font-size: 12px; margin-top: 14px; }
  .hero-trust-row { gap: 10px 14px; }
  .hero-form-card { padding: 16px; }
  .hero-form-header { margin-bottom: 12px; }
  .hero-form-header h2 { font-size: 22px; }
  .hero-form-header p { font-size: 13px; }
}

/* Split sections */
.split-section { display: grid; grid-template-columns: 1fr 1fr; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-image-wrap { overflow: hidden; min-height: 280px; position: relative; }
.split-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.split-content { padding: 60px 48px; display: flex; flex-direction: column; justify-content: center; background: #102A2B; color: white; gap: 16px; }
.split-content-dark { background: #112940; }
/* Light variant for alternating split-sections (Section 2 internal page template) */
.split-content--light { background: #ffffff; color: var(--navy, #102A2B); justify-content: flex-start; padding-top: 48px; }
.split-content--light h2 { color: var(--navy, #102A2B) !important; }
.split-content.split-content--light p,
.split-content.split-content--light li,
.split-content.split-content--light ul,
.split-content.split-content--light ol { color: #374151; }
.split-content.split-content--light .split-list li,
.split-content.split-content--light .check-list li,
.split-content.split-content--light .warn-list li,
.split-content.split-content--light .process-list li { color: #374151; }
.split-content--light .check-list li::before,
.split-content--light .warn-list li::before,
.split-content--light .process-list li::before { color: var(--amber); }
.split-content--light .split-badge { background: var(--navy, #102A2B); color: #ffffff; }
.split-content--light .btn-primary { background: var(--amber, #C49A3A); color: var(--navy, #102A2B); }

/* Info panel grid (pricing/warranty cards pulled out of old sidebar) */
.info-panel-section { padding: 2.5rem 0; }
.info-panel-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .info-panel-grid { grid-template-columns: repeat(2, 1fr); } }
.info-panel-grid .sidebar-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: .5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(13,33,55,.06);
}
.info-panel-grid .sidebar-card h3 {
  margin: 0 0 .75rem;
  color: var(--navy, #102A2B);
  font-size: 1.15rem;
}
.info-panel-grid .sidebar-card p {
  margin: 0 0 .85rem;
  color: #374151;
  line-height: 1.6;
  white-space: pre-line;
}
.info-panel-grid .sidebar-card p:last-child { margin-bottom: 0; }
.info-panel-grid,
.info-panel-grid > .sidebar-card {
  min-width: 0;
  max-width: 100%;
}
.info-panel-grid .sidebar-card,
.info-panel-grid .sidebar-card p,
.info-panel-grid .sidebar-card li {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 480px) {
  .info-panel-grid .sidebar-card {
    padding: 1.25rem;
  }
}
.split-badge { display: inline-block; background: #C49A3A; color: #412402; font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px; width: fit-content; }
.split-content h2 { font-size: clamp(24px, 3vw, 36px); color: white; line-height: 1.2; margin: 0; }
.split-content p { color: rgba(255,255,255,0.8); line-height: 1.7; margin: 0; }
.split-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.split-list li { color: rgba(255,255,255,0.85); font-size: 15px; }
.split-price { display: flex; align-items: center; gap: 16px; }
.price-was { font-size: 18px; color: rgba(255,255,255,0.5); text-decoration: line-through; }
.price-now { font-size: 48px; font-weight: 700; color: #C49A3A; }
@media (max-width: 768px) {
  .split-section { grid-template-columns: 1fr; direction: ltr; }
  .split-reverse { direction: ltr; }
  .split-image-wrap { height: 280px; }
  .split-content { padding: 40px 20px; }
  .split-content h2 { font-size: clamp(22px, 5vw, 28px); }
}

/* Scattered image styles */
.img-float-right { float: right; width: 45%; margin: 0 0 24px 32px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.img-float-left { float: left; width: 45%; margin: 0 32px 24px 0; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.img-editorial { width: 100%; max-height: 480px; object-fit: cover; border-radius: 8px; margin: 32px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.12); display: block; }
.clearfix::after { content: ""; display: table; clear: both; }
@media (max-width: 768px) {
  .img-float-right, .img-float-left { float: none; width: 100%; margin: 0 0 20px 0; }
}

/* Makes grid letter icons */
.make-icon {
  width: 56px;
  height: 56px;
  background: #E6F1FB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #102A2B;
  margin-bottom: 8px;
}
.makes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; }
@media (max-width: 480px) {
  .makes-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Contact form (TASK 15) */
.contact-form{display:flex;flex-direction:column;gap:1rem}
.contact-form label{display:flex;flex-direction:column;gap:.35rem;
  font-weight:600;font-size:.95rem;color:#102A2B}
.contact-form input,
.contact-form textarea{padding:.65rem .9rem;border:1.5px solid #d1d5db;
  border-radius:.4rem;font-size:1rem;width:100%;
  transition:border-color .15s}
.contact-form input:focus,
.contact-form textarea:focus{border-color:#C49A3A;outline:none}
.contact-form button{align-self:flex-start}
@media(max-width:600px){.contact-form button{width:100%}}

/* Make logo cards (TASK 22) */
.make-logo-card{display:flex;flex-direction:column;align-items:center;
  justify-content:center;padding:1rem .75rem;border:1px solid #e5e7eb;
  border-radius:.5rem;text-align:center;text-decoration:none;
  color:#111827;background:#fff;transition:border-color .15s,transform .15s}
.make-logo-card:hover{border-color:#C49A3A;transform:translateY(-2px)}
.make-logo-card img{width:64px;height:64px;object-fit:contain;margin-bottom:.5rem}
.make-name{font-weight:600;font-size:.95rem;line-height:1.2;white-space:normal}
.make-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem}
@media(max-width:480px){.make-grid{grid-template-columns:repeat(3,1fr)}
.make-name{font-size:.8rem}}

/* Hero h1 mobile overflow (TASK 23) */
@media (max-width:480px){
  .hero h1, .page-hero h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.6rem);
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
  }
  .hero-sub, .page-hero .hero-sub {
    font-size: 1rem;
    line-height: 1.45;
  }
}

/* Hero overlay — left-side near-opaque so text always reads, right-side fades so the photo is visible */
.page-hero{position:relative;}
.page-hero:has(img)::before,
.page-hero[style*="background-image"]::before{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,
    rgba(8,18,33,0.97) 0%,
    rgba(8,18,33,0.94) 35%,
    rgba(8,18,33,0.72) 65%,
    rgba(8,18,33,0.42) 100%);
  pointer-events:none;z-index:0;}
@media (max-width: 900px) {
  .page-hero:has(img)::before,
  .page-hero[style*="background-image"]::before {
    background: linear-gradient(135deg,
      rgba(8,18,33,0.95) 0%,
      rgba(8,18,33,0.88) 60%,
      rgba(8,18,33,0.72) 100%);
  }
}
.page-hero:has(img) > .container,
.page-hero:has(img) > *:not(::before),
.page-hero[style*="background-image"] > .container,
.page-hero[style*="background-image"] > *:not(::before){position:relative;z-index:1;}

/* Blog breadcrumb wrap (TASK 33) */
.breadcrumb{flex-wrap:wrap;gap:.25rem .5rem}
.breadcrumb > span:last-child{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  display:inline-block;
  vertical-align:bottom;
}
@media(max-width:480px){
  .breadcrumb > span:last-child{max-width:240px}
}

/* Process and check lists (TASK 31) */
.process-list{counter-reset:step;list-style:none;padding-left:0;margin:1rem 0}
.process-list li{counter-increment:step;padding:.5rem 0 .5rem 2.5rem;
  position:relative;border-bottom:1px solid #f3f4f6}
.process-list li::before{content:counter(step);position:absolute;left:0;
  top:.4rem;width:1.75rem;height:1.75rem;border-radius:50%;
  background:#C49A3A;color:#fff;text-align:center;line-height:1.75rem;
  font-weight:700;font-size:.875rem}
.check-list{list-style:none;padding-left:0;margin:1rem 0}
.check-list li{padding:.4rem 0 .4rem 1.75rem;position:relative}
.check-list li::before{content:"\2713";position:absolute;left:0;
  color:#C49A3A;font-weight:700}
.check-list li.diagnostic-fine-print {
  margin-top: .35rem;
  padding-left: 0;
  font-size: .8rem;
  line-height: 1.45;
  color: rgba(255,255,255,.68);
}
.check-list li.diagnostic-fine-print::before { content: none; }

/* Blog body images (TASK 34) */
.body-image{margin:2rem 0}
.body-image img{width:100%;border-radius:.5rem;
  box-shadow:0 2px 12px rgba(0,0,0,0.1)}
.body-image figcaption{font-size:.85rem;color:#6b7280;
  margin-top:.5rem;font-style:italic}

/* Inline figures interspersed in blog post content (Section 5 part 2) */
.blog-inline-img {
  margin: 2.5rem 0;
}
.blog-inline-img img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  border-radius: .5rem;
  box-shadow: 0 4px 16px rgba(13, 33, 55, 0.08);
  display: block;
}
.blog-inline-img figcaption {
  margin-top: .55rem;
  font-size: .85rem;
  color: var(--gray-600);
  font-style: italic;
  text-align: center;
}

/* Page speed (TASK 40) */
img{max-width:100%;height:auto;display:block}
img[width][height]{aspect-ratio:attr(width) / attr(height)}

/* Hero hierarchy spacer (TASK 43, updated 2026-04-29 punch list 0.2 — gap removed; trust bar/sections now butt directly under hero) */
.hero-spacer{height:60px}
.page-hero + *,.hero + *{margin-top:0}
@media(max-width:768px){
  .hero-spacer{height:40px}
  .page-hero + *,.hero + *{margin-top:0}
}

/* Z-pattern content staggering (TASK 44) */
.z-row{display:grid;grid-template-columns:1fr 1fr;
  gap:60px;align-items:center;padding:80px 0}
.z-row:nth-child(even){direction:rtl}
.z-row:nth-child(even) > *{direction:ltr}
.z-row-image{width:100%;border-radius:12px;
  box-shadow:0 8px 32px rgba(0,0,0,0.12);
  object-fit:cover;height:360px}
.z-row-content{display:flex;flex-direction:column;gap:16px}
.z-row-content h2{font-size:clamp(22px,3vw,32px);
  color:#102A2B;margin:0}
.z-row-content p{font-size:16px;color:#444;
  line-height:1.7;margin:0}
@media(max-width:768px){
  .z-row{grid-template-columns:1fr;gap:24px;
    padding:40px 0;direction:ltr!important}
  .z-row:nth-child(even){direction:ltr}
  .z-row-image{height:220px}
}

/* Section padding and content block spacing (TASK 45) */
.section{padding:80px 0}
@media(max-width:768px){.section{padding:40px 0}}
.content-block + .content-block{margin-top:80px}
@media(max-width:768px){
  .content-block + .content-block{margin-top:40px}
}
.body-image,.img-float-right,.img-float-left{
  margin-top:24px;margin-bottom:24px}
.page-content > * + *{margin-top:60px}
@media(max-width:768px){
  .page-content > * + *{margin-top:40px}
}
img + p, img + h2, img + h3{margin-top:16px}
p + img, h2 + img, h3 + img{margin-top:24px}

/* Sticky mobile CTA (TASK 49) */
.sticky-mobile-cta{
  display:none;
  position:fixed;
  bottom:0;left:0;right:0;
  z-index:9999;
  background:#C49A3A;
  color:#412402;
  text-align:center;
  padding:14px 20px;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 -2px 12px rgba(0,0,0,0.15);
  border-top:2px solid #d4891f;
}
.sticky-mobile-cta:hover{background:#FAC775}
@media(max-width:768px){
  .sticky-mobile-cta{display:block}
  body{padding-bottom:56px}
}

/* Contact form (TASK 15) */
.contact-form{display:flex;flex-direction:column;gap:1rem}
.contact-form label{display:flex;flex-direction:column;gap:.35rem;
  font-weight:600;font-size:.95rem;color:#102A2B}
.contact-form input,
.contact-form textarea{padding:.65rem .9rem;border:1.5px solid #d1d5db;
  border-radius:.4rem;font-size:1rem;width:100%;transition:border-color .15s}
.contact-form input:focus,
.contact-form textarea:focus{border-color:#C49A3A;outline:none}
.contact-form button{align-self:flex-start;margin-top:.5rem}
@media(max-width:600px){.contact-form button{width:100%}}


/* ============================================================
   AUDIT FIXES - Apr 30, 2026
   Override inline footer grid on mobile/tablet, enforce tap-target
   minimums, body font min, defensive overflow handling.
   ============================================================ */

/* Footer grid - every page has inline style="grid-template-columns:1.8fr 1fr 1fr 1fr 1fr"
   which leaks 5 columns down to mobile. Override with !important on small screens only. */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .footer-brand { padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.07); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Long footer lists (Vehicle Makes — 28+ items) split into 2 columns on
   desktop so they don't dominate the footer height. Targets only ULs with
   15+ children via :has() so short lists remain a single column. Mobile
   accordion behavior (below 600px) is unaffected. */
@media (min-width: 768px) {
  .footer-col ul:has(li:nth-child(15)) {
    display: block;
    column-count: 2;
    column-gap: 1.25rem;
  }
  .footer-col ul:has(li:nth-child(15)) li {
    break-inside: avoid;
    margin-bottom: .4rem;
  }
  .footer-col ul:has(li:nth-child(15)) li:last-child {
    margin-bottom: 0;
  }
}

/* Footer link tap targets - 44px min on mobile, 8px separation */
@media (max-width: 767px) {
  .footer-col ul { gap: 0; }
  .footer-col.open ul { gap: 0; padding: .5rem 0 1rem; }
  .footer-col ul a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .25rem 0;
    font-size: 1rem;
  }
  .footer-bottom a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 .25rem;
  }
}

/* Header - ensure phone/menu touch targets meet 44px on mobile */
@media (max-width: 767px) {
  .site-header a,
  .site-header button,
  .header-cta,
  .site-header [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Inputs at 16px on mobile to prevent iOS focus-zoom */
@media (max-width: 767px) {
  input, select, textarea { font-size: 16px !important; }
}

/* Defensive horizontal-overflow guard */
html { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }

/* Sticky CTA spacing - guarantee 60px clearance on every mobile page */
@media (max-width: 767px) {
  body { padding-bottom: 60px !important; }
}

/* Breadcrumb tap targets */
@media (max-width: 767px) {
  .breadcrumb a, nav.breadcrumb a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 .25rem;
  }
}

/* Top banner links (Call/Text shortcuts) */
@media (max-width: 767px) {
  .top-banner a, .top-banner-text {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 .35rem;
  }
}

/* Footer phone actions, email link, bottom-bar links */
@media (max-width: 767px) {
  .footer-phone-action,
  .site-footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .site-footer .footer-bottom a {
    min-width: 44px;
    justify-content: center;
  }
}

/* Sticky mobile CTA tap target — only apply on mobile so the desktop
   default `display: none` is preserved. */
@media (max-width: 768px) {
  .sticky-mobile-cta, .sticky-mobile-cta a, .sticky-phone-bar a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Card "Learn more / Read more" links — give them touch room on mobile */
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 767px) {
  .card-link,
  .blog-card-body a,
  .blog-card a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .top-banner-text { min-width: 44px; justify-content: center; }
  .filter-btn, .filter-pill, .pill, .chip {
    min-height: 44px;
    padding: .5rem .9rem;
  }
}
/* End audit fixes */


/* ============================================================
   MOBILE MENU v2 - Apr 30 2026
   Accordion sections, animated open/close, close button.
   ============================================================ */

/* Reset old display:none/flex toggle so we can animate */
.mob-menu {
  display: flex !important;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(100vw, 420px);
  max-width: 100vw;
  background: #071524;
  z-index: 1100;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  contain: layout paint;
}
.mob-menu.open,
.mob-menu.active {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}
@media (min-width: 1024px) { .mob-menu { display: none !important; } }

@media (max-width: 1023px) {
  .mob-menu:not(.open):not(.active) {
    display: none !important;
  }
  .mob-menu.open,
  .mob-menu.active {
    display: flex !important;
  }
}

/* Backdrop is appended by JS */
.mob-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 1099;
}
.mob-menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 1024px) { .mob-menu-backdrop { display: none; } }

/* Menu header bar with title + close X */
.mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #071524;
  position: sticky;
  top: 0;
  z-index: 2;
}
.mob-menu-title {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.mob-close {
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms ease-out, transform 160ms ease-out;
}
.mob-close:hover { background: rgba(255,255,255,0.16); }
.mob-close:active { transform: scale(0.94); }

/* Spacing for items inside the menu */
.mob-menu > .mob-cta,
.mob-menu > .mob-section,
.mob-menu > .mob-link,
.mob-menu > .mob-phone,
.mob-menu > .mob-text {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mob-menu > .mob-cta {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

/* Section accordion */
.mob-section {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mob-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  background: none;
  border: none;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  min-height: 48px;
  transition: color 160ms ease-out;
}
.mob-section-toggle > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.mob-section-toggle:hover { color: var(--amber); }
.mob-chev {
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0, 1);
  color: rgba(255,255,255,0.6);
}
.mob-section.open .mob-chev {
  transform: rotate(180deg);
  color: var(--amber);
}

.mob-section-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 280ms cubic-bezier(0.32, 0.72, 0, 1),
              opacity 200ms ease-out;
}
.mob-section.open .mob-section-body {
  max-height: 900px;
  opacity: 1;
}
.mob-section-body a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.5rem 0.55rem 2.1rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  border-top: 1px solid rgba(255,255,255,0.04);
  transition: color 160ms ease-out, background 160ms ease-out;
}
.mob-section-body a:first-child { border-top: 1px solid rgba(255,255,255,0.04); }
.mob-section-body a:hover { color: #fff; background: rgba(255,255,255,0.03); }
.mob-section-body a:active { background: rgba(255,255,255,0.06); }
.mob-section-body .mob-section-all {
  color: var(--amber);
  font-weight: 700;
  padding-bottom: 0.85rem;
}

/* Bottom plain links + phone/text */
.mob-menu .mob-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 0.25rem;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-top: 0;
  min-height: 48px;
  transition: color 160ms ease-out;
}
.mob-menu .mob-link .arrow { display: none; }
.mob-link:hover { color: var(--amber); }
.mob-emoji {
  display: inline-flex;
  width: 1.4em;
  justify-content: center;
}

.mob-phone {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy) !important;
  background: var(--amber);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 0.65rem;
  text-decoration: none !important;
  min-height: 52px;
}
.mob-phone:active { transform: scale(0.985); }

.mob-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 0.65rem;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1rem;
  min-height: 48px;
  transition: background 160ms ease-out, border-color 160ms ease-out;
}
.mob-text:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }

/* Lock the body when menu is open (handled in JS via overflow:hidden) */
/* End mobile menu v2 */

/* ============================================================
   STICKY BOTTOM CTA — cleanup Apr 30 2026
   - Hide redundant .sticky-phone-bar (duplicates .sticky-mobile-cta)
   - Slim .sticky-mobile-cta vertical footprint
   ============================================================ */
.sticky-phone-bar { display: none !important; }

.sticky-mobile-cta {
  padding: 12px 16px !important;
  font-size: 15px !important;
  border-top: 0 !important;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12) !important;
  letter-spacing: 0.01em;
  line-height: 1.25;
  transition: background 160ms ease-out, transform 160ms ease-out;
}
.sticky-mobile-cta:active { transform: scale(0.985); }

/* Match body padding to the new (single) sticky height */
@media (max-width: 767px) {
  body { padding-bottom: 56px !important; }
}
/* End sticky cleanup */

/* ============================================================
   POLISH PASS - Apr 30 2026 (emil-design-eng lens)
   Custom easing variables, button press feedback, micro-interactions.
   ============================================================ */
:root {
  --ease-out:       cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:    cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:    cubic-bezier(0.32, 0.72, 0, 1);
}

/* Press feedback on all CTA buttons - scale down 3% */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.mob-cta,
.sticky-mobile-cta,
.hero-buttons a,
.offer-price-tag,
.cta-bar a,
button[type="submit"] {
  transition: background 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              color 180ms var(--ease-out),
              transform 140ms var(--ease-out),
              box-shadow 180ms var(--ease-out);
}
.btn:active,
.btn-primary:active,
.btn-secondary:active,
.btn-outline:active,
.mob-cta:active,
.sticky-mobile-cta:active,
.hero-buttons a:active,
.cta-bar a:active,
button[type="submit"]:active {
  transform: scale(0.97);
}

/* Disable hover-lift effects on touch devices to prevent stuck-hover state */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { transform: translateY(-1px); }
  .card:hover { transform: translateY(-2px); }
}
@media (hover: none) {
  .btn-primary:hover,
  .card:hover { transform: none; }
}

/* Card press feedback for clickable cards */
.card,
.blog-card,
.make-card,
.hub-card,
.model-card,
.mega-service-item,
.mega-offer-item {
  transition: transform 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out),
              border-color 200ms var(--ease-out);
}
.card:active,
.blog-card:active,
.make-card:active,
.hub-card:active,
.model-card:active,
.mega-service-item:active,
.mega-offer-item:active {
  transform: scale(0.98);
}

/* Mega-nav dropdown polish - origin-aware, custom curve */
.mega-panel {
  transform-origin: top center;
  transition: opacity 180ms var(--ease-out),
              transform 180ms var(--ease-out),
              visibility 0s linear 180ms;
}
.mega-item.open .mega-panel {
  transition: opacity 180ms var(--ease-out),
              transform 180ms var(--ease-out),
              visibility 0s linear 0s;
}

/* Section padding rhythm - consistent on desktop */
@media (min-width: 1024px) {
  .section { padding: 5rem 0; }
  .section-lg { padding: 6.5rem 0; }
  .section + .section { padding-top: 4rem; }
}

/* Top banner compactness on mobile */
@media (max-width: 767px) {
  .top-banner {
    font-size: 0.78rem;
    padding: 0.45rem 0.6rem;
    line-height: 1.35;
  }
}

/* Hero overlay consistency on interior page heroes */
.page-hero {
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13, 33, 55, 0.55) 0%,
    rgba(13, 33, 55, 0.35) 50%,
    rgba(13, 33, 55, 0.65) 100%);
  pointer-events: none;
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }

/* Make sure hero text always wraps on narrow screens */
.hero h1, .page-hero h1 { overflow-wrap: anywhere; }

/* Smooth color transitions on text links */
a {
  transition: color 160ms var(--ease-out);
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:active,
  .card:active { transform: none !important; }
}
/* End polish pass */

/* ============================================================
   May 1 2026 — Pricing/Warranty card fixes, body-image gallery
   upgrade, footer compaction
   ============================================================ */

/* 1) Pricing/Warranty: secondary phone button is invisible on white card
      (white text + white border on white bg). Re-color when scoped inside
      a sidebar-card so the button reads. */
.sidebar-card .btn-secondary,
.info-panel-grid .btn-secondary {
  border-color: var(--navy, #102A2B);
  color: var(--navy, #102A2B);
  background: transparent;
}
.sidebar-card .btn-secondary:hover,
.info-panel-grid .btn-secondary:hover {
  background: var(--navy, #102A2B);
  color: #fff;
}

/* 2) Pricing/Warranty: flank each card with a decorative shop image
      so the section matches the rest of the page's image+text rhythm.
      Mobile keeps the simple 1-col stack (cards only) — images appear
      from tablet up. */
.info-panel-grid > .sidebar-card {
  display: flex;
  flex-direction: column;
}
.info-panel-grid > .sidebar-card > .btn:last-of-type,
.info-panel-grid > .sidebar-card > a.btn:last-of-type {
  margin-top: auto;
}
@media (min-width: 900px) {
  .info-panel-grid {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.55fr);
    align-items: stretch;
    gap: 1.25rem;
  }
  .info-panel-grid::before,
  .info-panel-grid::after {
    content: "";
    border-radius: .5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 12px rgba(13, 33, 55, .08);
    min-height: 240px;
  }
  .info-panel-grid::before {
    background-image: url('/images/categorized/transmission_part/arlington-heights-transmission-transmission-part-001.png');
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .info-panel-grid::after {
    background-image: url('/images/categorized/shop_interior/Mercedes-Benz-shop-interior-000.png');
    grid-column: 4;
    grid-row: 1 / span 2;
  }
  .info-panel-grid > .sidebar-card:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0 !important;
  }
  .info-panel-grid > .sidebar-card:nth-of-type(2) {
    grid-column: 3;
    grid-row: 1;
    margin-top: 0 !important;
  }
  /* 3-card case: Pricing (1) spans both rows, Warranty (2) row 1, Also
     Available (3) below Warranty in row 2 — eliminates the white gap
     under a short Warranty card. */
  .info-panel-grid:has(> .sidebar-card:nth-of-type(3)) > .sidebar-card:nth-of-type(1) {
    grid-row: 1 / span 2;
  }
  .info-panel-grid:has(> .sidebar-card:nth-of-type(3)) > .sidebar-card:nth-of-type(3) {
    grid-column: 3;
    grid-row: 2;
    margin-top: 0 !important;
  }
}

/* Mobile: render the same flanking pseudo-element images so pricing/warranty
   sections aren't a wall of cards alone. They stack: image, then cards, then
   image. (Desktop ≥900px keeps them as left/right columns above.) */
@media (max-width: 899px) {
  .info-panel-grid::before,
  .info-panel-grid::after {
    content: "";
    display: block;
    width: 100%;
    border-radius: .5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 2px 12px rgba(13, 33, 55, .08);
    min-height: 220px;
  }
  .info-panel-grid::before {
    background-image: url('/images/categorized/transmission_part/arlington-heights-transmission-transmission-part-001.png');
  }
  .info-panel-grid::after {
    background-image: url('/images/categorized/shop_interior/Mercedes-Benz-shop-interior-000.png');
  }
}

/* 3) Body-image rows upgraded to .photo-gallery — JS adds the class +
      track + arrows + dots at runtime. CSS here neutralizes the old
      grid layout for those upgraded containers and styles the slides
      to match the homepage gallery's strip-carousel. */
.ct-body-images.photo-gallery {
  display: block;
  grid-template-columns: none;
  gap: 0;
  position: relative;
}
.ct-body-images.photo-gallery .gallery-track {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .25rem .25rem .5rem;
  scrollbar-width: none;
}
.ct-body-images.photo-gallery .gallery-track::-webkit-scrollbar { display: none; }
.ct-body-images.photo-gallery .gallery-slide {
  flex: 0 0 200px;
  height: 130px;
  scroll-snap-align: start;
  margin: 0;
  border-radius: .375rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  background: #fff;
  font-size: 0;
  line-height: 0;
  display: block;
}
.ct-body-images.photo-gallery .gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  vertical-align: top;
}
.ct-body-images.photo-gallery .gallery-slide figcaption {
  display: none;
}
@media (min-width: 768px) {
  .ct-body-images.photo-gallery .gallery-slide { flex-basis: 240px; height: 150px; }
}

/* 4) Footer compaction — tighter padding, gaps, and font sizing so the
      footer takes ~30–35% less vertical space without hiding anything. */
.site-footer { padding: 2rem 0 0; }
.footer-grid { gap: 1.25rem; padding-bottom: 1.5rem; }
.footer-brand p { font-size: .8125rem; margin-top: .5rem; line-height: 1.55; }
.footer-phone {
  font-size: 1.25rem;
  margin-top: .5rem;
}
.footer-phone-actions { font-size: .8125rem; margin-top: .15rem; }
.footer-col h4 {
  font-size: .8rem;
  margin-bottom: .55rem;
  letter-spacing: .07em;
}
.footer-col ul { gap: .25rem; }
.footer-col ul a {
  font-size: .8125rem;
  line-height: 1.4;
}
.footer-bottom { padding: .75rem 0 1rem; font-size: .75rem; }

/* Re-assert mobile accordion sizing so compaction above doesn't shrink
   tap targets below 44px on small screens. */
@media (max-width: 600px) {
  .footer-col h4 { padding: .9rem 0; font-size: .9rem; }
  .footer-col ul a { font-size: 1rem; }
}
@media (max-width: 767px) {
  .footer-col ul a { min-height: 44px; }
}


/* ─────────────────────────────────────────────────────────
   INTERNAL BACKLINK DESIGN (added by _apply_backlinks.py)
   ───────────────────────────────────────────────────────── */

/* Inline phrase links */
.blog-article a.inline-link,
.blog-content a.inline-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid #C49A3A;
  transition: color .15s;
}
.blog-article a.inline-link:hover,
.blog-content a.inline-link:hover { color: #C49A3A; }

.blog-article a.inline-link,
.blog-content a.inline-link,
.split-content a.inline-link,
.blog-article p a,
.blog-article li a,
.blog-content p a,
.blog-content li a,
.section p a,
.section li a,
.blog-card,
.blog-card a,
.faq-a a,
.prose p a,
.prose li a,
.page-hero-form-card p a,
.mob-section-body a,
.mob-link,
.footer-bottom a,
.footer-col a,
.section p a[href^="tel:"],
.section p a[href^="mailto:"],
.contact-info-card a[href^="mailto:"],
.footer-email a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  vertical-align: middle;
}

.form-honeypot {
  display: none !important;
}

/* Keep Reading section */
.related-reading {
  margin: 2.75rem 0 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}
.related-reading__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C49A3A;
  margin: 0 0 1rem;
}

/* Sidebar image grid */
.sidebar-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
  margin-top: .75rem;
}
.sidebar-img-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: .375rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: border-color .18s, box-shadow .18s;
}
.sidebar-img-card:hover {
  border-color: #C49A3A;
  box-shadow: 0 2px 8px rgba(239,159,39,.18);
}
.sidebar-img-card img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .sidebar-img-card img { height: 216px; }
}
.sidebar-img-card span {
  font-size: .7rem;
  font-weight: 600;
  color: #102A2B;
  padding: .35rem .45rem .4rem;
  line-height: 1.3;
  transition: color .18s;
}
.sidebar-img-card:hover span { color: #C49A3A; }

/* Split-content inline links (services, types, arlington-heights, transmissions pages) */
.split-content a.inline-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid #C49A3A;
  transition: color .15s;
}
.split-content a.inline-link:hover { color: #C49A3A; }

/* May 28 sprint: mobile type and homepage make-emblem corrections */
.hero h1,
.page-hero h1,
.section h1,
.section h2 {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
  text-wrap: balance;
}

.hero-content,
.page-hero,
.section,
.card,
.blog-card,
.service-card,
.offer-card,
.review-card {
  overflow-wrap: break-word;
}

.make-tile {
  overflow: visible;
}

.make-tile-emblem {
  width: 76px !important;
  height: 46px !important;
  max-width: min(76px, 80%) !important;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

@media (max-width: 480px) {
  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.7rem, 7.6vw, 2.2rem) !important;
    line-height: 1.12;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: manual !important;
  }

  .make-tile {
    min-height: 112px;
    padding: .9rem .35rem;
  }

.make-tile-emblem {
    width: 68px !important;
    height: 44px !important;
    max-width: 82% !important;
    margin-bottom: .55rem;
  }
}

.code-matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: .95rem;
  line-height: 1.45;
}

.code-matrix-table th,
.code-matrix-table td {
  border: 1px solid #e5e7eb;
  padding: .75rem;
  text-align: left;
  vertical-align: top;
}

.code-matrix-table th {
  background: #102A2B;
  color: #fff;
  font-weight: 800;
}

.code-matrix-table tr:nth-child(even) td {
  background: #f8fafc;
}

.code-matrix-table td:first-child {
  color: #102A2B;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .code-matrix-table {
    display: block;
    font-size: .9rem;
  }

  .code-matrix-table thead {
    display: none;
  }

  .code-matrix-table tbody,
  .code-matrix-table tr,
  .code-matrix-table th,
  .code-matrix-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .code-matrix-table tr {
    margin: 0 0 .85rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }

  .code-matrix-table td {
    border: 0;
    border-bottom: 1px solid #edf1f5;
    padding: .7rem .8rem;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .code-matrix-table td:last-child {
    border-bottom: 0;
  }

  .code-matrix-table td:nth-child(1)::before { content: "Code"; }
  .code-matrix-table td:nth-child(2)::before { content: "Plain-English meaning"; }
  .code-matrix-table td:nth-child(3)::before { content: "Usually points toward"; }

  .code-matrix-table td::before {
    display: block;
    margin-bottom: .25rem;
    font-size: .72rem;
    line-height: 1.2;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
}

@media (max-width: 640px) {
  .types-hub-grid,
  .type-card,
  .type-card * {
    min-width: 0;
    max-width: 100%;
  }
  .type-name,
  .type-vehicles {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* May 28 sprint: compact mobile promo and trust bars */
@media (max-width: 767px) {
  .top-banner {
    min-height: 40px;
    max-height: 44px;
    padding: 6px 10px !important;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
    font-size: 0 !important;
    line-height: 1.1 !important;
  }

  .top-banner::before {
    content: "Free diagnostic intake";
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    min-height: 44px;
  }

  .top-banner a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(13, 33, 55, .12);
    padding: 0 9px;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .top-banner a[href^="sms"]::before {
    content: "Text";
  }

  .top-banner a[href^="sms"] {
    font-size: 0;
    min-width: 48px;
  }

  .top-banner a[href^="sms"]::before {
    font-size: 12px;
  }

  .hero-trust {
    align-items: stretch;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
  }

  .hero-trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .hero-trust-row span {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    text-align: center;
    white-space: normal !important;
    line-height: 1.2;
  }

  .hero-trust-row span:nth-child(2) {
    display: none;
  }

  .hero-trust-row:first-child span:first-child {
    grid-column: span 2;
  }

  .trust-bar {
    padding: 10px 8px !important;
  }

  .trust-bar .trust-bar-inner,
  .trust-bar-inner {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }

  .trust-bar .trust-item,
  .trust-item {
    min-width: 0;
    padding: 4px 2px;
    border-radius: 6px;
  }

  .trust-bar .trust-item strong,
  .trust-item strong {
    font-size: 13px !important;
    line-height: 1.05;
    white-space: nowrap;
  }

  .trust-bar .trust-item span,
  .trust-item span {
    display: block;
    margin-top: 2px;
    font-size: 8.5px !important;
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .trust-bar .trust-item strong,
  .trust-item strong {
    font-size: 12px !important;
  }

  .trust-bar .trust-item span,
  .trust-item span {
    font-size: 8px !important;
  }
}

/* May 28 correction: readable mobile trust bar, not five cramped columns */
@media (max-width: 767px) {
  .trust-bar {
    padding: 12px 10px !important;
  }

  .trust-bar .trust-bar-inner,
  .trust-bar-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 !important;
    max-width: 430px !important;
    margin: 0 auto !important;
  }

  .trust-bar .trust-item,
  .trust-item {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(65,36,2,.16);
    border-radius: 8px;
    padding: 8px 6px !important;
    min-height: 50px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center !important;
  }

  .trust-bar .trust-item:last-child,
  .trust-item:last-child {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .trust-bar .trust-item strong,
  .trust-item strong {
    font-size: 16px !important;
    line-height: 1.05 !important;
    white-space: nowrap;
  }

  .trust-bar .trust-item span,
  .trust-item span {
    font-size: 11px !important;
    line-height: 1.1 !important;
    white-space: normal;
    overflow-wrap: normal;
  }
}

.simple-blog-hero {
  min-height: 0;
  padding: 4rem 0 3rem;
}

.simple-blog-hero .container {
  max-width: 980px;
}

.simple-blog-hero h1 {
  max-width: 860px;
}

@media (max-width: 767px) {
  .simple-blog-hero {
    padding: 2rem 0 1.6rem !important;
  }

.simple-blog-hero h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.15rem) !important;
  }
}

/* May 28 polish pass: keep homepage trust badges centered and balanced on mobile */
@media (max-width: 767px) {
  .hero-trust {
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-trust-row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .hero-trust-row span,
  .hero-trust-row:first-child span:first-child {
    grid-column: auto !important;
    flex: 0 0 auto !important;
    width: min(100%, 300px) !important;
    min-width: 0 !important;
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    padding: 7px 8px !important;
  }

  .hero-trust-row span:nth-child(2) {
    display: inline-flex !important;
  }
}

/* May 28 polish pass: neighborhood cards get real local images, not empty icon tiles */
.neighborhood-grid {
  gap: .9rem;
}

.neighborhood-card {
  justify-content: flex-start;
  padding: .55rem .55rem .85rem;
  min-height: 0;
  overflow: hidden;
}

.neighborhood-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .375rem;
  display: block;
  margin-bottom: .2rem;
}

.neighborhood-card .pin-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: block;
  overflow: visible;
  margin: .65rem 0 .3rem;
}

@media (max-width: 480px) {
  .neighborhood-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .neighborhood-name {
    font-size: .88rem;
  }
}

/* Guest-ready contrast pass: amber is a brand accent, but text on white needs
   a darker accessible variant. Keep bright amber for backgrounds and dark UI. */
:root { --amber-text: #8A4F00; }
a:hover { color: var(--amber-text); }
.contact-phone,
.blog-card-cat,
.blog-card-link,
.card-link,
.card-link-block .card .card-cta,
.sidebar-img-card span,
.mega-see-all,
.model-card-make,
.make-logo-sub,
.hub-card-cta {
  color: var(--amber-text) !important;
}
.top-banner a:hover {
  color: var(--navy) !important;
}
.section--dark .blog-card-cat,
.section--dark .blog-card-link,
.hero .blog-card-cat,
.hero .blog-card-link,
.site-footer .footer-phone,
.site-footer .footer-phone-action:hover {
  color: var(--amber) !important;
}
.page-hero .hero-form-card a:not(.btn),
.page-hero .blog-card,
.page-hero .sidebar-img-card {
  color: var(--navy) !important;
}
.page-hero .blog-card-cat,
.page-hero .blog-card-link {
  color: var(--amber-text) !important;
}
.card .btn-secondary {
  color: var(--navy) !important;
  border-color: var(--navy) !important;
  background: transparent !important;
}
.card .btn-secondary:hover {
  color: #fff !important;
  background: var(--navy) !important;
}
.split-content:not(.split-content--light) a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline) {
  color: #fff !important;
  text-decoration-color: rgba(255,255,255,.55) !important;
}
.split-content:not(.split-content--light) a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.btn-outline):hover {
  color: var(--amber) !important;
  text-decoration-color: var(--amber) !important;
}
.hero .btn-secondary,
.cta-section .btn-secondary {
  background: rgba(13,33,55,.62) !important;
}

/* May 29 mobile robustness pass: prevent awkward auto hyphenation and
   constrain long badges, headings, type cards, tables, and article text. */
.hero h1,
.page-hero h1,
.hero-sub,
.page-hero .hero-sub,
.section h1,
.section h2,
.type-group-heading,
.type-card,
.type-card *,
.make-icon,
.make-name,
.top-banner,
.top-banner a,
.hero-trust,
.hero-trust *,
.trust-bar,
.trust-bar *,
.btn,
.btn-primary,
.btn-secondary,
.card,
.blog-card,
.service-card,
.offer-card {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  word-break: normal !important;
}

.page-hero,
.page-hero .container,
.page-hero .page-hero-copy,
.blog-article,
.blog-content,
.types-hub-grid,
.type-card {
  min-width: 0;
  max-width: 100%;
}

.blog-article,
.blog-content,
.blog-article p,
.blog-article li,
.blog-content p,
.blog-content li,
.blog-article a,
.blog-content a {
  overflow-wrap: break-word;
  word-break: normal;
}

.blog-article h1,
.blog-article h2,
.blog-article h3,
.blog-content h1,
.blog-content h2,
.blog-content h3 {
  overflow-wrap: normal;
  text-wrap: balance;
}

table,
.compare-table,
.code-matrix-table {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  max-width: 100%;
}

th,
td,
.compare-table th,
.compare-table td,
.code-matrix-table th,
.code-matrix-table td {
  -webkit-hyphens: none !important;
  hyphens: none !important;
  overflow-wrap: break-word;
  word-break: normal;
}

.type-group-heading {
  max-width: 100%;
  line-height: 1.16;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.types-hub-grid {
  grid-template-columns: 1fr;
}

.type-card {
  overflow: hidden;
}

.type-card .type-name,
.type-card .type-vehicles {
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.make-icon {
  flex: 0 0 auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.btn,
.btn-primary,
.btn-secondary,
button,
input,
select,
textarea,
.form-control {
  min-height: 44px;
}

@media (max-width: 767px) {
  .top-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100%;
    min-height: 44px !important;
    max-height: none !important;
    padding: 0 8px !important;
    overflow: visible !important;
    text-align: center !important;
    gap: 6px 8px !important;
  }

  .top-banner::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    text-align: center;
  }

  .top-banner a,
  .top-banner .top-banner-text {
    flex: 0 1 auto;
    max-width: calc(100vw - 24px);
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
    overflow-wrap: normal;
  }

  .hero-trust,
  .hero-trust-row {
    max-width: 100%;
    text-align: center;
  }

  .hero-trust-row span,
  .hero-trust-row:first-child span:first-child {
    max-width: min(100%, 320px) !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .trust-bar,
  .trust-bar-inner {
    max-width: 100%;
    text-align: center;
  }

  .trust-bar {
    padding: 8px 8px !important;
  }

  .trust-bar .trust-bar-inner,
  .trust-bar-inner {
    gap: 6px !important;
  }

  .trust-bar .trust-item,
  .trust-item {
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 6px 5px !important;
    overflow-wrap: break-word !important;
  }

  .trust-bar .trust-item strong,
  .trust-item strong,
  .trust-bar .trust-item span,
  .trust-item span {
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  .trust-bar .trust-item:not(:has(strong)),
  .trust-item:not(:has(strong)) {
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .trust-bar .trust-item strong,
  .trust-item strong {
    font-size: 14px !important;
  }

  .trust-bar .trust-item span,
  .trust-item span {
    font-size: 10px !important;
  }

  .page-hero h1,
  .page-hero .hero-sub,
  .hero h1,
  .hero-sub {
    overflow-wrap: break-word !important;
  }

  .page-hero .hero-cta,
  .page-hero .hero-cta-group {
    max-width: 100%;
  }

  .page-hero .hero-cta .btn,
  .page-hero .hero-cta-group .btn,
  .hero .btn,
  .btn {
    white-space: normal;
    text-align: center;
  }

  .type-group-heading {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .types-hub-grid {
    gap: .85rem;
  }
}

/* May 31 restore: match the older Copy header/menu/footer proportions.
   Keep mobile tap-target fixes, but do not force desktop nav/footer links
   to behave like 44px mobile controls. */
@media (min-width: 1024px) {
  .top-banner {
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: .55rem 1rem !important;
    font-size: .85rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
    overflow: visible !important;
  }

  .top-banner a,
  .top-banner .top-banner-text {
    display: inline !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    line-height: inherit !important;
    color: var(--navy) !important;
    text-decoration: underline !important;
  }

  .mega-trigger {
    min-height: 0 !important;
    padding: .4rem .7rem !important;
    line-height: 1 !important;
  }

  .mega-trigger .chevron {
    stroke-width: 3 !important;
  }

  .mega-simple-link {
    min-height: 0 !important;
    min-width: 0 !important;
    padding: .4rem .75rem !important;
  }

  .mega-link {
    display: block !important;
    min-height: 0 !important;
    min-width: 0 !important;
    padding: .32rem .45rem !important;
  }

  .mega-service-item {
    min-height: 0 !important;
    min-width: max-content !important;
    padding: .4rem .5rem !important;
  }

  .mega-panel--services {
    min-width: 420px !important;
  }

  .mega-services-grid {
    grid-template-columns: repeat(3, max-content) !important;
    gap: .2rem !important;
  }

  .mega-offer-item {
    min-height: 0 !important;
    min-width: 0 !important;
    padding: .55rem .45rem !important;
  }

  .site-footer .footer-col ul a,
  .site-footer .footer-bottom a,
  .site-footer .footer-brand a:not(.footer-phone):not(.footer-phone-action) {
    display: inline !important;
    align-items: initial !important;
    justify-content: initial !important;
    min-height: 0 !important;
    min-width: 0 !important;
  }
}

/* May 31 restore: simplify homepage hero proof points and orange trust bar
   back toward the old Copy. No card chips, no duplicated markers. */
.hero .hero-trust {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 1.35rem !important;
  color: rgba(255,255,255,.9) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.hero .hero-trust-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px 24px !important;
  width: auto !important;
}

.hero .hero-trust-row span,
.hero .hero-trust-row:first-child span:first-child,
.hero .hero-trust-row span:nth-child(2) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: inherit !important;
}

.trust-bar {
  background: var(--amber) !important;
  padding: 0 !important;
}

.trust-bar .trust-bar-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-around !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  padding: 20px !important;
}

.trust-bar .trust-item {
  min-width: 120px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #412402 !important;
  text-align: center !important;
  display: block !important;
}

.trust-bar .trust-item strong {
  display: block !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.trust-bar .trust-item span {
  display: inline !important;
  margin-top: 0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  .hero .hero-trust {
    gap: 6px !important;
    margin-top: 14px !important;
    font-size: 12px !important;
    align-items: center !important;
  }

  .hero .hero-trust-row {
    gap: 6px 13px !important;
    max-width: 350px !important;
  }

  .hero .hero-trust-row span,
  .hero .hero-trust-row:first-child span:first-child,
  .hero .hero-trust-row span:nth-child(2) {
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }

  .trust-bar .trust-bar-inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 18px !important;
    padding: 18px 20px !important;
    max-width: 390px !important;
  }

  .trust-bar .trust-item {
    min-width: 0 !important;
  }

  .trust-bar .trust-item:last-child {
    grid-column: 1 / -1 !important;
  }

  .trust-bar .trust-item strong {
    font-size: 20px !important;
  }

  .trust-bar .trust-item span {
    font-size: 12px !important;
  }
}

/* May 31 footer spacing: keep the old compact footer rhythm. */
.site-footer .footer-col ul {
  gap: .15rem !important;
}

.site-footer .footer-col ul a {
  line-height: 1.22 !important;
}

@media (min-width: 768px) {
  .site-footer .footer-col ul {
    gap: .08rem !important;
  }

  .site-footer .footer-col ul a {
    font-size: .8rem !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 767px) {
  .site-footer .footer-col.open ul {
    gap: 0 !important;
    padding: .35rem 0 .75rem !important;
  }

  .site-footer .footer-col ul a {
    font-size: .95rem !important;
    line-height: 1.15 !important;
    padding: 0 !important;
  }
}

/* May 31 sticky CTA clearance: keep final footer text above the fixed bar. */
@media (min-width: 769px) {
  .site-footer {
    padding-bottom: 72px !important;
  }
}

/* May 31 footer tightening pass: desktop footer was still too tall and the
   final legal/domain row sat too close to the sticky CTA. */
.site-footer {
  padding-top: 1.25rem !important;
  padding-bottom: 88px !important;
}

.site-footer .footer-grid {
  gap: 1rem !important;
  padding-bottom: .75rem !important;
}

.site-footer .footer-brand p {
  margin-top: .35rem !important;
  line-height: 1.35 !important;
}

.site-footer .footer-phone {
  margin-top: .35rem !important;
  line-height: 1.05 !important;
}

.site-footer .footer-phone-actions,
.site-footer .footer-email,
.site-footer .footer-brand p[style] {
  margin-top: .2rem !important;
  line-height: 1.25 !important;
}

.site-footer .footer-col h4 {
  margin-bottom: .35rem !important;
  line-height: 1.1 !important;
}

.site-footer .footer-col ul {
  gap: 0 !important;
}

.site-footer .footer-col ul a {
  display: inline !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  font-size: .78rem !important;
  line-height: 1.05 !important;
}

.site-footer .footer-bottom {
  padding: .5rem 0 0 !important;
  gap: .4rem !important;
  line-height: 1.2 !important;
}

.site-footer .footer-bottom a {
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  line-height: inherit !important;
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 1.5rem !important;
    padding-bottom: 78px !important;
  }

  .site-footer .footer-grid {
    padding-bottom: .5rem !important;
  }

  .site-footer .footer-col ul a {
    display: flex !important;
    min-height: 44px !important;
    align-items: center !important;
    font-size: .95rem !important;
    line-height: 1.1 !important;
  }

  .site-footer .footer-bottom a {
    min-height: 44px !important;
    min-width: 44px !important;
  }
}

/* May 31 mobile top promo buttons: give Call/Text clean breathing room. */
@media (max-width: 767px) {
  .top-banner {
    padding: 8px 12px !important;
    gap: 8px !important;
  }

  .top-banner a,
  .top-banner .top-banner-text {
    min-height: 44px !important;
    min-width: 52px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    margin: 2px 0 !important;
    background: rgba(13, 33, 55, .13) !important;
    box-shadow: inset 0 0 0 1px rgba(13, 33, 55, .08);
  }
}

/* May 31 logo/footer alignment polish. */
.makes-grid,
.make-emblem-grid,
.makes-hub-grid,
.makes-grid-alpha,
.make-grid {
  justify-items: center;
}

.make-tile,
.make-emblem-card,
.make-logo-card {
  width: 100%;
  align-items: center !important;
  text-align: center !important;
}

.make-tile-emblem,
.make-emblem-card-img,
.make-logo-card img,
.make-logo-box {
  display: block !important;
  align-self: center !important;
  justify-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-position: center center !important;
}

@media (max-width: 767px) {
  .site-footer .footer-bottom {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .site-footer .footer-bottom > *,
  .site-footer .footer-bottom > div {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* May 31 hero form fit pass: wider, shorter lead forms and less hero dead air. */
.hero {
  min-height: 540px !important;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 585px !important;
  }
}

.hero-shell {
  width: min(1320px, 100%) !important;
  grid-template-columns: minmax(0, 1fr) minmax(470px, 560px) !important;
  gap: 28px !important;
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}

.hero-content p {
  margin-bottom: 18px !important;
  line-height: 1.45 !important;
}

.hero-buttons {
  margin-bottom: 16px !important;
}

.hero-trust {
  gap: 6px !important;
}

.hero-trust-row {
  gap: 7px 18px !important;
}

.hero-form-card {
  width: 100% !important;
  max-width: 560px !important;
  padding: 18px !important;
}

.hero-form-header {
  margin-bottom: 10px !important;
}

.hero-form-kicker {
  padding: 4px 10px !important;
  font-size: 11px !important;
  margin-bottom: 6px !important;
}

.hero-form-header h2 {
  font-size: clamp(20px, 2vw, 26px) !important;
  line-height: 1.08 !important;
  margin-bottom: 5px !important;
}

.hero-form-header p {
  line-height: 1.32 !important;
}

.hero-lead-form {
  gap: 7px !important;
}

.hero-lead-form label {
  gap: 3px !important;
}

.hero-lead-form input,
.hero-lead-form select,
.hero-lead-form textarea {
  min-height: 44px !important;
  padding: 8px 10px !important;
}

.hero-lead-form textarea {
  min-height: 68px !important;
  height: 74px !important;
  line-height: 1.3 !important;
}

.hero-lead-form button {
  min-height: 44px !important;
  padding: 9px 14px !important;
}

.hero-form-note {
  line-height: 1.25 !important;
}

.page-hero {
  min-height: 400px !important;
  padding-top: 4.75rem !important;
  padding-bottom: 3.5rem !important;
}

.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero .offer-badge {
  margin-bottom: .75rem !important;
}

.page-hero h1 {
  margin-bottom: .8rem !important;
}

.page-hero p,
.page-hero .hero-sub {
  line-height: 1.45 !important;
  margin-bottom: 1.05rem !important;
}

.page-hero .page-hero-form-shell {
  grid-template-columns: minmax(0, 1fr) minmax(470px, 560px) !important;
  gap: 28px !important;
}

.page-hero .page-hero-form-card {
  max-width: 560px !important;
}

@media (max-width: 768px) {
  .hero {
    min-height: 0 !important;
  }

  .hero-shell {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 22px 16px 24px !important;
  }

  .hero-form-card,
  .page-hero .page-hero-form-card {
    max-width: none !important;
    padding: 14px !important;
  }

  .hero-form-header {
    margin-bottom: 8px !important;
  }

  .hero-form-header h2 {
    font-size: 21px !important;
  }

  .hero-lead-form {
    gap: 6px !important;
  }

  .page-hero {
    min-height: 0 !important;
    padding-top: 2rem !important;
    padding-bottom: 1.4rem !important;
  }

  .page-hero .page-hero-form-shell {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* May 31 mobile menu bottom-safe pass: keep Text Us clear of sticky CTA. */
@media (max-width: 1023px) {
  .mob-menu {
    z-index: 10030 !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mob-menu-backdrop {
    z-index: 10020 !important;
  }

  .mob-text {
    margin-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Premium spin mobile proof: inline links must remain touchable on mobile. */
@media (max-width: 640px) {
  a.inline-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    vertical-align: middle;
  }
  .card-text a.inline-link,
  .blog-article a.inline-link,
  .blog-content a.inline-link {
    margin-top: -12px;
    margin-bottom: -12px;
  }
  .contact-phone,
  .contact-phone-action,
  .contact-info-card a[href^="mailto"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .contact-phone-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
  }
}

.premium-grid,
.premium-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.premium-card,
.premium-link-card,
.premium-contact-panel,
.lead-intake-form {
  background: #fff;
  border: 1px solid rgba(16,42,43,.14);
  border-radius: 8px;
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(16,42,43,.08);
}
.premium-card h3,
.premium-contact-panel h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
}
.premium-card p,
.premium-contact-panel p {
  margin: 0 0 .6rem;
}
.premium-detail-copy {
  color: #3d4b55;
  display: grid;
  gap: .75rem;
  margin-top: 1.25rem;
  max-width: 980px;
}
.premium-detail-copy p {
  line-height: 1.65;
  margin: 0;
}
.premium-link-card {
  color: var(--navy);
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
.premium-link-card span {
  color: #46535f;
  display: block;
  font-size: .93rem;
  font-weight: 500;
  margin-top: .35rem;
}
.lead-intake-form {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
  max-width: 720px;
}
.lead-intake-form label {
  color: var(--navy);
  display: grid;
  font-weight: 700;
  gap: .35rem;
}
.lead-intake-form input,
.lead-intake-form textarea {
  border: 1px solid rgba(16,42,43,.22);
  border-radius: 8px;
  font: inherit;
  min-height: 46px;
  padding: .78rem .85rem;
  width: 100%;
}
.lead-intake-form textarea {
  min-height: 132px;
  resize: vertical;
}
.lead-intake-form button {
  min-height: 48px;
  width: fit-content;
}
.top-banner a,
.top-banner .top-banner-text,
.mega-trigger,
.mega-simple-link,
.header-inner .btn-sm {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}
.mega-trigger {
  padding-bottom: .55rem;
  padding-top: .55rem;
}
.mega-simple-link,
.header-inner .btn-sm {
  justify-content: center;
}
@media (max-width: 640px) {
  .lead-intake-form button {
    width: 100%;
  }
}

/* Premium spin sticky CTA non-overlap: page CTAs stay visible without fixed bars covering copy. */
body[data-premium-index-status] .sticky-mobile-cta {
  display: none !important;
}
@media (max-width: 767px) {
  body[data-premium-index-status] {
    padding-bottom: 0 !important;
  }
}

/* Final live deploy target sizing: controls stay at least 44px tall. */
.top-banner a,
.top-banner .top-banner-text,
.mega-trigger,
.mega-simple-link,
.header-inner .btn-sm,
.site-footer a,
.site-footer .footer-col ul a,
.site-footer .footer-bottom a,
.site-footer .footer-brand a,
.site-footer .footer-email a {
  align-items: center !important;
  display: inline-flex !important;
  min-height: 44px !important;
}
.top-banner a,
.top-banner .top-banner-text,
.header-inner .btn-sm,
.site-footer a,
.site-footer .footer-col ul a,
.site-footer .footer-bottom a,
.site-footer .footer-brand a,
.site-footer .footer-email a,
.site-footer .footer-brand .footer-email a {
  min-width: 44px !important;
}
.mega-trigger {
  padding-bottom: .55rem !important;
  padding-top: .55rem !important;
}
.mega-simple-link,
.header-inner .btn-sm,
.site-footer a,
.site-footer .footer-col ul a,
.site-footer .footer-bottom a,
.site-footer .footer-brand a,
.site-footer .footer-email a,
.site-footer .footer-brand .footer-email a {
  justify-content: center !important;
}
.site-footer .footer-brand .footer-email a {
  align-items: center !important;
  display: inline-flex !important;
  min-height: 44px !important;
}
