/* ==========================================================================
   Eat Without Guilt — Preview Site Stylesheet
   Premium wellness design system: cream / sage / forest / gold.
   ========================================================================== */

/* ---- Tokens ---- */
:root {
  --cream: #FAF6EF;
  --ivory: #FFFDF8;
  --white: #FFFFFF;
  --blush: #F3E4DC;
  --sage: #8FAE8B;
  --sage-soft: #E4EDE2;
  --forest: #1E3A2B;
  --forest-deep: #152B20;
  --rose: #C4838F;
  --gold: #B8933E;
  --charcoal: #26251F;
  --stone: #6B6A61;
  --line: #E7E0D2;
  --success: #2E7D4F;
  --warning: #A8721C;
  --error: #B3403A;
  --wa: #25D366;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --radius-card: 16px;
  --radius-input: 12px;
  --pill: 999px;
  --shadow-rest: 0 2px 8px rgba(30,58,43,.06);
  --shadow-hover: 0 12px 28px rgba(30,58,43,.12);
  --section-pad: clamp(56px, 9vw, 104px);
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; } /* off-canvas nav lives off-screen right */
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--forest); line-height: 1.18; letter-spacing: -.01em; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.5vw + 1rem, 3.3rem); }
h2 { font-size: clamp(1.65rem, 2.6vw + .9rem, 2.35rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-deep); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sage-soft); color: var(--forest-deep); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; background: var(--forest); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.section { padding-block: var(--section-pad); }
.section--ivory { background: var(--ivory); }
.section--blush { background: linear-gradient(160deg, var(--blush), #F8EFE9); }
.section--sage { background: var(--sage-soft); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest :is(h1,h2,h3) { color: var(--cream); }
.section--forest p { color: #D9E2D5; }

.eyebrow { display: inline-block; font: 600 .82rem/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.center { text-align: center; }
.lede { font-size: 1.15rem; color: var(--stone); max-width: 46em; }
.center .lede { margin-inline: auto; }
.muted { color: var(--stone); }
.small { font-size: .875rem; }

/* ---- Admin-review marker (visible, honest, unmissable) ---- */
.admin-note {
  display: inline-flex; align-items: center; gap: .5em;
  background: #FDF3DE; border: 1.5px dashed var(--warning); color: #7A5514;
  border-radius: 10px; padding: .5em .9em; font-size: .84rem; font-weight: 600;
}
.admin-note::before { content: '⚠'; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.7em; border-radius: var(--pill);
  font: 600 1rem/1.2 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--secondary { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn--secondary:hover { background: var(--sage-soft); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1EB857; color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: .5em 1.3em; font-size: .92rem; }
.btn svg { flex: none; }

/* ---- Announcement bar ---- */
.bar { background: var(--forest); color: var(--cream); text-align: center; font-size: .9rem; padding: .55em 1em; }
.bar a { color: inherit; }

/* ---- Header ---- */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250,246,239,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(30,58,43,.07); }
.header__in { display: flex; align-items: center; gap: 1.2rem; min-height: 74px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; gap: .2rem; margin-left: auto; }
.nav a {
  padding: .55em .8em; border-radius: var(--pill); text-decoration: none;
  font-weight: 500; font-size: .96rem; color: var(--charcoal);
  transition: background-color .25s;
}
.nav a:hover { background: var(--sage-soft); }
.nav a[aria-current="page"] { background: var(--sage-soft); color: var(--forest); font-weight: 600; }
.header__ctas { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--forest);
  background: var(--sage-soft); transition: background-color .25s;
}
.icon-btn:hover { background: #D6E3D3; }
.icon-btn--wa { background: var(--wa); color: #fff; }
.icon-btn--wa:hover { background: #1EB857; color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--forest); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
    flex-direction: column; gap: .3rem; margin: 0; padding: 96px 26px 26px;
    background: var(--ivory); box-shadow: -12px 0 40px rgba(21,43,32,.18);
    transform: translateX(105%); transition: transform .35s var(--ease);
    z-index: 950; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.08rem; padding: .8em 1em; }
  .nav-toggle { display: block; margin-left: auto; z-index: 960; position: relative; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .header__ctas .btn--book { display: none; }
}

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px); }

/* Framed hero — rounded panel inset from the page edges (Tailark-style) */
.hero--frame { padding: clamp(8px, 1.4vw, 18px); background: var(--cream); }
.hero-frame {
  position: relative; overflow: hidden;
  border-radius: clamp(22px, 3.4vw, 48px);
  border: 1px solid rgba(21, 43, 32, .12);
  background: radial-gradient(120% 140% at 20% 0%, #234534 0%, var(--forest) 45%, var(--forest-deep) 100%);
  padding-block: clamp(72px, 11vw, 150px);
}
.hero-frame .hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero-frame .hero__waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* Barely-visible drifting nutrition & fitness silhouettes */
.hero__icons { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__icons svg {
  position: absolute; opacity: .09; color: var(--sage-soft);
  animation: drift 16s ease-in-out infinite;
}
.hero__icons svg:nth-child(3n)   { color: #D4B45E; opacity: .08; animation-duration: 20s; }
.hero__icons svg:nth-child(4n+1) { animation-delay: -6s; animation-duration: 18s; }
.hero__icons svg:nth-child(2n)   { animation-delay: -11s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(10px, -16px) rotate(3deg); }
  66%      { transform: translate(-8px, 10px) rotate(-3deg); }
}

/* Services marquee (infinite slider) */
.marquee { position: relative; overflow: hidden; padding-block: 1.3rem; }
.marquee__track {
  display: flex; gap: 3.5rem; width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 3.5rem; white-space: nowrap;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .04em; color: var(--stone);
}
.marquee__item::after { content: '✦'; color: var(--gold); font-size: .7rem; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; inset-block: 0; width: 90px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--cream), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, var(--cream), transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-label { text-align: center; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin: 1.6rem 0 0; }

/* Dark hero with animated wave background */
.hero--dark { background: radial-gradient(120% 140% at 20% 0%, #234534 0%, var(--forest) 45%, var(--forest-deep) 100%); }
.hero--dark .hero__waves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero--dark .hero__grid { position: relative; z-index: 1; }
.hero--dark h1 { color: var(--cream); }
.hero--dark h1 .accent { color: #D4B45E; }
.hero--dark .lede { color: #C9D4C5; }
.hero--dark .eyebrow { color: #D4B45E; }
.hero--dark .hero__proof { color: #AEC3A8; }
.hero--dark .hero__proof svg { color: #D4B45E; }
.hero--dark .btn--primary { background: var(--cream); color: var(--forest); }
.hero--dark .btn--primary:hover { background: #fff; color: var(--forest-deep); }
.hero--dark .btn--secondary { border-color: rgba(250,246,239,.55); color: var(--cream); }
.hero--dark .btn--secondary:hover { background: rgba(250,246,239,.12); }
.hero--dark .hero__blob { background: radial-gradient(closest-side, rgba(143,174,139,.28), rgba(143,174,139,0)); border-radius: 50%; filter: blur(10px); }
.hero--dark .hero__photo { background: linear-gradient(160deg, rgba(228,237,226,.16), rgba(243,228,220,.10)); border-color: rgba(250,246,239,.35); color: var(--cream); backdrop-filter: blur(2px); }
.hero--dark .float-leaf { color: #D4B45E; opacity: .4; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.4rem; color: var(--stone); font-size: .92rem; }
.hero__proof span { display: inline-flex; align-items: center; gap: .45em; }
.hero__proof svg { color: var(--sage); }

.hero__visual { position: relative; min-height: 380px; }
.hero__blob {
  position: absolute; inset: 4% 6%;
  background: linear-gradient(150deg, var(--sage-soft), var(--blush));
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%;
}
.hero__photo {
  position: relative; z-index: 1; margin: 8% 12%;
  aspect-ratio: 4/4.6; border-radius: 46% 54% 48% 52% / 42% 44% 56% 58%;
  background: linear-gradient(160deg, #DCE8D9, #C9DAC5);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; color: var(--forest);
  border: 3px solid #fff; box-shadow: var(--shadow-hover);
}
.float-card {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-hover); padding: .8rem 1.1rem;
  font-size: .86rem; line-height: 1.45;
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 1.02rem; color: var(--forest); }
.float-card--tl { top: 4%; left: 0; animation-delay: .4s; }
.float-card--br { bottom: 6%; right: 0; animation-duration: 9s; }
.float-card--bl { bottom: 18%; left: -2%; animation-duration: 8s; animation-delay: 1.1s; }
.float-leaf { position: absolute; z-index: 0; color: var(--sage); opacity: .5; animation: floaty 10s ease-in-out infinite; }
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(1.6deg); }
}

/* ---- Expandable card (Rimsha intro) ---- */
.xcard {
  max-width: 720px; margin-inline: auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-rest); overflow: hidden;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.xcard.is-open { box-shadow: var(--shadow-hover); }
.xcard:hover { box-shadow: var(--shadow-hover); }
.xcard__media {
  aspect-ratio: 16/11; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--sage-soft), var(--blush));
  text-align: center; padding: 1.5rem; color: var(--forest);
  transition: aspect-ratio .45s var(--ease);
}
.xcard__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; }
.xcard__bar h2 { margin: 0; font-size: 1.5rem; }
.xcard__bar .sub { color: var(--stone); font-size: .92rem; margin: .15rem 0 0; }
.xcard__toggle {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white); color: var(--forest);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.xcard__toggle:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.xcard.is-open .xcard__toggle { transform: rotate(45deg); background: var(--forest); color: #fff; border-color: var(--forest); }
.xcard__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.xcard__body > div { overflow: hidden; }
.xcard.is-open .xcard__body { grid-template-rows: 1fr; }
.xcard__inner { padding: .3rem 1.5rem 1.7rem; }

/* ---- Meet-your-dietitian side accents ---- */
.meet { position: relative; }
.meet__side {
  position: absolute; top: 55%; transform: translateY(-50%);
  width: 235px; display: grid; gap: 1rem; z-index: 1;
}
.meet__side--left { left: 0; }
.meet__side--right { right: 0; }
.meet-chip {
  display: flex; align-items: center; gap: .7rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-rest); padding: .8rem 1rem;
  font: 600 .85rem/1.4 var(--font-body); color: var(--forest);
  animation: floaty 8s ease-in-out infinite;
}
.meet-chip svg { flex: none; color: var(--gold); }
.meet__side .meet-chip:nth-child(2) { animation-delay: 1.2s; }
.meet__side .meet-chip:nth-child(3) { animation-delay: 2.4s; }
.meet__side .meet-chip:nth-child(4) { animation-delay: 3.6s; }
.meet-quote {
  margin: 0; background: var(--forest); color: var(--cream);
  border-radius: 16px; padding: 1.3rem 1.3rem 1.1rem; box-shadow: var(--shadow-hover);
  animation: floaty 9s ease-in-out infinite; animation-delay: .6s;
}
.meet-quote__mark { font: 700 2.6rem/0.6 var(--font-display); color: #D4B45E; display: block; margin-bottom: .4rem; }
.meet-quote blockquote { margin: 0 0 .6rem; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.45; }
.meet-quote figcaption { font-size: .78rem; color: #AEC3A8; }
@media (max-width: 1240px) { .meet__side { display: none; } }

/* ---- Trust strip ---- */
.trust { border-block: 1px solid var(--line); background: var(--ivory); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.6rem; }
@media (max-width: 880px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
.trust__item { display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .95rem; color: var(--forest); }
.trust__item svg { flex: none; color: var(--gold); }

/* ---- Cards & grids ---- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-rest); padding: clamp(1.3rem, 3vw, 1.9rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card--flat:hover { transform: none; box-shadow: var(--shadow-rest); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--sage-soft); color: var(--forest); margin-bottom: 1rem; font-size: 1.5rem;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--stone); font-size: .97rem; }
.card__foot { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.card__img { border-radius: 12px; margin-bottom: 1.1rem; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.tag { display: inline-block; background: var(--sage-soft); color: var(--forest); border-radius: var(--pill); font: 600 .8rem/1 var(--font-body); padding: .42em 1em; }
.tag--gold { background: #F4EAD4; color: #7A5F1E; }
.tag--rose { background: var(--blush); color: #96525F; }

/* ---- Card fan carousel (services) ---- */
.fan { position: relative; }
.fan__stage {
  position: relative; height: clamp(400px, 56vw, 500px);
  margin-top: 1.5rem;
}
.fan-card {
  position: absolute; left: 50%; top: 12px;
  width: clamp(230px, 30vw, 300px); aspect-ratio: 3/4.3;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, var(--sage-soft), var(--blush));
  border: 4px solid #fff; box-shadow: 0 16px 40px rgba(30,58,43,.22);
  transform-origin: 50% 150%;
  transition: transform .55s var(--ease), opacity .4s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fan-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fan-card__emoji { position: absolute; inset: 0 0 34%; display: flex; align-items: center; justify-content: center; font-size: 4.2rem; }
.fan-card__overlay {
  position: relative; z-index: 1; padding: 1.1rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(21,43,32,.92), rgba(21,43,32,.55) 65%, transparent);
  color: var(--cream);
}
.fan-card__overlay h3 { color: #fff; font-size: 1.15rem; margin: 0 0 .25rem; }
.fan-card__overlay p { color: #D9E2D5; font-size: .85rem; margin: 0 0 .8rem; line-height: 1.5; }
.fan-card__overlay .btn { min-height: 40px; padding: .4em 1.2em; font-size: .88rem; }
.fan-card[data-off='0'] { cursor: default; }
.fan-card:not([data-off='0']) { cursor: pointer; }
.fan-card:not([data-off='0']) .fan-card__overlay .btn { pointer-events: none; }

.fan__nav {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem;
}
.fan__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--forest); cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s, color .25s, transform .25s;
}
.fan__btn:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }
.fan__dots { display: flex; gap: .55rem; }
.fan__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line); transition: background-color .25s, transform .25s;
}
.fan__dot[aria-current='true'] { background: var(--gold); transform: scale(1.25); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.6rem 1.4rem 1.4rem; box-shadow: var(--shadow-rest); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font: 700 1rem/1 var(--font-body); color: var(--gold);
  display: inline-block; margin-bottom: .9rem; letter-spacing: .08em;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--stone); font-size: .93rem; margin: 0; }

/* ---- Glass step cards (How it works) — adapted from Uiverse.io by codebykay101 ---- */
.glass-steps {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 1.5rem;
}
.glass-steps .glass {
  position: relative;
  width: 220px;
  height: 250px;
  background: linear-gradient(rgba(250, 246, 239, .14), transparent);
  border: 1px solid rgba(250, 246, 239, .18);
  box-shadow: 0 25px 25px rgba(0, 0, 0, .25);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .5s;
  border-radius: 14px;
  margin: 0 -45px;
  backdrop-filter: blur(10px);
  transform: rotate(calc(var(--r) * 1deg));
}
.glass-steps:hover .glass,
.glass-steps:focus-within .glass {
  transform: rotate(0deg);
  margin: 0 10px;
}
.glass-steps .glass::before {
  content: attr(data-text);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 44px;
  background: rgba(250, 246, 239, .08);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cream);
  font: 600 .88rem/1.2 var(--font-body);
  letter-spacing: .03em;
}
.glass__in { text-align: center; padding: 0 1.1rem 2.6rem; color: var(--cream); }
.glass__num { font: 700 1rem/1 var(--font-body); letter-spacing: .1em; color: #D4B45E; display: block; margin-bottom: .7rem; }
.glass__in svg { color: #D4B45E; margin-inline: auto; margin-bottom: .8rem; display: block; }
.glass__in p { font-size: .82rem; line-height: 1.55; color: #C9D4C5; margin: 0; }

@media (max-width: 900px) {
  .glass-steps { flex-wrap: wrap; gap: 14px; }
  .glass-steps .glass { margin: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .glass-steps .glass { transform: none; margin: 0 8px; }
}

/* ---- Pricing / plan cards ---- */
.plan { position: relative; }
.plan--featured { border: 2px solid var(--gold); }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font: 700 .75rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: .5em 1.2em; border-radius: var(--pill); white-space: nowrap; }
.plan__price { font-family: var(--font-display); font-size: 2rem; color: var(--forest); margin: .2rem 0 .1rem; }
.plan__price small { font-size: .95rem; color: var(--stone); font-family: var(--font-body); }
.plan ul { list-style: none; padding: 0; margin: 1rem 0; }
.plan ul li { padding: .38em 0 .38em 1.7em; position: relative; font-size: .95rem; color: var(--charcoal); }
.plan ul li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ---- Expanding plan cards ---- */
.xplans { display: flex; gap: 10px; height: 500px; }
.xplan {
  position: relative; flex: 1; min-width: 58px; overflow: hidden;
  border-radius: 20px; cursor: pointer; border: 1px solid var(--line);
  box-shadow: var(--shadow-rest);
  background: linear-gradient(165deg, #2A5038, var(--forest-deep));
  transition: flex .65s var(--ease), box-shadow .4s;
}
.xplan--ga { background: linear-gradient(165deg, #2A5038, #152B20); }
.xplan--gb { background: linear-gradient(165deg, #1E3A2B, #3A6247); }
.xplan--gc { background: linear-gradient(165deg, #254532, #6E5A22); }
.xplan__num {
  position: absolute; top: 4%; right: 6%; z-index: 1;
  font: 600 clamp(4rem, 7vw, 7rem)/1 var(--font-display);
  color: rgba(250, 246, 239, .13); pointer-events: none;
}
.xplan.is-active { flex: 4; cursor: default; box-shadow: var(--shadow-hover); }
.xplan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xplan::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21,43,32,.94) 0%, rgba(21,43,32,.45) 45%, rgba(21,43,32,.18) 100%);
}
.xplan__label {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  writing-mode: vertical-rl; rotate: 180deg;
  z-index: 2; color: var(--cream); font: 600 .92rem/1.2 var(--font-body);
  letter-spacing: .04em; white-space: nowrap;
  transition: opacity .3s;
}
.xplan.is-active .xplan__label { opacity: 0; }
.xplan__content {
  position: absolute; inset-inline: 0; bottom: 0; z-index: 2;
  padding: clamp(1.2rem, 2.5vw, 2rem); color: var(--cream);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s ease .2s, transform .45s var(--ease) .2s;
  min-width: 300px;
}
.xplan.is-active .xplan__content { opacity: 1; transform: none; pointer-events: auto; }
.xplan__content h3 { color: #fff; margin: .7rem 0 .2rem; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.xplan__price { font-family: var(--font-display); font-size: 1.15rem; color: #E9DDBF; margin: 0 0 .6rem; }
.xplan__content ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.xplan__content ul li { padding: .28em 0 .28em 1.5em; position: relative; font-size: .93rem; color: #E4EDE2; }
.xplan__content ul li::before { content: '✓'; position: absolute; left: 0; color: #7CD9A5; font-weight: 700; }

@media (max-width: 820px) {
  .xplans { flex-direction: column; height: auto; }
  .xplan { min-height: 74px; flex: none; }
  .xplan.is-active { flex: none; min-height: 430px; }
  .xplan__label { writing-mode: horizontal-tb; rotate: none; left: 1.2rem; bottom: 50%; transform: translateY(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .xplan, .xplan__content { transition: none; }
}

/* ---- Schedule table ---- */
.table-scroll { overflow-x: auto; }
table.sched { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-rest); }
.sched th, .sched td { padding: .85em 1.1em; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.sched th { background: var(--forest); color: var(--cream); font-weight: 600; }
.sched tr:last-child td { border-bottom: 0; }

/* ---- Testimonials ---- */
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.6rem; box-shadow: var(--shadow-rest); }
.quote__stars { color: var(--gold); letter-spacing: .15em; margin-bottom: .7rem; }
.quote p { font-size: .98rem; }
.quote footer { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-soft); color: var(--forest); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.quote cite { font-style: normal; font-weight: 600; color: var(--forest); display: block; }
.quote .svc { font-size: .82rem; color: var(--stone); }
.disclaimer { font-size: .84rem; color: var(--stone); max-width: 52em; }

/* ---- BMI ---- */
.bmi { max-width: 680px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-rest); padding: clamp(1.6rem, 4vw, 2.6rem); }
.bmi__units { border: 0; padding: 0; margin: 0 0 1.3rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.bmi__units legend { font-weight: 600; margin-bottom: .6rem; }
.bmi__units label { display: inline-flex; align-items: center; gap: .5em; cursor: pointer; border: 1.5px solid var(--line); border-radius: var(--pill); padding: .5em 1.1em; font-size: .95rem; transition: border-color .2s, background-color .2s; }
.bmi__units label:has(input:checked) { border-color: var(--forest); background: var(--sage-soft); font-weight: 600; }
.bmi__units input { accent-color: var(--forest); }
.bmi form { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .6em 1em; border: 1.5px solid var(--line);
  border-radius: var(--radius-input); background: #fff; color: var(--charcoal);
  font: 400 1rem/1.4 var(--font-body); transition: border-color .25s;
}
.field :is(input,select,textarea):focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px var(--sage-soft); }
.field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: var(--error); font-weight: 600; margin: 0; }
.form-error::before { content: '⚠ '; }
.bmi__actions, .bmi__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.bmi__result { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.bmi__result.is-shown { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.bmi__value { font-family: var(--font-display); font-size: 3.1rem; line-height: 1; color: var(--forest); margin: 0 0 .2rem; }
.bmi__cat { font-weight: 700; font-size: 1.14rem; margin: 0 0 .7rem; }
.bmi__cat[data-cat='healthy'] { color: var(--success); }
.bmi__cat[data-cat='under'], .bmi__cat[data-cat='over'] { color: var(--warning); }
.bmi__cat[data-cat='obese'] { color: var(--error); }
@media (max-width: 500px) { .bmi__actions .btn, .bmi__ctas .btn { width: 100%; } }

/* ---- BMI section: dotted surface + gauge ---- */
.bmi-section {
  position: relative; overflow: hidden;
  background: radial-gradient(130% 130% at 50% 0%, #22422F 0%, var(--forest) 50%, var(--forest-deep) 100%);
}
.bmi-section #bmi-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bmi-wrap { position: relative; z-index: 1; }
.bmi-section h2 { color: var(--cream); }
.bmi-section .lede { color: #C9D4C5; }
.bmi-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.6rem; align-items: stretch;
  max-width: 1040px; margin-inline: auto;
}
@media (max-width: 920px) { .bmi-grid { grid-template-columns: 1fr; } }
.bmi-grid .bmi { max-width: none; margin: 0; }

.bmi-meter {
  background: rgba(250, 246, 239, .07);
  border: 1px solid rgba(250, 246, 239, .18);
  border-radius: 20px; backdrop-filter: blur(8px);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.bmi-gauge { width: min(340px, 90%); height: auto; margin-bottom: 1rem; }
.bmi-meter__hint { color: #AEC3A8; font-size: .95rem; max-width: 26em; }
.bmi-meter .bmi__result { margin: 0; padding: 0; border: 0; }
.bmi-meter .bmi__value { color: var(--cream); }
.bmi-meter .bmi-meter__range { color: #AEC3A8; font-size: .9rem; }
.bmi-meter .bmi__cat[data-cat='healthy'] { color: #7CD9A5; }
.bmi-meter .bmi__cat[data-cat='under'], .bmi-meter .bmi__cat[data-cat='over'] { color: #E9BE6C; }
.bmi-meter .bmi__cat[data-cat='obese'] { color: #F0968A; }
.bmi-meter .bmi__ctas { justify-content: center; margin-top: 1.1rem; }

/* ---- Products ---- */
.product { text-align: left; }
.product .card__img { aspect-ratio: 1; background: var(--sage-soft); }
.product__price { font-family: var(--font-display); font-size: 1.35rem; color: var(--forest); }
.product__labels { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0; }

/* ---- Circular testimonials ---- */
.circ {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; max-width: 980px; margin-inline: auto;
}
@media (max-width: 820px) { .circ { grid-template-columns: 1fr; } }
.circ__stack { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; margin-inline: auto; }
.circ-tile {
  position: absolute; inset: 0; border-radius: 26px; border: 4px solid #fff;
  box-shadow: 0 18px 44px rgba(30,58,43,.18);
  display: flex; align-items: center; justify-content: center;
  transition: transform .55s var(--ease), opacity .45s var(--ease);
  will-change: transform;
}
.circ-tile span { font: 600 clamp(4rem, 9vw, 6.5rem)/1 var(--font-display); color: var(--forest); opacity: .85; }
.circ-tile--a { background: linear-gradient(155deg, var(--sage-soft), var(--blush)); }
.circ-tile--b { background: linear-gradient(155deg, #F4EAD4, var(--sage-soft)); }
.circ-tile--c { background: linear-gradient(155deg, var(--blush), #F4EAD4); }

.circ__quote {
  margin: 0 0 1.2rem; font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; color: var(--forest);
}
.circ__name { font-weight: 700; color: var(--forest); margin: 0; font-size: 1.05rem; }
.circ__svc { color: var(--stone); font-size: .9rem; margin: .15rem 0 1.4rem; }
.circ__body .quote__stars { margin-bottom: 1rem; }
.circ__body.is-swapping .circ__quote,
.circ__body.is-swapping .circ__name,
.circ__body.is-swapping .circ__svc { opacity: 0; transform: translateY(8px); }
.circ__quote, .circ__name, .circ__svc { transition: opacity .25s ease, transform .25s ease; }
.circ__nav { display: flex; gap: .8rem; }
.circ__nav button {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--forest); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .25s, transform .25s;
}
.circ__nav button:hover { background: var(--forest-deep); transform: translateY(-2px); }

/* ---- Accordion ---- */
.acc { border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; overflow: hidden; box-shadow: var(--shadow-rest); }
.acc details + details { border-top: 1px solid var(--line); }
.acc summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.4rem; font-weight: 600; color: var(--forest); font-size: 1.02rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform .3s var(--ease); flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__body { padding: 0 1.4rem 1.2rem; color: var(--stone); font-size: .97rem; }

/* ---- Lead capture ---- */
.lead { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
@media (max-width: 800px) { .lead { grid-template-columns: 1fr; } }
.lead form { display: grid; gap: .9rem; }
.consent { display: flex; gap: .6em; align-items: flex-start; font-size: .85rem; color: var(--stone); }
.consent input { margin-top: .3em; accent-color: var(--forest); }

/* ---- Blog sections: spiral particle background ---- */
.blog-dark {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 50% 0%, #22422F 0%, var(--forest) 55%, var(--forest-deep) 100%);
}
.blog-dark .spiral-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.blog-dark .wrap { position: relative; z-index: 1; }
.blog-dark h1, .blog-dark h2 { color: var(--cream); }
.blog-dark .lede { color: #C9D4C5; }
.blog-dark .post h3 a, .blog-dark .post h3 { color: var(--forest); }

/* ---- Blog cards ---- */
.post .card__img { aspect-ratio: 16/10; }
.post__meta { display: flex; gap: .8rem; font-size: .82rem; color: var(--stone); margin-bottom: .5rem; align-items: center; }

/* ---- Final CTA ---- */
.cta-final { text-align: center; }
.cta-final .btns { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }

/* ---- Footer ---- */
.footer { background: var(--forest-deep); color: #C9D4C5; font-size: .94rem; }
.footer a { color: #E4EDE2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.2rem; padding-block: 3.4rem 2.4rem; }
@media (max-width: 950px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 12px; margin-bottom: 1rem; }
.footer__logo img { height: 44px; }
.footer__bottom { border-top: 1px solid rgba(228,237,226,.18); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .84rem; }
.footer__social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer__social a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: rgba(228,237,226,.12); align-items: center; justify-content: center; }
.footer__social a:hover { background: rgba(228,237,226,.25); }

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 990; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.22); transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 26px rgba(0,0,0,.28); }

/* ---- Page hero (inner pages) ---- */
.page-hero { background: linear-gradient(160deg, var(--sage-soft), var(--cream) 70%); padding-block: clamp(48px, 7vw, 84px); }
.breadcrumb { font-size: .85rem; color: var(--stone); margin-bottom: 1rem; }
.breadcrumb a { color: var(--stone); }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card .card__icon { margin: 0; flex: none; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .float-card, .float-leaf { animation: none; }
}

/* =========================================================================
   Full-bleed video hero + floating pill nav (Organised-style)
   ========================================================================= */
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--forest-deep);
}
.hero-full__media { position: absolute; inset: 0; z-index: 0; }
.hero-full__img,
.hero-full__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-full__img { animation: heroDrift 26s ease-in-out infinite alternate; }
.hero-full__video { z-index: 1; }              /* real mp4 covers the drifting image */
.hero-full__video.is-empty { display: none; }   /* no mp4 yet → show drifting image */
@keyframes heroDrift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.18) translate3d(-2.2%, -1.6%, 0); }
}
.hero-full::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top,
    rgba(21, 43, 32, .82) 0%, rgba(21, 43, 32, .34) 40%,
    rgba(21, 43, 32, .12) 64%, rgba(21, 43, 32, .34) 100%);
}
.hero-full__content {
  position: relative; z-index: 3; color: #fff;
  padding-block: clamp(6.5rem, 17vh, 9.5rem) clamp(3rem, 9vh, 6rem);
  max-width: 860px;
}
.hero-full__eyebrow {
  display: inline-block; font: 600 .82rem/1 var(--font-body);
  letter-spacing: .14em; text-transform: uppercase; color: #E9DDBF; margin-bottom: 1rem;
}
.hero-full h1 {
  color: #fff; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 1.03;
  letter-spacing: -.015em; margin: 0 0 1rem; text-wrap: balance;
}
.hero-full__lede {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 34em; margin: 0 0 1.9rem;
}
.hero-full__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn--ondark { background: #fff; color: var(--forest); }
.btn--ondark:hover { background: var(--cream); color: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--ghostlight { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghostlight:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }

/* ---- Floating pill nav overlaying the hero (homepage only) ---- */
body.home .bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 901;
  transition: transform .35s var(--ease);
}
body.home.scrolled .bar { transform: translateY(-100%); }
body.home .header {
  position: fixed; left: 0; right: 0; z-index: 900;
  background: transparent; border: 0; box-shadow: none;
  transition: top .35s var(--ease);
}
body.home.scrolled .header { top: 0 !important; }
body.home .header .header__in {
  margin-top: .7rem;
  border-radius: var(--pill);
  min-height: 62px;
  padding-inline: clamp(1rem, 2vw, 1.5rem);
  background: rgba(250, 246, 239, .72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 8px 30px rgba(21, 43, 32, .16);
  transition: background-color .3s ease;
}
body.home.scrolled .header .header__in { background: rgba(250, 246, 239, .95); }

@media (prefers-reduced-motion: reduce) {
  .hero-full__img { animation: none; }
}

/* ---- Hero reformat for Rimsha portrait (content left, her right) ---- */
.hero-full { align-items: center; }
.hero-full__img { object-position: 72% 42%; }
.hero-full::after {
  background:
    linear-gradient(100deg,
      rgba(21,43,32,.94) 0%, rgba(21,43,32,.86) 30%,
      rgba(21,43,32,.48) 52%, rgba(21,43,32,.06) 76%),
    linear-gradient(to top, rgba(21,43,32,.45) 0%, transparent 30%);
}
.hero-full__content {
  max-width: 620px; margin-right: auto; margin-left: 0;
  padding-block: clamp(9rem, 20vh, 12rem) clamp(3rem, 8vh, 5rem);
}
.hero-full__trust {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .9rem;
}
.hero-full__trust li {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .9rem; color: rgba(255,255,255,.9);
}
.hero-full__trust li::before {
  content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(212,180,94,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4B45E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

@media (max-width: 860px) {
  .hero-full { align-items: flex-end; }
  .hero-full__img { object-position: 58% 26%; }
  .hero-full::after {
    background: linear-gradient(to top,
      rgba(21,43,32,.92) 0%, rgba(21,43,32,.55) 45%, rgba(21,43,32,.30) 100%);
  }
  .hero-full__content {
    max-width: none; margin: 0;
    padding-block: clamp(7rem, 16vh, 9rem) clamp(2.5rem, 8vh, 4rem);
  }
  .hero-full__trust { gap: .4rem .8rem; }
}

/* ---- Hero: full desk photo with branding (final framing) ---- */
.hero-full { align-items: flex-end; }
.hero-full__img { object-position: 58% 60%; }
.hero-full::after {
  background:
    linear-gradient(to top, rgba(21,43,32,.74) 0%, rgba(21,43,32,.16) 40%, transparent 62%),
    linear-gradient(102deg, rgba(21,43,32,.55) 0%, rgba(21,43,32,.12) 30%, transparent 52%);
}
.hero-full__content {
  max-width: 620px; margin-left: 0; margin-right: auto;
  padding-block: clamp(8rem, 17vh, 11rem) clamp(2.6rem, 7vh, 4.6rem);
}
@media (max-width: 860px) {
  .hero-full__img { object-position: 56% 50%; }
  .hero-full::after {
    background: linear-gradient(to top, rgba(21,43,32,.9) 0%, rgba(21,43,32,.5) 48%, rgba(21,43,32,.28) 100%);
  }
}

/* ---- Hero: fit the WHOLE image (contain) on a blurred self-backdrop ---- */
.hero-full__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/rimsha-hero.jpg") center/cover no-repeat;
  filter: blur(30px) brightness(.58) saturate(1.05);
  transform: scale(1.15);
}
.hero-full__img {
  object-fit: contain;
  object-position: center;
  animation: none;
  z-index: 1;
}
.hero-full::after {
  background:
    linear-gradient(to top, rgba(21,43,32,.86) 0%, rgba(21,43,32,.26) 34%, transparent 58%),
    linear-gradient(100deg, rgba(21,43,32,.62) 0%, rgba(21,43,32,.12) 32%, transparent 56%);
}
.hero-full__content {
  max-width: 600px; margin-left: 0; margin-right: auto;
  padding-block: clamp(7rem, 15vh, 10rem) clamp(2.4rem, 7vh, 4.4rem);
}
@media (max-width: 860px) {
  .hero-full__content { max-width: none; }
  .hero-full::after {
    background: linear-gradient(to top, rgba(21,43,32,.9) 0%, rgba(21,43,32,.5) 42%, rgba(21,43,32,.34) 100%);
  }
}

/* ---- Hero contain: compact bottom text so the whole image stays visible ---- */
.hero-full h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; }
.hero-full__lede { font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 30em; margin-bottom: 1.3rem; }
.hero-full__content { max-width: 560px; padding-block: 0 clamp(2rem, 6vh, 3.8rem); }
.hero-full__trust { margin-top: 1.2rem; }
.hero-full::after {
  background: linear-gradient(to top,
    rgba(21,43,32,.93) 0%, rgba(21,43,32,.74) 20%,
    rgba(21,43,32,.36) 42%, rgba(21,43,32,.06) 62%, transparent 100%);
}
@media (max-width: 860px) {
  .hero-full::after {
    background: linear-gradient(to top, rgba(21,43,32,.94) 0%, rgba(21,43,32,.6) 40%, rgba(21,43,32,.34) 100%);
  }
}

/* ===== FINAL hero: sharp 4K portrait crop, cover, full head + headroom ===== */
.hero-full__bg { display: none; }
.hero-full { align-items: flex-end; }
.hero-full__img {
  object-fit: cover;
  object-position: 55% 72%;
  animation: heroDrift 28s ease-in-out infinite alternate;
  z-index: 1;
}
.hero-full::after {
  background:
    linear-gradient(to top, rgba(21,43,32,.82) 0%, rgba(21,43,32,.2) 40%, transparent 62%),
    linear-gradient(102deg, rgba(21,43,32,.56) 0%, rgba(21,43,32,.12) 30%, transparent 52%);
}
.hero-full h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 1.03; }
.hero-full__lede { font-size: clamp(1.05rem, 1.5vw, 1.28rem); max-width: 34em; margin-bottom: 1.9rem; }
.hero-full__content { max-width: 620px; padding-block: clamp(8rem, 17vh, 11rem) clamp(2.6rem, 7vh, 4.6rem); }
@media (prefers-reduced-motion: reduce) { .hero-full__img { animation: none; } }
@media (max-width: 860px) {
  .hero-full__img { object-position: 55% 64%; }
  .hero-full::after { background: linear-gradient(to top, rgba(21,43,32,.9) 0%, rgba(21,43,32,.5) 48%, rgba(21,43,32,.28) 100%); }
  .hero-full__content { max-width: none; }
}

/* ===== Lamp section (Meet your dietitian) — theme-recolored gold ===== */
.lamp {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 85% at 50% -8%, #22402E 0%, #12241A 55%, #0E1E15 100%);
  padding-top: clamp(120px, 17vh, 200px);
}
.lamp .wrap { position: relative; z-index: 2; }
.lamp__fx { position: absolute; top: 0; left: 0; right: 0; height: 420px; z-index: 1; pointer-events: none; }
.lamp__line {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%);
  width: clamp(260px, 42vw, 560px); height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, #E9C766, #F6E7B4, #E9C766, transparent);
  box-shadow: 0 0 30px 6px rgba(233,199,102,.5), 0 0 90px 24px rgba(212,180,94,.32);
  animation: lampOn 1.1s var(--ease) .15s both;
}
.lamp__spill {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%);
  width: clamp(340px, 58vw, 780px); height: 320px;
  background: radial-gradient(58% 100% at 50% 0%, rgba(233,199,102,.34), rgba(212,180,94,.10) 42%, transparent 72%);
  filter: blur(6px);
  animation: lampGlow 1.1s var(--ease) .15s both;
}
@keyframes lampOn { from { transform: translateX(-50%) scaleX(.28); opacity: .35; } to { transform: translateX(-50%) scaleX(1); opacity: 1; } }
@keyframes lampGlow { from { opacity: .25; } to { opacity: 1; } }
.lamp .eyebrow { color: #E9C766; }
.lamp__title { color: var(--cream); text-shadow: 0 0 34px rgba(233,199,102,.35); }
.lamp .xcard { border-color: rgba(250,246,239,.14); box-shadow: 0 26px 64px rgba(0,0,0,.45); }

/* success-story mini cards in the side spaces */
.ss-mini {
  position: relative;
  background: rgba(250,246,239,.07);
  border: 1px solid rgba(250,246,239,.16);
  border-radius: 14px; padding: 1rem 1.1rem;
  color: #EAEFE7; font-size: .9rem; line-height: 1.5;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
}
.ss-mini[data-stars]::before {
  content: '\2605\2605\2605\2605\2605'; display: block;
  color: #E9C766; letter-spacing: .12em; font-size: .78rem; margin-bottom: .45rem;
}
.ss-mini cite {
  display: block; margin-top: .55rem; color: #AEC3A8;
  font-style: normal; font-weight: 600; font-size: .8rem;
}
@media (prefers-reduced-motion: reduce) {
  .lamp__line, .lamp__spill { animation: none; }
}

/* ===== Lamp: lighter bg + brighter spotlight beam onto the dietitian ===== */
.lamp {
  background: radial-gradient(145% 110% at 50% 2%, #35604A 0%, #29502F 46%, #1F3C29 100%);
}
.lamp__fx { height: 100%; }
.lamp__line {
  top: 82px; height: 4px;
  background: linear-gradient(90deg, transparent, #F3E3A6, #FFF7DC, #F3E3A6, transparent);
  box-shadow: 0 0 42px 10px rgba(247,230,160,.72), 0 0 130px 44px rgba(233,199,102,.5);
}
.lamp__beam {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%);
  width: min(1020px, 94vw); height: 780px;
  background: linear-gradient(to bottom,
    rgba(252,238,178,.58) 0%, rgba(242,217,128,.30) 30%,
    rgba(233,199,102,.12) 60%, transparent 86%);
  clip-path: polygon(43% 0, 57% 0, 87% 100%, 13% 100%);
  filter: blur(18px);
  animation: lampGlow 1.1s var(--ease) .15s both;
}
.lamp__spot {
  position: absolute; top: 340px; left: 50%; transform: translateX(-50%);
  width: min(780px, 76vw); height: 600px;
  background: radial-gradient(50% 46% at 50% 42%, rgba(252,238,178,.36), rgba(233,199,102,.10) 46%, transparent 70%);
  filter: blur(26px);
  animation: lampGlow 1.2s var(--ease) .2s both;
}

/* ===== Section rhythm recolors ===== */
/* How it works (now on white): green 3D glass cards */
.glass-steps .glass {
  background: linear-gradient(160deg, rgba(30,58,43,.96), rgba(21,43,32,.9));
  border: 1px solid rgba(30,58,43,.4);
  box-shadow: 0 24px 52px rgba(21,43,32,.28);
}
.glass-steps .glass::before { background: rgba(255,255,255,.09); color: var(--cream); }
.glass-steps .glass__in p { color: #C9D4C5; }
.glass-steps .glass__num, .glass-steps .glass__in svg { color: #E9C766; }

/* Bakery (now on green): white product cards lifted for a 3D float */
.section--forest .product.card { box-shadow: 0 20px 46px rgba(0,0,0,.34); }
.section--forest .product.card:hover { box-shadow: 0 28px 60px rgba(0,0,0,.42); }

/* White cards inside a forest section: restore dark text (the section-wide
   light-heading rule was making plan names invisible on the white card). */
.section--forest .card :is(h1,h2,h3,h4) { color: var(--forest); }
.section--forest .card p { color: var(--charcoal); }
.section--forest .card .product__price,
.section--forest .card .plan__price { color: var(--forest); }
.section--forest .card .muted { color: var(--stone); }

/* ---- About page: Floating Background Paths (21st.dev BackgroundPaths, brand recolor) ----
   Vanilla port of the framer-motion component: 2 mirrored layers x 24 bezier strokes,
   drifting via stroke-dashoffset (pathLength=1 trick) with a slow opacity pulse. */
.has-paths { position: relative; overflow: hidden; }
.has-paths > .wrap { position: relative; z-index: 1; }
.bg-paths { position: absolute; inset: 0; pointer-events: none; color: var(--forest, #29502F); }
.section--ivory .bg-paths, .page-hero .bg-paths { color: #35604A; }
.bg-paths svg { width: 100%; height: 100%; display: block; }
.bg-paths path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 1;               /* pathLength="1" is set on each path */
  stroke-dashoffset: 1;
  animation:
    pathDrift var(--dur, 26s) linear infinite,
    pathPulse calc(var(--dur, 26s) * .55) ease-in-out infinite;
}
.bg-paths.is-off path { animation-play-state: paused; }   /* paused while offscreen */
@keyframes pathDrift { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -1; } }
@keyframes pathPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
/* soft fade at the edges so strokes melt into the section bg */
.bg-paths::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(250,247,240,.55), transparent 30%, transparent 70%, rgba(250,247,240,.55));
}
.section--ivory .bg-paths::after {
  background: linear-gradient(180deg, rgba(244,239,229,.6), transparent 32%, transparent 68%, rgba(244,239,229,.6));
}
@media (prefers-reduced-motion: reduce) {
  .bg-paths path { animation: none; opacity: .5; }
}

/* ---- Blog article pages ---- */
.article { max-width: 760px; margin-inline: auto; }
.article__hero { width: 100%; border-radius: var(--radius-card); box-shadow: var(--shadow-hover); margin-bottom: 1.6rem; display: block; }
.article__byline { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center; color: var(--ink-soft); font-size: .92rem; margin-bottom: 2rem; }
.article__byline .tag { font-size: .78rem; }
.article h2 { margin-top: 2.4rem; }
.article h3 { margin-top: 1.7rem; }
.article p, .article li { line-height: 1.75; }
.article ul, .article ol { padding-left: 1.3rem; margin: .9rem 0 1.2rem; }
.article li { margin: .4rem 0; }
.article .callout {
  background: var(--sage-soft, #E8EFE3); border-left: 4px solid var(--forest, #29502F);
  border-radius: 0 var(--radius-card) var(--radius-card) 0; padding: 1rem 1.2rem; margin: 1.5rem 0;
}
.article table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.article th, .article td { text-align: left; padding: .6em .8em; border-bottom: 1px solid rgba(0,0,0,.08); }
.article th { background: var(--sage-soft, #E8EFE3); }
.article details { border: 1px solid rgba(0,0,0,.1); border-radius: 12px; padding: .85rem 1.1rem; margin: .6rem 0; background: #fff; }
.article details summary { font-weight: 600; cursor: pointer; }
.article details p { margin: .7rem 0 .2rem; }
.article .author-box {
  display: flex; gap: 1.1rem; align-items: center; background: #fff; border-radius: var(--radius-card);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-card); margin-top: 2.6rem;
}
.article .author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 55% 25%; }
.article .author-box p { margin: .15rem 0 0; font-size: .93rem; }
.article .disclaimer { margin-top: 1.4rem; }

/* ---- Sparkles hero (Contact "Get in touch") — 21st.dev Sparkles, brand recolor ---- */
.contact-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 125% at 50% 0%, #29502F 0%, #1E3A2B 55%, #152B20 100%);
}
.contact-hero > .wrap { position: relative; z-index: 2; }
.contact-hero h1 { color: var(--cream); }
.contact-hero .lede { color: #C9D4C5; }
.contact-hero .breadcrumb, .contact-hero .breadcrumb a { color: #9DB294; }
.contact-hero .breadcrumb a:hover { color: var(--cream); }
/* particle layer, faded at the edges so dots melt into the section */
.sparkles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: radial-gradient(115% 90% at 50% 22%, #000 45%, transparent 100%);
          mask-image: radial-gradient(115% 90% at 50% 22%, #000 45%, transparent 100%);
}
.sparkles canvas { display: block; }
/* glowing accent line under the heading, like the reference demo */
.spark-glow { position: relative; width: min(460px, 78%); height: 2px; margin: 1.5rem 0 .2rem; }
.spark-glow::before, .spark-glow::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.spark-glow::after { filter: blur(6px); height: 5px; top: -1px; opacity: .8; }

/* ---- WordPress primary nav (renders as <li> items): remove bullets, widen, no-wrap ---- */
.header .nav { gap: .35rem; align-items: center; }
.header .nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .35rem; }
.header .nav li { list-style: none; margin: 0; padding: 0; }
.header .nav li::marker { content: ""; }
.header .nav a { white-space: nowrap; padding: .6em 1.1em; }
@media (min-width: 1100px) {
  .header .nav { gap: .5rem; }
  .header .nav a { padding: .62em 1.15em; letter-spacing: .005em; }
}

/* Logo must never be squashed by the nav (it is a flex item) */
.header__in > .header__logo { flex: 0 0 auto; }
.header__logo img { width: auto; max-width: none; flex: 0 0 auto; }
.header .nav { min-width: 0; flex-shrink: 1; }

/* ---- Header fit: give the bar room so every menu item shows ---- */
@media (min-width: 1200px) {
  .header .wrap { max-width: min(1520px, 95vw); }
}
/* CTAs never shrink; WhatsApp stays a perfect circle at full size */
.header__ctas { flex: 0 0 auto; }
.header__ctas .icon-btn {
  flex: 0 0 auto;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  aspect-ratio: 1 / 1; padding: 0; border-radius: 50%;
}
.header__ctas .icon-btn svg { width: 22px; height: 22px; display: block; flex: 0 0 auto; }
.header__ctas .btn--book { white-space: nowrap; flex: 0 0 auto; }

/* ===== Order builder — pizza-builder-style quick chooser ===== */
.pb-section { background: var(--ivory); }
.pb { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.pb__hello { color: var(--stone); font-size: 1.25rem; margin: 0 0 .1rem; font-family: var(--font-display); }
.pb__q { margin: 0 0 1.4rem; }
.pb__step { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin: 1.3rem 0 .55rem; }
.pb__goals, .pb__levels { display: flex; flex-wrap: wrap; gap: .5rem; }
.pb__goals button, .pb__levels button {
  border: 1.5px solid var(--line); background: #fff; color: var(--charcoal);
  border-radius: var(--pill); padding: .55em 1.15em; font: 600 .92rem var(--font-body);
  cursor: pointer; transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.pb__goals button:hover, .pb__levels button:hover { border-color: var(--sage); transform: translateY(-1px); }
.pb__goals button[aria-pressed="true"], .pb__levels button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pb__durs { display: flex; gap: .7rem; flex-wrap: wrap; }
.pb__durs button {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  font: 700 .95rem var(--font-body); color: var(--charcoal); cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.pb__durs button:hover:not(:disabled) { border-color: var(--sage); transform: translateY(-2px); }
.pb__durs button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.pb__durs button:disabled { opacity: .3; cursor: not-allowed; }
.pb__goalline { color: var(--gold); font-weight: 600; font-size: .92rem; min-height: 1.4em; margin: 1.1rem 0 0; }
.pb__price { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.9rem); color: var(--forest); font-weight: 600; line-height: 1; }
.pb__pricerow { margin: .35rem 0 1.1rem; display: flex; align-items: baseline; gap: .6rem; }
.pb__price.pop { animation: pbPop .3s var(--ease); }
@keyframes pbPop { from { transform: scale(.92); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.pb__cta { font-size: 1rem; padding: .85em 1.5em; }
.pb__cta .pb__chip { background: rgba(255,255,255,.18); border-radius: var(--pill); padding: .25em .8em; font-size: .8rem; margin-left: .7em; }
.pb__note { color: var(--stone); font-size: .78rem; margin-top: .7rem; }
.pb__panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-hover); padding: 1.15rem; }
.pb__photo { width: 100%; height: 168px; object-fit: cover; border-radius: 14px; display: block; margin-bottom: .9rem; }
.pb__panel-head { display: flex; align-items: center; justify-content: space-between; padding: 0 .2rem .6rem; }
.pb__count { background: var(--sage-soft); color: var(--forest); border-radius: var(--pill); font-size: .76rem; font-weight: 700; padding: .3em .8em; }
.pb__list { max-height: 320px; overflow: auto; display: grid; gap: .3rem; scrollbar-width: thin; }
.pb__row { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 12px; transition: background .2s; }
.pb__row:hover { background: var(--cream); }
.pb__row--click { cursor: pointer; }
.pb__ico { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); color: var(--success); display: grid; place-items: center; font-size: .95rem; overflow: hidden; }
.pb__ico img { width: 100%; height: 100%; object-fit: cover; }
.pb__feat { flex: 1; font-size: .9rem; line-height: 1.35; }
.pb__rowprice { font-size: .84rem; font-weight: 600; color: var(--stone); white-space: nowrap; }
.pb__tog { flex: 0 0 40px; width: 40px; height: 22px; border-radius: var(--pill); background: var(--success); position: relative; transition: background .25s var(--ease); }
.pb__tog::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.pb__tog--off { background: #D5CFC0; }
.pb__tog--off::after { transform: translateX(-18px); }
.pb__fade { animation: pbFade .3s var(--ease); }
@keyframes pbFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .pb { grid-template-columns: 1fr; } .pb__list { max-height: 300px; } }

/* ===== WooCommerce cart & checkout, theme skin ===== */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt, .woocommerce #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--forest); color: #fff; border: none; border-radius: var(--pill);
  font-family: var(--font-body); font-weight: 600; padding: .85em 1.7em;
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce #payment #place_order:hover, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--forest-deep); color: #fff; transform: translateY(-1px);
}
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--forest); color: #fff; opacity: .55; border-radius: var(--pill); padding: .85em 1.7em; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; text-align: center; font-size: 1.05rem; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; overflow: hidden; border-collapse: separate; }
.woocommerce table.shop_table th { background: var(--cream); color: var(--forest); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select, .woocommerce .quantity .qty, .woocommerce #coupon_code {
  border: 1.5px solid var(--line); border-radius: var(--radius-input); padding: .6em .85em; background: #fff; font-family: var(--font-body);
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus, .woocommerce #coupon_code:focus { border-color: var(--sage); outline: none; }
.woocommerce #payment { background: var(--cream); border-radius: var(--radius-card); }
.woocommerce #payment div.payment_box { background: #fff; border-radius: var(--radius-input); }
.woocommerce #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--forest); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--forest); }
.woocommerce .woocommerce-form-coupon, .woocommerce form.checkout_coupon { border: 1.5px dashed var(--line); border-radius: var(--radius-card); }
.woocommerce h3, .woocommerce-checkout h3 { font-family: var(--font-display); color: var(--forest); }
.pb__variant { color: var(--stone); font-style: normal; font-size: .8em; margin-left: .35em; }

/* The drawer-only booking button must stay hidden in the desktop inline nav. */

/* ===== Mobile fixes =====
   THE MENU BUG: an element with backdrop-filter becomes the containing block for
   its position:fixed descendants. .header and .header__in both blur their
   backdrop, so the nav drawer (position:fixed; inset:0 0 0 auto) was being
   clipped to the little header pill instead of filling the viewport. Dropping
   the blur below 1080px fixes the drawer — and removes an expensive per-frame
   compositing step on exactly the devices least able to afford it. */
@media (max-width: 1080px) {
	.header,
	body.home .header,
	body.home .header .header__in {
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
	}
	.header { background: var(--cream); }
	body.home .header .header__in {
		background: var(--cream);
		box-shadow: 0 4px 18px rgba(21, 43, 32, .10);
	}

	/* Drawer: comfortable, scrollable, safe-area aware */
	.nav {
		width: min(360px, 86vw);
		padding: 84px 20px calc(26px + env(safe-area-inset-bottom, 0px));
		gap: .15rem;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
	.nav ul { flex-direction: column; align-items: stretch; gap: .15rem; width: 100%; }
	.nav li { width: 100%; }
	.nav a {
		display: block; width: 100%;
		min-height: 48px; line-height: 1.3;
		padding: .85em 1em;
		white-space: normal;
		border-radius: 12px;
	}

	/* Dim the page behind the open drawer, and let a tap on it close the menu. */
	

	/* Comfortable tap targets everywhere */
	.header__ctas .icon-btn { width: 46px; height: 46px; min-width: 46px; min-height: 46px; }
	.nav-toggle { padding: 12px; min-width: 48px; min-height: 48px; }
}

/* Small phones: stop anything from pushing the page sideways */
@media (max-width: 640px) {
	html, body { overflow-x: hidden; }
	.wrap { padding-inline: 18px; }
	.btn { min-height: 48px; }
	.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	/* the order builder stacks; keep its list readable and thumb-friendly */
	.pb__list { max-height: none; }
	.pb__row { padding: .7rem .55rem; }
	.pb__durs button { width: 52px; height: 52px; }
	.pb__cta { width: 100%; justify-content: center; }
	/* WhatsApp float shouldn't cover content or sit under the home indicator */
	.wa-float { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* Respect users who ask for less motion, and cut effects that cost the most on phones */
@media (max-width: 1080px) {
	.lamp__fx, .bg-paths { display: none; }
	.card { box-shadow: var(--shadow-rest); }
}

/* ===== Mobile form ergonomics =====
   iOS Safari zooms the whole page when you focus a field smaller than 16px.
   Mid-checkout that reads as the site breaking. 16px keeps the viewport still,
   and 48px targets make the fields easy to hit with a thumb. */
@media (max-width: 1080px) {
	input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
	select,
	textarea,
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row select,
	.woocommerce form .form-row textarea,
	.woocommerce #coupon_code,
	.woocommerce .quantity .qty {
		font-size: 16px;
		min-height: 48px;
	}
	textarea,
	.woocommerce form .form-row textarea { min-height: 120px; }

	.woocommerce form .form-row { margin-bottom: 1rem; }
	.woocommerce form .form-row label { font-size: .95rem; margin-bottom: .3rem; display: block; }

	/* Carousel dots stay visually small but get a proper 44px touch area. */
	.fan__dot, .circ__dot { position: relative; }
	.fan__dot::after, .circ__dot::after {
		content: ""; position: absolute; left: 50%; top: 50%;
		width: 44px; height: 44px; transform: translate(-50%, -50%);
	}
}

@media (max-width: 640px) {
	/* The money buttons deserve the full width on a phone. */
	.woocommerce #payment #place_order,
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
	.woocommerce .cart .button,
	.woocommerce .cart input.button { width: 100%; }
	.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: .8rem .6rem; }
}


/* ===== Mobile menu drawer =====
   Body-level panel: it owns its own stacking context, so nothing in the header
   can clip it or wash it out. Hidden entirely above the mobile breakpoint. */
.m-scrim, .m-drawer { display: none; }

@media (max-width: 1080px) {
	/* the inline desktop nav is replaced by the drawer on small screens */
	.header .nav { display: none !important; }

	.m-scrim {
		display: block;
		position: fixed; inset: 0; z-index: 1000;
		background: rgba(21, 43, 32, .5);
		opacity: 0; pointer-events: none;
		transition: opacity .3s var(--ease);
		-webkit-tap-highlight-color: transparent;
	}
	.m-scrim.is-open { opacity: 1; pointer-events: auto; }

	.m-drawer {
		display: flex; flex-direction: column;
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
		width: min(360px, 86vw);
		background: var(--ivory);
		box-shadow: -18px 0 50px rgba(21, 43, 32, .28);
		transform: translateX(103%);
		transition: transform .34s var(--ease);
		overflow-y: auto; overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.m-drawer.is-open { transform: none; }
	/* Keep the panel clear of the WordPress admin bar when signed in. */
	body.admin-bar .m-drawer, body.admin-bar .m-scrim { top: 46px; }

	.m-drawer__head {
		display: flex; align-items: center; justify-content: space-between;
		gap: 1rem; padding: 1.1rem 1.15rem 1rem;
		border-bottom: 1px solid var(--line);
		position: sticky; top: 0; background: var(--ivory); z-index: 1;
	}
	.m-drawer__logo { height: 38px; width: auto; display: block; }
	.m-drawer__close {
		flex: 0 0 auto; width: 46px; height: 46px;
		display: grid; place-items: center;
		border: 1px solid var(--line); border-radius: 50%;
		background: #fff; color: var(--forest); cursor: pointer;
		transition: background-color .2s, border-color .2s;
	}
	.m-drawer__close:active { background: var(--sage-soft); border-color: var(--sage); }

	.m-drawer__list { list-style: none; margin: 0; padding: .7rem .8rem; display: grid; gap: .1rem; }
	.m-drawer__list li { list-style: none; margin: 0; }
	.m-drawer__list a {
		display: flex; align-items: center; min-height: 52px;
		padding: .7em .9em; border-radius: 12px;
		font-family: var(--font-body); font-size: 1.06rem; font-weight: 500;
		color: var(--charcoal); text-decoration: none; line-height: 1.3;
		transition: background-color .2s, color .2s;
	}
	.m-drawer__list a:active { background: var(--sage-soft); }
	.m-drawer__list a.is-current {
		background: var(--sage-soft); color: var(--forest); font-weight: 600;
	}

	.m-drawer__foot {
		margin-top: auto; padding: 1rem 1.15rem 1.4rem;
		border-top: 1px solid var(--line); display: grid; gap: .55rem;
	}
	.m-drawer__book { width: 100%; justify-content: center; min-height: 52px; }
	.m-drawer__line {
		display: flex; align-items: baseline; gap: .45rem; min-height: 44px;
		padding: .35rem .1rem;
		font-size: .95rem; color: var(--charcoal); text-decoration: none;
	}
	.m-drawer__line span {
		font-size: .72rem; font-weight: 700; letter-spacing: .07em;
		text-transform: uppercase; color: var(--stone);
	}

	body.nav-open { overflow: hidden; }
}
