/* ==========================================================================
   AAA Lock N Safe — Murfreesboro, TN
   Stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #0e2544;
  --navy-800: #14325c;
  --navy-700: #1b4079;
  --navy-600: #1f4d92;
  --blue-500: #2b7de0;
  --blue-400: #4a93ea;
  --blue-050: #eaf2fc;

  --ink: #16202e;
  --ink-soft: #4b5a6b;
  --line: #e3e9f1;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 10px rgba(14, 37, 68, .06);
  --shadow: 0 12px 34px rgba(14, 37, 68, .10);
  --shadow-lg: 0 26px 60px rgba(14, 37, 68, .16);

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .55em; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--surface-alt); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; }
.lede { font-size: 1.06rem; color: var(--ink-soft); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-800); color: #fff; padding: 12px 20px; z-index: 200; }
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
  font-size: .97rem; font-weight: 700; letter-spacing: .01em;
  cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 7px 16px; font-size: .78rem; gap: 6px; }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: 0 10px 24px rgba(43, 125, 224, .3); }
.btn--primary:hover { background: #1c69c9; color: #fff; }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn--outline:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn__arrow {
  width: 34px; height: 34px; flex: 0 0 34px; margin-left: -12px; margin-right: 2px;
  border-radius: 50%; background: var(--navy-800); color: #fff;
  display: grid; place-items: center; font-size: 1rem;
}

/* ---------- Utility bar ---------- */
.utility {
  background: var(--navy-900); color: #cddcf0;
  font-size: .84rem; padding: 9px 0;
}
.utility__inner { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: space-between; }
.utility__hours { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.utility__hours li { margin: 0; }
.utility__hours strong { color: #fff; font-weight: 700; }
.utility a { color: #fff; font-weight: 700; }
.utility a:hover { color: var(--blue-400); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .28s ease, background .28s ease;
}
.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 92px; transition: min-height .28s ease;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* logo.jpg is 300x120 — 60px is the tallest it renders crisply on a 2x
   display. Going beyond this needs a higher-resolution logo (ideally SVG). */
.brand img { width: auto; height: 60px; transition: height .28s ease; }
.brand__text { display: none; }

/* Condensed state — .is-scrolled is toggled by js/main.js past 40px of scroll. */
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(14, 37, 68, .09); }
.site-header.is-scrolled .site-header__inner { min-height: 70px; }
.site-header.is-scrolled .brand img { height: 44px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: block; padding: 10px 12px; border-radius: 999px;
  font-size: .93rem; font-weight: 600; color: var(--ink);
  white-space: nowrap; /* "Locksmith Services" must never break across lines */
  transition: background .18s ease, color .18s ease;
}
.nav__link:hover { background: var(--blue-050); color: var(--navy-700); }
.nav__link[aria-current="page"] { color: var(--blue-500); }
.nav__link--parent::after { content: "▾"; font-size: .7em; margin-left: 6px; opacity: .7; }

.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 290px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub li { margin: 0; }
.nav__sub a { display: block; padding: 11px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; color: var(--ink); }
.nav__sub a:hover { background: var(--blue-050); color: var(--navy-700); }

.header__cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__phone { font-weight: 800; font-size: 1rem; color: var(--navy-800); white-space: nowrap; }
.header__phone span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* These three belong to the mobile drawer only — they are switched on in the
   max-width:900px block and must stay hidden on desktop. A rule defined only
   inside a media query renders unstyled outside it. */
.nav-close { display: none; }
.nav-backdrop { display: none; }

.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-800); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero (home) ---------- */
/* NB: no `overflow: hidden` here — the floating feature cards deliberately
   overhang the bottom edge of the hero. The media child is clipped instead. */
.hero { position: relative; background: var(--navy-700); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, var(--navy-800) 0%, var(--navy-700) 42%, var(--navy-600) 100%);
}
.hero__media {
  position: absolute; top: 0; right: 0; width: 58%; height: 100%; overflow: hidden;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
/* Slideshow: slides are stacked and cross-faded, so the box never reflows. */
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
}
.hero__slide.is-active { opacity: 1; }

.hero__dots {
  position: absolute; z-index: 4;
  top: clamp(26px, 4.5vh, 54px); right: clamp(20px, 3vw, 40px);
  display: flex; gap: 9px;
}
.hero__dot {
  width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .85); background: transparent;
  transition: background .2s ease, transform .2s ease;
}
.hero__dot:hover { transform: scale(1.2); }
.hero__dot.is-active { background: #fff; }

.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-700) 0%, rgba(27, 64, 121, .55) 26%, rgba(27, 64, 121, 0) 62%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(60px, 8vw, 108px) 0 0; }
.hero__copy { max-width: 570px; }
.hero h1 { color: #fff; margin-bottom: 10px; }
.hero__sub { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; color: var(--blue-400); margin-bottom: 22px; }
.hero__points { list-style: none; padding: 0; margin: 0 0 30px; }
.hero__points li { display: flex; align-items: flex-start; gap: 12px; color: #dbe7f7; font-size: 1.02rem; margin-bottom: 12px; }
.hero__points svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; color: var(--blue-400); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Floating feature cards */
.hero__cards {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: clamp(48px, 7vw, 86px); transform: translateY(clamp(28px, 4vw, 46px));
}
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .6);
}
.feature-card__icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-050);
  color: var(--blue-500); display: grid; place-items: center; margin-bottom: 16px;
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature-card p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.hero-cards-spacer { height: clamp(28px, 4vw, 46px); }

/* ---------- Page banner (interior pages) ---------- */
.page-hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%); }
.page-hero__media { position: absolute; top: 0; right: 0; width: 54%; height: 100%; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-800) 0%, rgba(20, 50, 92, .6) 28%, rgba(20, 50, 92, 0) 66%); }
/* .page-hero__inner shares its element with .wrap, so a max-width here shrank
   the wrap itself -- and .wrap's margin-inline:auto then centred that narrow
   box, pushing the hero copy to x=410 while the logo above it and every
   section below sat at x=120. Cap the children instead, the way .hero__copy
   does on the home page, so the wrap keeps its full width and the text stays
   flush with the rest of the page. */
.page-hero__inner { position: relative; z-index: 2; padding: clamp(52px, 7vw, 92px) 0; }
.page-hero__inner > * { max-width: 620px; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; color: var(--blue-400); margin-bottom: 20px; }
.page-hero__points { list-style: none; padding: 0; margin: 0 0 26px; }
.page-hero__points li { display: flex; align-items: flex-start; gap: 11px; color: #d7e4f6; font-size: 1rem; margin-bottom: 10px; }
.page-hero__points svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; color: var(--blue-400); }
.page-hero--plain .page-hero__inner > * { max-width: 760px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { background: var(--surface-alt); border-bottom: 1px solid var(--line); font-size: .87rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 15px 0; }
.breadcrumb li { margin: 0; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "/"; color: #b9c6d6; }
.breadcrumb a { color: var(--navy-600); font-weight: 600; }

/* ---------- Split content (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover;
}
.split__media--blob img { border-radius: 58% 42% 46% 54% / 46% 40% 60% 54%; aspect-ratio: 1 / 1; }

/* ---------- Check list ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: var(--ink); }
.checklist li::before {
  content: ""; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--blue-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b7de0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.service-card .link-arrow { margin-top: 6px; }

.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--blue-500); }
.link-arrow::after {
  content: ""; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b7de0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Why choose (dark panel) ---------- */
.panel-dark {
  background: linear-gradient(120deg, var(--navy-800) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  color: #fff; border-radius: var(--radius-xl); padding: clamp(38px, 5vw, 68px);
}
.panel-dark h2 { color: #fff; }
.panel-dark p { color: #cfdeef; }
.panel-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 60px); align-items: center; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; list-style: none; margin: 0; padding: 0; }
.why-grid li { display: flex; align-items: flex-start; gap: 13px; margin: 0; font-weight: 600; color: #e7f0fb; font-size: .99rem; }
.why-grid li::before {
  content: ""; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb6f2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Emergency CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: #fff; border-radius: var(--radius-xl); padding: clamp(34px, 4.5vw, 56px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-strip p { color: #cfdeef; margin: 0; max-width: 640px; }
.cta-strip__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-strip__phone { font-size: 1.55rem; font-weight: 800; color: #fff; white-space: nowrap; }
.cta-strip__phone:hover { color: var(--blue-400); }

/* ---------- Parallax band ---------- */
.parallax {
  position: relative; color: #fff; overflow: hidden;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  /* Mobile-first: the overlay below sits at 74-94% opacity, so a small
     variant is indistinguishable here and saves ~200KB on a phone. */
  background-image: url("../assets/images/wrapped-van-768.jpg");
}
@media (min-width: 769px)  { .parallax { background-image: url("../assets/images/wrapped-van-1200.jpg"); } }
@media (min-width: 1201px) { .parallax { background-image: url("../assets/images/wrapped-van-1600.jpg"); } }
@media (min-width: 1601px) { .parallax { background-image: url("../assets/images/wrapped-van.jpg"); } }
.parallax::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(14, 37, 68, .94) 0%, rgba(20, 50, 92, .88) 42%, rgba(31, 77, 146, .74) 100%);
}
.parallax__inner { position: relative; z-index: 2; padding: clamp(74px, 11vw, 142px) 0; }
.parallax__copy { max-width: 660px; }
.parallax h2 { color: #fff; }
.parallax .lede { color: #cfdeef; }

.stat-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px; margin-top: clamp(38px, 5vw, 58px);
}
.stat {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  backdrop-filter: blur(6px);
}
.stat__num {
  display: block; font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: #fff;
}
.stat__label { display: block; margin-top: 9px; font-size: .92rem; font-weight: 600; color: #cfdeef; }

/* Touch browsers (notably iOS Safari) either ignore background-attachment:fixed
   or scroll it badly, so the effect is dropped rather than left broken. */
@media (hover: none), (prefers-reduced-motion: reduce) {
  .parallax { background-attachment: scroll; }
}
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); }
.badges img { max-height: 92px; width: auto; filter: grayscale(1); opacity: .68; transition: filter .25s ease, opacity .25s ease; }
.badges a:hover img, .badges img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Accordion (FAQs) ---------- */
.accordion { max-width: 900px; margin-inline: auto; display: grid; gap: 14px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.accordion__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 62px 22px 26px; position: relative;
  font-family: inherit; font-size: 1.06rem; font-weight: 700; color: var(--navy-900); line-height: 1.4;
}
.accordion__btn::after {
  content: ""; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue-050)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b7de0' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease;
}
.accordion__btn[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); }
.accordion__panel { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.accordion__panel p { color: var(--ink-soft); margin: 0 0 22px; }
.accordion__item.is-open .accordion__panel { max-height: 460px; }

/* ---------- Info cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.18rem; }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { color: var(--ink-soft); font-size: .96rem; padding-left: 18px; position: relative; }
.info-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); }
/* Sub-headings inside a card that groups two lists (About > Products & Services).
   Deliberately quieter than the card's own h3 so the grouping still reads as one box. */
.info-card__sub {
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500); margin: 0 0 10px;
}
.info-card ul + .info-card__sub { margin-top: 22px; }
.info-card--dark { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.info-card--dark h3 { color: #fff; }
.info-card--dark li, .info-card--dark p { color: #cfdeef; }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.tag-list li { margin: 0; padding: 7px 15px; border-radius: 999px; background: var(--blue-050); color: var(--navy-700); font-size: .87rem; font-weight: 600; }

/* ---------- Sidebar ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card p { font-size: .95rem; color: var(--ink-soft); }
.aside-card--dark { background: linear-gradient(150deg, var(--navy-800), var(--navy-600)); border-color: transparent; color: #fff; }
.aside-card--dark h3 { color: #fff; }
.aside-card--dark p { color: #cfdeef; }
.aside-nav { list-style: none; padding: 0; margin: 0; }
.aside-nav li { margin: 0; border-bottom: 1px solid var(--line); }
.aside-nav li:last-child { border-bottom: 0; }
.aside-nav a { display: block; padding: 13px 0; font-weight: 600; font-size: .96rem; color: var(--ink); }
.aside-nav a:hover { color: var(--blue-500); padding-left: 5px; transition: padding .18s ease; }
.aside-nav a[aria-current="page"] { color: var(--blue-500); }
/* Clears the condensed header (70px), which is the state it will be in by the
   time a visitor has scrolled far enough for this to stick. */
.sticky { position: sticky; top: 86px; }

/* ---------- Prose block ---------- */
.prose h3 { margin-top: 2em; }
.prose h3:first-child { margin-top: 0; }
.prose > p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.contact-card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-050); color: var(--blue-500); display: grid; place-items: center; margin-bottom: 16px; }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.contact-card p, .contact-card address { font-style: normal; color: var(--ink-soft); font-size: .97rem; margin: 0 0 6px; }
.contact-card a { font-weight: 700; }
.notice {
  background: #fff6e8; border: 1px solid #f2d9b0; border-left: 5px solid #e39a2b;
  border-radius: var(--radius); padding: 20px 24px; color: #6b4a17; font-weight: 600;
}
.notice p { margin: 0; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.hours-table th { font-weight: 700; color: var(--navy-900); }
.hours-table td { color: var(--ink-soft); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: .02em; text-transform: uppercase;
  padding-top: 1.4em; margin-top: 1.2em; border-top: 1px solid var(--line);
}
.legal h3:first-of-type { margin-top: .6em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .checklist li::before { margin-top: 3px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.legal__updated {
  margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--line);
  font-weight: 700; color: var(--ink);
}

/* ---------- Contact form ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 22px; }

.field { margin-bottom: 20px; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: .92rem; font-weight: 700; color: var(--navy-900);
}
.field .req { color: #c0392b; margin-left: 2px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: .97rem; color: var(--ink);
  background: var(--surface-alt); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: #c9d6e6; }
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(43, 125, 224, .14);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0392b; background: #fdf3f2; }
.field.is-invalid input:focus, .field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(192, 57, 43, .13); }
.field__err { margin: 7px 0 0; font-size: .86rem; font-weight: 600; color: #c0392b; }

.form__submit { width: 100%; justify-content: center; margin-top: 4px; }
.form__submit[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Honeypot — off-screen, never shown, never focusable */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { border-radius: var(--radius); padding: 22px 24px; }
.form-status p { margin: 0 0 6px; font-weight: 600; }
.form-status p:last-child { margin-bottom: 0; }
.form-status--ok { background: #edf8f0; border: 1px solid #b9e2c6; color: #1c6b39; }
.form-status--err { background: #fdf3f2; border: 1px solid #f0c4bf; color: #96271c; }

/* ---------- Review invite ---------- */
.review-invite { max-width: 760px; margin-inline: auto; text-align: center; }
.review-invite p { color: var(--ink-soft); }
.stars { color: #f5a623; font-size: 1.5rem; letter-spacing: 4px; margin-bottom: 14px; }

/* ---------- Areas ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.area-list li {
  margin: 0; padding: 12px 22px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--navy-700);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b7c8de; padding-top: clamp(52px, 6vw, 82px); font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer a { color: #b7c8de; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 52px); padding-bottom: 52px; }
.footer-brand img { height: 56px; width: auto; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 20px; }
.footer-brand p { color: #9db1cb; font-size: .93rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-hours { margin: 0; }
.footer-hours dt { color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 3px; }
.footer-hours dd { margin: 0 0 16px; color: #9db1cb; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .09); display: grid; place-items: center; transition: background .2s ease; }
.social a:hover { background: var(--blue-500); }
.social svg { width: 19px; height: 19px; }
.footer-note { background: rgba(255, 255, 255, .05); border-radius: var(--radius); padding: 18px 24px; color: #cfdeef; font-size: .92rem; margin-bottom: 40px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0 34px; display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; font-size: .85rem; color: #8ea3c0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin: 0; }
.footer-copy { max-width: 640px; }

/* ---------- Floating call button (mobile) ---------- */
.call-fab {
  /* Sized to its text and centred rather than stretched edge to edge, so it
     covers less of the page it floats over. left:50% + translateX keeps it
     centred at any width; max-width stops it touching the edges on a 320px
     screen. */
  display: none; position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 14px; z-index: 90; max-width: calc(100% - 32px);
  justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  background: var(--blue-500); color: #fff; font-weight: 800; font-size: .88rem;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(43, 125, 224, .42);
}
.call-fab:hover { color: #fff; }

/* ---------- Responsive ---------- */
/* The header holds a logo, six nav items and a long CTA, and .wrap caps at
   1200px — so space is finite even on wide screens. These steps shed the
   least important element first rather than let the nav wrap.
   Order matters: the 900px drawer block below overrides several of these. */

/* The phone block is the most expensive optional item — drop it first. */
@media (max-width: 1400px) {
  .header__phone { display: none; }
}

@media (max-width: 1200px) {
  .brand img { height: 52px; }
  .site-header.is-scrolled .brand img { height: 42px; }
  .nav__list { gap: 0; }
  .nav__link { padding: 10px 10px; font-size: .88rem; }
  .header__cta .btn { padding: 6px 14px; font-size: .74rem; }
}

@media (max-width: 1080px) {
  .with-aside { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Below this the CTA no longer fits beside six nav items; the utility bar
     and the nav still carry the phone and contact links. */
  .header__cta .btn { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .header__cta .btn { display: none; }
  /* The drawer is position:fixed and lives inside .site-header. A non-none
     backdrop-filter makes the header a containing block for fixed-position
     descendants, so the drawer sized itself to the ~92px header bar and opened
     only part-way. The background is already 97% opaque, so dropping the blur
     here costs nothing visually. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw);
    height: 100dvh; max-height: 100dvh;
    background: #fff; box-shadow: -14px 0 44px rgba(14, 37, 68, .18);
    padding: 92px 24px calc(40px + env(safe-area-inset-bottom)); overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateX(100%); z-index: 110;
    /* visibility, not just transform: a translated-off drawer is still in the
       a11y tree and tab order. visibility transitions discretely, so it stays
       visible for the whole slide-out and only hides at the end. */
    visibility: hidden;
    transition: transform .28s ease, visibility .28s;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav__link--parent::after { float: right; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 0 0 6px 14px; padding: 0 0 0 6px; min-width: 0;
  }
  .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(14, 37, 68, .5); z-index: 105; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .nav-close { display: block; position: absolute; top: 24px; right: 22px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--navy-800); }

  .hero__media, .page-hero__media { width: 100%; clip-path: none; opacity: .2; }
  /* The media is a faint backdrop at this size — controls would sit on the H1. */
  .hero__dots { display: none; }
  .hero__cards { grid-template-columns: 1fr; transform: none; margin-top: 44px; }
  .hero-cards-spacer { display: none; }
  .hero__inner { padding-bottom: 56px; }
  .split, .panel-split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .cta-strip { grid-template-columns: 1fr; }
  .call-fab { display: flex; }
  .site-footer { padding-bottom: 62px; }
  /* Contact page has no floating call button, so it needs no room for one. */
  .page-contact .site-footer { padding-bottom: 0; }
}

/* Ten links plus the close button need ~708px at full spacing, so on a 640px
   phone the last item sat below the fold. Tighten the drawer at short heights
   rather than making Contact a scroll away. */
@media (max-width: 900px) and (max-height: 740px) {
  .nav { padding-top: 74px; }
  .nav-close { top: 16px; right: 18px; }
  .nav__link { padding: 10px 12px; }
  .nav__sub a { padding: 8px 16px; }
  .nav__sub { margin-bottom: 4px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .checklist--2col, .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Two columns of "Emergency Mobile Service Daily Hours" plus a time range
     will not fit a 360px screen, so stack label over value instead. */
  .hours-table th, .hours-table td { display: block; }
  .hours-table th { border-bottom: 0; padding-bottom: 2px; }
  .hours-table td { padding-top: 0; }

  .map-embed iframe { height: 300px; }
  .form-card { padding: 22px 18px; }
  .cta-strip, .panel-dark { padding: 30px 22px; }
  .split__media img { border-radius: var(--radius-lg); }
  .split__media--blob img { border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; }
  .utility__inner { justify-content: center; text-align: center; }
  .brand img { height: 52px; }
  .site-header__inner { min-height: 80px; }
  .site-header.is-scrolled .brand img { height: 40px; }
  .site-header.is-scrolled .site-header__inner { min-height: 64px; }
  .badges img { max-height: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
