/* ============================================================
   Chicago Transmission — Design System
   Mobile-first, conversion-focused
   ============================================================ */

/* --- Variables --- */
:root {
  --navy:    #0D2137;
  --amber:   #EF9F27;
  --amber-dk:#d4891a;
  --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(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }
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;
  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 {
    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-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;
  gap: .25rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--amber);
  margin-top: .75rem;
}

/* 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); }

/* --- 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; }

/* --- 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); }
.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) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  color: var(--white);
  padding: 3rem 0;
}
.page-hero .eyebrow { color: var(--amber); }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; margin-bottom: 1.5rem; }

/* --- 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 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: .85rem 1rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,.2);
}
@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-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-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: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.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;
}
.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); }

/* 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; }
.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, #0D2137 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; }

/* ============================================================
   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;
}

/* 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 {
  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;
  }
}
