/* ==========================================================================
   Bio Cell Coaching — estilos del sitio
   Dark navy + glassmorphism. Montserrat (títulos) + Inter (texto).
   ========================================================================== */

/* Fuentes autoalojadas (sin dependencias externas) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #0b132b;
  --bg-deep: #070d1f;
  --navy-900: #1e2a4a;
  --navy-700: #2f4b7c;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --blue-200: #93c5fd;
  --slate: #94a3b8;
  --text: #ffffff;
  --text-2: #a7b4c8;
  --text-3: #7d8aa3;
  --amber: #f5b544;
  --danger: #f87171;

  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);

  --grad: linear-gradient(90deg, #3b82f6 0%, #22d3ee 100%);
  --grad-text: linear-gradient(90deg, #22d3ee 0%, #7dd3fc 100%);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 5vw, 80px);
  --section: clamp(72px, 9vw, 120px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --nav-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 112px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a, button, label, [role="button"] { touch-action: manipulation; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(34, 211, 238, 0.35); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 12px;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* ---------- Ambient background ---------- */
.page-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 700px at 8% -10%, rgba(47, 75, 124, 0.55), transparent 60%),
    radial-gradient(700px 600px at 100% 30%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(800px 700px at 0% 100%, rgba(34, 211, 238, 0.07), transparent 60%),
    var(--bg);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.stack > * + * { margin-top: var(--stack, 16px); }
.grid { display: grid; gap: 24px; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.display { font-size: clamp(38px, 2.2vw + 26px, 64px); line-height: 1.07; }
.h1 { font-size: clamp(36px, 2vw + 24px, 56px); line-height: 1.1; }
.h2 { font-size: clamp(28px, 1.4vw + 20px, 44px); line-height: 1.15; }
.h3 { font-size: clamp(22px, 0.6vw + 18px, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.h4 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(16px, 0.3vw + 15px, 18px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.body { font-size: 16px; color: var(--text-2); text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.tiny { font-size: 13px; line-height: 1.5; color: var(--text-3); }
.overline {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-200);
}
.cat { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}
.glass--strong { background: var(--glass-2); }
.panel {
  background: linear-gradient(160deg, rgba(47, 75, 124, 0.32), rgba(30, 42, 74, 0.28) 45%, rgba(11, 19, 43, 0.25));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .16s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s var(--ease-out), border-color .2s var(--ease-out);
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  padding: 0 8px 0 26px; color: #fff; background: var(--grad);
  box-shadow: 0 10px 32px -8px rgba(59, 130, 246, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary .btn__arrow {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); color: #fff; flex: none;
  transition: transform .25s var(--ease-out);
}
.btn--primary .btn__arrow svg { width: 18px; height: 18px; }
.btn--secondary {
  color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.btn--sm { --h: 44px; padding: 0 18px; font-size: 14px; }
.btn--primary.btn--sm { padding: 0 5px 0 18px; }
.btn--primary.btn--sm .btn__arrow { width: 34px; height: 34px; }
.btn--block { width: 100%; }
.btn--wa svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { box-shadow: 0 14px 40px -8px rgba(34, 211, 238, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  .btn--primary:hover .btn__arrow { transform: translateX(2px); }
  .btn--secondary:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.26); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: #fff; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
@media (hover: hover) { .link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(3px); } }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.2; color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
.chip--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
button.chip { transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .16s var(--ease-out); }
button.chip:active { transform: scale(0.96); }
button.chip[aria-pressed="true"], .chip.is-active { background: var(--grad); border-color: transparent; color: #fff; font-weight: 600; }
@media (hover: hover) { button.chip:not([aria-pressed="true"]):hover { background: rgba(255, 255, 255, 0.1); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips--scroll {
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter);
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
}
.chips--scroll::-webkit-scrollbar { display: none; }
.chips--scroll > * { scroll-snap-align: start; flex: none; }

/* ---------- Icons ---------- */
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 24px; height: 24px; }
.badge {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff;
}
.badge--sm { width: 40px; height: 40px; }
.badge--glow { background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.35), rgba(59, 130, 246, 0.18)); border-color: rgba(34, 211, 238, 0.35); }
.check {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: rgba(34, 211, 238, 0.14); color: var(--cyan);
}
.check .i { width: 14px; height: 14px; stroke-width: 2.25; }
.tag-safe { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--blue-200); }
.tag-safe .i { width: 16px; height: 16px; color: var(--cyan); }

/* ---------- Navigation ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto; max-width: var(--container); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 12px 0 22px;
  border-radius: 999px; background: rgba(11, 19, 43, 0.55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
  transition: background-color .3s var(--ease-out);
}
.nav-wrap.is-scrolled .nav { background: rgba(11, 19, 43, 0.82); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 28px; width: auto; }
.logo .logo__icon { height: 30px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.nav__links a[aria-current="page"] { color: #fff; font-weight: 600; }
@media (hover: hover) { .nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); } }
.nav__menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line);
}
.nav__menu-btn .i { width: 20px; height: 20px; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  padding: 16px var(--gutter) calc(24px + var(--safe-b));
  background: rgba(7, 13, 31, 0.92);
  -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px);
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .28s var(--ease-out), transform .32s var(--ease-out), visibility 0s linear .32s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .28s var(--ease-out), transform .32s var(--ease-out), visibility 0s; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 4px 0 10px; }
.menu__links { margin-top: 32px; display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 24px; border-bottom: 1px solid var(--line-soft);
}
.menu__links a[aria-current="page"] { color: var(--cyan); }
.menu__links a .i { color: var(--text-3); }
.menu__cta { margin-top: auto; display: grid; gap: 12px; }
.menu__note { margin-top: 16px; text-align: center; }

/* ---------- Floating WhatsApp + sticky bar ---------- */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 40; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--grad);
  box-shadow: 0 14px 36px -8px rgba(34, 211, 238, 0.55);
  transition: transform .2s var(--ease-out);
}
.wa-float .i { width: 26px; height: 26px; }
.wa-float:active { transform: scale(0.94); }
@media (hover: hover) { .wa-float:hover { transform: translateY(-2px); } }

.sticky-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 12px 16px calc(12px + var(--safe-b));
  background: linear-gradient(to top, rgba(7, 13, 31, 0.96) 55%, rgba(7, 13, 31, 0));
  gap: 10px; align-items: center;
  transform: translateY(110%); transition: transform .35s var(--ease-out);
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar .btn--primary { flex: 1; }
.sticky-bar__wa {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.sticky-bar__wa .i { width: 22px; height: 22px; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 96px) 0 48px; }
.page-hero .lead { max-width: 640px; }
.page-hero > .container > * + * { margin-top: 18px; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { padding: calc(var(--nav-h) + 72px) 0 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px; align-items: center; }
.hero__text > * + * { margin-top: 24px; }
.hero__text .lead { max-width: 520px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.hero__trust .i { width: 16px; height: 16px; color: var(--blue-200); }

.hero__visual { position: relative; height: 700px; }
.hero__img {
  position: absolute; right: 0; top: 0; width: 82%; height: 100%; object-fit: cover; border-radius: var(--r-xl);
  border: 1px solid var(--line); box-shadow: 0 40px 100px -40px rgba(34, 211, 238, 0.35);
}
.hero__img-wrap { position: absolute; right: 0; top: 0; width: 82%; height: 100%; border-radius: var(--r-xl); overflow: hidden; }
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 19, 43, 0.55), transparent 40%); }
.float-card {
  position: absolute; padding: 16px 18px; border-radius: 22px;
  background: rgba(20, 30, 58, 0.6); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.float-card--imc { left: 0; top: 80px; width: 200px; }
.float-card--imc .big { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1; }
.float-card--act { right: 28px; bottom: 96px; width: 210px; }
.float-card--prog { left: 4%; bottom: 40px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-top: 12px; }
.bars span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; font-size: 11px; color: var(--text-3); }
.bars span::before { content: ""; width: 100%; height: var(--h); border-radius: 6px; background: rgba(147, 197, 253, 0.3); }
.bars span.is-hi::before { background: var(--grad); box-shadow: 0 0 16px rgba(34, 211, 238, 0.5); }
.ring { width: 48px; height: 48px; flex: none; }
.hero__caption { position: absolute; right: 8px; bottom: -28px; font-size: 12px; color: var(--text-3); }

/* BMI quick calculator */
.calc { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 48px; align-items: center; }
.calc__form > * + * { margin-top: 20px; }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .field__label { font-size: 13px; color: var(--text-2); font-weight: 500; }
.input {
  display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; border-radius: 16px;
  background: rgba(7, 13, 31, 0.5); border: 1px solid var(--line);
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.input:focus-within { border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12); }
.input input, .input textarea, .input select {
  flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent;
  font-size: 18px; font-weight: 600; color: #fff;
}
.input input::placeholder, .input textarea::placeholder { color: var(--text-3); font-weight: 400; }
.input .unit { font-size: 13px; color: var(--text-3); }
.input--area { height: auto; padding: 14px 16px; }
.input--area textarea { min-height: 72px; resize: vertical; font-size: 16px; font-weight: 400; }
.input--text input { font-size: 16px; font-weight: 500; }
.input input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.input input::-webkit-outer-spin-button, .input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field.is-error .input { border-color: rgba(248, 113, 113, 0.7); }
.field__error { font-size: 12px; color: var(--danger); display: none; }
.field.is-error .field__error { display: block; }

.result-card { padding: 32px; text-align: center; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.result-card > * + * { margin-top: 20px; }
.gauge { position: relative; width: 300px; max-width: 100%; margin: 0 auto; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge__track { stroke: rgba(255, 255, 255, 0.1); }
.gauge__value { transition: stroke-dashoffset .9s var(--ease-out); }
.gauge__dot { transition: transform .9s var(--ease-out); }
.gauge__label { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
.gauge__num { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; }
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: left; }
.scale > div { padding-top: 10px; border-top: 4px solid rgba(255, 255, 255, 0.12); font-size: 12px; color: var(--text-3); transition: border-color .3s var(--ease-out), color .3s var(--ease-out); }
.scale > div strong { display: block; font-weight: 500; color: var(--text-2); }
.scale > div.is-on { border-color: var(--blue); }
.scale > div.is-on strong { color: #fff; font-weight: 600; }

/* Profiles */
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.split-head .lead, .split-head .body { max-width: 440px; }
.split-head > div > * + * { margin-top: 14px; }
.profiles { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 24px; }
.img-card { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.img-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-card__note { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 20px; border-radius: 20px; background: rgba(20, 30, 58, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.profiles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.profile { display: flex; gap: 16px; padding: 24px; align-items: flex-start; }
.profile .h4 { margin-bottom: 6px; }

/* Indicators */
.two-col { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 64px; align-items: center; }
.two-col--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); }
.visual-tall { position: relative; height: 640px; }
.visual-tall .img-card { position: absolute; inset: 0 40px 0 0; }
.float-card--waist { right: 0; bottom: 64px; display: flex; gap: 12px; align-items: center; }
.indicators { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.indicator { padding: 24px; }
.indicator > * + * { margin-top: 12px; }

/* Peptide cards */
.pep-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pep-card {
  display: flex; flex-direction: column; padding: 11px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(30, 42, 74, 0.7), rgba(17, 26, 52, 0.85));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.pep-card__img { aspect-ratio: 280 / 260; border-radius: 20px; overflow: hidden; background: #0f1830; }
.pep-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .6s var(--ease-out); }
.pep-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 14px 14px; flex: 1; }
.pep-card__body .h3 { font-size: 26px; }
.pep-card__body .link-arrow { margin-top: auto; padding-top: 6px; }
@media (hover: hover) {
  .pep-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.35); box-shadow: 0 24px 50px -24px rgba(34, 211, 238, 0.35); }
  .pep-card:hover .pep-card__img img { transform: scale(1.04); }
}
.pep-card:active { transform: scale(0.985); }

/* Plan banner */
.plan-banner { padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 48px; align-items: center; }
.plan-banner__text > * + * { margin-top: 20px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #e2e8f0; }
.checklist--sm li { font-size: 14px; color: var(--text-2); }
.duo { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; height: 420px; }
.duo .img-card { min-height: 0; }
.duo .img-card:nth-child(2) { margin-top: 40px; }
.float-card--routine { left: 50%; bottom: -10px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; white-space: nowrap; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1; color: rgba(147, 197, 253, 0.3); }
.step .chip { align-self: flex-start; margin-top: 4px; }

/* CTA privado */
.cta-private { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); overflow: hidden; padding: 0; }
.cta-private__text { padding: clamp(28px, 5vw, 64px); }
.cta-private__text > * + * { margin-top: 20px; }
.cta-private__img { position: relative; min-height: 420px; }
.cta-private__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-private__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17, 26, 52, 0.85), transparent 35%); }
.list-icons { display: grid; gap: 12px; }
.list-icons li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #e2e8f0; }
.list-icons .i { width: 18px; height: 18px; color: var(--cyan); }
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 20px;
  background: rgba(59, 130, 246, 0.07); border: 1px solid rgba(147, 197, 253, 0.18);
  font-size: 13px; line-height: 1.55; color: var(--text-2);
}
.notice .i { color: var(--cyan); margin-top: 1px; }

/* Footer */
.footer { padding: 72px 0 calc(32px + var(--safe-b)); border-top: 1px solid var(--line-soft); background: rgba(7, 13, 31, 0.6); margin-top: 24px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer__brand > * + * { margin-top: 14px; }
.footer__brand img { height: 30px; width: auto; }
.footer h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-200); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { font-size: 14px; color: var(--text-2); transition: color .2s var(--ease-out); }
@media (hover: hover) { .footer a:hover { color: #fff; } }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 32px; }
.footer__bottom p:last-child { max-width: 620px; text-align: right; }

/* ==========================================================================
   BIBLIOTECA
   ========================================================================== */
.lib-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.search { display: flex; align-items: center; gap: 10px; width: 320px; max-width: 100%; height: 48px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); transition: border-color .2s var(--ease-out); }
.search:focus-within { border-color: rgba(34, 211, 238, 0.55); }
.search .i { width: 18px; height: 18px; color: var(--text-3); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; }
.search input::placeholder { color: var(--text-3); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.lib { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 40px; align-items: start; padding-bottom: 96px; }
.lib__list { display: grid; gap: 28px; }
.lib__group-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding: 0 4px; }
.lib__group-head .overline { color: var(--blue-200); }
.lib__group-head .count { font-size: 13px; color: var(--text-3); }
.lib__items { display: grid; gap: 10px; }
.lib-item { border-radius: var(--r-md); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out); }
.lib-item__btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left; border-radius: inherit; }
.lib-item__btn:active { transform: scale(0.99); }
.lib-item__text { flex: 1; min-width: 0; }
.lib-item__name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.3; color: #fff; }
.lib-item__short { display: block; font-size: 13px; line-height: 1.45; color: var(--text-3); margin-top: 2px; }
.lib-item__chev { color: var(--text-3); transition: transform .3s var(--ease-out), color .2s; }
.lib-item.is-active { background: rgba(255, 255, 255, 0.08); border-color: rgba(34, 211, 238, 0.6); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.06); }
.lib-item.is-active .lib-item__chev { color: var(--cyan); }
@media (hover: hover) { .lib-item:not(.is-active):hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); } }
.lib__empty { padding: 24px; text-align: center; }

.lib__panel { position: sticky; top: 112px; }
.ficha { padding: 40px; }
.ficha__head { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
.ficha__img { aspect-ratio: 260 / 320; border-radius: 24px; overflow: hidden; background: #0f1830; border: 1px solid var(--line-soft); }
.ficha__img img { width: 100%; height: 100%; object-fit: cover; }
.ficha__info > * + * { margin-top: 14px; }
.ficha__name { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(30px, 2vw + 18px, 52px); line-height: 1.08; }
.ficha__name.is-long { font-size: clamp(26px, 1.2vw + 18px, 38px); }
.ficha__info .btn-row { padding-top: 6px; }
.ficha__divider { height: 1px; background: var(--line-soft); margin: 32px 0; }
.ficha__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ficha__block > * + * { margin-top: 12px; }
.ficha__block + .ficha__block { margin-top: 28px; }
.ficha__block .h4 { font-size: 19px; }
.ficha__eval { margin-top: 32px; }
.ficha__eval .chips { margin-top: 14px; }
.ficha .notice { margin-top: 28px; }
.ficha.is-swapping { animation: fichaIn .35s var(--ease-out); }
@keyframes fichaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ficha.is-swapping { animation: none; } }

/* ==========================================================================
   EVALUACIÓN
   ========================================================================== */
.eval { padding: calc(var(--nav-h) + 72px) 0 96px; }
.eval__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.eval__side { position: sticky; top: 120px; }
.eval__side > * + * { margin-top: 18px; }
.vsteps { margin-top: 32px; display: grid; }
.vstep { display: flex; gap: 14px; position: relative; padding-bottom: 24px; }
.vstep:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; }
.vstep.is-done:not(:last-child)::before { background: linear-gradient(var(--blue), var(--cyan)); }
.vstep__dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--text-2); transition: all .3s var(--ease-out); }
.vstep.is-current .vstep__dot { border-color: var(--cyan); color: #fff; box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.15); }
.vstep.is-done .vstep__dot { background: var(--grad); border-color: transparent; color: #fff; }
.vstep.is-done .vstep__dot span { display: none; }
.vstep:not(.is-done) .vstep__dot .i { display: none; }
.vstep__dot .i { width: 16px; height: 16px; stroke-width: 2.25; }
.vstep__t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.vstep__d { font-size: 13px; color: var(--text-3); }
.privacy-box { display: flex; gap: 12px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft); font-size: 14px; color: var(--text-2); }
.privacy-box .i { color: var(--cyan); }

.eval__form { padding: clamp(24px, 4vw, 44px); }
.progress__meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); }
.progress__bar { margin-top: 10px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: var(--p, 25%); background: var(--grad); border-radius: inherit; transition: width .5s var(--ease-out); }
.eval-step { margin-top: 36px; }
.eval-step > * + * { margin-top: 28px; }
.q > * + * { margin-top: 10px; }
.q__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 1vw + 16px, 28px); line-height: 1.25; }
.q__label { font-size: 15px; font-weight: 600; }
.q-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.option label {
  display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .16s var(--ease-out);
}
.option label .badge { width: 40px; height: 40px; }
.option input:checked + label { background: rgba(59, 130, 246, 0.14); border-color: rgba(34, 211, 238, 0.7); }
.option input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }
.option input:active + label { transform: scale(0.98); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(7, 13, 31, 0.5); border: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: grid; place-items: center; min-height: 40px; padding: 0 8px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; text-align: center; transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.seg input:checked + label { background: var(--grad); color: #fff; font-weight: 600; }
.seg input:focus-visible + label { outline: 2px solid var(--cyan); }
.eval__actions { margin-top: 40px; display: flex; justify-content: space-between; gap: 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.consent a { color: var(--blue-200); text-decoration: underline; text-underline-offset: 3px; }
.phone-prefix { font-size: 15px; color: var(--text-2); padding-right: 10px; border-right: 1px solid var(--line); }

/* Resultado */
.res-head { padding: calc(var(--nav-h) + 96px) 0 48px; text-align: center; }
.res-head > * + * { margin-top: 16px; }
.res-grid { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 32px; align-items: start; }
.res-ind { padding: 32px; }
.res-ind > * + * { margin-top: 28px; }
.level__head { display: flex; justify-content: space-between; align-items: center; }
.level__pill { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.level__pill[data-level="bajo"] { background: rgba(34, 211, 238, 0.15); color: var(--cyan); }
.level__pill[data-level="moderado"] { background: rgba(245, 181, 68, 0.15); color: var(--amber); }
.level__pill[data-level="alto"] { background: rgba(248, 113, 113, 0.15); color: var(--danger); }
.level__bar { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.level__bar div { padding-top: 10px; border-top: 4px solid rgba(255, 255, 255, 0.1); font-size: 12px; color: var(--text-3); }
.level__bar div.is-on[data-l="bajo"] { border-color: var(--cyan); color: #fff; }
.level__bar div.is-on[data-l="moderado"] { border-color: var(--amber); color: #fff; }
.level__bar div.is-on[data-l="alto"] { border-color: var(--danger); color: #fff; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft); }
.metric .i { color: var(--blue-200); }
.metric__l { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.metric__v { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.res-int { padding: 36px; }
.res-int > * + * { margin-top: 32px; }
.next-list { display: grid; gap: 12px; margin-top: 16px; }
.next {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft);
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .16s var(--ease-out);
}
.next:active { transform: scale(0.99); }
@media (hover: hover) { .next:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(34, 211, 238, 0.35); } }
.next > div { flex: 1; min-width: 0; }
.next .i:last-child { color: var(--text-3); }

/* ==========================================================================
   PLAN FÍSICO
   ========================================================================== */
.plan-hero__visual { position: relative; height: 620px; }
.plan-hero__visual .img-card { position: absolute; inset: 0 0 0 80px; }
.float-card--week { left: 0; bottom: 56px; width: 314px; }
.week { display: flex; gap: 8px; margin: 12px 0; }
.week span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.06); color: var(--text-3); }
.week span.is-on { background: var(--grad); color: #fff; }
.options-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.opt-card { padding: 11px; display: flex; flex-direction: column; transition: transform .3s var(--ease-out), border-color .3s var(--ease-out); }
.opt-card__img { height: 220px; border-radius: 20px; overflow: hidden; }
.opt-card__img img { width: 100%; height: 100%; object-fit: cover; }
.opt-card__body { padding: 20px 14px 14px; }
.opt-card__body > * + * { margin-top: 10px; }
.opt-card__title { display: flex; align-items: center; gap: 12px; }
@media (hover: hover) { .opt-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.35); } }
.gen { padding: clamp(24px, 4vw, 48px); }
.gen__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(7, 13, 31, 0.5); border: 1px solid var(--line); }
.tabs button { min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.tabs button[aria-selected="true"] { background: var(--grad); color: #fff; font-weight: 600; }
.gen__qs { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.gen__qs .q--full { grid-column: 1 / -1; }
.gen__foot { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.day { padding: 24px; }
.day__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.day__tag { padding: 4px 12px; border-radius: 999px; background: rgba(34, 211, 238, 0.14); color: var(--cyan); font-size: 13px; font-weight: 600; }
.ex { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.ex:last-child { border-bottom: 0; }
.ex span:last-child { color: var(--blue-200); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); font-size: 13px; color: #e2e8f0; }
.meta-pill .i { width: 16px; height: 16px; color: var(--cyan); }
.food-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 24px; }
.plate-card { padding: 32px; }
.plate { width: 240px; height: 240px; margin: 24px auto; border-radius: 50%; position: relative; background: conic-gradient(#22d3ee 0 50%, #3b82f6 50% 75%, #93c5fd 75% 100%); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05), 0 20px 60px -20px rgba(34, 211, 238, 0.5); }
.plate::after { content: "½ · ¼ · ¼"; position: absolute; inset: 34%; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.plate-legend { display: grid; gap: 10px; }
.plate-legend li { display: flex; justify-content: space-between; font-size: 14px; }
.plate-legend li span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.plate-legend li span:last-child { color: var(--text-3); font-size: 13px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.foods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 28px; }
.foods .chips { gap: 8px; margin-top: 12px; }
.foods .chip { min-height: 32px; font-size: 12.5px; }
.example { padding: 28px; margin-top: 24px; }
.meal { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--text-2); }
.meal:last-child { border-bottom: 0; }
.meal strong { color: #fff; font-weight: 600; }
.quote { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px, 1vw + 14px, 28px); line-height: 1.35; text-align: center; max-width: 900px; margin: 48px auto; text-wrap: balance; }

/* ==========================================================================
   EDUCACIÓN / ARTÍCULO
   ========================================================================== */
.featured { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: 48px; align-items: center; padding: 13px 48px 13px 13px; }
.featured__img { border-radius: 28px; overflow: hidden; aspect-ratio: 660 / 400; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.featured__text > * + * { margin-top: 16px; }
.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.art-card { padding: 9px; display: flex; flex-direction: column; transition: transform .3s var(--ease-out), border-color .3s var(--ease-out); }
.art-card__img { aspect-ratio: 284 / 200; border-radius: 20px; overflow: hidden; }
.art-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.art-card__body { padding: 18px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.art-card__body .h4 { flex: 1; }
.read-time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.read-time .i { width: 15px; height: 15px; }
a.art-card:active, a.featured:active { transform: scale(0.99); }
@media (hover: hover) {
  a.art-card:hover, a.featured:hover { border-color: rgba(34, 211, 238, 0.35); }
  a.art-card:hover { transform: translateY(-4px); }
  a.art-card:hover img, a.featured:hover img { transform: scale(1.04); }
}
.art-card.is-soon { opacity: 0.75; }
.soon { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.cta-mini { padding: 28px; display: flex; flex-direction: column; gap: 14px; justify-content: center; background: linear-gradient(160deg, rgba(59, 130, 246, 0.22), rgba(34, 211, 238, 0.08)); }
.cta-mini .i { width: 28px; height: 28px; color: var(--cyan); }

.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--text-3); }
.crumbs a { color: var(--blue-200); }
.author { display: flex; align-items: center; gap: 12px; }
.author__logo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); }
.author__logo img { width: 22px; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1280 / 520; border: 1px solid var(--line); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 840px) 360px; gap: 80px; align-items: start; padding: 64px 0 96px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1.25; margin-top: 48px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--text-2); }
.prose .src { font-size: 13px; color: var(--text-3); }
.formula { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft); }
.formula strong { display: block; font-family: var(--font-head); font-size: 19px; margin-top: 6px; color: #fff; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.table th { text-align: left; padding: 14px 20px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-200); background: rgba(255, 255, 255, 0.05); font-weight: 600; }
.table td { padding: 16px 20px; border-top: 1px solid var(--line-soft); font-size: 16px; color: #e2e8f0; }
.table td:last-child { font-variant-numeric: tabular-nums; }
.highlight { display: flex; gap: 16px; align-items: center; padding: 24px; border-radius: 24px; background: linear-gradient(120deg, rgba(59, 130, 246, 0.16), rgba(34, 211, 238, 0.06)); border: 1px solid rgba(147, 197, 253, 0.25); font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.4; }
.highlight .i { width: 24px; height: 24px; color: var(--cyan); }
.measure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.measure-grid .glass { padding: 22px; }
.measure-grid .glass > * + * { margin-top: 10px; }
.aside-sticky { position: sticky; top: 120px; display: grid; gap: 20px; }
.toc { padding: 24px; }
.toc ul { display: grid; gap: 4px; margin-top: 12px; }
.toc a { display: block; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--text-2); border-left: 2px solid transparent; transition: all .2s var(--ease-out); }
.toc a.is-active { color: #fff; border-left-color: var(--cyan); background: rgba(255, 255, 255, 0.04); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related a { display: flex; gap: 18px; align-items: center; padding: 9px 18px 9px 9px; transition: border-color .2s var(--ease-out); }
.related img { width: 120px; height: 120px; border-radius: 18px; object-fit: cover; flex: none; }
@media (hover: hover) { .related a:hover { border-color: rgba(34, 211, 238, 0.35); } }

/* ==========================================================================
   CÓMO FUNCIONA / LEGAL
   ========================================================================== */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pillar { padding: 28px; }
.pillar > * + * { margin-top: 14px; }
.timeline { display: grid; gap: 20px; }
.tl { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; position: relative; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 56px; bottom: -20px; width: 2px; background: linear-gradient(rgba(59, 130, 246, 0.6), rgba(34, 211, 238, 0.15)); }
.tl__num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; background: var(--grad); box-shadow: 0 0 24px rgba(34, 211, 238, 0.35); }
.tl__card { padding: 28px; }
.tl__card > * + * { margin-top: 14px; }
.tl__title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tl__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tl__tags span { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 13px; color: #e2e8f0; }
.tl__tags .i { width: 14px; height: 14px; color: var(--cyan); }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.dodont > div { padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-soft); }
.dodont ul { display: grid; gap: 14px; margin-top: 16px; }
.dodont li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #e2e8f0; }
.x-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; background: rgba(248, 113, 113, 0.14); color: var(--danger); }
.x-mark .i { width: 14px; height: 14px; stroke-width: 2.25; }
.faq-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-grid > div:first-child > * + * { margin-top: 18px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-soft); transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out); }
.faq details[open] { background: rgba(255, 255, 255, 0.07); border-color: var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); transition: transform .3s var(--ease-out), background-color .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); background: rgba(34, 211, 238, 0.18); color: var(--cyan); }
.faq .faq__a { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.faq .faq__a a { color: var(--blue-200); text-decoration: underline; text-underline-offset: 3px; }

.legal { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 96px; }
.legal__nav { position: sticky; top: 120px; display: grid; gap: 6px; }
.legal__nav a { padding: 12px 16px; border-radius: 14px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: all .2s var(--ease-out); }
.legal__nav a[aria-current="true"] { background: rgba(255, 255, 255, 0.07); color: #fff; box-shadow: inset 2px 0 0 var(--cyan); }
.legal__doc { padding: clamp(24px, 4vw, 48px); }
.legal__doc section > * + * { margin-top: 10px; }
.legal__doc section + section { margin-top: 32px; }
.legal__doc p, .legal__doc li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.legal__doc ul { list-style: disc; padding-left: 22px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__links a { padding: 10px 10px; }
  .hero__grid, .calc, .plan-banner, .two-col, .two-col--rev { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { height: 620px; max-width: 560px; width: 100%; margin: 0 auto; }
  .visual-tall { max-width: 560px; height: 560px; }
  .pep-grid, .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profiles { grid-template-columns: minmax(0, 1fr); }
  .profiles > .img-card { min-height: 360px; }
  .lib { grid-template-columns: 380px minmax(0, 1fr); gap: 28px; }
  .ficha { padding: 28px; }
  .ficha__head { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .ficha__cols { grid-template-columns: 1fr; }
  .eval__grid, .res-grid, .faq-grid, .article-wrap, .food-grid, .featured { grid-template-columns: minmax(0, 1fr); }
  .eval__side, .aside-sticky { position: static; }
  .featured { padding: 13px; }
  .featured__text { padding: 8px 12px 20px; }
  .days { grid-template-columns: 1fr 1fr; }
  .plan-hero__visual { max-width: 560px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 60px; }
  .nav { padding: 0 8px 0 18px; }
  .nav__links, .nav__cta { display: none; }
  .nav__menu-btn { display: grid; }
  .wa-float { display: none; }
  .sticky-bar { display: flex; }
  body.has-sticky .footer { padding-bottom: calc(110px + var(--safe-b)); }
  .lib { grid-template-columns: minmax(0, 1fr); }
  .lib__panel { display: none; }
  .lib-item.is-active { box-shadow: none; }
  .lib-item .ficha { padding: 4px 16px 20px; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lib-item.is-active .lib-item__chev { transform: rotate(90deg); }
  .ficha__head { grid-template-columns: 1fr; }
  .ficha__img { aspect-ratio: 4 / 3; }
  .ficha__img img { object-position: center 40%; }
  .lib-item .ficha__name, .lib-item .ficha__cat { display: none; }
  .ficha__divider { margin: 24px 0; }
  .cta-private { grid-template-columns: minmax(0, 1fr); }
  .cta-private__img { min-height: 260px; order: -1; }
  .cta-private__img::before { background: linear-gradient(0deg, rgba(17, 26, 52, 0.9), transparent 45%); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 12px; }
  .footer__bottom p:last-child { text-align: left; }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .legal__nav a { white-space: nowrap; flex: none; }
  .related { grid-template-columns: 1fr; }
  .dodont { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .section { padding: 64px 0; }
  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 40px; }
  .hero__grid { gap: 28px; }
  .hero__visual { order: -1; height: 440px; margin: 0 calc(var(--gutter) * -1); width: auto; max-width: none; }
  .hero__img-wrap { width: 100%; border-radius: 0 0 32px 32px; }
  .hero__img-wrap::after { background: linear-gradient(to top, var(--bg) 2%, rgba(11, 19, 43, 0.2) 45%, transparent); }
  .float-card--imc { left: var(--gutter); top: auto; bottom: 28px; width: 168px; padding: 12px 14px; }
  .float-card--imc .big { font-size: 30px; }
  .float-card--act, .float-card--prog, .hero__caption { display: none; }
  .hero__text .btn-row .btn { width: 100%; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .calc { padding: 22px; gap: 28px; }
  .fields { gap: 10px; }
  .input { height: 52px; padding: 0 10px; }
  .input .unit { font-size: 12px; }
  .input input { font-size: 17px; }
  .result-card { padding: 24px 18px; }
  .profiles__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .profile { flex-direction: column; gap: 12px; padding: 16px; }
  .profile .h4 { font-size: 15px; line-height: 1.3; }
  .profile .small { display: none; }
  .profile .badge { width: 36px; height: 36px; }
  .indicators { gap: 10px; }
  .indicator { padding: 16px; display: flex; align-items: center; gap: 12px; }
  .indicator > * + * { margin-top: 0; }
  .indicator .h4 { font-size: 15px; }
  .indicator .small { display: none; }
  .visual-tall { height: 420px; }
  .visual-tall .img-card { inset: 0; }
  .float-card--waist { right: 16px; bottom: 20px; }
  .pep-grid { display: flex; overflow-x: auto; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 var(--gutter); }
  .pep-grid::-webkit-scrollbar { display: none; }
  .pep-grid > * { flex: 0 0 76%; scroll-snap-align: start; }
  .pep-card__body .small { display: none; }
  .plan-banner { padding: 0 0 22px; overflow: hidden; gap: 24px; }
  .plan-banner .duo { order: -1; height: 240px; gap: 0; }
  .plan-banner .duo .img-card { border-radius: 0; border: 0; }
  .plan-banner .duo .img-card:nth-child(2) { margin-top: 0; }
  .plan-banner .float-card--routine { display: none; }
  .plan-banner__text { padding: 0 22px; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
  .step__top { margin: 0; order: 2; margin-left: auto; }
  .step__top .step__num { display: none; }
  .step .h4 { font-size: 16px; }
  .step .small { font-size: 13px; }
  .step > div:not(.step__top) { flex: 1; }
  .step .step__n { font-family: var(--font-head); font-weight: 700; color: var(--cyan); font-size: 15px; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pillar { padding: 18px; }
  .pillar .small { font-size: 13px; }
  .art-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .art-card__body { padding: 12px 6px 6px; }
  .art-card__body .h4 { font-size: 15px; }
  .art-grid .cta-mini { grid-column: 1 / -1; }
  .options { grid-template-columns: 1fr 1fr; }
  .option label { min-height: 60px; font-size: 14px; }
  .q-grid { grid-template-columns: 1fr; }
  .eval { padding-top: calc(var(--nav-h) + 40px); }
  .eval__side .vsteps, .eval__side .privacy-box { display: none; }
  .eval__form { padding: 20px; border-radius: 28px; }
  .eval__actions { position: sticky; bottom: 0; margin: 32px -20px -20px; padding: 14px 20px calc(14px + var(--safe-b)); background: rgba(14, 22, 46, 0.95); border-top: 1px solid var(--line-soft); border-radius: 0 0 28px 28px; }
  .eval__actions .btn { flex: 1; }
  .res-ind, .res-int { padding: 22px; }
  .metrics { gap: 8px; }
  .metric { padding: 12px; }
  .gen__qs { grid-template-columns: 1fr; }
  .days { grid-template-columns: 1fr; }
  .foods { grid-template-columns: 1fr; }
  .meal { grid-template-columns: 1fr; gap: 2px; }
  .options-3 { display: flex; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter); gap: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .options-3 > * { flex: 0 0 80%; scroll-snap-align: start; }
  .plan-hero__visual { height: 420px; }
  .plan-hero__visual .img-card { inset: 0; }
  .float-card--week { left: 12px; bottom: 16px; width: auto; }
  .formula { grid-template-columns: 1fr; }
  .measure-grid { grid-template-columns: 1fr; }
  .prose p { font-size: 16px; }
  .prose h2 { font-size: 23px; margin-top: 36px; }
  .table td, .table th { padding: 12px 14px; font-size: 14px; }
  .article-wrap { padding-top: 32px; gap: 40px; }
  .article-cover { border-radius: 24px; aspect-ratio: 4 / 3; }
  .tl { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .tl__num { width: 36px; height: 36px; font-size: 13px; }
  .tl:not(:last-child)::before { left: 17px; top: 44px; }
  .tl__card { padding: 20px; }
  .tl__title .badge { display: none; }
  .faq summary { padding: 18px; font-size: 16px; }
  .faq .faq__a { padding: 0 18px 18px; font-size: 15px; }
  .page-hero { padding-top: calc(var(--nav-h) + 56px); }
  .lib-tools .search { width: 100%; }
  .duo { height: 300px; }
}

@media (max-width: 380px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .fields .field:last-child { grid-column: 1 / -1; }
  .options { grid-template-columns: 1fr; }
}

@media print {
  .nav-wrap, .wa-float, .sticky-bar, .menu, .page-bg { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Biblioteca: acordeón / panel ---------- */
.step__n { display: none; }
.js .ficha-slot { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.js .ficha-slot__inner { min-height: 0; overflow: hidden; }
.js .lib-item.is-active .ficha-slot { grid-template-rows: 1fr; }
@media (min-width: 961px) { .js .ficha-slot { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .ficha-slot { transition: none; } }
.no-js .lib__panel { display: none; }
.no-js .lib { grid-template-columns: 1fr; }
@media (max-width: 720px) { .step .step__n { display: inline; margin-right: 6px; } }
