/* =========================================================
   Dra. María Fernanda Hernández — Medicina Alternativa
   Paleta oficial: #45704E (verde), #83B38C (salvia), #BCA27B (arena)
   ========================================================= */

:root {
  --green: #45704E;
  --green-700: #355A3D;
  --green-900: #1E3326;
  --sage: #83B38C;
  --sage-100: #E6EFE5;
  --sand: #BCA27B;
  --sand-700: #8A714D;   /* arena oscurecida: usable para texto sobre crema (AA) */
  --sand-100: #F1E9DC;
  --cream: #F7F3EC;
  --paper: #FFFDF9;
  --ink: #23352A;
  --muted: #5A6B60;
  --line: rgba(35, 53, 42, .12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 20px 50px -24px rgba(30, 51, 38, .35);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0 0 .6em; color: var(--green-900); letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--green); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1.1em; }
strong { font-weight: 600; color: var(--green-900); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--section); position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.eyebrow {
  font: 600 .78rem/1.4 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sand-700);
  margin-bottom: 1.1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow-light { color: var(--sand); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.small-title { font-weight: 600; color: var(--green-900); margin-top: 2rem; }
.rounded { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green); --fg: #fff; --bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 600 .98rem/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-primary:hover { --bg: var(--green-700); box-shadow: 0 12px 24px -12px rgba(53, 90, 61, .7); }
.btn-ghost { --bg: transparent; --fg: var(--green-900); --bd: rgba(35, 53, 42, .25); }
.btn-ghost:hover { --bg: var(--paper); --bd: var(--green); }
.btn-light { --bg: var(--cream); --fg: var(--green-900); --bd: var(--cream); }
.btn-light:hover { --bg: #fff; }
.btn-outline-light { --bg: transparent; --fg: var(--cream); --bd: rgba(247, 243, 236, .45); }
.btn-outline-light:hover { --bd: var(--cream); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; }
.link-arrow span { transition: transform .25s ease; }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(30, 51, 38, .3); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 48px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font: 600 1.02rem/1.2 var(--font-body); color: var(--green-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tag { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sand-700); font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--sand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav > a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }
.nav-social { display: flex; align-items: center; gap: 6px; padding-left: clamp(8px, 1.4vw, 18px); border-left: 1px solid var(--line); }
.nav-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--green); text-decoration: none; transition: background-color .25s ease, color .25s ease; }
.nav-social a:hover { background: var(--green); color: var(--cream); }
.nav-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-social .dot { fill: currentColor; stroke: none; }
.nav-social-label { display: none; }

@media (max-width: 1100px) {
  .menu-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; flex: none;
    border: 1.5px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer;
  }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 1.5px; background: var(--green-900); transition: transform .3s ease, opacity .3s ease; }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(30, 51, 38, .35);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }
  .nav-social { border-left: 0; padding: 18px 0 0; gap: 10px; }
  .nav-social a { width: auto; height: auto; display: inline-flex; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; }
  .nav-social-label { display: inline; }
}
@media (max-width: 420px) {
  .brand-name { font-size: .92rem; }
  .brand img { width: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto auto; width: 62%; height: 100%;
  background: radial-gradient(60% 60% at 70% 40%, rgba(131, 179, 140, .28), transparent 70%);
  pointer-events: none;
}
.hero-swoosh { position: absolute; right: -6%; top: 6%; width: min(70vw, 880px); color: var(--sage); opacity: .55; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.04; margin-bottom: .45em; letter-spacing: -.02em; }
.hero-title em { display: block; }
.hero .lead { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.4rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: .95rem; }
.hero-facts li { display: flex; align-items: center; gap: .55rem; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(131, 179, 140, .25); }

.hero-media { position: relative; margin: 0; justify-self: end; width: min(100%, 480px); }
.arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4.2; background: var(--sage-100); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 25%; }
.hero-media::before {
  content: ""; position: absolute; inset: -18px -18px 18px 18px; z-index: -1;
  border: 1.5px solid var(--sand); border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.float-card {
  position: absolute; left: -36px; bottom: 44px;
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); padding: 14px 18px 14px 14px; border-radius: 18px;
  box-shadow: 0 18px 40px -18px rgba(30, 51, 38, .45);
  font-size: .86rem; line-height: 1.35; color: var(--muted);
}
.float-card img { width: 40px; }
.float-card strong { display: block; font-size: .95rem; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 28px; }
  .hero-media { order: -1; justify-self: center; width: min(78%, 380px); margin: 18px 0 8px; }
  .hero-media .arch { aspect-ratio: 4 / 4.4; }
  .hero-facts { gap: 8px 20px; }
  .hero-media { margin-bottom: 44px; }
  .float-card { left: 50%; bottom: -26px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 2 * var(--gutter)); padding: 10px 14px 10px 10px; font-size: .8rem; }
  .float-card img { width: 32px; }
  .hero-swoosh { top: auto; bottom: 10%; right: -30%; width: 140vw; }
}

/* ---------- Credentials strip ---------- */
.creds { background: var(--green-900); color: var(--cream); }
.creds-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.cred { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(247, 243, 236, .12); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred-k { font-size: .82rem; color: var(--sage); letter-spacing: .02em; }
.cred-v { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
@media (max-width: 960px) {
  .creds-row { grid-template-columns: 1fr 1fr; }
  .cred { padding: 22px 16px; border-left: 0; border-top: 1px solid rgba(247, 243, 236, .12); }
  .cred:nth-child(-n+2) { border-top: 0; }
  .cred:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 520px) {
  .creds-row { grid-template-columns: 1fr; }
  .cred { padding-left: 0; }
  .cred:nth-child(2) { border-top: 1px solid rgba(247, 243, 236, .12); }
}

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.split-reverse { grid-template-columns: 1.1fr .9fr; }
.split figure { margin: 0; }
@media (max-width: 960px) {
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse > figure { order: -1; }
}

/* ---------- About ---------- */
.about-media { position: relative; max-width: 460px; }
.about-media .rounded { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.about-logo {
  position: absolute; right: -40px; bottom: -40px; width: 170px;
  background: var(--paper); border-radius: 50%; padding: 26px;
  box-shadow: 0 18px 40px -20px rgba(30, 51, 38, .45);
  aspect-ratio: 1; object-fit: contain;
}
.pull { margin: 2rem 0 0; padding: 1.6rem 0 0 0; border-top: 1px solid var(--line); }
.pull p { font: italic 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.4 var(--font-display); color: var(--green); margin: 0; }
@media (max-width: 960px) {
  .about-media { margin-inline: auto; }
  .about-logo { right: -6px; bottom: -28px; width: 128px; padding: 18px; }
}

/* ---------- Approach ---------- */
.approach { background: var(--paper); }
.approach-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.dimensions svg { width: 100%; max-width: 440px; margin-inline: auto; display: block; overflow: visible; }
.d { fill-opacity: .16; stroke-width: 1.5; transition: fill-opacity .4s ease; }
.d1 { fill: var(--green); stroke: var(--green); }
.d2 { fill: var(--sand); stroke: var(--sand); }
.d3 { fill: var(--sage); stroke: var(--sage); }
.d4 { fill: var(--green-700); stroke: var(--green-700); fill-opacity: .1; }
.dimensions:hover .d { fill-opacity: .24; }
.core { fill: var(--green); }
.core-t { fill: #fff; font: italic 500 20px var(--font-display); text-anchor: middle; }
.dl { fill: var(--green-900); font: 600 15px var(--font-body); text-anchor: middle; letter-spacing: .02em; }
.approach-intro { font-weight: 500; color: var(--green-900); }
.goals { list-style: none; padding: 0; margin: 0; counter-reset: g; display: grid; gap: 4px; }
.goals li {
  counter-increment: g; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.goals li::before { content: counter(g, decimal-leading-zero); font: italic 500 1.05rem var(--font-display); color: var(--sand-700); }
.approach-note { max-width: 780px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: center; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 960px) { .approach-grid { grid-template-columns: 1fr; } }

/* ---------- Reasons (motivos de consulta) ---------- */
.reasons { background: var(--sage-100); }
.reasons-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.reasons-head { position: sticky; top: calc(var(--header-h) + 32px); }
.reasons-head p { color: var(--muted); }
.reasons-cta { font-weight: 500; color: var(--green-900) !important; }
.reasons-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason { background: var(--paper); border-radius: var(--radius); padding: 28px 24px 22px; box-shadow: 0 14px 34px -26px rgba(30, 51, 38, .4); }
.reason-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-100); color: var(--green); margin-bottom: 18px; }
.reason-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reason h3 { font-size: .8rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-700); margin-bottom: 14px; }
.reason ul { list-style: none; margin: 0; padding: 0; }
.reason li { font: 400 1.22rem/1.3 var(--font-display); color: var(--green-900); padding: 12px 0; border-top: 1px solid var(--line); }
.reasons-note { margin-top: clamp(40px, 5vw, 64px); font-size: .9rem; color: var(--muted); text-align: center; max-width: 760px; }
@media (max-width: 1100px) { .reasons-cards { grid-template-columns: 1fr 1fr; } .reason:last-child { grid-column: 1 / -1; } }
@media (max-width: 960px) { .reasons-grid { grid-template-columns: 1fr; } .reasons-head { position: static; } }
@media (max-width: 560px) { .reasons-cards { grid-template-columns: 1fr; } .reason { padding: 22px 20px 14px; } .reason-icon { display: none; } .reason li { font-size: 1.1rem; padding: 9px 0; } }

/* ---------- Services: consultation banner ---------- */
.consult {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: center;
  background: var(--green); color: rgba(247, 243, 236, .88); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  background-image: radial-gradient(90% 90% at 100% 0%, rgba(131, 179, 140, .38), transparent 60%);
}
.consult h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4em; }
.consult-meta { color: var(--sage); font-weight: 600; margin: 0; }
.consult-copy p { font-size: 1rem; }
.consult-copy strong { color: #fff; }
.consult .btn { margin-top: .4rem; }
@media (max-width: 860px) { .consult { grid-template-columns: 1fr; } }

/* ---------- Services: explorer (master-detail on desktop, accordion on mobile) ---------- */
.explorer-hint { margin: clamp(48px, 6vw, 72px) 0 18px; color: var(--muted); font-size: .95rem; }
.ex-h { margin: 0; font-size: inherit; }
.ex-btn {
  width: 100%; display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 16px;
  padding: 16px 4px; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
  text-align: left; color: var(--green-900); font: 400 1.2rem/1.3 var(--font-display);
  transition: color .25s ease;
}
.ex-btn:hover { color: var(--green); }
.ex-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--paper); color: var(--green); border: 1px solid var(--line); transition: background-color .25s ease, color .25s ease; }
.ex-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ex-btn[aria-expanded="true"] { color: var(--green); }
.ex-btn[aria-expanded="true"] .ex-ico { background: var(--green); color: var(--cream); border-color: var(--green); }
.ex-plus { position: relative; width: 16px; height: 16px; justify-self: end; }
.ex-plus::before, .ex-plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s ease; }
.ex-plus::after { transform: rotate(90deg); }
.ex-btn[aria-expanded="true"] .ex-plus::after { transform: rotate(0); }

.ex-panel { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.ex-panel[hidden] { display: none; }
.ex-panel:not([hidden]) { animation: panelIn .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ex-illus { margin: 0; background: linear-gradient(180deg, var(--sand-100), var(--paper)); padding: 18px 24px 0; }
.ex-illus svg { display: block; width: 100%; max-width: 420px; height: auto; margin-inline: auto; }
.ex-copy { padding: 8px clamp(24px, 3vw, 40px) clamp(24px, 3vw, 36px); }
.ex-copy h4 { font: 400 1.7rem/1.2 var(--font-display); color: var(--green-900); margin: 0 0 .6em; }
.ex-copy p { color: var(--muted); }
.ex-copy p:last-child { margin-bottom: 0; }
.ex-list { margin: 0 0 1em; padding-left: 1.1em; color: var(--muted); }
.explorer-note { margin-top: 32px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }

/* Desktop: list on the left, open panel on the right (sticky) */
@media (min-width: 961px) {
  .js .explorer { display: grid; grid-template-columns: minmax(300px, .85fr) 1.15fr; column-gap: clamp(32px, 5vw, 72px); align-items: start; }
  .js .ex-item { display: contents; }
  .js .ex-h { grid-column: 1; }
  .js .ex-panel { grid-column: 2; grid-row: 1 / span 8; position: sticky; top: calc(var(--header-h) + 24px); }
  .js .ex-copy { min-height: 230px; }
}
/* Mobile: accordion */
@media (max-width: 960px) {
  .ex-panel { margin: 4px 0 18px; }
  .ex-copy h4 { display: none; }
  .ex-illus svg { max-width: 300px; }
}

/* Illustration strokes (brand line-art, like the logo) */
.ex-illus svg * { vector-effect: non-scaling-stroke; }
.il-bg { fill: var(--sage-100); }
.il-g, .il-s, .il-d { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.il-g { stroke: var(--green); }
.il-s { stroke: var(--sage); }
.il-d { stroke: var(--sand); }
.il-thin { stroke-width: 2; }
.il-bold { stroke-width: 4.5; }
.il-dash { stroke-dasharray: 2 9; }
.il-handle { stroke-width: 8; }
.il-pestle { stroke-width: 11; }
.il-fill { fill: var(--paper); }
.il-soma { fill: var(--paper); }
.il-pt { fill: var(--sand); }
.il-fg { fill: var(--green); }
.il-fs { fill: var(--sage); }
.il-fd { fill: var(--sand); }
.il-fsoft { fill: var(--sage); fill-opacity: .45; }
.il-glob { fill: var(--paper); stroke: var(--sage); stroke-width: 2.5; }

.tag { display: inline-block; align-self: flex-start; background: var(--sand); color: var(--green-900); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Natural therapies (dark band) ---------- */
.natural { background: var(--green-900); color: rgba(247, 243, 236, .85); overflow: hidden; }
.natural h2 { color: var(--cream); }
.natural h2 em { color: var(--sage); }
.natural-media .rounded { aspect-ratio: 4 / 3.4; object-position: 30% 50%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.naturals { margin: 2.2rem 0 0; display: grid; gap: 0; }
.naturals > div { padding: 20px 0; border-top: 1px solid rgba(247, 243, 236, .14); display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.naturals dt { font: 400 1.3rem/1.3 var(--font-display); color: var(--sand); }
.naturals dd { margin: 0; }
.naturals a { color: var(--sand); }
@media (max-width: 640px) { .naturals > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Nutrition ---------- */
.nutrition-media { max-width: 420px; }
.arch-sm { aspect-ratio: 3 / 4; }
.arch-sm img { object-position: 50% 20%; }
.chips { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: .55rem 1.05rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .95rem; font-weight: 500; color: var(--green-900); }
.chips-soft li { background: var(--sage-100); border-color: transparent; }
@media (max-width: 960px) { .nutrition-media { margin-inline: auto; } }

/* ---------- Visit / steps ---------- */
.visit { background: var(--sand-100); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.visit-media { margin: 0; }
.visit-media .rounded { aspect-ratio: 5 / 4; object-position: 65% 40%; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(35, 53, 42, .14); }
.steps li:last-child { border-bottom: 0; }
.step-n { font: italic 400 2.2rem/1 var(--font-display); color: var(--sand-700); }
.steps h3 { font-size: 1.3rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- Training ---------- */
.training-media { max-width: 440px; justify-self: end; }
.training-media .rounded { aspect-ratio: 4 / 5.2; object-position: 50% 30%; }
.timeline { list-style: none; padding: 0; margin: 1.6rem 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1.5px; background: linear-gradient(var(--sage), var(--sand)); }
.timeline li { position: relative; padding: 0 0 26px 40px; display: flex; flex-direction: column; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 2px solid var(--green); }
.tl-k { font: 400 1.3rem/1.3 var(--font-display); color: var(--green-900); }
.tl-v { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .training-media { justify-self: center; } }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.testimonial blockquote { margin: 0 0 1rem; font: italic 400 1.2rem/1.5 var(--font-display); color: var(--green-900); }
.testimonial figcaption { color: var(--sand-700); font-weight: 600; font-size: .92rem; }
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font: 400 clamp(1.15rem, 2vw, 1.35rem)/1.35 var(--font-display); color: var(--green-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--green);
  transition: transform .3s ease;
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq details p { color: var(--muted); padding-right: 48px; margin-bottom: 24px; }

/* ---------- Contact ---------- */
.contact { padding-bottom: var(--section); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.contact-card {
  background: var(--green); color: rgba(247, 243, 236, .88); border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  background-image: radial-gradient(90% 60% at 0% 100%, rgba(131, 179, 140, .35), transparent 60%);
}
.contact-card h2 { color: var(--cream); }
.contact-card h2 em { color: var(--sand); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; line-height: 1.5; }
.contact-list .icon { color: var(--sand); margin-top: 2px; }
.contact-list a { color: var(--cream); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--sage-100); box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75) contrast(.95); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(247, 243, 236, .72); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: auto 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.footer-logo { width: 170px; }
.footer-title { color: var(--cream); font: 400 1.25rem var(--font-display); margin-bottom: .8rem; }
.social { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--cream); text-decoration-color: rgba(247, 243, 236, .35); }
.site-footer a:hover { color: var(--sand); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(247, 243, 236, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } .footer-logo { width: 140px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal page ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.4em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .note { background: var(--sand-100); border-left: 3px solid var(--sand); padding: 16px 20px; border-radius: 8px; color: var(--muted); }
