/* ==========================================================
   KLYP — Funnel (mismo sistema de diseño que la landing)
   ========================================================== */

:root {
  --bg: #0E0F11;
  --bg-2: #15161A;
  --ink: #EDEBE6;
  --ink-2: #A8A8A8;
  --ink-glass: #C4C4C4;
  --ink-3: #5E626A;
  --red: #F23A3F;
  --red-rgb: 242, 58, 63;
  --red-btn: #D92D33;
  --glow: 0 0 12px rgba(var(--red-rgb), .6);
  --line: rgba(255, 255, 255, .10);
  --glass-brd: rgba(255, 255, 255, .13);
  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; color: var(--ink);
  background: var(--bg);
  font-family: var(--f-sans); font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.muted { color: var(--ink-2); }
.kw { color: var(--red); font-style: normal; text-shadow: 0 0 20px rgba(var(--red-rgb), .35); }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.fine { font-size: 13px; color: var(--ink-2); }
.lnk { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}

/* ---------- Luz de balizaje ---------- */
.beacon {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); box-shadow: var(--glow); animation: beacon 3.2s ease-in-out infinite;
}
.beacon--sm { width: 7px; height: 7px; margin-left: 4px; vertical-align: middle; }
@keyframes beacon {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(var(--red-rgb), .6); }
  50% { opacity: .8; box-shadow: 0 0 5px rgba(var(--red-rgb), .3); }
}
.pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: var(--glow); }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--red); animation: ping 2.4s ease-out infinite;
}
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Vidrio ---------- */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.06) 60%);
  border: 1px solid var(--glass-brd); border-radius: 20px;
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 24px 60px -30px rgba(0,0,0,.8);
}
.glass-note {
  background: linear-gradient(160deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 14px 34px -14px rgba(0,0,0,.75);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.glass-note--chip { border-color: var(--red); }
.glass-note--chip b { color: var(--ink); }
.chk { font-style: normal; color: var(--red); font-weight: 600; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border: 0; border-radius: 999px;
  background: var(--red-btn); color: #fff; font-weight: 500; font-size: 15px;
  transition: transform .4s var(--ease), background .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 24px 2px rgba(var(--red-rgb), .45); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--glass-brd); }
.btn--ghost:hover { background: rgba(255,255,255,.06); box-shadow: none; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 17px; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter); transition: background .3s;
}
.nav { gap: 24px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__links + .btn { margin-left: 8px; }
.nav__menu { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) {
  .nav { gap: 12px; }
  .nav .btn--sm { margin-left: auto; }
  .nav__menu {
    display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; flex: none;
    border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink);
  }
  .nav__menu span:not(.sr) { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .nav__menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); margin: 0;
    display: grid; gap: 0; padding: 8px 20px; font-size: 18px; color: var(--ink);
    background: rgba(21,22,26,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open { background: rgba(14,15,17,.85); }
}
.nav.is-solid { background: rgba(14,15,17,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__brand { display: inline-flex; align-items: center; }
.nav__brand img { display: block; height: 28px; width: auto; }
.footer__brand img { display: block; height: 22px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: 110px var(--gutter) 70px; overflow: hidden;
  background: radial-gradient(80% 60% at 70% 40%, rgba(var(--red-rgb), .10), transparent 70%);
}
.hero__sphere, .hero__lines {
  --sd: min(94vw, 1176px);
  position: absolute; z-index: 0; right: calc(33vw - var(--sd) / 2); top: 50%; width: var(--sd); aspect-ratio: 1;
  transform: translateY(-50%); pointer-events: none;
}
.hero__sphere > img {
  width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; animation: float 9s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 37%, transparent 50%);
          mask-image: radial-gradient(circle at 50% 50%, #000 37%, transparent 50%);
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
/* Estructura de obra en líneas finas + luces que la recorren (igual que la landing) */
.hero__struct {
  position: absolute; left: 50%; top: 50%; width: 130%; height: 130%;
  transform: translate(-50%, -50%);
  fill: none; stroke: #fff; stroke-width: 1; opacity: .055;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.hero__struct path, .hero__struct circle { vector-effect: non-scaling-stroke; }
.struct__grid { opacity: .5; }
.hero__lights { position: absolute; left: 50%; top: 50%; width: 130%; height: 130%; transform: translate(-50%, -50%); }
.hero__light {
  position: absolute; left: 0; top: 0; width: 2.5px; height: 2.5px; margin: -1.25px 0 0 -1.25px; border-radius: 50%;
  background: #F2F0EC; box-shadow: 0 0 6px 1px rgba(242,240,236,.45); opacity: 0; will-change: transform, opacity;
}

.hero__content { position: relative; z-index: 2; width: min(1160px, 100%); margin-inline: auto; max-width: 1160px; }
.hero__content > * { max-width: 640px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 10px 18px 10px 14px;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  font-size: clamp(15px, 1.2vw, 17px); font-weight: 500; letter-spacing: -.005em; color: var(--ink);
  background: rgba(255,255,255,.07); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero__title { font-weight: 500; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.025em; }
.hero__title .muted { display: block; margin-top: .12em; }
.hero__sub { margin-top: 24px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-glass); max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Pieza 1 · Llamada al nicho: grande y arriba del todo */
.hero__nicho {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--f-mono); font-size: clamp(15px, 1.6vw, 20px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); padding: 12px 22px 12px 18px; border-radius: 999px;
  border: 1px solid rgba(var(--red-rgb), .5); background: rgba(var(--red-rgb), .1);
}
.dia__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dia__cta .fine { flex-basis: 100%; margin-top: 2px; }
/* Datos clave en una caja de vidrio + aviso de cupos al lado (como la landing) */
.hero__content > .hero__facts { max-width: none; }
.hero__facts {
  display: inline-flex; flex-wrap: wrap; vertical-align: middle; margin: 34px 16px 0 0; width: fit-content;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__facts li { display: grid; gap: 3px; padding: 14px 24px; border-left: 1px solid var(--line); }
.hero__facts li:first-child { border-left: 0; }
.hero__facts b { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.hero__facts span { font-size: 14px; color: var(--ink-2); }
.hero__urgency {
  display: inline-flex; align-items: center; gap: 12px; vertical-align: middle; margin-top: 34px; padding: 12px 18px;
  border: 1px solid rgba(var(--red-rgb), .45); border-radius: 999px; background: rgba(var(--red-rgb), .1);
  font-size: 15px; font-weight: 500; color: var(--ink);
}

.note { position: absolute; z-index: 3; animation: floaty 7s ease-in-out infinite; }
.note__in {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  font-size: 13px; white-space: nowrap;
}
.note__in b { font-weight: 400; color: var(--ink-2); font-size: 12px; }
.note__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: var(--glow); }
.note--1 { left: 64%; top: 25%; }
.note--2 { left: 66%; top: 58%; animation-delay: -3s; }
.note--3 { left: 57%; top: 80%; animation-delay: -6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Video de presentación ---------- */
.vsl { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.vsl__head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.vsl__head .eyebrow { justify-content: center; }
.vsl__player {
  position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; padding: 0;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08), 0 0 60px -20px rgba(var(--red-rgb), .35);
}
.vsl__player video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.vsl__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px;
  border: 0; background: linear-gradient(180deg, rgba(14,15,17,.15), rgba(14,15,17,.55)); color: var(--ink);
  transition: background .3s;
}
.vsl__play:hover { background: linear-gradient(180deg, rgba(14,15,17,.05), rgba(14,15,17,.45)); }
.vsl__btn {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--red-btn); box-shadow: 0 0 0 10px rgba(var(--red-rgb), .18), 0 0 40px rgba(var(--red-rgb), .55);
  transition: transform .4s var(--ease);
}
.vsl__play:hover .vsl__btn { transform: scale(1.06); }
.vsl__btn svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.vsl__meta { display: grid; text-align: left; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.vsl__meta b { font-weight: 500; font-size: 20px; }
.vsl__meta span { font-size: 12px; color: var(--ink-glass); }
.vsl.is-playing .vsl__play { display: none; }
/* Video y calendario forman un solo bloque: sin corte entre ellos */
.vsl + .agenda { padding-top: clamp(24px, 3vw, 40px); }
.vsl + .agenda::before, .vsl + .agenda::after { display: none; }

/* ---------- Demo: celular ---------- */
.dia {
  position: relative; overflow: hidden;
  padding: clamp(64px, 8vw, 100px) 0 clamp(40px, 5vw, 64px); background: transparent;
}

.dia__bg { position: absolute; inset: -3%; z-index: 0; pointer-events: none; }
.dia__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: blur(9px) brightness(.5) saturate(1.1); transform: translateZ(0); }
.dia__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 65% at 50% 50%, rgba(14,15,17,.05), rgba(14,15,17,.7)),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 4%, rgba(14,15,17,.55) 12%, rgba(14,15,17,0) 24%, rgba(14,15,17,0) 80%, var(--bg) 96%, var(--bg) 100%);
}
.dia__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 7vw, 110px); align-items: center; }
.h2 { font-weight: 500; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.dia__side .h2 { max-width: 560px; }
.clock { margin-top: 34px; font-size: clamp(48px, 7vw, 88px); line-height: 1; font-weight: 400; letter-spacing: -.02em; }
.dia__phase { margin-top: 14px; min-height: 3em; max-width: 440px; color: var(--ink-glass); font-size: 17px; }
.daybar { margin: 22px 0 24px; max-width: 440px; }
.daybar__track { position: relative; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; }
.daybar__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: var(--red); box-shadow: var(--glow); transition: width .9s var(--ease); }
.daybar__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 10px; color: var(--ink-2); }

.phone { perspective: 1600px; justify-self: center; }
.phone__body { position: relative; width: 300px; aspect-ratio: 9 / 19.5; border-radius: 46px; --bezel: 8px; }
.phone__frame {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(145deg, #a9adb3 0%, #3a3d42 17%, #d9dce0 33%, #4a4d52 52%, #babdc2 70%, #2c2e32 86%, #8e9197 100%);
  box-shadow: 0 60px 100px -40px rgba(0,0,0,.9), 0 24px 48px -24px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.28);
}
.phone__frame::after { content: ""; position: absolute; inset: 3px; border-radius: 43px; background: #050506; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.phone__frame::before { content: ""; position: absolute; right: -2px; top: 24%; width: 3px; height: 9%; border-radius: 0 3px 3px 0; background: linear-gradient(#d4d7db, #55585d); }
.phone__island { position: absolute; z-index: 3; top: 18px; left: 50%; width: 28%; height: 22px; transform: translateX(-50%); border-radius: 99px; background: #000; }
.phone__screen {
  position: absolute; inset: var(--bezel); z-index: 1; border-radius: 38px; overflow: hidden;
  display: flex; flex-direction: column;
  background: #0b0c0e url("assets/chat-bg.webp") center / cover;
  font-size: 12.5px;
}
.phone__screen::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 32%); }

.wa__head {
  position: relative; z-index: 2; display: flex; align-items: center; gap: .7em; flex: none;
  padding: 3.6em .9em .8em; background: rgba(14,15,17,.92); border-bottom: 1px solid rgba(255,255,255,.08);
}
.wa__back { font-size: 1.9em; line-height: 1; color: var(--ink-2); margin-top: -.15em; }
.wa__avatar {
  display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%;
  background: linear-gradient(160deg, #5b5f66, #2b2c2f); font-weight: 500;
}
.wa__who b { display: block; font-weight: 500; font-size: 1.04em; }
.wa__who small { font-size: .8em; color: var(--ink-2); transition: color .25s; }
.wa__who small.is-typing { color: #f3c98b; }
.wa__body { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 1em .85em; }
.wa__stream { position: absolute; inset: auto .85em 1em; display: flex; flex-direction: column; gap: .55em; }

.bubble {
  position: relative; max-width: 84%; padding: .6em .8em .45em; border-radius: 1.1em; line-height: 1.38; color: var(--ink);
  background: rgba(32,34,38,.82); border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 8px 24px -14px rgba(0,0,0,.7);
  transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.bubble--me { align-self: flex-start; border-bottom-left-radius: .35em; }
.bubble--klyp { align-self: flex-end; border-bottom-right-radius: .35em; background: rgba(92,24,29,.94); border-color: rgba(var(--red-rgb), .5); }
.bubble--agent { align-self: flex-end; border-bottom-right-radius: .35em; background: rgba(34,48,70,.94); border-color: rgba(143,177,245,.45); }
.from { display: block; margin-bottom: .3em; font-size: .72em; font-weight: 600; letter-spacing: .02em; color: #B9BCC2; }
.bubble--klyp .from { color: #FFB8BA; }
.bubble--agent .from { color: #B7CBF5; }
.dia__legend { display: grid; gap: 8px; margin: 0 0 30px; font-size: 14px; color: var(--ink); }
.dia__legend li { display: flex; align-items: center; gap: 10px; }
.lg { flex: none; width: 12px; height: 12px; border-radius: 4px; border: 1px solid; }
.lg--me { background: rgba(62,65,72,.9); border-color: rgba(255,255,255,.25); }
.lg--klyp { background: rgba(150,34,40,.9); border-color: var(--red); }
.lg--agent { background: rgba(58,82,118,.9); border-color: rgba(143,177,245,.6); }
.dia__cta .fine { margin-top: 10px; }
.meta { display: block; margin-top: .3em; text-align: right; font: 400 .7em/1 var(--f-mono); color: var(--ink-2); }
.ticks { font-style: normal; margin-left: .4em; letter-spacing: -.18em; color: #8fc7ff; }
.bubble--tag { align-self: flex-end; max-width: none; white-space: nowrap; padding: .5em .95em; border-radius: 99px; font-size: .9em; border-color: var(--red); }
.bubble--sys {
  align-self: center; max-width: none; display: inline-flex; align-items: center; gap: .55em;
  padding: .42em .95em; border-radius: 99px; font-size: .9em; background: rgba(14,15,17,.7); border-color: rgba(255,255,255,.2);
}
.sys__dot { flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--red); box-shadow: var(--glow); }
.bubble--typing { display: inline-flex; gap: .32em; padding: .85em .95em; align-self: flex-end; }
.bubble--typing.bubble--klyp, .bubble--typing.bubble--agent { background: rgba(32,34,38,.82); border-color: rgba(255,255,255,.14); }
.bubble--typing span { width: .45em; height: .45em; border-radius: 50%; background: var(--ink-2); animation: typing 1s infinite; }
.bubble--typing span:nth-child(2) { animation-delay: .15s; }
.bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-.25em); } }
.bubble.is-enter { opacity: 0; transform: translateY(1em) scale(.97); }
.bubble.is-leaving { opacity: 0; transform: translateY(-1.4em) scale(.97); }

/* ---------- Secciones ---------- */
.sec { position: relative; padding: clamp(72px, 8.5vw, 116px) 0; }

/* Cortes entre bloques: línea fina que se desvanece a los lados + punto rojo de balizaje */
main { counter-reset: bloque; }
.sec { counter-increment: bloque; }
.sec::before, .vsl::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1160px, 100% - 2 * var(--gutter)); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24) 22%, rgba(255,255,255,.24) 78%, transparent);
}
.sec::after, .vsl::after {
  content: ""; position: absolute; top: -3px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: var(--red); box-shadow: var(--glow);
}
/* Número de bloque en la etiqueta: 01, 02, 03… */
.sec .wrap > .eyebrow .beacon { display: none; }
.sec .wrap > .eyebrow::before {
  content: counter(bloque, decimal-leading-zero);
  color: var(--red); padding-right: 12px; margin-right: 2px; border-right: 1px solid rgba(255,255,255,.18);
}
.sec--alt { background: transparent; }
.lead { margin-top: 18px; max-width: 620px; font-size: 18px; color: var(--ink-glass); }

.relato { margin-top: 30px; display: grid; gap: 16px; font-size: 19px; color: var(--ink-glass); }
.relato p:first-child { color: var(--ink); }
.relato .seco { color: var(--ink); font-weight: 500; }
.fugas { display: grid; gap: 14px; margin-top: 36px; }
.fuga { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; }
.fuga .x { flex: none; color: var(--red); font-weight: 600; margin-top: 2px; text-shadow: var(--glow); }
.fuga b { display: block; font-weight: 500; font-size: 17px; }
.fuga span:not(.x) { display: block; margin-top: 4px; color: var(--ink-glass); font-size: 15px; }

.ben-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.ben { padding: 26px 24px; }
.ben__n { color: var(--red); font-size: 13px; }
.ben h3 { margin-top: 14px; font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.ben p { margin-top: 8px; color: var(--ink-glass); font-size: 15px; }

.pasos3 { display: grid; gap: 14px; margin-top: 36px; }
.p3 { display: flex; gap: 18px; align-items: flex-start; padding: 6px 0; }
.p3 .n {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--red); color: var(--red); box-shadow: var(--glow);
}
.p3 b { display: block; font-weight: 500; font-size: 19px; }
.p3 span:not(.n) { display: block; margin-top: 3px; color: var(--ink-glass); }
.remate { margin-top: 30px; padding: 22px 26px; font-size: 18px; }
.remate b { color: var(--red); font-weight: 500; }

.semana { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 38px; }
.semana li { padding: 14px 8px; border: 1px solid var(--line); border-radius: 14px; text-align: center; background: rgba(255,255,255,.03); }
.semana b { display: block; font-size: 20px; font-weight: 500; }
.semana span { display: block; margin-top: 4px; font-size: 10.5px; color: var(--ink-2); line-height: 1.25; }
.semana .is-on { border-color: var(--red); box-shadow: var(--glow); }
.semana .is-on b { color: var(--red); }
.piloto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px 36px; margin-top: 40px; }
.piloto li { display: flex; gap: 12px; color: var(--ink-glass); font-size: 16px; }
.piloto b { color: var(--ink); font-weight: 500; }

.quien { display: flex; gap: 22px; align-items: center; margin-top: 30px; padding: 24px; }
.quien img { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--glass-brd); }
.quien b { display: block; font-weight: 500; font-size: 18px; }
.quien span { display: block; margin-top: 6px; color: var(--ink-glass); }

.faq { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; background: none; border: 0; text-align: left; font-size: 18px; font-weight: 500;
}
.faq-q .mas { color: var(--red); font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
.faq-q[aria-expanded="true"] .mas { transform: rotate(45deg); }
.faq-r { padding: 0 0 22px; color: var(--ink-glass); max-width: 680px; }

/* ---------- Agenda: calificación + calendario ---------- */
.agenda { position: relative; overflow: hidden; }
.atmos { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 100%, rgba(var(--red-rgb), .12), transparent 70%); }
.agenda .wrap { position: relative; }
.flujo { margin-top: 34px; padding: clamp(20px, 4vw, 36px); }
.pasos { display: flex; gap: 8px; margin-bottom: 26px; }
.pasos i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); transition: background .4s; }
.pasos i.is-on { background: var(--red); box-shadow: var(--glow); }
.paso { display: none; }
.paso.is-on { display: block; animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.paso h3 { font-weight: 500; font-size: clamp(21px, 3vw, 28px); letter-spacing: -.01em; }
.justifica { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; font-style: italic; }
.opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; }
.op {
  padding: 18px 20px; border: 1px solid var(--glass-brd); border-radius: 14px; background: rgba(255,255,255,.04);
  text-align: left; font-size: 16px; transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.op:hover { border-color: var(--red); background: rgba(var(--red-rgb), .08); transform: translateY(-2px); }
.atras { margin-top: 22px; background: none; border: 0; color: var(--ink-2); font-size: 14px; padding: 6px 0; }
.atras:hover { color: var(--ink); }
/* ---------- Calendario propio (horarios en vivo desde Calendly) ---------- */
.cal { border: 1px solid var(--glass-brd); border-radius: 20px; background: rgba(14,15,17,.6); overflow: hidden; }
.cal__head {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 24px 28px; border-bottom: 1px solid var(--line);
}
.cal__t { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.cal__info { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.cal__info li { display: inline-flex; align-items: center; gap: 7px; }
.cal__info svg, .cal__tz svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cal__info img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--glass-brd); }
.cal__steps { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cal__steps li { padding: 5px 11px; border-radius: 99px; transition: color .3s, background .3s; }
.cal__steps li { position: relative; }
.cal__steps li + li { margin-left: 22px; }
.cal__steps li + li::before { content: "—"; position: absolute; left: -20px; color: var(--ink-3); }
.cal__steps li.is-on { color: var(--red); background: rgba(var(--red-rgb), .12); }
.cal__steps li.is-done { color: var(--ink-2); }

.cal__body { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 470px; }
.cal__month { padding: 30px clamp(20px, 4vw, 52px); border-right: 1px solid var(--line); }
.cal__mhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.cal__mhead h4 { margin: 0; font-weight: 500; font-size: 19px; }
.cal__nav { display: flex; gap: 8px; }
.cal__nav button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--glass-brd); background: rgba(255,255,255,.03);
  color: var(--ink); transition: border-color .2s, background .2s;
}
.cal__nav button:hover:not(:disabled) { border-color: var(--red); }
.cal__nav button:disabled { opacity: .3; cursor: default; }
.cal__wd, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__wd { margin-bottom: 8px; font-size: 11px; color: var(--ink-2); text-align: center; }
.cal__d {
  position: relative; aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: none;
  font: 500 14px/1 var(--f-mono); color: var(--ink-3); cursor: default;
}
.cal__d.is-av { color: var(--ink); border-color: var(--glass-brd); background: rgba(255,255,255,.035); cursor: pointer; transition: border-color .2s, background .2s; }
.cal__d.is-av::after { content: ""; position: absolute; left: 50%; bottom: 18%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); box-shadow: var(--glow); }
.cal__d.is-av:hover { border-color: var(--red); }
.cal__d.is-sel { background: var(--red-btn); border-color: var(--red-btn); color: #fff; box-shadow: 0 0 22px rgba(var(--red-rgb), .45); }
.cal__d.is-sel::after { background: #fff; box-shadow: none; }
.cal__d.is-out { visibility: hidden; }
.cal__tz { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.cal__tz span { display: inline-flex; align-items: center; gap: 8px; }

.cal__times { display: flex; flex-direction: column; padding: 30px clamp(20px, 3vw, 34px); }
.cal__dia { font-size: 14px; color: var(--ink-2); }
.cal__dia b { color: var(--ink); font-weight: 500; }
.cal__slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; align-content: start; margin: 16px 0 20px; max-height: 300px; overflow-y: auto; padding-right: 4px; }
.cal__slot {
  padding: 12px 8px; border-radius: 10px; border: 1px solid var(--glass-brd); background: rgba(255,255,255,.03);
  font: 500 14px/1 var(--f-mono); color: var(--ink); transition: border-color .2s, background .2s;
}
.cal__slot:hover { border-color: var(--red); }
.cal__slot.is-sel { border-color: var(--red); background: rgba(var(--red-rgb), .16); color: #fff; }
.cal__go { margin-top: auto; width: 100%; }
.cal__go:disabled { background: rgba(255,255,255,.06); color: var(--ink-2); cursor: default; transform: none; box-shadow: none; }
.cal__estado {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 24px; text-align: center;
  background: rgba(14,15,17,.92); color: var(--ink-glass); font-size: 15px;
}
.cal__estado .beacon { margin: 0 auto; }

.cal__datos { padding: 10px 18px 18px; }
.cal__cambiar { margin: 4px 0 6px; }
.cal__widget { height: 720px; overflow: hidden; }
.cal__widget[hidden] { display: none; }
.cal__widget iframe { width: 100%; height: 100%; }
.cal__listo { display: grid; justify-items: center; gap: 10px; padding: 56px 24px; text-align: center; }
.cal__listo h3 { font-weight: 500; font-size: 24px; }
.cal__listo p { color: var(--ink-glass); max-width: 420px; }
.cal__check { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red-btn); color: #fff; font-size: 24px; box-shadow: 0 0 30px rgba(var(--red-rgb), .5); }
.cal__pie { margin-top: 18px; text-align: center; font-size: 12px; color: var(--ink-2); }
#paso4 > .atras { display: block; margin-inline: auto; }
.agenda .wrap--narrow { width: min(1080px, 100% - 2 * var(--gutter)); }
.agenda .wrap--narrow > .eyebrow, .agenda .wrap--narrow > .h2, .agenda .wrap--narrow > .lead { max-width: 820px; }
/* En el paso del calendario, la tarjeta del calendario reemplaza a la del formulario */
.flujo:has(#paso4.is-on) { background: none; border: 0; box-shadow: none; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Pie y barra flotante ---------- */
.footer { display: grid; justify-items: center; gap: 10px; padding: 44px var(--gutter) 110px; text-align: center; border-top: 1px solid var(--line); }
.barra {
  position: fixed; z-index: 40; left: 50%; bottom: 16px; width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 10px 10px 20px;
  border-radius: 999px; border: 1px solid var(--glass-brd); background: rgba(21,22,26,.78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  transform: translate(-50%, 140%); transition: transform .5s var(--ease);
}
.barra.is-on { transform: translate(-50%, 0); }
.barra__txt b { display: block; font-weight: 500; font-size: 14px; }
.barra__txt span { font-size: 12px; color: var(--ink-2); }

/* ---------- Aparición al hacer scroll ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero { align-items: start; padding-top: 96px; }
  .hero__sphere, .hero__lines { --sd: 150vw; right: -50vw; top: 74%; }
  .hero__sphere { opacity: .6; }
  .hero__content > * { max-width: none; }
  .note { display: none; }
  /* Bloque compacto: título, hora, teléfono y leyenda entran juntos */
  .dia { padding: 56px 0 48px; }
  .dia__grid { grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; row-gap: 12px; }
  .dia__side { display: contents; }
  .dia__side .eyebrow { grid-column: 1 / -1; order: 1; margin-bottom: 0; font-size: 11px; }
  .dia__side .h2 { grid-column: 1 / -1; order: 1; font-size: 28px; }
  .clock { order: 2; grid-column: 1; margin: 6px 0 0; font-size: 40px; }
  .dia__phase { order: 2; grid-column: 2; margin: 6px 0 0; min-height: 0; font-size: 14px; line-height: 1.3; }
  .daybar { order: 3; grid-column: 1 / -1; margin: 0; max-width: none; }
  .daybar__ticks { font-size: 9px; margin-top: 6px; }
  .phone { order: 4; grid-column: 1 / -1; justify-self: center; margin-top: 6px; }
  .phone__body { width: auto; height: min(600px, calc(100svh - 230px)); min-height: 440px; }
  .phone__screen { font-size: clamp(12px, 1.9svh, 14px); }
  .dia__legend { order: 5; grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 4px 0 0; font-size: 12px; }
  .lg { width: 10px; height: 10px; border-radius: 3px; }
  .dia__cta { order: 6; grid-column: 1 / -1; text-align: center; margin-top: 10px; }
  .dia__cta .btn { width: 100%; }
  .semana { grid-template-columns: repeat(4, 1fr); }
  .quien { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .nav__brand img { height: 24px; }
  .cal__head { padding: 18px; }
  .cal__steps { font-size: 10px; gap: 4px; }
  .cal__steps li { padding: 4px 8px; }
  .cal__steps li + li { margin-left: 16px; }
  .cal__steps li + li::before { left: -14px; }
  .cal__body { grid-template-columns: 1fr; min-height: 0; }
  .cal__month { padding: 20px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cal__times { padding: 20px 16px; }
  .cal__slots { grid-template-columns: repeat(3, 1fr); max-height: none; }
  .cal__datos { padding: 6px 8px 10px; }
  .cal__widget { height: 1060px; }
  .vsl { padding: 48px 0 28px; }
  .vsl__head { margin-bottom: 20px; }
  .vsl__player { border-radius: 14px; margin-inline: calc(var(--gutter) * -0.5); }
  .vsl__btn { width: 64px; height: 64px; }
  .vsl__btn svg { width: 26px; height: 26px; }
  .vsl__meta b { font-size: 16px; }
  /* Menos aire entre bloques en el celular */
  .hero { min-height: 0; padding-bottom: 56px; }
  .hero__tag { font-size: 14px; padding: 8px 14px 8px 12px; }
  .hero__nicho { font-size: 13px; letter-spacing: .1em; padding: 10px 16px 10px 14px; gap: 10px; }
  .dia__cta .btn { width: 100%; }
  .hero__facts { display: flex; width: 100%; margin: 26px 0 0; }
  .hero__facts li { flex: 1; padding: 12px 12px; }
  .hero__facts b { font-size: 17px; }
  .hero__facts span { font-size: 12px; }
  .hero__urgency { margin-top: 14px; font-size: 14px; padding: 10px 16px; }
  .sec { padding: 52px 0; }
  .lead { font-size: 16.5px; }
  .relato { margin-top: 22px; font-size: 17px; }
  .fugas, .pasos3 { margin-top: 26px; }
  .ben-grid { margin-top: 26px; gap: 10px; }
  .ben { padding: 18px 18px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; }
  .ben h3 { margin: 0; font-size: 18px; }
  .ben p { grid-column: 2; margin-top: 4px; }
  .semana { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
  .semana li { flex: 0 0 calc(25% - 6px); padding: 10px 4px; }
  .piloto { margin-top: 26px; gap: 14px; }
  .quien { margin-top: 22px; padding: 18px; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
  .quien img { width: 72px; height: 72px; }
  .quien > div { display: contents; }
  .quien b { align-self: center; }
  .quien span { grid-column: 1 / -1; margin-top: 0; }
  .faq { margin-top: 22px; }
  .faq-q { font-size: 16.5px; padding: 16px 0; }
  .flujo { margin-top: 24px; }
  .footer { padding: 32px var(--gutter) 100px; }
}
@media (max-width: 520px) {
  .hero__ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__lights { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
}


/* Fondo global: estructura de obra fija, visible cuando el hero queda atrás */
.pagebg { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); overflow: hidden; }
.pagebg.is-on { opacity: 1; }
.pagebg__box { --s: max(100vw, 100vh); position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); transform: translate(-50%, -50%); }
.pagebg__struct {
  position: absolute; inset: 0; width: 100%; height: 100%;
  fill: none; stroke: #fff; stroke-width: 1; opacity: .06;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.pagebg__struct path, .pagebg__struct circle { vector-effect: non-scaling-stroke; }
.pagebg .hero__lights { width: 100%; height: 100%; }
main, .footer, .barra { position: relative; z-index: 1; }
.barra { position: fixed; }

/* ---------- Paso 3 · Datos de contacto ---------- */
.datos { display: grid; gap: 16px; margin-top: 22px; max-width: 560px; }
.campo label { display: block; margin-bottom: 7px; font-size: 14px; color: var(--ink-glass); }
.campo input, .tel {
  width: 100%; border-radius: 12px; border: 1px solid var(--glass-brd); background: rgba(255,255,255,.04);
  color: var(--ink); font: 400 16px/1.2 var(--f-sans);   /* 16 px: el celular no hace zoom al escribir */
  transition: border-color .2s, background .2s;
}
.campo input { padding: 15px 16px; }
.campo input:focus, .tel:focus-within { outline: none; border-color: var(--red); background: rgba(255,255,255,.06); }
.tel { display: flex; align-items: center; }
.tel__code { padding: 0 4px 0 16px; color: var(--ink-2); font-size: 15px; }
.tel input { border: 0; background: none; padding: 15px 16px 15px 8px; }
.tel input:focus { background: none; }
.campo.is-err input, .campo.is-err .tel { border-color: var(--red); }
.campo__err { min-height: 0; margin-top: 6px; font-size: 13px; color: #ff9a9d; }
.campo__err:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-glass); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--red); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.datos__go { margin-top: 4px; justify-self: start; }
.datos__go[disabled] { opacity: .6; cursor: progress; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* El formulario ocupa la pantalla completa en el celular: una pregunta, sin distracciones */
@media (max-width: 767px) {
  .flujo { min-height: calc(100svh - 120px); display: flex; flex-direction: column; }
  .flujo .paso.is-on { flex: 1; display: flex; flex-direction: column; }
  .flujo:has(#paso4.is-on) { min-height: 0; }
  .opciones { grid-template-columns: 1fr; }
  .op { padding: 18px; font-size: 16px; }
  .datos__go { width: 100%; justify-self: stretch; }
}

/* Botón bajo el video */
.vsl__cta { display: grid; justify-items: center; gap: 10px; margin-top: 30px; text-align: center; }
/* Aviso de privacidad sin casilla */
.datos__aviso { max-width: 560px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.datos__aviso a { color: var(--ink-glass); text-decoration: underline; text-underline-offset: 3px; }
.cal__msg { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(var(--red-rgb), .45); background: rgba(var(--red-rgb), .1); font-size: 14px; color: var(--ink); }
.cal__go.is-loading { opacity: .7; cursor: progress; }

.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); }
