@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2) format('woff2');
}

:root {
  --red: #D42B2B;
  --red-dark: #A81F1F;
  --red-light: #FFF5F5;
  --red-mid: #F8E0E0;
  --cream: #FFFEF7;
  --charcoal: #1A1A1A;
  --mid: #555555;
  --light: #6B6B6B;
  --border: #EAEAEA;
  --green: #2A7A4B;
}

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


body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
}

/* URGENT BANNER */
.urgent-banner {
  background: var(--red);
  color: white;
  text-align: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.urgent-banner .pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: white;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.urgent-banner a {
  color: white; text-decoration: underline; text-underline-offset: 3px;
  text-decoration: none;
  font-weight: 700;
  margin-left: 6px;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: white;
  border-bottom: 2px solid var(--red);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 8px 60px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo img {
  height: 120px; width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex; gap: 32px; align-items: center;
}

.nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mid); text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--red); }

.nav-cta {
  background: var(--red) !important;
  color: white !important;
  padding: 12px 24px;
  border-radius: 3px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--red-dark) !important; color: white !important; }

/* HERO */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}

.hero-left {
  display: flex; flex-direction: column;
  justify-content: flex-start;
  padding: 48px 60px 80px 80px;
  background: white;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-light);
  border: 1px solid #FFBCBC;
  color: var(--red);
  padding: 8px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  width: fit-content; margin-bottom: 32px;
}

.hero-tag .dot {
  width: 7px; height: 7px;
  background: var(--red); border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-title span { color: var(--red); }

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 16px; color: var(--mid);
  font-weight: 300; line-height: 1.8;
  max-width: 420px; margin-bottom: 32px;
}

.hero-hours {
  display: flex; gap: 16px; margin-bottom: 40px;
  flex-wrap: wrap;
}

.hour-pill {
  background: var(--red-light);
  border: 1.5px solid #FFBCBC;
  color: var(--red-dark);
  padding: 10px 20px; border-radius: 3px;
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.btn-red {
  background: var(--red); color: white;
  padding: 16px 36px; border-radius: 3px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
  border: none; cursor: pointer;
}

.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,43,43,0.3); }

.btn-outline-red {
  background: transparent; color: var(--red);
  padding: 16px 36px; border-radius: 3px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
  border: 2px solid var(--red); cursor: pointer;
}

.btn-outline-red:hover { background: var(--red); color: white; }

.hero-right {
  background: var(--red);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 60px 48px;
  position: relative; overflow: hidden;
}

.hero-right::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.hero-right::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
}

.hero-logo-wrap {
  background: white;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  position: relative; z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.hero-logo-wrap img {
  width: 100%; max-width: 280px;
  height: auto;
}

.open-card {
  background: rgba(0,0,0,0.18);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 24px 32px;
  width: 100%; max-width: 380px;
  margin-top: 20px;
  position: relative; z-index: 1;
  color: white; text-align: center;
}

.open-card-label {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: white;
  margin-bottom: 8px;
}

.open-card-hours {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 800;
  color: white; margin-bottom: 4px;
}

.open-card-days {
  font-size: 16px; font-weight: 500;
  color: white;
}
.open-card-days + .open-card-hours { margin-top: 14px; }

/* SERVICES */
.services-section {
  padding: 100px 80px;
  background: var(--cream);
}

.section-label {
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--red);
  font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}

.section-label::before {
  content: ''; width: 32px; height: 2px;
  background: var(--red);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 800; line-height: 1.1;
  color: var(--charcoal); margin-bottom: 16px;
}

.section-title span { color: var(--red); }

.section-sub {
  font-size: 16px; color: var(--mid);
  font-weight: 300; max-width: 500px;
  line-height: 1.8; margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  transition: all 0.25s;
  position: relative; overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  border-color: #FFBCBC;
  box-shadow: 0 8px 32px rgba(212,43,43,0.1);
  transform: translateY(-3px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}

.service-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--charcoal); margin-bottom: 10px;
}

.service-desc {
  font-size: 14px; color: var(--mid);
  font-weight: 300; line-height: 1.8;
}

/* URGENCY STRIP */
.urgency-strip {
  background: var(--charcoal);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.urgency-item { color: white; }

.urgency-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px; font-weight: 900;
  color: var(--red); line-height: 1;
  margin-bottom: 8px;
}

.urgency-label {
  font-size: 13px; color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 500;
}

/* LOCATION */
.location-section {
  padding: 100px 80px;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.location-detail {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.location-detail:first-of-type { border-top: 1px solid var(--border); }

.location-icon {
  width: 44px; height: 44px;
  background: var(--red-light);
  border-radius: 6px;
  display: flex; align-items: center;
  justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

.location-detail strong {
  display: block; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: 4px;
  font-weight: 600;
}

.location-detail span {
  font-size: 15px; color: var(--mid); font-weight: 300;
  line-height: 1.6;
}

.weekend-badge {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 4px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 600;
  margin-top: 4px;
}

.map-wrap {
  border-radius: 8px; overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* CTA */
.cta-section {
  background: var(--red);
  padding: 80px;
  text-align: center;
  position: relative; overflow: hidden;
}

.cta-section::before {
  content: '911'; content: '911' / '';
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 300px; font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1; pointer-events: none;
}

.cta-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900; color: white;
  margin-bottom: 16px; line-height: 1.1;
  position: relative; z-index: 1;
}

.cta-section p {
  font-size: 18px; color: white;
  font-weight: 400; margin-bottom: 20px;
  position: relative; z-index: 1;
}

.cta-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px; font-weight: 900;
  color: white; display: block;
  margin-bottom: 36px; letter-spacing: 0.02em;
  position: relative; z-index: 1;
}

.btn-white {
  background: white; color: var(--red);
  padding: 18px 44px; border-radius: 3px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s;
  display: inline-block;
  position: relative; z-index: 1;
  border: none; cursor: pointer;
}

.btn-white:hover { background: var(--charcoal); color: white; transform: translateY(-2px); }

/* FOOTER */
footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.78);
  padding: 40px 80px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.footer-logo img {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-text { font-size: 13px; font-weight: 300; }

/* RESPONSIVE */
a.cta-phone { text-decoration: none; }
.location-detail a { color: inherit; text-decoration: none; }

/* Grid children must be allowed to shrink so nothing forces sideways scroll */
.hero > *, .location-section > * { min-width: 0; }

/* Don't leave hover "stuck" on touch devices */
@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: none; border-color: var(--border); }
  .service-card:hover::before { transform: scaleX(0); }
  .btn-red:hover, .btn-white:hover { transform: none; box-shadow: none; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 12px 24px; }
  .nav-logo img { height: 84px; }
  .nav-links { gap: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-left { padding: 32px 24px 56px; }
  .hero-sub { max-width: none; margin-bottom: 28px; }
  .hero-right { padding: 40px 24px; display: none; }
  .services-section, .location-section { padding: 64px 24px; }
  .section-sub { margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .urgency-strip { grid-template-columns: repeat(2, 1fr); padding: 48px 24px; }
  .location-section { grid-template-columns: 1fr; gap: 40px; }
  .cta-section { padding: 64px 24px; }
  .cta-section::before { font-size: 200px; right: -10px; }
  footer { padding: 32px 24px; flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  body { overflow-x: clip; }

  /* Banner: stack into a tidy centered block instead of loose flex items */
  .urgent-banner {
    display: block; padding: 10px 16px;
    font-size: 13px; line-height: 1.5;
  }
  .urgent-banner .pulse { display: inline-block; margin-right: 8px; vertical-align: middle; }
  .urgent-banner a {
    display: block; margin: 6px 0 0;
    padding: 6px 0;
  }

  /* Nav: logo + tap-to-call only; section links drop out to save room */
  nav { padding: 10px 16px; }
  .nav-logo img { height: 64px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 12px 16px; font-size: 13px !important; white-space: nowrap; }

  /* Hero */
  .hero-left { padding: 28px 20px 48px; }
  .hero-tag { margin-bottom: 24px; }
  .hero-title { font-size: clamp(26px, 8.5vw, 40px); overflow-wrap: break-word; }
  .hero-subtitle { font-size: 18px; margin-bottom: 20px; }
  .hero-sub { font-size: 15px; line-height: 1.7; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .btn-red, .btn-outline-red, .btn-white {
    display: block; width: 100%; text-align: center;
    padding: 16px 20px; min-height: 48px;
  }

  /* Sections */
  .services-section, .location-section { padding: 48px 20px; }
  .section-title { font-size: clamp(28px, 8vw, 36px); }
  .service-card { padding: 28px 22px; }
  .location-detail span { font-size: 15px; }
  .map-wrap iframe { height: 300px; }

  /* CTA */
  .cta-section { padding: 56px 20px; }
  .cta-section::before { font-size: 140px; }
  .cta-section h3 { font-size: 1.3rem !important; }
  .cta-section p { font-size: 16px; }
  .cta-phone { font-size: clamp(30px, 10vw, 44px); margin-bottom: 28px; }

  footer { padding: 28px 20px; gap: 14px; }
  .footer-logo img { height: 36px; }
}

/* ===== Multi-page additions ===== */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--charcoal); color: white; padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

.nav-links a[aria-current="page"] { color: var(--red); }

/* Service cards as links */
a.service-card { display: block; text-decoration: none; color: inherit; }
.service-more {
  display: inline-block; margin-top: 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--red);
}
.services-section .section-title { margin-bottom: 48px; }

/* Inner page hero */
.page-hero {
  background: white;
  padding: 48px 80px 72px;
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px; max-width: 900px;
}
.page-title span { color: var(--red); }
.page-sub {
  font-size: 18px; color: var(--mid); font-weight: 300;
  line-height: 1.7; max-width: 680px; margin-bottom: 32px;
}
.page-sub a { color: var(--red); }

/* Breadcrumbs */
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--light); margin-bottom: 28px;
}
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--border); }
.breadcrumbs a { color: var(--mid); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--charcoal); font-weight: 500; }

/* Article content */
.content-section {
  padding: 80px;
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 64px; align-items: start;
  background: var(--cream);
}
.content-main > p {
  font-size: 17px; line-height: 1.9; color: var(--mid);
  font-weight: 300; margin-bottom: 20px;
}
.content-main h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 2.2vw, 32px); font-weight: 800;
  margin: 48px 0 20px; line-height: 1.2;
}
.content-main a, .exam-copy a:not([class]) { color: var(--red); }

.check-list, .step-list { margin: 0 0 20px; padding: 0; }
.check-list li, .step-list li {
  font-size: 16px; color: var(--mid); line-height: 1.7;
  padding: 10px 0 10px 40px; position: relative;
  border-bottom: 1px solid var(--border); list-style: none;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red-light); color: var(--red);
  font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step-list { counter-reset: step; }
.step-list li { counter-increment: step; }
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: white;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

/* FAQ */
.faq {
  background: white; border: 1.5px solid var(--border);
  border-radius: 8px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%); font-size: 24px; color: var(--red); font-weight: 600;
}
.faq[open] summary::after { content: '–'; }
.faq summary h3 {
  display: inline; font-family: 'Montserrat', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--charcoal);
}
.faq p {
  padding: 0 24px 22px; font-size: 15px; color: var(--mid);
  line-height: 1.8; font-weight: 300;
}

/* Sidebar */
.content-aside { position: sticky; top: 160px; display: grid; gap: 20px; }
.aside-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 28px;
}
.aside-card p { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 16px; }
.aside-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 20px !important; color: var(--charcoal) !important; margin-bottom: 10px !important;
}
.aside-red { background: var(--red); border-color: var(--red); }
.aside-red p, .aside-red .aside-title { color: white !important; }
.aside-red .btn-white { display: block; text-align: center; padding: 16px 20px; }
.aside-red .btn-white:hover { transform: none; }
.aside-link { display: block; margin-top: 14px; color: white; font-size: 14px; font-weight: 600; text-decoration: none; text-align: center; }
.aside-addr { margin-top: 16px; margin-bottom: 0 !important; }
.aside-addr a { color: var(--red); text-decoration: none; font-weight: 600; }

/* Hours table */
.hours-table { border-collapse: collapse; width: 100%; max-width: 360px; margin-top: 4px; }
.hours-table th, .hours-table td {
  text-align: left; font-size: 15px; padding: 5px 0;
  color: var(--mid); font-weight: 300;
}
.hours-table th { font-weight: 500; color: var(--charcoal); padding-right: 20px; }
.hours-table td.closed { color: var(--light); }

/* $49 exam section */
.exam-section { background: var(--red-light); padding: 100px 80px; border-top: 1px solid var(--red-mid); border-bottom: 1px solid var(--red-mid); }
.exam-inner {
  display: grid; grid-template-columns: auto 1fr; gap: 72px;
  align-items: center; max-width: 1100px; margin: 0 auto;
}
.exam-price {
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: 120px; letter-spacing: -0.04em; line-height: 1;
  box-shadow: 0 20px 60px rgba(212,43,43,0.3);
  border: 8px solid white;
}
.exam-dollar { font-size: 56px; align-self: flex-start; margin-top: 78px; margin-right: 4px; }
.exam-copy > p { font-size: 17px; color: var(--mid); line-height: 1.8; font-weight: 300; margin-bottom: 16px; }
.exam-copy .check-list { max-width: 520px; }
.exam-copy .check-list li { border-bottom-color: var(--red-mid); }
.exam-copy .hero-actions { margin-top: 28px; }

.related-section .services-grid { margin-bottom: 32px; }
.all-link a { color: var(--red); font-weight: 700; text-decoration: none; }

.cta-h3 {
  font-family: 'Montserrat', sans-serif; font-size: 1.8rem !important;
  font-weight: 600 !important; color: white !important;
  margin-bottom: 24px !important; letter-spacing: 0.04em;
}

/* Footer (multi-column) */
footer { display: block; padding: 64px 80px 32px; }
.footer-cols {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-text { line-height: 1.8; font-style: normal; margin-bottom: 12px; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer a:hover { color: white; }
.footer-head {
  color: white; font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-list { list-style: none; }
.footer-list li { font-size: 14px; padding: 4px 0; }
.footer-bottom { padding-top: 24px; margin: 0; }

@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 12px; }
}

@media (max-width: 900px) {
  .page-hero { padding: 32px 24px 56px; }
  .content-section { grid-template-columns: 1fr; padding: 56px 24px; gap: 40px; }
  .content-aside { position: static; }
  .exam-section { padding: 64px 24px; }
  .exam-inner { grid-template-columns: 1fr; gap: 40px; justify-items: start; }
  .exam-price { width: 200px; height: 200px; font-size: 84px; }
  .exam-dollar { font-size: 40px; margin-top: 52px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 48px 24px 28px; flex-direction: initial; text-align: left; }
  nav { flex-wrap: wrap; row-gap: 8px; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; }
}

@media (max-width: 640px) {
  /* Show page links as a scrollable row under the logo so every page is reachable */
  nav { padding: 10px 16px 0; }
  .nav-links {
    width: 100%; order: 3; justify-content: flex-start;
    flex-wrap: nowrap; overflow-x: auto; gap: 20px;
    padding: 6px 0 12px; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a:not(.nav-cta) { display: inline-block; white-space: nowrap; font-size: 12px; }
  .nav-links .nav-cta {
    position: absolute; right: 16px; top: 22px;
  }
  nav { position: sticky; }
  .page-hero { padding: 24px 20px 44px; }
  .page-sub { font-size: 16px; }
  .content-section { padding: 44px 20px; }
  .content-main > p { font-size: 16px; }
  .exam-section { padding: 48px 20px; }
  .exam-price { width: 160px; height: 160px; font-size: 64px; border-width: 6px; }
  .exam-dollar { font-size: 30px; margin-top: 42px; }
  .exam-copy .hero-actions { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 40px 20px 24px; }
  .cta-h3 { font-size: 1.3rem !important; }
}

/* ===== Why choose us ===== */
.why-section { padding: 100px 80px; background: white; }
.why-section .section-title { margin-bottom: 48px; }
.why-grid {
  list-style: none; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-item { border-top: 4px solid var(--red); padding-top: 20px; }
.why-item h3 {
  font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 800;
  margin-bottom: 10px;
}
.why-item p { font-size: 15px; color: var(--mid); line-height: 1.8; }
.why-item a { color: var(--red-dark); }

/* ===== Map consent placeholder ===== */
.map-placeholder {
  min-height: 420px; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
  background: white; gap: 14px;
}
.map-placeholder p { font-size: 15px; color: var(--mid); line-height: 1.7; max-width: 460px; }
.map-placeholder a:not([class]) { color: var(--red-dark); }
.map-placeholder-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 20px !important; color: var(--charcoal) !important;
}
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.map-actions .btn-red, .map-actions .btn-outline-red { font-family: inherit; padding: 14px 24px; }

/* ===== Legal pages ===== */
.content-single { grid-template-columns: minmax(0, 1fr); }
.content-single .content-main { max-width: 820px; }
.legal-date { font-size: 14px !important; color: var(--light) !important; font-weight: 500 !important; }
.legal .check-list li { font-size: 16px; }

/* ===== Accessibility (WCAG 2.1 AA) ===== */
/* Text links inside content are underlined so they don't rely on color alone */
.content-main a:not([class]), .page-sub a, .why-item a, .map-placeholder a:not([class]),
.aside-addr a, .all-link a, .location-detail a, address a {
  text-decoration: underline; text-underline-offset: 3px;
}
.content-main a:not([class]) { color: var(--red-dark); }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, summary:focus-visible, iframe:focus-visible {
  outline: 3px solid #1A56DB; outline-offset: 3px; border-radius: 2px;
}
.urgent-banner a:focus-visible, .cta-section a:focus-visible, .aside-red a:focus-visible,
footer a:focus-visible, .exam-price:focus-visible {
  outline-color: white;
}
.skip-link:focus { outline: 3px solid white; }

/* Larger hit areas for small text links */
.footer-list a, .breadcrumbs a { display: inline-block; padding: 4px 0; }

/* Darker red for small red text on light backgrounds (contrast ≥ 4.5:1) */
.section-label, .service-more, .hero-tag, .nav-links a[aria-current="page"] { color: var(--red-dark); }
.section-label::before { background: var(--red-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (max-width: 900px) {
  .why-section { padding: 64px 24px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .why-section { padding: 48px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .map-placeholder { min-height: 300px; padding: 28px 20px; }
  .map-actions { flex-direction: column; }
}

/* ===== Schedule Now ===== */
.nav-links a.nav-schedule {
  border: 2px solid var(--red); color: var(--red-dark);
  padding: 10px 20px; border-radius: 3px; font-weight: 700;
}
.nav-links a.nav-schedule:hover { background: var(--red); color: white; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-white-outline {
  background: transparent; color: white; border: 2px solid white;
  padding: 16px 40px; border-radius: 3px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; display: inline-block; transition: all 0.2s;
}
.btn-white-outline:hover { background: white; color: var(--red-dark); }
.aside-red .aside-call { margin-top: 10px; background: transparent; color: white; border: 2px solid white; }
.aside-red .aside-call:hover { background: white; color: var(--red-dark); }
@media (max-width: 640px) {
  .nav-links a.nav-schedule { padding: 6px 12px; }
  .cta-actions { flex-direction: column; }
  .btn-white-outline { display: block; width: 100%; text-align: center; padding: 16px 20px; }
}

/* ===== Booking pop-up ===== */
.booking-modal {
  border: none; padding: 0; border-radius: 14px;
  width: min(760px, calc(100vw - 32px)); height: min(860px, calc(100vh - 48px));
  max-width: none; max-height: none; margin: auto;
  background: white; color: var(--charcoal);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  display: none; flex-direction: column; overflow: hidden;
}
.booking-modal[open] { display: flex; animation: booking-in 0.25s ease-out; }
.booking-modal::backdrop { background: rgba(26,26,26,0.6); backdrop-filter: blur(3px); }
@keyframes booking-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.booking-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 16px 24px; border-bottom: 1px solid var(--border);
  background: var(--red); color: white;
}
.booking-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 18px; }
.booking-close {
  background: transparent; border: none; color: white; cursor: pointer;
  font-size: 20px; width: 44px; height: 44px; border-radius: 50%;
}
.booking-close:hover { background: rgba(0,0,0,0.15); }
.booking-close:focus-visible { outline: 3px solid white; outline-offset: 0; }
.booking-body { position: relative; flex: 1; background: white; }
.booking-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.3s; }
.booking-body iframe.loaded { opacity: 1; }
.booking-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.booking-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 4px solid var(--red-mid); border-top-color: var(--red);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.booking-foot { padding: 12px 20px; font-size: 14px; color: var(--mid); border-top: 1px solid var(--border); text-align: center; }
.booking-foot a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
body.booking-open { overflow: hidden; }
@media (max-width: 640px) {
  .booking-modal { width: 100vw; height: 100dvh; border-radius: 0; }
  .booking-foot { font-size: 13px; }
}

/* Services overview: heading flows straight into the card grid */
.services-section--intro { padding-top: 72px; }
.services-intro { margin-bottom: 48px; }
.services-intro .page-sub { margin-bottom: 0; }
@media (max-width: 900px) {
  .services-section--intro { padding-top: 48px; }
  .services-intro { margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .services-section--intro { padding-top: 36px; }
  .services-intro { margin-bottom: 28px; }
}

/* Inner page headings blend into the content below (no separate white band) */
.page-hero {
  background: var(--cream);
  border-bottom: none;
  padding: 72px 80px 0;
}
.page-hero .page-sub { margin-bottom: 0; }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero + .content-section,
.page-hero + .location-section { padding-top: 48px; }
.page-hero--tint { background: var(--red-light); }
.page-hero--tint + .exam-section { border-top: none; padding-top: 48px; }
main > .page-hero:last-child { padding-bottom: 100px; }
@media (max-width: 900px) {
  .page-hero { padding: 48px 24px 0; }
  .page-hero + .content-section,
  .page-hero + .location-section,
  .page-hero--tint + .exam-section { padding-top: 36px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 36px 20px 0; }
  .page-hero + .content-section,
  .page-hero + .location-section,
  .page-hero--tint + .exam-section { padding-top: 28px; }
}

.areas-list {
  list-style: none; margin: 12px 0 10px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.areas-list li {
  font-size: 13px; color: var(--charcoal);
  background: var(--red-light);
  padding: 4px 10px; border-radius: 999px;
}

/* ===== Mobile navigation & tap targets ===== */
@media (max-width: 640px) {
  /* Lay page links out as an even 2×2 grid so every link is visible (no hidden sideways scroll) */
  .nav-links {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    overflow: visible; padding: 4px 0 12px;
  }
  .nav-links a:not(.nav-cta) {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 8px 6px;
    font-size: 12px; text-align: center; white-space: normal;
    border: 1px solid var(--border); border-radius: 4px;
    background: white;
  }
  .nav-links a.nav-schedule {
    padding: 8px 6px; border: 2px solid var(--red);
    background: var(--red-light);
  }
  .nav-links a[aria-current="page"] { border-color: var(--red); }
  .nav-links .nav-cta { min-height: 44px; display: inline-flex; align-items: center; }

  /* Comfortable tap targets in banner and footer */
  .urgent-banner a { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .footer-list li { padding: 0; }
  .footer-list li a { display: inline-block; padding: 10px 0; }
  .footer-text a, .footer-bottom a { display: inline-block; padding: 8px 0; }

  /* Area tags slightly larger for easy reading */
  .areas-list li { font-size: 14px; padding: 6px 12px; }
}

/* Map link under embedded map */
.map-link { margin-top: 12px; font-size: 15px; }
.map-link a { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ===== Payment plans (Cherry) ===== */
.pay-section { padding: 100px 80px; background: var(--cream); border-bottom: 1px solid var(--border); }
.pay-inner {
  display: grid; grid-template-columns: 1fr 380px; gap: 72px;
  align-items: center; max-width: 1100px; margin: 0 auto;
}
.pay-copy > p { font-size: 17px; color: var(--mid); line-height: 1.8; font-weight: 300; margin-bottom: 16px; }
.pay-copy .check-list { max-width: 540px; }
.pay-copy .hero-actions { margin-top: 28px; }
.pay-copy .pay-fine { font-size: 13px; color: var(--light); font-weight: 400; margin-top: 20px; margin-bottom: 0; }
.pay-card {
  background: var(--charcoal); color: white; border-radius: 20px;
  padding: 36px 32px; box-shadow: 0 24px 60px rgba(26,26,26,0.18);
  border-top: 8px solid var(--red);
}
.pay-card-brand {
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 28px;
  letter-spacing: -0.02em; color: #FF8A8A; margin-bottom: 24px;
}
.pay-card-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: #CFCFCF; }
.pay-card-big {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px;
  line-height: 1.15; margin: 6px 0 24px;
}
.pay-card-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.14); font-size: 15px;
}
.pay-card-row span:last-child { font-weight: 700; }
.page-hero--tint + .pay-section { padding-top: 48px; }
@media (max-width: 900px) {
  .pay-section { padding: 64px 24px; }
  .pay-inner { grid-template-columns: 1fr; gap: 40px; }
  .pay-card { max-width: 420px; }
}
@media (max-width: 640px) {
  .pay-section { padding: 48px 20px; }
  .pay-copy .hero-actions { flex-direction: column; }
}
