/* ==========================================================================
   Karma Home Care LLC — site.css
   Design tokens, layout system and components.
   Palette: spruce / mist / honey.  Type: Newsreader (display) + Public Sans (UI)
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* colour */
  --ink:        #17233a;   /* body text */
  --ink-soft:   #4a5872;   /* secondary text */

  /* Brand colours sampled from the approved logo and flyer */
  --navy:       #001b4c;   /* brand navy: headings, primary buttons, links */
  --navy-500:   #0a3573;   /* lighter navy for hover states */
  --navy-700:   #021b44;   /* dark sections (matches the flyer band) */
  --navy-900:   #01142f;   /* footer */
  --navy-300:   #8aa3c4;   /* muted text on dark */
  --gold:       #b08839;   /* brand gold, a shade deeper so rules clear 3:1 on ivory */
  --gold-cta:   #c9a24e;   /* call-to-action fill */
  --gold-dark:  #7a5e1e;   /* gold-toned text on light backgrounds */
  --green:      #0b5434;   /* trust accent, from the logo tagline */

  --wash:       #e8ecf4;
  --wash-soft:  #f2f4f9;
  --paper:      #fbfaf8;   /* warm near-white, matching the flyer ground */
  --white:      #ffffff;
  --line:       rgba(0, 27, 76, 0.15);
  --line-strong:rgba(0, 27, 76, 0.30);
  --danger:     #9b2118;

  /* Aliases kept so earlier selectors keep resolving */
  --spruce:     var(--navy);
  --spruce-700: var(--navy-700);
  --spruce-900: var(--navy-900);
  --spruce-300: var(--navy-300);
  --honey:      var(--gold-cta);
  --honey-dark: var(--gold-dark);
  --cyan:       var(--gold);

  /* type */
  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* spacing scale */
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;

  --radius:   14px;
  --radius-s: 8px;
  --radius-pill: 999px;

  --shadow-s: 0 1px 2px rgba(0, 27, 76, 0.06), 0 2px 8px rgba(0, 27, 76, 0.06);
  --shadow-m: 0 2px 4px rgba(0, 27, 76, 0.05), 0 12px 28px rgba(0, 27, 76, 0.10);

  --wrap: 1140px;
  --measure: 68ch;
  --header-h: 76px;
}

/* ---------- 2. Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;      /* 17px — legible for older readers */
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--spruce-900);
  margin: 0 0 var(--s4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 var(--s4); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--spruce); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--spruce-700); }

strong { font-weight: 700; color: var(--spruce-900); }

ul, ol { margin: 0 0 var(--s4); padding-left: 1.25rem; max-width: var(--measure); }
li { margin-bottom: var(--s2); }
li::marker { color: var(--spruce-300); }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--s7) 0; }

/* Focus indicator: dark ring on light surfaces, honey ring on dark surfaces.
   Both exceed the WCAG 2.2 3:1 non-text contrast requirement. */
:focus-visible {
  outline: 3px solid var(--spruce-900);
  outline-offset: 3px;
  border-radius: 3px;
}
.utility :focus-visible,
.section--spruce :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.dayzone--night :focus-visible,
.dayzone--clock :focus-visible {
  outline-color: var(--honey);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--spruce-900);
  color: #fff;
  padding: var(--s3) var(--s5);
  border-radius: 0 0 var(--radius-s) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s5); }
.wrap-narrow { max-width: 780px; }

.section { padding-block: clamp(3rem, 1.5rem + 6vw, 5.5rem); }
.section--tight { padding-block: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--wash  { background: var(--wash-soft); }
.section--spruce { background: var(--spruce-700); color: #e8f0f5; }
.section--spruce h2, .section--spruce h3 { color: #fff; }
.section--spruce p { color: #c3d5e1; }

.section-head { max-width: 720px; margin-bottom: var(--s6); }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spruce);
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
  flex: none;
}
.section--spruce .eyebrow { color: var(--honey); }
.section--spruce .eyebrow::before { background: var(--honey); }

.lede { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--ink-soft); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 700px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--spruce); color: #fff; }
.btn--primary:hover { background: var(--navy-500); color: #fff; }

.btn--accent { background: var(--gold-cta); color: var(--navy); }
.btn--accent:hover { background: #b98f3a; color: var(--navy); }

.btn--ghost { background: transparent; color: var(--spruce); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--wash); color: var(--spruce-700); border-color: var(--spruce); }

.btn--onDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--onDark:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

.btn--wide { width: 100%; }
.btn--lg { font-size: 1.0625rem; padding: 1.05rem 1.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.btn-row--center { justify-content: center; }

/* ---------- 5. Header ---------------------------------------------------- */
.utility {
  background: var(--spruce-900);
  color: #c9dbe7;
  font-size: 0.875rem;
}
.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 40px;
  padding-block: 6px;
}
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.utility a:hover { color: var(--honey); text-decoration: underline; }
.utility__status { display: inline-flex; align-items: center; gap: var(--s2); }
.utility__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--honey); flex: none;
}
@media (max-width: 720px) {
  .utility .wrap { justify-content: center; }
  .utility__status { display: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--s5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand__lockup { height: 46px; width: auto; display: block; }
.footer__brand .brand__lockup { height: 62px; }



.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s5); }
.nav__list { display: flex; align-items: center; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav__link:hover { color: var(--spruce); border-bottom-color: var(--spruce-300); }
.nav__link[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: var(--s2);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--spruce-900);
  cursor: pointer;
  min-height: 44px;
}
.nav-toggle__bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    padding: var(--s4) var(--s5) var(--s6);
    flex-direction: column;
    align-items: stretch;
    gap: var(--s3);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding: 14px 0; font-size: 1.0625rem; border-bottom: 0; }
  .nav__link[aria-current="page"] { border-bottom: 0; }
  .nav .btn { margin-top: var(--s3); }
}

@media (max-width: 700px) {
  .site-header .wrap { gap: var(--s3); padding-inline: var(--s4); min-height: 68px; }
  .brand__lockup { height: 38px; }
  .nav-toggle { padding: 10px 13px; }
  :root { --header-h: 68px; }
}
@media (max-width: 400px) {
  .brand__lockup { height: 33px; }
  .nav-toggle { padding: 10px 11px; font-size: 0.875rem; }
}

/* Responsive line breaks in display headings */
.br-lg { display: none; }
@media (min-width: 940px) { .br-lg { display: inline; } }

/* ---------- 6. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%);
  padding-block: clamp(2.5rem, 1rem + 6vw, 5rem) clamp(3rem, 1.5rem + 6vw, 5.5rem);
}
.hero__arc {
  position: absolute;
  right: -12%;
  top: -30%;
  width: min(760px, 78vw);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr); gap: var(--s8); }
}
.hero h1 { margin-bottom: var(--s5); }
.hero__lede { font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-soft); }

/* status card — the decision-relevant facts, surfaced */
.status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}
.status-card__head {
  background: var(--spruce-700);
  color: #fff;
  padding: var(--s4) var(--s5);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status-card__body { padding: var(--s5); }
.status-item { display: flex; gap: var(--s3); padding-block: var(--s3); }
.status-item + .status-item { border-top: 1px solid var(--line); }
.status-item__icon { flex: none; width: 26px; height: 26px; margin-top: 2px; }
.status-item__title { font-weight: 700; color: var(--spruce-900); display: block; }
.status-item__note { font-size: 0.9375rem; color: var(--ink-soft); }
.status-card__foot {
  border-top: 1px solid var(--line);
  padding: var(--s5);
  background: var(--wash-soft);
}
.status-card__phone {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--spruce-900);
  text-decoration: none;
  display: block;
  letter-spacing: -0.01em;
}
.status-card__phone:hover { color: var(--spruce); text-decoration: underline; }
.status-card__label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* page hero for interior pages */
.page-hero {
  background: linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%);
  padding-block: clamp(2rem, 1rem + 4vw, 3.5rem) clamp(2.25rem, 1rem + 4vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: var(--s4); }
.page-hero .lede { max-width: 62ch; }

.breadcrumb { font-size: 0.875rem; color: var(--ink-soft); margin-bottom: var(--s4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; max-width: none; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--s2); }
.breadcrumb li + li::before { content: "/"; color: var(--spruce-300); }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- 7. Signature: day band -------------------------------------- */
.dayband { background: var(--white); }
.dayband__rail {
  display: grid;
  gap: 2px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
@media (min-width: 900px) { .dayband__rail { grid-template-columns: repeat(3, 1fr); } }

.dayzone { padding: var(--s5); display: flex; flex-direction: column; }
.dayzone--day   { background: #fbfdfe; }
.dayzone--night { background: var(--spruce-700); color: #d7e5ee; }
.dayzone--clock { background: var(--spruce-900); color: #d7e5ee; }
.dayzone--night h3, .dayzone--clock h3 { color: #fff; }

.dayzone__time {
  display: flex; align-items: center; gap: var(--s2);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s3);
}
.dayzone--night .dayzone__time, .dayzone--clock .dayzone__time { color: var(--honey); }
.dayzone__sky { width: 34px; height: 18px; flex: none; }
.dayzone__desc { font-size: 0.9375rem; margin-bottom: var(--s4); }
.dayzone--day .dayzone__desc { color: var(--ink-soft); }
.dayzone--night .dayzone__desc, .dayzone--clock .dayzone__desc { color: #b3c8d6; }

.dayzone__links { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.dayzone__links li { margin: 0; }
.dayzone__links a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: 12px 14px;
  border-radius: var(--radius-s);
  font-weight: 600; font-size: 0.9375rem;
  text-decoration: none;
  color: var(--spruce-900);
  background: rgba(0,27,76,.05);
}
.dayzone__links a:hover { background: var(--wash); color: var(--spruce-700); }
.dayzone__links a::after { content: "→"; color: var(--spruce-300); }
.dayzone--night .dayzone__links a, .dayzone--clock .dayzone__links a {
  background: rgba(255,255,255,.08); color: #fff;
}
.dayzone--night .dayzone__links a:hover, .dayzone--clock .dayzone__links a:hover { background: rgba(255,255,255,.18); }
.dayzone--night .dayzone__links a::after, .dayzone--clock .dayzone__links a::after { color: var(--honey); }

/* ---------- 8. Cards ----------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--spruce-300); box-shadow: var(--shadow-m); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--s3); }
.card p { font-size: 0.9688rem; color: var(--ink-soft); flex: 1; }
.card__icon { width: 44px; height: 44px; margin-bottom: var(--s4); }
.card__link {
  margin-top: var(--s4);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--spruce);
}
.card__link::after { content: "→"; transition: transform .18s ease; }
.card:hover .card__link::after { transform: translateX(3px); }
.card__link:focus-visible { outline-offset: 4px; }
/* whole-card click target without nesting links */
.card--linked { position: relative; }
.card--linked .card__link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

.value-card { background: transparent; border: 0; border-top: 3px solid var(--wash); padding: var(--s5) 0 0; }
.value-card:hover { transform: none; box-shadow: none; border-color: var(--honey); }
.value-card h3 { font-size: 1.1875rem; }
.value-card p { color: var(--ink-soft); }

/* ---------- 9. Notices & badges ------------------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.04em;
}
.badge--open { background: var(--wash); color: var(--spruce-700); border: 1px solid var(--line-strong); }
.badge--pending { background: #fbf1dc; color: var(--honey-dark); border: 1px solid rgba(224,163,46,.5); }

.notice {
  border-left: 4px solid var(--honey);
  background: #fcf5e7;
  padding: var(--s5);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  margin-block: var(--s5);
}
.notice h3, .notice h2 { font-size: 1.125rem; margin-bottom: var(--s2); }
.notice h2 { font-family: var(--display); }
.notice p { font-size: 0.9688rem; }
.notice--urgent { border-left-color: var(--danger); background: #fdeeec; }
.notice--urgent h3 { color: var(--danger); }

.payment-strip {
  display: grid; gap: var(--s4);
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--spruce);
  border-radius: var(--radius); padding: var(--s5);
}
@media (min-width: 760px) { .payment-strip { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.payment-strip h3 { font-size: 1.125rem; margin-bottom: var(--s2); }
.payment-strip p { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }

/* ---------- 10. Prose blocks --------------------------------------------- */
.prose h2 { margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s6); }
.prose ul { padding-left: 1.1rem; }
.prose li::marker { color: var(--honey); }

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: var(--s3);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--wash);
  border: 1px solid var(--line-strong);
}
.checklist li::after {
  content: "";
  position: absolute; left: 6px; top: 13px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--spruce);
  border-bottom: 2px solid var(--spruce);
  transform: rotate(-45deg);
}

.split { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s8); align-items: start; } }
@media (min-width: 900px) { .split--form { grid-template-columns: minmax(0,1.75fr) minmax(270px,1fr); gap: var(--s7); } }
.split--sticky > :last-child { position: sticky; top: calc(var(--header-h) + 24px); }

.panel {
  background: var(--wash-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s5);
}
.panel h3, .panel h2 { font-size: 1.125rem; margin-bottom: var(--s3); }
.panel ul { margin-bottom: 0; }

.def-list { display: grid; gap: var(--s5); }
.def-list__item { border-top: 1px solid var(--line); padding-top: var(--s4); }
.def-list__item h3 { font-size: 1.1875rem; margin-bottom: var(--s2); }
.def-list__item p { font-size: 0.9688rem; color: var(--ink-soft); }

/* ---------- 11. FAQ ------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--s5) 44px var(--s5) 0;
  position: relative;
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--spruce-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 8px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--spruce);
  border-bottom: 2px solid var(--spruce);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--spruce); }
.faq__answer { padding: 0 0 var(--s5); }
.faq__answer p { font-size: 1rem; }

/* ---------- 12. Forms ---------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-s);
}

fieldset { border: 0; padding: 0; margin: 0 0 var(--s7); }
fieldset:last-of-type { margin-bottom: var(--s5); }
legend {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--spruce-900);
  padding: 0 0 var(--s2);
  margin-bottom: var(--s4);
  border-bottom: 2px solid var(--wash);
  width: 100%;
}
.fieldset__hint { font-size: 0.9375rem; color: var(--ink-soft); margin-top: -0.5rem; margin-bottom: var(--s5); }

.field { margin-bottom: var(--s4); }
.field label, .field .label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--spruce-900);
  margin-bottom: 6px;
}
.field .req { color: var(--danger); }
.field .hint { display: block; font-weight: 400; font-size: 0.875rem; color: var(--ink-soft); margin-top: 2px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 0.75rem 0.875rem;
  min-height: 48px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23001b4c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--spruce);
  box-shadow: 0 0 0 3px rgba(0,27,76,.16);
  outline: none;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(155,33,24,.12);
}
.field .error {
  display: none;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 6px;
}
.field .error.is-shown { display: block; }

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

.choice-grid { display: grid; gap: var(--s2); }
@media (min-width: 620px) { .choice-grid--2 { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; align-items: flex-start; gap: var(--s3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9688rem;
  background: #fff;
  transition: border-color .15s ease, background .15s ease;
  min-height: 48px;
}
.choice:hover { border-color: var(--spruce); background: var(--wash-soft); }
.choice input { margin: 3px 0 0; width: 20px; height: 20px; accent-color: var(--spruce); flex: none; }
.choice:has(input:checked) { border-color: var(--spruce); background: var(--wash); }

.form-disclaimer {
  background: var(--wash-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: var(--s4);
  font-size: 0.9063rem;
  color: var(--ink-soft);
  margin-bottom: var(--s5);
}
.form-disclaimer p { max-width: none; }

.form-alert {
  border-radius: var(--radius-s);
  padding: var(--s4) var(--s5);
  margin-bottom: var(--s5);
  font-weight: 600;
  border: 1px solid;
}
.form-alert--error { background: #fdeeec; border-color: rgba(155,33,24,.4); color: var(--danger); }
.form-alert--ok { background: var(--wash); border-color: var(--line-strong); color: var(--spruce-700); }
.form-alert ul { margin: var(--s2) 0 0; }

.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.hp-field input, .hp-field label { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }

/* ---------- 13. CTA band -------------------------------------------------- */
.cta-band { background: var(--spruce-700); color: #e8f0f5; position: relative; overflow: hidden; }
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c1d4e0; margin-inline: auto; }
.cta-band__deco { position: absolute; inset: 0; opacity: .18; pointer-events: none; }

/* ---------- 14. Footer ---------------------------------------------------- */
.site-footer { background: var(--spruce-900); color: #b3c8d6; font-size: 0.9375rem; }
.site-footer a { color: #e4eef5; text-decoration: none; }
.site-footer a:hover { color: var(--honey); text-decoration: underline; }
.footer__top { display: grid; gap: var(--s6); padding-block: var(--s8) var(--s7); }
@media (min-width: 760px)  { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.footer h2, .footer h3 { color: #fff; }
.footer__title {
  font-family: var(--body);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 var(--s4);
}
.footer__motto { font-family: var(--display); font-size: 1.0625rem; color: #d9e6ef; margin: var(--s4) 0 var(--s5); max-width: 34ch; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer address { font-style: normal; margin-bottom: var(--s4); }
.footer__phone { font-weight: 700; }
.footer__pay { border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-s); padding: var(--s4); background: rgba(255,255,255,.04); }
.footer__pay strong { color: #fff; display: block; }
.footer__pay span { font-size: 0.875rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: var(--s5);
  display: flex; flex-wrap: wrap; gap: var(--s4);
  justify-content: space-between;
  font-size: 0.875rem;
  color: #93b0a4;
}
.footer__bottom p { margin: 0; max-width: none; }

/* ---------- 15. Utilities & motion --------------------------------------- */
.text-center { text-align: center; }
.mt-xs { margin-top: var(--s2); }
.mt-s  { margin-top: var(--s3); }
.mt-m  { margin-top: var(--s4); }
.mt-l  { margin-top: var(--s6); }
.mb-l  { margin-bottom: var(--s6); }
.payment-strip--single { grid-template-columns: 1fr; }
.footer__quick-cta a { color: #fff; font-weight: 700; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: var(--s4); }
.stack-lg > * + * { margin-top: var(--s6); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .utility, .cta-band, .nav-toggle, .site-footer { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}
