/* =====================================================================
   Blue Collar Wash Co. — stylesheet
   Sections: 1 tokens · 2 base · 3 layout · 4 buttons · 5 header/nav
   6 hero · 7 sections/cards · 8 why · 9 before-after · 10 area/steps
   11 reviews · 12 faq · 13 quote form · 14 footer · 15 lightbox/gallery
   16 services page · 17 responsive
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #16243F; --navy-2: #1E3A5F; --gold: #C8A24B; --gold-hi: #E3C766;
  --water: #4F8FC0; --cream: #F6F1E7; --charcoal: #1C1C1C; --white: #FFFFFF;
  --ink: #1C1C1C; --muted: #5a6473;
  --font-head: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --font-script: 'Kaushan Script', 'Brush Script MT', cursive;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1140px; --radius: 10px;
  --shadow: 0 8px 24px rgba(22,36,63,.12);
  --header-h: 92px;
  --header-bg: #F7F3EA;
}

/* ---------- 2. Base / reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--white); line-height: 1.6; font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--water); }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: 700; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .5px; margin: 0 0 .5rem;
}
p { margin: 0 0 1rem; }
.script {
  font-family: var(--font-script); text-transform: none;
  font-weight: 400; letter-spacing: 0; color: var(--gold);
}
section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .gallery-item:focus-visible {
  outline: 3px solid var(--water); outline-offset: 2px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -60px; left: 1rem; z-index: 200;
  background: var(--gold); color: var(--navy); padding: .6rem 1rem;
  border-radius: 0 0 8px 8px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--cream { background: var(--cream); }
.section--navy { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: .85rem; color: var(--gold); margin: 0; }
.section--navy .eyebrow { color: var(--gold-hi); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--navy); margin: .4rem 0 .6rem; }
.section--navy .section-title { color: #fff; }
.section-lead { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section--navy .section-lead { color: #d7deea; }
.mt-cta { margin-top: 2.4rem; text-align: center; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .6px; font-size: 1rem; line-height: 1; padding: .95rem 1.7rem;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(200,162,75,.35); }
.btn--primary:hover { background: var(--gold-hi); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.section--cream .btn--ghost:hover, body > .btn--ghost:hover { background: rgba(22,36,63,.06); }
.btn--lg { font-size: 1.1rem; padding: 1.1rem 2.1rem; }
.btn--sm { font-size: .9rem; padding: .62rem 1.1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- 5. Header / nav / mobile call bar ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--header-bg); border-bottom: 1px solid #e6d9bd; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(22,36,63,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .85rem; }
.logo-badge { height: 70px; width: auto; display: block; filter: drop-shadow(0 4px 10px rgba(22,36,63,.24)); }
.logo-divider { width: 2px; height: 46px; background: linear-gradient(var(--gold), #b78f37); border-radius: 2px; opacity: .85; }
.logo-wm { display: flex; flex-direction: column; gap: .14rem; line-height: 1; }
.logo-wm-1 { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: .5px; color: var(--navy); text-transform: uppercase; }
.logo-wm-2 { font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; background: none; border: 0; color: var(--navy); cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 26px; height: 3px; background: currentColor; border-radius: 2px; transition: .2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
#primary-nav { display: flex; align-items: center; gap: 1.5rem; }
#primary-nav > a { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-weight: 500; font-size: .96rem; color: var(--navy); text-decoration: none; }
#primary-nav > a:hover { color: var(--gold); }
.nav-cta { display: flex; gap: .6rem; margin-left: .4rem; }
.mobile-callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: var(--navy); padding: .5rem; gap: .5rem; box-shadow: 0 -4px 16px rgba(0,0,0,.25); }
.mobile-callbar .btn { flex: 1; padding: .8rem .4rem; font-size: .92rem; }

/* ---------- 6. Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); color: #fff; margin: .5rem 0 1rem; }
.hero h1 .script { display: block; color: var(--gold-hi); font-size: .66em; margin-top: .08em; }
.hero-sub { font-size: 1.18rem; color: #dfe6ef; max-width: 36ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-figure img { width: 100%; border-radius: 14px; border: 2px solid rgba(200,162,75,.45); box-shadow: 0 18px 50px rgba(0,0,0,.42); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.16); }
.trust-badge { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .97rem; color: #f3ede0; }
.trust-badge svg { flex: none; color: var(--gold); }
/* Hero — vertical "reel" video variant (portrait clip beside the copy) */
.hero-reel { height: min(82vh, 720px); aspect-ratio: 9 / 16; width: auto; max-width: 100%; margin-inline: auto; position: relative; border-radius: 20px; overflow: hidden; border: 3px solid rgba(200,162,75,.55); box-shadow: 0 18px 50px rgba(0,0,0,.45); background: var(--navy-2) url('../images/hero-poster.svg') center/cover no-repeat; }
.hero-reel-video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .hero-reel-video { display: none; } }
@media (max-width: 1024px) { .hero-reel { height: min(72vh, 560px); } }
@media (max-width: 880px) { .hero-reel { height: min(58vh, 460px); margin-top: .4rem; } }

/* ---------- 7. Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card { display: flex; flex-direction: column; gap: .7rem; background: #fff; border: 1px solid #ece3cf; border-radius: 14px; padding: 1.8rem 1.5rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(22,36,63,.16); }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(200,162,75,.16); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.card h3 { font-size: 1.16rem; color: var(--navy); margin: 0; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; margin: 0; }
.card-link { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; font-size: .86rem; color: var(--water); text-decoration: none; }
.card-link:hover { color: var(--navy); }

/* ---------- 8. Why John ---------- */
.why-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.why-quote { font-family: var(--font-script); color: var(--gold-hi); font-size: clamp(1.7rem, 3.5vw, 2.5rem); line-height: 1.2; margin: 1.2rem 0 0; }
.why-card { background: rgba(255,255,255,.06); border: 1px solid rgba(200,162,75,.3); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.2rem); }
.why-card h3 { color: var(--gold-hi); }
.why-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .9rem; }
.why-list li { display: flex; gap: .7rem; align-items: flex-start; color: #eaf0f7; }
.why-list svg { color: var(--gold); flex: none; margin-top: 3px; }

/* ---------- 9. Before / after slider ---------- */
.ba-wrap { max-width: 760px; margin: 0 auto; }
.ba-slider { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: none; }
.ba-before, .ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { will-change: clip-path; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.ba-handle::after { content: '\2194'; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 46px; height: 100%; }
.ba-range::-moz-range-thumb { width: 46px; height: 220px; border: 0; }

/* ---------- 10. Service area + steps ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 1.6rem 0; }
.chip { background: #fff; border: 1px solid var(--gold); color: var(--navy); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; padding: .6rem 1.25rem; border-radius: 999px; font-size: .95rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { text-align: center; padding: 1.2rem; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: var(--shadow); }
.step h3 { color: var(--navy); font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- 11. Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review { background: #fff; border: 1px solid #ece3cf; border-radius: 14px; padding: 1.6rem; box-shadow: var(--shadow); }
.review--placeholder { border-style: dashed; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 3px; }
.review p { font-style: italic; color: #3a4250; margin: .8rem 0; }
.review cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: .92rem; }

/* ---------- 12. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid #e3dcc9; border-radius: 10px; margin-bottom: .8rem; background: #fff; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.1rem 1.3rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .4px; font-weight: 600; font-size: 1.02rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--gold); border-radius: 2px; }
.faq-icon::before { top: 8px; left: 0; width: 18px; height: 3px; }
.faq-icon::after { top: 0; left: 8px; width: 3px; height: 18px; transition: transform .2s, opacity .2s; }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq-a p { margin: 0; }

/* ---------- 13. Quote form ---------- */
.quote-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2.2rem; align-items: start; }
.quote-form { background: #fff; border: 1px solid #ece3cf; border-radius: 16px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; border: 1px solid #cdd3da; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 3px rgba(79,143,192,.2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: .9rem 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.is-success { color: #2e7d32; }
.form-status.is-error { color: #b3261e; }
.form-status.is-info { color: var(--navy); }
.quote-aside { background: var(--navy); color: #fff; border-radius: 16px; padding: clamp(1.5rem, 3vw, 2rem); }
.quote-aside h3 { color: var(--gold-hi); }
.quote-aside p { color: #d7deea; }
.quote-aside .btn { width: 100%; margin-top: .7rem; }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy); color: #cfd8e4; padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-logo { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: 1.4rem; color: #fff; margin: 0; }
.footer-brand .script { color: var(--gold); display: block; font-size: 1.25rem; margin-top: .2rem; }
.footer-brand p { margin-top: .9rem; color: #aebccd; max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 1px; margin-bottom: .9rem; }
.site-footer a { color: #cfd8e4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-contact { display: grid; gap: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .85rem; color: #9fb0c4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: var(--gold); }

/* ---------- 15. Lightbox + gallery ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(10,16,28,.92); padding: 1.5rem; }
.lightbox.is-open { display: flex; }
.lightbox-content { width: min(1000px, 92vw); max-width: 92vw; max-height: 86vh; }
.lightbox-content img, .lightbox-content video { display: block; width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: 10px; }
.lightbox-close { position: absolute; top: 1rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: var(--gold); color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item { position: relative; border: 0; padding: 0; background: none; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
/* before/after slider used as a grid tile */
.gallery-grid .ba-slider { border-radius: 12px; }
.ba-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; pointer-events: none; background: var(--navy); color: var(--gold-hi); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; text-align: center; padding: .5rem; font-size: clamp(.85rem, 2.2vw, 1.05rem); }
.play-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.play-badge span { width: 64px; height: 64px; border-radius: 50%; background: rgba(22,36,63,.7); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; padding-left: 4px; }

/* ---------- 16. Services + generic page hero ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; text-align: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: #d7deea; max-width: 640px; margin: 1rem auto 0; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.svc-media img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
.svc h2 { color: var(--navy); font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.section--navy .svc h2 { color: #fff; }
.svc-list { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: grid; gap: .55rem; }
.svc-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.section--navy .svc-list li { color: #eaf0f7; }
.svc-list svg { color: var(--gold); flex: none; margin-top: 3px; }
.svc--flip .svc-media { order: 2; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 980px) {
  .why-inner { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  :root { --header-h: 82px; }
  .logo-badge { height: 54px; }
  .logo-divider { height: 38px; }
  .logo-wm-1 { font-size: 1.18rem; }
  .logo-wm-2 { font-size: .8rem; letter-spacing: 3px; }
  #primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header-bg); border-bottom: 4px solid var(--gold);
    padding: .75rem 1.25rem 1.4rem; box-shadow: 0 14px 26px rgba(0,0,0,.14);
    transform: translateY(-135%); transition: transform .25s ease;
  }
  #primary-nav.is-open { transform: translateY(0); }
  #primary-nav > a { padding: .95rem .25rem; border-bottom: 1px solid #eee; font-size: 1.06rem; }
  .nav-cta { flex-direction: column; margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .mobile-callbar { display: flex; }
  body { padding-bottom: 76px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .trust-badges { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; border-top: 0; padding-top: 0; }
  .hero-figure { max-width: 520px; margin: .5rem auto 0; }
  .steps { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc--flip .svc-media { order: 0; }
  .svc-media { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
