/* ==========================================================================
   Vidaluz · Home
   Diseño base: 1920 × 1080 (cada sección cabe en una pantalla).
   Móvil: ≤ 900 px (cada sección cabe en una pantalla del teléfono).
   ========================================================================== */

/* ---------- Fuentes ---------- */
@font-face { font-family: "Gotham Rounded"; src: url("../assets/fonts/GothamRnd-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Rounded"; src: url("../assets/fonts/GothamRnd-Book.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Rounded"; src: url("../assets/fonts/GothamRnd-Medium.woff") format("woff"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Gotham Rounded"; src: url("../assets/fonts/GothamRnd-Bold.woff") format("woff"); font-weight: 700 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #2A2E70;
  --navy-deep: #1D205C;
  --ink: #23265C;
  --text-muted: #4A4E7E;
  --text-soft: #5B5E88;
  --blue: #4D5C97;
  --sky: #7FA3D3;
  --bg: #F3F5FC;
  --bg-header: #E4EBF4;
  --bg-footer: #E6ECF8;
  --chip: #EEF1FA;
  --line: #E3E6F2;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --focus: #977AA8;

  /* producto */
  --mujer: #DB93C0;   --mujer-dark: #A8457F;
  --integral: #50B046; --integral-dark: #2F7A28;
  --adulto: #4C3E86;  --adulto-dark: #4C3E86;
  --salud: #99BEE5;   --salud-dark: #3E6EA8;
  --mascota: #D6862B; --mascota-dark: #9A5A12;

  --font: "Gotham Rounded", Arial, sans-serif;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[id] { scroll-margin-top: var(--header-h); }
a { color: var(--navy); }
a:hover { color: #4D6FB5; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.only-mobile { display: none !important; }

/* ---------- Layout: cada sección = una pantalla ---------- */
.section { position: relative; display: flex; align-items: center; min-height: min(calc(100svh - var(--header-h)), 1002px); }
.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 48px clamp(20px, 4vw, 72px); }
.stack { display: flex; flex-direction: column; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.h2 { margin: 0; font-weight: 700; line-height: 1.08; text-wrap: balance; font-size: clamp(36px, 2.8vw, 54px); color: var(--navy); }
.fine { margin: 0; font-size: 12px; line-height: 1.6; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 17px 30px; border-radius: 999px; font-family: var(--font); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(42, 46, 112, .22); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--navy); color: var(--white); border: 0; }
.btn--primary:hover { color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border: 1.5px solid var(--navy); }
.btn--round { width: 56px; height: 56px; padding: 0; min-height: 0; justify-content: center; border-radius: 50%; }
.btn--round svg { width: 22px; height: 22px; }
.btn--round:disabled { opacity: .35; cursor: default; transform: none; box-shadow: none; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg-header); }
.header__desk { max-width: 1600px; height: var(--header-h); margin: 0 auto; padding: 0 clamp(20px, 3vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.header__nav { display: flex; justify-content: space-evenly; align-items: center; gap: 20px; font-size: 15px; }
.header__nav a:not(.header__buy) { color: var(--ink); text-decoration: none; }
.header__nav a.is-strong { font-weight: 700; }
.header__logo { align-self: start; display: flex; align-items: center; justify-content: center; height: 82px; padding: 0 34px; background: var(--white); border-radius: 0 0 16px 16px; box-shadow: 0 8px 20px rgba(42, 46, 112, .08); }
.header__logo img { height: 54px; width: auto; }
.header__buy { display: inline-flex; align-items: center; height: 44px; padding: 0 40px; border-radius: 12px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.header__buy:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(42, 46, 112, .22); }

.header__mob { display: none; height: 64px; padding: 0 12px 0 18px; align-items: center; justify-content: space-between; }
.header__mob img { height: 40px; width: auto; }
.burger { width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(42, 46, 112, .08); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s; }
.burger[aria-expanded="true"] { background: var(--navy); color: var(--white); }
.burger svg { width: 26px; height: 26px; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 64px; display: flex; flex-direction: column; padding: 8px 18px 20px; background: var(--white); border-radius: 0 0 24px 24px; box-shadow: 0 20px 40px rgba(42, 46, 112, .18); animation: menuIn .25s ease both; }
.mobile-menu a { padding: 16px 4px; border-bottom: 1px solid #E8EBF5; color: var(--ink); text-decoration: none; font-size: 17px; }
.mobile-menu a.is-strong { font-weight: 700; }
.mobile-menu .mobile-menu__buy { margin-top: 16px; height: 52px; border: 0; border-radius: 14px; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; text-transform: uppercase; }

/* ==========================================================================
   1 · HERO
   ========================================================================== */
.hero { overflow: hidden; background: var(--bg); }
.hero__glow { position: absolute; width: 760px; height: 760px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(80, 176, 70, .4)) 0%, rgba(243, 245, 252, 0) 68%); transition: background 1.2s ease; animation: blob 16s ease-in-out infinite; }
.hero__glow--2 { width: 560px; height: 560px; left: -220px; right: auto; top: auto; bottom: -240px; --glow: rgba(127, 163, 211, .35); animation: blob 20s ease-in-out infinite reverse; }
.hero .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__text { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 8px; background: var(--white); border: 1px solid #E0E4F3; border-radius: 999px; box-shadow: 0 6px 18px rgba(42, 46, 112, .06); font-size: 14px; font-weight: 500; color: var(--navy); }
.hero__eyebrow img { width: 30px; height: 30px; }
.hero__title { margin: 0; font-size: clamp(56px, 4.3vw, 86px); line-height: 1.02; font-weight: 700; letter-spacing: -1.5px; color: var(--navy); text-wrap: balance; }
.hero__word { display: inline-block; color: var(--accent, var(--integral-dark)); transition: color .8s; }
.hero__word.is-anim { animation: riseIn .7s var(--ease) both; }
.hero__lead { margin: 0; max-width: 580px; font-size: clamp(17px, 1.15vw, 21px); line-height: 1.6; color: var(--text-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; overflow: hidden; min-height: 42px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #DCE0F0; background: var(--white); color: var(--navy); font-size: 13.5px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .5s, color .5s, border-color .5s; }
.pill[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.pill__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .85); }
.pill[aria-pressed="true"] .pill__bar.is-running { animation: progress var(--secs, 4.5s) linear forwards; }

.hero__media { position: relative; width: 100%; max-width: min(660px, calc(100svh - 230px)); aspect-ratio: 1 / 1; margin: 0 auto; }
.hero__imgs { position: absolute; inset: 0; animation: float 7s ease-in-out infinite; }
.hero__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.9); transform-origin: 50% 80%; transition: opacity 1.1s ease, transform 1.4s var(--ease); }
.hero__imgs img.is-active { opacity: 1; transform: scale(1); }
.chip-float { position: absolute; }
.chip-float--price { left: -9%; bottom: 7%; animation: float2 6s ease-in-out infinite; }
.chip-float--benefit { right: -9%; bottom: -3%; animation: float 6.5s .8s ease-in-out infinite; }
.chip-float__scale { transform-origin: left bottom; }
.chip-float--benefit .chip-float__scale { transform-origin: right bottom; }
.chip-price { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; background: var(--white); border-radius: 20px; box-shadow: 0 18px 40px rgba(42, 46, 112, .16); }
.chip-price img { width: 46px; height: 46px; }
.chip-price__name { font-size: 12.5px; font-weight: 500; color: var(--text-soft); white-space: nowrap; }
.chip-price__amount { font-size: 24px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.chip-price__amount small { font-size: 12.5px; }
.chip-benefit { width: 230px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--white); border-radius: 20px; box-shadow: 0 18px 40px rgba(42, 46, 112, .16); }
.chip-benefit__value { font-size: 21px; font-weight: 700; line-height: 1.15; color: var(--accent); }
.chip-benefit__label { font-size: 12.5px; line-height: 1.35; color: var(--text-muted); }
.chip-price.is-anim, .chip-benefit.is-anim { animation: riseIn .7s var(--ease) both; }
.chip-benefit.is-anim { animation-delay: .15s; }

/* ==========================================================================
   2 · QUIÉNES SOMOS / CIFRAS
   ========================================================================== */
.about { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, #3E5596 100%); color: var(--white); }
.about__inner { gap: 40px; }
.about__head { display: flex; flex-wrap: wrap; gap: 24px 72px; align-items: flex-end; }
.about__title { flex: 1 1 560px; min-width: 0; gap: 14px; }
.about__title .h2 { color: var(--white); font-size: clamp(36px, 3vw, 58px); }
.about__lead { flex: 1 1 380px; min-width: 0; margin: 0; font-size: 17px; line-height: 1.7; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 26px; }
.stat__num { font-size: clamp(44px, 3.2vw, 62px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__num small { font-size: .34em; }
.stat__text { font-size: 16px; line-height: 1.45; }
.stat__bar { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.stat__bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--bar, var(--mujer)); }
.stat__src { margin-top: auto; font-size: 12px; opacity: .75; }
.band { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; padding: 28px 44px; background: var(--white); color: var(--navy); border-radius: 28px; }
.band__title { flex: 1 1 200px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.band__grid { flex: 3 1 560px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.band__item { display: flex; flex-direction: column; }
.band__num { font-size: 46px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.band__label { font-size: 14.5px; color: var(--text-muted); }
.about .fine { max-width: 980px; opacity: .75; }

/* ==========================================================================
   3 · PLANES (carrusel)
   ========================================================================== */
.plans { background: var(--bg); overflow: hidden; }
.plans .wrap { padding-block: 28px; }
.plans__inner { gap: 24px; }
.plans__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.plans__title { flex: 1 1 520px; min-width: 0; gap: 10px; }
.plans__title .eyebrow { color: var(--adulto); }
.plans__controls { display: flex; align-items: center; gap: 16px; }
.plans__quiz-link { display: inline-flex; align-items: center; gap: 8px; margin-right: 12px; font-size: 15px; font-weight: 500; }
.plans__quiz-link svg { width: 18px; height: 18px; }
.carousel { display: flex; justify-content: center; }
.carousel__viewport {
  --cw: clamp(340px, min(calc((min(100vw, 1600px) - 208px) / 3), calc((100svh - var(--header-h) - 290px) * .565)), 430px);
  width: calc(var(--cw) * 3 + 64px); max-width: 100%; overflow: hidden; margin: -24px 0; padding: 24px 0;
}
.carousel__track { display: flex; gap: 32px; align-items: flex-start; transition: transform .7s var(--ease); }
.plan-card { position: relative; flex: 0 0 var(--cw); width: var(--cw); aspect-ratio: 508 / 899; transition: transform .35s var(--ease), filter .35s; }
.plan-card:hover { transform: translateY(-8px); filter: drop-shadow(0 22px 30px rgba(42, 46, 112, .22)); }
.plan-card img { width: 100%; height: 100%; }
/* Zonas clicables sobre los botones dibujados en la card (posición relativa a 508×899) */
.plan-card__cta { position: absolute; left: 9.4%; top: 88.4%; width: 38.6%; height: 6.9%; border-radius: 999px; }
.plan-card__more { position: absolute; left: 52.4%; top: 89.4%; width: 39.4%; height: 5%; border-radius: 8px; }
.dots { display: flex; gap: 8px; align-items: center; justify-content: center; }
.dot { height: 10px; width: 10px; padding: 0; border: 0; border-radius: 99px; background: #C9CEE6; cursor: pointer; transition: width .4s, background .4s; }
.dot[aria-pressed="true"] { width: 36px; background: var(--dot, var(--navy)); }

/* ==========================================================================
   4 · ENCUENTRA TU PLAN (cuestionario)
   ========================================================================== */
.quiz { background: var(--white); }
.quiz__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.quiz__intro { display: flex; flex-direction: column; gap: 20px; padding: 44px; border-radius: 32px; color: var(--white); background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 70%, var(--sky) 130%); }
.quiz__intro .h2 { color: var(--white); font-size: clamp(32px, 2.6vw, 46px); }
.quiz__intro p { margin: 0; font-size: 16.5px; line-height: 1.6; }
.quiz__hearts { display: flex; gap: 10px; }
.quiz__hearts img { width: 38px; height: 38px; animation: beat 2.6s ease-in-out infinite; }
.quiz__hearts img:nth-child(2) { animation-delay: .25s; } .quiz__hearts img:nth-child(3) { animation-delay: .5s; }
.quiz__hearts img:nth-child(4) { animation-delay: .75s; } .quiz__hearts img:nth-child(5) { animation-delay: 1s; }
.steps { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.steps li.is-current { font-weight: 700; }
.steps__n { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); font-size: 13px; font-weight: 700; color: var(--white); }
.steps li.is-done .steps__n, .steps li.is-current .steps__n { background: var(--white); color: var(--navy); }
.quiz__panel { display: flex; flex-direction: column; gap: 22px; padding: 44px; background: #F6F7FC; border: 1px solid #E4E7F3; border-radius: 32px; }
.quiz__body { display: flex; flex-direction: column; gap: 22px; animation: riseIn .5s var(--ease) both; }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 500; color: var(--text-soft); }
.quiz__back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 6px; border: 0; background: transparent; color: var(--navy); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.quiz__back svg { width: 16px; height: 16px; }
.progress { height: 8px; border-radius: 99px; background: #E3E6F3; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--adulto), #4F72B8); transition: width .5s var(--ease); }
.quiz__q { margin: 0; font-size: clamp(26px, 2vw, 34px); line-height: 1.15; font-weight: 700; color: var(--navy); }
.quiz__hint { margin: 6px 0 0; font-size: 14.5px; color: var(--text-soft); }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.option { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px; text-align: left; background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.option:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: 0 12px 24px rgba(42, 46, 112, .1); }
.option[aria-pressed="true"] { border-color: var(--navy); }
.option__icon { flex-shrink: 0; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; background: color-mix(in srgb, var(--c) 10%, white); color: var(--c); }
.option[aria-pressed="true"] .option__icon { background: var(--navy); color: var(--white); }
.option__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.option__label { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.option__sub { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--text-soft); }
.result { display: flex; flex-direction: column; gap: 20px; animation: riseIn .6s var(--ease) both; }
.result__head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.result__img { flex: 0 1 230px; width: 230px; min-width: 180px; animation: pop .8s var(--ease) both; }
.result__info { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.result__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); }
.result__name { margin: 0; font-size: clamp(30px, 2.6vw, 46px); line-height: 1; color: var(--accent); }
.result__name b { font-weight: 700; } .result__name span { font-weight: 400; }
.result__price { font-size: 28px; font-weight: 700; color: var(--navy); }
.result__price small { font-size: 15px; }
.result__reason { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.result__box { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 16px 20px; background: var(--white); border: 1px solid #E4E7F3; border-radius: 20px; }
.result__list { flex: 1 1 260px; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.4; }
.result__list b { font-size: 12.5px; color: var(--navy); }
.result__list span { display: flex; gap: 8px; }
.result__list svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result__highlight { flex: 1 1 200px; display: flex; gap: 12px; align-items: flex-start; }
.result__highlight img { width: 34px; height: 34px; margin-top: 4px; }
.result__hv { display: block; font-size: 25px; font-weight: 700; line-height: 1.1; color: var(--navy); }
.result__hl { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.result__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.result__ctas .btn { font-size: 16px; min-height: 52px; padding: 16px 28px; }
.result__foot { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.result__alt { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 6px; text-align: left; background: var(--white); border: 1px solid #E0E3F1; border-radius: 999px; color: var(--navy); font-size: 13px; cursor: pointer; }
.result__alt img { width: 30px; height: 30px; flex-shrink: 0; }
.result__restart { min-height: 44px; border: 0; background: transparent; color: var(--text-soft); font-size: 13.5px; font-weight: 500; text-decoration: underline; cursor: pointer; }
.quiz .fine { margin-top: auto; font-size: 11.5px; color: var(--text-soft); }

/* ==========================================================================
   5 · TESTIMONIOS (el degradado continúa detrás del footer)
   ========================================================================== */
.testimonials-footer { background: linear-gradient(180deg, var(--bg) 0%, #EDE6F4 55%, #E8E0F1 100%); }
.testimonials { overflow: hidden; }
.testimonials__inner { gap: 36px; }
.testimonials__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.testimonials__head .eyebrow { color: var(--adulto); }
.testimonials__arrows { display: flex; gap: 12px; }
.t-viewport { overflow: hidden; }
.t-track { display: flex; transition: transform .7s var(--ease); }
.t-slide { flex: 0 0 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: center; padding: 0 4px; opacity: .15; transition: opacity .6s ease; }
.t-slide.is-active { opacity: 1; }
.t-video { position: relative; height: clamp(420px, calc(100svh - var(--header-h) - 330px), 620px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 30px; background: linear-gradient(180deg, var(--c) 0%, var(--c-dark) 100%); box-shadow: 0 30px 60px rgba(42, 46, 112, .25); }
.t-video > img, .t-video > video { position: absolute; left: -20%; bottom: 0; width: 140%; height: auto; }
.t-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 60, .3) 0%, rgba(20, 22, 60, 0) 22%, rgba(20, 22, 60, 0) 60%, rgba(20, 22, 60, .7) 100%); pointer-events: none; }
.t-video__top { position: absolute; z-index: 2; left: 14px; right: 14px; top: 14px; display: flex; flex-direction: column; gap: 10px; }
.t-video__bar { display: block; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.t-video__bar span { display: block; height: 100%; width: 0; background: var(--white); }
.t-slide.is-active .t-video__bar span.is-running { animation: progress 9s linear forwards; }
.t-video__tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--white); color: var(--navy); font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.t-video__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 10px rgba(255, 255, 255, .25); cursor: pointer; }
.t-video__play svg { width: 28px; height: 28px; fill: var(--navy); }
.t-video__meta { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; color: var(--white); font-size: 13px; font-weight: 500; }
.t-copy { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.t-copy > img { width: 60px; height: 60px; }
.t-quote { margin: 0; font-size: clamp(24px, 2vw, 36px); line-height: 1.35; font-weight: 500; color: var(--navy); text-wrap: pretty; }
.t-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.t-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.t-product { padding: 6px 14px; border-radius: 999px; background: var(--c-dark); color: var(--white); font-size: 13px; font-weight: 700; }
.t-desc { margin: 0; max-width: 600px; font-size: 16px; line-height: 1.65; color: var(--text-muted); }
.testimonials .fine { text-align: center; font-size: 11.5px; color: var(--text-soft); }

/* ==========================================================================
   FOOTER (como el PDF)
   ========================================================================== */
.footer { background: var(--bg-footer); border-radius: 0 clamp(60px, 9vw, 140px) 0 0; color: var(--navy); }
.footer__inner { max-width: 1600px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) clamp(20px, 4vw, 72px) 36px; display: flex; flex-direction: column; gap: 28px; }
.footer__logo { height: 64px; width: auto; align-self: flex-start; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer__col h3 { align-self: flex-start; margin: 0 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); font-size: 13.5px; font-weight: 700; }
.footer__col a { color: var(--blue); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; }
.footer__divider { height: 1px; margin: 10px 0 6px; background: var(--navy); }
.social { display: flex; gap: 12px; }
.social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: var(--white); }
.social svg { width: 16px; height: 16px; }
.footer__legal { display: flex; flex-direction: column; gap: 10px; font-size: 11px; line-height: 1.6; color: var(--blue); }
.footer__legal p { margin: 0; }

/* ==========================================================================
   BOTONES FLOTANTES
   ========================================================================== */
.fabs { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 6px 6px 18px; background: var(--white); color: var(--navy); border: 1.5px solid #C9D3EE; border-radius: 999px; box-shadow: 0 10px 26px rgba(42, 46, 112, .18); text-decoration: none; font-size: 13px; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.fab:hover { transform: translateY(-2px); color: var(--navy); }
.fab__icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); }
.fab__icon--wa { background: var(--whatsapp); }
.fab__icon--wa svg { width: 58%; height: 58%; }
.fab__icon--auto { background: var(--navy); }
.fab__icon--auto svg { width: 66%; height: 66%; }

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(10px) rotate(-3deg); } }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(40px, -30px) scale(1.12); } 66% { transform: translate(-30px, 20px) scale(.92); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(.96); } 45% { transform: scale(1.08); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   MÓVIL (≤ 900 px)
   ========================================================================== */
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .only-desktop { display: none !important; }
  .only-mobile { display: flex !important; }
  .section { min-height: calc(100svh - var(--header-h)); }
  .wrap { padding: 24px 18px 28px; }
  .h2 { font-size: 26px; line-height: 1.12; }
  .fine { font-size: 9.5px; }
  .btn { padding: 13px 18px; font-size: 14.5px; min-height: 46px; }

  .header__desk { display: none; }
  .header__mob { display: flex; }

  .hero__grid { grid-template-columns: 1fr; gap: 14px; }
  .hero__media { order: -1; max-width: min(300px, 38svh); }
  .hero__text { gap: 14px; }
  .hero__title { font-size: clamp(30px, 8.6vw, 38px); letter-spacing: -.5px; }
  .hero__lead { font-size: 14.5px; line-height: 1.5; }
  .chip-float__scale { transform: scale(.7); }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; }

  .about__inner { gap: 18px; }
  .about__head { gap: 12px; }
  .about__title .h2 { font-size: 26px; }
  .about__lead { font-size: 13px; line-height: 1.5; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; gap: 6px; border-radius: 18px; }
  .stat__num { font-size: 28px; }
  .about .fine { font-size: 9px; }
  .stat__text { font-size: 12px; line-height: 1.35; }
  .stat__src { font-size: 9.5px; }
  .stat__bar { display: none; }
  .band { padding: 14px 16px; gap: 8px; border-radius: 18px; }
  .band__title { font-size: 16px; }
  .band__grid { gap: 8px; }
  .band__num { font-size: 26px; }
  .band__label { font-size: 11px; line-height: 1.3; }

  .plans__inner { gap: 18px; }
  .carousel__viewport {
    --cw: min(76vw, calc((100svh - var(--header-h) - 190px) * .565));
    width: calc(100% + 36px); max-width: none; flex: 0 0 auto;
    margin: -12px -18px; padding: 12px 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .carousel__viewport::-webkit-scrollbar { display: none; }
  .carousel__track { gap: 14px; transform: none !important; }
  .carousel__track::after { content: ""; flex: 0 0 4px; }
  .plan-card { scroll-snap-align: start; }
  .plan-card:hover { transform: none; filter: none; }

  .quiz__grid { grid-template-columns: 1fr; gap: 12px; }
  .quiz__intro { padding: 18px 20px; gap: 8px; border-radius: 22px; }
  .quiz__panel { padding: 18px; gap: 14px; border-radius: 22px; }
  .quiz__body { gap: 14px; }
  .quiz__q { font-size: 21px; }
  .options { grid-template-columns: 1fr; gap: 8px; }
  .option { min-height: 60px; padding: 10px 12px; border-radius: 16px; }
  .option__icon { width: 40px; height: 40px; border-radius: 12px; }
  .result__img { width: 140px; min-width: 0; flex: 0 0 140px; }
  .result__ctas .btn { padding: 13px 18px; font-size: 14.5px; min-height: 46px; }

  .testimonials__inner { gap: 18px; }
  .t-viewport { overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .t-viewport::-webkit-scrollbar { display: none; }
  .t-track { transform: none !important; }
  .t-slide { grid-template-columns: 1fr; gap: 14px; justify-items: center; padding: 0 18px; scroll-snap-align: start; opacity: 1; }
  .t-video { height: min(46svh, 400px); }
  .t-quote { font-size: 17px; text-align: center; }
  .t-meta { justify-content: center; }

  .fab { padding: 0; border: 0; background: transparent; box-shadow: none; min-height: 0; }
  .fab__icon { width: 54px; height: 54px; box-shadow: 0 10px 24px rgba(42, 46, 112, .28); }
  .fabs { gap: 12px; }
}

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