/* ==========================================================================
   New Wave Mobile Detailing. Generated pages share this one stylesheet.
   Near-black + New Wave blue, Bebas Neue headings (a caps-only face) over Inter.

   11/20 cleanup against JC's 20 "looks AI-made" tells (same rules as Alpha Pros and Great Faith). Keep it this way:
   - no eyebrows, pills, tags, tickers, stat boxes or giant "01" numbers
   - small labels, nav, menu groups and buttons in normal case (only the Bebas headings are caps)
   - flat blue: no gradient fills, gradient text or glow shadows. A dark fade over a photo for contrast is fine.
   - filled panels, not outlined boxes. Lines only on real lists (FAQ rows, town service rows), the header once
     it is solid, and one line above the footer's last row.
   - the two dark tones alternate down the page; nothing else separates sections
   - every color is a token in :root. Three fades and one blue tint are the only see-through colors.
   - no scroll-gated reveals (they hide the page from screenshots and slow phones)
   Re-skin = edit the :root block only. Fonts are self-hosted (OFL, see /fonts).
   ========================================================================== */

@font-face { font-family: 'Bebas Neue'; src: url('/fonts/bebas-neue.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-var-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* blue */
  --accent: #1F9BF0;
  --accent-2: #5cc2ff;
  --accent-ink: #02121d;
  /* dark surfaces */
  --void: #03050a;
  --deep: #080d16;
  --panel: #0f1726;
  --panel-2: #16213a;
  --line: #1d2940;
  --form-bg: #0A101C;
  /* text */
  --white: #ffffff;
  --off: #e2e7ef;
  --text: #aab4c4;
  --mid: #7d879a;
  --gold: #ffc94d;
  /* the only see-through colors: three fades for text over photos, one blue tint for hover and focus */
  --scrim-hi: rgba(3, 5, 10, 0.94);
  --scrim-mid: rgba(3, 5, 10, 0.7);
  --scrim-lo: rgba(3, 5, 10, 0.25);
  --accent-tint: rgba(31, 155, 240, 0.16);
  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --maxw: 1320px;
  --hero-maxw: 1480px;
  --gutter: clamp(16px, 4vw, 44px);
  --header-h: 76px;
  --section-y: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--void); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--white); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--white); letter-spacing: 0.01em; line-height: 0.98; margin: 0 0 0.55em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.1vw, 1.7rem); line-height: 1.05; }
h1 .hl, h2 .hl { color: var(--accent); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* ---------- buttons (the only pill shape on the site) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 14px 28px; border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; line-height: 1.1; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn-ghost { background: var(--panel-2); color: var(--white); }
.btn-ghost:hover { background: var(--line); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.call-line { margin: 14px 0 0; color: var(--off); }
.call-line a { color: var(--white); font-weight: 700; }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); background: transparent; transition: background .3s ease; }
.site-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--scrim-mid), transparent); pointer-events: none; transition: opacity .3s; }
.site-header.scrolled { background: var(--void); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled::before { opacity: 0; }
.nav { position: relative; height: 100%; max-width: var(--hero-maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 1.4rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin-left: 0.6rem; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 10px;
  background: none; border: 0; color: var(--off); font: 600 0.95rem/1 var(--font-body); cursor: pointer;
}
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > a[aria-current="page"] { color: var(--white); background: var(--panel); }
.nav-links svg { width: 14px; height: 14px; }
.sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; list-style: none; padding: 8px;
  background: var(--panel); border-radius: var(--radius); box-shadow: 0 24px 60px -20px var(--void);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; }
.sub a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--off); font-weight: 600; font-size: 0.93rem; }
.sub a:hover { background: var(--panel-2); color: var(--white); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--white); font-weight: 700; font-size: 0.98rem; white-space: nowrap; min-height: 44px; }
.nav-phone svg { width: 17px; height: 17px; color: var(--accent); }
.nav-cta { padding: 12px 22px; min-height: 44px; font-size: 0.92rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--panel); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.drawer-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.drawer-open .nav-toggle span:nth-child(2) { opacity: 0; }
.drawer-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer-backdrop { position: absolute; inset: 0; background: var(--scrim-mid); opacity: 0; transition: opacity .25s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--deep);
  padding: calc(var(--header-h) + 12px) 24px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease;
}
.drawer-open .drawer { visibility: visible; }
.drawer-open .drawer-backdrop { opacity: 1; }
.drawer-open .drawer-panel { transform: none; }
.drawer .drawer-h { font-size: 0.95rem; font-weight: 700; color: var(--white); margin: 20px 0 2px; }
.drawer ul { list-style: none; }
.drawer li a { display: flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 500; }
.drawer li a:hover { color: var(--white); }
.drawer .btn { width: 100%; margin-top: 12px; }

/* ---------- home hero: one screen ---------- */
.hero-home { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; background: var(--void); height: 100svh; min-height: 560px; }
.hero-home .hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; }
.hero-home::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--scrim-hi) 0%, var(--scrim-mid) 40%, var(--scrim-lo) 78%), linear-gradient(180deg, transparent 70%, var(--void) 100%);
}
.hero-in { flex: 1; width: 100%; max-width: var(--hero-maxw); margin: 0 auto; padding: calc(var(--header-h) + 3svh) var(--gutter) 4svh; display: flex; flex-direction: column; justify-content: center; }
.hero-copy { max-width: 740px; }
.hero-home h1 { font-size: clamp(3rem, min(5.6vw, 10.5svh), 6.6rem); margin-bottom: 0.35em; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--off); max-width: 600px; margin-bottom: 1.6rem; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 1.4rem; color: var(--off); font-size: 0.95rem; font-weight: 600; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }

/* ---------- inner page hero ----------
   Computers: the photo sits darkened behind the words, with the quote form on the right on service and town pages.
   Phones and tablets: the photo is a full-width banner across the top, framed on the vehicle, fading into the words. */
.page-hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(44px, 6vw, 80px); }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--scrim-hi) 0%, var(--scrim-mid) 55%, var(--scrim-lo) 100%), linear-gradient(180deg, transparent 60%, var(--void) 100%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.page-hero-grid.no-form { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); }
.page-hero .hero-lead { margin-bottom: 1.4rem; }
.page-hero.plain { padding-bottom: clamp(24px, 3vw, 40px); }
.form-card { background: var(--form-bg); border-radius: var(--radius); padding: 8px; box-shadow: 0 30px 80px -30px var(--void); }
.form-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding: 12px 10px 4px; color: var(--off); font-size: 0.92rem; font-weight: 600; text-align: center; }
.form-frame { display: block; width: 100%; min-height: 790px; border: 0; border-radius: 10px; background: var(--form-bg); }

/* ---------- bands: the two dark tones alternate, nothing else separates them ---------- */
.band { padding: var(--section-y) 0; }
.band.alt { background: var(--deep); }
.band.tight { padding-top: 0; }
.head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.head h2 { margin-bottom: 0.35em; }
.head p { font-size: 1.08rem; margin: 0; }
.after { margin-top: clamp(22px, 3vw, 34px); }
.after p { margin: 0; }

/* text beside a photo, sides alternate down the page */
.row.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.row.split.rev .row-media { order: 2; }
.row-media { margin: 0; }
.row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.row-media.tall img { aspect-ratio: 4 / 5; }
.row-media.small { width: 100%; max-width: 460px; justify-self: center; }
.row-media.small img { aspect-ratio: 1 / 1; }
.row-text { max-width: 640px; }
.row-text > :last-child { margin-bottom: 0; }
.row-text .btn-row { margin-top: 1.6rem; }
/* heading on the left, words on the right */
.row.lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4.5vw, 64px); align-items: start; }
.row.lead h2 { margin: 0; }
.row.lead .row-text { max-width: 720px; }
/* a short line with its button at the right edge */
.row.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px clamp(28px, 4.5vw, 64px); }
.row.note p { margin: 0; max-width: 760px; font-size: 1.06rem; color: var(--off); }

/* bullet lists: one idea a line */
.checks { list-style: none; display: grid; gap: 10px; margin: 1.2rem 0 0; }
.checks li { position: relative; padding-left: 30px; color: var(--off); }
.checks li::before { content: ''; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.checks.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }

/* cards: who it's for, what it covers. Filled panels, a photo on top when there is one */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.card figure { margin: 0; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px 24px 24px; }
.card-body h3 { margin-bottom: 0.4rem; }
.card-body p { margin: 0; font-size: 0.98rem; }
.card-body p + p { margin-top: 0.7em; }

/* package cards (home) and the what's-included lists */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pkg { display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius); background: var(--panel); }
.pkg.featured { background: var(--panel-2); }
.pkg h3 { font-size: 2.1rem; margin-bottom: 0.25rem; }
.pkg > p { font-size: 0.98rem; margin: 0; }
.pkg .checks { margin: 1rem 0 1.6rem; }
.pkg .checks li { font-size: 0.97rem; }
.pkg .btn { margin-top: auto; }
.incl { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.incl-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--panel); }
.incl-card h3 { margin-bottom: 0.2rem; }
.incl-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* coatings */
.coats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.coat { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius); background: var(--panel); }
.coat h3 { margin-bottom: 0.35rem; }
.coat .yrs { color: var(--accent-2); font-weight: 700; margin: 0 0 0.6rem; }
.coat p { font-size: 0.97rem; margin: 0; }
.coat .warr { margin-top: 1rem; color: var(--off); font-size: 0.93rem; }

/* steps: plain "1." in the heading */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.steps li { padding: 26px 24px; border-radius: var(--radius); background: var(--panel); }
.steps h3 { margin-bottom: 0.45rem; }
.steps p { font-size: 0.97rem; margin: 0; }

/* service tiles (home, service areas) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius); background: var(--panel); color: var(--text); transition: background .2s; }
.tile:hover { background: var(--panel-2); color: var(--text); }
.tile h3 { margin-bottom: 0.45rem; }
.tile p { font-size: 0.97rem; margin: 0; }

/* photos */
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.photos figure, .work-grid figure, .gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.photos figure { aspect-ratio: 1 / 1; }
.photos img, .work-grid img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 280px); gap: 12px; }
.work-grid .big { grid-column: span 2; grid-row: span 2; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-grid figure { aspect-ratio: 1 / 1; }
.gallery-group + .gallery-group { margin-top: clamp(40px, 5vw, 64px); }
.gallery-group h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.review-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-grid.one { grid-template-columns: minmax(0, 860px); }
.review { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; }
.review blockquote { margin: 12px 0 18px; color: var(--off); font-size: 1.02rem; }
.review cite { margin-top: auto; font-style: normal; color: var(--white); font-weight: 700; }
.review cite small { display: block; color: var(--mid); font-size: 0.86rem; font-weight: 500; }

/* towns */
.towns { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.town { display: block; padding: 18px 20px; border-radius: var(--radius); background: var(--panel); color: var(--white); font-weight: 700; }
.town small { display: block; color: var(--mid); font-weight: 500; margin-top: 2px; }
.town:hover { background: var(--panel-2); color: var(--white); }
.state-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.state { padding: 28px; border-radius: var(--radius); background: var(--panel); }
.state ul { list-style: none; display: grid; gap: 4px; }
.state li { color: var(--off); }
.state li a { display: inline-flex; min-height: 40px; align-items: center; font-weight: 600; }
.svc-rows { list-style: none; }
.svc-rows li + li { border-top: 1px solid var(--line); }
.svc-rows a { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 2px; color: var(--text); }
.svc-rows a:hover { color: var(--off); }
.svc-rows strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--white); letter-spacing: 0.02em; }

/* plain text links (related services, nearby towns) */
.links-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 26px; }
.links-row .links-h { margin: 0; font-weight: 700; color: var(--white); }
.links-row a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* faq: heading on the left, questions on the right */
.faq-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4.5vw, 64px); align-items: start; }
.faq-row h2 { margin: 0; }
.faq-row .after { margin-top: 18px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; color: var(--white); font-weight: 700; font-size: 1.05rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--accent); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 18px; }
.faq .ans p:last-child { margin: 0; }

/* quote band (home) */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }

/* closing band: heading and one sentence on the left, buttons on the right */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px clamp(28px, 4.5vw, 64px); }
.cta-row > div { max-width: 760px; }
.cta-row h2 { margin-bottom: 0.3em; }
.cta-row p { margin: 0; font-size: 1.08rem; color: var(--off); }

/* prose (legal) */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }

/* footer */
.site-footer { background: var(--deep); padding: clamp(48px, 7vw, 80px) 0 28px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.site-footer h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text); }
.site-footer li a:hover { color: var(--white); }
.foot-phone { font-size: 1.15rem; font-weight: 800; color: var(--white); }
.foot-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--mid); font-size: 0.86rem; }
.foot-base a { color: var(--mid); }
.foot-base a:hover { color: var(--white); }
.foot-legal { display: flex; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile, .drawer-panel, .sub { transition: none; }
}

/* ---------- breakpoints ---------- */
@media (max-width: 1240px) {
  .nav-links > li > a, .nav-links > li > button { padding: 0 9px; font-size: 0.92rem; }
  .nav { gap: 1rem; }
}
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .brand img { height: 40px; }
  .tiles, .pkgs, .review-grid.three, .steps, .coats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid, .photos, .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photos figure:nth-child(4) { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .row.split, .row.lead, .faq-row, .quote-grid, .incl, .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .row.split .row-media, .row.split.rev .row-media { order: 0; }
  .cards.n3 { grid-template-columns: minmax(0, 1fr); }
  .row-text { max-width: none; }
  .pkgs { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .pkg.featured { order: -1; }
  .svc-rows a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  /* phone + tablet hero: the photo becomes a banner across the top, fading into the words under it */
  .page-hero { padding-top: var(--header-h); }
  .page-hero .hero-media { position: relative; inset: auto; z-index: 0; height: clamp(260px, 46svh, 440px); margin: 0 0 calc(-1 * clamp(40px, 7svh, 72px)); }
  .page-hero .hero-media::after { background: linear-gradient(180deg, var(--scrim-lo) 0%, transparent 30%, transparent 55%, var(--void) 100%); }
  .page-hero .wrap { position: relative; z-index: 1; }
  .page-hero.plain .hero-media { display: none; }
  .page-hero.plain { padding-top: calc(var(--header-h) + 36px); }
  .row-media.small { max-width: none; }
  .row-media.small img, .row-media.tall img { aspect-ratio: 4 / 3; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .nav-cta { display: none; }
  .brand img { height: 36px; }
  .review-grid, .review-grid.three, .steps, .state-cols, .incl-two, .foot-grid, .coats, .cards, .cards.n2, .cards.n3, .cards.n4 { grid-template-columns: minmax(0, 1fr); }
  .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* phones: service tiles 2-up with the name only (as on Alpha Pros); each tile still links to its page */
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 18px 16px; justify-content: center; min-height: 84px; }
  .tile h3 { font-size: 1.35rem; margin: 0; }
  .tile p { display: none; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; }
  .photos, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photos figure:nth-child(4) { display: block; }
  .checks.cols-2 { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn { width: 100%; }
  .hero-in { justify-content: flex-end; padding-bottom: 32px; }
  .hero-home h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero-home::after { background: linear-gradient(180deg, var(--scrim-lo) 0%, var(--scrim-mid) 40%, var(--scrim-hi) 75%, var(--void) 100%); }
  .tile, .pkg, .review, .steps li, .state, .coat { padding: 22px; }
  .card-body { padding: 20px; }
  .form-card { padding: 4px; }
  .foot-base { flex-direction: column; }
  .cta-row .btn-row { width: 100%; }
}

/* ---------- photo focal points for the phone banner and the cropped rows ---------- */
.hero-media img[data-photo="corvette"] { object-position: 50% 62%; }
.hero-media img[data-photo="tahoe"] { object-position: 50% 60%; }
.hero-media img[data-photo="jeep"] { object-position: 45% 55%; }
.hero-media img[data-photo="sierra"] { object-position: 55% 50%; }
.hero-media img[data-photo="steam"] { object-position: 50% 45%; }
.hero-media img[data-photo="cargo"] { object-position: 50% 55%; }
.hero-media img[data-photo="scrub"] { object-position: 50% 50%; }
.hero-media img[data-photo="boatwash"] { object-position: 45% 55%; }
.hero-media img[data-photo="jet"] { object-position: 50% 55%; }
