/* ===========================================================
   sections.css — page-specific section styles
   =========================================================== */

/* ---------- Decorative blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 16vw, 11rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero .blob-1 { width: 460px; height: 460px; background: var(--sage); top: -120px; right: -120px; opacity: .35; }
.hero .blob-2 { width: 380px; height: 380px; background: var(--clay); bottom: -160px; left: -140px; opacity: .28; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { margin: 1.4rem 0 0; }
.hero h1 .stroke {
  font-style: italic;
  color: var(--coral-deep);
}
.hero .lede { margin-top: 1.6rem; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-trust { margin-top: 2.4rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-trust .av:nth-child(1){background:var(--forest);}
.hero-trust .av:nth-child(2){background:var(--coral);}
.hero-trust .av:nth-child(3){background:var(--sage);}
.hero-trust .av:nth-child(4){background:var(--clay);}
.hero-trust p { font-size: .88rem; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.hero-trust p strong { color: var(--ink); }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 4/5; }
.hero-photo {
  position: absolute; inset: 0;
  border-radius: clamp(28px, 6vw, 60px) clamp(28px, 6vw, 60px) clamp(28px,6vw,60px) 120px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 0%, var(--sage-soft), transparent 60%),
    linear-gradient(160deg, var(--forest-2), var(--forest));
  box-shadow: var(--shadow-lg);
  display: grid; place-items: end center;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .ph-figure {
  width: 90%; height: 96%;
  align-self: end;
  background:
    radial-gradient(60% 50% at 50% 100%, color-mix(in srgb, var(--coral) 30%, transparent), transparent 70%);
  display: grid; place-items: center;
  color: color-mix(in srgb, var(--bone) 30%, transparent);
}
.hero-badge {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-md);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .8rem;
  z-index: 3;
}
.hero-badge .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-soft); color: var(--forest); flex: none; }
.hero-badge .ico svg { width: 22px; height: 22px; }
.hero-badge b { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1; }
.hero-badge span { font-size: .75rem; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.hero-badge--tl { top: 8%; left: -7%; }
.hero-badge--br { bottom: 9%; right: -6%; }
.hero-badge--tl { animation: float 6s var(--ease) infinite; }
.hero-badge--br { animation: float 7s var(--ease) infinite reverse; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--forest);
  color: var(--bone);
  padding-block: 1.1rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.marquee-track { display: inline-flex; gap: 2.5rem; align-items: center; animation: scroll-x 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track .sep { color: var(--coral); font-size: 1rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.stat { text-align: center; }
.stat b {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--forest);
  display: block;
  line-height: 1;
}
.stat > span { font-size: .86rem; color: color-mix(in srgb, var(--ink) 62%, transparent); margin-top: .5rem; display: block; }

/* ---------- About ---------- */
.about-visual { position: relative; aspect-ratio: 1/1.06; }
.about-photo {
  position: absolute; inset: 0;
  border-radius: clamp(24px, 5vw, 48px);
  overflow: hidden;
  background: linear-gradient(155deg, var(--paper-2), var(--sage-soft));
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.about-photo img { width:100%; height:100%; object-fit: cover; }
.about-photo .ph-figure { color: color-mix(in srgb, var(--forest) 22%, transparent); }
.about-sticker {
  position: absolute; bottom: -22px; right: -18px;
  width: clamp(110px, 16vw, 150px); height: clamp(110px, 16vw, 150px);
  border-radius: 50%;
  background: var(--coral);
  color: var(--bone);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-size: clamp(.9rem,1.4vw,1.05rem);
  box-shadow: var(--shadow-md);
  animation: spin-slow 26s linear infinite;
}
.about-sticker span { display: inline-block; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.spin-text { position: absolute; inset: 0; }
.spin-text svg { width: 100%; height: 100%; animation: spin-slow 24s linear infinite; }
.spin-text text { font-family: var(--font-body); font-size: 9.3px; letter-spacing: 3.4px; font-weight: 700; fill: var(--forest); text-transform: uppercase; }

.cred-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.cred-list li { display: flex; gap: .9rem; align-items: flex-start; }
.cred-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; margin-top: 2px; }
.cred-list .tick svg { width: 14px; height: 14px; }
.cred-list b { display: block; }
.cred-list p { color: color-mix(in srgb, var(--ink) 66%, transparent); font-size: .94rem; }

/* signature */
.signature { font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--forest); margin-top: 1.6rem; }

/* ---------- Programs grid ---------- */
.programs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.program-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.program-tags .tag { font-size: .76rem; font-weight: 600; padding: .35em .8em; border-radius: var(--r-pill); background: var(--sage-soft); color: var(--forest); }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); counter-reset: step; }
.step { position: relative; }
.step .step-no {
  font-family: var(--font-display);
  font-size: 1.1rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  color: var(--forest);
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  background: var(--bone);
  position: relative; z-index: 2;
}
.step h4 { margin-bottom: .5rem; }
.step p { font-size: .94rem; color: color-mix(in srgb, var(--ink) 66%, transparent); }
.steps.lined .step::after {
  content: "";
  position: absolute;
  top: 26px; left: 52px; right: -1rem;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--cream-line) 0 8px, transparent 8px 16px);
  z-index: 1;
}
.steps.lined .step:last-child::after { display: none; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); }
.testi {
  background: var(--paper);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.testi.feature { background: var(--forest); color: var(--bone); }
.testi.feature .who b, .testi.feature p { color: var(--bone); }
.testi.feature .who span { color: color-mix(in srgb, var(--bone) 65%, transparent); }
.testi p { font-size: 1.02rem; line-height: 1.55; }
.testi .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testi .who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--bone); flex: none; }
.testi .who b { display: block; font-family: var(--font-body); font-weight: 700; font-size: .95rem; }
.testi .who span { font-size: .82rem; color: color-mix(in srgb, var(--ink) 58%, transparent); }
.quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: .4; color: var(--coral); height: 1.4rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--forest);
  color: var(--bone);
  border-radius: clamp(28px, 5vw, 48px);
  padding: clamp(2.6rem, 6vw, 5rem);
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { color: var(--bone); }
.cta-band .lede { color: color-mix(in srgb, var(--bone) 78%, transparent); margin-inline: auto; }
.cta-band .blob-c { width: 360px; height: 360px; background: var(--coral); opacity: .25; top: -120px; left: -80px; }
.cta-band .blob-c2 { width: 320px; height: 320px; background: var(--sage); opacity: .22; bottom: -140px; right: -90px; }
.cta-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; z-index: 2; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--cream-line); }
.faq-q {
  width: 100%;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink);
}
/* The toggle is drawn from two bars rather than a "+" glyph, so it is
   optically centred at any size and rotates into a true x. A text plus
   is centred on its font metrics, not its ink, and lands off-centre. */
.faq-q .plus {
  flex: none;
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--cream-line);
  font-size: 0;
  color: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--forest);
  border-radius: 2px;
  transition: background .3s var(--ease);
}
.faq-q .plus::before { width: 13px; height: 1.75px; transform: translate(-50%, -50%); }
.faq-q .plus::after  { width: 1.75px; height: 13px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-q .plus { background: var(--coral); border-color: var(--coral); transform: rotate(135deg); }
.faq-item[open] .faq-q .plus::before,
.faq-item[open] .faq-q .plus::after { background: var(--bone); }
.faq-a { padding: 0 0 1.6rem; color: color-mix(in srgb, var(--ink) 70%, transparent); max-width: 64ch; }
details.faq-item summary { list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); align-items: stretch; }
.price {
  background: var(--paper);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex; flex-direction: column;
}
.price.featured { background: var(--forest); color: var(--bone); transform: scale(1.02); box-shadow: var(--shadow-lg); }
.price.featured h3, .price.featured .price-amt { color: var(--bone); }
.price.featured .price-feat li { color: color-mix(in srgb, var(--bone) 82%, transparent); }
.price.featured .price-feat .tick { background: color-mix(in srgb, var(--bone) 18%, transparent); color: var(--bone); }
.price-flag { align-self: flex-start; margin-bottom: 1rem; }
/* Reserve two lines for the plan name so the three prices sit on the
   same baseline whether or not the title wraps. */
.price h3 { min-height: 2.1em; display: flex; align-items: flex-end; }
.price-amt { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.05; margin: .9rem 0 .35rem; }
/* keep "/ month" whole rather than orphaning the unit on its own line */
.price-amt small { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: inherit; opacity: .7; white-space: nowrap; margin-left: .12em; }
.price-sub { font-size: .92rem; color: color-mix(in srgb, var(--ink) 60%, transparent); }
.price.featured .price-sub { color: color-mix(in srgb, var(--bone) 65%, transparent); }
.price-feat { display: grid; gap: .8rem; margin: 1.6rem 0; }
.price-feat li { display: flex; gap: .7rem; align-items: flex-start; font-size: .94rem; }
.price-feat .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; margin-top: 1px; }
.price-feat .tick svg { width: 12px; height: 12px; }
.price .btn { margin-top: auto; width: 100%; }

/* ---------- BMI tool ---------- */
.tool-card {
  background: var(--paper);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}
.seg { display: inline-flex; background: var(--bone); border: 1px solid var(--cream-line); border-radius: var(--r-pill); padding: 4px; }
.seg button { border: none; background: none; padding: .5em 1.2em; border-radius: var(--r-pill); font-weight: 600; cursor: pointer; color: color-mix(in srgb, var(--ink) 60%, transparent); transition: background .3s var(--ease), color .3s var(--ease); }
.seg button.active { background: var(--forest); color: var(--bone); }
.bmi-inputs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; margin: 1.8rem 0; }
.bmi-result {
  margin-top: 1.6rem;
  border-radius: var(--r-md);
  background: var(--bone);
  border: 1px solid var(--cream-line);
  padding: 1.6rem;
  text-align: center;
  display: none;
}
.bmi-result.show { display: block; animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bmi-score { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; color: var(--forest); }
.bmi-cat { font-weight: 700; margin-top: .4rem; }
.bmi-bar { height: 10px; border-radius: var(--r-pill); margin: 1.2rem 0 .4rem; background: linear-gradient(90deg, #6FA8DC, var(--sage), var(--gold), #C9762E); position: relative; }
.bmi-bar .pin { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 4px; background: var(--ink); transform: translateX(-50%); transition: left .6s var(--ease); }
.bmi-scale { display: flex; justify-content: space-between; font-size: .72rem; color: color-mix(in srgb, var(--ink) 55%, transparent); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding-top: clamp(8rem, 15vw, 11rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero .blob-1 { width: 420px; height: 420px; background: var(--sage); top: -160px; right: -120px; opacity: .3; }
.page-hero h1 { margin-top: 1rem; max-width: 16ch; }
.page-hero .lede { margin-top: 1.4rem; }
.breadcrumb { font-size: .82rem; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.breadcrumb a:hover { color: var(--coral-deep); }

/* contact layout */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1.4rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-row .ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sage-soft); color: var(--forest); display: grid; place-items: center; }
.contact-row .ico svg { width: 22px; height: 22px; }
.contact-row b { display: block; }
.contact-row a, .contact-row p { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.contact-row a:hover { color: var(--coral-deep); }
.form-card { background: var(--paper); border: 1px solid var(--cream-line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.form-grid { display: grid; gap: 1.1rem; }
.form-grid .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.1rem; }
.form-note { font-size: .82rem; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.form-success { display: none; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--sage-soft); color: var(--forest); font-weight: 600; }
.form-success.show { display: block; }

/* social icons */
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent); color: var(--bone); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.socials a:hover { background: var(--coral); border-color: var(--coral); color: var(--bone); transform: translateY(-3px); }
.socials a svg { width: 18px; height: 18px; }

/* logo strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; justify-content: center; opacity: .7; }
.logo-strip span { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); color: color-mix(in srgb, var(--ink) 55%, transparent); }
