/*
Theme Name: EZ Auto Transport
Theme URI: https://e-zautotransport.com
Description: Custom nationwide auto transport theme for E-Z Auto Transport. Includes the instant zip-to-zip quote calculator, 50-state + 1,200 city landing pages, popular route pages and service pages.
Version: 1.1.1
Author: EZ Auto Transport
Text Domain: ezat
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

/* Brand palette: pink, white, black, gray.
   #E94196 is sampled straight from the logo. Because that pink only reaches
   3.7:1 against white, it is reserved for dark backgrounds and decorative
   marks; buttons and body links use the darker steps below, which clear
   WCAG AA. --pink-500 4.6:1 on white, --pink-600 5.3:1 on white. */
:root {
  --ink-900: #000000;
  --ink-800: #0B0C0E;
  --ink-700: #1A1C21;
  --ink-600: #2E3238;
  --ink-100: #E7E8EA;
  --ink-50:  #F6F6F7;

  --pink-700: #A32463;  /* pressed / hover-on-light */
  --pink-600: #BF2E7E;  /* pink text and links on white */
  --pink-500: #D62F84;  /* button fill with white text */
  --pink-400: #E94196;  /* brand pink — logo, accents on dark */
  --pink-100: #FBD9EA;
  --pink-50:  #FDF2F8;

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;

  --green-600: #059669;
  --green-50:  #ECFDF5;
  --amber:     #F59E0B;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 4px 10px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 28px rgba(0,0,0,.12);
  --shadow-xl: 0 24px 56px rgba(0,0,0,.18);

  --radius:    10px;
  --radius-lg: 16px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--gray-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--pink-600); }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  color: var(--ink-900);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.375rem; }
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--gray-900); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.wrap      { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-md   { max-width: 880px;  margin: 0 auto; padding: 0 1.25rem; }
.wrap-sm   { max-width: 680px;  margin: 0 auto; padding: 0 1.25rem; }

.section       { padding: 3.5rem 0; }
.section--tight{ padding: 2.5rem 0; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--ink-800); color: #D4D4D8; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--soft { background: var(--ink-50); }

@media (min-width: 768px) { .section { padding: 4.5rem 0; } }

.head        { max-width: 46rem; margin-bottom: 2.25rem; }
.head--center{ margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-size: .8125rem; font-weight: 700; color: var(--pink-600);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem;
}
.section--dark .eyebrow { color: var(--pink-500); }
.head p { margin-top: .75rem; color: var(--gray-600); font-size: 1.0625rem; }
.section--dark .head p { color: #A1A1AA; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   4. BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8125rem 1.5rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-align: center;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn--primary { background: var(--pink-500); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--pink-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--dark { background: var(--ink-800); color: #fff; }
.btn--dark:hover { background: var(--ink-700); color: #fff; }
.btn--ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink-800); }
.btn--outline { border: 2px solid var(--gray-300); color: var(--ink-800); background: #fff; }
.btn--outline:hover { border-color: var(--ink-600); color: var(--ink-800); }
.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1.0625rem; }

.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .3125rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: #fff; color: var(--ink-800); box-shadow: var(--shadow-sm);
}
.badge--stars { color: var(--amber); }

/* ==========================================================================
   5. HEADER / NAV
   ========================================================================== */

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
}
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }

.logo { display: flex; align-items: center; gap: .625rem; font-weight: 900; letter-spacing: -.03em; }
.logo__img { height: 52px; width: auto; }
@media (min-width: 768px) { .logo__img { height: 58px; } }
/* "Auto Transport" in the logo is black, so on the dark footer it sits on a
   white chip. Inverting the whole file to white would throw away the pink. */
.logo--footer {
  display: inline-flex; background: #fff;
  padding: .5rem .875rem; border-radius: 12px; margin-bottom: 1.125rem;
}
.logo--footer .logo__img { height: 54px; }

.nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1080px) { .nav { display: flex; } }

.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: .3rem;
  padding: .625rem .75rem; border-radius: 8px;
  font-size: .9375rem; font-weight: 600; color: var(--gray-700);
}
.nav__link:hover, .nav__item:hover > .nav__link { background: var(--ink-50); color: var(--ink-800); }
.nav__link svg { width: 12px; height: 12px; opacity: .5; }

.nav__drop {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  box-shadow: var(--shadow-xl); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: .15s;
}
.nav__drop--wide { min-width: 520px; columns: 2; column-gap: .5rem; }
.nav__item:hover > .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop a {
  display: block; padding: .5rem .75rem; border-radius: 7px;
  font-size: .875rem; font-weight: 500; color: var(--gray-700); break-inside: avoid;
}
.nav__drop a:hover { background: var(--ink-50); color: var(--ink-800); }

.masthead__cta { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1080px) { .masthead__cta { display: flex; } }
.masthead__phone { text-align: right; line-height: 1.15; }
.masthead__phone a { display: block; font-size: 1.125rem; font-weight: 800; color: var(--ink-900); }
.masthead__phone a:hover { color: var(--pink-600); }
.masthead__phone span { font-size: .6875rem; font-weight: 700; color: var(--green-600); text-transform: uppercase; letter-spacing: .08em; }

.burger {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 8px; color: var(--ink-800); background: var(--gray-100);
}
@media (min-width: 1080px) { .burger { display: none; } }

/* The panel is a fixed overlay rather than an in-flow dropdown. In flow it was
   taller than the viewport, so dragging it scrolled the page behind instead of
   the menu. Fixed + its own overflow + overscroll-behavior keeps the scroll
   inside the panel; `top` is set from JS to the live header height. */
.mobilenav {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: 76px; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  /* The sticky call bar sits above this panel, so clear its height at the
     bottom or the last menu item hides underneath it. */
  padding: .75rem 1.25rem calc(1.5rem + 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobilenav.is-open { display: block; }
/* Never leave the overlay open when the desktop nav takes over. */
@media (min-width: 1080px) { .mobilenav, .mobilenav.is-open { display: none; } }

/* Freeze the page behind the open menu.
   NOT overflow:hidden on html — that makes the document non-scrolling, which
   collapses position:sticky and throws the header off-screen when the menu is
   opened part-way down a page. touch-action plus the wheel/touchmove guards in
   quote.js block the background while leaving the sticky header alone. */
body.ezat-nav-open { touch-action: none; }
.mobilenav { touch-action: pan-y; }

/* The panel supplies its own gutter, so the inner wrap must not add another. */
.mobilenav > .wrap { padding-left: 0; padding-right: 0; }
/* Generous tap targets — this is the only nav on a phone. */
.mobilenav a {
  display: block; padding: .9375rem .25rem;
  font-weight: 600; font-size: 1.0625rem; color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}
.mobilenav a:hover { color: var(--pink-600); }
.mobilenav__actions { display: grid; gap: .625rem; margin-top: 1.25rem; }
.mobilenav__actions a { border-bottom: none; font-size: 1rem; }

/* ==========================================================================
   6. HERO
   ========================================================================== */

/* Templates set --hero-image to a url(); without one the hero is flat black
   with a pink wash, so a missing or slow photo never costs text contrast. */
.hero {
  position: relative;
  isolation: isolate;
  background-color: var(--ink-900);
  color: #fff;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-image, none);
  background-size: cover;
  background-position: var(--hero-pos, center);
  opacity: .38;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.78) 42%, rgba(163,36,99,.62) 100%);
}
.hero > .wrap, .hero > .wrap-md { position: relative; z-index: 1; }
@media (min-width: 900px) { .hero { padding: 3.5rem 0 4rem; } }

.hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; } }

.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__lede { font-size: 1.125rem; color: #D4D4D8; margin-bottom: 1.5rem; max-width: 34rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .625rem; margin-bottom: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__points { display: grid; gap: .5rem; margin-top: 1.75rem; }
.hero__points li { display: flex; gap: .625rem; align-items: flex-start; color: #D4D4D8; font-size: .9375rem; }
.hero__points .tick { color: var(--pink-500); font-weight: 900; flex: none; }

.hero--slim { padding: 2.25rem 0 2.5rem; }
.hero--slim h1 { font-size: 1.875rem; }
@media (min-width: 768px) { .hero--slim h1 { font-size: 2.5rem; } }
.hero--slim .hero__grid { grid-template-columns: 1fr; }
@media (min-width: 980px) { .hero--slim .hero__grid { grid-template-columns: 1.1fr .9fr; } }

/* ==========================================================================
   7. QUOTE CALCULATOR
   ========================================================================== */

.quote {
  background: #fff; color: var(--gray-700);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  border-top: 5px solid var(--pink-500);
  overflow: hidden;
}
.quote__head { padding: 1.25rem 1.5rem .75rem; text-align: center; }
.quote__head h2, .quote__head h3 { font-size: 1.375rem; margin-bottom: .25rem; }
.quote__head p { font-size: .875rem; color: var(--gray-500); }
.quote__body { padding: 0 1.5rem 1.5rem; }

.field { margin-bottom: .875rem; position: relative; }
.field label {
  display: block; font-size: .6875rem; font-weight: 800; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .3125rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .6875rem .75rem;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 9px; color: var(--gray-900); font-size: .9375rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--pink-500); box-shadow: 0 0 0 3px var(--pink-100);
}
.field input::placeholder { color: var(--gray-400); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field--err input { border-color: #DC2626; box-shadow: 0 0 0 3px #FEE2E2; }
.field__hint { font-size: .75rem; color: var(--gray-500); margin-top: .3125rem; }
.field__err { font-size: .75rem; color: #DC2626; margin-top: .3125rem; display: none; }
.field--err .field__err { display: block; }

/* autocomplete */
.ac {
  position: absolute; z-index: 30; left: 0; right: 0; top: 100%;
  background: #fff; border: 1px solid var(--gray-200); border-radius: 9px;
  box-shadow: var(--shadow-lg); max-height: 260px; overflow-y: auto; display: none;
  margin-top: 4px;
}
.ac.is-open { display: block; }
.ac__item {
  display: flex; justify-content: space-between; gap: .75rem; align-items: center;
  width: 100%; padding: .5625rem .75rem; text-align: left;
  font-size: .875rem; color: var(--gray-700); border-bottom: 1px solid var(--gray-100);
}
.ac__item:last-child { border-bottom: none; }
.ac__item:hover, .ac__item.is-active { background: var(--pink-50); color: var(--ink-800); }
.ac__item b { font-weight: 700; color: var(--ink-800); }
.ac__zip { font-size: .75rem; color: var(--gray-400); font-variant-numeric: tabular-nums; }

/* transport type toggle */
.toggle { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label {
  display: block; text-align: center; cursor: pointer; margin: 0;
  padding: .625rem .5rem; border: 2px solid var(--gray-200); border-radius: 9px;
  font-size: .8125rem; font-weight: 700; color: var(--gray-600);
  text-transform: none; letter-spacing: 0; transition: .15s;
}
.toggle label small { display: block; font-size: .6875rem; font-weight: 600; color: var(--gray-400); margin-top: .125rem; }
.toggle input:checked + label {
  border-color: var(--pink-500); background: var(--pink-50); color: var(--ink-800);
}
.toggle input:checked + label small { color: var(--pink-600); }
.toggle input:focus-visible + label { box-shadow: 0 0 0 3px var(--pink-100); }

.quote__note {
  display: flex; gap: .5rem; align-items: flex-start;
  background: var(--ink-50); border-left: 3px solid var(--ink-600);
  border-radius: 0 8px 8px 0; padding: .625rem .75rem;
  font-size: .8125rem; color: var(--gray-600); margin: .875rem 0;
}
.quote__note strong { color: var(--ink-800); }

/* result panel */
.result { display: none; }
.result.is-open { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.result__price {
  background: var(--ink-800); color: #fff; border-radius: var(--radius);
  padding: 1.25rem; text-align: center; margin-bottom: 1rem;
}
.result__amount { font-size: 2.75rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #fff; }
.result__amount small { font-size: 1.125rem; font-weight: 700; opacity: .7; }
.result__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #A1A1AA; margin-bottom: .375rem; }
.result__route { font-size: .875rem; color: #D4D4D8; margin-top: .625rem; }

.result__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1rem; }
.result__meta div { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 9px; padding: .625rem .5rem; text-align: center; }
.result__meta dt { font-size: .625rem; text-transform: uppercase; letter-spacing: .07em; color: var(--gray-500); font-weight: 700; }
.result__meta dd { font-size: .9375rem; font-weight: 800; color: var(--ink-800); margin-top: .125rem; }

.result__breakdown { border: 1px solid var(--gray-200); border-radius: 9px; overflow: hidden; margin-bottom: 1rem; }
.result__breakdown tr { border-bottom: 1px solid var(--gray-100); }
.result__breakdown tr:last-child { border-bottom: none; background: var(--gray-50); font-weight: 800; color: var(--ink-800); }
.result__breakdown td { padding: .5rem .75rem; font-size: .875rem; }
.result__breakdown td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.quote__msg { font-size: .875rem; padding: .625rem .75rem; border-radius: 8px; margin-bottom: .875rem; display: none; }
.quote__msg.is-error { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.quote__msg.is-ok    { display: block; background: var(--green-50); color: #047857; border: 1px solid #A7F3D0; }

/* ==========================================================================
   8. CARDS & CONTENT BLOCKS
   ========================================================================== */

.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 1.5rem; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--ink-100); }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--pink-50); color: var(--pink-600); font-size: 1.375rem; margin-bottom: .875rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .9375rem; color: var(--gray-600); }
.card__link { display: inline-block; margin-top: .875rem; font-weight: 700; font-size: .875rem; color: var(--pink-600); }
.card__link:hover { color: var(--pink-700); }

.statbar { background: var(--ink-900); color: #fff; padding: 1.75rem 0; }
.statbar__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
@media (min-width: 768px) { .statbar__grid { grid-template-columns: repeat(4, 1fr); } }
.statbar strong { display: block; font-size: 1.875rem; font-weight: 900; color: var(--pink-500); letter-spacing: -.02em; }
.statbar span { font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: #9CA3AF; }

.steps { display: grid; gap: 1.75rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; position: relative; }

.step__media {
  position: relative; margin-bottom: 1rem;
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--gray-100);
}
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__num {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.125rem; font-weight: 900;
  background: var(--pink-500); color: #fff; box-shadow: var(--shadow-lg);
}
/* Fallback when no photo is available — the number still needs a home. */
.step__media--bare { aspect-ratio: auto; background: none; overflow: visible; }
.step__media--bare .step__num { position: static; margin: 0 auto; width: 56px; height: 56px; }

.step h3 { font-size: 1.0625rem; margin-bottom: .375rem; }
.step p { font-size: .9375rem; color: var(--gray-600); }

/* Media panels — image beside prose */
.media { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .media { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.media__img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--gray-100); box-shadow: var(--shadow-lg);
}
.media__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .media--flip .media__img { order: -1; } }

/* Photo gallery */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--gray-100);
}
@media (min-width: 900px) {
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .75rem .875rem;
  background: linear-gradient(to top, rgba(0,0,0,.78), transparent);
  color: #fff; font-size: .8125rem; font-weight: 600;
}

/* Image at the top of a card */
.card__media {
  margin: -1.5rem -1.5rem 1.125rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden; aspect-ratio: 16 / 9; background: var(--gray-100);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 1.0625rem; color: var(--gray-700); }
.prose h2 { margin: 2rem 0 .875rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5rem 0 .625rem; }
.prose p { margin-bottom: 1.125rem; }
.prose ul { margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.prose ul li { display: flex; gap: .625rem; align-items: flex-start; }
.prose ul li::before { content: '✓'; color: var(--pink-500); font-weight: 900; flex: none; }
.prose ol { margin: 0 0 1.25rem 1.25rem; list-style: decimal; display: grid; gap: .5rem; }
.prose ol li { padding-left: .25rem; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   9. TABLES
   ========================================================================== */

.tablewrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); background: #fff; }
.table { min-width: 520px; }
.table th, .table td { padding: .8125rem 1rem; text-align: left; font-size: .9375rem; border-bottom: 1px solid var(--gray-100); }
.table th { background: var(--ink-50); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-700); font-weight: 800; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--gray-50); }
.table td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-800); }
.table a { font-weight: 600; }

/* ==========================================================================
   10. FAQ
   ========================================================================== */

.faq { display: grid; gap: .625rem; }
.faq details {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1rem 1.25rem; transition: border-color .15s;
}
.faq details[open] { border-color: var(--ink-100); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  cursor: pointer; font-weight: 700; color: var(--ink-900); font-size: 1.0625rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--pink-500);
  line-height: 1; flex: none; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .75rem; color: var(--gray-600); font-size: .9375rem; }

/* ==========================================================================
   11. REVIEWS
   ========================================================================== */

.review { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; }
.review__stars { color: var(--amber); letter-spacing: .1em; margin-bottom: .75rem; }
.review p { font-size: .9375rem; color: var(--gray-600); font-style: italic; margin-bottom: 1rem; }
.review__who { font-weight: 700; color: var(--ink-900); font-size: .9375rem; }
.review__where { font-size: .8125rem; color: var(--gray-500); }

/* ==========================================================================
   12. LINK GRIDS (states / cities / routes)
   ========================================================================== */

.linkgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .375rem 1rem; }
@media (min-width: 640px) { .linkgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .linkgrid { grid-template-columns: repeat(4, 1fr); } }
.linkgrid--6 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .linkgrid--6 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .linkgrid--6 { grid-template-columns: repeat(6, 1fr); } }
.linkgrid a {
  display: block; padding: .4375rem .25rem; font-size: .9375rem;
  color: var(--gray-700); border-bottom: 1px solid var(--gray-100);
}
.linkgrid a:hover { color: var(--pink-600); }
.section--dark .linkgrid a { color: #D4D4D8; border-color: rgba(255,255,255,.08); }
.section--dark .linkgrid a:hover { color: var(--pink-500); }

.statecard {
  display: block; background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: .875rem 1rem; transition: .15s;
}
.statecard:hover { border-color: var(--pink-500); box-shadow: var(--shadow); }
.statecard strong { display: block; color: var(--ink-900); font-size: .9375rem; }
.statecard span { font-size: .75rem; color: var(--gray-500); }

/* ==========================================================================
   13. BREADCRUMBS
   ========================================================================== */

.crumbs { font-size: .8125rem; color: #9CA3AF; margin-bottom: 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; }
.crumbs a { color: #D4D4D8; }
.crumbs a:hover { color: #fff; }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: .375rem; opacity: .45; }
.crumbs--light { color: var(--gray-500); }
.crumbs--light a { color: var(--gray-600); }
.crumbs--light a:hover { color: var(--pink-600); }

/* ==========================================================================
   14. CTA BAND
   ========================================================================== */

.cta {
  background: linear-gradient(135deg, var(--pink-600), var(--pink-500));
  color: #fff; border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
}
.cta h2 { color: #fff; margin-bottom: .625rem; }
.cta p { color: rgba(255,255,255,.9); max-width: 40rem; margin: 0 auto 1.25rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.cta .btn--primary { background: #fff; color: var(--pink-600); }
.cta .btn--primary:hover { background: var(--ink-900); color: #fff; }
@media (min-width: 768px) { .cta { padding: 2.75rem 2rem; } }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.footer { background: var(--ink-900); color: #9CA3AF; padding: 3rem 0 0; font-size: .9375rem; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .875rem; }
.footer ul { display: grid; gap: .5rem; }
.footer a { color: #9CA3AF; }
.footer a:hover { color: var(--pink-500); }
.footer__about p { margin-bottom: 1rem; font-size: .875rem; line-height: 1.7; }
.footer__contact { display: grid; gap: .375rem; font-size: .875rem; }
.footer__contact strong { color: #fff; }
.footer__legal {
  margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .8125rem;
}
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 1rem; }

.footer__states { border-top: 1px solid rgba(255,255,255,.08); padding: 1.75rem 0; }
.footer__states h4 { text-align: center; }

/* sticky mobile call bar */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--ink-900); box-shadow: 0 -4px 16px rgba(0,0,0,.2);
}
@media (min-width: 1080px) { .callbar { display: none; } }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem .5rem; font-weight: 800; font-size: .9375rem; color: #fff;
}
.callbar a:first-child { background: var(--ink-800); color: #fff; }
.callbar a:last-child { background: var(--pink-500); color: #fff; }
body { padding-bottom: 56px; }
@media (min-width: 1080px) { body { padding-bottom: 0; } }

/* ==========================================================================
   16. UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.muted { color: var(--gray-500); font-size: .875rem; }
.divider { height: 1px; background: var(--gray-200); margin: 2rem 0; }

.notice {
  background: var(--ink-50); border: 1px solid var(--ink-100);
  border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .9375rem;
}
.notice--warn { background: var(--pink-50); border-color: var(--pink-100); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-block; padding: .375rem .75rem; border-radius: 999px;
  background: var(--ink-50); border: 1px solid var(--ink-100);
  font-size: .8125rem; font-weight: 600; color: var(--ink-700);
}
.pill:hover { background: var(--pink-50); border-color: var(--pink-100); color: var(--pink-700); }
