/* ==========================================================================
   Everwell Primary Care Services — Stylesheet ("Evergreen Teal")
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Brand tokens ----------------------------------------------------------
   Contrast ratios (WCAG 2.x), text on background:
     --teal  on white 9.39, on --ground 8.93, on --mist 8.41
     --pine  on white 14.16, on --ground 13.48, on --mist 12.69, on --leaf 6.65
     --blue  on white 5.37, on --ground 5.11, on --mist 4.81
     --muted on white 7.50, on --ground 7.13, on --mist 6.71
     white   on --teal 9.39, on --pine 14.16
     --leaf  on --pine 6.65 (leaf is never text on teal: 4.41, below 4.5)
     --ever-green on white 5.61
     --on-dark (#C9DAD4) on --pine 9.75, on --teal 6.46
     --danger on white 6.54
   Non-text: --control-border on white 3.75 (form fields need 3:1). */
:root {
  --teal: #0D4F4B;        /* headings, primary buttons, CTA band */
  --teal-hover: #0A3D3A;  /* white on it 12.06 */
  --pine: #10302D;        /* body text, footer background */
  --blue: #1F6FAA;        /* links, eyebrows, small accents */
  --blue-hover: #175A8C;  /* on white 7.30 */
  --leaf: #8CC152;        /* accents on dark backgrounds only; text on it is --pine */
  --leaf-hover: #9FD066;  /* pine on it 7.88 */
  --ever-green: #3A7520;  /* "Ever" in the header name, from the logo: on white 5.61 */
  --mist: #EDF4F1;        /* tinted panels and section grounds */
  --mist-hover: #DCEBE5;  /* pine on it 11.50 */
  --ground: #F7FAF8;      /* page background; white bands alternate with it */
  --white: #FFFFFF;
  --border: #D3E2DC;      /* hairlines and card edges (decorative) */
  --control-border: #6B8A84;
  --muted: #3E5A56;       /* body copy */
  --on-dark: #C9DAD4;     /* secondary text on pine and teal */
  --danger: #B3261E;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(16, 48, 45, 0.08);
  --max-width: 1200px;
  --gutter: 24px;
  --font-heading: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--pine);
  background: var(--ground);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1180px) { body { padding-bottom: 76px; } } /* room for .mobile-cta */

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--teal); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p, li, dd { color: var(--muted); }
strong { color: var(--pine); font-weight: 600; }

a { color: var(--blue); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

.section { padding: 88px 0; }
@media (max-width: 760px) { .section { padding: 60px 0; } }
.band-white { background: var(--white); }
.band-ground { background: var(--ground); }
.band-mist { background: var(--mist); }

.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.lead { font-size: 1.15rem; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--teal); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--white); }
.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; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center; border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-hover); color: var(--white); }
.btn-mist { background: var(--mist); color: var(--pine); border-color: var(--border); }
.btn-mist:hover { background: var(--mist-hover); color: var(--pine); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--mist); color: var(--teal); }
.btn-leaf { background: var(--leaf); color: var(--pine); }
.btn-leaf:hover { background: var(--leaf-hover); color: var(--pine); }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link { font-weight: 600; color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---- Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); }
.nav-wrap { display: flex; align-items: center; gap: 20px; min-height: 96px; }
/* Header lockup: the tree mark plus the name in live text. The full stacked
   logo (assets/logo.png) is unreadable at header height: its "Primary Care
   Services" line would be about 4px tall. "Ever" in --ever-green, "well" in
   --blue, echoing the logo. */
.brand { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; margin-right: auto; text-decoration: none; }
.brand img { height: 58px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.05; }
.brand-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.01em; color: var(--blue); }
.brand-ever { color: var(--ever-green); }
.brand-sub { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.main-nav, .nav-actions { flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-item > a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px;
  color: var(--pine); font-weight: 500; text-decoration: none; border-radius: var(--radius-sm); white-space: nowrap;
}
.main-nav > a:hover, .nav-item > a:hover { color: var(--teal); background: var(--mist); }
.main-nav a.active { color: var(--teal); font-weight: 700; box-shadow: inset 0 -3px 0 var(--leaf); border-radius: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; margin-left: -6px; border-radius: var(--radius-sm); color: var(--pine); }
.sub-toggle svg { width: 16px; height: 16px; transition: transform 0.15s; }
.sub-toggle:hover { background: var(--mist); }
.nav-item.is-open .sub-toggle svg { transform: rotate(180deg); }
.sub-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; padding: 8px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.nav-item.is-open .sub-menu { display: block; }
.sub-menu a { display: block; padding: 10px 14px; color: var(--pine); text-decoration: none; border-radius: 8px; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--mist); color: var(--teal); }
.nav-actions { display: flex; gap: 10px; flex-shrink: 0; }
.nav-actions .btn { min-height: 44px; padding: 10px 18px; }
.nav-menu-actions { display: none; }
.nav-call, .nav-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-wrap { min-height: 84px; gap: 8px; }
  .brand img { height: 50px; }
  .brand-name { font-size: 1.4rem; }
  .nav-actions { display: none; }
  .nav-call, .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; }
  .nav-call { color: var(--teal); background: var(--mist); }
  .nav-call svg { width: 22px; height: 22px; }
  .nav-toggle { flex-direction: column; gap: 5px; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--pine); border-radius: 2px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-item > a { padding: 12px 8px; }
  .main-nav a.active { box-shadow: inset 4px 0 0 var(--leaf); padding-left: 14px; }
  .nav-item { flex-wrap: wrap; }
  .nav-item > a { flex: 1; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .sub-menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .nav-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
}
@media (max-width: 380px) { .brand img { height: 40px; } .brand { gap: 8px; } .brand-name { font-size: 1.2rem; } .brand-sub { font-size: 0.68rem; letter-spacing: 0.02em; } }

/* ---- Hero ---------------------------------------------------------------- */
.hero { background: var(--ground); padding: 64px 0 88px; }
/* The photo column is capped so the hero stays close to one screen tall. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.hero h1 { text-wrap: balance; }
.hero h1 .accent { color: var(--blue); display: block; }
.hero .lead { margin-top: 20px; max-width: 34em; }
.hero-accepting { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 7px 16px 7px 12px; border-radius: 999px; background: var(--mist); border: 1px solid var(--border); color: var(--pine); font-weight: 600; font-size: 0.95rem; }
.hero-accepting::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ever-green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.state-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.state-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.state-card h2 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.state-card p { font-size: 0.95rem; line-height: 1.5; }
.hero-photo { margin: 0; }
.photo-panel { background: var(--leaf); border-radius: 28px; padding: 28px 28px 0; overflow: hidden; }
.photo-panel img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px 20px 0 0; background: var(--mist); color: var(--pine); }
.hero-photo figcaption { margin-top: 14px; }
.hero-photo figcaption strong { display: block; font-family: var(--font-heading); color: var(--teal); font-size: 1.1rem; }
.hero-photo figcaption span { color: var(--muted); }
@media (max-width: 900px) {
  .hero { padding: 40px 0 60px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-photo { max-width: 440px; }
}
@media (max-width: 520px) {
  .state-cards { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .photo-panel { padding: 18px 18px 0; border-radius: 22px; }
}

/* ---- Two-column bands (What we treat, About) ----------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.split-head p { margin-top: 14px; }
.split-head .text-link { display: inline-block; margin-top: 18px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.treat-list { border-top: 1px solid var(--border); }
.treat-list li { border-bottom: 1px solid var(--border); }
.treat-list a { display: grid; grid-template-columns: minmax(180px, 0.8fr) 1.2fr; gap: 6px 24px; align-items: baseline; padding: 20px 4px; text-decoration: none; }
.treat-list a:hover { background: var(--mist); }
.treat-name { font-family: var(--font-heading); font-weight: 500; font-size: 1.12rem; color: var(--teal); }
.treat-line { color: var(--muted); }
@media (max-width: 640px) { .treat-list a { grid-template-columns: minmax(0, 1fr); } }

.values-panel { background: var(--mist); border-radius: var(--radius); padding: 32px; }
.values-panel h3 { margin-bottom: 14px; }
.values-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.values-panel li { position: relative; padding-left: 22px; color: var(--pine); font-weight: 600; }
.values-panel li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
@media (max-width: 520px) { .values-panel ul { grid-template-columns: minmax(0, 1fr); } .values-panel { padding: 24px; } }

/* ---- Prices -------------------------------------------------------------- */
.fee-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fee-card { background: var(--ground); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.band-ground .fee-card, .band-mist .fee-card { background: var(--white); }
.fee-card h3 { margin-bottom: 6px; }
.fee-card .fee-note { font-size: 0.95rem; margin-bottom: 14px; }
.fee-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.fee-list > div:last-child { border-bottom: 0; }
.fee-list dt { color: var(--pine); }
.fee-list dd { color: var(--teal); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-cards-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
@media (max-width: 760px) { .fee-cards { grid-template-columns: minmax(0, 1fr); } .fee-card { padding: 22px; } }

.fee-table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.fee-table thead th { background: var(--mist); color: var(--teal); font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem; }
.fee-table tbody th { font-weight: 500; color: var(--pine); }
.fee-table td { font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-table tbody tr:last-child > * { border-bottom: 0; }
.not-offered { font-weight: 400; color: var(--muted); }
@media (max-width: 600px) {
  .fee-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fee-table tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--border); }
  .fee-table tbody tr:last-child { border-bottom: 0; }
  .fee-table th, .fee-table td { display: flex; justify-content: space-between; padding: 4px 0; border: 0; }
  .fee-table td::before { content: attr(data-label); font-weight: 400; color: var(--muted); }
}
.last-checked { font-size: 0.9rem; margin-top: 14px; }

.insurance-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 10px; }
.chip-logo { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.chip-logo img { max-height: 44px; width: auto; }
.logo-note { font-size: 0.85rem; }
@media (max-width: 560px) { .insurance-logos { grid-template-columns: minmax(0, 1fr); } }

.state-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.state-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.state-panel h3 { margin-bottom: 10px; }
.state-panel ul { margin-top: 12px; display: grid; gap: 8px; }
.state-panel li { position: relative; padding-left: 20px; }
.state-panel li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
@media (max-width: 760px) { .state-grid { grid-template-columns: minmax(0, 1fr); } }

.badge-soon { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--mist); border: 1px solid var(--border); color: var(--pine); font-size: 0.8rem; font-weight: 600; font-family: var(--font-body); vertical-align: middle; }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { background: var(--teal); padding: 72px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band h2 { color: var(--white); max-width: 18em; }
.cta-band p { color: var(--on-dark); margin-top: 10px; }

/* ---- Inner pages --------------------------------------------------------- */
.page-header { background: var(--mist); padding: 64px 0 56px; border-bottom: 1px solid var(--border); }
.page-header p { margin-top: 14px; max-width: 40em; font-size: 1.12rem; }
@media (max-width: 760px) { .page-header { padding: 44px 0 40px; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.callout { background: var(--mist); border-left: 4px solid var(--teal); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 36px; }
.callout p { color: var(--pine); }

/* About page */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.about-grid .photo-panel { position: sticky; top: 120px; }
.about-grid .prose p + p { margin-top: 16px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.mv-card h2 { font-size: 1.4rem; margin-bottom: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--teal); border-radius: var(--radius-sm); padding: 24px; }
.value-card h3 { margin-bottom: 8px; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-grid .photo-panel { position: static; max-width: 420px; }
  .mv-grid, .values-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Services page */
.service-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--border); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: 1.6rem; }
.service-block p + p, .service-block p + ul { margin-top: 12px; }
.service-block ul { display: grid; gap: 8px; }
.service-block ul li { position: relative; padding-left: 20px; }
.service-block ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.service-block .text-link { display: inline-block; margin-top: 16px; }
@media (max-width: 760px) { .service-block { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* FAQ */
.faq-list { max-width: 820px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-family: var(--font-heading); font-weight: 500; color: var(--teal); font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 22px 22px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
@media (max-width: 520px) { .card { padding: 22px; } }
.contact-list { display: grid; gap: 22px; margin-top: 24px; }
.contact-list h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.map-frame { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; }

/* Forms */
.request-form { margin-top: 22px; display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field[hidden] { display: none; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-field label, .choice-group legend { font-weight: 600; color: var(--pine); }
.form-field input[type="text"], .form-field input[type="tel"], .form-field input[type="email"], .form-field select {
  min-height: 48px; padding: 10px 14px; border: 1px solid var(--control-border); border-radius: var(--radius-sm); background: var(--white); color: var(--pine);
}
.form-field input:focus-visible, .form-field select:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.optional { font-weight: 400; color: var(--muted); }
.choice-group { border: 0; padding: 0; margin: 0; }
.choice-group legend { padding: 0; margin-bottom: 8px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1px solid var(--control-border); border-radius: var(--radius-sm); background: var(--white); color: var(--pine); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--mist); box-shadow: inset 0 0 0 1px var(--teal); }
.choice input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; }
.form-privacy { background: var(--mist); border-radius: var(--radius-sm); padding: 12px 16px; color: var(--pine); font-size: 0.95rem; }
.form-note { font-size: 0.9rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--pine); color: var(--on-dark); padding: 64px 0 28px; }
.site-footer p, .site-footer li { color: var(--on-dark); }
.site-footer strong { color: var(--white); }
.site-footer a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.45); }
.site-footer a:hover { color: var(--leaf); text-decoration-color: currentColor; }
.site-footer :focus-visible { outline-color: var(--leaf); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand strong { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: 8px; }
.footer-head { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leaf); margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(201, 218, 212, 0.25); font-size: 0.92rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.mobile-cta { display: none; }
@media (max-width: 1180px) {
  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--border);
  }
  .mobile-cta .btn-primary { flex: 1; }
  .mobile-cta .btn-outline { padding: 12px 18px; }
}

/* ---- Motion -------------------------------------------------------------- */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }
