/* =========================================================
   Shumaila Health Advisor — stylesheet
   Palette: evergreen + warm cream + apricot accent
   ========================================================= */

:root {
  --ink: #10282a;
  --ink-soft: #3d5254;
  --muted: #5f7173;
  --evergreen: #123b3a;
  --evergreen-800: #0c2d2c;
  --teal: #1f6f68;
  --teal-300: #8cc3b6;
  --sage: #dce8e2;
  --mint: #eef5f1;
  --cream: #fbf7f0;
  --sand: #f4ebdd;
  --apricot: #e9875e;
  --apricot-600: #d2693f;
  --apricot-100: #fbe6db;
  --white: #ffffff;
  --line: #e5ddd0;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 42, .06), 0 2px 8px rgba(16, 40, 42, .05);
  --shadow: 0 10px 30px -12px rgba(16, 40, 42, .22);
  --shadow-lg: 0 30px 60px -25px rgba(16, 40, 42, .35);
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--evergreen); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--evergreen);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--evergreen); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.muted { color: var(--muted); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Placeholder highlight (turn off with "highlightPlaceholders": false) */
mark.ph {
  background: #fff3b0;
  color: #5b4a00;
  border: 1px dashed #c9a400;
  border-radius: 4px;
  padding: 0 .3em;
  font-weight: 600;
  font-size: .92em;
}
.site-footer mark.ph, .cta-band mark.ph, .mobile-call-bar mark.ph, .btn mark.ph { background: #fff3b0; color: #5b4a00; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-primary { background: var(--evergreen); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--evergreen-800); color: #fff; box-shadow: var(--shadow); }
.btn-accent { background: var(--apricot); color: var(--ink); }
.btn-accent:hover { background: #f0976f; color: var(--ink); box-shadow: 0 10px 24px -10px rgba(210, 105, 63, .6); }
.btn-outline { border-color: var(--evergreen); color: var(--evergreen); background: transparent; }
.btn-outline:hover { background: var(--evergreen); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- utility bar + header ---------- */
.utility-bar { background: var(--evergreen-800); color: #cfe0da; font-size: .84rem; }
.utility-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.utility-inner p { display: flex; align-items: center; gap: .45rem; margin: 0; }
.utility-inner .icon { color: var(--teal-300); width: 1.05em; height: 1.05em; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* Blur lives on a pseudo-element so the fixed mobile menu is positioned against the viewport */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 247, 240, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(16,40,42,.4); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--evergreen); }
.brand img { border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-top: .2rem; }
.brand-light { color: #fff; }
.brand-light .brand-sub { color: var(--teal-300); }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a:not(.btn) {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  color: var(--ink-soft); font-weight: 600; font-size: .96rem; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.primary-nav a:not(.btn):hover { background: var(--sage); color: var(--evergreen); }
.primary-nav a[aria-current="page"] { background: var(--evergreen); color: #fff; }
.nav-call { display: none; }

.header-call { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.header-call-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--apricot); color: var(--ink);
}
.header-call-text { display: flex; flex-direction: column; line-height: 1.2; }
.header-call-text small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.header-call-text strong { font-size: 1.02rem; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--evergreen); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 1100px) {
  .header-call { display: none; }
}
@media (max-width: 920px) {
  .utility-hours { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; top: var(--header-offset, 70px); z-index: 70;
    width: min(100%, 420px); background: var(--cream);
    padding: 1.25rem 1.25rem 2rem; border-left: 1px solid var(--line);
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .32s var(--ease), visibility .32s;
    overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  .primary-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: .3rem; }
  .primary-nav a:not(.btn) { padding: .95rem 1rem; font-size: 1.08rem; border-radius: 14px; }
  .nav-call { display: flex; width: 100%; margin-top: 1.25rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-white { background: var(--white); }
.section-mint { background: var(--mint); }
.section-sand { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--apricot-600); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #ffc3a6; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(140,195,182,.35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(233,135,94,.16), transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: italic; color: var(--teal); font-weight: 500; }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.4rem; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.hero-assurances li { display: flex; align-items: center; gap: .45rem; }
.hero-assurances .icon { color: var(--teal); }

.hero-visual { position: relative; }
.hero-arch {
  position: relative; aspect-ratio: 4 / 4.6; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: linear-gradient(160deg, var(--evergreen) 0%, #1c5753 60%, var(--teal) 100%);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-arch svg.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.15rem; font-size: .92rem;
  animation: floaty 7s ease-in-out infinite;
}
.float-card h3 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; color: var(--ink); margin: 0 0 .5rem; }
.float-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.float-card li { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); }
.float-card li .icon { color: var(--teal); width: 1.1em; height: 1.1em; }
.float-card.float-list { left: -8%; bottom: 12%; width: min(260px, 72%); }
.float-card.period { right: -5%; top: 10%; display: flex; align-items: center; gap: .75rem; animation-delay: -3.5s; }
.float-card .badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--apricot-100); color: var(--apricot-600); }
.float-card .period-text { line-height: 1.3; }
.float-card .period-text small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.float-card .period-text strong { color: var(--ink); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* TPMO strip under hero */
.tpmo-strip { background: var(--white); border-block: 1px solid var(--line); }
.tpmo-strip .container { display: flex; gap: .9rem; align-items: flex-start; padding-block: 1.1rem; font-size: .9rem; color: var(--ink-soft); }
.tpmo-strip .icon { color: var(--teal); margin-top: .2rem; }
.tpmo-strip p { margin: 0; }
.tpmo strong { font-weight: 600; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--evergreen); color: #e3eeea;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px;
  border-radius: 50%; border: 70px solid rgba(140,195,182,.12); pointer-events: none;
}
.page-hero::before {
  content: ""; position: absolute; right: 12%; bottom: -60px; width: 160px; height: 160px;
  border-radius: 50%; background: rgba(233,135,94,.18); pointer-events: none;
}
.page-hero h1 { color: #fff; max-width: 780px; }
.page-hero .lead { color: #d3e4de; max-width: 680px; }
.page-hero .eyebrow { color: #ffc3a6; }
.breadcrumb { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .88rem; color: #a9c6bd; }
.breadcrumb a { color: #d3e4de; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.page-hero .hero-actions { margin-bottom: 0; }

/* ---------- cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6cdbd; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--mint); color: var(--teal); margin-bottom: 1.15rem;
}
.card-icon .icon { width: 26px; height: 26px; }
.card-icon.warm { background: var(--apricot-100); color: var(--apricot-600); }

/* Service feature (home) */
.service {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem); overflow: hidden;
  min-height: 100%;
}
.service-dark { background: var(--evergreen); color: #d9e7e2; }
.service-dark h3 { color: #fff; }
.service-light { background: var(--white); border: 1px solid var(--line); }
.service h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.service .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1.2rem; }
.service-dark .tag { background: rgba(255,255,255,.1); color: #ffc3a6; }
.service-light .tag { background: var(--mint); color: var(--teal); }
.service ul { list-style: none; padding: 0; margin: .5rem 0 1.8rem; display: grid; gap: .6rem; }
.service li { display: flex; gap: .6rem; align-items: flex-start; }
.service li .icon { margin-top: .25rem; color: var(--teal-300); }
.service-light li .icon { color: var(--teal); }
.service .btn { margin-top: auto; align-self: flex-start; }
.service-glyph { position: absolute; right: -30px; top: -30px; width: 170px; height: 170px; opacity: .08; color: #fff; }
.service-light .service-glyph { color: var(--evergreen); opacity: .05; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 2rem 1.8rem 1.8rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1;
  color: var(--apricot); display: block; margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* Enrollment timeline */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.period-card { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border-top: 5px solid var(--teal); box-shadow: var(--shadow-sm); }
.period-card:nth-child(2) { border-top-color: var(--apricot); }
.period-card:nth-child(3) { border-top-color: var(--evergreen); }
.period-card .dates { font-family: var(--font-display); font-size: 1.35rem; color: var(--evergreen); margin-bottom: .2rem; }
.period-card h3 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.period-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.note { font-size: .9rem; color: var(--muted); margin-top: 1.4rem; }

/* Split / feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .tick { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--evergreen); margin-top: .1rem; }
.checklist .tick .icon { width: 16px; height: 16px; }
.checklist strong { display: block; color: var(--ink); }
.checklist span.desc { color: var(--ink-soft); font-size: .98rem; }

.panel {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.panel-sand { background: var(--sand); border-color: #eadfcd; box-shadow: none; }
.panel h3 { margin-bottom: .8rem; }

/* Definition list (plan types) */
.type-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.type-item { display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.type-item .abbr { flex: none; display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 .5rem; border-radius: 16px; background: var(--evergreen); color: #fff; font-weight: 800; letter-spacing: .04em; font-size: .95rem; }
.type-item h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.type-item p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Callout */
.callout { display: flex; gap: 1rem; align-items: flex-start; background: var(--apricot-100); border-left: 5px solid var(--apricot); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; color: #5a3322; }
.callout .icon { color: var(--apricot-600); margin-top: .2rem; }
.callout p { margin: 0; }
.callout-cool { background: var(--mint); border-left-color: var(--teal); color: var(--ink-soft); }
.callout-cool .icon { color: var(--teal); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.2rem 1.4rem; font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--teal); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }
.faq .faq-body p:last-child { margin: 0; }

/* Agent profile */
.agent-card { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; }
.agent-photo {
  aspect-ratio: 1; border-radius: 50% 50% var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--sage), var(--mint)); display: grid; place-items: center;
  color: var(--teal); border: 2px dashed var(--teal-300); text-align: center; padding: 1rem; font-size: .88rem; font-weight: 600;
}
.agent-photo .icon { width: 56px; height: 56px; margin: 0 auto .5rem; }
.agent-meta { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; font-size: .98rem; }
.agent-meta li { display: flex; gap: .5rem; flex-wrap: wrap; }
.agent-meta b { color: var(--ink); min-width: 140px; }

/* Values row */
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value .card-icon { margin: 0; flex: none; }
.value h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.value p { color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--evergreen); color: #d4e3de; padding-block: clamp(3.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -100px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(140,195,182,.1); }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
.cta-small { font-size: .85rem; color: #a9c6bd; margin: .2rem 0 0; text-align: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 2rem; align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 120px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--ink); }
.field .req { color: var(--apricot-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; min-height: 50px; border-radius: 12px;
  border: 1.5px solid #d8cfc1; background: #fffdf9;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31,111,104,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b4321f; }
.field-hint { font-size: .84rem; color: var(--muted); }
.field-error { font-size: .86rem; color: #b4321f; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); background: var(--mint); padding: 1rem; border-radius: 12px; }
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: .15rem; flex: none; accent-color: var(--evergreen); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.form-small { font-size: .84rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.success { background: #e3f3ea; color: #1d5b3a; border: 1px solid #b8dfc8; }
.form-status.info { background: var(--apricot-100); color: #5a3322; border: 1px solid #f2c9b4; }
.form-status.error { background: #fbe4e0; color: #8a2414; border: 1px solid #f0bdb3; }

.contact-aside { display: grid; gap: 1.2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .card-icon { margin: 0; width: 48px; height: 48px; flex: none; }
.contact-item h3 { font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .2rem; }
.contact-item p { margin: 0; font-weight: 600; }
.contact-item a { color: var(--ink); text-decoration: none; }
.contact-item a:hover { color: var(--teal); text-decoration: underline; }
.big-phone { font-family: var(--font-display); font-size: 1.6rem; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.55rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.legal li { margin-bottom: .4rem; }
.draft-banner { display: flex; gap: .8rem; align-items: flex-start; background: #fff3b0; border: 1px dashed #c9a400; color: #5b4a00; padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 2rem; font-size: .95rem; }
.draft-banner .icon { margin-top: .15rem; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 2rem; }
.toc h2 { font-size: 1rem; font-family: var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .6rem; }
.toc ol { margin: 0; columns: 2; column-gap: 2rem; }
.toc li { margin-bottom: .3rem; break-inside: avoid; }

/* ---------- footer ---------- */
.site-footer { background: var(--evergreen-800); color: #b9cfc8; font-size: .95rem; padding-top: 4rem; }
.site-footer a { color: #e3eeea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1fr; gap: 2.5rem; padding-bottom: 2.8rem; }
.footer-brand p { margin-top: 1.1rem; max-width: 320px; }
.footer-heading { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-contact li { display: flex; gap: .55rem; align-items: flex-start; flex-wrap: wrap; }
.footer-contact .icon { color: var(--teal-300); margin-top: .2rem; width: 1.1em; height: 1.1em; }
.footer-contact .muted { color: #8fb0a6; font-size: .85rem; }
.footer-license { margin-top: 1.2rem; font-size: .86rem; line-height: 1.7; }
.footer-disclaimers { border-top: 1px solid rgba(255,255,255,.1); padding-block: 2rem; font-size: .86rem; line-height: 1.65; color: #9dbab1; }
.footer-disclaimers .tpmo { color: #e3eeea; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1rem 1.2rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- mobile call bar ---------- */
.mobile-call-bar { display: none; }
@media (max-width: 720px) {
  .mobile-call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .7rem .8rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(12, 45, 44, .97); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.4);
  }
  .mobile-call-bar .btn { min-height: 50px; padding: .6rem .5rem; font-size: .95rem; }
  body { padding-bottom: 76px; }
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .cta-inner, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .grid-3, .steps, .timeline { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .type-list { grid-template-columns: 1fr; }
  .agent-card { grid-template-columns: 1fr; }
  .agent-photo { max-width: 200px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .utility-bar { display: none; }
  .header-inner { min-height: 70px; }
  .brand-name { font-size: 1.25rem; }
  .brand img { width: 40px; height: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { width: 100%; }
  .float-card.float-list { left: 0; }
  .float-card.period { right: 0; }
  .toc ol { columns: 1; }
  .agent-meta b { min-width: 0; width: 100%; }
}

/* stacked list of values inside a panel */
.stack { display: grid; gap: 1.4rem; margin-top: 1.4rem; }
.center-actions { justify-content: center; }

/* licensed states list */
.states-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem;
}
.states-grid li {
  display: flex; align-items: center; gap: .6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: .8rem 1rem; font-weight: 600; color: var(--ink);
}
.states-grid li::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 4px var(--sage);
}
@media (max-width: 720px) { .states-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; } .states-grid li { padding: .7rem .75rem; font-size: .95rem; } }

/* agent monogram (replaces photo) and plain address text */
.agent-photo { border-style: solid; }
.agent-monogram { font-family: var(--font-display); font-size: 5rem; font-weight: 600; color: var(--evergreen); line-height: 1; }
address { font-style: normal; display: inline; }

/* keep long footer contact lines beside their icons */
.footer-contact address, .footer-contact li > span:not(.muted) { flex: 1 1 0; min-width: 0; }
