/* SEVENG — landing de valoración
   Marca: violeta #8b5cf6 (hover #7c3aed, claro #c4b5fd), fondo #faf9f7, texto #1a1a1a.
   Oscuro: #0e0e10 / #f0ede8. Tipografías: Sora (titulares y cuerpo), Bebas Neue
   (etiquetas, numerales, cifras). Estética: limpia, moderna, pills y esquinas amplias. */

/* Fuentes propias (OFL), subconjunto latin: cubre acentos, ñ, ¿ ¡ « » y comillas. Sora es variable: un archivo sirve 400 a 700. */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/sora-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/bebas-neue-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #faf9f7;
  --bg-2: #f0ede8;
  --surface: #ffffff;
  --text: #1a1a1a;
  --sub: #5f5b56;
  --muted: #8a857e;
  --border: #e4e0d9;
  --accent: #8b5cf6;
  --accent-dark: #7c3aed;
  --accent-light: #c4b5fd;
  --accent-soft: rgba(139, 92, 246, .12);
  --accent-glow: rgba(139, 92, 246, .35);
  --dark: #0e0e10;
  --dark-2: #161618;
  --dark-3: #1e1e22;
  --on-dark: #f0ede8;
  --on-dark-sub: rgba(240, 237, 232, .68);
  --wa: #25d366;
  --font-body: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bebas Neue', 'Sora', sans-serif;
  --r-pill: 999px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 1px 2px rgba(20, 16, 10, .05), 0 6px 20px rgba(20, 16, 10, .06);
  --shadow-md: 0 10px 40px rgba(20, 16, 10, .10);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 1rem); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
ul { list-style: none; }
strong { font-weight: 600; }
em { font-style: normal; color: var(--accent); }
.dark em { color: var(--accent-light); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* Enlace "Saltar al contenido": invisible hasta que recibe el foco con teclado. */
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: .8rem 1.2rem; border-radius: var(--r-pill); background: #fff; color: var(--text); font-weight: 600; font-size: .95rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
[hidden] { display: none !important; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .16em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; flex: none; align-self: flex-start; margin-top: .6em; }
.dark .eyebrow { color: var(--accent-light); }
.dark .eyebrow::before { background: var(--accent-light); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 5.2vw, 4.7rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.15rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--sub); line-height: 1.65; }
.dark .lead { color: var(--on-dark-sub); }
.prose p + p { margin-top: 1.1rem; }
.prose { color: var(--sub); font-size: 1.05rem; }
.prose strong { color: var(--text); }
.dark .prose { color: var(--on-dark-sub); }
.dark .prose strong { color: var(--on-dark); }
.num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--text);
}

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin-top: 1.1rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.dark { background: var(--dark); color: var(--on-dark); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .45rem .45rem .45rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
  border: 1px solid transparent;
}
.btn .ico {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-grid; place-items: center;
  flex: none;
  transition: transform .25s ease;
}
.btn .ico svg { width: 18px; height: 18px; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
@media (hover: hover) { .btn:hover .ico { transform: rotate(-12deg); } }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px var(--accent-glow); }
.btn-primary .ico { background: #fff; color: var(--dark); }
@media (hover: hover) { .btn-primary:hover { background: var(--accent-dark); box-shadow: 0 16px 36px -10px var(--accent-glow); } }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark .ico { background: #fff; color: var(--dark); }
@media (hover: hover) { .btn-dark:hover { background: #000; } }
.btn-light { background: #fff; color: var(--text); border-color: var(--border); }
.btn-light .ico { background: var(--text); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .10); color: #fff; border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost .ico { background: #fff; color: var(--dark); }
@media (hover: hover) { .btn-ghost:hover { background: rgba(255, 255, 255, .16); } }
.btn-wa { background: var(--wa); color: #06341a; }
.btn-wa .ico { background: #fff; color: #128c4a; }
@media (hover: hover) { .btn-wa:hover { background: #1fc65b; } }
.btn-plain { padding: .9rem 1.6rem; }
.btn-note { display: block; margin-top: .75rem; font-size: .8rem; color: var(--sub); letter-spacing: .04em; }
.btn-note .note-b { display: none; }
/* Enlaces de texto (WhatsApp, diagnóstico): subrayados, y con área táctil de 44 px que no mueve el texto
   (el padding se compensa con el margen negativo). */
.btn-note a, .wizard-foot a, .faq-more a, .hero-alt a, .cal-slow a {
  display: inline-block; padding: .8rem .35rem; margin: -.8rem -.35rem;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.btn-note a, .wizard-foot a, .faq-more a, .cal-slow a { color: var(--text); }
.dark .btn-note a, .hero .btn-note a { color: var(--on-dark); }
.dark .btn-note, .hero .btn-note { color: var(--on-dark-sub); }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem 1rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s ease; }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }

.cta-block { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; }
.cta-block .cta-row { justify-content: center; }
.cta-block .btn-note { margin-top: 0; }
.cta-block.left { align-items: flex-start; text-align: left; }
.cta-block.left .cta-row { justify-content: flex-start; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px clamp(14px, 2.4vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.pill {
  display: inline-flex; align-items: center; gap: .25rem;
  height: 52px; padding: 0 .5rem;
  border-radius: var(--r-pill);
  background: rgba(20, 20, 24, .72);
  color: #fff;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}
.nav-logo {
  height: 52px; padding: 0 min(1.4rem, 7vw); /* min(): con letra grande del sistema el logo no empuja el nav fuera de la pantalla; con letra normal no cambia */
  display: inline-flex; align-items: center;
  border-radius: var(--r-pill);
  background: #fff; color: var(--text);
  font-family: var(--font-display);
  font-size: min(1.55rem, 7.75vw); letter-spacing: .14em;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}
.nav-logo span { color: var(--accent); }
.nav-links { padding: 0 .35rem; }
.nav-links a {
  padding: 0 1.1rem; height: 40px; display: inline-flex; align-items: center;
  border-radius: var(--r-pill); font-size: .92rem; font-weight: 500;
  color: rgba(255, 255, 255, .86);
  transition: background .2s ease, color .2s ease;
}
@media (hover: hover) { .nav-links a:hover { background: rgba(255, 255, 255, .12); color: #fff; } }
.nav-links li + li::before { content: '·'; color: rgba(255, 255, 255, .35); margin: 0 .1rem; }
.nav-links li { display: inline-flex; align-items: center; }
.nav-right { display: flex; align-items: center; gap: .6rem; }
.nav .btn { height: 52px; padding-block: 0; }
.nav-burger {
  display: none; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--text);
  place-items: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(14, 14, 16, .96);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .5rem; padding: calc(var(--nav-h) + .5rem) 2rem 2rem;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.nav-menu.open { opacity: 1; visibility: visible; }
/* El contenido se centra con márgenes automáticos: si no cabe (horizontal), arranca arriba y el panel hace scroll. */
.nav-menu > :first-child { margin-top: auto; }
.nav-menu > :last-child { margin-bottom: auto; }
.nav-menu a:not(.btn) { font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; padding: .35rem 1rem; display: block; }
.nav-menu .cta-row { justify-content: center; margin-top: 1.5rem; width: 100%; max-width: 22rem; }
.nav-menu .btn { white-space: normal; text-align: left; line-height: 1.2; max-width: 100%; }
@media (max-height: 500px) {
  .nav-menu { gap: .1rem; padding-bottom: 1rem; }
  .nav-menu a:not(.btn) { font-size: 1.35rem; padding: .25rem 1rem; }
  .nav-menu .cta-row { margin-top: .8rem; }
}

/* ---------- Hero ---------- */
.hero-wrap { padding: 12px 12px 0; }
.hero {
  position: relative;
  border-radius: var(--r-xl);
  background: radial-gradient(90% 80% at 15% 20%, #1c1b22 0%, var(--dark) 45%, #050506 100%);
  color: var(--on-dark);
  overflow: hidden;
  min-height: calc(100vh - 12px); /* el marco llena la pantalla en desktop (12px del borde superior) */
  display: grid;
  align-items: end;
  padding-top: calc(var(--nav-h) + 2rem);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 18% 30%, rgba(139, 92, 246, .22), transparent 70%),
    linear-gradient(to top, rgba(9, 9, 11, .8) 0%, transparent 35%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 2rem; align-items: end;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-bottom: clamp(6rem, 11vw, 8rem);
}
.hero-copy { padding-bottom: 1rem; }
.hero-copy .eyebrow { color: var(--accent-light); }
.hero-copy .eyebrow::before { background: var(--accent-light); }
.hero-copy h1 { margin-bottom: 1.4rem; }
.hero-copy .lead { max-width: 560px; margin-bottom: 1.8rem; }
.hero .lead { color: var(--on-dark-sub); }
.hero .lead strong { color: var(--on-dark); }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.hero-alt { font-size: .9rem; color: var(--on-dark-sub); line-height: 1.6; }
.hero-alt span { display: block; }
/* Cada enlace tiene área táctil de ~46 px (ver .hero-alt a): las líneas van separadas lo justo para que no se solapen. */
.hero-alt span + span { margin-top: 1.6rem; }
.hero-alt a { color: var(--accent-light); text-decoration-color: rgba(196, 181, 253, .4); }
@media (hover: hover) { .hero-alt a:hover { text-decoration-color: var(--accent-light); } }
/* Con ratón no hace falta el área de 44 px: sin ella las dos líneas quedan juntas y el hero de escritorio sigue cabiendo en la pantalla. */
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .hero-alt span + span { margin-top: .25rem; }
  .hero-alt a { padding-block: 0; margin-block: 0; }
}
.hero-cta .btn-primary { box-shadow: 0 18px 40px -12px var(--accent-glow); }
.hero-cta .btn-note { margin-top: 0; }
.hero-media { position: relative; align-self: center; justify-self: end; width: min(100%, 470px); }
.hero-result {
  position: relative;
  animation: fadeUp .8s 0s both, float 7s 1.2s ease-in-out infinite; /* sin retraso: la foto es el LCP */
}
.hero-photo {
  position: relative; border-radius: 28px; overflow: hidden; background: var(--dark-3);
  aspect-ratio: 1; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255, 255, 255, .85); transform: translateX(-1px); pointer-events: none; }
/* El pie va debajo de la foto, en una línea: encima taparía la marca SEVENG que viene incrustada en la imagen. */
.hero-result figcaption {
  display: flex; align-items: center; gap: .3rem .9rem; margin-top: .8rem; padding-inline: .5rem;
  font-size: .85rem; white-space: nowrap; overflow: hidden;
}
.hero-result figcaption::before { content: ''; width: 8px; height: 8px; margin-right: .3rem; border-radius: 50%; flex: none; background: var(--accent-light); box-shadow: 0 0 0 4px rgba(196, 181, 253, .18); }
.hero-result figcaption b { flex: none; color: #fff; }
@media (max-width: 1399px) { .hero-result figcaption b { display: none; } } /* la foto es más angosta: queda "Dailyn Prada · Recomposición en 30 semanas" completo */
.hero-result figcaption span { color: var(--on-dark-sub); overflow: hidden; text-overflow: ellipsis; }
.hero-trainer {
  margin-top: 1.3rem; display: inline-flex; align-items: center; gap: .75rem;
  padding: .4rem 1rem .4rem .4rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: var(--on-dark-sub); font-size: .82rem; line-height: 1.3; max-width: 100%;
  transition: background .2s ease;
}
@media (hover: hover) { .hero-trainer:hover { background: rgba(255, 255, 255, .11); } }
.hero-trainer img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.hero-trainer b { color: var(--on-dark); }
.hero-trainer .ext { display: none; width: 14px; height: 14px; flex: none; opacity: .7; }
.hero-trainer .ext-sr { display: none; }
.hero-trainer[target="_blank"] .ext { display: block; }
.hero-trainer[target="_blank"] .ext-sr { display: inline; }

/* Tarjeta al pie del hero: hechos + qué sales sabiendo */
.hero-cards {
  position: relative; z-index: 2;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin: clamp(-5.5rem, -9vw, -4rem) auto 0;
  display: grid; gap: 1.25rem;
}
.card-proof {
  background: var(--surface); color: var(--text);
  border-radius: var(--r-lg); padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; align-items: center;
}
.facts-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.fact .num { color: var(--text); }
.fact small { display: block; font-size: .82rem; color: var(--sub); margin-top: .2rem; letter-spacing: .02em; }
.offer { display: grid; gap: .7rem; padding-left: 2.5rem; border-left: 1px solid var(--border); }
.offer b { font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.35; }
.offer ul { display: grid; gap: .45rem; }
.offer li { display: flex; align-items: center; gap: .65rem; color: var(--sub); font-size: .95rem; }
.offer li svg { width: 20px; height: 20px; flex: none; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; }

/* Testimonios en texto (bajo el hero) */
.testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 1.2rem 1.3rem;
  display: grid; gap: .8rem; align-content: start;
}
.testi-card q { quotes: '“' '”'; font-size: 1rem; line-height: 1.5; color: var(--text); }
.testi-card q::before, .testi-card q::after { color: var(--accent); font-weight: 700; }
.testi-who { display: flex; align-items: center; gap: .7rem; font-size: .85rem; color: var(--sub); }
.testi-who img, .testi-who .ini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-who .ini { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .04em; }
.testi-who b { color: var(--text); display: block; }
.testi-card .shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.testi-card .shot img { width: 100%; height: auto; }
.testi-mini { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; margin-bottom: .5rem; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); font-size: .92rem; color: var(--sub); line-height: 1.45; }
.testi-mini img, .testi-mini .ini { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-mini .ini { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-family: var(--font-display); }
.testi-mini b { color: var(--text); }

/* ---------- Intro / video ---------- */
.media-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--dark); aspect-ratio: 4 / 5; box-shadow: var(--shadow-md);
}
.media-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.media-card .media-caption { z-index: 2; }
.media-card.is-video { aspect-ratio: 16 / 10; }
.media-card iframe, .media-card video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.media-card .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1));
}
.media-card .play span {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--dark); box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
  transition: transform .25s ease;
}
@media (hover: hover) { .media-card .play:hover span { transform: scale(1.08); } }
.media-card .play svg { width: 30px; height: 30px; margin-left: 4px; }
.media-caption {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  padding: 1rem 1.2rem; border-radius: 18px;
  background: rgba(20, 20, 24, .62); color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .9rem; line-height: 1.45;
}
.media-caption strong { display: block; font-size: 1rem; margin-bottom: .15rem; }
.media-caption small { color: rgba(255, 255, 255, .7); }

/* ---------- ¿Te suena? ---------- */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin: 0 0 2rem; }
.q-grid li {
  padding: 1.15rem 1.25rem; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.4;
  display: flex; align-items: flex-start; gap: .8rem;
}
.q-grid li::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; margin-top: .5em;
}
.mantra {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--r-lg); background: var(--text); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 1.5rem 3rem;
}
.mantra p { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.mantra p span:not(.w) { color: var(--accent-light); }
.mantra small { display: block; margin-top: .9rem; color: rgba(255, 255, 255, .62); font-size: .95rem; line-height: 1.55; }
.mantra .mantra-steps { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, .85); padding-left: 1.4rem; border-left: 2px solid rgba(255, 255, 255, .18); }

/* ---------- Diagnóstico ---------- */
.diag { border-radius: var(--r-xl); background: var(--dark); color: var(--on-dark); padding: clamp(2rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.diag::before {
  content: ''; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .28), transparent); pointer-events: none;
}
.diag-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); position: relative; }
.diag-side .lead { margin-top: 1.1rem; }
.diag-side .steps-mini { margin-top: 2rem; display: grid; gap: .8rem; }
.steps-mini li { display: flex; gap: .9rem; align-items: baseline; color: var(--on-dark-sub); font-size: .95rem; }
.steps-mini .num { font-size: 1.5rem; color: var(--accent-light); min-width: 2ch; }
.wizard {
  background: var(--surface); color: var(--text); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
}
.wizard-progress { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--sub); }
.wizard-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.wizard-bar i { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: 6px; transition: width .35s ease; }
.wizard-step { display: none; grid-template-columns: minmax(0, 1fr); gap: .75rem; min-width: 0; } /* el <fieldset> no se encoge solo con texto grande */
.wizard-step.active { display: grid; }
.wizard-step h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); text-wrap: pretty; }
.wizard-step p { color: var(--sub); font-size: .95rem; }
.wizard textarea {
  width: 100%; min-height: 128px; resize: none; display: block;
  padding: 1rem 1.1rem; border-radius: 18px; border: 1.5px solid var(--muted);
  font: inherit; font-size: 1rem; line-height: 1.5; color: var(--text); background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-appearance: none; appearance: none;
}
.wizard textarea::placeholder { color: var(--sub); }
@media (hover: hover) { .wizard textarea:hover { border-color: var(--sub); } }
.wizard textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.wizard-count { font-size: .78rem; color: var(--sub); text-align: right; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
/* "Atrás" ocupa su lugar aunque esté oculto (visibility, no display): "Siguiente" no se mueve entre la pregunta 1 y la 2. */
.wizard-actions .btn-back[hidden] { display: inline-flex !important; visibility: hidden; }
#wizard-next { margin-left: auto; }
.wizard-actions .btn-back { color: var(--sub); font-weight: 500; display: inline-flex; align-items: center; gap: .4rem; padding: .6rem .4rem; }
.wizard-actions .btn-back svg { width: 16px; height: 16px; }
/* En pantallas angostas "Atrás" y "Siguiente" no caben en una fila: se apilan con "Siguiente" arriba, siempre en el mismo sitio. */
@media (max-width: 400px) {
  .wizard-actions { flex-direction: column-reverse; align-items: stretch; gap: .4rem; }
  .wizard-actions #wizard-next { width: 100%; justify-content: space-between; }
  .wizard-actions .btn-back { justify-content: center; }
}
.wizard-actions .btn[disabled], .wizard-actions .btn[aria-disabled="true"] { background: var(--bg-2); color: var(--muted); box-shadow: none; cursor: not-allowed; transform: none; }
.wizard-actions .btn[disabled] .ico, .wizard-actions .btn[aria-disabled="true"] .ico { background: #fff; color: var(--muted); transform: none; }
.wizard-done { display: none; gap: 1.1rem; }
.wizard-done.active { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; } /* con texto grande el resumen no sobresale de su tarjeta */
.wizard-done h3 { overflow-wrap: anywhere; }
.wizard-done .summary { display: grid; gap: .6rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); font-size: .92rem; color: var(--sub); max-height: 240px; overflow: auto; }
.wizard-done .summary b { color: var(--text); display: block; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .1rem; }
.wizard-hint { font-size: .85rem; color: var(--sub); }
.wizard-foot { font-size: .85rem; color: var(--sub); }
.wizard-edit { justify-self: start; color: var(--sub); font-weight: 500; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem 0; }
.wizard-edit svg { width: 16px; height: 16px; }

/* El enlace "Hazte el diagnóstico" apunta al formulario: en móvil queda justo bajo la barra; en escritorio deja ver el borde de la tarjeta oscura. */
#wizard { scroll-margin-top: clamp(2rem, 5vw, 4.5rem); }

/* ---------- Sebastián ---------- */
.pull { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.story .media-card { aspect-ratio: 4 / 5; }

/* ---------- Cómo trabajamos ---------- */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; }
.flow li {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 1.25rem 1.1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; align-content: start;
}
.flow .num { color: var(--accent); font-size: 1.9rem; }
.flow b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
.flow p { color: var(--sub); font-size: .88rem; line-height: 1.45; overflow-wrap: anywhere; }
.timeline {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1fr 3fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r-lg); background: var(--text); color: #fff;
}
.timeline h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.02em; }
.timeline > div > p { color: rgba(255, 255, 255, .65); margin-top: .6rem; font-size: .95rem; }
.timeline ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.timeline li { padding: 1.2rem 1.3rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .10); display: grid; gap: .4rem; align-content: start; }
.timeline li .num { color: var(--accent-light); font-size: 2.4rem; }
.timeline li b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.timeline li p { font-size: .95rem; color: rgba(255, 255, 255, .85); }
.ruta-cta { margin-top: 2.5rem; display: flex; justify-content: center; }

/* ---------- Transformaciones (carrusel) ---------- */
.tf-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.tf-head > div { max-width: 720px; }
.tf-nav { display: flex; gap: .5rem; flex: none; }
.tf-arrow { width: 52px; height: 52px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; transition: transform .2s ease, background .2s ease, opacity .2s ease; }
.tf-nav { align-items: center; }
.tf-pause { min-height: 44px; padding: 0 1.1rem; margin-right: .4rem; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--surface); font-size: .85rem; font-weight: 600; }
@media (hover: hover) { .tf-arrow:hover { background: var(--accent); transform: scale(1.05); } }
/* aria-disabled en vez de disabled: el botón sigue en el orden de tabulación y no se pierde el foco en los extremos. */
.tf-arrow[disabled], .tf-arrow[aria-disabled="true"] { opacity: .3; cursor: default; transform: none; background: var(--text); }
.tf-arrow[aria-disabled="true"]:focus-visible { opacity: .6; }
.tf-arrow svg { width: 20px; height: 20px; }
.tf-track {
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-inline: max((100% - var(--container)) / 2, var(--gutter));
  scroll-padding-inline: max((100% - var(--container)) / 2, var(--gutter));
  padding-bottom: .5rem;
  scrollbar-width: none;
}
.tf-track::-webkit-scrollbar { display: none; }
.tf-card { flex: 0 0 min(78vw, 372px); scroll-snap-align: start; }
.tf-media { position: relative; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--dark); box-shadow: var(--shadow-sm); }
.tf-media img { width: 100%; height: 100%; object-fit: cover; }
.tf-media .seam { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255, 255, 255, .85); transform: translateX(-1px); pointer-events: none; }
.tf-tag { position: absolute; top: .9rem; z-index: 2; padding: .4rem .75rem; border-radius: var(--r-pill); background: rgba(20, 20, 24, .74); color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; pointer-events: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tf-tag.l { left: .9rem; } .tf-tag.r { right: .9rem; background: var(--accent); }
/* Insignia central sobre la costura: solo decorativa (la foto ya viene montada), marca de estilo "antes/después". */
.tf-seam-badge {
  position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--dark);
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); pointer-events: none;
}
.tf-seam-badge svg { width: 19px; height: 19px; }
/* Información integrada en la propia foto: nombre arriba del bloque, detalle abajo, sobre un degradado. */
.tf-caption {
  position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1rem .9rem .6rem;
  background: linear-gradient(to top, rgba(10, 9, 12, .9) 0%, rgba(10, 9, 12, .72) 60%, transparent 100%);
  color: #fff; pointer-events: none;
}
.tf-caption b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-caption b { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
/* La nota baja a dos líneas en vez de cortarse con "…": la ciudad y el objetivo son parte de la prueba. */
.tf-caption .nota { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: .1rem; font-size: .8rem; color: rgba(255, 255, 255, .8); line-height: 1.3; }
.tf-caption .nota .weeks { color: var(--accent-light); font-weight: 600; }
.tf-foot { margin-top: 1.5rem; }
/* Par antes/después con comparador deslizable (cuando hay dos fotos separadas) */
.compare { position: relative; aspect-ratio: 4 / 5; overflow: hidden; --pos: 50%; background: var(--dark); user-select: none; border-radius: 24px; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare .handle .tf-seam-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.compare input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Testimonios video ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.video-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 14; background: var(--dark); text-align: left; display: block; width: 100%; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
@media (hover: hover) { .video-card:hover img { transform: scale(1.04); } }
.video-card .play-sm { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--dark); display: grid; place-items: center; box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.video-card .play-sm svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent); }
.video-card .meta b { display: block; font-size: 1rem; }
.video-card .meta span { font-size: .82rem; color: rgba(255, 255, 255, .75); }
dialog.video-modal { border: 0; padding: 0; background: transparent; max-width: min(92vw, 960px); width: 100%; }
dialog.video-modal::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(6px); }
.video-modal .frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 22px; overflow: hidden; }
.video-modal .frame.vertical { aspect-ratio: 9 / 16; max-height: 86vh; margin-inline: auto; width: auto; }
.video-modal iframe, .video-modal video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal .close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--dark); display: grid; place-items: center; }
.video-modal .close svg { width: 20px; height: 20px; }
.video-modal .inner { position: relative; padding-top: 56px; }

/* ---------- Puerta abierta ---------- */
.door { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 2rem 0 1.4rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; transition: transform .3s ease, background .3s ease, color .3s ease; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq details p { padding: 0 3.5rem 1.4rem 0; color: var(--sub); font-size: 1rem; }
.faq-more { margin-top: 1.4rem; color: var(--sub); font-size: .95rem; }

/* ---------- Cierre / agenda ---------- */
.close-section { position: relative; overflow: hidden; }
.close-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 40% at 80% 20%, rgba(139, 92, 246, .22), transparent 70%); pointer-events: none; }
.close-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; position: relative; }
.close-copy h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.how-start { margin-top: 2rem; display: grid; gap: 1rem; }
.how-start li { display: flex; gap: 1rem; align-items: flex-start; color: var(--on-dark-sub); font-size: 1.02rem; line-height: 1.5; }
.how-start li b { color: var(--on-dark); }
.how-start .num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--accent-light); font-size: 1.5rem; }
.close-copy .thanks { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--on-dark-sub); font-size: .98rem; max-width: 46ch; }
.close-copy .thanks b { color: var(--on-dark); }
.cal-box { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: .75rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); position: relative; }
.cal-loader {
  position: absolute; inset: .75rem; z-index: 2; min-height: 360px;
  background: var(--surface); border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  color: var(--sub); font-size: .9rem;
}
.cal-loader .spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--accent);
  animation: cal-spin .8s linear infinite;
}
@keyframes cal-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cal-loader .spin { animation-duration: 1.6s; } }
/* Aviso si el calendario tarda (main.js lo muestra a los 5 s): por encima del loader, que cubre toda la caja. */
.cal-slow { position: relative; z-index: 3; margin-top: .5rem; padding: .35rem .75rem .6rem; background: var(--surface); text-align: center; font-size: .9rem; color: var(--sub); }
#cal-inline { width: 100%; min-height: 360px; overflow: auto; border-radius: 20px; }
.cal-fallback { padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 1.2rem; align-content: center; min-height: 500px; text-align: center; }
.cal-fallback .num { color: var(--accent); font-size: 3.2rem; }
.cal-fallback h3 { font-size: 1.5rem; }
.cal-fallback p { color: var(--sub); max-width: 40ch; margin-inline: auto; }
.cal-fallback .cta-row { justify-content: center; }
.cal-fallback .hours { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.cal-fallback .hours li { padding: .5rem .9rem; border-radius: var(--r-pill); background: var(--bg-2); font-size: .85rem; color: var(--sub); }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-sub); padding: 2.5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem 2rem; font-size: .9rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .14em; color: var(--on-dark); }
.footer-brand span { color: var(--accent-light); }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
@media (hover: hover) { .footer nav a:hover { color: var(--on-dark); } }
.footer .container > div:last-child a { display: inline-block; padding: .8rem .35rem; margin: -.8rem -.35rem; color: var(--on-dark-sub); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
@media (hover: hover) { .footer .container > div:last-child a:hover { color: var(--on-dark); text-decoration-color: currentColor; } }

/* ---------- Barra fija móvil ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 80;
  display: none; gap: .6rem;
  padding: .5rem; border-radius: var(--r-pill);
  background: rgba(20, 20, 24, .86); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
  transform: translateY(120%); transition: transform .35s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; min-width: 0; justify-content: space-between; height: 52px; padding-block: 0; white-space: normal; text-align: left; line-height: 1.15; }
@media (max-width: 420px) { .sticky-cta .sc-opt { display: none; } } /* etiqueta corta: "Agenda gratis · 20 min" */

/* ---------- Movimiento ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 18px 40px -12px var(--accent-glow), 0 0 0 0 rgba(139, 92, 246, .55); }
  60% { box-shadow: 0 18px 40px -12px var(--accent-glow), 0 0 0 14px rgba(139, 92, 246, 0); }
}
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6%, -8%) scale(1.15); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: fadeUp .8s both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .42s; }
.hero-copy > :nth-child(5) { animation-delay: .55s; }
.hero::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  left: -18%; bottom: -30%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .32), transparent 70%);
  animation: drift 14s ease-in-out infinite;
}
.btn-pulse { position: relative; isolation: isolate; }
/* Anillo que se expande: anima solo transform y opacity (antes animaba box-shadow, que repinta en cada cuadro). */
.btn-pulse::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--accent); opacity: 0; animation: pulseRing 2.8s 1.2s ease-out infinite;
}
@keyframes pulseRing { 0% { opacity: .5; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.08, 1.5); } }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.wizard-step.active { animation: stepIn .35s ease both; }
.js .mantra-steps .w { display: inline-block; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .mantra.visible .mantra-steps .w { opacity: 1; transform: none; }
.tf-track { scroll-behavior: smooth; }
.cal-box.is-hot { animation: glowPulse 1.6s ease-out 2; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-right .btn { display: none; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .q-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .hero-wrap { padding: 8px 8px 0; }
  .hero {
    border-radius: 30px; min-height: calc(100svh - 8px);
    padding-top: calc(var(--nav-h) + 1rem);
    background: radial-gradient(80% 50% at 20% 100%, #1c1b22 0%, var(--dark) 55%, #050506 100%);
  }
  .hero::after { background: radial-gradient(70% 40% at 15% 85%, rgba(139, 92, 246, .22), transparent 70%); }
  .hero { padding-top: calc(var(--nav-h) + 1.25rem); display: grid; align-items: end; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 5.5rem; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; font-size: .85rem; margin-bottom: .8rem; animation-delay: .05s; }
  .hero-copy .eyebrow-tail { display: none; } /* en móvil el eyebrow queda en "Asesoría online para mujeres" */
  .hero-copy h1 { order: 2; margin-bottom: 1.1rem; animation-delay: .15s; }
  .hero-media { order: 3; width: 100%; justify-self: stretch; margin-bottom: 1rem; animation: fadeUp .8s .05s both; }
  .hero-result { animation: none; }
  .hero-photo { border-radius: 22px; } /* la foto completa: se ve el cambio */
  .hero-result figcaption { margin-top: .6rem; font-size: .74rem; }
  .hero-cta { order: 4; animation-delay: .42s; }
  .hero-copy .lead { order: 5; max-width: none; margin: .9rem 0 0; font-size: .98rem; animation-delay: .55s; }
  .hero-copy .lead .lead-more { display: none; }
  .hero-trainer { order: 6; margin-top: 1rem; font-size: .76rem; padding-right: .8rem; animation-delay: .65s; }
  .hero-trainer img { width: 30px; height: 30px; }
  .hero-cards { margin-top: -4.5rem; }
  .card-proof { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .offer { padding-left: 0; border-left: 0; padding-top: 1.2rem; border-top: 1px solid var(--border); }
  .testi-row { grid-template-columns: minmax(0, 1fr); }
  .grid-2, .diag-grid, .faq-grid, .close-grid, .timeline { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; }
  #wizard { scroll-margin-top: 1.75rem; } /* compensa los 28 px de desplazamiento del .reveal del contenedor cuando aún no apareció */
  .timeline ol { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: baseline; }
  .timeline li p { grid-column: 1 / -1; }
  .mantra { grid-template-columns: minmax(0, 1fr); }
  .mantra .mantra-steps { padding-left: 0; border-left: 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); }
  .story .media-card { max-width: 480px; }
  .diag { border-radius: 30px; }
  .tf-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .tf-nav .tf-arrow { display: none; } /* en móvil se desliza con el dedo; el botón de pausa se queda */
  .footer { padding-bottom: calc(2.5rem + 84px + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta { display: flex; }
  html { scroll-padding-bottom: 96px; } /* la barra fija no tapa el elemento enfocado */
  .section { padding-block: clamp(3.5rem, 10vw, 5rem); }
}
/* Pantallas bajas (iPhone SE y similares): el hero sigue cabiendo en una pantalla. */
@media (max-width: 860px) and (max-height: 760px) {
  .hero { padding-top: calc(var(--nav-h) + .6rem); }
  .hero-inner { padding-bottom: 5rem; }
  .hero-copy .eyebrow { margin-bottom: .5rem; }
  .hero-copy h1 { font-size: 2.2rem; margin-bottom: .6rem; }
  .hero-media { margin-bottom: .75rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: center 0; } /* el recorte 4:3 baja desde los pies: las cabezas de "antes" y "después" se ven completas */
  .hero-result figcaption { display: none; }
  .hero-cta { gap: .5rem; }
  .hero-alt { font-size: .85rem; line-height: 1.5; }
  /* La nota bajo el botón dice quién atiende; el pill con el nombre queda justo debajo del párrafo, no a 6.000 px. */
  .hero-cta .btn-note .note-a { display: none; }
  .hero-cta .btn-note .note-b { display: inline; font-size: .7rem; letter-spacing: .01em; }
  .hero-copy .lead { font-size: .92rem; }
}
@media (max-width: 600px) {
  .q-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .btn { font-size: .92rem; padding-left: 1.3rem; white-space: normal; text-align: left; line-height: 1.2; }
  .btn .ico { width: 38px; height: 38px; }
  .hero-cta .btn, .cta-row .btn { width: 100%; justify-content: space-between; }
  .hero-cta { align-items: stretch; }
  .hero-alt { text-align: center; }
  .facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
  .fact .num { font-size: 2rem; }
  .fact small { font-size: .72rem; line-height: 1.3; overflow-wrap: anywhere; }
  .faq details p { padding-right: 0; }
  .wizard-actions .btn { width: auto; }
}
/* Tableta vertical: la foto no ocupa todo el ancho, así el botón queda sobre el pliegue. */
@media (min-width: 601px) and (max-width: 860px) {
  .hero-media { width: min(100%, 520px); justify-self: center; }
}
@media (min-width: 481px) and (max-width: 720px) {
  .hero-media { width: min(100%, 440px); justify-self: center; } /* plegables abiertos y tabletas chicas: con 520 el botón quedaba bajo el pliegue a 900 px de alto */
}
/* Celular horizontal: titular y botón a la izquierda, foto a la derecha; todo sobre el pliegue. */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { padding-top: calc(var(--nav-h) + .25rem); }
  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem; align-items: center; padding-bottom: 5rem; }
  .hero-copy { display: block; }
  .hero-copy .eyebrow { margin-bottom: .5rem; }
  .hero-copy h1 { font-size: 2rem; margin-bottom: .5rem; }
  .hero-copy .lead, .hero-trainer, .hero-result figcaption { display: none; }
  .hero-cta { gap: .4rem; }
  .hero-media { width: min(100%, calc(100vh - 130px)); justify-self: end; margin: 0; }
  .hero-photo { aspect-ratio: 1; }
  .sticky-cta { display: none; } /* nav (80 px) + barra (70 px) son 150 de 375 px: la barra tapaba el pie de foto del carrusel; el botón del hero y el menú siguen */
}
/* Pantallas de escritorio bajas (portátiles 768-820px de alto): el hero sigue cabiendo en 100vh. */
@media (min-width: 861px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--nav-h) + 1.25rem); }
  .hero-inner { padding-bottom: 6rem; }
  .hero-copy h1 { font-size: clamp(2.6rem, 4.6vw, 3.9rem); margin-bottom: 1rem; }
  .hero-copy .lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-copy .eyebrow { margin-bottom: .6rem; }
  .hero-media { width: min(100%, 380px); }
  .hero-trainer { display: none; }
  .hero-cards { margin-top: -3.5rem; }
}
/* Pantallas de 320-360 px: "Cómo trabajamos" en una columna; el texto de las tarjetas no cabe en dos. */
@media (max-width: 360px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html, .tf-track { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity .5s ease; }
  .reveal, .reveal[data-delay] { transition-delay: 0s !important; } /* sin escalonado (main.js lo pone en línea) */
  .hero-copy > *, .hero-media, .hero-result { animation: fadeIn .5s both; }
  .wizard-step.active { animation: fadeIn .35s both; }
  .hero::before, .btn-pulse::after, .cal-box.is-hot { animation: none; }
  .btn, .tf-card, .q-grid li, .flow li { transition: none; }
  .js .mantra-steps .w { opacity: 1; transform: none; transition: none; }
}
