/* ============================================================
   Premium Wellness Hub: shared design system
   Light leaf-green base with the gold of the logo
   ============================================================ */

:root{
  --green-900:#18341a;   /* deep forest: headings, dark bands */
  --green-800:#224a22;
  --green-700:#2f6b2a;   /* actions, links */
  --leaf:#74b12e;        /* logo green */
  --leaf-soft:#e3efd2;
  --gold:#c9a24a;        /* logo gold */
  --gold-text:#876420;   /* gold that passes contrast on light grounds */
  --gold-soft:#efe2bb;
  --page:#f7faf3;
  --sage:#edf4e4;
  --paper:#ffffff;
  --ink:#1e2a1b;
  --muted:#5d6b55;
  --line:#dfe8d3;
  --wa:#157f41;

  --font:'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script:'Great Vibes', 'Brush Script MT', cursive;

  --r-lg:22px;
  --r:16px;
  --r-sm:12px;
  --maxw:1180px;
  --gut:clamp(16px, 5vw, 56px);
  --float:0 18px 40px -22px rgba(24,52,26,.45);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  font-family:var(--font);
  font-size:17px;
  line-height:1.65;
  color:var(--ink);
  background:var(--page);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }
[hidden]{ display:none !important; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; border-radius:6px; }

.skip{ position:absolute; left:12px; top:-80px; z-index:100; padding:10px 16px; border-radius:10px; background:var(--green-900); color:#fff; font-weight:500; }
.skip:focus{ top:12px; }

/* ---- type ---- */
h1,h2,h3,h4{ font-family:var(--font); font-weight:600; line-height:1.12; letter-spacing:-.01em; color:var(--green-900); margin:0; }
h1{ font-size:clamp(2.5rem, 5.2vw, 4.2rem); line-height:1.04; letter-spacing:-.02em; }
.section-title{ font-size:clamp(2rem, 3.6vw, 2.8rem); }
h3{ font-size:1.3rem; line-height:1.25; }
p{ margin:0 0 1em; }
.lede{ font-size:1.15rem; color:var(--muted); max-width:60ch; }
.muted{ color:var(--muted); }
.green-link{ color:var(--green-700); font-weight:500; text-decoration:underline; text-underline-offset:3px; }
.script-line{ font-family:var(--script); font-weight:400; font-size:clamp(2rem, 4vw, 2.8rem); line-height:1.1; color:var(--gold-soft); margin:0 0 4px; }

/* ---- layout ---- */
.wrap{ max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gut); }
.section{ padding-block:clamp(64px, 9vw, 108px); }
.section.alt{ background:var(--sage); }
.section.deep{ background:var(--green-900); color:#dfe8d3; }
.section.deep h2, .section.deep h3{ color:#fff; }
.section.deep .lede{ color:#c7d6b6; }
.head{ max-width:680px; margin-bottom:clamp(30px, 4vw, 46px); }
.head .lede{ margin:.7em 0 0; }
.head.center{ margin-inline:auto; text-align:center; }
.head.center .lede{ margin-inline:auto; }
.more{ margin:32px 0 0; }
.section-title + p{ margin-top:.7em; }

/* ---- buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  min-height:48px; padding:.7em 1.35em; border-radius:999px; border:1.5px solid transparent;
  font-weight:600; font-size:1rem; line-height:1.2; white-space:nowrap;
  transition:background-color .15s, border-color .15s, color .15s;
}
.btn svg{ width:1.2em; height:1.2em; flex:none; }
.btn-lg{ min-height:54px; padding:.8em 1.65em; font-size:1.05rem; }
.btn-primary{ background:var(--green-700); color:#fff; }
.btn-primary:hover{ background:var(--green-800); }
.btn-gold{ background:var(--gold); color:var(--green-900); }
.btn-gold:hover{ background:#b8913b; }
.btn-ghost{ background:var(--paper); border-color:var(--line); color:var(--green-900); }
.btn-ghost:hover{ border-color:var(--leaf); }
.btn-ghost svg{ color:var(--wa); }
.btn-wa{ background:var(--wa); color:#fff; }
.btn-wa:hover{ background:#106635; }
.btn-light{ background:transparent; border-color:rgba(255,255,255,.45); color:#fff; }
.btn-light:hover{ background:rgba(255,255,255,.1); }
.btn-row{ display:flex; flex-wrap:wrap; gap:12px; }

/* ---- pill, icon tile, card, grids ---- */
.pill{ display:inline-flex; align-items:center; gap:.55em; padding:.35em .95em; border-radius:999px; background:var(--paper); border:1px solid var(--line); font-weight:500; font-size:.92rem; color:var(--green-900); }
.pill .dot{ width:8px; height:8px; border-radius:50%; background:var(--leaf); }
.ico{ width:52px; height:52px; border-radius:14px; display:grid; place-items:center; flex:none; background:var(--leaf-soft); color:var(--green-700); }
.ico svg{ width:26px; height:26px; }
.ico.gold{ background:var(--gold-soft); color:var(--gold-text); }
.card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--r); }
.grid{ display:grid; gap:20px; }
.g-2{ grid-template-columns:repeat(2, minmax(0,1fr)); }
.g-3{ grid-template-columns:repeat(3, minmax(0,1fr)); }
.g-4{ grid-template-columns:repeat(4, minmax(0,1fr)); }
@media (max-width:960px){ .g-3, .g-4{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:620px){ .g-2, .g-3, .g-4{ grid-template-columns:1fr; } }
.photo{ width:100%; object-fit:cover; border-radius:var(--r-lg); background:var(--sage); }

.ticks{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.ticks li{ position:relative; padding-left:28px; font-size:.97rem; }
.ticks li::before{
  content:""; position:absolute; left:0; top:.2em; width:18px; height:18px; border-radius:50%;
  background:var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b2a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---- top bar ---- */
.topbar{ background:var(--green-900); color:#d6e2c7; font-size:.88rem; }
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:40px; }
.topbar .tline{ color:var(--gold-soft); letter-spacing:.03em; }
.topbar .right{ display:flex; align-items:center; gap:20px; }
.topbar a{ color:#fff; font-weight:500; }
.topbar a:hover{ color:var(--gold-soft); }
@media (max-width:760px){ .topbar .tline, .topbar .hide-sm{ display:none; } .topbar .wrap{ justify-content:center; } }

/* ---- nav ---- */
.nav{ position:sticky; top:0; z-index:60; background:rgba(247,250,243,.94); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:108px; }
.logo{ display:inline-flex; align-items:center; flex:none; border-radius:10px; }
.logo img{ height:96px; width:auto; }
.nav .links{ display:flex; align-items:center; gap:4px; }
.nav .links a{ padding:.5em .9em; border-radius:999px; font-weight:500; color:var(--green-900); }
.nav .links a:hover{ background:var(--sage); }
.nav .links a[aria-current="page"]{ background:var(--leaf-soft); }
.nav .cta{ display:flex; align-items:center; gap:10px; }
.burger{ display:none; align-items:center; justify-content:center; width:46px; height:46px; border-radius:12px; border:1px solid var(--line); background:var(--paper); }
.burger span, .burger span::before, .burger span::after{ display:block; width:18px; height:2px; border-radius:2px; background:var(--green-900); }
.burger span{ position:relative; }
.burger span::before, .burger span::after{ content:""; position:absolute; left:0; }
.burger span::before{ top:-6px; }
.burger span::after{ top:6px; }
@media (max-width:1020px){
  .nav .links{ display:none; }
  .nav .cta .btn-ghost{ display:none; }
  .burger{ display:inline-flex; }
  .nav .links.open{ display:flex; position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch; gap:2px; padding:10px var(--gut) 18px; background:var(--page); border-bottom:1px solid var(--line); box-shadow:var(--float); }
  .nav .links.open a{ padding:.8em .9em; border-radius:12px; }
}
@media (max-width:520px){
  .nav .wrap{ min-height:84px; gap:10px; }
  .logo img{ height:70px; }
  .nav .cta .btn-primary{ min-height:44px; padding-inline:1em; font-size:.92rem; }
}

/* ---- CTA band ---- */
.cta-band{ background:var(--green-900); color:#dfe8d3; padding-block:clamp(56px, 7vw, 88px); border-top:3px solid var(--gold); }
.cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.cta-inner h2{ color:#fff; font-size:clamp(1.9rem, 3.4vw, 2.6rem); max-width:22ch; }

/* ---- footer ---- */
.footer{ background:#132a15; color:#c7d6b6; padding-block:60px 28px; font-size:.97rem; }
.footer .cols{ display:grid; grid-template-columns:1.25fr .8fr .9fr 1.45fr; gap:40px; }
.footer .brand img{ height:150px; width:auto; }
.footer .brand p{ margin:16px 0 0; max-width:32ch; }
.footer h4{ color:#fff; font-size:1.02rem; font-weight:600; margin-bottom:14px; letter-spacing:0; }
.footer ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.footer a{ color:#e4ecd9; }
.footer a:hover{ color:var(--gold-soft); }
.footer .row{ display:flex; gap:10px; align-items:flex-start; overflow-wrap:anywhere; }
.footer .row svg{ width:18px; height:18px; flex:none; margin-top:4px; color:var(--leaf); }
.footer .bottom{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12); font-size:.88rem; color:#9fb28c; }
@media (max-width:900px){ .footer .cols{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer .cols{ grid-template-columns:1fr; } }

/* ---- before / after tags (home hero, results) ---- */
.ba-tag{ position:absolute; left:10px; bottom:10px; padding:.15em .7em; border-radius:999px; font-size:.82rem; font-weight:600; background:rgba(255,255,255,.94); color:var(--green-900); }
.ba-tag.after{ background:var(--green-700); color:#fff; }

/* ---- lightbox ---- */
.lightbox{ position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center; padding:60px 16px; background:rgba(9,20,9,.93); }
.lightbox.open{ display:flex; }
.lb-img{ max-width:min(94vw, 900px); max-height:82vh; object-fit:contain; border-radius:10px; }
.lb-close, .lb-nav{ position:absolute; display:grid; place-items:center; border:0; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; line-height:1; }
.lb-close:hover, .lb-nav:hover{ background:rgba(255,255,255,.26); }
.lb-close{ top:12px; right:12px; width:46px; height:46px; font-size:1.8rem; }
.lb-nav{ top:50%; transform:translateY(-50%); width:50px; height:50px; font-size:2rem; }
.lb-prev{ left:10px; }
.lb-next{ right:10px; }
.lb-cap{ position:absolute; left:0; right:0; bottom:14px; margin:0; padding-inline:16px; text-align:center; color:#dfe8d3; }
@media (prefers-reduced-motion:no-preference){
  .lightbox.open .lb-img{ animation:lb-in .2s ease-out; }
  @keyframes lb-in{ from{ opacity:0; transform:scale(.97); } to{ opacity:1; transform:none; } }
}
