/* 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. */

: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%; }
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; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* ---------- 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-short { display: none; }
.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.6vw, 5.1rem); }
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; }
.btn:hover { transform: translateY(-2px); }
.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); }
.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); }
.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); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-wa { background: var(--wa); color: #06341a; }
.btn-wa .ico { background: #fff; color: #128c4a; }
.btn-wa:hover { background: #1fc65b; }
.btn-plain { padding: .9rem 1.6rem; }
.btn-note { display: block; margin-top: .75rem; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.dark .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; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 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 1.4rem;
  display: inline-flex; align-items: center;
  border-radius: var(--r-pill);
  background: #fff; color: var(--text);
  font-family: var(--font-display);
  font-size: 1.55rem; 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;
}
.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: grid; place-content: center; text-align: center;
  gap: .5rem; padding: 2rem;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.nav-menu.open { opacity: 1; visibility: visible; }
.nav-menu a { 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; }

/* ---------- 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) + 3rem);
}
.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, 12vw, 9rem);
}
.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: 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: flex-start; }
.hero-cta .btn-primary { box-shadow: 0 18px 40px -12px var(--accent-glow); }
.hero-media { position: relative; align-self: end; justify-self: end; max-width: 100%; }
/* El retrato mide exactamente lo que queda entre la nav y el pie del marco, así el hero cabe en 100vh. */
.hero-media img {
  height: calc(100vh - 12px - var(--nav-h) - 3rem);
  margin-bottom: calc(-1 * clamp(6rem, 12vw, 9rem)); /* sangra hasta el pie del marco, detrás de las tarjetas */
  max-height: 1000px; width: auto; max-width: 100%; object-fit: contain; object-position: bottom right;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 28%, #000 78%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 22%, #000 100%);
  mask-composite: intersect;
}
.hero-tag {
  position: absolute; left: -2.5rem; bottom: 30%;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 1rem .55rem .65rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .82rem; font-weight: 500; color: #fff; white-space: nowrap;
}
.hero-tag .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 0 5px rgba(196, 181, 253, .18); }

/* Tarjetas al pie del hero */
.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; grid-template-columns: 1.1fr .9fr; gap: 1.25rem;
}
.card-facts {
  background: var(--surface); color: var(--text);
  border-radius: var(--r-lg); padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-md);
  display: grid; gap: 1rem;
}
.facts-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.fact .num { color: var(--text); }
.fact small { display: block; font-size: .82rem; color: var(--muted); margin-top: .2rem; letter-spacing: .02em; }
.card-facts p { color: var(--sub); font-size: .95rem; }
.card-offer {
  background: rgba(30, 30, 34, .86); color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--r-lg); padding: 1.6rem 1.8rem;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  display: grid; gap: 1rem; align-content: start;
}
.card-offer b { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.3; }
.card-offer ul { display: grid; gap: .55rem; }
.card-offer li { display: flex; align-items: center; gap: .7rem; color: var(--on-dark-sub); font-size: .98rem; }
.card-offer li svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; overflow: hidden; }
.marquee-track { display: flex; gap: .9rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: inline-flex; align-items: center; gap: .7rem;
  height: 54px; padding: 0 1.4rem 0 1.1rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 500; font-size: .98rem; white-space: nowrap;
}
.marquee-track li svg { width: 18px; height: 18px; color: var(--accent); }
.marquee-track li.is-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.marquee-track li.is-accent svg { color: #fff; }
.marquee-track li.is-dark { background: var(--text); color: #fff; border-color: var(--text); }
.marquee-track li.is-dark svg { color: var(--accent-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 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-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 { 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; gap: 1.25rem;
}
.wizard-progress { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--muted); }
.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; gap: .75rem; }
.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(--border);
  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(--muted); }
.wizard textarea:hover { border-color: #cfc9c0; }
.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(--muted); text-align: right; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.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; }
.wizard-actions .btn[disabled] { background: var(--bg-2); color: var(--muted); box-shadow: none; cursor: not-allowed; transform: none; }
.wizard-actions .btn[disabled] .ico { background: #fff; color: var(--muted); transform: none; }
.wizard-done { display: none; gap: 1.1rem; }
.wizard-done.active { display: grid; }
.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-foot { font-size: .85rem; color: var(--muted); }
.wizard-foot a { color: var(--accent); font-weight: 600; }
.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; }

/* ---------- 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, 1fr); gap: .8rem; }
.flow li {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 1.25rem 1.1rem; display: grid; 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; }
.flow p { color: var(--sub); font-size: .88rem; line-height: 1.45; }
.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-arrow:hover { background: var(--accent); transform: scale(1.05); }
.tf-arrow[disabled] { opacity: .3; cursor: default; transform: none; }
.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; display: grid; gap: .6rem; }
.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; 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); }
.tf-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0 .25rem; font-size: .92rem; color: var(--sub); }
.tf-meta b { color: var(--text); font-size: 1rem; }
.tf-meta .weeks { color: var(--accent); 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); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare .handle::after {
  content: '⇔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--dark);
  display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.compare input { position: absolute; inset: 0; 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; }
.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; }

/* ---------- 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); min-height: 520px; position: relative; }
#cal-inline { width: 100%; min-height: 520px; 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: 1.2rem; }
.footer nav a:hover { color: var(--on-dark); }

/* ---------- 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; justify-content: space-between; height: 52px; padding-block: 0; }
.sticky-cta .wa-round { width: 52px; height: 52px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; flex: none; }
.sticky-cta .wa-round svg { width: 24px; height: 24px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.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, 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-inner { position: static; grid-template-columns: 1fr; gap: 0; padding-bottom: 6rem; }
  .hero-copy { position: relative; z-index: 2; padding-bottom: 0; }
  .hero-copy .lead { max-width: none; margin-bottom: 1.6rem; }
  .hero-media {
    position: absolute; z-index: 0; top: calc(var(--nav-h) + .25rem); right: -8%;
    width: min(66vw, 340px); max-width: none; margin: 0;
  }
  .hero-copy .eyebrow { font-size: .85rem; margin-bottom: .8rem; }
  .hero-copy .eyebrow-long { display: none; }
  .hero-copy .eyebrow-short { display: inline; }
  .hero-copy .lead .lead-more { display: none; }
  .hero-media img {
    height: auto; width: 100%; max-height: 60svh; margin-bottom: 0; object-position: top right;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 45%, #000 90%, transparent 100%), linear-gradient(to right, transparent 0%, #000 16%, #000 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to top, transparent 0%, #000 45%, #000 90%, transparent 100%), linear-gradient(to right, transparent 0%, #000 16%, #000 100%);
    mask-composite: intersect;
  }
  .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, transparent 0%, rgba(14, 14, 16, .78) 22%, rgba(14, 14, 16, .35) 45%, transparent 65%); pointer-events: none; }
  .hero-tag { display: none; }
  .hero-cards { grid-template-columns: 1fr; margin-top: -4.5rem; }
  .grid-2, .diag-grid, .faq-grid, .close-grid, .timeline { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .timeline ol { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: auto 1fr; column-gap: 1rem; align-items: baseline; }
  .timeline li p { grid-column: 1 / -1; }
  .mantra { grid-template-columns: 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 { display: none; }
  .footer { padding-bottom: calc(2.5rem + 84px + env(safe-area-inset-bottom, 0px)); }
  .sticky-cta { display: flex; }
  .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: 700px) {
  .hero-media { width: min(58vw, 300px); right: -10%; top: calc(var(--nav-h) - .5rem); }
  .hero-media img { max-height: 46svh; }
  .hero-inner { padding-bottom: 5.5rem; }
  .hero-copy h1 { font-size: 2.4rem; }
  .hero-copy .lead { font-size: .95rem; margin-bottom: 1.2rem; }
}
@media (max-width: 600px) {
  .q-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .btn { font-size: .92rem; padding-left: 1.3rem; }
  .btn .ico { width: 38px; height: 38px; }
  .hero-cta .btn, .cta-row .btn { width: 100%; justify-content: space-between; }
  .hero-cta > div { width: 100%; }
  .facts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .fact .num { font-size: 2rem; }
  .fact small { font-size: .72rem; line-height: 1.3; }
  .hero-tag .tag-long { display: none; }
  .faq details p { padding-right: 0; }
  .wizard-actions .btn { width: auto; }
}
/* 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 img { height: calc(100vh - 12px - var(--nav-h) - 1.25rem); margin-bottom: -6rem; }
  .hero-cards { margin-top: -3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
