/* ==========================================================================
   Ken Cash For Junk Cars — kencashforcars.com
   Design tokens, layout primitives, components.
   Palette: #0066e3 (brand blue), white, snow-grey.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --brand:        #0066e3;
  --brand-600:    #0057c4;
  --brand-700:    #00459c;
  --brand-050:    #eaf2fe;
  --brand-100:    #d4e5fd;

  /* Accent — pulled from the gold lettering in the cash artwork. Used sparingly. */
  --accent:       #ffb400;
  --accent-600:   #e09c00;
  --accent-ink:   #3d2a00;

  /* Neutrals — "snow grey" family */
  --snow:         #fafbfc;
  --snow-200:     #f2f4f7;
  --grey-300:     #e4e8ee;
  --line:         #dde2ea;
  --muted:        #5a6472;
  --ink-600:      #344054;
  --ink:          #101828;

  --success:      #0f9d58;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* Space scale (8pt) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radii */
  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --sh-2: 0 4px 8px -2px rgba(16,24,40,.08), 0 2px 4px -2px rgba(16,24,40,.05);
  --sh-3: 0 12px 24px -6px rgba(16,24,40,.12), 0 4px 8px -4px rgba(16,24,40,.06);
  --sh-brand: 0 8px 20px -6px rgba(0,102,227,.45);

  --wrap: 1140px;
  --nav-h: 72px;
}

/* ---------- 2. 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-600);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 var(--s-4); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 var(--s-4); }
a  { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); text-decoration: underline; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.25em; }
li + li { margin-top: var(--s-2); }
strong { color: var(--ink); font-weight: 650; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-5); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--snow { background: var(--snow); border-block: 1px solid var(--line); }
.section--tint { background: linear-gradient(180deg, var(--brand-050), #fff); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--s-4); }

.sec-head { max-width: 680px; margin: 0 auto clamp(32px, 4vw, 52px); text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-050);
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: var(--s-4);
}

.grid { display: grid; gap: var(--s-5); }
@media (min-width: 640px)  { .g-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .g-3 { grid-template-columns: repeat(3, 1fr); }
                             .g-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .g-4 { grid-template-columns: repeat(2, 1fr); } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -6px rgba(255,180,0,.55); }
.btn-accent:hover { background: var(--accent-600); color: var(--accent-ink); }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand-100); box-shadow: var(--sh-1); }
.btn-ghost:hover { background: var(--brand-050); color: var(--brand-700); border-color: var(--brand); }
.btn-outline-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--brand-700); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--brand-700); color: #fff; font-size: .9rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-2); padding-block: 9px;
}
.topbar a { color: #fff; font-weight: 700; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-hours { color: #c9dcf8; display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); min-height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  background: linear-gradient(145deg, var(--brand), var(--brand-700));
  display: grid; place-items: center; color: #fff; box-shadow: var(--sh-brand);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { display: block; font-weight: 850; font-size: 1.04rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.12; }
.brand-sub  { display: block; font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
@media (max-width: 560px) { .brand-sub { display: none; } }

.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav a { color: var(--ink-600); font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--brand); border-radius: 2px; margin-top: 4px;
}
.header-cta { display: flex; align-items: center; gap: var(--s-3); }
.header-phone { font-weight: 800; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--brand); text-decoration: none; }

.nav-toggle {
  display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav .nav-phone { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn, .header-phone { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-5) var(--s-5); box-shadow: var(--sh-3);
    transform: translateY(-140%); transition: transform .25s ease; visibility: hidden;
  }
  .nav[data-open="true"] { transform: translateY(0); visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--snow-200); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: var(--s-4); }
  .nav a.btn-primary { color: #fff; }
  .nav .nav-phone { display: block; font-weight: 700; color: var(--brand); }
}
@media (min-width: 961px) { .nav > .btn { display: none; } }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #003a85 0%, var(--brand-700) 40%, var(--brand) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 88% 8%, rgba(255,255,255,.16), transparent 62%),
    radial-gradient(700px 500px at 5% 95%, rgba(0,0,0,.28), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 84px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: #fff; margin-bottom: var(--s-4); }
.hero h1 .hl { color: var(--accent); }
.hero-lede { font-size: 1.14rem; color: #d8e6fb; max-width: 46ch; margin-bottom: var(--s-6); }
.hero .btn-row { margin-bottom: var(--s-6); }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 7px 15px; border-radius: var(--r-pill); margin-bottom: var(--s-5);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }

.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: flex-start; gap: 10px; color: #e4eefc; font-size: .99rem; margin: 0; }
.hero-points svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent); }

.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 48px -16px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.22); background: #061a33;
}
.hero-photo img { width: 100%; }
.hero-photo img { aspect-ratio: 768 / 500; object-fit: cover; }

.hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-4); }
.hero-stat {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-lg); padding: var(--s-4) var(--s-4) var(--s-4);
  backdrop-filter: blur(4px);
}
.hero-stat .icon { display: block; color: var(--accent); margin-bottom: 10px; }
.hero-stat .icon svg { width: 24px; height: 24px; }
.hero-stat .value { display: block; font-size: 1.08rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.hero-stat .note { display: block; font-size: .88rem; color: #c2d7f5; line-height: 1.45; margin-top: 3px; }
@media (max-width: 420px) { .hero-stat-row { grid-template-columns: 1fr; } }

/* ---------- 7. Trust strip ---------- */
.trust-strip { background: var(--ink); color: #fff; }
.trust-strip .wrap {
  display: grid; gap: var(--s-4); padding-block: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.trust-item b { display: block; font-size: 1rem; color: #fff; line-height: 1.25; }
.trust-item span { font-size: .85rem; color: #9aa6b8; }

/* ---------- 8. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5); box-shadow: var(--sh-1);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--sh-3); transform: translateY(-3px); border-color: var(--brand-100); }
.card h3 { margin-bottom: var(--s-2); }
.card p:last-child { margin-bottom: 0; color: var(--muted); font-size: .97rem; }

.icon-badge {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand); margin-bottom: var(--s-4);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--accent { background: #fff5dd; color: var(--accent-600); }

.card--reason { padding: clamp(24px, 3vw, 32px); }
.card--reason h3 { font-size: 1.15rem; }
.card--reason p { font-size: 1rem; line-height: 1.6; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 62px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center; box-shadow: var(--sh-brand);
}
.step h3 { margin-bottom: var(--s-2); }
.step p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }

/* Vehicle pills */
.pill-grid { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 11px 20px; font-weight: 650; font-size: .96rem; color: var(--ink-600);
  display: inline-flex; align-items: center; gap: 9px; box-shadow: var(--sh-1);
}
.pill svg { width: 18px; height: 18px; color: var(--success); flex: none; }

/* Typographic promise band (replaces the old banner image strip) */
.promise-band {
  background: var(--ink); color: #fff; text-align: center;
  padding-block: clamp(44px, 6vw, 72px); position: relative; overflow: hidden;
}
.promise-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 320px at 50% 0%, rgba(0,102,227,.30), transparent 68%);
}
.promise-band .wrap { position: relative; z-index: 1; }
.promise-kicker {
  font-size: .8rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 var(--s-3);
}
.promise-line {
  color: #fff; font-size: clamp(1.75rem, 4.2vw, 2.75rem); margin: 0 0 var(--s-3);
}
.promise-sub { color: #98a2b3; font-size: 1.05rem; margin: 0 auto; max-width: 48ch; }
.promise-stats {
  display: grid; gap: var(--s-4); margin-top: clamp(32px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.promise-stats div {
  border-top: 2px solid #23303f; padding-top: var(--s-4);
}
.promise-stats b {
  display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 850;
  color: var(--accent); letter-spacing: -.02em; line-height: 1.15;
}
.promise-stats span { display: block; font-size: .92rem; color: #98a2b3; margin-top: 4px; }

/* Split feature */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; }
                            .split--flip .split-media { order: 2; } }
.split-media img {
  border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line);
  width: 100%; max-width: 768px; margin-inline: auto;
}
.check-list { list-style: none; padding: 0; margin: 0 0 var(--s-5); }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s-3); color: var(--ink-600); }
.check-list li:first-child { margin-top: 0; }
.check-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }

/* ---------- 9. Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-3); padding: clamp(24px, 4vw, 40px);
}
.form-head { margin-bottom: var(--s-5); }
.form-head h2 { margin-bottom: var(--s-2); }
.form-head p { color: var(--muted); margin: 0; }

.field { margin-bottom: var(--s-4); }
.field > label, .fieldset-legend {
  display: block; font-weight: 650; font-size: .93rem; color: var(--ink); margin-bottom: 7px;
}
.req { color: #d92d20; }
.hint { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 3px; }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--grey-300); border-radius: var(--r);
  background: var(--snow); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6472' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 18px;
  padding-right: 42px;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px var(--brand-050);
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: #d92d20; background: #fef3f2;
}
.error-msg { display: none; color: #b42318; font-size: .86rem; font-weight: 600; margin-top: 6px; }
.error-msg.show { display: block; }

.field-row { display: grid; gap: var(--s-4); }
@media (min-width: 620px) {
  .field-row-2 { grid-template-columns: 1fr 1fr; }
  .field-row-3 { grid-template-columns: repeat(3, 1fr); }
}

fieldset { border: 0; padding: 0; margin: 0 0 var(--s-4); }
.radio-grid { display: grid; gap: var(--s-3); }
@media (min-width: 620px) { .radio-grid { grid-template-columns: 1fr 1fr; } }
.radio-card {
  position: relative; display: flex; align-items: center; gap: 11px;
  border: 1.5px solid var(--grey-300); border-radius: var(--r); padding: 13px 15px;
  background: var(--snow); cursor: pointer; font-weight: 600; font-size: .96rem; color: var(--ink-600);
  transition: border-color .15s ease, background-color .15s ease;
}
.radio-card:hover { border-color: var(--brand-100); background: #fff; }
.radio-card input { accent-color: var(--brand); width: 22px; height: 22px; flex: none; margin: 0; }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--brand-050); color: var(--brand-700); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--snow); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-4); margin-bottom: var(--s-5); }
.consent input { accent-color: var(--brand); width: 22px; height: 22px; flex: none; margin-top: 2px; }
.consent label { font-size: .88rem; color: var(--muted); line-height: 1.55; }

.form-status { border-radius: var(--r); padding: var(--s-4); margin-bottom: var(--s-4); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok   { background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.form-status.err  { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }
.form-foot { font-size: .86rem; color: var(--muted); text-align: center; margin: var(--s-4) 0 0; }
input.hp {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px !important; height: 1px !important; padding: 0 !important;
  border: 0 !important; opacity: 0 !important; pointer-events: none;
}

/* Sidebar next to form */
.form-aside { display: grid; gap: var(--s-4); align-content: start; }
.aside-card { background: var(--brand-050); border: 1px solid var(--brand-100); border-radius: var(--r-lg); padding: var(--s-5); }
.aside-card h3 { color: var(--brand-700); font-size: 1.05rem; }
.aside-card ul { padding-left: 1.1em; margin: 0; color: var(--ink-600); font-size: .95rem; }
.aside-card--dark { background: var(--ink); border-color: var(--ink); }
.aside-card--dark h3, .aside-card--dark p { color: #fff; }
.aside-card--dark p { font-size: .95rem; color: #b8c2d1; }

@media (min-width: 980px) { .form-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--s-6); align-items: start; } }

/* ---------- 10. Hours + info ---------- */
.hours-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours-table th { text-align: left; font-weight: 650; color: var(--ink); padding: 11px 0; }
.hours-table td { text-align: right; color: var(--muted); padding: 11px 0; font-variant-numeric: tabular-nums; }
.hours-table tr + tr th, .hours-table tr + tr td { border-top: 1px solid var(--line); }
.hours-table tr[data-today="true"] th { color: var(--brand); }
.hours-table tr[data-today="true"] td { color: var(--brand); font-weight: 700; }

.open-flag {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem;
  padding: 6px 14px; border-radius: var(--r-pill); background: #ecfdf3; color: #067647; border: 1px solid #abefc6;
}
.open-flag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.open-flag[data-open="false"] { background: var(--snow-200); color: var(--muted); border-color: var(--line); }
.open-flag[data-open="false"] .dot { background: var(--muted); }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: var(--s-4) 0; border-top: 1px solid var(--line); margin: 0; }
.info-list li:first-child { border-top: 0; padding-top: 0; }
.info-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }
.info-list b { display: block; color: var(--ink); font-size: .93rem; }
.info-list a { font-weight: 650; }

/* ---------- 11. FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5); margin-bottom: var(--s-3); box-shadow: var(--sh-1);
}
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--sh-2); }
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.04rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-4); min-height: 48px; padding-block: 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--brand); line-height: 1; flex: none;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: var(--s-3) 0 0; color: var(--muted); font-size: .98rem; }

/* ---------- 12. CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-700), var(--brand));
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 50% 0%, rgba(255,255,255,.18), transparent 65%);
}
.cta-band .wrap { position: relative; z-index: 1; padding-block: clamp(44px, 6vw, 72px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d5e5fb; max-width: 54ch; margin-inline: auto; font-size: 1.06rem; }
.cta-band .btn-row { justify-content: center; margin-top: var(--s-5); }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--ink); color: #98a2b3; font-size: .95rem; padding-block: var(--s-8) var(--s-5); }
.footer-grid { display: grid; gap: var(--s-6); }
@media (min-width: 760px)  { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-4); }
.site-footer a { color: #cdd5df; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-top: 10px; }
.site-footer li:first-child { margin-top: 0; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: var(--s-4); max-width: 34ch; color: #98a2b3; }
.footer-phone { display: block; font-size: 1.45rem; font-weight: 850; color: #fff !important; letter-spacing: -.02em; margin-bottom: 6px; }
.footer-phone:hover { color: var(--accent) !important; text-decoration: none; }
.footer-hours-lite { color: #cdd5df; }
.footer-bottom {
  border-top: 1px solid #23303f; margin-top: var(--s-7); padding-top: var(--s-5);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; font-size: .88rem;
}

/* ---------- 14. Mobile sticky action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(16,24,40,.08);
}
.mobile-bar .btn { flex: 1; padding: 14px 10px; font-size: .97rem; }
@media (max-width: 720px) { .mobile-bar { display: flex; } body { padding-bottom: 76px; } }

/* ---------- 15. Chat widget ---------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand); color: #fff; border: 0; border-radius: var(--r-pill);
  padding: 14px 20px; font: inherit; font-weight: 700; font-size: .97rem; cursor: pointer;
  box-shadow: var(--sh-brand); transition: transform .15s ease, background-color .2s ease;
}
.chat-launcher:hover { background: var(--brand-600); transform: translateY(-2px); }
.chat-launcher svg { width: 21px; height: 21px; }
.chat-launcher .badge {
  position: absolute; top: -4px; right: -4px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
}
@media (max-width: 720px) {
  .chat-launcher { bottom: 84px; right: 14px; padding: 13px 16px; }
  .chat-launcher .label { display: none; }
}

.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 96; width: min(380px, calc(100vw - 32px));
  max-height: min(600px, calc(100vh - 48px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 24px 56px -12px rgba(16,24,40,.35); overflow: hidden;
  display: none; flex-direction: column;
}
.chat-panel[data-open="true"] { display: flex; }
@media (max-width: 720px) { .chat-panel { right: 10px; left: 10px; bottom: 76px; width: auto; max-height: calc(100vh - 140px); } }

.chat-head {
  background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #fff;
  padding: var(--s-4) var(--s-5); display: flex; align-items: center; gap: 12px;
}
.chat-head .avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.chat-head .avatar svg { width: 20px; height: 20px; }
.chat-head b { display: block; font-size: .98rem; line-height: 1.25; }
.chat-head span { font-size: .8rem; color: #c9dcf8; display: flex; align-items: center; gap: 6px; }
.chat-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.chat-close { margin-left: auto; background: transparent; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 6px; line-height: 0; }
.chat-close:hover { background: rgba(255,255,255,.18); }
.chat-close svg { width: 20px; height: 20px; }

.chat-log { flex: 1; overflow-y: auto; padding: var(--s-4); background: var(--snow); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.55; }
.msg.bot  { background: #fff; border: 1px solid var(--line); color: var(--ink-600); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--sh-1); }
.msg.user { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--brand); font-weight: 650; }
.msg.user a { color: #fff; text-decoration: underline; }
.msg strong { color: inherit; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: .9; } }

.chat-actions { padding: var(--s-3) var(--s-4) var(--s-4); border-top: 1px solid var(--line); background: #fff; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: #fff; border: 1.5px solid var(--brand-100); color: var(--brand); border-radius: var(--r-pill);
  padding: 9px 15px; font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.chip:hover { background: var(--brand-050); border-color: var(--brand); }
.chip.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.primary:hover { background: var(--brand-600); }

/* ---------- 16. Misc ---------- */
.page-head { background: var(--snow); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px); }
.page-head .eyebrow { margin-bottom: var(--s-3); }
.page-head h1 { margin-bottom: var(--s-3); }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: var(--s-4); }
.breadcrumb a { color: var(--muted); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--s-7); }
.prose h2:first-child { margin-top: 0; }
.lead { font-size: 1.15rem; color: var(--ink-600); }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

@media print {
  .site-header, .topbar, .mobile-bar, .chat-launcher, .chat-panel, .cta-band, .site-footer { display: none !important; }
  body { padding-bottom: 0; }
}

/* ==========================================================================
   17. Responsive refinements — phone and desktop
   Added after an audit at 320 / 360 / 390 / 430 / 768 / 1024 / 1280 / 1440 / 1920.
   ========================================================================== */

/* --- Universal touch/interaction hygiene --- */
html { -webkit-tap-highlight-color: rgba(0, 102, 227, .15); }

/* Anchor jumps must clear the sticky header */
:target, [id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Inputs at 16px or larger stop iOS Safari zooming on focus */
input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
select, textarea { font-size: max(16px, 1rem); }

/* --- Phone (<=720px) --- */
@media (max-width: 720px) {
  body { font-size: 16.5px; }

  /* Comfortable thumb targets everywhere that isn't inline prose */
  .btn { min-height: 48px; padding: 14px 22px; }
  .btn-lg { min-height: 54px; padding: 16px 26px; }
  .mobile-bar .btn { min-height: 50px; }
  .chip { min-height: 42px; }
  .radio-card { min-height: 52px; }
  .nav a:not(.btn) { min-height: 48px; display: flex; align-items: center; }

  /* Form fields get a little more room to breathe */
  input[type="text"], input[type="tel"], input[type="email"],
  select, textarea { padding: 14px 15px; }
  .field { margin-bottom: var(--s-5); }

  /* Long headings shouldn't get orphaned words on narrow screens */
  h1, h2 { text-wrap: balance; overflow-wrap: break-word; }
  .hero-lede, .sec-head p { text-wrap: pretty; }

  /* The form card shouldn't waste width on a phone */
  .form-card { padding: 20px 16px; border-radius: var(--r-lg); }
  .section { padding-block: 44px; }

  /* Hours table: stop the day/time columns colliding */
  .hours-table { font-size: .95rem; }
  .hours-table th, .hours-table td { padding: 12px 0; }
}

/* --- Very narrow (<=360px) --- */
@media (max-width: 360px) {
  .wrap { padding-inline: 16px; }
  .btn { font-size: .95rem; padding: 14px 16px; }
  .mobile-bar .btn { font-size: .92rem; padding: 13px 8px; }
  .hero-badge { font-size: .76rem; padding: 6px 12px; }
  .pill { padding: 10px 15px; font-size: .9rem; }
  .promise-stats { grid-template-columns: 1fr; gap: var(--s-3); }
  .trust-strip .wrap { grid-template-columns: 1fr; }
}

/* --- Phone in landscape: short viewport, keep the chat usable --- */
@media (max-height: 480px) and (orientation: landscape) {
  .chat-panel { max-height: calc(100vh - 24px); bottom: 12px; top: 12px; }
  .chat-launcher { bottom: 12px; }
  .mobile-bar { position: static; box-shadow: none; }
  body { padding-bottom: 0; }
}

/* --- Tablet (721px - 1024px) --- */
@media (min-width: 721px) and (max-width: 1024px) {
  .wrap { padding-inline: 32px; }
  /* Two-up reads better than four cramped columns at this width */
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
  .hero-grid { gap: 40px; }
}

/* --- Large desktop (>=1600px) --- */
@media (min-width: 1600px) {
  :root { --wrap: 1240px; }
  body { font-size: 17.5px; }
  .hero .wrap { padding-block: 96px; }
}

/* --- Pointer-specific polish: hover lifts only where hovering exists --- */
@media (hover: none) {
  .card:hover, .btn:hover { transform: none; }
  .card:hover { box-shadow: var(--sh-1); border-color: var(--line); }
}

/* --- Respect high-contrast and forced-colors users --- */
@media (prefers-contrast: more) {
  :root { --muted: #475061; --line: #b9c1cd; }
  .btn-outline-light { background: rgba(255,255,255,.2); border-color: #fff; }
}
