/* ============================================================
   Scrubby Cleaning — main stylesheet
   Mobile-first, responsive at 640px / 900px / 1200px breakpoints
   ============================================================ */

:root {
  /* Royal blue + green theme, matched to the Scrubby design mockup */
  --navy: #1153b8;
  --navy-dark: #0c3a8d;
  --green: #41a336;
  --green-dark: #2e7d23;
  --green-light: #eaf6e7;
  --gold: #e8b64c;
  --ink: #1c2a3a;
  --muted: #5b6b7d;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --line: #e3eaf2;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 36, 80, 0.10);
  --shadow-sm: 0 2px 10px rgba(15, 36, 80, 0.08);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 700; margin-bottom: 0.6rem; }
h3 { font-size: 1.1rem; font-weight: 600; }

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

.hidden-field { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 0.7rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-primary { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-lg { padding: 0.9rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #cfe0f5; font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.4rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 500; }
.topbar-links { display: flex; gap: 0.6rem; align-items: center; }
.topbar p { margin: 0; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; }
.brand img { width: 132px; height: auto; }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.btn-phone { display: none; }

/* Nav (mobile-first: hidden drawer) */
.nav {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
  background: #fff; box-shadow: -8px 0 30px rgba(15,36,80,0.18);
  transform: translateX(100%); transition: transform 0.25s ease;
  padding: 5rem 1.5rem 2rem; overflow-y: auto; z-index: 90;
}
.nav.open { transform: translateX(0); }
.nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.nav-list > li > a,
.dropdown-toggle {
  display: block; width: 100%; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--navy); background: none; border: none; cursor: pointer;
  padding: 0.55rem 0.25rem; text-decoration: none;
}
.nav-list > li > a:hover { color: var(--green-dark); text-decoration: none; }
.caret { font-size: 0.7em; }

.dropdown { list-style: none; display: none; padding-left: 0.9rem; border-left: 2px solid var(--line); margin: 0.2rem 0 0.4rem; }
.has-dropdown.open .dropdown { display: block; }
.dropdown a { display: block; padding: 0.4rem 0.25rem; font-size: 0.92rem; color: var(--muted); }
.dropdown a:hover { color: var(--green-dark); text-decoration: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 110;
}
.nav-toggle span { width: 24px; height: 3px; background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(62,154,47,0.14), transparent 60%),
    linear-gradient(180deg, #f2f7fd 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-inner { display: grid; gap: 2.2rem; padding: 2.8rem 0 3.2rem; align-items: center; }
.eyebrow { font-weight: 600; color: var(--green-dark); margin-bottom: 0.7rem; letter-spacing: 0.02em; }
.hero h1 .accent { color: var(--green-dark); }
.hero-sub { margin: 1rem 0 1.2rem; color: var(--muted); font-size: 1.05rem; max-width: 34rem; }

.hero-ticks { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 1.6rem; }
.hero-ticks li { padding-left: 1.9rem; position: relative; font-weight: 500; }
.hero-ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 0.15rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-quote {
  width: 100%; max-width: 520px; justify-self: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 16px 45px rgba(15, 36, 80, 0.14); overflow: hidden;
  scroll-margin-top: 7rem;
}
.hero-quote-head {
  padding: 1.35rem 1.25rem 1.05rem;
  background: linear-gradient(135deg, var(--green-light) 0%, #f7fbff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-quote-head .section-eyebrow { margin-bottom: 0.2rem; }
.hero-quote-head h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 0.3rem; }
.hero-quote-head > p:last-child { color: var(--muted); font-size: 0.92rem; }
.hero-quote .quote-form {
  border-radius: 0; padding: 1.2rem 1.25rem 1.25rem; box-shadow: none;
}
.hero-quote .form-field { margin-bottom: 0.75rem; }
.hero-quote .form-field input,
.hero-quote .form-field textarea { padding: 0.62rem 0.72rem; }
.hero-quote .form-field textarea { min-height: 5rem; resize: vertical; }
.hero-quote .btn-lg { padding-block: 0.78rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: #fff; }
.trust-inner {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem; padding: 1.4rem 0; text-align: center;
}
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.trust-item span { font-size: 0.82rem; color: #b9cbe8; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.alt-bg { background: var(--bg-alt); }
.section-eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--green-dark); margin-bottom: 0.4rem;
}
.section-eyebrow.light { color: #9fd58f; }
.section-intro { color: var(--muted); max-width: 46rem; margin-bottom: 2.2rem; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
  text-decoration: none !important; color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-media { position: relative; display: block; }
.service-media img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: transform 0.3s ease;
}
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body {
  padding: 1.6rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1;
}
.service-card h3 { color: var(--navy); }
.service-card p { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }
.service-link { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--green-dark); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 2rem; }
.why-card {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.4rem;
  border-top: 4px solid var(--green); box-shadow: var(--shadow-sm);
}
.why-card h3 { margin-bottom: 0.5rem; }
.why-card p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Before / After comparison sliders ---------- */
.ba-hint { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.8rem; }
.ba-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.ba-figure {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.9rem; box-shadow: var(--shadow-sm); margin: 0;
}
.ba-slider {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 3 / 4; user-select: none; -webkit-user-select: none;
}
.ba-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
/* top layer = "before", clipped to the left portion; dragging left wipes it away */
.ba-over { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0,0,0,0.45); pointer-events: none; z-index: 3;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; letter-spacing: -0.05em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.35); white-space: nowrap;
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0; z-index: 4;
  touch-action: none; -webkit-appearance: none; appearance: none;
}
.ba-slider:focus-within .ba-line { background: var(--green); }
.ba-tag {
  position: absolute; top: 0.7rem; z-index: 3;
  font-family: var(--font-head); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem; border-radius: 999px; color: #fff;
  pointer-events: none;
}
.ba-before { background: #c0392b; left: 0.7rem; }
.ba-after { background: var(--green-dark); right: 0.7rem; }
.ba-figure figcaption {
  text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy);
  padding-top: 0.7rem;
}

/* ---------- Steps ---------- */
.steps-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-top: 2rem; }
.step { background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Reviews ---------- */
.sample-note strong { color: var(--navy); }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 82vw);
  gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.8rem; scrollbar-width: thin;
}
.review-card {
  position: relative; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.3rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.sample-badge {
  position: absolute; top: 0.8rem; right: 0.8rem;
  background: var(--gold); color: #5b430e;
  font-family: var(--font-head); font-weight: 700; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
.stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.1em; }
.review-card p { font-size: 0.93rem; color: var(--muted); flex-grow: 1; }
.review-card footer { display: flex; flex-direction: column; }
.review-card footer strong { font-family: var(--font-head); color: var(--navy); font-size: 0.95rem; }
.review-card footer span { font-size: 0.8rem; color: var(--muted); }
.reviews-nav { display: flex; gap: 0.6rem; margin-top: 1rem; }
.reviews-btn {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1.5px solid var(--navy); background: #fff; color: var(--navy);
  font-size: 1.1rem; cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.reviews-btn:hover { background: var(--navy); color: #fff; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 800px; }
.faq-list { display: grid; gap: 0.8rem; margin-top: 1.8rem; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 1.2rem; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  padding: 1.05rem 1.8rem 1.05rem 0; cursor: pointer; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--green-dark); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 1.2rem; color: var(--muted); font-size: 0.95rem; }

/* ---------- Quote section ---------- */
.quote {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(62,154,47,0.25), transparent 55%),
    linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #dbe7f7;
}
.quote-inner { display: grid; gap: 2.5rem; align-items: start; }
.quote h2 { color: #fff; }
.quote-copy > p { max-width: 30rem; }
.quote-contacts { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.55rem; font-size: 0.97rem; }
.quote-contacts strong { color: #fff; }
.quote-contacts a { color: #a8e29a; font-weight: 600; }

.quote-form {
  background: #fff; border-radius: var(--radius); padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow); color: var(--ink);
}
.form-row { display: grid; gap: 0; grid-template-columns: 1fr; }
.form-field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.form-field label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 9px;
  background: #fbfdff; width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(62,154,47,0.15);
}
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.7rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #b9cbe8; font-size: 0.92rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; padding: 3.2rem 0 2.2rem; }
.footer h3 {
  color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.9rem; margin-top: 1.2rem;
}
.footer h3:first-child { margin-top: 0; }
.footer ul { list-style: none; display: grid; gap: 0.45rem; }
.footer a { color: #b9cbe8; }
.footer a:hover { color: #fff; }
.footer-about img { width: 150px; background: #fff; border-radius: 10px; padding: 0.4rem; margin-bottom: 1rem; }
.footer-about p { max-width: 20rem; }
.footer-tagline { font-family: var(--font-head); font-weight: 600; color: #a8e29a; margin-top: 0.6rem; }
.footer-contact a { font-weight: 600; color: #a8e29a; }
.footer-col .btn { margin-top: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.1rem 0; font-size: 0.82rem; }

/* ---------- Floating call button ---------- */
.fab-call {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 80;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  padding: 0.85rem 1.3rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(46,125,35,0.45);
  text-decoration: none !important;
}
.home-page .fab-call { display: none; }

/* ============================================================
   Breakpoint: tablet ≥ 640px
   ============================================================ */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-inner { grid-template-columns: repeat(5, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Breakpoint: desktop ≥ 900px
   ============================================================ */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; width: auto; transform: none; box-shadow: none;
    padding: 0; overflow: visible; background: transparent;
  }
  .nav-list { flex-direction: row; align-items: center; gap: 0.2rem; }
  .nav-list > li { position: relative; }
  .nav-list > li > a, .dropdown-toggle { padding: 0.5rem 0.7rem; font-size: 0.92rem; width: auto; }

  .dropdown {
    display: block; position: absolute; top: 100%; left: 0; min-width: 250px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow); padding: 0.5rem; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown a { padding: 0.5rem 0.8rem; border-radius: 8px; }
  .dropdown a:hover { background: var(--green-light); }

  .btn-phone { display: inline-flex; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(440px, 0.95fr); gap: 3rem; padding: 3.5rem 0 4rem; }
  .quote-inner { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .fab-call { display: none; }
}

/* ============================================================
   Breakpoint: large desktop ≥ 1200px
   ============================================================ */
@media (min-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Interior pages (About, Services, Locations, Gallery, Contact)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(62,154,47,0.28), transparent 60%),
    linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #dbe7f7; padding: 3rem 0 3.2rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.8vw, 2.6rem); margin-bottom: 0.7rem; }
.page-hero .lead { max-width: 44rem; font-size: 1.03rem; }
.breadcrumbs { font-size: 0.82rem; margin-bottom: 1.1rem; color: #9fb4d8; }
.breadcrumbs a { color: #cfe0f5; }
.breadcrumbs span[aria-current] { color: #a8e29a; }
.page-hero .hero-actions { margin-top: 1.5rem; }

.split { display: grid; gap: 2.2rem; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split-copy h2 { margin-bottom: 0.8rem; }
.split-copy p { color: var(--muted); margin-bottom: 0.9rem; }

.check-list { list-style: none; display: grid; gap: 0.5rem; margin: 1.1rem 0; }
.check-list li { padding-left: 1.9rem; position: relative; font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0.12em;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}

.cta-band {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff; text-align: center; padding: 3rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: #eaf6e7; margin-bottom: 1.4rem; }
.cta-band .btn-secondary { background: #fff; color: var(--navy); }
.cta-band .btn-outline { border-color: #fff; color: #fff; background: transparent; }

.gallery-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.gallery-grid figure {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.7rem; box-shadow: var(--shadow-sm); margin: 0;
}
.gallery-grid img { border-radius: 10px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-grid figcaption {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  color: var(--navy); text-align: center; padding-top: 0.5rem;
}

.video-wrap { max-width: 380px; margin-inline: auto; }
.video-wrap video {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
  background: #000;
}

/* Video testimonial cards */
.vt-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
.vt-card {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.7rem; box-shadow: var(--shadow-sm);
}
.vt-card video {
  width: 100%; height: auto; display: block;
  border-radius: 10px; background: #000; aspect-ratio: 9 / 16; object-fit: cover;
}
.vt-card figcaption {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  color: var(--navy); text-align: center; padding-top: 0.5rem;
}
@media (min-width: 640px) {
  .vt-grid { grid-template-columns: repeat(3, 1fr); max-width: none; }
}

.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.3rem; margin: 0.6rem 0 1rem; }
.prose .updated { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.prose p { margin-bottom: 0.9rem; }
.prose strong { color: var(--ink); }

/* Blog */
.post-meta { font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; color: var(--green-dark); }
.post-meta.light { color: #9fd58f; margin-top: 0.4rem; }
.post-img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 1.6rem; aspect-ratio: 16/9; object-fit: cover; width: 100%;
}
.prose .faq-list { margin-top: 1rem; }

.contact-cards { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); text-align: center;
}
.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card a { font-weight: 600; }
.contact-card p { color: var(--muted); font-size: 0.92rem; }

.loc-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.loc-links a {
  background: var(--green-light); color: var(--green-dark);
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  padding: 0.45rem 0.95rem; border-radius: 999px; text-decoration: none;
}
.loc-links a:hover { background: var(--green-dark); color: #fff; }

/* Services quick-nav strip (interior pages) */
.svc-nav { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
.svc-nav-inner { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.svc-nav-label {
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-right: 0.4rem;
}
.svc-nav a {
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  padding: 0.35rem 0.85rem; border-radius: 999px; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.svc-nav a:hover { background: var(--green-light); color: var(--green-dark); }
.svc-nav a[aria-current="page"] { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

/* Hero tick list on interior page heroes (navy background) */
.page-hero .hero-ticks { margin: 1.3rem 0 0.3rem; }
.page-hero .hero-ticks li { color: #eef4fc; font-weight: 500; }
@media (min-width: 640px) {
  .page-hero .hero-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 2rem; max-width: 46rem; }
}

/* Gallery teaser card beside a single before/after slider */
.ba-teaser {
  background:
    radial-gradient(500px 260px at 85% 0%, rgba(62,154,47,0.3), transparent 60%),
    linear-gradient(150deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius); padding: 2.2rem 1.9rem; color: #dbe7f7;
  display: flex; flex-direction: column; justify-content: center; gap: 0.6rem;
  box-shadow: var(--shadow-sm);
}
.ba-teaser .section-eyebrow { color: #9fd58f; margin-bottom: 0; }
.ba-teaser h3 { color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.ba-teaser p { color: #b9cbe8; font-size: 0.97rem; }
.ba-teaser .btn { align-self: flex-start; margin-top: 0.7rem; }

/* Special offer band */
.offer-band {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(255,255,255,0.35), transparent 55%),
    linear-gradient(135deg, var(--gold) 0%, #d99f2b 100%);
  padding: 2.6rem 0; text-align: center; color: #3c2c07;
}
.offer-band .offer-eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.4rem;
}
.offer-band h2 { color: #2b1f03; margin-bottom: 0.4rem; }
.offer-band p { margin-bottom: 1.3rem; font-weight: 500; }
.offer-band .btn-secondary { background: var(--navy); }
.offer-band .btn-outline { border-color: var(--navy-dark); color: var(--navy-dark); background: rgba(255,255,255,0.65); }

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split.flip .split-media { order: 2; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Job-story carousel — Instagram-style square (gallery page) */
.carousel { max-width: 520px; margin: 0 auto; }
.carousel-frame { position: relative; }
.carousel-track {
  display: flex;
  aspect-ratio: 1 / 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(28, 42, 58, 0.12);
  background: var(--ink);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  scroll-snap-align: start;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide figcaption { display: none; }
.carousel-count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(28, 42, 58, 0.72);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(28, 42, 58, 0.25);
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active { background: var(--green); }
.carousel-caption {
  margin: 10px auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}
@supports not (aspect-ratio: 1 / 1) {
  .carousel-track { height: min(520px, 92vw); }
}

/* Remote availability / maintenance gate */
html.security-check-blocked { overflow: hidden; }
html.security-check-blocked body > :not(#site-security-gate) {
  visibility: hidden !important;
}
#site-security-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
  overflow-y: auto;
  visibility: visible !important;
  background: linear-gradient(145deg, #f5faf7 0%, #e8f4ec 100%);
  color: var(--ink);
  text-align: center;
}
.security-gate-card {
  width: min(100%, 560px);
  padding: clamp(30px, 7vw, 54px);
  border: 1px solid rgba(30, 125, 72, 0.16);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(28, 42, 58, 0.14);
}
.security-gate-card img {
  width: 180px;
  height: auto;
  margin: 0 auto 24px;
  border-radius: 12px;
}
.security-gate-card h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  line-height: 1.15;
}
.security-gate-card p {
  max-width: 430px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.security-gate-card .security-gate-eyebrow {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.security-gate-spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 20px;
  border: 3px solid var(--green-light);
  border-top-color: var(--green-dark);
  border-radius: 50%;
  animation: security-gate-spin 0.8s linear infinite;
}
.security-gate-retry {
  margin-top: 24px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.security-gate-retry:hover { background: var(--green); }
.security-gate-retry:focus-visible { outline: 3px solid rgba(30, 125, 72, 0.3); outline-offset: 3px; }
.security-gate-retry:disabled { cursor: wait; opacity: 0.7; }
@keyframes security-gate-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .security-gate-spinner { animation-duration: 1.8s; }
}

/* Nested city flyout inside the Locations dropdown */
.has-subnav { position: relative; }
.subnav-toggle {
  display: flex; align-items: center; gap: 6px; width: 100%;
  background: none; border: none; cursor: pointer;
  font: inherit; text-align: left;
  padding: 0.4rem 0.25rem; font-size: 0.92rem; color: var(--muted);
}
.subnav-toggle:hover { color: var(--green-dark); }
.subnav {
  list-style: none; display: none;
  padding-left: 0.9rem; border-left: 2px solid var(--line); margin: 0.2rem 0 0.4rem;
}
.has-subnav.open > .subnav { display: block; }
@media (min-width: 900px) {
  .subnav-toggle { padding: 0.5rem 0.8rem; border-radius: 8px; }
  .subnav-toggle:hover { background: var(--green-light); }
  .subnav {
    display: block; position: absolute; top: -0.5rem; left: 100%; min-width: 250px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow); padding: 0.5rem; margin: 0; border-left: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .has-subnav:hover > .subnav,
  .has-subnav:focus-within > .subnav,
  .has-subnav.open > .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
  .subnav a { padding: 0.5rem 0.8rem; border-radius: 8px; }
  .subnav a:hover { background: var(--green-light); }
}
