/* Site stylesheet */

/* Self-hosted fonts (latin subset, from Google Fonts) — no third-party
   request, no render-blocking external CSS. Regenerate with the URLs in
   the repo if weights change. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/poppins-800.woff2') format('woff2'); }

:root {
  --ink: #23252a;
  --ink-soft: #4b4e57;
  --charcoal: #2d2e32;
  --dark: #14161c;
  --surface: #ffffff;
  --surface-alt: #f3f5f8;
  --line: #e2e5ea;
  --blue: #1b56c4;
  --blue-deep: #123c8c;
  --blue-pale: #e7eefb;
  --accent: #2e6ce6;
  --ok: #157a3c;
  --err: #b00020;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 22, 28, .08);
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.lead { color: var(--ink-soft); max-width: 700px; margin-left: auto; margin-right: auto; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: .8rem;
  color: var(--blue);
  margin-bottom: .4em;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-pale); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
/* on dark heroes/bands a blue outline vanishes — use the light accent there */
.btn-primary:focus-visible, .btn-ghost:focus-visible { outline-color: #8fb4ff; }

/* Topbar */
.topbar {
  background: var(--dark);
  color: #cfd4dd;
  font-size: .85rem;
  padding: 7px 0;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar-sep { margin: 0 8px; color: #5a5f6b; }
.topbar-warranty { color: #8fb4ff; font-weight: 600; }

/* Header / nav */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(20, 22, 28, .1); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
  transition: min-height .25s ease;
}
.site-header.scrolled .header-inner { min-height: 60px; }
.brand img { width: 170px; height: auto; }
.main-nav { display: flex; align-items: center; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: block; padding: 10px 12px;
  color: var(--ink); text-decoration: none; font-weight: 500;
  border-radius: 8px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--surface-alt); }
.nav-link[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-cta a.btn { margin-left: 8px; white-space: nowrap; }

/* Parent pill: link + caret as one visual hit target */
.nav-pill {
  display: inline-flex; align-items: center;
  border-radius: 8px; transition: background .15s;
}
.nav-pill:hover { background: var(--surface-alt); }
.nav-pill .nav-link { padding-right: 4px; border-radius: 8px 0 0 8px; }
.nav-pill .nav-link:hover { background: transparent; }
.dropdown-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  width: 30px; align-self: stretch;
  color: var(--ink-soft); border-radius: 0 8px 8px 0;
}
.dropdown-toggle svg { transition: transform .2s ease; }
.has-dropdown.open .dropdown-toggle svg { transform: rotate(180deg); }
.has-dropdown.open .nav-pill { background: var(--surface-alt); }

/* Mega panels (desktop) */
.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  z-index: 110;
  visibility: hidden; opacity: 0; transform: translateY(8px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.has-dropdown.open .mega-panel {
  visibility: visible; opacity: 1; transform: translateY(0);
  pointer-events: auto;
  transition: opacity .16s ease, transform .16s ease;
}
.mega-inner {
  max-width: 1140px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 40px rgba(20, 22, 28, .16);
  padding: 26px 28px 18px;
}
.mega-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px 26px;
}
.mega-group-title {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--blue-deep); margin: 0 0 8px;
}
.mega-group ul { list-style: none; margin: 0; padding: 0; }
.mega-group a, .mega-brands a {
  display: block; padding: 6px 8px; margin-left: -8px;
  color: var(--ink); text-decoration: none; font-size: .93rem;
  border-radius: 6px; transition: background .12s, color .12s;
}
.mega-group a:hover, .mega-brands a:hover { background: var(--blue-pale); color: var(--blue-deep); }
.mega-brands {
  list-style: none; margin: 0; padding: 0;
  columns: 3; column-gap: 26px;
}
.mega-brands li { break-inside: avoid; }
.mega-all {
  display: inline-block; margin-top: 16px;
  font-weight: 600; font-size: .92rem;
  color: var(--blue); text-decoration: none;
}
.mega-all:hover { text-decoration: underline; }

/* Drawer chrome (hidden on desktop) */
.drawer-actions, .drawer-hours { display: none; }
.nav-overlay {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(20, 22, 28, .5);
  opacity: 0; transition: opacity .25s ease;
}
.nav-overlay.visible { opacity: 1; }

/* Hamburger -> X */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; z-index: 130; position: relative;
}
.nav-toggle-bar {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px 0; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .mega-panel, .nav-toggle-bar, .nav-overlay, .nav-drawer,
  .dropdown-toggle svg, .site-header, .header-inner,
  .card-link { transition: none !important; }
  .card-link:hover { transform: none; }
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
}
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 9px 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.breadcrumbs li { display: flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "›"; color: var(--ink-soft); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* Hero */
.hero {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 88px 0;
}
.hero-page { padding: 64px 0; }
.hero h1 { color: #fff; max-width: 22ch; }
.hero-inner { max-width: 880px; }
.hero-kicker {
  color: #8fb4ff; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: .85rem; margin-bottom: 12px;
}
.hero-sub { font-size: 1.1rem; color: #dde2ea; max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero.has-hero-img {
  background-image: linear-gradient(rgba(20, 22, 28, .82), rgba(20, 22, 28, .60)), var(--hero-lg);
}
@media (max-width: 820px) {
  .hero.has-hero-img {
    background-image: linear-gradient(rgba(20, 22, 28, .82), rgba(20, 22, 28, .60)), var(--hero-sm);
  }
}
/* photo heroes vary in brightness — the shadow keeps text legible over all of them */
.hero.has-hero-img h1, .hero.has-hero-img .hero-sub,
.hero.has-hero-img .hero-kicker { text-shadow: 0 2px 4px rgba(0, 0, 0, .35); }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--surface-alt); }
.section h2.center, .section .center.lead { margin-left: auto; margin-right: auto; }

/* Cards */
.cards { display: grid; gap: 20px; margin: 28px 0; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-5 { grid-template-columns: repeat(5, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card h3 { margin-bottom: .4em; }
.card-link { text-decoration: none; display: block; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-link h2, .card-link h3 { color: var(--ink); }
.card-more { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 600; font-size: .9rem; }
/* Advantage cards: pin the title to the top of the box and push the body to the bottom */
.cards-advantage .card { display: flex; flex-direction: column; }
.cards-advantage .card p { margin-top: auto; }
.card-icon { display: block; width: 38px; height: 38px; border-radius: 9px; background: var(--blue-pale); margin-bottom: 14px; position: relative; }
.card-icon::after {
  content: ""; position: absolute; inset: 9px;
  background: var(--blue); border-radius: 4px;
  -webkit-mask: center / contain no-repeat var(--icon);
  mask: center / contain no-repeat var(--icon);
}
.card-icon-shield { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5z"/></svg>'); }
.card-icon-car { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 11l1.5-4.5A2 2 0 018.4 5h7.2a2 2 0 011.9 1.5L19 11h1a1 1 0 011 1v5h-2a2 2 0 11-4 0H9a2 2 0 11-4 0H3v-5a1 1 0 011-1z"/></svg>'); }
.card-icon-camera { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 4l-1.5 2H4a1 1 0 00-1 1v11a1 1 0 001 1h16a1 1 0 001-1V7a1 1 0 00-1-1h-3.5L15 4zM12 9a4 4 0 110 8 4 4 0 010-8z"/></svg>'); }
.card-icon-snow { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 2h2v8.3l7.2-4.2 1 1.8L14 12l7.2 4.1-1 1.8L13 13.7V22h-2v-8.3l-7.2 4.2-1-1.8L10 12 2.8 7.9l1-1.8L11 10.3z"/></svg>'); }
.card-icon-card { --icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 5h18a1 1 0 011 1v12a1 1 0 01-1 1H3a1 1 0 01-1-1V6a1 1 0 011-1zm1 4h16v2H4zm2 5h6v2H6z"/></svg>'); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; }
.split-reverse { grid-template-columns: 1.2fr 1fr; }
.split-reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* Steps */
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 0; margin: 30px 0 0;
}
.steps li {
  counter-increment: step;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 700;
  margin-bottom: 12px;
}
.steps p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Reviews */
.section-reviews { background: var(--surface-alt); }
.review-card {
  margin: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.review-card blockquote { margin: 0; font-size: 1.02rem; }
.review-card figcaption { color: var(--ink-soft); font-size: .9rem; }

/* Google rating badge (partial-fill stars via background-clip) */
.rating-stars {
  --rating: 100%;
  --star-on: #f5a623;
  --star-off: #cdd3dd;
  display: inline-block;
  font-size: 1.15rem; line-height: 1; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--star-on) var(--rating), var(--star-off) var(--rating));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.rating-stars-light { --star-on: #ffc94d; --star-off: rgba(255, 255, 255, .35); }
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin: -6px 0 24px; text-decoration: none; color: var(--ink);
}
.rating-badge:hover .rating-meta { text-decoration: underline; }
.rating-meta { font-size: .95rem; color: var(--ink-soft); }
.rating-meta strong { color: var(--ink); font-size: 1.05rem; }
.hero-rating {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; color: #dde2ea; font-size: .95rem; text-decoration: none;
}
.hero-rating strong { color: #fff; }
.hero-rating:hover span:last-child { text-decoration: underline; }

/* Warranty / fleet bands */
.section-warranty { background: var(--blue-deep); color: #fff; }
.section-warranty h2 { color: #fff; }
.section-warranty p { color: #dbe5f8; }
.section-fleet { background-color: var(--charcoal); background-size: cover; background-position: center; color: #fff; }
.section-fleet h2 { color: #fff; }
.section-fleet p { color: #dde2ea; }

/* Brand strip */
.brand-strip {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.brand-strip a, .brand-strip span {
  display: block; padding: 10px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.brand-strip a:hover { border-color: var(--blue); color: var(--blue); }
.brand-strip { margin-bottom: 24px; }

/* Service menu */
.service-menu {
  list-style: none; padding: 0; margin: 26px 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.service-menu li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.service-menu li a { display: block; padding: 12px 16px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 8px; transition: background .15s, color .15s; }
.service-menu li a:hover { background: var(--blue-pale); color: var(--blue-deep); }
.service-menu-plain li { padding: 12px 16px; color: var(--ink-soft); }
.specialty-heading { margin-top: 36px; }

/* Location */
.section-location { background: var(--surface-alt); }
.location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.location-address { color: var(--ink-soft); }
.location-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.map-embed iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-embed-tall iframe { height: 380px; }

/* FAQs */
.faq {
  border: 1px solid var(--line); border-radius: 10px;
  margin-bottom: 10px; background: var(--surface);
}
.faq summary {
  cursor: pointer; padding: 16px 18px; font-weight: 600;
  font-family: var(--font-head); list-style: none; position: relative; padding-right: 40px;
  display: flex; align-items: center; gap: 10px; /* long questions wrap without touching the +/– icon */
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); font-size: 1.3rem; color: var(--blue);
}
.faq[open] summary::after { content: "–"; }
.faq-body { padding: 0 18px 16px; color: var(--ink-soft); }

/* Booking section */
.section-book { background: var(--dark); color: #fff; scroll-margin-top: 90px; }
.book-grid { display: grid; grid-template-columns: minmax(0, 600px); justify-content: center; }
.book-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 26px; color: var(--ink);
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
}
.book-card .btn { text-align: center; }
.book-hours { margin: 4px 0 0; font-size: .9rem; color: var(--ink-soft); text-align: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 22px; }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; color: var(--ink-soft); }

/* Blog */
.post-meta { color: var(--ink-soft); font-size: .88rem; margin-bottom: 6px; }
.hero .post-meta { color: #aeb6c4; }
.post-card h2 { font-size: 1.25rem; }
.post-body h2 { margin-top: 1.4em; }
.post-back { margin-top: 36px; }
.tagline { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--blue-deep); }

/* Legal */
.legal-body h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal-body { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--dark); color: #c9cfda; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px; padding: 52px 20px 30px;
}
.footer-about p { font-size: .92rem; }
.footer-col h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; font-size: .92rem; }
.footer-col a { color: #c9cfda; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-social { margin-top: 14px; display: flex; gap: 14px; }
.footer-social a { color: #8fb4ff; }
.footer-bottom {
  border-top: 1px solid #2a2d36;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; padding-top: 18px; padding-bottom: 22px;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.footer-legal a { color: #c9cfda; }

/* Sticky mobile call/book bar (phones only) */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.5fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -4px 18px rgba(20, 22, 28, .18);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center;
    padding: 15px 10px; font-weight: 600; font-size: 1.02rem;
    text-decoration: none; color: #fff;
  }
  .mobile-cta-call { background: var(--charcoal); }
  .mobile-cta-book { background: var(--blue); }
  .mobile-cta-book:hover { background: var(--blue-deep); }
  body { padding-bottom: 60px; }
  .section-book { scroll-margin-top: 90px; }
}

/* Responsive */
@media (max-width: 980px) {
  .cards-4, .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .service-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split-reverse, .location-grid, .contact-grid, .book-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
}

/* Desktop: the drawer wrapper is layout-transparent */
@media (min-width: 821px) {
  .nav-drawer { display: contents; }
  .nav-overlay { display: none; }
}

/* Tablet: tighten so nothing wraps */
@media (min-width: 821px) and (max-width: 1080px) {
  .nav-link { padding: 10px 8px; font-size: .92rem; }
  .nav-cta a.btn { padding: 10px 14px; font-size: .92rem; margin-left: 4px; }
  .brand img { width: 140px; }
}

@media (max-width: 820px) {
  .topbar-warranty { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 40px 0; }
  .brand img { width: 130px; }

  .nav-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
    width: min(340px, 88vw);
    background: var(--surface);
    box-shadow: -12px 0 36px rgba(20, 22, 28, .22);
    transform: translateX(105%);
    transition: transform .28s ease;
    display: flex; flex-direction: column;
    padding: 68px 18px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.open .nav-drawer { transform: translateX(0); }
  /* When open, the close (X) button pins to the drawer's top-right corner.
     The drawer is fixed to the viewport edge (right:0), but the toggle lives
     in the header's centered container, so without this it floats inset from
     the panel edge instead of sitting in its corner. */
  .main-nav.open .nav-toggle { position: fixed; top: 14px; right: 14px; }
  body.nav-locked { overflow: hidden; }

  .drawer-actions { display: grid; gap: 10px; margin-bottom: 16px; }
  .drawer-actions .btn { text-align: center; }
  .drawer-hours {
    display: block; margin: auto 0 0; padding-top: 18px;
    color: var(--ink-soft); font-size: .85rem;
  }
  .nav-cta { display: none; }

  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-menu > li:last-of-type { border-bottom: 0; }
  .nav-link { padding: 13px 10px; font-size: 1.02rem; white-space: normal; }
  .nav-pill { display: flex; width: 100%; }
  .nav-pill .nav-link { flex: 1; }
  .dropdown-toggle { width: 48px; }

  /* Mega panels become smooth accordions */
  .mega-panel {
    position: static; visibility: visible; opacity: 1;
    transform: none; pointer-events: auto;
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease;
  }
  .has-dropdown.open .mega-panel { grid-template-rows: 1fr; }
  .mega-inner {
    overflow: hidden; min-height: 0;
    max-width: none; margin: 0;
    border: 0; border-radius: 0; box-shadow: none;
    padding: 0 0 6px 10px;
  }
  .mega-groups { grid-template-columns: 1fr; gap: 14px; }
  .mega-group-title { margin-top: 4px; }
  .mega-brands { columns: 2; column-gap: 16px; }
  .mega-all { margin: 10px 0 8px; }

  .hero { padding: 56px 0; }
}

@media (max-width: 600px) {
  .topbar-address { display: none; }
}

@media (max-width: 560px) {
  .cards-3, .cards-4, .cards-5 { grid-template-columns: 1fr; }
  .service-menu { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
}
