/* =========================================================
   Hephzibah Treatment Centre — styles
   Palette drawn from the centre's sunflower & green branding
   ========================================================= */
:root {
  --green-900: #143328;
  --green-800: #1e4a3b;
  --green-700: #2b6150;
  --green-100: #e6efe9;
  --sun: #f2b632;
  --sun-600: #d99a12;
  --sun-100: #fdf3dc;
  --cream: #fbf8f2;
  --ink: #1d2622;
  --muted: #5b6a63;
  --line: #e3e0d6;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(20, 51, 40, 0.18);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-700); }
a:hover { color: var(--green-900); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--green-900); margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--green-900); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 1rem/1 var(--font-body);
  padding: 15px 24px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-sun { background: var(--sun); color: var(--green-900); box-shadow: 0 8px 20px -8px rgba(217,154,18,.7); }
.btn-sun:hover { background: #f5c24f; color: var(--green-900); }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: var(--white); }
.btn-green { background: var(--green-800); color: var(--white); }
.btn-green:hover { background: var(--green-900); color: var(--white); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-100); }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sun-600); margin-bottom: .8em;
}
.eyebrow.light { color: var(--sun); }
.eyebrow.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--green-900); line-height: 1; }
.brand-text small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--sun); transition: width .25s; }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--green-900); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(242,182,50,.22), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.06), transparent 40%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
  color: var(--white);
  padding: 90px 0 110px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 720px); gap: 60px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--sun); }
.hero .eyebrow { color: var(--sun); }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.88); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.hero-note { font-size: .92rem; color: rgba(255,255,255,.7); }

/* Decorative sunflower bloom: duotone photo filling the top-right quadrant.
   The falloff is baked into the image's alpha channel, so it dissolves into
   the hero gradient on any background without a mask. */
.hero-bloom {
  position: absolute; top: 0; right: 0; z-index: 0;
  width: 50vw; height: min(50vh, 80%);
  min-width: 300px;
  background: url("assets/bloom.webp") no-repeat top right / 100% 100%;
  /* Shifted down a quarter of its own height. The 80% cap is what makes that
     safe: .hero clips overflow, and 80% x 1.25 lands exactly on its bottom
     edge, so the baked fade is never cut off on tall viewports. */
  transform: translateY(25%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); margin-top: -40px; position: relative; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  transform: translateY(-30px); padding: 0;
}
.trust-grid div { padding: 24px 22px; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; color: var(--green-900); font-size: 1rem; }
.trust-grid span { font-size: .88rem; color: var(--muted); }
.trust { background: transparent; border: 0; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tint { background: var(--white); }
.section-green { background: var(--green-800); color: rgba(255,255,255,.9); }
.section-green h2 { color: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head p:last-child { color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.two-col.align-center { align-items: center; }

.quote-card {
  margin: 0; background: var(--sun-100); border-radius: var(--radius);
  padding: 40px; position: relative; border-left: 5px solid var(--sun);
}
.quote-icon { width: 42px; height: 42px; fill: var(--sun); margin-bottom: 10px; }
.quote-card blockquote { margin: 0 0 20px; font-family: var(--font-head); font-size: 1.4rem; line-height: 1.45; color: var(--green-900); }
.quote-card figcaption { font-size: .95rem; }
.quote-card figcaption span { display: block; color: var(--muted); font-size: .85rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-100); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-800); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-icon svg .dot { fill: var(--green-800); stroke: none; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); position: relative; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sun); color: var(--green-900); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; margin-bottom: 16px;
}
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 32px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.checklist li { position: relative; padding: 11px 0 11px 38px; border-bottom: 1px solid rgba(255,255,255,.1); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143328' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.stat { background: var(--green-800); color: rgba(255,255,255,.88); border-radius: var(--radius); padding: 34px 30px; }
.stat-num { font-family: var(--font-head); font-size: 3.2rem; font-weight: 600; color: var(--sun); line-height: 1; }
.stat-unit { font-family: var(--font-head); font-size: 1.3rem; color: var(--sun); margin-left: 6px; }
.stat p { margin: 14px 0 12px; }
.ref { font-size: .8rem; font-weight: 600; color: var(--sun); text-decoration: none; letter-spacing: .03em; }
.fact .ref { color: var(--sun-600); }
.ref:hover { text-decoration: underline; color: var(--sun); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; border-top: 4px solid var(--sun); }
.fact p { color: var(--muted); }

/* Testimonial */
.testimonial { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; text-align: center; color: var(--green-900); margin: 10px 0 18px; }
.testimonial-by { text-align: center; color: var(--muted); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--sun); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: var(--white); border-radius: var(--radius); padding: 34px 28px; text-align: center; box-shadow: var(--shadow); }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.6rem;
  background: var(--green-100); color: var(--green-800); border: 3px solid var(--sun);
}
.avatar-sun { background: var(--sun-100); font-size: 2rem; }
.role { color: var(--sun-600); font-weight: 600; font-size: .9rem; margin-top: -6px; }
.member p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* FAQ */
.faq details { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--green-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: var(--green-900);
  display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Contact */
.contact-section { background: linear-gradient(180deg, var(--cream), var(--green-100)); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0; }
.contact-list li { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list span { font-weight: 600; color: var(--green-900); text-decoration: none; font-size: 1.05rem; }
.ci-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--green-800); display: grid; place-items: center; }
.ci-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.socials { display: flex; gap: 12px; margin-bottom: 30px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; border: 1px solid var(--line); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--sun); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: var(--green-800); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.crisis { background: var(--white); border-left: 5px solid #c0492b; border-radius: 12px; padding: 22px 24px; font-size: .95rem; }
.crisis h3 { font-size: 1.05rem; color: #9b3520; margin-bottom: .5em; }
.crisis p:last-child { margin: 0; }

.contact-form { background: var(--white); border-radius: 24px; padding: 38px; box-shadow: 0 20px 50px -20px rgba(20,51,40,.3); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: .2em; }
.form-intro { color: var(--muted); font-size: .92rem; }
.who { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.who legend { font-weight: 600; font-size: .92rem; margin-bottom: 10px; color: var(--green-900); }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .92rem; transition: all .2s; }
.pill input:checked + span { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--green-900); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); background: var(--white); box-shadow: 0 0 0 4px rgba(43,97,80,.12); }
.field.invalid input, .field.invalid textarea { border-color: #c0492b; }
.error { color: #b23a20; font-size: .82rem; min-height: 1em; margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green-800); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.form-status { margin: 16px 0 0; font-weight: 600; color: var(--green-700); }

/* References */
.references { padding: 60px 0; background: var(--white); border-top: 1px solid var(--line); }
.h-small { font-size: 1.3rem; }
.references ol { padding-left: 20px; color: var(--muted); font-size: .9rem; }
.references li { margin-bottom: 8px; }
.references li:target { background: var(--sun-100); border-radius: 6px; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.75); padding: 60px 0 30px; font-size: .95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--font-head); font-size: 1.4rem; color: var(--white); }
.footer-h { font-weight: 600; color: var(--sun); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.disclaimer { color: rgba(255,255,255,.55); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards, .team { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); max-height: calc(100vh - 72px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .site-nav.open { transform: translateY(0); }
  body.nav-open { overflow: hidden; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; justify-content: center; }

  .hero { padding: 60px 0 90px; }
  .hero-bloom { width: 58vw; height: min(26vh, 80%); opacity: .45; }
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 70px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .cards, .team, .steps, .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid div:last-child { border-bottom: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .quote-card { padding: 28px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Multi-page additions
   ========================================================= */
.mt { margin-top: 36px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.h-sub { font-size: 1.35rem; }

/* Top bar */
.topbar { background: var(--green-900); color: rgba(255,255,255,.8); font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar-msg { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a { white-space: nowrap; color: rgba(255,255,255,.9); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--sun); }
.topbar-links svg { width: 14px; height: 14px; fill: currentColor; }
.topbar-links a.hide-sm svg { fill: none; stroke: currentColor; stroke-width: 2; }
.quick-exit {
  font: 600 .8rem var(--font-body); background: #c0492b; color: #fff; border: 0;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
}
.quick-exit:hover { background: #a63c22; }

/* Nav active + brand on dark */
.site-nav a.active { color: var(--green-800); font-weight: 600; }
.site-nav a.active::after { width: 100%; }
.brand-light .brand-text { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,.6); }
.brand-light .brand-mark circle { fill: var(--green-900); }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 70px 0 80px;
  background:
    radial-gradient(circle at 90% 10%, rgba(242,182,50,.25), transparent 45%),
    linear-gradient(160deg, var(--green-800), var(--green-900));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 760px; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-hero .eyebrow { color: var(--sun); }
.page-hero .lead { max-width: 640px; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: rgba(255,255,255,.65); display: flex; gap: 8px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--sun); }

/* Home: path cards */
.path-cards { display: grid; gap: 14px; }
.path-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.path-card:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: var(--sun); color: var(--ink); }
.path-card strong { display: block; color: var(--green-900); font-size: 1.05rem; }
.path-card small { color: var(--muted); font-size: .9rem; }
.path-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--sun-100); display: grid; place-items: center; }
.path-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green-800); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path-card .arrow { margin-left: auto; font-size: 1.3rem; color: var(--sun-600); }

.stat-light { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }

/* CTA band */
.cta-band { background: var(--green-900); color: rgba(255,255,255,.85); padding: 70px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242,182,50,.25), transparent 70%); right: -120px; top: -160px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* About */
.news-card { background: var(--sun-100); border-radius: 24px; padding: 40px; border-left: 6px solid var(--sun); }
.news-links { display: flex; flex-wrap: wrap; gap: 12px; }
.quote-dark { background: rgba(255,255,255,.07); border-left-color: var(--sun); }
.quote-dark blockquote { color: #fff; }
.quote-dark figcaption { color: rgba(255,255,255,.7); }
.light-link { color: var(--sun); font-weight: 600; }
.light-link:hover { color: #fff; }

/* Treatment timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--sun), var(--green-700)); }
.timeline li { display: flex; gap: 24px; margin-bottom: 26px; position: relative; }
.tl-dot {
  flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sun); color: var(--green-900);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
  box-shadow: 0 0 0 6px var(--white); position: relative; z-index: 1;
}
.timeline li > div { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; flex: 1; }
.timeline p { margin: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--white); border-top: 4px solid var(--green-700); box-shadow: var(--shadow); }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Families */
.source-note { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--sun); padding-left: 12px; }
.dot-list { list-style: none; padding: 0; margin: 0 0 14px; }
.dot-list li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); }
.dot-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.dos-donts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.do, .dont { background: var(--cream); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.do { border-top: 5px solid var(--green-700); }
.dont { border-top: 5px solid #c0492b; }
.do h3 span, .dont h3 span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: .95rem; margin-right: 8px; }
.do h3 span { background: var(--green-700); }
.dont h3 span { background: #c0492b; }
.do ul, .dont ul { margin: 0; padding-left: 20px; color: var(--muted); }
.do li, .dont li { margin-bottom: 8px; }

/* Resources: quiz */
.quiz { background: var(--white); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.quiz legend { font-weight: 600; color: var(--green-900); margin-bottom: 10px; }
.quiz label { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .2s, background .2s; }
.quiz label:hover { border-color: var(--green-700); }
.quiz label:has(input:checked) { border-color: var(--green-800); background: var(--green-100); }
.quiz input { accent-color: var(--green-800); width: 18px; height: 18px; }
.quiz-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.quiz-result { margin-top: 22px; border-radius: 16px; padding: 22px; }
.quiz-result h3 { margin-bottom: .3em; }
.quiz-result.low { background: var(--green-100); }
.quiz-result.mid { background: var(--sun-100); }
.quiz-result.high { background: #fbe4dd; }
.quiz-result.neutral { background: var(--cream); }
.quiz-result .btn-row { margin: 12px 0; }

/* Myths */
.myths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.myth { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.myth p { margin: 0; padding: 20px 22px; }
.myth span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.myth-q { background: var(--cream); font-family: var(--font-head); font-size: 1.1rem; color: var(--green-900); }
.myth-q span { color: #c0492b; font-family: var(--font-body); }
.myth-a { color: var(--muted); }
.myth-a span { color: var(--green-700); }

/* Helplines */
.helplines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.helpline { background: var(--cream); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); border-top: 5px solid var(--green-700); }
.helpline.urgent { border-top-color: #c0492b; }
.helpline.sun { border-top-color: var(--sun); }
.big-num { display: inline-block; font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--green-900); text-decoration: none; margin: 4px 0 8px; }
.helpline p { margin-bottom: 6px; }

/* FAQ page */
.faq-group { font-size: 1.4rem; margin: 40px 0 16px; }
.faq-group:first-child { margin-top: 0; }
.ask-box { margin-top: 50px; text-align: center; background: var(--green-100); border-radius: 24px; padding: 40px 24px; }

/* Contact page */
.quick-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 50px; }
.qc { display: flex; align-items: center; gap: 16px; background: var(--white); border-radius: var(--radius); padding: 22px; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; color: var(--ink); }
.qc:hover { transform: translateY(-3px); color: var(--ink); }
.qc small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.qc strong { color: var(--green-900); word-break: break-word; }
.qc-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--green-800); display: grid; place-items: center; }
.qc-icon svg { width: 22px; height: 22px; fill: var(--sun); }
.qc-stroke svg { fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linejoin: round; }
.qc-wa .qc-icon { background: #25d366; }
.qc-wa .qc-icon svg { fill: #fff; }
.mini-steps { padding-left: 22px; margin: 0 0 24px; }
.mini-steps li { margin-bottom: 10px; }
.mini-steps li::marker { color: var(--sun-600); font-weight: 700; }

/* WhatsApp buttons */
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn-wa svg, .btn-ghost svg { width: 20px; height: 20px; fill: currentColor; }

/* Footer extras */
.footer-about { margin: 16px 0; }
.footer-links { line-height: 2; }
.socials-dark a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.socials-dark svg { stroke: #fff; }
.socials-dark a:hover svg { stroke: var(--green-900); }
.socials a[aria-label="WhatsApp"] svg { fill: currentColor; stroke: none; }
.socials-dark a[aria-label="WhatsApp"] { color: #fff; }
.socials-dark a[aria-label="WhatsApp"]:hover { color: var(--green-900); }

/* ---------- Floating buttons (bottom right) ---------- */
.floaters { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-wa {
  display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 16px;
  background: #25d366; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.6), 0 4px 10px rgba(0,0,0,.12);
  transition: transform .2s, padding .35s, gap .35s;
  position: relative;
}
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.fab-wa:hover { transform: scale(1.05); color: #fff; }
.fab-wa svg { width: 30px; height: 30px; fill: #fff; flex: none; }
.fab-wa-label { white-space: nowrap; overflow: hidden; max-width: 140px; transition: max-width .35s, opacity .35s; }
.fab-wa.compact { padding: 0 15px; gap: 0; }
.fab-wa.compact .fab-wa-label { max-width: 0; opacity: 0; }
.fab-wa.compact:hover { padding: 0 22px 0 16px; gap: 10px; }
.fab-wa.compact:hover .fab-wa-label { max-width: 140px; opacity: 1; }
.fab-call, .to-top {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.3);
}
.fab-call { background: var(--sun); display: none; margin-right: 6px; }
.fab-call svg { width: 20px; height: 20px; fill: var(--green-900); }
.to-top { background: var(--white); margin-right: 6px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--green-800); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) { .fab-wa::before { animation: none; } }

/* ---------- Responsive (additions) ---------- */
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .myths, .helplines { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .site-nav { visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 1; }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a.active { color: var(--sun-600); }
  .dos-donts, .quick-contact { grid-template-columns: 1fr; }
  .fab-call { display: grid; }
  .page-hero { padding: 50px 0 60px; }
}
@media (max-width: 600px) {
  .topbar-msg, .topbar-links .hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
  .feature-grid, .myths, .helplines { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .quiz { padding: 22px 18px; }
  .news-card { padding: 28px 22px; }
  .timeline::before { left: 19px; }
  .tl-dot { width: 40px; height: 40px; font-size: 1rem; }
  .timeline li { gap: 14px; }
  .timeline li > div { padding: 18px; }
  .floaters { right: 14px; bottom: 14px; }
  .fab-wa { height: 56px; }
}

/* ---------- Address, 24/7 & map ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.open-247 { color: var(--sun); font-weight: 600; }
.avail-badge { display: inline-flex; align-items: center; background: var(--green-800); color: #fff; font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: 999px; }
.contact-list a { line-height: 1.4; }
.map-section { background: var(--white); }
.map-wrap { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--green-100); }
.map-wrap iframe { display: block; width: 100%; height: 480px; border: 0; }
.map-card { position: absolute; left: 24px; top: 24px; max-width: 320px; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.3); }
.map-card h3 { margin-bottom: .4em; }
.map-card p { margin-bottom: .6em; color: var(--muted); }
.map-hours { color: var(--green-800) !important; font-weight: 600; }
.map-card .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
@media (max-width: 700px) {
  .map-wrap iframe { height: 340px; }
  .map-card { position: static; max-width: none; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
}
