/* ==========================================================================
   Sheridan Cleaning Co. Design System
   Brand: #bae378 (surfaces/accents only) + white
   NOTE: #bae378 is 1.47:1 against white. It is NEVER used for text on white
   and NEVER paired with white text. Text uses the darkened derivatives below.
   ========================================================================== */

:root {
  /* Brand ramp */
  --brand:       #bae378;  /* surfaces, accent bars, button fills */
  --brand-mid:   #a8d95f;  /* button hover */
  --brand-soft:  #eaf6d6;  /* tinted panels */
  --brand-wash:  #f6fbee;  /* alternating section band */
  --brand-deep:  #33500f;  /* links + brand text on white, 9.1:1 AAA */
  --brand-ink:   #16200c;  /* dark sections + footer */

  /* Neutrals */
  --ink:         #1a2113;  /* body text; also text ON brand green, 11.5:1 */
  --muted:       #5b6650;  /* secondary text, 6.1:1 on white */
  --line:        #e2e8d8;  /* hairlines */
  --line-strong: #cbd6bb;
  --white:       #ffffff;
  --danger:      #96331b;

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

  /* Space & shape */
  --container: 1140px;
  --gutter: 1.25rem;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22, 32, 12, .06);
  --shadow-md: 0 6px 20px rgba(22, 32, 12, .09);
  --shadow-lg: 0 18px 44px rgba(22, 32, 12, .13);
  --section-y: clamp(3.25rem, 7vw, 5.5rem);
}

/* --------------------------------------------------------------- Reset -- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
p, li { text-wrap: pretty; }

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

/* ---------------------------------------------------------- Typography -- */
h1 { font-size: clamp(2.1rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
h4 { font-size: 1.0625rem; }

a { color: var(--brand-deep); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

.lede { font-size: clamp(1.075rem, 1.9vw, 1.25rem); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------------- Layout -- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--wash { background: var(--brand-wash); }
.section--soft { background: var(--brand-soft); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.25rem); }

.section-head { max-width: 660px; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: .75rem; color: var(--muted); font-size: 1.075rem; }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: .6rem;
}

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
                             .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
                             .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px)  { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
                             .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: var(--ink); padding: .75rem 1.25rem;
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ Buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-mid); color: var(--ink); box-shadow: var(--shadow-md); }
.btn--secondary { background: var(--white); color: var(--brand-deep); border-color: var(--brand-deep); }
.btn--secondary:hover { background: var(--brand-soft); color: var(--brand-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--brand-soft); color: var(--ink); border-color: var(--brand-deep); }
.btn--lg { font-size: 1.075rem; padding: 1rem 1.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

/* ------------------------------------------------------------- Header -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 90px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { flex: none; width: 76px; height: 76px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.075rem; letter-spacing: -.02em; }
.brand-tag { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill); padding: .5rem .9rem; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
}
.nav-toggle-bars { display: block; width: 17px; height: 11px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle-bars::before { top: 0; } .nav-toggle-bars span { top: 4.5px; } .nav-toggle-bars::after { bottom: 0; }

.site-nav ul { list-style: none; padding: 0; margin: 0; }
.site-nav a { text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .96rem; }
.site-nav a:hover { color: var(--brand-deep); }
.site-nav a[aria-current="page"] { color: var(--brand-deep); }
.header-cta { display: none; }

/* Mobile nav (default) */
@media (max-width: 899px) {
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: .5rem var(--gutter) 1.5rem;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .site-nav > ul > li:last-child { border-bottom: 0; }
  .site-nav > ul > li > a, .nav-group-label { display: block; padding: .85rem .25rem; }
  .nav-group-label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: .35rem; }
  .nav-sub { padding: 0 0 .85rem .25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; }
  .nav-sub a { font-weight: 400; font-size: .92rem; }
  .nav-mobile-cta { margin-top: 1.1rem; display: grid; gap: .6rem; }
}

/* Desktop nav */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav > ul { display: flex; align-items: center; gap: 1.6rem; }
  .site-nav > ul > li { position: relative; }
  .nav-group-label { display: inline-flex; align-items: center; gap: .3rem; cursor: default;
    font-family: var(--font-head); font-weight: 600; font-size: .96rem; padding-block: 1.5rem; }
  .nav-group-label::after { content: ""; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); }
  .nav-sub {
    position: absolute; top: 100%; left: -1rem; min-width: 268px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: .6rem; display: grid; gap: .1rem;
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-sub a { display: block; padding: .55rem .75rem; border-radius: var(--radius-sm); font-weight: 400; font-size: .94rem; }
  .nav-sub a:hover { background: var(--brand-wash); }
  .nav-mobile-cta { display: none; }
  .header-cta { display: inline-flex; margin-left: .5rem; }
}

/* The towns list outgrew a single column at seventeen entries. */
.footer-links--two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }

@media (min-width: 900px) {
  .nav-sub--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 440px;
    column-gap: .25rem;
  }
  /* "All areas" spans both columns and sits above the town list. */
  .nav-sub--wide .nav-sub-all {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--line);
    margin-bottom: .3rem;
    padding-bottom: .3rem;
  }
  .nav-sub--wide .nav-sub-all a { font-weight: 600; }
}

/* Home page area links: compact enough to list every town without a wall
   of cards, while still giving each one a real link with the town name. */
.chips--areas { gap: .55rem; justify-content: center; }
.chips--areas a { font-size: .95rem; padding: .5rem 1.05rem; }

/* --------------------------------------------------------------- Hero -- */
.hero { background: linear-gradient(168deg, var(--brand-wash) 0%, var(--white) 62%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: 2.5rem; padding-block: clamp(2.75rem, 6vw, 4.75rem); align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; } }
.hero h1 { margin-bottom: 1rem; }
.hero .lede { margin-bottom: 1.75rem; }
.hero-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .6rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; }

.page-hero { background: var(--brand-wash); border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 4.5vw, 3.25rem); }
.page-hero h1 { margin-bottom: .85rem; }
.page-hero .lede { max-width: 62ch; }

/* -------------------------------------------------------- Breadcrumbs -- */
.breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-deep); }

/* -------------------------------------------------------------- Media -- */
.media {
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--brand) 100%);
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4 / 3;
}
.media--wide  { aspect-ratio: 16 / 10; }
.media--tall  { aspect-ratio: 3 / 4; }
.media--square{ aspect-ratio: 1 / 1; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img[src=""], .media img:not([src]) { display: none; }
.media--hero { box-shadow: var(--shadow-lg); }

/* -------------------------------------------------------------- Cards -- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); font-size: .975rem; }
a.card, .card--link { text-decoration: none; color: inherit; }
a.card:hover, .card--link:hover { box-shadow: var(--shadow-md); border-color: var(--brand); transform: translateY(-2px); color: inherit; }
.card-link { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .94rem; color: var(--brand-deep); display: inline-flex; align-items: center; gap: .35rem; }
.card .media { margin: -1.5rem -1.5rem .35rem; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 10; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.icon-badge svg { width: 24px; height: 24px; }

/* -------------------------------------------------------- Trust strip -- */
.trust-strip { background: var(--brand); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem 1.75rem; padding-block: 1.15rem; }
@media (min-width: 640px) { .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-list li { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .94rem; }
.trust-list svg { flex: none; width: 20px; height: 20px; }

/* --------------------------------------------------------------- Step -- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.step { position: relative; padding-top: 3.4rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 2.6rem; height: 2.6rem;
  background: var(--brand); color: var(--ink); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--muted); }

/* ------------------------------------------------------------ Content -- */
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.9rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--brand-deep); }
.prose strong { color: var(--ink); }

.checklist { list-style: none; padding: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .18rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2113' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.crosslist { list-style: none; padding: 0; display: grid; gap: .6rem; }
.crosslist li { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); }
.crosslist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .18rem; border-radius: 50%;
  background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6650' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.panel { background: var(--brand-wash); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.35rem, 3vw, 2rem); }
.panel--soft { background: var(--brand-soft); border-color: var(--brand); }
.panel h3 { margin-bottom: .6rem; }

.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
@media (min-width: 900px) { .split--sidebar { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }

/* ------------------------------------------------------------- Tables -- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .96rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--brand-soft); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------ Pricing -- */
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.tier--featured { border: 2px solid var(--brand); box-shadow: var(--shadow-md); }
.tier-flag { display: inline-block; background: var(--brand); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: var(--radius-pill); align-self: flex-start; }
.tier-price { font-family: var(--font-head); font-weight: 700; font-size: 2.25rem; letter-spacing: -.03em; line-height: 1; }
.tier-price span { font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.tier .checklist { margin-top: .25rem; font-size: .96rem; }
.tier .btn { margin-top: auto; }

/* Pricing cards align row-for-row.
   Without this, the "Most booked" flag on one card and a title that wraps to
   two lines on another push each card's rows to different heights, so the
   prices and checklists no longer line up across the three columns.
   Subgrid makes all three cards share the parent's row tracks, so every row
   is as tall as the tallest card's version of it. */
.pricing-grid .tier-flag--ghost { visibility: hidden; }

@media (min-width: 900px) {
  @supports (grid-template-rows: subgrid) {
    /* six rows: flag, title, price, description, checklist, button */
    .pricing-grid { grid-template-rows: auto auto auto auto 1fr auto; row-gap: 1rem; }
    .pricing-grid > .tier { display: grid; grid-row: span 6; grid-template-rows: subgrid; }
    /* The checklist row is 1fr so buttons sit on a common baseline. Without
       these the list itself stretches and its items drift apart. */
    .pricing-grid > .tier > .checklist { align-self: start; align-content: start; }
  }
}

/* ------------------------------------------------------- Testimonials -- */
.quote { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .9rem; }
.quote blockquote { font-size: 1.03rem; }
.quote figcaption { font-size: .9rem; color: var(--muted); }
.quote cite { font-style: normal; font-weight: 600; color: var(--ink); font-family: var(--font-head); display: block; }
.stars { display: flex; gap: .12rem; }
.stars svg { width: 17px; height: 17px; }

/* ----------------------------------------------------------- Accordion -- */
.faq-list { display: grid; gap: .75rem; }
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
details.faq[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
details.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.03rem; position: relative;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 1.35rem; top: 1.45rem; width: 12px; height: 12px;
  border-right: 2.5px solid var(--brand-deep); border-bottom: 2.5px solid var(--brand-deep);
  transform: rotate(45deg); transition: transform .2s ease;
}
details.faq[open] summary::after { transform: rotate(-135deg); top: 1.65rem; }
details.faq summary:hover { background: var(--brand-wash); }
.faq-body { padding: 0 1.35rem 1.35rem; color: var(--muted); }
.faq-body > * + * { margin-top: .8rem; }

/* ------------------------------------------------------------ Chiplist -- */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a, .chips span {
  display: inline-block; padding: .45rem .95rem; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line-strong); font-size: .92rem; text-decoration: none; color: var(--ink);
}
.chips a:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }

/* ----------------------------------------------------------- CTA band -- */
.cta-band { background: var(--brand-ink); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cddbba; margin-top: .85rem; }
.cta-band .btn--secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.cta-band .btn--secondary:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.cta-band-inner { display: grid; gap: 1.75rem; padding-block: clamp(2.75rem, 5.5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; } }
.cta-band-actions { display: grid; gap: .75rem; }
@media (min-width: 480px) { .cta-band-actions { grid-auto-flow: column; justify-content: start; } }
@media (min-width: 900px) { .cta-band-actions { grid-auto-flow: row; justify-items: stretch; } }

/* ------------------------------------------------------------- Footer -- */
.site-footer { background: var(--brand-ink); color: #c3d1b1; padding-block: clamp(2.75rem, 5vw, 3.75rem) 0; border-top: 4px solid var(--brand); }
.site-footer a { color: #c3d1b1; text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.footer-brand .brand-name, .footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: .9rem; font-size: .94rem; line-height: 1.6; }
.footer-nap { margin-top: 1.15rem; display: grid; gap: .45rem; font-size: .94rem; font-style: normal; }
.footer-nap strong { color: var(--white); font-weight: 600; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: .9rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .94rem; }
.footer-bottom {
  margin-top: clamp(2.25rem, 4vw, 3rem); border-top: 1px solid rgba(255,255,255,.13);
  padding-block: 1.35rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; font-size: .86rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* --------------------------------------------------------------- Form -- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.35rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.field .req { color: var(--danger); }
.field .hint { font-size: .82rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--white); font-size: 1rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field select { appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6650' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-deep); box-shadow: 0 0 0 3px rgba(51, 80, 15, .14); }
.field .error-msg { font-size: .84rem; color: var(--danger); font-weight: 600; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error-msg { display: block; }

/* Honeypot: visually hidden but not display:none (bots skip display:none) */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent-box {
  background: var(--brand-wash); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 1.1rem 1.15rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start;
}
.consent-box input[type="checkbox"] { width: 20px; height: 20px; margin-top: .18rem; accent-color: var(--brand-deep); flex: none; }
.consent-box label { font-size: .875rem; line-height: 1.55; color: var(--ink); font-family: var(--font-body); font-weight: 400; }
.consent-box a { font-weight: 600; }
.consent-optional { display: block; margin-top: .5rem; font-size: .82rem; color: var(--muted); }

.form-status { display: none; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .94rem; }
.form-status.is-visible { display: block; }
.form-status--error { background: #fbeae5; border: 1px solid #e5c3b8; color: #6b2412; }

.form-success {
  display: none; text-align: center; padding: clamp(1.75rem, 4vw, 2.75rem) 1.25rem;
  background: var(--brand-soft); border: 1.5px solid var(--brand); border-radius: var(--radius);
}
.form-success.is-visible { display: block; }
.form-success h2 { margin-bottom: .75rem; }
.form-success svg { width: 54px; height: 54px; margin: 0 auto 1rem; }

/* ------------------------------------------------------------- Utility -- */
.stack-sm > * + * { margin-top: .5rem; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--brand); border-top: 1px solid rgba(22,32,12,.15);
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem;
  box-shadow: 0 -4px 18px rgba(22,32,12,.12);
}
.sticky-call .btn { padding: .65rem 1rem; font-size: .95rem; }
.sticky-call .btn--primary { background: var(--white); }
.sticky-call .btn--secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
@media (min-width: 900px) { .sticky-call { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 4.25rem; } }
