/* ============================================================
   VITAL RECUPERATIVE CARE — shared stylesheet
   Palette is rooted in the sage/amber direction the owner
   styled into the reference build, but with deeper contrast,
   editorial typography, and more layered visual rhythm.
   ============================================================ */

:root {
  --forest:       #1F3A2E;
  --forest-deep:  #14261F;
  --sage:         #6B8F71;
  --sage-light:   #A8C4AB;
  --sage-pale:    #EDF4EE;
  --terracotta:   #C66B3D;
  --terracotta-l: #E28A52;
  --amber-pale:   #FDF3E7;
  --cream:        #FAF6EC;
  --paper:        #FEFCF7;
  --ink:          #1D2A21;
  --ink-mid:      #475A4C;
  --ink-soft:     #7A8F7B;
  --line:         #E3E9DF;
  --line-soft:    #F0F1EC;
  --shadow-sm:    0 1px 2px rgba(31,58,46,0.05), 0 2px 6px rgba(31,58,46,0.04);
  --shadow-md:    0 4px 10px rgba(31,58,46,0.06), 0 12px 30px rgba(31,58,46,0.08);
  --shadow-lg:    0 10px 40px rgba(31,58,46,0.10), 0 30px 80px rgba(31,58,46,0.10);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --max:          1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus-visible { outline: 3px solid var(--terracotta-l); outline-offset: 2px; border-radius: 4px; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--forest); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', 'Georgia', serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
}
h1 { font-size: clamp(2.25rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
}

/* ────────────────────────────────────────────── */
/* TOP BAR — utility strip above the nav          */
/* ────────────────────────────────────────────── */
.topbar {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: #F4E3D1; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar-l { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar-l span::before { content: "•"; margin-right: 0.5rem; color: var(--terracotta-l); }
.topbar-l span:first-child::before { display: none; }

/* ────────────────────────────────────────────── */
/* NAV                                            */
/* ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254,252,247,0.93);
  backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: inherit;
}
.brand img { width: 48px; height: 48px; }
.brand-text { line-height: 1.05; }
.brand-text .n1 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest-deep);
  display: block;
  letter-spacing: -0.01em;
}
.brand-text .n2 {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--terracotta);
}
.nav-links {
  display: flex; gap: 0.25rem; align-items: center; list-style: none;
}
.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink-mid);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.nav-links a:hover { color: var(--forest-deep); background: var(--sage-pale); }
.nav-links a.active { color: var(--forest-deep); background: var(--sage-pale); }
.nav-cta {
  background: var(--forest) !important; color: #fff !important;
  padding: 0.6rem 1.1rem !important; border-radius: 10px !important;
}
.nav-cta:hover { background: var(--forest-deep) !important; color: #fff !important; }

.hamburger { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--forest-deep);
  margin: 5px 0; border-radius: 2px; transition: all 0.25s;
}

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 1rem;
    transform: translateY(-120%); transition: transform 0.3s ease;
    gap: 0.25rem; box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.75rem 1rem; }
}

/* ────────────────────────────────────────────── */
/* LAYOUT PRIMITIVES                              */
/* ────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 10px;
  font-weight: 700; font-size: 0.92rem;
  text-decoration: none; transition: all 0.18s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--forest); color: #fff;
}
.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31,58,46,0.25);
}
.btn-ghost {
  background: transparent; color: var(--forest-deep);
  border-color: var(--sage-light);
}
.btn-ghost:hover { background: var(--sage-pale); border-color: var(--forest); }
.btn-amber {
  background: var(--terracotta); color: #fff;
}
.btn-amber:hover { background: #A8552F; transform: translateY(-2px); }

/* ────────────────────────────────────────────── */
/* HERO (home)                                    */
/* ────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--cream) 0%, var(--sage-pale) 55%, var(--paper) 100%);
  padding: 4rem 0 3rem;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(107,143,113,0.18), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ""; position: absolute; bottom: -100px; left: -100px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(198,107,61,0.16), transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line);
  padding: 0.45rem 0.9rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; color: var(--forest-deep);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; background: var(--terracotta); border-radius: 50%;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-lede {
  font-size: 1.1rem; color: var(--ink-mid); line-height: 1.75;
  margin-bottom: 2rem; max-width: 52ch;
}
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--sage-pale);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-overlay {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex; align-items: center; gap: 0.85rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.hero-media-overlay .ic {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--sage-pale); display: grid; place-items: center;
  color: var(--forest-deep);
}
.hero-media-overlay .t { font-size: 0.92rem; font-weight: 600; color: var(--forest-deep); }
.hero-media-overlay .s { font-size: 0.78rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ────────────────────────────────────────────── */
/* STATS BAND                                     */
/* ────────────────────────────────────────────── */
.stats {
  background: var(--forest);
  color: #fff;
  padding: 2.25rem 0;
}
.stats .row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
}
.stats .n {
  font-family: 'Fraunces', serif; font-size: 2.4rem; color: #fff; font-weight: 500;
  display: block; line-height: 1;
}
.stats .l {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-top: 0.45rem; font-weight: 600;
}
.stats .sep {
  display: none;
}
@media (max-width: 800px) {
  .stats .row { grid-template-columns: repeat(2, 1fr); }
}

/* ────────────────────────────────────────────── */
/* TRUSTED BY (insurers strip)                    */
/* ────────────────────────────────────────────── */
.insurers {
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 2.25rem 0;
}
.insurers .lbl {
  text-align: center;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-soft); margin-bottom: 1.25rem;
}
.insurer-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  align-items: stretch;
}
.insurer {
  display: flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  background: #fff; border: 1px solid var(--line-soft);
  padding: 1rem 0.9rem; border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700; font-size: 0.88rem; color: var(--forest-deep);
  min-height: 64px;
  transition: all 0.15s;
}
.insurer:hover { border-color: var(--sage-light); box-shadow: var(--shadow-sm); }
.insurer .ic {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--sage-pale); display: grid; place-items: center;
  color: var(--forest); flex-shrink: 0;
}
@media (max-width: 800px) {
  .insurer-row { grid-template-columns: repeat(2, 1fr); }
}

/* ────────────────────────────────────────────── */
/* SECTION HEADER                                 */
/* ────────────────────────────────────────────── */
.sh { max-width: 640px; margin-bottom: 2.5rem; }
.sh.center { text-align: center; margin-left: auto; margin-right: auto; }
.sh h2 { margin: 0.6rem 0 1rem; }
.sh p { color: var(--ink-mid); font-size: 1.05rem; line-height: 1.7; }

/* ────────────────────────────────────────────── */
/* FEATURE CARDS                                  */
/* ────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.fcard {
  background: #fff; border: 1px solid var(--line);
  padding: 1.75rem; border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.fcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--terracotta));
  opacity: 0; transition: opacity 0.3s;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage-light); }
.fcard:hover::before { opacity: 1; }
.fcard .ic {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--sage-pale); color: var(--forest-deep);
  margin-bottom: 1.1rem;
}
.fcard.amber .ic { background: var(--amber-pale); color: var(--terracotta); }
.fcard h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.fcard p { color: var(--ink-mid); font-size: 0.95rem; line-height: 1.65; }

/* ────────────────────────────────────────────── */
/* SPLIT PANEL (image + text)                     */
/* ────────────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  background: var(--sage-pale);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 1rem; }
.split .content p { color: var(--ink-mid); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1rem; }
.split .content ul { list-style: none; margin-top: 1.25rem; }
.split .content li {
  padding: 0.65rem 0; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: flex-start; gap: 0.75rem; color: var(--ink-mid); font-size: 0.95rem;
}
.split .content li:last-child { border-bottom: 0; }
.split .content li::before {
  content: "✓"; color: var(--terracotta); font-weight: 800; flex-shrink: 0;
  width: 22px; height: 22px; background: var(--amber-pale); border-radius: 50%;
  display: grid; place-items: center; font-size: 0.75rem; margin-top: 1px;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse { direction: ltr; }
}

/* ────────────────────────────────────────────── */
/* MISSION / CTA BAND                             */
/* ────────────────────────────────────────────── */
.mission {
  background: var(--forest); color: #fff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative; overflow: hidden;
}
.mission::before {
  content: ""; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(226,138,82,0.25), transparent 70%);
  border-radius: 50%;
}
.mission .eyebrow { color: var(--terracotta-l); position: relative; }
.mission h2 { color: #fff; margin: 0.6rem 0 1rem; position: relative; }
.mission p { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.75; position: relative; }
.mission .sig {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 1.25rem;
  color: var(--terracotta-l); margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15); position: relative;
}

/* ────────────────────────────────────────────── */
/* PROCESS STEPS                                  */
/* ────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.steps .step {
  background: #fff; border: 1px solid var(--line);
  padding: 1.5rem 1.25rem; border-radius: var(--radius-lg);
  position: relative;
}
.steps .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.6rem;
  line-height: 1;
}
.steps .step h4 { margin-bottom: 0.4rem; font-family: 'Fraunces', serif; font-size: 1.05rem; }
.steps .step p { font-size: 0.88rem; color: var(--ink-mid); line-height: 1.6; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ────────────────────────────────────────────── */
/* TESTIMONIAL                                    */
/* ────────────────────────────────────────────── */
.quote {
  background: var(--cream);
  border-left: 5px solid var(--terracotta);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem 2rem;
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem; left: 1.4rem;
  font-family: 'Fraunces', serif;
  font-size: 3.75rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.22;
  pointer-events: none;
}
.quote .big {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--forest-deep);
  margin-bottom: 1.25rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
}
.quote .who {
  font-size: 0.85rem; color: var(--ink-mid); font-weight: 600;
  line-height: 1.55;
}
.quote .who b { color: var(--forest-deep); display: block; margin-bottom: 0.15rem; }
.quote .who em { font-style: normal; color: var(--ink-soft); font-weight: 500; }

/* ────────────────────────────────────────────── */
/* FAQ ACCORDION                                  */
/* ────────────────────────────────────────────── */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem; margin-bottom: 0.75rem;
  transition: all 0.2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--sage-light); }
.faq summary {
  font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--forest-deep);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: 'Inter', sans-serif;
  font-size: 1.5rem; color: var(--terracotta);
  transition: transform 0.25s; flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.9rem; color: var(--ink-mid); line-height: 1.7; font-size: 0.95rem; }

/* ────────────────────────────────────────────── */
/* PAGE HEADER (non-home pages)                   */
/* ────────────────────────────────────────────── */
.page-head {
  padding: 4rem 0 3rem;
  background:
    radial-gradient(ellipse at top right, rgba(107,143,113,0.18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.page-head .wrap {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: end;
}
.page-head h1 { margin: 0.6rem 0 0.8rem; }
.page-head p.lede { color: var(--ink-mid); font-size: 1.1rem; line-height: 1.7; max-width: 52ch; }
.page-head .crumbs {
  font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.05em;
}
.page-head .crumbs a { color: var(--ink-mid); text-decoration: none; font-weight: 600; }
.page-head .crumbs a:hover { color: var(--forest); }
.page-head .aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.page-head .aside-card h4 { font-family: 'Inter'; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 0.5rem; }
.page-head .aside-card a { display: block; color: var(--forest-deep); text-decoration: none;
  font-weight: 700; font-size: 1.05rem; }
.page-head .aside-card .small { color: var(--ink-mid); font-size: 0.82rem; margin-top: 0.25rem; }

@media (max-width: 900px) {
  .page-head .wrap { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────── */
/* CTA BANNER                                     */
/* ────────────────────────────────────────────── */
.cta-band {
  background:
    linear-gradient(120deg, rgba(31,58,46,0.92), rgba(31,58,46,0.75)),
    radial-gradient(ellipse at bottom left, var(--terracotta), transparent 60%);
  color: #fff;
  padding: 4rem 0;
}
.cta-band .row {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-top: 0.75rem; }
.cta-band .actions { display: flex; gap: 0.75rem; justify-content: flex-end; flex-wrap: wrap; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 800px) {
  .cta-band .row { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
}

/* ────────────────────────────────────────────── */
/* FORM                                           */
/* ────────────────────────────────────────────── */
.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}
.form-section { margin-bottom: 2.25rem; }
.form-section:last-child { margin-bottom: 0; }
.form-sec-head {
  display: flex; gap: 0.85rem; align-items: center; margin-bottom: 1.25rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft);
}
.form-sec-head .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--sage-pale); color: var(--forest-deep);
  display: grid; place-items: center; flex-shrink: 0;
}
.form-sec-head .t { font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--forest-deep); }
.form-sec-head .s { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 700;
  color: var(--forest-deep); margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group label .req { color: var(--terracotta); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0; border-color: var(--forest); background: #fff;
  box-shadow: 0 0 0 3px rgba(107,143,113,0.18);
}
.form-group textarea { min-height: 92px; resize: vertical; }
.form-note {
  background: var(--sage-pale); border-radius: 10px;
  padding: 1rem 1.15rem; font-size: 0.88rem; line-height: 1.65; color: var(--ink-mid);
  margin-bottom: 1rem;
}
.form-success {
  display: none; background: var(--sage-pale); border: 1px solid var(--sage-light);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--forest-deep); margin-bottom: 0.5rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ────────────────────────────────────────────── */
/* FOOTER                                         */
/* ────────────────────────────────────────────── */
.footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.82);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer a:hover { color: #fff; }

.footer-top {
  max-width: var(--max); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-text .n1 { color: #fff; }
.footer-brand .brand-text .n2 { color: var(--terracotta-l); }
.footer-brand p {
  font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.7);
  margin-top: 1rem; max-width: 38ch;
}
.footer-col h5 {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--terracotta-l); margin-bottom: 1rem; font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { font-size: 0.92rem; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 1.75rem 1.5rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }

/* ────────────────────────────────────────────── */
/* UTILITY                                        */
/* ────────────────────────────────────────────── */
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.cols-heavy { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .cols-heavy { grid-template-columns: 1fr; } }

.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--sage-pale); color: var(--forest-deep);
  padding: 0.35rem 0.8rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
}
.chip.amber { background: var(--amber-pale); color: var(--terracotta); }

/* ────────────────────────────────────────────── */
/* INSURER BADGES (brand-tinted wordmarks)        */
/* ────────────────────────────────────────────── */
.insurer-brand {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line-soft);
  padding: 0.9rem 0.75rem; border-radius: var(--radius-md);
  min-height: 82px;
  transition: all 0.2s ease;
}
.insurer-brand:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.insurer-brand svg,
.insurer-brand img {
  width: 100%; height: auto;
  max-height: 46px;
  display: block;
  margin: 0 auto;
}

/* ────────────────────────────────────────────── */
/* SVG HERO / SPLIT IMAGES (our illustrations)    */
/* ────────────────────────────────────────────── */
.hero-media img.art,
.split-media img.art {
  object-fit: contain;
  background: linear-gradient(165deg, var(--sage-pale), var(--cream));
  padding: 1.5rem;
}

/* Real photo variant — no padding, fills frame, subtle warm overlay */
.hero-media img.photo,
.split-media img.photo {
  object-fit: cover;
  object-position: center;
  background: var(--sage-pale);
  padding: 0;
  filter: saturate(1.02) contrast(1.02);
}

/* ────────────────────────────────────────────── */
/* FILE UPLOAD ZONE (referral attachments)        */
/* ────────────────────────────────────────────── */
.upload-zone {
  position: relative;
  display: block;
  border: 2px dashed var(--sage-light);
  background: var(--sage-pale);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--forest);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.upload-zone input[type="file"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.upload-zone .uz-icon {
  width: 42px; height: 42px; margin: 0 auto 0.6rem;
  border-radius: 10px;
  background: #fff; border: 1px solid var(--sage-light);
  display: grid; place-items: center;
  color: var(--forest-deep);
}
.upload-zone .uz-t {
  font-weight: 700; color: var(--forest-deep);
  font-size: 0.92rem; letter-spacing: 0.01em;
}
.upload-zone .uz-s {
  font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.3rem;
}
.upload-zone .uz-list {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: var(--forest-deep);
  font-weight: 600;
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
}
.upload-zone .uz-list:empty { display: none; }
