/* ==========================================================================
   CK Auto Detailing — palette sampled from the logo badge
   ========================================================================== */
:root {
  --ink: #0c244c;          /* logo navy: type, buttons */
  --ink-deep: #071542;     /* logo outer ring */
  --blue: #3796c2;         /* logo bubbles & stars: accents only */
  --blue-dark: #22719c;    /* blue that carries white text */
  --blue-lit: #8fd0ee;     /* highlight on navy */
  --silver: #b9bfc6;
  --ice: #eef6fb;
  --ice-2: #dcecf6;
  --paper: #ffffff;
  --text: #0c244c;
  --muted: #4b5d78;
  --line: #d5e3ee;

  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --body: 'Public Sans', system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px -22px rgba(12, 36, 76, 0.35);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--blue-dark); }

.shell { width: min(1180px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px;
  font-family: var(--display); font-stretch: 118%; font-weight: 700;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-dark);
}
.eyebrow-light { color: var(--blue-lit); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(55, 150, 194, 0.28); }

/* --- Buttons --------------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-2px); }
.button-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.button-ink { background: var(--ink); color: #fff; }
.button-ink:hover { background: var(--ink-deep); }
.button-blue { background: var(--blue-dark); color: #fff; }
.button-blue:hover { background: #1b5f84; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: #fff; }
.button-glass { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px); }
.button-glass:hover { background: #fff; color: var(--ink); }
.button:focus-visible, .chip input:focus-visible + span, .stage-tabs button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* --- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 58px; height: 58px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-stretch: 120%; font-weight: 900; font-size: 19px; letter-spacing: -0.01em; }
.brand-text small { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-dark); }
.desktop-nav { display: flex; gap: 26px; }
.desktop-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.desktop-nav a:hover { color: var(--ink); }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--ice); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

/* --- Hero: full-bleed mosaic of the client's own after shots --------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex; align-items: center;
  color: #fff;
}
.hero-mosaic {
  position: absolute; inset: 0; z-index: -2;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 3px; background: var(--ink-deep);
}
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 66, 0.95) 0%, rgba(7, 21, 66, 0.86) 42%, rgba(12, 36, 76, 0.5) 100%),
    linear-gradient(0deg, rgba(7, 21, 66, 0.55), transparent 40%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: 48px; align-items: end; padding-block: 80px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-stretch: 116%; font-weight: 900; max-width: 13ch; }
.hero h1 em { color: var(--blue-lit); display: block; }
.hero-intro { font-size: 19px; max-width: 34em; color: rgba(255, 255, 255, 0.86); margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-quote {
  margin: 0; padding: 26px 26px 22px;
  background: rgba(255, 255, 255, 0.96); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 5px solid var(--blue);
}
.hero-quote blockquote { margin: 12px 0 14px; font-family: var(--display); font-stretch: 100%; font-weight: 600; font-size: 20px; line-height: 1.3; }
.hero-quote figcaption { font-size: 14px; font-weight: 600; color: var(--muted); }

.rec {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px 4px 9px; border-radius: 999px;
  background: var(--ice); color: var(--blue-dark);
  font-size: 13px; font-weight: 700;
}
.rec svg { width: 15px; height: 15px; }

/* --- Promise strip (overlaps the hero edge) -------------------------------- */
.promise {
  position: relative; z-index: 2;
  list-style: none; margin-top: -44px; margin-bottom: 0; padding: 22px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.promise li { display: flex; align-items: center; gap: 14px; padding: 8px 12px; }
.promise svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--ice); color: var(--blue-dark); }
.promise strong { display: block; font-family: var(--display); font-stretch: 110%; font-size: 16px; }
.promise span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }

/* --- Sections -------------------------------------------------------------- */
.section { padding-block: 104px; }
.section-ice { background: linear-gradient(180deg, var(--paper) 0%, var(--ice) 14%, var(--ice) 86%, var(--paper) 100%); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* --- Services -------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.svc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -24px rgba(12, 36, 76, 0.4); }
.svc-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.svc-card:hover figure img { transform: scale(1.04); }
.svc-body { padding: 26px 26px 28px; }
.svc-num { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; color: var(--blue); }
.svc-body h3 { font-size: 26px; margin: 6px 0 8px; }
.svc-body > p { color: var(--muted); margin: 0 0 16px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; font-weight: 500; font-size: 15.5px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svc-mobile { background: linear-gradient(160deg, var(--ice) 0%, var(--ice-2) 100%); border-color: var(--ice-2); }
.steps { list-style: none; counter-reset: step; margin: 6px 0 24px; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 50px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink); border: 2px solid var(--blue);
  font-family: var(--display); font-weight: 800;
}
.steps b { display: block; font-family: var(--display); font-stretch: 110%; }
.steps span { display: block; font-size: 15px; color: var(--muted); line-height: 1.45; }

/* --- Before & after stage -------------------------------------------------- */
.stage { max-width: 950px; margin-inline: auto; }
.stage-view { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stage-pane { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 476 / 560; box-shadow: var(--shadow); }
.stage-pane img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; }
.stage-pane img.is-swapping { opacity: 0; }
.stage-pane figcaption {
  position: absolute; left: 14px; top: 14px;
  padding: 5px 14px; border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
}
.stage-pane.is-after figcaption { background: var(--blue-dark); color: #fff; }
.stage-cap { text-align: center; margin: 20px 0 26px; color: var(--muted); }
.stage-cap b { color: var(--ink); }
.stage-tabs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.stage-tabs button {
  display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none;
  cursor: pointer; font: inherit; text-align: left; color: var(--muted);
}
.stage-tabs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 3px solid transparent; opacity: 0.7; transition: opacity 0.2s ease, border-color 0.2s ease; }
.stage-tabs span { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.stage-tabs button:hover img { opacity: 1; }
.stage-tabs button[aria-selected='true'] img { opacity: 1; border-color: var(--blue); }
.stage-tabs button[aria-selected='true'] span { color: var(--ink); }

/* --- Reviews --------------------------------------------------------------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.review {
  margin: 0; padding: 28px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
}
.review blockquote { margin: 16px 0 22px; font-size: 17px; line-height: 1.55; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.review figcaption b { display: block; color: var(--ink); font-size: 16px; }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ice-2); color: var(--ink); font-family: var(--display); font-weight: 800; }
.review-feature { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow); }
.review-feature blockquote { font-family: var(--display); font-stretch: 100%; font-weight: 600; font-size: 21px; line-height: 1.35; }
.review-feature .rec { background: rgba(255, 255, 255, 0.12); color: var(--blue-lit); }
.review-feature figcaption, .review-feature figcaption b { color: #fff; }
.review-feature .avatar { background: var(--blue-dark); color: #fff; }

/* --- About ----------------------------------------------------------------- */
.about-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.about-emblem { margin: 0; justify-self: center; position: relative; }
.about-emblem::before { content: ''; position: absolute; inset: -22px; border-radius: 50%; border: 2px dashed var(--silver); }
.about-emblem img { width: min(360px, 70vw); border-radius: 50%; box-shadow: 0 30px 60px -30px rgba(12, 36, 76, 0.55); }
.about-copy h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.about-copy p:not(.eyebrow) { color: var(--muted); margin: 0 0 14px; }
.about-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about-points li { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }

/* --- Booking --------------------------------------------------------------- */
.book-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 28px; align-items: start; }
.book-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.book-form fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.book-form legend { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 17px; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; font-size: 15px; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--text); font: inherit; font-size: 16px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(55, 150, 194, 0.18); }
.book-error { color: #b42318; font-weight: 600; margin: 0 0 14px; }
.book-submit { width: 100%; }
.book-done { text-align: center; outline: none; }
.book-done-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ice); color: var(--blue-dark); margin-bottom: 12px; }
.book-done-icon svg { width: 30px; height: 30px; stroke-width: 3; }
.book-done h3 { font-size: 28px; margin-bottom: 8px; }
.book-done > p { color: var(--muted); max-width: 30em; margin: 0 auto 18px; }
.book-preview { text-align: left; white-space: pre-wrap; background: var(--ice); border-radius: var(--radius-sm); padding: 16px 18px; font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0 0 20px; }
.book-done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.book-restart { margin-top: 16px; border: 0; background: none; color: var(--blue-dark); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

.book-side { padding: 30px; border-radius: var(--radius); background: linear-gradient(165deg, var(--ice) 0%, var(--ice-2) 100%); }
.book-side img { width: 92px; margin-bottom: 14px; }
.book-side h3 { font-size: 24px; margin-bottom: 8px; }
.book-side p { color: var(--muted); margin: 0 0 18px; }
.book-side .button { width: 100%; }
.side-email { display: block; margin: 14px 0 0; font-weight: 700; text-align: center; color: var(--blue-dark); overflow-wrap: anywhere; }
.book-side ul { list-style: none; padding: 18px 0 0; margin: 20px 0 0; border-top: 1px solid rgba(12, 36, 76, 0.14); display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.book-side li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 10px; vertical-align: middle; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, 0.78); padding: 56px 0 40px; }
.footer-inner { display: flex; align-items: center; gap: 28px; }
.footer-mark { width: 110px; flex: none; }
.footer-name { margin: 0; font-family: var(--display); font-stretch: 120%; font-weight: 900; font-size: 22px; color: #fff; }
.footer-line { margin: 4px 0 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; }
.footer-links a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--blue-lit); }
.footer-legal { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.55); }

.call-bar { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 70; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center;
}

/* --- Reveal ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.12s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    display: grid; gap: 4px; padding: 0 16px; max-height: 0; overflow: hidden;
    background: var(--paper); visibility: hidden; transition: max-height 0.3s ease, padding 0.3s ease, visibility 0s linear 0.3s;
  }
  .mobile-menu.is-open { visibility: visible; transition: max-height 0.3s ease, padding 0.3s ease; max-height: 460px; padding: 8px 16px 20px; border-top: 1px solid var(--line); }
  .mobile-menu > a:not(.button) { padding: 12px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu .button { margin-top: 10px; }
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero-quote { max-width: 480px; }
  .promise { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc-mobile { grid-column: 1 / -1; }
  .stage-tabs { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: 1fr; max-width: 640px; }
  .book-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .header-cta { display: none; }
  .brand img { width: 48px; height: 48px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { font-size: 10.5px; }
  .hero-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
  .hero-mosaic img:nth-child(n + 9) { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 21, 66, 0.82) 0%, rgba(7, 21, 66, 0.9) 60%, rgba(7, 21, 66, 0.95) 100%); }
  .hero-inner { padding-block: 56px 88px; gap: 32px; }
  .hero-intro { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-quote blockquote { font-size: 18px; }
  .promise { grid-template-columns: 1fr; padding: 14px; gap: 0; }
  .promise li { padding: 10px 6px; }
  .section { padding-block: 76px; }
  .section-head { margin-bottom: 34px; }
  .svc-grid { grid-template-columns: 1fr; }
  .stage-view { gap: 8px; }
  .stage-pane figcaption { left: 8px; top: 8px; font-size: 11px; padding: 4px 10px; }
  .stage-tabs { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .stage-tabs button { flex: 0 0 96px; scroll-snap-align: start; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-emblem img { width: min(260px, 64vw); }
  .book-form { padding: 22px; }
  .field-grid { grid-template-columns: 1fr; }
  .book-done-actions .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .call-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .call-bar .button { padding: 0 12px; }
}

/* ==========================================================================
   AGENCY PREVIEW REMINDER — NOT part of the client's site.
   Delete this section, its markup, and its script once CK Auto Detailing signs.
   ========================================================================== */
.agency-pop {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 16px;
  background: rgba(7, 21, 66, 0.55); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
}
.agency-pop.is-open { opacity: 1; pointer-events: auto; }
.agency-card {
  position: relative; width: min(460px, 100%); max-height: calc(100svh - 32px); overflow-y: auto;
  background: var(--paper); color: var(--text); border-radius: 22px; padding: 32px 28px 22px;
  text-align: center; box-shadow: 0 40px 80px -30px rgba(7, 21, 66, 0.6);
  transform: translateY(14px) scale(0.98); transition: transform 0.28s ease;
}
.agency-pop.is-open .agency-card { transform: none; }
.agency-card img { width: 84px; margin: 0 auto 12px; }
.agency-card h2 { font-size: 23px; margin-bottom: 12px; }
.agency-card p { color: var(--muted); font-size: 15.5px; margin: 0 0 12px; }
.agency-note { background: var(--ice); border-radius: 12px; padding: 12px 14px; }
.agency-note strong { color: var(--ink); }
.agency-actions { display: grid; gap: 10px; margin-top: 18px; }
.agency-actions .button { width: 100%; white-space: normal; text-align: center; }
.agency-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--ice); color: var(--ink);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.agency-dismiss { margin-top: 12px; border: 0; background: none; color: var(--blue-dark); font: inherit; font-weight: 600; cursor: pointer; padding: 8px; }
