/* ==========================================================================
   Liberty Clean USA — main stylesheet (mobile-first, no framework)
   Brand: deep navy #0F2A44 (primary) · liberty red #C0392B (CTAs)
   ========================================================================== */

:root {
  --navy: #0F2A44;
  --navy-2: #173A5E;
  --navy-3: #0A1E31;
  --red: #C0392B;
  --red-d: #A93226;
  --ink: #14212E;
  --muted: #55677A;
  --bg: #F4F6F9;
  --warm: #FAF6F0;
  --line: #E2E8F0;
  --gold: #F2B705;
  --radius: 18px;
  --shadow: 0 18px 40px -20px rgba(15, 42, 68, .35);
  --font-h: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  padding-bottom: 76px; /* room for the mobile action bar */
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.05rem, 6.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.45rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.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; background: #fff; padding: 10px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Placeholder text the owner must replace — visible on purpose */
.todo { background: #FFF4D6; color: #6B4E00; border-radius: 6px; padding: 0 .3em; font-weight: 600; }

/* ---------- Top bar (hours + phone on every page) ---------- */
.topbar { background: var(--navy-3); color: #C9D6E3; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 6px 16px; padding: 7px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar span + span::before { content: "•"; margin: 0 8px; opacity: .5; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.logo-img { width: 66px; height: auto; }
.footer-logo img { width: 170px; height: auto; border-radius: 16px; background: #fff; padding: 6px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-h); font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; }
.logo-text small { font-size: .66rem; letter-spacing: .34em; color: var(--red); font-weight: 700; margin-top: 4px; }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 11px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); list-style: none; padding: 8px; margin: 0; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { padding: 9px 12px; }
.sub a:hover { background: var(--bg); }

.hdr-cta { display: flex; align-items: center; gap: 14px; }
.hdr-phone { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; font-size: .95rem; }
.hdr-phone svg { width: 18px; height: 18px; color: var(--red); }

.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .hdr-cta { margin-left: auto; }
  .hdr-cta .btn { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; padding: 10px 20px 20px; }
  .nav a { padding: 13px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .sub a { font-size: .98rem; color: var(--muted); }
}
@media (max-width: 520px) { .hdr-phone span { display: none; } .hdr-phone { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line); border-radius: 12px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; min-height: 50px; border-radius: 999px; font-family: var(--font-h); font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgba(192,57,43,.7); }
.btn-red:hover { background: var(--red-d); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff;
  /* Background photo: replace assets/img/hero-living-room.jpg with a real job photo when available */
  background:
    linear-gradient(100deg, rgba(10,30,49,.82) 0%, rgba(15,42,68,.62) 45%, rgba(15,42,68,.30) 100%),
    radial-gradient(900px 480px at 92% -10%, rgba(192,57,43,.28), transparent 60%),
    url("../img/hero-living-room.jpg?v=3") center 60% / cover no-repeat,
    var(--navy); }
@media (max-width: 700px) {
  .hero { background:
    linear-gradient(180deg, rgba(10,30,49,.60) 0%, rgba(15,42,68,.68) 45%, rgba(15,42,68,.9) 66%, var(--navy) 78%),
    url("../img/hero-living-room.jpg?v=3") 30% 0 / auto 720px no-repeat,
    var(--navy); }
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath fill='%23fff' d='M32 22l2.4 6.6L41 31l-6.6 2.4L32 40l-2.4-6.6L23 31l6.6-2.4z'/%3E%3C/svg%3E"); }
.hero .container { position: relative; display: grid; gap: 36px; padding: 52px 0 60px; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 80px 0 88px; } }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(5,18,32,.55); }
.hero .lead, .hero .eyebrow { text-shadow: 0 1px 10px rgba(5,18,32,.6); }
.hero .badges li { background: rgba(10,30,49,.45); backdrop-filter: blur(4px); }
.hero h1 em { font-style: normal; color: #FF8F80; }
.hero .lead { color: #D3DEEA; font-size: clamp(1.08rem, 2.4vw, 1.25rem); max-width: 36em; }
.hero .btn-row { margin: 26px 0 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.badges li { display: flex; align-items: center; gap: 7px; font-size: .9rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 7px 13px; border-radius: 999px; }
.badges svg { width: 16px; height: 16px; color: #7FD3A6; }

/* Instant quote card */
.qcard { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }
.qcard h2 { font-size: 1.35rem; margin-bottom: 4px; }
.qcard .muted { font-size: .92rem; margin-bottom: 16px; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qgrid .full { grid-column: 1 / -1; }
.estimate { margin: 16px 0; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.estimate b { font-family: var(--font-h); font-size: 1.4rem; color: var(--navy); white-space: nowrap; }
.estimate span { font-size: .82rem; color: var(--muted); line-height: 1.35; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; padding: 46px 0 52px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(192,57,43,.35), transparent 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 18em; }
.page-hero .lead { color: #D3DEEA; font-size: 1.13rem; max-width: 40em; }
.page-hero .btn-row { margin-top: 22px; }
.crumbs { font-size: .85rem; color: #A9BBCD; margin-bottom: 14px; }
.crumbs a { color: #D3DEEA; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar ul { list-style: none; margin: 0; padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.trustbar li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trustbar svg { width: 20px; height: 20px; color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 92px 0; } }
.section.alt { background: var(--bg); }
.section.warm { background: var(--warm); }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 10px; }
.section-head { max-width: 700px; margin-bottom: 38px; }
.section-head.center { text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; gap: 56px; } .split.even { grid-template-columns: 1fr 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s ease, transform .2s ease; }
a.card { text-decoration: none; color: inherit; display: block; }
.card:hover { box-shadow: var(--shadow); }
a.card:hover { transform: translateY(-3px); }
.card p { color: var(--muted); margin-bottom: .8em; }
.icon { width: 54px; height: 54px; border-radius: 15px; background: #EEF3F8; color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 27px; height: 27px; }
.card:hover .icon { background: var(--navy); color: #fff; }
.more { font-weight: 600; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.more::after { content: "→"; transition: transform .15s; }
a.card:hover .more::after, .more:hover::after { transform: translateX(3px); }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; left: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-h); font-weight: 700; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 7px 0 7px 32px; border-bottom: 1px dashed var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: #E7F6EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E8E5A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks.plus li::before { background-color: #FBE9E7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0392B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.check-card h3 { display: flex; align-items: center; gap: 10px; }
.deep-note { margin-top: 22px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px 26px; }
.deep-note h3 { color: #fff; }
.deep-note .checks li { border-color: rgba(255,255,255,.15); color: #E3EBF3; }
.cols-2 { columns: 2 220px; column-gap: 28px; }
.cols-2 li { break-inside: avoid; }

/* Before / after — side-by-side photo pairs */
.ba2 { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.ba2-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba2-shot { position: relative; aspect-ratio: 4 / 5; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: #ddd; }
.ba2-shot img, .ba2-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba2 figcaption { padding: 12px 6px 4px; font-size: .92rem; color: var(--muted); }
.ba2 figcaption strong { color: var(--navy); }
.ba2-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .ba2-grid { grid-template-columns: repeat(3, 1fr); } }
.ba-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ba-tag.b { background: rgba(0,0,0,.6); color: #fff; }
.ba-tag.a { background: var(--red); color: #fff; }
/* Placeholder visuals until real job photos are added */
.ph-before { background:
    radial-gradient(120px 60px at 30% 70%, rgba(80,60,30,.35), transparent 70%),
    radial-gradient(90px 50px at 18% 30%, rgba(60,50,30,.3), transparent 70%),
    repeating-linear-gradient(90deg, #9C9285 0 2px, #A69C8F 2px 70px),
    #A0968A; }
.ph-after { background:
    radial-gradient(500px 280px at 70% 20%, rgba(255,255,255,.9), transparent 70%),
    repeating-linear-gradient(90deg, #EEF3F8 0 2px, #F8FAFC 2px 70px),
    #F6F9FC; }
.ph-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; font-weight: 700; font-size: .9rem; }
.ph-before .ph-label { color: #fff; font-size: .78rem; }
.ph-after .ph-label { color: var(--navy); font-size: .78rem; }

/* Generic photo placeholder */
.ph { position: relative; min-height: 280px; border-radius: var(--radius); border: 2px dashed #BFCCDA; background: linear-gradient(135deg, #EEF3F8, #E2EAF3); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); }
.ph svg { width: 44px; height: 44px; margin: 0 auto 10px; color: #8BA0B6; }

/* Reviews */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; }
.review { display: flex; flex-direction: column; gap: 10px; border-style: dashed; border-color: #CBD6E2; }
.review blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); }
.review footer { font-size: .9rem; color: var(--muted); }
.gbadge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 10px; box-shadow: var(--shadow); }
.gbadge .g { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-weight: 800; color: #4285F4; font-family: var(--font-h); }

/* Service area */
.towns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.towns a { display: flex; align-items: center; gap: 8px; padding: 13px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 600; }
.towns a:hover { border-color: var(--red); color: var(--red); }
.towns svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.towns .hub a { background: var(--navy); color: #fff; border-color: var(--navy); }
.towns .hub svg { color: #FF8F80; }
.zipbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.zipform { display: flex; gap: 10px; }
.zipform input { flex: 1; min-width: 0; }
.zip-out { margin-top: 12px; font-weight: 600; min-height: 1.5em; }
.zip-out.ok { color: #1E8E5A; }
.zip-out.warn { color: var(--red-d); }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .88rem; font-weight: 600; color: var(--navy); }

/* Pricing */
.price-card { position: relative; }
.price-card .price { font-family: var(--font-h); font-weight: 700; font-size: 2rem; color: var(--navy); margin: 6px 0 4px; letter-spacing: -.02em; }
.price-card .price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card.featured { border: 2px solid var(--red); }
.ribbon { position: absolute; top: -12px; right: 20px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
.price-note { margin-top: 22px; text-align: center; font-weight: 600; color: var(--navy); }
.fact { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border-bottom: 0; }
.fact svg { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.fact h3 { font-size: 1.02rem; margin-bottom: 4px; }
.fact p { margin: 0; color: var(--muted); }
.sticky-side { position: sticky; top: 96px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-family: var(--font-h); font-weight: 600; color: var(--navy); position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 1.2rem; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, #9E2E22 100%); color: #fff; border-radius: 26px; padding: 44px 28px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #FBE3DF; font-size: 1.1rem; max-width: 34em; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 22px; }
.cta-band .btn-white { background: #fff; color: var(--red); }

/* Forms */
.form { display: grid; gap: 16px; }
@media (min-width: 700px) { .form.two { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
label, .label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.req { color: var(--red); }
input, select, textarea { font: inherit; font-size: 16px; /* prevents iOS zoom */ width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #CCD7E3; border-radius: 12px; background: #fff; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
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='%230F2A44' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); outline: 3px solid rgba(23,58,94,.18); }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .form-panel { padding: 36px; } }
.form-error { background: #FBE9E7; color: var(--red-d); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.success { text-align: center; padding: 30px 10px; }
.success .ok { width: 68px; height: 68px; border-radius: 50%; background: #E7F6EE; color: #1E8E5A; display: grid; place-items: center; margin: 0 auto 16px; }
.success .ok svg { width: 34px; height: 34px; }
.preview-note { background: #FFF4D6; color: #6B4E00; border-radius: 10px; padding: 10px 12px; font-size: .88rem; margin-top: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--red); margin-top: 3px; flex-shrink: 0; }
.contact-list a { font-weight: 700; color: var(--navy); text-decoration: none; }

/* Stats placeholders */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px dashed #CBD6E2; border-radius: 16px; padding: 22px; text-align: center; }
.stat b { display: block; font-family: var(--font-h); font-size: 1.05rem; color: var(--navy); }

/* Collapsible checklist cards */
.check-card summary, .deep-note summary { list-style: none; cursor: pointer; }
.check-card summary::-webkit-details-marker, .deep-note summary::-webkit-details-marker { display: none; }
.check-card .count { display: none; }
@media (min-width: 701px) { .check-card summary, .deep-note summary { pointer-events: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #B9C8D7; padding: 60px 0 26px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #DCE6F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.fgrid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-text small { color: #FF8F80; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { padding: 7px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: .85rem; }
.fbottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(15,42,68,.3); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 14px; font-weight: 700; font-family: var(--font-h); text-decoration: none; font-size: .95rem; background: var(--bg); color: var(--navy); }
.mobile-bar a.red { background: var(--red); color: #fff; }
.mobile-bar svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ==========================================================================
   Compact phone layout — keeps the homepage short on small screens
   ========================================================================== */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .topbar, .trustbar { display: none; }
  .section { padding: 42px 0; }
  .section-head { margin-bottom: 20px; }
  .section-head p { font-size: 1rem; }
  h2 { font-size: 1.55rem; }

  /* Hero */
  .hero .container { padding: 28px 0 32px; gap: 24px; }
  .hero .lead { font-size: 1.02rem; margin-bottom: 0; }
  .hero .btn-row { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; }
  .badges { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .badges li { font-size: .76rem; padding: 6px 9px; border-radius: 10px; }
  .qcard { padding: 18px; }
  .qcard .muted { display: none; }
  .qgrid { gap: 10px; }
  .estimate { margin: 12px 0; }
  .page-hero { padding: 30px 0 34px; }
  .page-hero .lead { font-size: 1rem; }

  /* Services: compact rows */
  .svc-grid { gap: 10px; }
  .svc-grid .card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; }
  .svc-grid .icon { width: 44px; height: 44px; margin: 0; }
  .svc-grid .icon svg { width: 22px; height: 22px; }
  .svc-grid h3 { margin: 0; font-size: 1.02rem; }
  .svc-grid p { display: none; }
  .svc-grid .more { font-size: 0; }
  .svc-grid .more::after { font-size: 1.2rem; }

  /* How it works: compact */
  .steps { gap: 10px; }
  .step { padding: 16px 16px 16px 66px; }
  .step::before { top: 16px; left: 16px; width: 36px; height: 36px; }
  .step h3 { font-size: 1rem; margin-bottom: 2px; }
  .step p { font-size: .9rem; margin: 0; }

  /* Checklist: collapsed accordions */
  .grid.g4 { gap: 10px; }
  .check-card { padding: 14px 16px; }
  .check-card h3 { margin: 0; font-size: 1.02rem; }
  .check-card .count { display: inline; margin-left: auto; font-size: .78rem; font-weight: 500; color: var(--muted); font-family: var(--font-b); }
  .check-card[open] .checks { margin-top: 10px; }
  .deep-note { padding: 16px 18px; margin-top: 10px; }
  .deep-note h3 { margin: 0; font-size: 1.02rem; }
  .deep-note h3::after { content: " +"; color: #FF8F80; }
  .deep-note[open] h3::after { content: ""; }
  .deep-note[open] .checks { margin-top: 10px; }
  .cols-2 { columns: 1; }

  /* Reviews & pricing: swipe sideways instead of stacking */
  .swipe { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 14px 2px 6px; margin: 0 -2px; -webkit-overflow-scrolling: touch; }
  .swipe > * { scroll-snap-align: start; }
  .price-card .price { font-size: 1.6rem; }
  .price-card, .review { padding: 18px; }
  .price-note { font-size: .92rem; }

  /* Before / after */
  .split { gap: 22px; }

  /* FAQ + CTA */
  .faq summary { padding: 15px 50px 15px 16px; font-size: .98rem; }
  .cta-band { padding: 30px 20px; border-radius: 20px; }
  .cta-band .btn-row { display: grid; }

  /* Footer: drop the long town list (it's in the menu and Service Area page) */
  .site-footer { padding: 40px 0 20px; }
  .fgrid { gap: 24px; grid-template-columns: 1fr 1fr; }
  .fgrid > div:first-child, .fgrid > div:last-child { grid-column: 1 / -1; }
  .fgrid > div:nth-child(3) { display: none; }
  .footer-logo img { width: 120px; }
}

/* Use-case cards, wide town links, promo bar */
.usecase { padding: 20px 22px; border-left: 4px solid var(--red); }
.usecase h3 { margin-bottom: 4px; font-size: 1.05rem; }
.usecase p { margin: 0; }
.towns-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.promo { background: var(--red); color: #fff; text-align: center; font-weight: 600; padding: 10px 0; font-size: .95rem; }
.promo a { color: #fff; }
@media (max-width: 700px) {
  .usecases { grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; }
  .usecases > * { scroll-snap-align: start; }
  .usecase { padding: 14px 16px; }
  .towns-wide { grid-template-columns: 1fr 1fr; }
  .towns-wide a { font-size: .85rem; padding: 10px; }
}

/* Reviews app slot */
.reviews-widget { min-height: 160px; }
.widget-ph { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 160px; margin: 0; border: 2px dashed #CBD6E2; border-radius: var(--radius); color: var(--muted); text-align: left; padding: 20px; background: #fff; }
.widget-ph svg { width: 36px; height: 36px; color: var(--gold); flex-shrink: 0; }
/* Keep card shadows visible inside the mobile swipe row */
.ba2-grid.swipe { padding-bottom: 22px; }
.ba2-grid { align-items: start; }

/* Home H1: keyword line styled as a kicker above the tagline */
.h1-kicker { display: block; font-family: var(--font-b, Inter, sans-serif); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #FF8F80; margin-bottom: 12px; text-shadow: 0 1px 10px rgba(5,18,32,.6); }
@media (min-width: 960px) { .h1-kicker { font-size: .85rem; } }
