/* S&V Bienestar — estilos del sitio.
   Los colores principales (--brand, --accent, --bg) se definen desde el panel
   (Configuración general → Colores) y se inyectan en el <head>. */
:root {
  --brand: #2f5d4e;
  --accent: #c8714b;
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #1d2621;
  --muted: #5b6760;
  --line: color-mix(in srgb, var(--ink) 12%, transparent);
  --tint: color-mix(in srgb, var(--brand) 7%, var(--bg));
  --brand-soft: color-mix(in srgb, var(--brand) 14%, #fff);
  --dark: color-mix(in srgb, var(--brand) 82%, #0b1310);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(20 30 25 / .05), 0 12px 32px -12px rgb(20 30 25 / .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--brand); }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 640px; }
.center { text-align: center; margin-top: 2.5rem; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- elementos ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.fine { font-size: .85rem; color: var(--muted); margin-top: 1.25rem; }
.fine a { text-underline-offset: 3px; }
.num { font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }

.btn { --b: var(--brand); display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.4em; border-radius: 999px; background: var(--b); color: #fff; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid var(--b); cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--b) 70%, transparent); }
.btn .ico { transition: transform .2s; }
.btn:hover .ico, .link:hover .ico { transform: translate(2px, -2px); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-sm { padding: .62em 1.1em; font-size: .9rem; }
.btn-light { --b: #fff; color: var(--dark); }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--brand); text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--brand) 30%, transparent); padding-bottom: 2px; }
.link:hover { border-color: var(--brand); }
.pill { display: inline-block; padding: .3em .8em; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.pill-line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--ink) 5%, transparent); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .9rem; flex: none; }
.avatar-lg { width: 84px; height: 84px; font: 500 1.6rem var(--serif); }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(0 0 0 / .4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 44px; width: auto; }
.brand strong { font-family: var(--serif); font-size: 1.3rem; color: var(--brand); }
#menu { display: flex; align-items: center; gap: 28px; }
#menu ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
#menu ul a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); position: relative; padding: 6px 0; }
#menu ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; border-radius: 2px; }
#menu ul a:hover, #menu ul a.active { color: var(--ink); }
#menu ul a:hover::after, #menu ul a.active::after { transform: scaleX(1); }
.menu-btn { display: none; }

@media (max-width: 920px) {
  .menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
  .menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, opacity .25s; }
  .menu-btn span:first-child::before, .menu-btn span:first-child::after { content: ""; position: absolute; left: 0; }
  .menu-btn span:first-child::before { top: -6px; }
  .menu-btn span:first-child::after { top: 6px; }
  .menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
  .menu-btn[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
  #menu { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px var(--gutter) 28px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .25); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; }
  #menu.open { transform: none; opacity: 1; visibility: visible; }
  #menu ul { flex-direction: column; gap: 0; }
  #menu ul a { display: block; padding: 14px 2px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  #menu ul a::after { display: none; }
  #menu .btn { justify-content: center; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 13%, transparent), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 1.5rem; }
.zone { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); font-size: .92rem; margin: 0; }
.zone .ico { color: var(--accent); }
.hero-media { position: relative; }
.hero-photo { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--brand-soft), color-mix(in srgb, var(--accent) 18%, #fff)); box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-card { position: absolute; left: -28px; bottom: 32px; background: var(--surface); padding: 16px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow); text-decoration: none; display: grid; gap: 2px; max-width: 250px; transition: transform .2s; }
.hero-card:hover { transform: translateY(-3px); }
.hero-card strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.hero-card span { display: inline-flex; align-items: center; gap: .4em; font-size: .88rem; color: var(--brand); font-weight: 500; }
.stats { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 22px 20px 0 0; display: grid; gap: 2px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { font: 500 clamp(1.5rem, 3vw, 2.1rem)/1.1 var(--serif); color: var(--brand); }
.stats span { font-size: .9rem; color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; margin-inline: auto; width: 100%; }
  .hero-card { left: 12px; bottom: 16px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- alianzas ---------- */
.partners { padding: 34px 0; border-block: 1px solid var(--line); background: var(--surface); }
.partners-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.partners .eyebrow { margin-bottom: .2rem; }
.partners-title { font: 500 1.35rem/1.2 var(--serif); margin: 0; }
.logos { display: flex; gap: clamp(20px, 4vw, 48px); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.logos li, .logos a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); font-weight: 500; }
.logos img { height: 50px; width: auto; max-width: 104px; object-fit: contain; border-radius: 8px; filter: grayscale(1); opacity: .85; transition: .25s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ---------- secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #f3f1ea; }
.section-dark h2 em, .section-dark .eyebrow { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.section-dark .lead, .section-dark .fine { color: rgb(243 241 234 / .74); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.split .sec-head { margin-bottom: 1.5rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.split-center { align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; } }
.service { display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.service:hover { transform: translateY(-4px); }
.service h3 { margin-top: .8rem; font-size: 1.45rem; }
.service p { color: var(--muted); flex: 1; }

/* InBody */
.model { font: 500 clamp(2.6rem, 6vw, 4.2rem)/1 var(--serif); color: var(--accent); margin: 0 0 .25em; letter-spacing: -.02em; }
.inbody-media { position: relative; padding-bottom: 56px; max-width: 460px; }
.ib-main { border-radius: var(--radius); background: var(--surface); width: 100%; max-width: 340px; aspect-ratio: 4 / 5; object-fit: scale-down; padding: 28px; margin-inline: auto; box-shadow: var(--shadow); }
.ib-note { position: absolute; right: 0; bottom: 0; margin: 0; display: flex; gap: 14px; align-items: center; background: var(--surface); padding: 12px 18px 12px 12px; border-radius: var(--radius-sm); box-shadow: var(--shadow); max-width: 330px; font-size: .9rem; color: var(--muted); }
.ib-note img { width: 84px; height: 64px; object-fit: contain; border-radius: 10px; background: #fff; }
.ib-note strong { display: block; color: var(--ink); font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
@media (max-width: 860px) { .ib-note { right: 8px; left: 8px; } }

/* Pestañas organizaciones */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 32px; max-width: 100%; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: .7em 1.3em; border-radius: 999px; font: 600 .95rem var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; transition: .2s; }
.tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.benefits li { padding: 28px 28px 8px 0; }
.benefits li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.benefits h3 { margin-top: .6rem; }
.benefits p { color: var(--muted); }
@media (max-width: 860px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
.tab-panel:not([hidden]) { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* Comparación */
.compare { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.person + .person { margin-top: 26px; }
.person p { display: flex; justify-content: space-between; margin-bottom: 10px; }
.person p span { font-family: var(--serif); font-size: 1.2rem; }
.bar { display: flex; height: 54px; border-radius: 12px; overflow: hidden; gap: 3px; }
.seg { width: 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.in .seg, .no-anim .seg { width: var(--w); }
.seg-agua { background: #8fc1d4; }
.seg-proteinas { background: #9fd0a7; }
.seg-minerales { background: #e9d38f; }
.seg-grasa { background: color-mix(in srgb, var(--accent) 80%, #fff); }
.legend { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; color: rgb(243 241 234 / .8); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; }

/* Charlas */
.topic header { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 14px; }
.topic h3 { margin: 0; }
.topic ul { list-style: none; margin: 0; padding: 0; }
.topic li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line); position: relative; color: var(--muted); font-size: .97rem; }
.topic li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent); }

/* Preparación */
.prep { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 clamp(22px, 3vw, 40px); }
.prep summary, .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.prep summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.prep summary { padding: 28px 0; }
.prep summary .eyebrow { display: block; margin-bottom: .3rem; }
.prep summary strong { font: 500 clamp(1.25rem, 2.4vw, 1.7rem)/1.25 var(--serif); }
.plus { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: .25s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: .25s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary .plus { background: var(--brand); color: #fff; border-color: var(--brand); }
details[open] > summary .plus::after { transform: translate(-50%, -50%) rotate(0); }
.steps { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--tint); border-radius: var(--radius-sm); padding: 22px; }
.steps h3 { font-size: 1.12rem; margin: .5rem 0 .4rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.prep > .fine { padding-bottom: 28px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Reserva */
.flow { list-style: none; padding: 0; margin: 0 0 28px; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: s; }
.flow li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: var(--surface); border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.flow li span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .85rem; }
.booking { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.consult .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.consult h3 { font-size: 1.8rem; }
.consult p { color: var(--muted); max-width: 52ch; }
.pay { background: var(--tint); box-shadow: none; }
.pay .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); font-size: 1rem; margin-bottom: 16px; }
.pay p { color: var(--muted); margin: 0; }
.cal-embed { margin-top: 24px; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.cal-embed iframe { width: 100%; height: 680px; border: 0; display: block; }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }

/* Testimonios */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 24px; font: 400 1.15rem/1.5 var(--serif); position: relative; padding-top: 34px; }
.quote blockquote::before { content: "“"; position: absolute; top: -18px; left: -4px; font: 500 4.5rem/1 var(--serif); color: var(--accent); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: 22px 0; font-weight: 600; font-size: 1.05rem; }
.faq details p { color: var(--muted); padding-right: 56px; margin: -4px 0 22px; }

/* Nosotras */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.member { display: flex; gap: 22px; align-items: center; }
.member img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.member h3 { margin-bottom: .2rem; }
.member .role { color: var(--brand); font-weight: 500; font-size: .95rem; margin: 0; }
.member p:not(.role) { color: var(--muted); font-size: .95rem; margin: .6rem 0 0; }

/* Contacto */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list .ico { width: 20px; height: 20px; color: color-mix(in srgb, var(--accent) 55%, #fff); }
.form { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .9rem; font-weight: 500; }
.form .opt { font-weight: 400; opacity: .7; }
.form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid transparent; border-radius: 12px; padding: .8em .95em; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form .btn { justify-self: start; }
.form .fine { margin: 0; }
.form-status { margin: 0; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: #bfe6c9; }
.form-status.err { color: #ffc9b8; }
.form.sending .btn { opacity: .6; pointer-events: none; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; justify-content: center; } }

/* Pie */
.site-footer { background: color-mix(in srgb, var(--dark) 92%, #000); color: rgb(243 241 234 / .72); padding: 48px 0 32px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.foot img { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 14px; }
.foot p { margin: 0; }
.foot p span { color: rgb(243 241 234 / .5); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.copy { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / .1); padding-top: 22px; font-size: .84rem; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } }

.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.center-page .lead { margin-inline: auto; }

/* WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgb(0 0 0 / .45); z-index: 40; transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* Animaciones de entrada */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .seg { transition: none; }
}

/* ---------- Pestañas (cada opción del menú muestra su contenido) ---------- */
.con-vistas .vista:not(.activa) { display: none; }
.con-vistas .vista.activa { animation: fade .35s ease; }
.vista-pie { padding: clamp(40px, 6vw, 72px) 0 0; }
.vista-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 34px); }
.vista-cta p { margin: 0; font-size: 1.05rem; color: var(--muted); }
.vista-cta strong { font: 500 1.35rem/1.2 var(--serif); color: var(--ink); margin-right: .4em; }
.vista-nav { display: flex; justify-content: space-between; gap: 12px; padding: 28px 0 clamp(40px, 6vw, 64px); }
.vista-nav a { display: grid; gap: 2px; text-decoration: none; font-weight: 600; color: var(--brand); padding: 12px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); transition: border-color .2s, transform .2s; max-width: 48%; }
.vista-nav a:hover { border-color: var(--brand); transform: translateY(-2px); }
.vista-nav span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vista-nav .vn-next { text-align: right; margin-left: auto; }
/* Sin pestañas (sin JavaScript) la navegación inferior no hace falta */
html:not(.con-vistas) .vista-nav, html:not(.con-vistas) .vista-pie { display: none; }
/* Cuando la pestaña termina en una sección oscura, el pie va sobre fondo claro */
.vista > .section:last-of-type { margin-bottom: 0; }

/* =====================================================================
   Identidad S&V Bienestar (tipografías y colores del sitio original)
   Playfair Display (títulos) · Montserrat (textos)
   Verde bosque #204d41 · Verde azulado #357b70 · Durazno #e59a58 · Salvia #dce3cb
   ===================================================================== */
:root {
  --ink: #204d41;
  --muted: #4f6b62;
  --line: #dfe5dc;
  --sage: #dce3cb;
  --tint: #f3f6ef;
  --brand-soft: #e6efe9;
  --dark: #204d41;
  --surface: #ffffff;
  --radius: 15px;
  --radius-sm: 12px;
  --shadow: 0 6px 18px rgb(32 77 65 / .08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: Montserrat, Arial, Helvetica, sans-serif;
}
body { font-size: 16px; line-height: 1.65; color: var(--ink); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
h3 { font-weight: 600; }
h1 em, h2 em { font-style: normal; color: var(--brand); }
.lead { color: var(--muted); }
.eyebrow { color: var(--brand); font-weight: 700; letter-spacing: .1em; }
.eyebrow .dot { display: none; }
.num { color: var(--accent); font-weight: 700; }
.btn { font-weight: 700; font-size: .92rem; border-radius: 30px; }
.btn-ghost { color: var(--brand); border-color: var(--brand); background: #fff; }
.pill { background: var(--brand-soft); color: var(--ink); }

/* Cabecera blanca y menú en píldoras (como el sitio original) */
.site-header { background: rgb(255 255 255 / .94); }
.brand img { height: 46px; }
#menu ul { gap: 8px; }
#menu ul a { font-weight: 700; font-size: .84rem; color: var(--ink); padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; background: #fff; transition: background .2s, color .2s, border-color .2s; }
#menu ul a::after { display: none; }
#menu ul a:hover { border-color: var(--brand); color: var(--brand); }
#menu ul a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 920px) {
  #menu ul { gap: 8px; }
  #menu ul a { border: 1px solid var(--line); padding: 12px 16px; }
  #menu { background: #fff; }
}

/* Portada en verde degradado con texto blanco */
.hero { background: linear-gradient(125deg, #347d70 0%, #2e7163 58%, #326d5a 100%); color: #fff; }
.hero::before { background: radial-gradient(circle, rgb(255 255 255 / .08), transparent 65%); }
.hero h1 { color: #fff; }
.hero h1 em { color: #e3edcb; }
.hero .lead { color: rgb(240 246 240 / .92); }
.hero .eyebrow { color: #fff; background: rgb(255 255 255 / .1); padding: 8px 15px; border-radius: 30px; font-size: .72rem; }
.hero .btn { --b: #fff; color: var(--ink); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.hero .btn-ghost:hover { background: rgb(255 255 255 / .1); }
.hero .zone { color: rgb(255 255 255 / .8); }
.hero .zone .ico { color: #e3edcb; }
.hero .stats { border-color: rgb(255 255 255 / .2); }
.hero .stats li + li { border-color: rgb(255 255 255 / .2); }
.hero .stats strong { color: #fff; }
.hero .stats span { color: rgb(255 255 255 / .75); }
.hero-photo { background: #fff; border: 6px solid rgb(255 255 255 / .9); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .45); }

/* Sin superposiciones: las tarjetas van bajo la imagen */
.hero-card { position: static; margin-top: 16px; max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; box-shadow: none; }
.hero-card strong { color: var(--ink); font-weight: 600; }
.hero-card span { color: var(--brand); font-weight: 600; }
.inbody-media { padding-bottom: 0; }
.ib-note { position: static; margin-top: 16px; max-width: 340px; margin-inline: auto; box-shadow: var(--shadow); }
@media (max-width: 860px) { .hero-card, .ib-note { left: auto; right: auto; } }

/* Secciones */
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 em { color: #e3edcb; }
.section-dark .eyebrow { color: var(--sage); }
.partners { background: #fff; }
.partners-title { font-weight: 600; color: var(--ink); }
.card { border-color: var(--line); }
.tabs button[aria-selected="true"] { background: var(--brand); }
.model { color: var(--accent); font-weight: 700; }
.seg-grasa { background: var(--accent); }
.topic li::before { border-color: var(--accent); }
details[open] > summary .plus { background: var(--brand); border-color: var(--brand); }
.flow li span { background: var(--brand-soft); color: var(--ink); }
.member .role { color: var(--brand); }
.avatar { background: var(--sage); color: var(--ink); }

/* Contacto: fondo salvia claro y formulario blanco, como el original */
#contacto.section-dark { background: #f0f5ec; color: var(--ink); }
#contacto.section-dark h2 { color: var(--ink); }
#contacto.section-dark h2 em { color: var(--brand); }
#contacto.section-dark .eyebrow { color: var(--brand); }
#contacto.section-dark .lead, #contacto.section-dark .fine { color: var(--muted); }
#contacto .contact-list .ico { color: var(--accent); }
#contacto .form { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
#contacto .form input:not([type="checkbox"]), #contacto .form select, #contacto .form textarea { border: 1px solid #cbd8c5; border-radius: 7px; }
#contacto .form .btn-light { --b: var(--brand); color: #fff; }
#contacto .form-status.ok { color: var(--brand); }
#contacto .form-status.err { color: #b4472a; }

/* Pie de página */
.site-footer { background: var(--dark); }
.foot img { filter: none; opacity: 1; background: #fff; padding: 8px 12px; border-radius: 10px; height: 54px; }

/* Navegación entre pestañas */
.vista-cta strong { font-weight: 700; }
.vista-nav a { color: var(--brand); }

/* =====================================================================
   Agenda en línea (/agenda/ y /agenda/reserva/)
   ===================================================================== */
.agenda-page { padding-top: clamp(36px, 6vw, 64px); background: var(--tint); min-height: 70vh; }
.agenda-page .sec-head { margin-bottom: 28px; }
.narrow-lg { max-width: 760px; }
.ag-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.ag-pasos { display: grid; gap: 18px; min-width: 0; }
.ag-paso h2, .ag-resumen h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: .3rem 0 .6rem; }
.ag-ayuda { color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.ag-codigo { display: flex; gap: 10px; flex-wrap: wrap; }
.ag-codigo input { flex: 1 1 180px; font: 600 1rem var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: .8em 1em; border: 1px solid #cbd8c5; border-radius: 7px; color: var(--ink); }
.ag-codigo input:focus, .ag-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ag-msg { margin: 10px 0 0; font-size: .92rem; min-height: 1.2em; }
.ag-msg.ok { color: var(--brand); }
.ag-msg.err { color: #b4472a; }
.ag-link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; margin-left: 6px; }
.ag-dias { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.ag-dia { flex: none; display: grid; justify-items: center; gap: 1px; min-width: 76px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: 500 .78rem var(--sans); color: var(--muted); text-transform: capitalize; transition: border-color .2s, background .2s; }
.ag-dia strong { font: 700 1.4rem/1.1 var(--serif); color: var(--ink); }
.ag-dia em { font-style: normal; font-size: .7rem; color: var(--brand); margin-top: 2px; }
.ag-dia:hover { border-color: var(--brand); }
.ag-dia[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: rgb(255 255 255 / .85); }
.ag-dia[aria-selected="true"] strong, .ag-dia[aria-selected="true"] em { color: #fff; }
.ag-dia-titulo { font-weight: 700; margin: 8px 0 10px; }
.ag-horas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.ag-hora { padding: 11px 8px; border: 1px solid var(--line); border-radius: 30px; background: #fff; font: 700 .95rem var(--sans); color: var(--ink); cursor: pointer; transition: .15s; }
.ag-hora:hover { border-color: var(--brand); color: var(--brand); }
.ag-hora[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.ag-form { display: grid; gap: 14px; }
.ag-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ag-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.ag-form .opt { font-weight: 400; color: var(--muted); }
.ag-form input:not([type="checkbox"]) { font: inherit; font-size: 1rem; padding: .75em .9em; border: 1px solid #cbd8c5; border-radius: 7px; color: var(--ink); width: 100%; }
.ag-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--muted); }
.ag-form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.ag-form .btn { justify-self: start; }
.ag-form .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.ag-condiciones { font-size: .82rem; color: var(--muted); background: var(--tint); border-radius: 10px; padding: 12px 14px; margin: 0; }
.ag-resumen { position: sticky; top: 96px; }
.ag-resumen dl { margin: 0 0 14px; display: grid; gap: 0; }
.ag-resumen dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.ag-resumen dt { color: var(--muted); }
.ag-resumen dd { margin: 0; font-weight: 600; text-align: right; }
.ag-resumen .total dd { font: 700 1.3rem var(--serif); color: var(--brand); }
@media (max-width: 900px) {
  .ag-grid { grid-template-columns: 1fr; }
  .ag-resumen { position: static; order: -1; }
}
@media (max-width: 560px) {
  .ag-form .row { grid-template-columns: 1fr; }
  .ag-form .btn { justify-self: stretch; justify-content: center; }
}

/* Enlace privado */
.ag-privada { display: grid; gap: 18px; }
.ag-aviso { padding: 14px 18px; border-radius: 12px; font-size: .95rem; }
.ag-aviso.ok { background: #e3efe6; color: var(--ink); }
.ag-estado-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.ag-estado h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .2rem 0 0; }
.ag-badge { padding: .4em .9em; border-radius: 30px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.ag-badge.warn { background: #fcebd8; color: #8a4b12; }
.ag-badge.info { background: #e3edf6; color: #234a6b; }
.ag-badge.ok { background: #dff0e3; color: #1f5e36; }
.ag-badge.off { background: #eceeec; color: #5c615d; }
.ag-dl { margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 20px; }
.ag-dl dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.ag-dl dd { margin: 2px 0 0; font-weight: 600; }
.ag-pago h2 { font-size: 1.4rem; }
.ag-banco { list-style: none; margin: 0 0 18px; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ag-banco li { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; font-size: .92rem; }
.ag-banco li + li { border-top: 1px solid var(--line); }
.ag-banco span { color: var(--muted); }
.ag-banco strong { word-break: break-word; }
.ag-copiar { border: 1px solid var(--line); background: #fff; border-radius: 30px; padding: .35em .8em; font: 600 .78rem var(--sans); color: var(--brand); cursor: pointer; }
.ag-copiar:hover { border-color: var(--brand); }
@media (max-width: 560px) { .ag-banco li { grid-template-columns: 1fr auto; } .ag-banco li span { grid-column: 1 / -1; font-size: .8rem; } }
.ag-subir { display: grid; gap: 12px; }
.ag-archivo { position: relative; display: block; border: 2px dashed #cbd8c5; border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s; }
.ag-archivo:hover { border-color: var(--brand); }
.ag-archivo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ag-subir .btn { justify-self: start; }
.ag-reagendar { padding-top: 0; padding-bottom: 0; }
.ag-reagendar summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; }
.ag-reagendar summary::-webkit-details-marker { display: none; }
.ag-reagendar[open] { padding-bottom: 24px; }
.ag-reagendar .btn { margin-top: 14px; }
.ag-reagendar .btn:disabled { opacity: .45; cursor: not-allowed; }
.ag-cond { margin-top: 0; }

/* Rótulo y "(opcional)" en la misma línea */
.lbl-txt { display: block; }

/* Página legal */
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--brand); }

/* WhatsApp con varios números */
.wa-multi { position: fixed; right: 18px; bottom: 18px; z-index: 40; }
.wa-multi .wa { position: static; border: 0; cursor: pointer; }
.wa-menu { position: absolute; right: 0; bottom: 70px; background: #fff; border-radius: 15px; box-shadow: 0 14px 40px -12px rgb(0 0 0 / .35); padding: 10px; min-width: 230px; display: grid; gap: 4px; }
.wa-menu[hidden] { display: none; }
.wa-menu p { margin: 4px 8px 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.wa-menu a { display: grid; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--ink); }
.wa-menu a:hover { background: var(--tint); }
.wa-menu a span { font-weight: 500; font-size: .82rem; color: var(--muted); }

/* =====================================================================
   Video para empresas (Las aventuras de Sani)
   ===================================================================== */
.empresas { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.emp-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.emp-copy h2 em { display: block; }
.emp-puntos { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.emp-puntos li { position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); }
.emp-puntos li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.emp-video { margin: 0; }
.emp-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #f7f3ec; box-shadow: 0 24px 48px -24px rgb(32 77 65 / .45); border: 6px solid #fff; }
.emp-frame video, .emp-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #f7f3ec; object-fit: cover; }
.emp-video figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: .9rem; color: var(--muted); }
.emp-video figcaption strong { color: var(--ink); font-weight: 600; }
.emp-video figcaption span { background: var(--brand-soft); color: var(--ink); border-radius: 30px; padding: .15em .7em; font-weight: 600; font-size: .78rem; white-space: nowrap; }
.emp-promo { position: relative; margin-top: clamp(32px, 5vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; background: #fdeee0; border: 2px solid #f2c9a4; border-radius: var(--radius); padding: clamp(20px, 3vw, 28px) clamp(22px, 4vw, 40px); }
.emp-promo p { margin: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink); max-width: 46ch; }
.emp-promo p strong { color: var(--accent); }
.emp-estrella { position: absolute; top: -18px; right: 22px; width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.5rem; color: #f2b632; background: #fff; border-radius: 50%; box-shadow: var(--shadow); }
.emp-resumen { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.emp-resumen summary { cursor: pointer; font-weight: 600; color: var(--brand); width: fit-content; }
.emp-resumen p { margin: 10px 0 0; max-width: 75ch; }
@media (max-width: 900px) {
  .emp-grid { grid-template-columns: 1fr; }
  .emp-copy h2 em { display: inline; }
}
@media (max-width: 560px) {
  .emp-promo .btn { width: 100%; justify-content: center; }
  .emp-frame { border-width: 4px; }
}
.emp-play { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(12px, 2.5vw, 22px); border: 0; cursor: pointer; background: transparent; font: 700 .95rem var(--sans); }
.emp-play[hidden] { display: none; }
.emp-play-pill { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 18px 6px 6px; box-shadow: 0 12px 28px -10px rgb(32 77 65 / .55); transition: transform .2s, box-shadow .2s; }
.emp-play-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); position: relative; flex: none; }
.emp-play-ico::after { content: ""; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; }
.emp-play:hover .emp-play-pill, .emp-play:focus-visible .emp-play-pill { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgb(32 77 65 / .65); }
.emp-play:focus-visible { outline: none; }
.emp-play:focus-visible .emp-play-pill { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 560px) { .emp-play-ico { width: 38px; height: 38px; } .emp-play-ico::after { left: 15px; top: 11px; border-width: 8px 0 8px 12px; } .emp-play-pill { font-size: .85rem; padding-right: 14px; } }
