/* ==========================================================================
   Natyropatia Studio — "a modern herbal"
   Original greens, book-like serif (Lora) + clear humanist sans (Source Sans 3).
   Both fonts are bundled (SIL Open Font License) – no requests to Google.
   ========================================================================== */

@font-face { font-family: "Lora"; src: url("../fonts/lora.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/sourcesans3.woff") format("woff"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/sourcesans3-italic.woff") format("woff"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  /* palette – the original site's greens */
  --forest:  #1f4d14;
  --forest-2:#173b0f;
  --leaf:    #4f8f2d;
  --leaf-2:  #3e7622;
  --meadow:  #8db35a;
  --lime:    #d9e021;
  --sprout:  #eef4e1;
  --mist:    #f7faf1;
  --ink:     #1b2615;
  --muted:   #56644c;
  --line:    #d6e3c2;
  --white:   #fff;

  --serif: "Lora", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --r-sm: 10px;
  --r-md: 16px;
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--white); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 600; color: var(--forest); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.4rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 200; background: var(--white); padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { left: .5rem; }
.muted { color: var(--muted); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--leaf); color: var(--white); }
.btn-primary:hover { background: var(--forest); color: var(--white); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-light { background: var(--lime); color: var(--forest); }
.btn-light:hover { background: var(--white); color: var(--forest); }
.btn-ghost-light { border-color: rgba(238,244,225,.55); color: var(--sprout); }
.btn-ghost-light:hover { background: var(--sprout); color: var(--forest); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.75rem; }
.text-link { font-weight: 600; color: var(--leaf-2); }

/* ---------- top bar ---------- */
.topbar { background: var(--forest); color: var(--sprout); font-size: .9rem; }
.topbar-in { display: flex; align-items: center; gap: 1.5rem; min-height: 38px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar-addr { display: none; align-items: center; gap: .45rem; opacity: .85; }
.topbar-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; white-space: nowrap; }
.lang { margin-left: auto; display: flex; gap: .2rem; }
.lang a { padding: .15rem .65rem; border-radius: 999px; opacity: .8; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { background: var(--lime); color: var(--forest); opacity: 1; font-weight: 600; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--forest); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-name { display: block; font: 600 1.2rem/1.1 var(--serif); white-space: nowrap; }
@media (max-width: 400px) { .brand-name { font-size: 1.05rem; } .brand img { width: 36px; height: 36px; } .header-in { gap: .6rem; } }
.brand-by { display: block; font-size: .82rem; color: var(--muted); }
.btn-book { min-height: 42px; padding: .5rem 1rem; background: var(--leaf); color: var(--white); }
.btn-book:hover { background: var(--forest); color: var(--white); }
.btn-book { display: none; }

.nav { order: 3; }
.nav-toggle { display: inline-flex; align-items: center; gap: .45rem; min-height: 42px; padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--forest); font: 600 .95rem var(--sans); cursor: pointer; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu:not(.open) { display: none; }
.menu.open {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line);
  padding: .5rem var(--gutter) 1.25rem; max-height: calc(100vh - 110px); overflow: auto; box-shadow: 0 18px 30px -18px rgba(31,77,20,.35);
}
.sub-toggle, .menu-link {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .35rem;
  padding: .85rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer;
  font: 600 1.05rem var(--sans); color: var(--ink); text-decoration: none; text-align: left;
}
.sub-toggle .icon { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-sub.is-current > .sub-toggle, .menu-link[aria-current] { color: var(--leaf-2); }
.sub { list-style: none; margin: 0; padding: .25rem 0 .5rem; display: none; }
.sub.open { display: block; }
.sub a { display: block; padding: .5rem .75rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--sprout); color: var(--forest); }
.sub a[aria-current] { background: var(--sprout); color: var(--forest); font-weight: 600; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(120% 90% at 85% 40%, #e2edcd 0, var(--sprout) 45%, var(--mist) 100%); overflow: hidden; }
.hero-in { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero h1 { font-size: clamp(2.7rem, 1.4rem + 5.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.025em; max-width: 10ch; margin-bottom: .35em; }
.hero-lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: #33442a; max-width: 34em; }
.trust { list-style: none; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; font-size: .95rem; color: var(--muted); }
.trust a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.trust strong { color: var(--forest); font-size: 1.05rem; }
.stars { display: inline-flex; color: #c3ab00; }
.stars .icon { width: 1rem; height: 1rem; }
.hero-art { justify-self: center; width: min(420px, 82vw); }
.emblem { width: 100%; }
.emblem .rings circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .emblem .rings circle { stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6,.05,.3,1) forwards; }
  .emblem .rings circle:nth-child(2) { animation-delay: .15s; }
  .emblem .rings circle:nth-child(3) { animation-delay: .3s; }
  .emblem .rings circle:nth-child(4) { animation-delay: .45s; }
  .emblem .core { transform-origin: 50% 50%; animation: grow .9s .5s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { opacity: 0; transform: scale(.9) rotate(-20deg); } }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section-sprout { background: var(--sprout); }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 46rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head h2 { margin: 0 0 .35em; }
.more { margin: 2rem 0 0; }

/* services: a ruled list, not boxed cards */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.svc { position: relative; padding: 1.6rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.svc h3 { margin-bottom: .35rem; }
.svc h3 a { color: var(--forest); text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; }
.svc:hover h3 a { text-decoration: underline; }
.svc p { color: var(--muted); max-width: 36em; margin-bottom: .75rem; }
.svc-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-weight: 600; color: var(--leaf-2); margin: 0; }
.svc-facts span { display: inline-flex; align-items: center; gap: .35rem; }
.svc-more { display: none; }
.svc-list.compact .svc { padding: 1.2rem 0; }
.svc-list.compact h3 { font-size: 1.15rem; }

/* how a visit works – a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--forest); color: var(--lime); font: 600 1.25rem var(--serif);
}
.steps h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.steps p { color: var(--muted); margin: 0; }

/* quotes band */
.quotes { background: var(--forest); color: var(--sprout); padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.quotes::after { content: ""; position: absolute; right: -140px; top: 50%; width: 460px; height: 460px; translate: 0 -50%; border-radius: 50%; border: 1px solid rgba(141,179,90,.35); box-shadow: 0 0 0 40px rgba(141,179,90,.06), 0 0 0 80px rgba(141,179,90,.04); pointer-events: none; }
.quotes-in { position: relative; z-index: 1; }
.quote { margin: 0; }
.quote[hidden] { display: none; }
.quote blockquote { margin: 0; }
.quote p { font: italic 400 clamp(1.7rem, 1.1rem + 2.6vw, 3rem)/1.25 var(--serif); max-width: 24ch; margin: 0; color: var(--white); }
.quote p::before { content: "“"; color: var(--lime); }
.quote p::after { content: "”"; color: var(--lime); }
.quote figcaption { margin-top: 1rem; color: var(--meadow); font-weight: 600; }
.quote.is-active { animation: fadein .7s ease both; }
@keyframes fadein { from { opacity: 0; } }
.quote-nav { display: flex; gap: .5rem; margin-top: 2rem; }
.quote-nav button { width: 32px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(238,244,225,.3); cursor: pointer; }
.quote-nav button[aria-pressed="true"] { background: var(--lime); }
.quote-nav button:hover { background: var(--meadow); }

/* about */
.about { display: grid; gap: 2.5rem; align-items: center; }
.about-portrait { margin: 0; justify-self: center; width: min(380px, 100%); }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-md) var(--r-md); background: var(--sprout); }
.about-text p { max-width: 38em; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.75rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
.facts div { margin: 0; }
.facts dt { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1 var(--serif); color: var(--leaf); }
.facts dd { margin: .35rem 0 0; font-size: .92rem; color: var(--muted); line-height: 1.35; }

/* methods */
.methods { display: grid; gap: 1.25rem; }
.method { display: block; padding: 1.25rem 0 0; border-top: 3px solid var(--meadow); text-decoration: none; color: var(--ink); }
.method h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.method p { color: var(--muted); margin: 0; }
.method:hover { border-color: var(--forest); color: var(--ink); }
.method:hover h3 { text-decoration: underline; }

/* superfood chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips a { display: inline-block; padding: .55rem 1.05rem; border-radius: 999px; background: var(--sprout); color: var(--forest); text-decoration: none; font-weight: 600; border: 1px solid var(--line); }
.chips a:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* visit band */
.visit { background: var(--leaf-2); background: linear-gradient(135deg, var(--forest) 0, var(--leaf-2) 100%); color: var(--sprout); padding-block: var(--section); }
.visit-in { display: grid; gap: 2.5rem; align-items: center; }
.visit h2 { color: var(--white); }
.visit p { max-width: 32em; font-size: 1.1rem; }
.visit-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.visit-list li { display: flex; gap: .6rem; align-items: flex-start; }
.visit-list .icon { color: var(--lime); margin-top: .25rem; }
.visit-list a { color: var(--white); font-weight: 600; text-decoration: none; font-size: 1.15rem; }
.visit-map { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); }
.visit-map img { width: 100%; }
.visit-map-label { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; gap: .4rem; align-items: center; background: var(--white); color: var(--forest); padding: .5rem .9rem; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.visit-map:hover .visit-map-label { background: var(--lime); }

/* ---------- photos ---------- */
.photo { margin: 0 0 1.75rem; }
.photo img { width: 100%; border-radius: var(--r-md); background: var(--sprout); }
.photo figcaption { margin-top: .55rem; font-size: .92rem; color: var(--muted); }
.photo.wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.steps-layout { display: grid; gap: 2.25rem; align-items: center; }
.steps-photo { margin: 0; }
.steps-photo img { aspect-ratio: 4 / 3; object-fit: cover; }
.steps-layout h2 { margin-bottom: 1.5rem; }
.portrait { margin: 0 auto; width: min(360px, 100%); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px var(--r-md) var(--r-md); background: var(--sprout); }
.with-portrait { display: grid; gap: 2.5rem; align-items: start; }
.about-portrait img { object-position: 50% 20%; }

/* superfood photos */
.sf-photos { display: grid; gap: 1rem; margin-bottom: 2rem; }
.sf-photos .photo { margin: 0; }
.sf-photos.n1 img { aspect-ratio: 3 / 2; object-fit: cover; }
.credit-line { font-size: .8rem !important; color: var(--muted); margin-top: .4rem; }
.credit-line a { color: var(--muted); }
.sf-list img { width: 120px; height: 80px; object-fit: cover; border-radius: var(--r-sm); flex: none; background: var(--sprout); }
.sf-photos.n2 img { aspect-ratio: 1 / 1; object-fit: cover; }
.sf-photos.n2 { grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (min-width: 640px) { .sf-photos.n2 { gap: 1rem; } }

/* ---------- inner pages ---------- */
.page-header { background: var(--sprout) url("../img/rings.svg") no-repeat right -120px center / 520px auto; border-bottom: 1px solid var(--line); padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-header h1 { max-width: 20ch; margin-bottom: .25em; }
.page-lede { font-size: 1.15rem; color: #33442a; max-width: 38em; margin: 0; }
@media (max-width: 639px) { .page-header { background-size: 300px auto; background-position: right -170px top -60px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--meadow); }
.crumbs a { color: var(--muted); }
.page-body { padding-block: clamp(2.25rem, 6vw, 4rem); }
.with-aside, .with-toc { display: grid; gap: 2.5rem; align-items: start; }
/* grid children must be allowed to shrink, or the sideways-scrolling list widens the whole page */
.with-aside > *, .with-toc > *, .with-portrait > *, .contact-grid > *, .about > *, .steps-layout > *, .explainer > *, .visit-in > *, .hero-in > * { min-width: 0; }
.toc { min-width: 0; max-width: 100%; }
.toc ul { -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.toc li { scroll-snap-align: start; }

.prose { max-width: 42rem; font-size: 1.1rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--leaf); }
.prose blockquote { margin: 2rem 0 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--lime); font: italic 1.3rem/1.5 var(--serif); color: var(--forest); }
.prose blockquote strong { font: 600 1rem var(--sans); font-style: normal; }
.anchor-section + .anchor-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.note { font-size: .95rem; color: var(--muted); background: var(--mist); border: 1px solid var(--line); padding: .85rem 1rem; border-radius: var(--r-sm); max-width: 42rem; }

.booking { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; background: var(--mist); display: grid; gap: .75rem; }
.booking dl { margin: 0 0 .5rem; display: grid; gap: .5rem; }
.booking dl div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.booking dt { color: var(--muted); }
.booking dd { margin: 0; font: 600 1.15rem var(--serif); color: var(--forest); text-align: right; }

.toc-title { font: 600 .95rem var(--sans); color: var(--muted); margin: 0 0 .5rem; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.toc a { display: block; white-space: nowrap; padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem; }
.toc a:hover { border-color: var(--leaf); color: var(--forest); }
.toc a[aria-current] { background: var(--forest); border-color: var(--forest); color: var(--white); }

.sf-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.sf-list a { display: flex; gap: 1.1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.sf-list h2 { font-size: 1.25rem; margin: 0 0 .2rem; }
.sf-list p { color: var(--muted); margin: 0; }
.sf-list a:hover h2 { text-decoration: underline; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pager a { display: grid; text-decoration: none; font: 600 1.1rem var(--serif); color: var(--forest); }
.pager a.next { text-align: right; }
.pager small { font: 400 .85rem var(--sans); color: var(--muted); }

.book { display: grid; gap: 2.5rem; align-items: start; }
.book-cover { width: min(300px, 80%); border-radius: 4px 10px 10px 4px; box-shadow: 0 26px 50px -22px rgba(31,77,20,.55); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.gallery-item { display: block; transition: transform .2s; }
.gallery-item:hover { transform: translateY(-3px); }
.gallery-item img { border-radius: var(--r-sm); border: 1px solid var(--line); }
.video-grid { display: grid; gap: 1.75rem; margin: 2rem 0; }
.video { margin: 0; }
.video figcaption { margin-top: .6rem; font-weight: 600; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; border-radius: var(--r-md); overflow: hidden; background: var(--forest) center / cover no-repeat; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--forest); display: grid; place-items: center; transition: transform .2s; }
.yt:hover .yt-play { transform: scale(1.08); }
.yt-play .icon { width: 28px; height: 28px; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-md); display: block; }
.news-item + .news-item { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.news-item time { color: var(--muted); font-weight: 600; }

/* contact */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
.form-panel h2, .contact-side h2 { font-size: 1.6rem; }
.form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.field-row { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; font: inherit; padding: .75rem .9rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); color: var(--ink); }
.field input:hover, .field textarea:hover { border-color: var(--meadow); }
.field input:focus, .field textarea:focus { border-color: var(--leaf); outline: 3px solid rgba(217,224,33,.55); outline-offset: 0; }
.field.has-error input, .field.has-error textarea { border-color: #b3261e; background: #fff8f7; }
.field.check label { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; color: var(--muted); }
.field.check input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--leaf); flex: none; }
.err { color: #b3261e; font-size: .92rem; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1rem; border-radius: var(--r-sm); font-weight: 600; margin-top: 1rem; }
.alert.ok { background: #e6f3d8; color: var(--forest); border: 1px solid var(--meadow); }
.alert.bad { background: #fdeceb; color: #8c1d18; border: 1px solid #f2c3bf; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .75rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .icon { color: var(--leaf); margin-top: .3rem; }
.contact-list a { font-weight: 600; }
.contact-side h3 { font-size: 1.15rem; }
.map { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sprout); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- footer ---------- */
.footer { background: var(--forest-2); color: #cfdcbc; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .98rem; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--lime); }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.f-brand img { width: 200px; margin-bottom: 1rem; }
.f-brand p { max-width: 24em; }
.f-col h2 { font: 600 1rem var(--sans); color: var(--meadow); margin-bottom: .8rem; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.f-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.f-contact .icon { color: var(--lime); margin-top: .3rem; }
.footer-base { border-top: 1px solid rgba(141,179,90,.25); padding-block: 1.25rem 1.5rem; font-size: .88rem; }
.footer-base p { margin: 0 0 .5rem; }
.footer-base a { color: #cfdcbc; text-decoration: underline; }
.disclaimer { color: #9fb38a; max-width: 60rem; }
.credit { margin-top: .75rem !important; color: #9fb38a; }
.footer-base .credit a { color: var(--lime); text-decoration: none; font-weight: 600; }
.footer-base .credit a:hover { text-decoration: underline; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; background: #1ebe5b; }


/* ==========================================================================
   Explanatory animations
   Everything is paused until the element scrolls into view (.in-view, set by main.js)
   and while the visitor presses "pause" (.is-paused). Reduced motion = static final state.
   ========================================================================== */
[data-animate]:not(.in-view) *, .is-paused * { animation-play-state: paused !important; }

/* ---- balance explainer ---- */
.explainer { display: grid; gap: 2rem; align-items: center; }
.explainer-art svg { width: 100%; max-width: 620px; margin-inline: auto; overflow: visible; }
.explainer-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 620px; margin: .5rem auto 0; font-size: .95rem; color: var(--muted); text-align: center; }
.explainer-legend p { margin: 0; }
.explainer-legend strong { display: block; color: var(--forest); font-family: var(--serif); font-size: 1.05rem; }
.explainer-title { margin-bottom: .35em; }
.explainer-lede { color: var(--muted); font-size: 1.1rem; max-width: 34em; }
.phases { list-style: none; margin: 1.5rem 0 1rem; padding: 0; display: grid; gap: .5rem; counter-reset: ph; }
.ph { counter-increment: ph; position: relative; padding: .8rem 1rem .8rem 3.4rem; border-radius: var(--r-md); border: 1px solid transparent; opacity: .45; }
.ph::before { content: counter(ph); position: absolute; left: 1rem; top: .85rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--forest); font: 600 .95rem var(--serif); }
.ph h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.ph p { margin: 0; color: var(--muted); font-size: .98rem; }
.anim-toggle { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line); background: var(--white); color: var(--forest); border-radius: 999px; padding: .45rem .9rem; font: 600 .9rem var(--sans); cursor: pointer; }
.anim-toggle:hover { border-color: var(--leaf); }
.anim-toggle .i-play { display: none; }
.is-paused .anim-toggle .i-play { display: block; }
.is-paused .anim-toggle .i-pause { display: none; }
.section-explain { background: var(--white); }
/* phones: title → lede → animation → phases (desktop: animation left, text right) */
@media (max-width: 979px) {
  .explainer { gap: 0; }
  .explainer-text { display: contents; }
  .explainer-title { order: 1; } .explainer-lede { order: 2; margin-bottom: 1.5rem; }
  .explainer-art { order: 3; } .phases { order: 4; } .anim-toggle { order: 5; justify-self: start; }
}
.explainer-inline { margin: 0 0 3rem; padding: 1.5rem; border-radius: var(--r-md); background: var(--mist); border: 1px solid var(--line); }
.explainer-inline .explainer { grid-template-columns: 1fr; }

@media (prefers-reduced-motion: no-preference) {
  .ex-beam { transform-box: view-box; transform-origin: 320px 150px; animation: ex-beam 14s ease-in-out infinite; }
  .ex-pan-l { animation: ex-pan-l 14s ease-in-out infinite; }
  .ex-pan-r { animation: ex-pan-r 14s ease-in-out infinite; }
  .ex-weights .ex-item { animation: ex-weights 14s cubic-bezier(.5,0,.4,1) infinite; }
  .ex-leaves .ex-item { animation: ex-leaves 14s cubic-bezier(.5,0,.4,1) infinite; }
  .ex-load .ex-item:nth-child(2) { animation-delay: .25s; }
  .ex-load .ex-item:nth-child(3) { animation-delay: .5s; }
  .ex-core { animation: ex-core 14s ease-in-out infinite; }
  .ex-glow { transform-box: fill-box; transform-origin: center; animation: ex-glow 14s ease-out infinite; }
  .ph1 { animation: ph1 14s infinite; }
  .ph2 { animation: ph2 14s infinite; }
  .ph3 { animation: ph3 14s infinite; }
}
@keyframes ex-beam   { 0%, 22% { transform: rotate(0); } 34%, 50% { transform: rotate(-11deg); } 64%, 100% { transform: rotate(0); } }
@keyframes ex-pan-l  { 0%, 22% { transform: translateY(0); } 34%, 50% { transform: translate(3px, 34px); } 64%, 100% { transform: translateY(0); } }
@keyframes ex-pan-r  { 0%, 22% { transform: translateY(0); } 34%, 50% { transform: translate(-3px, -34px); } 64%, 100% { transform: translateY(0); } }
@keyframes ex-weights { 0%, 18% { opacity: 0; transform: translateY(-150px); } 26% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes ex-leaves  { 0%, 50% { opacity: 0; transform: translateY(-150px); } 57% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes ex-core { 0%, 24% { fill: #d9e021; } 34%, 52% { fill: #c4c8b4; } 64%, 100% { fill: #d9e021; } }
@keyframes ex-glow { 0%, 63% { opacity: 0; transform: scale(1); } 66% { opacity: 1; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes ph1 { 0%, 22% { opacity: 1; background: var(--sprout); border-color: var(--line); } 26%, 100% { opacity: .45; background: transparent; border-color: transparent; } }
@keyframes ph2 { 0%, 22% { opacity: .45; background: transparent; border-color: transparent; } 26%, 52% { opacity: 1; background: var(--sprout); border-color: var(--line); } 56%, 100% { opacity: .45; background: transparent; border-color: transparent; } }
@keyframes ph3 { 0%, 52% { opacity: .45; background: transparent; border-color: transparent; } 56%, 94% { opacity: 1; background: var(--sprout); border-color: var(--line); } 98%, 100% { opacity: .45; background: transparent; border-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .ph { opacity: 1; } }

/* ---- method animations ---- */
.mi { display: block; width: 104px; height: 104px; margin-bottom: 1rem; }
.mi svg { width: 100%; height: 100%; overflow: visible; }
.mi-sm { width: 56px; height: 56px; margin: 0; flex: none; }
.sec-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.sec-head h2 { margin: 0; }
.method .mi { transition: transform .25s; }
.method:hover .mi { transform: translateY(-3px); }

@media (prefers-reduced-motion: no-preference) {
  /* iris: scanning ring + pupil reacting to light */
  .mi-scan { transform-box: fill-box; transform-origin: center; animation: spin 3.2s linear infinite; }
  .mi-pupil { transform-box: fill-box; transform-origin: center; animation: pupil 3.2s ease-in-out infinite; }
  /* kinesiology: hand presses, arm holds, strength pulses */
  .mi-hand { animation: press 2.6s ease-in-out infinite; }
  .mi-arm { transform-box: view-box; transform-origin: 30px 50px; animation: hold 2.6s ease-in-out infinite; }
  .mi-strength { animation: strength 2.6s ease-in-out infinite; }
  /* Bach flowers: drop falls, ripples spread, flower opens */
  .mi-drop { animation: drop 4.2s cubic-bezier(.55,0,.8,.4) infinite; }
  .mi-ripples ellipse { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ripple 4.2s ease-out infinite; }
  .mi-ripples .r2 { animation-delay: .35s; }
  .mi-flower { transform-box: fill-box; transform-origin: 50% 100%; animation: bloom 4.2s ease-out infinite; }
  /* nutrition: plate fills segment by segment */
  .mi-seg { stroke-dasharray: 0 100; animation: seg1 4.6s ease-in-out infinite; }
  .mi-seg.s2 { stroke-dashoffset: -50; animation-name: seg2; }
  .mi-seg.s3 { stroke-dashoffset: -75; animation-name: seg3; }
  /* sprout: grows once */
  .mi-seed { transform-box: fill-box; transform-origin: center; animation: wobble .6s ease-in-out 2 both; }
  .mi-stem { stroke-dasharray: 1; stroke-dashoffset: 1; animation: grow-stem 1.4s .9s ease-out forwards; }
  .mi-leaf { transform-box: fill-box; transform: scale(0); animation: leaf .7s ease-out forwards; }
  .mi-leaf.l1 { transform-origin: 100% 100%; animation-delay: 1.8s; }
  .mi-leaf.l2 { transform-origin: 0 50%; animation-delay: 2.1s; }
  .mi-bud { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: leaf .5s 2.5s ease-out forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .mi-seg.s1 { stroke-dasharray: 50 100; } .mi-seg.s2 { stroke-dasharray: 25 100; stroke-dashoffset: -50; } .mi-seg.s3 { stroke-dasharray: 25 100; stroke-dashoffset: -75; }
  .mi-ripples { display: none; } .mi-drop { opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pupil { 0%, 40%, 100% { transform: scale(1); } 55%, 75% { transform: scale(.62); } }
@keyframes press { 0%, 20%, 80%, 100% { transform: translateY(0); } 40%, 62% { transform: translateY(10px); } }
@keyframes hold { 0%, 30%, 75%, 100% { transform: rotate(0); } 45%, 60% { transform: rotate(4deg); } }
@keyframes strength { 0%, 35%, 80%, 100% { opacity: 0; } 50%, 65% { opacity: 1; } }
@keyframes drop { 0%, 8% { transform: translateY(0); opacity: 1; } 34% { transform: translateY(26px); opacity: 1; } 36%, 100% { transform: translateY(26px); opacity: 0; } }
@keyframes ripple { 0%, 34% { opacity: 0; transform: scale(1); } 36% { opacity: 1; } 60%, 100% { opacity: 0; transform: scale(4); } }
@keyframes bloom { 0%, 40% { transform: scale(0); opacity: 0; } 58%, 88% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(0); opacity: 0; } }
@keyframes seg1 { 0%, 6% { stroke-dasharray: 0 100; } 26%, 86% { stroke-dasharray: 50 100; } 96%, 100% { stroke-dasharray: 0 100; } }
@keyframes seg2 { 0%, 26% { stroke-dasharray: 0 100; } 40%, 86% { stroke-dasharray: 25 100; } 96%, 100% { stroke-dasharray: 0 100; } }
@keyframes seg3 { 0%, 40% { stroke-dasharray: 0 100; } 54%, 86% { stroke-dasharray: 25 100; } 96%, 100% { stroke-dasharray: 0 100; } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-8deg); } 70% { transform: rotate(8deg); } }
@keyframes grow-stem { to { stroke-dashoffset: 0; } }
@keyframes leaf { to { transform: scale(1); } }

.sprout-art { width: 150px; height: 89px; margin: 0 0 .25rem -6px; }
.sf-head > div { display: block; }
.sf-intro .sprout-art { width: 170px; height: 100px; }

/* ==========================================================================
   ≥ 640px
   ========================================================================== */
@media (min-width: 640px) {
  .btn-book { display: inline-flex; }
  .svc-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .steps, .methods { grid-template-columns: 1fr 1fr; gap: 2.25rem 2rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   ≥ 980px – desktop
   ========================================================================== */
@media (min-width: 980px) {
  .topbar-addr { display: inline-flex; }
  .nav { order: 0; margin-left: auto; }
  .brand { margin-right: 0; }
  .nav-toggle { display: none; }
  .menu, .menu:not(.open), .menu.open { display: flex; position: static; padding: 0; border: 0; box-shadow: none; max-height: none; overflow: visible; gap: .25rem; }
  .menu > li { position: relative; }
  .sub-toggle, .menu-link { border: 0; padding: .55rem .85rem; border-radius: 999px; font-size: 1rem; width: auto; }
  .sub-toggle:hover, .menu-link:hover { background: var(--sprout); color: var(--forest); }
  .sub {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px; padding: .5rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: 0 22px 40px -20px rgba(31,77,20,.4);
  }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub.open { display: block; }
  .header-in { gap: 1.5rem; }

  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .hero-art { width: 100%; max-width: 460px; justify-self: end; }
  .section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; max-width: none; }
  .steps-layout { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .explainer { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .with-portrait { grid-template-columns: 340px minmax(0, 1fr); gap: 4.5rem; }
  .with-portrait .portrait { position: sticky; top: 100px; }
  .methods { grid-template-columns: repeat(4, 1fr); }
  .svc-list:not(.compact) { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 5fr 7fr; gap: 4.5rem; }
  .visit-in { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .with-aside { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; }
  .booking { position: sticky; top: 100px; }
  .with-toc { grid-template-columns: 230px minmax(0, 1fr); gap: 4rem; }
  .toc { position: sticky; top: 100px; }
  .toc ul { flex-direction: column; overflow: visible; gap: .15rem; mask-image: none; }
  .toc a { border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: .35rem .9rem; white-space: normal; }
  .toc a[aria-current] { background: none; color: var(--forest); font-weight: 600; border-left-color: var(--leaf); }
  .book { grid-template-columns: 300px 1fr; gap: 4rem; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .header, .wa-float, .quote-nav, .actions, .booking, .map, .visit-map { display: none !important; }
  .hero, .section-sprout, .page-header, .visit, .quotes { background: none !important; color: var(--ink); }
}
