/* Hudson Valley Private Nursing — site stylesheet */

:root{
  /* Deep Clinical Navy — header, footer, hero headline, referral CTA: trust & authority */
  --navy:#103B3F;
  /* Care Coordination Teal — primary CTA, default icon accent: action & response */
  --teal:#1F6F68;
  --teal-light:#2C8C84;
  --teal-pale:#E1F2EF;
  /* Clinical Mist — hero background option: calm clarity */
  --mist:#F2F6F6;
  --mist-line:#CFE3E0;
  /* Sage — icon accent */
  --sage:#84A98C;
  --sage-pale:#E9F0EA;
  /* Amber — icon accent (decorative use on solid backgrounds only) */
  --amber:#C99A3B;
  --amber-light:#E8B84B;
  /* Amber-text — same family, darkened for readability. The base --amber
     is ~2.6:1 against white/light backgrounds (fails WCAG AA's 4.5:1 for
     normal text); this variant is ~5:1 so kicker/eyebrow labels stay
     legible for older eyes and on phone screens in bright light. */
  --amber-text:#8C6A1F;
  /* Warm Family White — family-facing sections: comfort & humanity */
  --warm-white:#FFF9EF;
  /* Muted red — reserved strictly for real safety/emergency messaging */
  --emergency-red:#B23B3B;
  --emergency-red-bg:#FBEAEA;
  --emergency-red-border:#E3AFAF;
  --mint:#DDEEEA;
  --slate:#3C4F4F;
  --ink:#16282A;
  /* Gray — darkened from #6B7D78 (was ~4.35:1 on white, just under the
     4.5:1 AA floor for normal text) to ~5.3:1 for caption/footnote text. */
  --gray:#5C6F6A;
  --light:#F5F8F7;
  --white:#FFFFFF;
  --border:#D4E4E0;
  --max:1080px;
  --radius:10px;
  --radius-lg:16px;
  --shadow:0 2px 14px rgba(16,59,63,0.07);
  /* Legacy aliases — keep older rules in this file working without a full rename */
  --gold:#C99A3B;
  --gold-light:#E8B84B;
  --cream:#FFF9EF;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:19px;
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
@keyframes hvpn-page-fade-in{from{opacity:0}to{opacity:1}}
#main{animation:hvpn-page-fade-in .25s ease-out}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  #main{animation:none}
  *,*::before,*::after{transition-duration:0.001ms!important;animation-duration:0.001ms!important}
}
h1,h2,h3,h4,h5,h6{
  color:var(--navy);
  line-height:1.25;
  margin:0;
}
/* Display headlines (hero, section titles) — serif. Sized per healthcare
   readability guidance: H1 ~48-64px, H2 ~36-48px at typical desktop
   widths, scaling down gracefully on small screens via clamp(). */
h1,h2{
  font-family:'Lora',Georgia,'Times New Roman',serif;
  font-weight:600;
}
h1{font-size:clamp(34px,5.5vw,64px)}
h2{font-size:clamp(28px,4vw,48px)}
/* All sub-headings (card titles, step labels, callout headers, etc.) —
   sans-serif by default so bare h3-h6 tags match the explicitly-styled
   ones instead of falling back to the serif display font. h3 is sized
   for real subsection headings (~24-32px); h4-h6 default smaller since
   they're mostly used as compact component/card labels, with their own
   per-component overrides below. */
h3{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-weight:700;font-size:clamp(22px,2.6vw,28px);
}
h4,h5,h6{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-weight:700;
}
p{margin:0 0 1rem}
a{color:var(--teal);text-decoration:none}
a:hover{text-decoration:underline}
ul{margin:0;padding:0}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

.wrap{max-width:var(--max);margin:0 auto;padding:0 28px}

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;
  padding:10px 18px;z-index:200;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0}

/* ---------- Top utility bar ---------- */
.topbar{
  background:var(--navy);color:#fff;
  font-size:12.5px;padding:7px 0;
}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:nowrap;overflow:hidden}
.topbar a{color:#fff;font-weight:600}
.topbar .phone{display:flex;align-items:center;gap:6px;flex-shrink:0;white-space:nowrap}
.topbar>div>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}

/* ---------- Header / nav ---------- */
header.site-header{
  background:var(--white);border-bottom:1px solid var(--border);
  position:sticky;top:0;z-index:100;
}
/* When the WP admin toolbar is showing (logged-in users only), it's a
   fixed 32px (46px on mobile) bar above everything else. Without this
   offset, the sticky header's top:0 fights the toolbar and visibly
   jumps as you scroll past it. Never affects logged-out visitors. */
body.admin-bar header.site-header{top:32px}
@media (max-width:782px){
  body.admin-bar header.site-header{top:46px}
}
.nav-row{display:flex;align-items:center;justify-content:space-between;padding:16px 0}
.logo{
  font-family:'Lora',serif;font-weight:700;font-size:26px;color:var(--navy);
  letter-spacing:.2px;display:flex;align-items:center;gap:10px;
  flex-shrink:0;white-space:nowrap;margin-right:40px;
}
.logo .mark{
  width:40px;height:40px;border-radius:50%;background:var(--teal);
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;font-weight:700;
  font-family:'Inter',sans-serif;flex-shrink:0;
}
.logo .full-name{white-space:nowrap}
/* Uploaded site logo (Appearance → Customize → Site Identity). Only
   max-height is constrained and width is left auto, so the browser
   always scales the file proportionally at its real (standard) aspect
   ratio — never stretched, squashed, or cropped to a fixed box — while
   still rendering large enough to be a prominent header element rather
   than a small icon. max-width is a safety cap for unusually wide/
   landscape source files so they can't stretch across the whole header. */
.logo-image{flex-shrink:0;margin-right:40px}
.logo-image .custom-logo-link{display:flex;align-items:center}
.logo-image img.custom-logo{
  max-height:64px;max-width:260px;width:auto;height:auto;display:block;
}
@media (max-width:860px){
  .logo-image img.custom-logo{max-height:48px;max-width:200px}
}
nav.primary-nav{display:flex;align-items:center;gap:2px;flex-wrap:nowrap}
nav.primary-nav a{
  color:var(--slate);font-size:16px;font-weight:600;padding:10px 14px;border-radius:8px;
  text-decoration:none;white-space:nowrap;
}
nav.primary-nav a:hover,nav.primary-nav a[aria-current="page"]{
  color:var(--navy);background:var(--mint);
}
.nav-cta{
  background:var(--teal);color:#fff !important;border-radius:8px;padding:10px 18px !important;
  margin-left:8px;font-weight:700 !important;font-size:16px;
}
.nav-cta:hover{background:var(--teal-light);text-decoration:none !important}
.nav-toggle{display:none;background:none;border:1px solid var(--border);border-radius:8px;padding:8px 10px}
.nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{
  display:block;width:20px;height:2px;background:var(--navy);position:relative;
}
.nav-toggle span::before,.nav-toggle span::after{content:'';position:absolute;left:0}
.nav-toggle span::before{top:-6px}
.nav-toggle span::after{top:6px}

/* ---------- Hero ---------- */
/* Height scales with viewport width so a landscape photo has room to
   breathe at all screen sizes. clamp() keeps the hero from being too
   short on mobile (480px min) or absurdly tall on ultrawide (85vh max).
   56vw ≈ a 16:9 ratio at typical viewport widths — adjust the middle
   value if your photos are closer to 3:2 (use 66vw) or 4:3 (use 75vw). */
.hero{
  position:relative;overflow:hidden;background:var(--mist);
  min-height:clamp(480px, 56vw, 85vh);
  display:flex;align-items:center;
  border-bottom:1px solid var(--mist-line);
}
.hero-topo{position:absolute;inset:0;opacity:0.5;pointer-events:none}
.hero-inner{position:relative;z-index:2;max-width:640px;padding:72px 0 60px;}
.eyebrow{
  color:var(--amber-text);font-size:13px;font-weight:700;letter-spacing:1.6px;
  text-transform:uppercase;margin-bottom:16px;
}
.hero h1{color:var(--navy);font-size:clamp(34px,5.5vw,60px);margin-bottom:18px}
.hero .lede{color:var(--slate);font-size:19px;max-width:520px;margin-bottom:28px}
.btn-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:30px}
.btn{
  display:inline-flex;align-items:center;gap:6px;border-radius:9px;padding:14px 26px;
  font-weight:700;font-size:19px;border:1.5px solid transparent;text-decoration:none;
}
.btn:hover{text-decoration:none}
/* Primary: Care Coordination Teal — action & response */
.btn-primary{background:var(--teal);color:#fff}
.btn-primary:hover{background:var(--teal-light)}
/* Referral: Deep Clinical Navy — institutional credibility, used for Refer a Patient CTAs */
.btn-referral{background:var(--navy);color:#fff}
.btn-referral:hover{background:#1A4D52}
/* Outline: white with navy border — the lower-pressure option, for light backgrounds */
.btn-outline{background:#fff;color:var(--navy);border-color:var(--navy)}
.btn-outline:hover{background:var(--mist)}
/* Ghost: for use on dark/navy or teal backgrounds (CTA bands) */
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,0.87)}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,0.08)}

.photo-note{
  display:inline-flex;align-items:flex-start;gap:8px;background:rgba(16,59,63,0.85);
  border-radius:8px;padding:10px 14px;max-width:480px;
}
.photo-note svg{flex-shrink:0;margin-top:1px;color:#fff}
.photo-note span{color:#fff;font-size:12px;font-style:italic;line-height:1.5}

/* Reassurance microcopy under a hero's primary CTA — reduces hesitation
   right at the decision point instead of leaving it to a later page. */
.hero-reassure{color:var(--gray);font-size:14px;font-style:italic;margin-top:-18px}
.hero.has-photo .hero-reassure{color:#fff}

/* Hero background photo (set via Customizer) — a real <img> with srcset
   instead of a single full-size CSS background-image, so the browser can
   pick an appropriately sized file per device. Fit/position are CSS
   variables (defaulting to the original cover/center behavior) so the
   Hero Image Display Customizer section can override them sitewide —
   for both the homepage hero and every page banner, since they all
   share this one component. */
.hero-bg-img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:var(--hero-object-fit, cover);
  object-position:var(--hero-object-position, center);
  z-index:0;
  animation:hvpn-page-fade-in .4s ease-out;
}
.hero-bg-overlay{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg, rgba(16,59,63,.55), rgba(16,59,63,.78));
}
/* Hero variant for pages with a real background photo set via Customizer —
   text needs to go back to white since the photo provides a dark backdrop */
.hero.has-photo h1,
.hero.has-photo .lede{color:#fff}
.hero.has-photo .lede{color:rgba(255,255,255,0.92)}
/* --amber-text is darkened for readability on light backgrounds, which
   makes it too dark to read against the hero's dark photo overlay —
   swap to the lighter amber variant there instead. */
.hero.has-photo .eyebrow{color:var(--amber-light)}

/* ---------- Trust bar ---------- */
.trust-bar{background:var(--mint);padding:14px 0;border-top:1px solid #C9E2DC}
.trust-bar .wrap{display:flex;flex-wrap:wrap;justify-content:center;gap:0}
.trust-item{
  font-size:15px;font-weight:700;color:var(--teal);padding:4px 18px;
  border-right:1px solid #b9d9d4;
}
.trust-item:last-child{border-right:none}

/* ---------- Visit outcomes two-column ---------- */
.visit-outcomes-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.visit-col-outcome{
  background:var(--warm-white);border-radius:12px;padding:32px;
  border:1px solid rgba(199,165,82,0.2);
}
@media(max-width:680px){
  .visit-outcomes-grid{grid-template-columns:1fr;gap:32px}
  .visit-col-outcome{padding:24px}
}

/* ---------- Private Pay Reassurance bar ---------- */
.ppay-reassure{background:var(--mist);padding:18px 0;border-top:1px solid #C9E2DC;border-bottom:1px solid #C9E2DC}
.ppay-bar{display:flex;align-items:center;gap:32px;flex-wrap:nowrap;overflow:hidden}
.ppay-label{flex-shrink:0;white-space:nowrap}
.ppay-subtitle{font-size:13px;color:var(--gray)}
.ppay-list{
  list-style:none;margin:0;padding:0;
  display:flex;align-items:center;gap:6px 28px;flex-wrap:nowrap;overflow:hidden;
}
.ppay-list li{
  display:flex;align-items:center;gap:7px;
  font-size:15px;font-weight:600;color:var(--slate);
  white-space:nowrap;
}
.ppay-list svg{color:var(--teal);flex-shrink:0}
@media(max-width:860px){
  .ppay-bar{flex-wrap:wrap;gap:14px}
  .ppay-list{flex-wrap:wrap;gap:8px 20px}
}

/* ---------- Sections ---------- */
.section{padding:60px 0}
.section-alt{background:var(--light)}
.section-head{max-width:620px;margin-bottom:36px}
.section-head h2{font-size:clamp(28px,3.6vw,44px);margin-bottom:12px}
.section-head p{color:var(--slate);font-size:19px}
.kicker{
  color:var(--amber-text);font-size:12.5px;font-weight:700;letter-spacing:1.2px;
  text-transform:uppercase;margin-bottom:8px;display:block;
}

/* ---------- Card grid ---------- */
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:26px 22px;
}
.card-icon{
  width:46px;height:46px;border-radius:50%;background:var(--teal);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.card-icon svg{stroke:#fff}
.card-icon.icon-sage{background:var(--sage)}
.card-icon.icon-amber{background:var(--amber)}
.card h3{font-size:19px;margin-bottom:8px;font-family:'Inter',sans-serif;font-weight:700;color:var(--navy)}
.card p{color:var(--slate);font-size:16px;margin:0}
.card p + p{margin-top:10px}
/* Problem/solution card pattern — the problem is quoted in the family's
   own words (muted, italic) so the solution paragraph right after it
   reads as the answer, not just another feature line. */
.card .problem-quote{
  font-style:italic;color:var(--gray);font-size:14px;
  padding-left:10px;border-left:2px solid var(--border);margin-bottom:10px;
}
.card.link-card{transition:border-color .15s,box-shadow .15s}
.card.link-card:hover{border-color:var(--teal);box-shadow:var(--shadow)}
/* Case example card — Before / HVPN Helped / Result, each with its own
   label so the transformation is scannable at a glance. */
.case-example .case-label{
  display:block;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;
  margin:14px 0 4px;
}
.case-example .case-label:first-child{margin-top:0}
.case-example .case-before{color:var(--gray)}
.case-example .case-helped{color:var(--teal)}
.case-example .case-result{color:var(--amber-text)}
a.card-link{display:block;text-decoration:none;color:inherit}
a.card-link:hover{text-decoration:none}

/* ---------- Two column ---------- */
.two-col{display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:start}
.two-col.reverse{grid-template-columns:0.9fr 1.1fr}
.two-col.reverse .col-media{order:-1}
.prose h3{font-size:clamp(22px,2.6vw,28px);font-family:'Inter',sans-serif;font-weight:700;color:var(--navy);margin-bottom:10px}
.prose p{color:var(--slate);font-size:19px}
.prose ul{margin:0 0 16px;padding-left:0;list-style:none}
.prose ul li{
  color:var(--slate);font-size:19px;line-height:1.7;margin-bottom:10px;
  padding-left:24px;position:relative;
}
.prose ul li::before{
  content:'';position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:50%;
  background:var(--gold);
}
.prose ul li strong{color:var(--navy)}

/* ---------- Photo placeholder ---------- */
.photo-placeholder{
  background:var(--mint);border:1.5px dashed #9fcdc6;border-radius:var(--radius-lg);
  padding:36px 24px;text-align:center;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:12px;min-height:220px;
}
.photo-placeholder svg{stroke:var(--teal)}
.pp-title{color:var(--teal);font-size:13.5px;font-weight:700}
.pp-desc{color:var(--gray);font-size:12.5px;line-height:1.6;max-width:260px}

/* ---------- Quote / highlight ---------- */
.highlight{
  border-left:3px solid var(--gold);background:var(--cream);border-radius:0 10px 10px 0;
  padding:18px 22px;margin:20px 0;
}
.highlight p{color:var(--navy);font-style:italic;font-size:14.5px;margin:0}

/* ---------- Steps ---------- */
.steps{display:flex;flex-direction:column;gap:20px}
.step{display:flex;gap:16px}
.step-num{
  background:var(--gold);color:#fff;width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;
  flex-shrink:0;
}
.step-body h4{font-size:16px;font-family:'Inter',sans-serif;font-weight:700;color:var(--navy);margin-bottom:4px}
.step-body p{color:var(--slate);font-size:16px;margin:0}

/* ---------- Callout box ---------- */
.callout{
  background:var(--cream);border:1px solid var(--border);border-radius:var(--radius);
  padding:18px 22px;font-size:16px;color:var(--navy);line-height:1.7;
}
/* Emotional-safety callout — warm teal tint, used for reassurance messages */
.callout-reassure{
  background:var(--teal-pale);border-left:3px solid var(--teal);border-radius:0 var(--radius) var(--radius) 0;
  padding:18px 22px;font-size:17px;color:var(--slate);line-height:1.75;
}
.callout-reassure strong{color:var(--navy)}
/* Scope-notice — navy tint, used for individual-RN practice disclosure */
.scope-notice{
  background:#EDF3F3;border:1px solid var(--mist-line);border-radius:var(--radius);
  padding:14px 20px;font-size:14px;color:var(--slate);line-height:1.65;font-style:italic;
}
/* Not-a-fit box — reserved for "when HVPN may not be the right fit" sections */
.fit-exclusion{
  background:#F8F8F8;border-left:3px solid var(--sage);border-radius:0 var(--radius) var(--radius) 0;
  padding:16px 22px;font-size:16px;color:var(--slate);line-height:1.75;
}
.fit-exclusion h4{color:var(--navy);font-family:'Inter',sans-serif;font-weight:700;font-size:17px;margin-bottom:10px}
.fit-exclusion ul{padding-left:20px;margin:0}
.fit-exclusion ul li{margin-bottom:6px}
/* Episode-of-care snapshot: duration, goal, discharge plan */
.program-snapshot{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  background:var(--mist);border-radius:var(--radius);padding:24px;margin-top:24px;
}
.program-snapshot-item p{margin:6px 0 0;color:var(--slate);font-size:16px;line-height:1.6}
.program-snapshot-label{
  color:var(--amber-text);font-size:12.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;
}
@media (max-width:720px){
  .program-snapshot{grid-template-columns:1fr}
}
/* Process track — larger numbered steps with connector line */
.process-track{display:flex;flex-direction:column;gap:0;position:relative}
.process-track::before{
  content:'';position:absolute;left:18px;top:36px;bottom:36px;width:2px;
  background:var(--mist-line);z-index:0;
}
.process-step{display:flex;gap:22px;position:relative;z-index:1;padding:0 0 22px}
.process-step:last-child{padding-bottom:0}
.process-num{
  background:var(--teal);color:#fff;width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px;
  flex-shrink:0;border:3px solid #fff;box-shadow:0 0 0 2px var(--teal);
}
.process-num svg{stroke:#fff}
.process-num.icon-sage{background:var(--sage);box-shadow:0 0 0 2px var(--sage)}
.process-num.icon-amber{background:var(--amber);box-shadow:0 0 0 2px var(--amber)}
/* Card surface for the step body — makes each step read as a distinct
   visual block instead of plain stacked text. */
.process-body{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:16px 20px;flex:1;
}
.process-step-label{
  display:block;color:var(--teal);font-size:11px;font-weight:700;letter-spacing:1.2px;
  text-transform:uppercase;margin-bottom:5px;
}
.process-body h4{color:var(--navy);font-family:'Inter',sans-serif;font-weight:700;font-size:17px;margin-bottom:5px;margin-top:0}
.process-body p{color:var(--slate);font-size:16px;line-height:1.7;margin:0}
/* Clinician profile block */
.clinician-block{display:grid;grid-template-columns:200px 1fr;gap:36px;align-items:start}
.clinician-photo{border-radius:var(--radius-lg);overflow:hidden;background:var(--mint);
  aspect-ratio:4/5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.clinician-photo svg{stroke:var(--teal)}
.clinician-photo .pp-title{font-size:12px;color:var(--teal);font-weight:700}
.clinician-photo .pp-desc{font-size:11px;color:var(--gray);text-align:center;padding:0 14px;line-height:1.5}
.clinician-name{font-family:'Lora',serif;font-size:22px;font-weight:700;color:var(--navy);margin-bottom:4px}
.clinician-creds{font-size:13px;color:var(--teal);font-weight:600;margin-bottom:14px;line-height:1.7}
/* Service icon list */
.service-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}
.service-list li{
  display:flex;align-items:flex-start;gap:12px;font-size:19px;color:var(--slate);line-height:1.65;
}
.service-list li::before{
  content:'';flex-shrink:0;width:8px;height:8px;border-radius:50%;
  background:var(--teal);margin-top:7px;
}
.service-list li strong{color:var(--navy)}
/* Checkmark solution list — "How We Help" pattern: each line is an
   outcome statement, not a feature, so the checkmark reinforces "this is
   already handled" rather than just itemizing. */
.check-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px;max-width:680px}
.check-list li{
  display:flex;align-items:flex-start;gap:12px;font-size:19px;color:var(--navy);
  font-weight:600;line-height:1.5;
}
.check-list li::before{
  content:'\2713';flex-shrink:0;width:26px;height:26px;border-radius:50%;
  background:var(--teal);color:#fff;font-size:14px;font-weight:700;
  display:flex;align-items:center;justify-content:center;margin-top:1px;
}
/* Before / After transformation banner on homepage */
.before-after-grid{
  display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;
}
.ba-col{
  border-radius:var(--radius-lg);padding:26px 28px;
}
.ba-before{background:#F8F8F8;border:1px solid var(--border)}
.ba-after{background:var(--teal-pale);border:1px solid var(--teal-light)}
.ba-label{
  display:block;font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;
  margin-bottom:14px;
}
.ba-before .ba-label{color:var(--gray)}
.ba-after .ba-label{color:var(--teal)}
.ba-col ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.ba-col li{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:19px;font-weight:700;color:var(--navy);
  display:flex;align-items:center;gap:10px;
}
.ba-before li::before{
  content:'';flex-shrink:0;width:8px;height:8px;border-radius:50%;background:#C9C9C9;
}
.ba-after li::before{
  content:'';flex-shrink:0;width:8px;height:8px;border-radius:50%;background:var(--teal);
}
.ba-arrow{color:var(--teal);display:flex;justify-content:center}
@media(max-width:700px){
  .before-after-grid{grid-template-columns:1fr}
  .ba-arrow{transform:rotate(90deg);padding:4px 0}
}

/* Dual-audience banner on homepage */
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin-top:32px}
.audience-card{
  background:var(--navy);padding:28px 28px;
}
.audience-card:first-child{border-radius:var(--radius-lg) 0 0 var(--radius-lg)}
.audience-card:last-child{border-radius:0 var(--radius-lg) var(--radius-lg) 0;background:#1A4D52}
.audience-card h4{color:var(--mint);font-family:'Inter',sans-serif;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.audience-card p{color:#fff;font-size:16px;line-height:1.7;margin-bottom:18px}
@media(max-width:700px){
  .audience-grid{grid-template-columns:1fr}
  .audience-card:first-child,.audience-card:last-child{border-radius:0}
  .clinician-block{grid-template-columns:1fr}
  .clinician-photo{aspect-ratio:3/2}
}


/* ---------- Table ---------- */
.table-wrap{overflow-x:auto}
table.partners{width:100%;border-collapse:collapse;min-width:560px}
table.partners th{
  background:var(--teal);color:#fff;font-size:12.5px;text-align:left;
  padding:12px 16px;font-weight:700;
}
table.partners td{
  border-bottom:1px solid var(--border);padding:14px 16px;font-size:16px;
  color:var(--slate);vertical-align:top;
}
table.partners td strong{color:var(--navy)}
table.partners tr:nth-child(even) td{background:var(--light)}

/* ---------- Scenario cards (service pages) ---------- */
.scenario-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;margin-top:28px}
.scenario{background:var(--warm-white);border-left:4px solid var(--teal);border-radius:0 8px 8px 0;padding:20px 24px}
.scenario-label{display:block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--teal);margin-bottom:8px}
.scenario p{font-size:15px;color:var(--slate);line-height:1.75;margin:0}
@media(max-width:768px){.scenario-grid{grid-template-columns:1fr}}

/* ---------- FAQ ---------- */
.faq-item{border-bottom:1px solid var(--border);padding:18px 0}
.faq-item:first-child{padding-top:0}
.faq-item:last-child{border-bottom:none}
.faq-item h4{font-size:19px;font-family:'Inter',sans-serif;font-weight:700;color:var(--navy);margin-bottom:7px}
.faq-item p{color:var(--slate);font-size:19px;margin:0}

/* ---------- Credentials grid ---------- */
.creds-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.cred-item{background:var(--mint);border-radius:9px;padding:16px 18px}
.cred-item h5{font-size:15px;font-family:'Inter',sans-serif;font-weight:700;color:var(--teal);margin-bottom:4px}
.cred-item p{color:var(--slate);font-size:15px;margin:0;line-height:1.6}

/* ---------- Forms ---------- */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-grid .full{grid-column:1 / -1}
.field label{display:block;font-size:13px;font-weight:700;color:var(--navy);margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%;border:1px solid var(--border);border-radius:8px;padding:12px 13px;
  font-size:16px;font-family:inherit;color:var(--ink);background:#fff;
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--teal);outline:3px solid var(--teal);outline-offset:2px;box-shadow:none;
}
.field textarea{min-height:110px;resize:vertical}
.field{margin-bottom:16px}
.urgent-box{
  background:#FEF3E2;border:1px solid #F2C871;border-radius:9px;padding:14px 18px;
  margin-bottom:22px;font-size:16px;color:#714900;line-height:1.6;
}
.form-note{font-size:13px;color:var(--gray);margin-top:10px;line-height:1.5}
.form-success{
  display:none;background:var(--teal-pale);border:1px solid var(--teal);border-radius:10px;
  padding:20px 22px;
}
.form-success.show{display:block}
.form-success h3{font-family:'Inter',sans-serif;font-size:19px;color:var(--navy);margin-bottom:6px}
.form-success p{color:var(--slate);font-size:16px;margin:0}

/* ---------- CTA band ---------- */
.cta-band{background:var(--navy);padding:54px 0;text-align:center}
.cta-band h2{color:#fff;font-size:clamp(26px,3.4vw,40px);margin-bottom:10px}
.cta-band p{color:rgba(255,255,255,0.92);font-size:19px;margin-bottom:26px}

/* ---------- Footer ---------- */
footer.site-footer{background:#0A2629;padding:48px 0 28px;color:rgba(255,255,255,0.65)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;margin-bottom:32px}
.footer-brand h4{color:#fff;font-size:17px;margin-bottom:10px}
.footer-brand p{font-size:15px;line-height:1.7;color:rgba(255,255,255,0.87);max-width:260px}
.footer-col h5{
  color:#fff;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1px;
  margin-bottom:14px;font-family:'Inter',sans-serif;
}
.footer-col ul{list-style:none}
.footer-col li{margin-bottom:10px}
.footer-col a{color:rgba(255,255,255,0.87);font-size:13.5px;text-decoration:none}
.footer-col a:hover{color:#fff;text-decoration:underline}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12);padding-top:22px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12px;
}
.footer-bottom span{color:rgba(255,255,255,0.87)}
/* Simple, unobtrusive accessibility statement; not an interactive
   toolbar. Visitors who need accommodation are directed to contact us
   directly rather than self-serve display controls. */
.footer-a11y-note{
  margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,0.12);
  font-size:13px;color:rgba(255,255,255,0.87);line-height:1.6;
}
.footer-a11y-note strong{color:rgba(255,255,255,0.8)}
.footer-a11y-note a{color:rgba(255,255,255,0.85);text-decoration:underline}
/* Reserved strictly for real safety/emergency messaging — see color system notes in README */
.emergency-note{
  display:inline-flex !important;align-items:center;gap:6px;
  color:#E8A8A8 !important;font-weight:700;
}
.emergency-note svg{color:#E8A8A8;flex-shrink:0}

/* ---------- WordPress-specific additions ---------- */
.screen-reader-text{
  position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  position:fixed;left:0;top:0;z-index:999;background:var(--navy);color:#fff;
  padding:10px 18px;border-radius:0 0 8px 0;width:auto;height:auto;overflow:visible;
}
nav.primary-nav li{
  list-style:none;margin:0;padding:0;
}
nav.primary-nav .current-menu-item > a,
nav.primary-nav .current_page_item > a{
  color:var(--navy);background:var(--mint);
}
.photo-placeholder-img{
  width:100%;height:100%;min-height:220px;object-fit:cover;border-radius:var(--radius-lg);
}

/* ---------- Mobile call bar ----------
   A tired, stressed caregiver scanning on a phone shouldn't have to hunt
   for the phone number. This stays pinned to the bottom of the screen on
   phones/tablets so calling is always one tap away — hidden on desktop
   where the topbar phone link is already visible without scrolling. */
.mobile-call-bar{
  display:none;
}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .logo .full-name{display:none}
  nav.primary-nav a{padding:9px 11px;font-size:16px}
  nav.primary-nav{gap:0}
}
@media (max-width:860px){
  .two-col,.two-col.reverse{grid-template-columns:1fr}
  .two-col.reverse .col-media{order:0}
  .form-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .topbar .wrap{justify-content:flex-end}
  nav.primary-nav{
    position:fixed;inset:96px 0 0 0;background:#fff;flex-direction:column;align-items:stretch;
    padding:20px 24px;gap:6px;transform:translateX(100%);transition:transform .25s ease;
    overflow-y:auto;flex-wrap:wrap;
  }
  nav.primary-nav.open{transform:translateX(0)}
  nav.primary-nav a{padding:14px 16px;font-size:16px;white-space:normal;display:block;width:100%}
  .nav-cta{margin-left:0;text-align:center}
  .nav-toggle{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
  .logo .full-name{display:inline}
  .logo{font-size:20px;margin-right:12px}
  .logo .mark{width:34px;height:34px;font-size:14px}
  .logo-image{margin-right:12px}
  .hero{min-height:clamp(420px, 80vw, 85vh)}
  .hero-inner{padding:48px 0 40px}
  .section{padding:44px 0}

  /* Pin a one-tap call bar to the bottom of the screen and reserve space
     for it so it never covers the footer or a form's submit button. */
  .mobile-call-bar{
    display:flex;align-items:center;justify-content:center;gap:10px;
    position:fixed;left:0;right:0;bottom:0;z-index:150;
    background:var(--teal);color:#fff;text-decoration:none;
    min-height:56px;padding:10px 16px;font-weight:700;font-size:17px;
    box-shadow:0 -2px 14px rgba(16,59,63,0.25);
  }
  .mobile-call-bar:hover{background:var(--teal-light);text-decoration:none}
  .mobile-call-bar svg{stroke:#fff;flex-shrink:0}
  body{padding-bottom:56px}
  /* Don't let the call bar sit on top of the open mobile menu. */
  header.site-header:has(nav.primary-nav.open) ~ .mobile-call-bar{display:none}

  /* Full-width, thumb-friendly buttons instead of narrow tap targets. */
  .btn-row{flex-direction:column}
  .btn-row .btn{width:100%;justify-content:center;min-height:48px}
}

/* When the WP admin bar is visible on mobile (46px tall), the sticky header
   sits at top:46px. The nav overlay must start below the full header:
   46px admin bar + 96px header = 142px from viewport top. */
@media (max-width:782px){
  body.admin-bar nav.primary-nav{top:142px}
}

/* Audience cards: when stacked on mobile, restore individual card rounding
   so they don't look like a borderless slab. */
@media (max-width:700px){
  .audience-card:first-child{border-radius:var(--radius-lg) var(--radius-lg) 0 0}
  .audience-card:last-child{border-radius:0 0 var(--radius-lg) var(--radius-lg)}
}

/* At very small screens, trim section padding and side gutters so content
   doesn't feel crowded on 320–375px devices. */
@media (max-width:480px){
  body{font-size:17px}
  .section{padding:32px 0}
  .section-head p,.prose p,.service-list li,.check-list li,
  .faq-item p,.faq-item h4,.hero .lede,.cta-band p{font-size:17px}
  .btn{font-size:17px;padding:13px 22px}
  .wrap{padding:0 18px}
  .cta-band{padding:36px 0}
  /* Trust bar: hide separator borders when items wrap — they look broken
     as inline borders across a wrapped row. */
  .trust-item{border-right:none;padding:4px 12px}
  /* Topbar: allow the service area text to drop below the phone number
     rather than being silently clipped on very narrow viewports. */
  .topbar .wrap{flex-wrap:wrap;justify-content:flex-end;gap:6px}
  /* Hero: reduce vertical padding on the inner block so the full hero
     content fits within the section height on small phones. */
  .hero-inner{padding:36px 0 32px}
  /* Process connector line: adjust for narrower content width. */
  .process-body{padding:12px 16px}
  /* Table hint: nudge the table wrap so the horizontal scroll is obvious. */
  .table-wrap::after{
    content:'← scroll →';display:block;text-align:center;
    font-size:12px;color:var(--gray);padding:6px 0;
  }
}


