/* ==========================================================
   KLYP — 24 horas en la obra
   ========================================================== */

:root {
  --bg: #0E0F11;
  --bg-2: #15161A;
  --surface: #2B2C2F;
  --ink: #EDEBE6;
  --ink-2: #A8A8A8;            /* texto secundario: mínimo #A8A8A8 */
  --ink-glass: #C4C4C4;        /* descripciones dentro de tarjetas de vidrio */
  --ink-3: #5E626A;
  --red: #F23A3F;              /* rojo de acento: solo puntos, líneas, números y palabras clave */
  --red-rgb: 242, 58, 63;
  --red-btn: #D92D33;          /* fondo del botón principal */
  --glow: 0 0 12px rgba(var(--red-rgb), .6);   /* resplandor de los puntos "encendidos" */
  --chip: var(--red);
  --line: rgba(255, 255, 255, .10);

  --glass-bg: rgba(255, 255, 255, .055);
  --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%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  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; }

.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.muted { color: var(--ink-2); }
.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px;
}

/* ---------- Luz de balizaje (el rojo de marca) ---------- */
.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); }
}
/* 9) Palabra clave en rojo dentro de cada título */
.kw { color: var(--red); font-style: normal; text-shadow: 0 0 20px rgba(var(--red-rgb), .35); }

/* ---------- 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,.12), 0 20px 50px -20px rgba(0,0,0,.6);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; 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;
  box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0);
}
.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; }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.splash__inner { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font-size: 13px; }
.splash.is-done { opacity: 0; visibility: hidden; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background .4s, backdrop-filter .4s;
}
.nav.is-solid { background: rgba(14,15,17,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__brand { font-weight: 600; font-size: 20px; letter-spacing: .08em; display: inline-flex; align-items: center; flex: none; }
.nav__brand img { display: block; height: 28px; width: auto; }
.footer__brand img { display: block; height: 22px; width: auto; }
@media (max-width: 767px) { .nav__brand img { height: 24px; } }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 6px; }
.nav__menu { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; align-items: end;
  padding: 104px var(--gutter) clamp(28px, 5vh, 64px);
  background: radial-gradient(70% 60% at 70% 40%, #1a1c21 0%, var(--bg) 70%);
}
/* La capa de líneas comparte caja y centro con la esfera, para quedar alineada detrás de ella */
.hero__sphere, .hero__lines {
  /* 20% más grande que antes (78vw/980px → 94vw/1176px) y centrada en x≈67% (antes ≈72%) */
  --sd: min(94vw, 1176px);
  position: absolute; 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; }

/* Estructura de obra (recuperada del commit 1623c82: mismo dibujo, trazo y opacidad).
   Allí medía 260% del diámetro de la esfera; aquí la esfera ocupa ~50% de su caja → 130%. */
.hero__struct {
  position: absolute; left: 50%; top: 50%; width: 130%; height: 130%;
  transform: translate(-50%, -50%);
  fill: none; stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke;
  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; }

/* Luces que recorren la estructura (las mueve main.js con transform + opacity) */
.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;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-18px) } }

.hero__content { position: relative; z-index: 2; max-width: 860px; }
.hero__title {
  margin: 18px 0 20px;
  font-weight: 500; letter-spacing: -.045em; line-height: .98;
  font-size: clamp(44px, min(8.2vw, 13.2vh), 124px);
}
.hero__title { max-width: 6.6em; }   /* siempre 4 líneas: el título nunca cruza la esfera */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { max-width: 600px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.45; color: #CFCFCF; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; margin-bottom: 4px;
  font-size: clamp(14px, 1.1vw, 16px); font-weight: 500; letter-spacing: -.005em; color: var(--ink);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 99px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero__facts { list-style: none; display: inline-flex; flex-wrap: wrap; vertical-align: middle; gap: 0; margin: 24px 18px 0 0; padding: 0; width: fit-content;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__facts li { display: grid; gap: 2px; padding: 12px 22px; border-left: 1px solid var(--line); }
.hero__facts li:first-child { border-left: 0; }
.hero__facts b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.hero__facts span { font-size: 13px; color: var(--ink-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__urgency { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--ink-2); vertical-align: middle; }
.hero__facts + .hero__urgency { margin-top: 24px; }
/* Pantallas de laptop bajas (p. ej. 1440×760): todo el hero entra en la primera pantalla */
@media (min-width: 768px) and (max-height: 960px) {
  .hero { padding-top: 92px; }
  .hero__title { margin: 14px 0 16px; font-size: clamp(44px, min(8.2vw, 12vh), 124px); }
  .hero__sub { font-size: 19px; max-width: 640px; }
  .hero__ctas { margin-top: 24px; }
  .hero__facts li { padding: 10px 18px; }
}
@media (min-width: 768px) and (max-height: 820px) {
  .hero { padding-top: 84px; }
  .hero__title { font-size: clamp(44px, min(8.2vw, 10.4vh), 124px); margin: 12px 0 14px; }
  .hero__sub { font-size: 18px; }
  .hero__ctas { margin-top: 20px; }
  .hero__facts, .hero__facts + .hero__urgency { margin-top: 18px; }
}
.pulse { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--chip); box-shadow: var(--glow); }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--chip);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(3); opacity: 0; } }

/* Notificaciones de vidrio alrededor de la esfera.
   Posiciones en % de la caja de la imagen: la esfera visible ocupa ~25%–75%. */
.note { position: absolute; z-index: 3; }
.note--1 { left: 64%; top: 25%; }
.note--2 { left: 66%; top: 58%; }
.note--3 { left: 24%; top: 75%; }
.note__in {
  display: inline-flex; align-items: center; gap: .65em; white-space: nowrap;
  padding: .7em 1em; border-radius: 14px; font-size: 14px; color: var(--ink);
  animation: drift 8s ease-in-out infinite;
}
.note--2 .note__in { animation-duration: 10s; animation-delay: -3s; }
.note--3 .note__in { animation-duration: 9s; animation-delay: -6s; }
@keyframes drift { 0%,100% { transform: translate3d(0,0,0) } 50% { transform: translate3d(0,-8px,0) } }
.note__in b { font-weight: 500; font-size: .85em; color: var(--ink-2); }
.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; }
.note__dot { width: 8px; height: 8px; border-radius: 50%; background: #9fd8a8; box-shadow: 0 0 10px rgba(159,216,168,.7); }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 32px; font-size: 11px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: .2em; display: flex; align-items: center; gap: 10px;
}
.hero__scroll span { width: 1px; height: 40px; background: linear-gradient(var(--ink-3), transparent); }

/* ---------- Secuencias (video fijo controlado por scroll) ---------- */
.seq { position: relative; }
.seq--pisos { height: 260vh; }
.seq__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.seq__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 50%;
  background: var(--bg);
}
@media (max-width: 900px) { .seq__video { object-position: 42% 50%; } .seq__video--pisos { object-position: 45% 50%; } }
.seq__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(14,15,17,0) 22%, rgba(14,15,17,0) 62%, rgba(14,15,17,.85) 100%),
    linear-gradient(90deg, rgba(14,15,17,.65) 0%, rgba(14,15,17,0) 45%);
}
.seq__shade--side {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(14,15,17,0) 18%, rgba(14,15,17,0) 80%, var(--bg) 100%),
    linear-gradient(270deg, rgba(14,15,17,.85) 0%, rgba(14,15,17,0) 55%);
}

/* ---------- Un día en la obra (celular + chat) ---------- */
.dia { position: relative; height: 300vh; }          /* ~2 pantallas de scroll */
.dia__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(24px, 4.5vw, 80px); padding: 0 var(--gutter);
}
.dia__bg { position: absolute; inset: -3%; z-index: 0; pointer-events: none; }
.dia__video {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  filter: blur(9px) brightness(.48) 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__side { grid-column: 1; justify-self: end; position: relative; z-index: 2; width: min(340px, 100%); }
.clock {
  font-size: clamp(48px, 6.2vw, 104px); font-weight: 500; line-height: 1; letter-spacing: -.04em;
  margin: 16px 0 14px; font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.clock__colon { color: var(--red); animation: colon 2s steps(1, end) infinite; }
@keyframes colon { 0% { opacity: 1; } 50% { opacity: .25; } }
.dia__phase { font-size: clamp(16px, 1.3vw, 20px); color: var(--ink); text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.daybar { margin-top: 32px; }
.daybar__track { position: relative; height: 2px; background: var(--line); border-radius: 2px; }
.daybar__fill { height: 100%; width: 100%; border-radius: 2px; background: var(--red); transform-origin: left; transform: scaleX(0); }
.daybar__tip {
  position: absolute; left: -3px; top: -2px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 12px 2px rgba(var(--red-rgb), .75);
  will-change: transform;
}
.daybar__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 10px; color: var(--ink-2); }

/* Celular */
.phone { grid-column: 2; position: relative; z-index: 2; perspective: 1600px; }
.phone__body {
  --bezel: 1.15vh;
  position: relative; height: 75vh; aspect-ratio: 9 / 19.5;
  border-radius: 6.4vh; transform-style: preserve-3d; will-change: transform;
}
.phone__frame {                                        /* marco temporal en CSS */
  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 {                                 /* bisel negro */
  content: ""; position: absolute; inset: .42vh; border-radius: 6vh;
  background: #050506; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone__frame::before {                                /* botón lateral */
  content: ""; position: absolute; right: -.32vh; top: 24%; width: .38vh; height: 9%;
  border-radius: 0 .4vh .4vh 0; background: linear-gradient(#d4d7db, #55585d);
}
.phone__island {
  position: absolute; z-index: 3; top: calc(var(--bezel) + 1.1vh); left: 50%;
  width: 28%; height: 3.2vh; transform: translateX(-50%); border-radius: 99px; background: #000;
}
.phone__screen {
  position: absolute; inset: var(--bezel); z-index: 1; border-radius: 5.3vh; overflow: hidden;
  display: flex; flex-direction: column;
  background: linear-gradient(rgba(8,9,11,.6), rgba(8,9,11,.6)), #0b0c0e url("assets/img/chat-bg.webp") center / cover;
  font-size: clamp(11px, 1.62vh, 16px);
}
.phone__screen::after {                                /* reflejo sutil del vidrio */
  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%);
}
/* Cuando exista la imagen del marco: añadir la clase .phone--img a #phone */
.phone--img .phone__frame {
  z-index: 4; pointer-events: none; box-shadow: none;
  background: url("assets/img/phone-frame.webp") center / 100% 100% no-repeat;
}
.phone--img .phone__frame::before, .phone--img .phone__frame::after, .phone--img .phone__island { display: none; }
.phone--img .phone__body { filter: drop-shadow(0 40px 50px rgba(0,0,0,.7)); }

/* Interfaz tipo WhatsApp */
.wa__head {
  position: relative; z-index: 2; display: flex; align-items: center; gap: .8em;
  padding: 5vh 1.1em .85em;
  background: rgba(12,13,15,.55);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  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 {
  position: relative; flex: none; width: 2.6em; height: 2.6em; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; letter-spacing: .02em;
  background: linear-gradient(150deg, #2a2c31, #0f1012); border: 1px solid rgba(255,255,255,.16);
}
.wa__avatar i {
  position: absolute; right: -.08em; bottom: -.08em; width: .78em; height: .78em; border-radius: 50%;
  background: var(--chip); border: 2px solid #121315;
}
.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: 1em .85em 2.8vh;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .55em;
}

.convos { display: flex; flex-direction: column; gap: .55em; }
.convo { display: flex; flex-direction: column; gap: .55em; }
.convo__time { display: none; }

/* Burbujas de vidrio */
.bubble {
  position: relative; max-width: 82%; padding: .6em .8em .45em; border-radius: 1.1em;
  font-size: 1em; line-height: 1.38; color: var(--ink);
  background: rgba(38,40,46,.94);                        /* sin blur cuando no está visible */
  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.is-live {
  background: linear-gradient(160deg, rgba(62,65,72,.9), rgba(36,38,43,.9));
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.bubble--me { align-self: flex-start; border-bottom-left-radius: .35em; }      /* cliente */
.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--klyp.is-live { background: linear-gradient(160deg, rgba(150,34,40,.9), rgba(78,20,25,.92)); }
/* El asesor (persona) entra al mismo chat: vidrio azul grisáceo, del lado de la empresa */
.bubble--agent { align-self: flex-end; border-bottom-right-radius: .35em; background: rgba(34,48,70,.94); border-color: rgba(143,177,245,.45); }
.bubble--agent.is-live { background: linear-gradient(160deg, rgba(58,82,118,.9), rgba(30,42,62,.92)); }
/* Quién escribe cada mensaje */
.from { display: block; margin-bottom: .3em; font-size: .7em; font-weight: 600; letter-spacing: .02em; color: #B9BCC2; }
.bubble--klyp .from { color: #FFB8BA; }
.bubble--agent .from { color: #B7CBF5; }
.dia__legend { list-style: none; display: grid; gap: 8px; margin-top: 26px; padding: 0; 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__replay {
  position: absolute; z-index: 6; left: 50%; bottom: 3vh; transform: translateX(-50%);
  padding: 10px 18px; border-radius: 99px; font: 500 14px/1 var(--f-sans, inherit); color: var(--ink);
  background: rgba(14,15,17,.85); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(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: .84em;
  border-color: var(--red);
}
/* Burbuja de sistema: alguien se une a la conversación */
.bubble--sys {
  align-self: center; max-width: none; display: inline-flex; align-items: center; gap: .55em;
  padding: .42em .95em; border-radius: 99px; font-size: .8em; color: var(--ink);
  background: rgba(14,15,17,.6); border-color: rgba(255,255,255,.2);
}
.bubble--sys.is-live { background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); }
.sys__dot { flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--red); box-shadow: var(--glow); }
.bubble--typing { padding: .6em .95em .8em; }
.bubble--typing .from { margin-bottom: .45em; font-weight: 500; }
.bubble--typing .dots { display: inline-flex; gap: .32em; }
.bubble--typing .dots i { width: .45em; height: .45em; border-radius: 50%; background: var(--ink-2); animation: typing 1s infinite; }
.bubble--typing .dots i:nth-child(2) { animation-delay: .15s; }
.bubble--typing .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-.35em); opacity: 1; } }

/* Estados de animación (solo transform + opacity) */
.bubble.is-enter { opacity: 0; transform: translateY(1em) scale(.97); }
.bubble.is-leaving { opacity: 0; transform: translateY(-1.4em) scale(.97); }

/* Escritorio: las conversaciones originales quedan solo para lectores de pantalla */
.dia.is-stream .convos {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@media (max-height: 700px) and (min-width: 768px) {
  .clock { font-size: clamp(44px, 10vh, 80px); }
  .daybar { margin-top: 20px; }
}

/* Móvil: el teléfono con su marco, sin fijar la sección; el chat se reproduce solo al verlo */
@media (max-width: 767px) {
  .dia { height: auto; }
  .dia__stage {
    position: relative; height: auto; overflow: hidden;
    display: grid; grid-template-columns: 1fr; justify-items: center; gap: 26px;
    padding: 72px var(--gutter) 64px;
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(14,15,17,.78) 18%, rgba(14,15,17,.78) 82%, var(--bg) 100%),
      #0b0c0e url("assets/img/poster-dia.webp") 60% 40% / cover;
  }
  .dia__bg { display: none; }
  /* Bloque compacto: hora, teléfono y leyenda entran juntos en una pantalla */
  .dia__stage { grid-template-columns: auto 1fr; align-items: center; justify-items: stretch; column-gap: 14px; row-gap: 12px; }
  .dia__side { display: contents; }
  .dia__side .eyebrow { grid-column: 1 / -1; order: 1; font-size: 11px; }
  .clock { order: 2; grid-column: 1; font-size: 40px; margin: 0; }
  .dia__phase { order: 2; grid-column: 2; font-size: 14px; line-height: 1.3; }
  .daybar { order: 3; grid-column: 1 / -1; margin-top: 0; }
  .daybar__ticks { font-size: 9px; margin-top: 6px; }
  .phone { order: 4; grid-column: 1 / -1; justify-self: center; }
  .dia__legend { order: 5; grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 2px; font-size: 12px; }
  .lg { width: 10px; height: 10px; border-radius: 3px; }
  .phone__body { --bezel: 9px; height: min(600px, calc(100svh - 240px)); min-height: 440px; border-radius: 46px; }
  .phone__frame::after { inset: 3px; border-radius: 43px; }
  .phone__frame::before { right: -2px; width: 3px; border-radius: 0 3px 3px 0; }
  .phone__island { top: 18px; height: 24px; }
  .phone__screen { border-radius: 38px; font-size: clamp(12.5px, 2.05svh, 15px); }
  .wa__head { padding: 44px 14px 10px; }
  .dia__replay { bottom: 18px; }
  .bubble--tag { max-width: 100%; font-size: .74em; padding: .45em .8em; letter-spacing: -.01em; }
}

/* ---------- Funciones: 4 bloques con su tarjeta (sin quedar fija) ---------- */
.feat { position: relative; overflow: hidden; padding: clamp(80px, 11vh, 120px) 0; background: var(--bg); }
.feat > .wrap { position: relative; z-index: 1; }
.feat__sphere {
  position: absolute; z-index: 0; right: -18vw; top: 50%; width: min(70vw, 900px); height: auto; aspect-ratio: 1;
  transform: translateY(-50%); opacity: .35; pointer-events: none;
  -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%);
}
.feat__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 52px; }
.feat__item {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center;
  padding: 26px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.feat__n { font-size: 13px; color: var(--red); letter-spacing: .1em; }
.feat__txt h3 { margin-top: 10px; font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.feat__txt p { margin-top: 10px; color: var(--ink-glass); font-size: 15px; line-height: 1.5; }
.feat__item .card { padding: 18px; }
.card__k { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 12px; }
.card__big { font: 500 44px/1 var(--f-mono); letter-spacing: -.02em; margin-bottom: 10px; }
.card__mid { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.card__s { font-size: 13px; color: var(--ink-glass); }
.score li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.score span { color: var(--ink-2); }
.score b { font-weight: 500; }
.pill { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 99px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pill--hot { border: 1px solid var(--red); color: var(--ink); }
.cal { display: flex; gap: 8px; margin-bottom: 14px; }
.cal span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.cal .is-on { color: var(--ink); border-color: var(--red); }

/* ---------- Más que un chat (órbita de funciones) ---------- */
.mq { position: relative; height: 340vh; background: var(--bg); }
.mq__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center;
  gap: 2vw; padding: 0 var(--gutter);
}
.mq__text { position: relative; z-index: 3; max-width: 460px; }
.mq__title { font-size: clamp(36px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.mq__caption { margin-top: 40px; min-height: 120px; }
.mq__name { font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.mq__line { margin-top: 8px; font-size: 17px; line-height: 1.45; color: var(--ink-glass); max-width: 400px; }
.mq__soon {
  display: inline-block; margin-top: 12px; padding: 3px 9px; border-radius: 99px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); border: 1px solid rgba(255,255,255,.2);
}
.mq__caption.is-swap .mq__name, .mq__caption.is-swap .mq__line, .mq__caption.is-swap .mq__soon { opacity: 0; transform: translateY(8px); }
.mq__name, .mq__line, .mq__caption .mq__soon { transition: opacity .35s var(--ease), transform .35s var(--ease); }

.mq__orbit { position: relative; justify-self: center; width: min(68vh, 54vw); aspect-ratio: 1; }
.mq__sphere {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; object-fit: contain; mix-blend-mode: screen;
  -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%);
}
.mq__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.mq__lines line { stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mq__node { position: absolute; left: 0; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; white-space: nowrap; will-change: transform, opacity; }
.mq__node.is-front { z-index: 3; }
.mq__node.is-flip { flex-direction: row-reverse; }
.mq__node i {
  flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: #F2F0EC; box-shadow: 0 0 12px rgba(242,240,236,.55);
}
.mq__node.is-soon i { background: #9aa0a8; box-shadow: 0 0 8px rgba(154,160,168,.4); }
.mq__node.is-active i { background: var(--red); box-shadow: var(--glow), 0 0 0 5px rgba(var(--red-rgb), .15); }
.mq__node span, .mq__node em { opacity: 0; transition: opacity .4s var(--ease); }
.mq__node.is-named span { opacity: 1; }
.mq__node.is-active em { opacity: 1; }
.mq__node span { font-size: 13px; color: var(--ink-glass); }
.mq__node.is-active span { color: var(--ink); }
.mq__node em { font-style: normal; font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 1px 6px; }

/* En escritorio la lista solo existe para lectores de pantalla (los nodos se dibujan en la órbita) */
.mq__list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 767px) {
  .mq { height: auto; padding: clamp(80px, 12vh, 120px) 0; }
  .mq__stage { position: relative; height: auto; display: flex; flex-direction: column; overflow: visible; }
  .mq__text { display: contents; }          /* título arriba, lista debajo */
  .mq__list { order: 1; }
  .mq__orbit, .mq__caption { display: none; }
  .mq__list { position: relative; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin-top: 36px; display: grid; gap: 0; }
  .mq__item { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding: 0 0 26px; }
  .mq__item::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 1px; background: linear-gradient(var(--line), rgba(255,255,255,.04)); }
  .mq__item:last-child::before { display: none; }
  .mq__dot { width: 11px; height: 11px; margin-top: 5px; border-radius: 50%; background: #F2F0EC; box-shadow: 0 0 12px rgba(242,240,236,.5); }
  .mq__item[data-soon="1"] .mq__dot { background: #9aa0a8; box-shadow: none; }
  .mq__item h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
  .mq__item p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-glass); }
  .mq__item .mq__soon { margin-top: 8px; }
  .js .mq__item { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .mq__item.is-in { opacity: 1; transform: none; }
}

/* ---------- Lo que ves desde tu oficina (panel de software) ---------- */
.oficina { position: relative; padding: clamp(100px, 16vh, 180px) 0; background: var(--bg); overflow: hidden; }
.oficina {
  --of-bg: #121417; --of-card: #1C1F23; --of-name: #F2F0EC; --of-data: #C4C4C4; --of-min: #A8A8A8;
  --c-nuevo: #5B8DEF; --c-calificado: #E8A33D; --c-visita: #3FB68B; --c-separacion: #9B7BF7; --c-venta: #F23A3F;
}
/* El escenario sale del ancho del texto para dar espacio a las tarjetas flotantes */
.of-stage {
  position: relative; left: 50%; translate: -50% 0;
  width: min(1560px, calc(100vw - 2 * var(--gutter)));
  margin-top: 64px; padding: 0 150px 0 150px;   /* espacio para las tarjetas flotantes a ambos lados */
  perspective: 2000px;
}

/* Panel */
.of-app {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  background: var(--of-bg); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 70px 140px -50px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.07);
  transform: rotateX(4deg) rotateY(-3deg); transform-origin: 50% 40%;
  will-change: transform; color: var(--of-data); font-size: 12px; line-height: 1.35;
}
.of-ico { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.of-side { padding: 16px 10px; border-right: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.012); }
.of-side__brand { display: flex; align-items: center; gap: 4px; padding: 2px 10px 16px; font-weight: 600; letter-spacing: .1em; color: var(--of-name); font-size: 13px; }
.of-nav { display: grid; gap: 2px; }
.of-nav__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--of-min); }
.of-nav__item.is-active { color: var(--of-name); background: rgba(255,255,255,.06); box-shadow: inset 2px 0 0 var(--red); }
.of-badge { margin-left: auto; font-size: 10px; font-weight: 500; padding: 1px 6px; border-radius: 99px; color: #fff; background: var(--red-btn); }

.of-main { min-width: 0; display: grid; grid-template-rows: auto auto 1fr; }
.of-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.of-search { flex: 1; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: var(--of-min); white-space: nowrap; overflow: hidden; }
.of-select { padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); color: var(--of-data); white-space: nowrap; }
.of-bell { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--of-data); }
.of-bell i { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: var(--glow); }
.of-user { display: flex; align-items: center; gap: 8px; color: var(--of-name); white-space: nowrap; }

.of-av {
  display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  font-size: 10px; font-weight: 600; letter-spacing: .02em; color: var(--c);
  background: color-mix(in srgb, var(--c) 20%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
}
.of-av--lg { width: 42px; height: 42px; font-size: 14px; }
.of-av--sm { width: 20px; height: 20px; font-size: 10px; }

/* Métricas */
.of-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 16px 4px; }
.of-metric {
  position: relative; padding: 12px 12px 10px; border-radius: 12px; background: var(--of-card);
  border: 1px solid rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 8px 18px -10px rgba(0,0,0,.7);
  overflow: hidden;
}
.of-metric__k { color: var(--of-min); font-size: 11px; }
.of-metric__v { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.of-metric__v b { font-size: 26px; font-weight: 500; color: var(--of-name); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.of-unit { color: var(--of-data); font-size: 14px; }
.of-delta { color: var(--of-min); font-size: 11px; }
.of-delta--up { color: #3FB68B; }
.of-spark { display: block; width: 100%; height: 22px; margin-top: 8px; overflow: visible; }
.of-spark polyline { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Tablero */
.of-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 12px 16px 16px; align-items: start; }
.of-col { min-width: 0; }
.of-col--nuevo { --cc: var(--c-nuevo); } .of-col--calificado { --cc: var(--c-calificado); } .of-col--visita { --cc: var(--c-visita); }
.of-col--separacion { --cc: var(--c-separacion); } .of-col--venta { --cc: var(--c-venta); }
.of-col__head { display: flex; align-items: center; gap: 7px; padding: 0 2px 8px; margin-bottom: 8px; border-bottom: 2px solid var(--cc); color: var(--of-name); font-weight: 500; }
.of-col__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 8px color-mix(in srgb, var(--cc) 60%, transparent); }
.of-col__head span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.of-col__head b { margin-left: auto; color: var(--of-data); font-weight: 500; }
.of-col__list { display: grid; gap: 7px; }
.of-card {
  position: relative; padding: 9px; border-radius: 10px; background: var(--of-card);
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 8px 16px -10px rgba(0,0,0,.8);
}
.of-card__top { display: flex; align-items: center; gap: 7px; }
.of-card__name { color: var(--of-name); font-weight: 500; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.of-score { margin-left: auto; padding: 1px 6px; border-radius: 6px; font-size: 10.5px; font-weight: 500; }
.of-score--hot { color: #ffd3d4; background: rgba(var(--red-rgb), .2); border: 1px solid rgba(var(--red-rgb), .55); }
.of-score--warm { color: #f6d9a8; background: rgba(232,163,61,.16); border: 1px solid rgba(232,163,61,.45); }
.of-score--cool { color: #c9d6ea; background: rgba(143,163,191,.14); border: 1px solid rgba(143,163,191,.35); }
.of-card__proj { margin-top: 6px; color: var(--of-data); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.of-card__meta { color: var(--of-min); font-size: 10.5px; margin-top: 1px; }
.of-card__foot { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.of-pay { padding: 1px 6px; border-radius: 5px; font-size: 10.5px; color: var(--of-name); background: rgba(255,255,255,.07); }
.of-ch { display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px; border-radius: 99px; font-size: 10.5px; border: 1px solid; }
.of-ch__i { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.of-ch--whatsapp { color: #8fe3b0; border-color: rgba(37,211,102,.4); background: rgba(37,211,102,.08); }
.of-ch--instagram { color: #f59ac0; border-color: rgba(225,48,108,.45); background: rgba(225,48,108,.1); }
.of-ch--web { color: #d6d6d6; border-color: rgba(196,196,196,.35); background: rgba(196,196,196,.08); }
.of-card__note { margin-top: 6px; color: var(--of-min); font-size: 10.5px; }
.of-card--sel { border-color: var(--red); box-shadow: 0 0 0 1px rgba(var(--red-rgb), .3), 0 0 22px -6px rgba(var(--red-rgb), .6); }

/* Tarjeta nueva "en vivo" */
.of-live { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
/* Brillo rojo de una tarjeta nueva (se anima solo su opacidad) */
.of-card__glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 1px rgba(var(--red-rgb), .85), 0 0 26px -2px rgba(var(--red-rgb), .7);
}
/* Sombra profunda al "levantar" una tarjeta (solo opacidad, 200 ms) */
.of-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 26px 44px -14px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.08);
  opacity: 0; transition: opacity .2s cubic-bezier(.22,1,.36,1);
}
.of-card.is-lifted::after { opacity: 1; }

/* Tarjetas flotantes */
.of-float { position: absolute; z-index: 3; }
.of-channels { left: 0; bottom: 40px; width: 230px; padding: 16px; }
.of-float__k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); margin-bottom: 12px; }
.of-bars { display: grid; gap: 11px; }
.of-bars li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--of-data); }
.of-bars b { color: var(--of-name); font-weight: 500; font-size: 12px; }
.of-bars i { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: var(--c); transform-origin: left; transform: scaleX(var(--w)); box-shadow: 0 0 10px -2px var(--c); transition: transform 1.1s var(--ease); }

/* El contenedor flota sobre el borde derecho del panel; dentro van la ficha y su nota */
.of-fwrap { position: absolute; z-index: 4; right: 0; top: 50%; translate: 0 -50%; width: 300px; }
.of-trust { margin-top: 12px; padding: 0 6px; font-size: 11px; line-height: 1.5; letter-spacing: .04em; color: var(--ink-2); }
.of-ficha {
  position: relative;
  width: 100%; padding: 18px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(40,44,50,.62), rgba(20,22,26,.5));
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(0,0,0,.35), 0 50px 90px -24px rgba(0,0,0,.95);
  color: var(--of-data); font-size: 13px;
}
.of-ficha__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.of-ficha__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.of-ficha__who b { display: block; font-size: 18px; font-weight: 500; color: var(--of-name); }
.of-ficha__who span:not(.of-av) { font-size: 12.5px; color: var(--of-data); }
.of-ring { position: relative; width: 52px; height: 52px; flex: none; }
.of-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.of-ring circle { fill: none; stroke-width: 4; }
.of-ring__bg { stroke: rgba(255,255,255,.09); }
.of-ring__fg { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 87 100; filter: drop-shadow(0 0 4px rgba(var(--red-rgb), .6)); }
.of-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 500; color: var(--of-name); }
.of-ficha__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 4px; }
.of-status { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 99px; font-size: 12px; color: var(--of-name); border: 1px solid var(--red); }
.of-assign { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--of-data); }
.of-ficha__data { margin: 8px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.of-ficha__data div { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.of-ficha__data div:last-child, .of-ficha__data div:nth-last-child(2) { border-bottom: 0; }
.of-ficha__data dt { font-size: 11px; color: var(--of-min); }
.of-ficha__data dd { margin: 2px 0 0; color: var(--of-name); font-size: 12.5px; }
.of-ficha__k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); }
.of-hist { display: grid; gap: 5px; margin: 8px 0 14px; }
.of-msg { justify-self: start; max-width: 86%; padding: 6px 9px; border-radius: 10px 10px 10px 3px; font-size: 12px; color: var(--of-name); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.of-msg--klyp { justify-self: end; border-radius: 10px 10px 3px 10px; background: rgba(255,200,150,.12); border-color: rgba(255,214,170,.18); }
.of-ficha__sum p:last-child { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--of-data); }
.of-ficha__actions { display: flex; gap: 8px; margin-top: 14px; }
.of-btn { flex: 1; text-align: center; white-space: nowrap; padding: 9px 8px; border-radius: 99px; font-size: 12px; font-weight: 500; color: var(--of-name); border: 1px solid rgba(255,255,255,.18); }
.of-btn--primary { background: var(--red-btn); border-color: transparent; color: #fff; }

/* Roles */
.of-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 88px; }
.of-view { padding: 20px 0 0; border-top: 1px solid var(--line); position: relative; }
.of-view::before { content: ""; position: absolute; left: 0; top: -1px; width: 36px; height: 2px; background: var(--red); }
.of-view__k { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--red); margin-bottom: 10px; }
.of-view p:last-child { color: var(--ink-glass); font-size: 17px; line-height: 1.45; max-width: 340px; }
.of-note { margin-top: 36px; font-size: 11px; color: var(--ink-2); letter-spacing: .08em; }

/* Entrada (con JS): ficha y canales se deslizan; las barras crecen */
.js .of-kpi, .js .of-camila, .js .of-fwrap, .js .of-channels { opacity: 0; transition: opacity .8s var(--ease) .2s, translate .9s var(--ease) .2s; }
.js .of-fwrap { translate: 40px -50%; }
.js .of-channels { translate: -30px 0; }
.js .of-stage.is-in .of-fwrap { opacity: 1; translate: 0 -50%; }
.js .of-stage.is-in .of-channels { opacity: 1; translate: 0 0; }
.js .of-kpi--speed { translate: -30px 0; } .js .of-kpi--visits { translate: 30px 0; }
.js .of-camila { translate: 0 20px; transition: opacity .8s var(--ease) .9s, translate .9s var(--ease) .9s; }
.js .of-stage.is-in .of-kpi, .js .of-stage.is-in .of-camila { opacity: 1; translate: 0 0; }
.js .of-bars i { transform: scaleX(0); }
.js .of-stage.is-in .of-bars i { transform: scaleX(var(--w)); transition-delay: .5s; }

@media (max-width: 1240px) {
  .of-stage { padding: 0; left: 0; translate: none; width: auto; }
  .of-app { transform: none; }
  .of-board { overflow-x: auto; grid-template-columns: repeat(5, 168px); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
  .of-float, .of-fwrap { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .of-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .of-app { grid-column: 1 / -1; }
  .of-float { margin: 0 !important; width: auto !important; }
  .js .of-fwrap, .js .of-stage.is-in .of-fwrap { translate: none; }
  .of-fwrap { width: min(420px, 100%); margin: 20px 0 0 auto; }
}
@media (max-width: 900px) {
  .of-app { grid-template-columns: 1fr; }
  .of-side { display: none; }
  .of-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .of-search { display: none; }
  .of-user span:last-child { display: none; }
  .of-fwrap { margin: 20px 0 0; width: 100%; }
  .of-views { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
}
/* Menos de 768 px: solo las 4 métricas (2×2) y la ficha a ancho completo */
@media (max-width: 767px) {
  .of-side, .of-board { display: none; }
  .of-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .of-app { grid-column: 1 / -1; }
  .of-float { margin: 0 !important; width: auto !important; }
  .of-channels { grid-column: 1 / -1; }
  .of-kpi { display: none; }                      /* en celular ya se ven en las métricas del panel */
  .of-camila { position: relative !important; right: auto !important; bottom: auto !important; width: auto !important; margin: 0 16px 16px; }
  .of-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 16px; }
  .of-fwrap { width: 100%; margin: 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .of-fwrap, .js .of-channels, .js .of-bars i { transition: none; }
}

/* ---------- Pisos ---------- */
.pisos__counter { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%); }
.pisos__num {
  font-size: clamp(110px, 20vw, 300px); line-height: .85; letter-spacing: -.06em; font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 8px 60px rgba(0,0,0,.4);
}
.pisos__of { color: var(--red); font-size: 18px; margin-top: 8px; }
.pisos__steps {
  position: absolute; z-index: 2; right: var(--gutter); top: calc(50% + 34px); transform: translateY(-50%);
  width: min(400px, calc(100vw - 2 * var(--gutter)));
  display: grid; gap: 12px;
}
.step { padding: 18px 20px; opacity: .7; transform: translateX(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step.is-on { opacity: 1; transform: none; }
.step__k { font-size: 11px; color: var(--ink-2); letter-spacing: .14em; text-transform: uppercase; transition: color .4s; }
.step__k b { font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--red); margin-left: .25em; vertical-align: -3px; }
.step.is-on .step__k { color: var(--red); }
.step h3 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin: 6px 0 4px; }
.step p { font-size: 14px; color: var(--ink-glass); }

/* ---------- Para quién ---------- */
.wrap { padding: 0 var(--gutter); max-width: 1320px; margin: 0 auto; }
.who { padding: clamp(100px, 16vh, 180px) 0; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.h2 { font-size: clamp(36px, 5.6vw, 84px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; margin-top: 20px; max-width: 980px; }
.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.who__card { padding: 28px; min-height: 260px; display: flex; flex-direction: column; }
.who__n { color: var(--red); font-size: 30px; font-weight: 500; line-height: 1; }
.who__card h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin: auto 0 10px; }
.who__card p { color: var(--ink-glass); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: 120px var(--gutter);
  background: var(--bg-2);
}
.cta__sphere { position: absolute; width: min(90vw, 900px); height: auto; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .55; mix-blend-mode: screen; pointer-events: none; }
.cta__inner { position: relative; z-index: 2; max-width: 860px; display: grid; justify-items: center; gap: 22px; }
.cta__sub { color: var(--ink-2); font-size: 18px; max-width: 520px; }

/* ---------- Nosotros: escena fija en tres actos ---------- */
.nos { position: relative; height: 250vh; background: var(--bg); }          /* 1.5 pantallas de scroll */
.nos__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; padding: 90px var(--gutter) 40px; }
.nos__problem, .nos__founder { grid-area: 1 / 1; width: 100%; max-width: 1240px; }

/* Acto 1: el muro de mensajes que nadie contesta */
.nos--wall { height: 340vh; }
.nos__stage > :not(.atmos):not(.nos__wall) { position: relative; z-index: 2; }
.nos__problem { display: grid; place-items: center; text-align: center; height: 100%; align-content: center; }
.nos__intro, .nos__punch { grid-area: 1 / 1; }
.nos__intro { display: grid; justify-items: center; gap: 22px; will-change: opacity, transform; }
.nos__headline { max-width: 980px; font-size: clamp(40px, 5.8vw, 92px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.nos__problem::before {          /* velo oscuro detrás del título para que se lea sobre los mensajes */
  content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 92vw); height: 70%; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(14,15,17,.92), rgba(14,15,17,0)); pointer-events: none;
}
.nos__punch { max-width: 1000px; font-size: clamp(38px, 5.4vw, 84px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; opacity: 0; transform: translateY(30px); }
.nos__hint {
  position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2);
}
.nos__hint span { width: 1px; height: 40px; background: linear-gradient(var(--red), transparent); animation: nosHint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes nosHint { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.nos__wall { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.nos__msg {
  position: absolute; left: var(--x); top: var(--y);
  transform: scale(var(--d)); transform-origin: left top;
  filter: blur(calc((1 - var(--d)) * 7px)); opacity: calc(.3 + var(--d) * .6);
  will-change: transform, opacity, filter;
}
.nos__msg > span {
  display: block; position: relative; padding: 12px 16px 24px; white-space: nowrap;
  font-size: clamp(14px, 1.15vw, 17px); color: var(--ink);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 18px 18px 18px 5px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.9);
  animation: nosFloat 7s ease-in-out infinite; animation-delay: calc(var(--x) * -.11s);
  transition: background .5s, border-color .5s;
}
@keyframes nosFloat { 50% { transform: translateY(-7px); } }
.nos__msg small { position: absolute; right: 12px; bottom: 6px; font-family: var(--f-mono); font-size: 10px; color: var(--ink-2); }
.nos__msg small b { font-weight: 400; }
.nos__msg small i { font-style: normal; margin-left: 4px; letter-spacing: -.2em; color: #6f747c; transition: color .4s; }
.nos__msg small em { font-style: normal; }
.nos__ok { display: none; }
.nos__msg.is-ok > span { background: rgba(var(--red-rgb), .11); border-color: rgba(var(--red-rgb), .45); }
.nos__msg.is-ok .nos__no { display: none; }
.nos__msg.is-ok .nos__ok { display: inline; color: #ff9a9d; }
.nos__msg.is-ok small i { color: var(--red); }

/* Acto 2: la fundadora */
.nos__founder {
  display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); grid-template-rows: auto auto;
  column-gap: clamp(32px, 6vw, 96px); row-gap: clamp(28px, 5vh, 56px); align-items: center;
  opacity: 0; pointer-events: none; transition: opacity .6s cubic-bezier(.22,1,.36,1);
}
.nos.is-founder .nos__founder { opacity: 1; pointer-events: auto; }
.nos__photo {
  position: relative; margin: 0; padding: 10px; border-radius: 24px; max-width: 330px; width: 100%; justify-self: end;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 40px 80px -40px rgba(0,0,0,.95);
  opacity: 0; filter: brightness(.25);
  transition: opacity 1.2s cubic-bezier(.22,1,.36,1), filter 1.2s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.nos.is-founder .nos__photo { opacity: 1; filter: brightness(1); }
.nos__photo::before {          /* borde de luz roja sutil en un costado */
  content: ""; position: absolute; left: -1px; top: 14%; bottom: 14%; width: 2px; border-radius: 2px;
  background: linear-gradient(transparent, var(--red), transparent);
  box-shadow: 0 0 16px 1px rgba(var(--red-rgb), .55);
}
.nos__ph, .nos__photo img {
  display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; max-height: 44vh; border-radius: 16px; object-fit: cover;
  background: radial-gradient(80% 70% at 50% 35%, rgba(255,255,255,.07), rgba(255,255,255,.015));
  border: 1px dashed rgba(255,255,255,.18); color: var(--ink-2); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.nos__text { max-width: 640px; }
/* Foto real: recorte sin fondo sobre una luz suave, dentro del marco de vidrio */
.nos__photo img.nos__img {
  border: 0; object-fit: cover; object-position: 50% 0;
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(255,235,220,.10), rgba(255,235,220,0) 70%),
    radial-gradient(90% 70% at 0% 60%, rgba(var(--red-rgb), .10), rgba(var(--red-rgb), 0) 60%),
    linear-gradient(180deg, #1d2025, #121417);
}
.nos__line { margin-top: 18px; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: -.02em; line-height: 1.25; color: var(--ink-glass); opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.nos__line--lead { color: var(--ink); font-weight: 500; }
.nos.is-founder .nos__line { opacity: 1; transform: none; }
.nos.is-founder .nos__line:nth-of-type(2) { transition-delay: .35s; }
.nos.is-founder .nos__line:nth-of-type(3) { transition-delay: .7s; }
.nos__sign { display: block; width: 150px; height: auto; margin-top: 20px; }
.nos__sign path { fill: none; stroke: #F2F0EC; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.nos.is-founder .nos__sign path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.65,0,.35,1) 1.1s; }

/* Acto 3: los principios como luces */
.nos__lights { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; }
.nos__lights::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.18) 20%, rgba(255,255,255,.18) 80%, rgba(255,255,255,.04)); }
.nos__light { position: relative; }
.nos__light i {
  position: absolute; top: -26px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: #3a3d42; border: 1px solid rgba(255,255,255,.18);
  transition: background .5s, box-shadow .5s, border-color .5s;
}
.nos__light.is-on i { background: var(--red); border-color: transparent; box-shadow: 0 0 14px rgba(var(--red-rgb), .75), 0 0 0 5px rgba(var(--red-rgb), .14); }
.nos__light span { font-size: 13px; color: var(--red); font-weight: 500; opacity: .35; transition: opacity .5s; }
.nos__light p { margin-top: 6px; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.nos__light.is-on span { opacity: 1; text-shadow: 0 0 16px rgba(var(--red-rgb), .45); }
.nos__light.is-on p { opacity: 1; transform: none; }

.nos__made { position: absolute; left: var(--gutter); bottom: 22px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; letter-spacing: .1em; color: var(--ink-2); }

/* Recorrido normal (móvil, "reducir movimiento" o sin JS): todo en flujo, línea vertical */
.nos.is-flow { height: auto; }
.nos.is-flow .nos__stage { position: relative; height: auto; display: block; overflow: visible; padding: clamp(80px, 12vh, 120px) var(--gutter) 70px; }
.nos.is-flow .nos__stage { padding-top: 0; }
.nos.is-flow .nos__wall { bottom: auto; height: 100svh; overflow: hidden; }
.nos.is-flow .nos__problem { min-height: 100svh; height: auto; margin-bottom: 40px; }
.nos.is-flow .nos__punch { display: none; }
.nos.is-flow .nos__hint { bottom: 28px; }
.nos.is-flow .nos__founder { opacity: 1; pointer-events: auto; }
.nos.is-flow .nos__made { position: static; margin-top: 44px; }

@media (max-width: 767px) {
  .nos.is-flow .nos__founder { grid-template-columns: 1fr; }
  .nos__photo { justify-self: start; max-width: 260px; }
  .nos__lights { grid-template-columns: 1fr; gap: 26px; padding: 0 0 0 30px; }
  .nos__lights::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.04)); }
  .nos__light i { top: 4px; left: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  .nos__photo, .nos__line, .nos__light i, .nos__light p, .nos__light span, .nos__founder { transition: none !important; }
  .nos__sign path { transition: none !important; stroke-dashoffset: 0; }
  .nos__msg > span, .nos__hint span { animation: none; }
}
@media (max-width: 767px) {
  .nos__msg[data-m="0"] { display: none; }
  .nos__msg { --d: .85; left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .nos__msg > span { font-size: 13px; padding: 10px 13px 21px; }
  .nos__headline { font-size: clamp(36px, 10.5vw, 52px); }
}

/* Tarjeta corta "Te responde Wida" en el contacto */
.contact__who { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 18px 12px 12px; border-radius: 99px; }
.contact__face, .contact__who img {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 1px dashed rgba(255,255,255,.25); background: rgba(255,255,255,.05);
  color: var(--ink-2); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
}
.contact__who img.contact__face { border: 1px solid rgba(255,255,255,.18); background: radial-gradient(70% 70% at 50% 30%, #2a2d33, #15171a); }
.contact__who p { font-size: 15px; color: var(--ink); }

@media (max-width: 767px) {
  .nos__grid { grid-template-columns: 1fr; }
  .nos__photo { max-width: 260px; }
}

/* ---------- Contacto ---------- */
.contact { padding: clamp(100px, 16vh, 180px) 0; background: var(--bg-2); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__sub { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 440px; margin-top: 22px; }
.contact__card { padding: clamp(24px, 3vw, 40px); }

.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: 13px; color: var(--ink-2); }
.lead input[type="text"], .lead input[type="tel"], .lead select {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: rgba(14,15,17,.55); border: 1px solid rgba(255,255,255,.14);
  transition: border-color .25s, box-shadow .25s;
  appearance: none; -webkit-appearance: none;
}
.lead select {
  padding-right: 38px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.lead select:invalid { color: var(--ink-2); }
.lead option { color: #0b0b0c; }
.lead input::placeholder { color: rgba(168,168,168,.7); }
.lead input:focus, .lead select:focus { outline: none; border-color: rgba(var(--red-rgb), .8); box-shadow: 0 0 0 3px rgba(var(--red-rgb), .18); }
.lead [aria-invalid="true"] { border-color: var(--red); }
.phone-in { display: grid; grid-template-columns: 72px 1fr; gap: 8px; }
.phone-in__code { text-align: center; }
.field__err { min-height: 0; font-size: 12px; color: #ff9a9d; }
.field__err:empty { display: none; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-glass); cursor: pointer; }
.check input {
  flex: none; width: 18px; height: 18px; margin: 1px 0 0; border-radius: 5px; cursor: pointer;
  appearance: none; -webkit-appearance: none; display: grid; place-content: center;
  background: rgba(14,15,17,.55); border: 1px solid rgba(255,255,255,.3);
}
.check input::after { content: "✓"; font-size: 12px; line-height: 1; color: var(--red); transform: scale(0); transition: transform .2s var(--ease); }
.check input:checked { border-color: var(--red); }
.check input:checked::after { transform: scale(1); }
.check input:focus-visible { outline: 2px solid rgba(var(--red-rgb), .7); outline-offset: 2px; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.lead__actions .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.lead__status { font-size: 14px; color: #ff9a9d; }
.lead__status:empty { display: none; }

/* Filtro en 3 pasos: rol → interesados al mes → datos de contacto */
.lead__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lead__progress i { height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); transition: background .4s var(--ease), box-shadow .4s; }
.lead__progress i.is-on { background: var(--red); box-shadow: 0 0 10px rgba(var(--red-rgb), .5); }
.lead__count { margin-top: -6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.lead__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.lead__step legend { float: left; width: 100%; }
.lead__q { padding: 0; font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.lead__hint { margin-top: -4px; line-height: 1.4; font-size: 14px; font-style: italic; color: var(--ink-2); }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; align-items: center; min-height: 54px; padding: 12px 16px; border-radius: 14px; font-size: 15px; color: var(--ink);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.opt:hover span { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.opt input:checked + span { border-color: var(--red); background: rgba(var(--red-rgb), .12); }
.opt input:focus-visible + span { outline: 2px solid rgba(var(--red-rgb), .7); outline-offset: 2px; }
.lead__back { justify-self: start; padding: 4px 0; font-size: 14px; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
.lead__back:hover { color: var(--ink); }
/* Sin JS se ve todo de una vez; con JS, solo el paso actual */
.lead__count, .lead__back { display: none; }
.js .lead__count, .js .lead__back { display: block; }
.js .lead[data-step="1"] > :not(.lead__progress):not(.lead__count):not(.lead__step--1),
.js .lead[data-step="2"] > :not(.lead__progress):not(.lead__count):not(.lead__step--2),
.js .lead[data-step="3"] > .lead__step { display: none; }
.js .lead[data-step="3"] .lead__step--2 .lead__back { display: none; }
.lead__step, .lead__q--form { animation: leadIn .45s var(--ease); }
@keyframes leadIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .opts { grid-template-columns: 1fr; } .opt span { min-height: 50px; } }

.lead__done { display: grid; justify-items: start; gap: 12px; padding: 12px 0; }
.lead__done:focus { outline: none; }
.lead__check {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--red); font-size: 20px; border: 1px solid var(--red);
  box-shadow: 0 0 22px -4px rgba(var(--red-rgb), .6);
}
.lead__done h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.03em; }
.lead__done p { color: var(--ink-glass); }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lead { grid-template-columns: 1fr; }
  .lead__actions .btn { width: 100%; }
}

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px var(--gutter); border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); background: var(--bg-2);
}
.footer__brand { color: var(--ink); font-weight: 600; letter-spacing: .08em; display: inline-flex; align-items: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { align-items: end; }
  .hero__sphere, .hero__lines { --sd: 144vw; right: -42vw; top: 30%; }   /* +20%, mismo centro que antes */
  .hero__sphere { opacity: .8; }
  .note--1, .note--3 { display: none; }                                  /* en pantallas angostas, solo una */
  .note--2 { left: 30%; top: 37%; }
  .note__in { font-size: 13px; }

  .feat__grid { grid-template-columns: 1fr; }
  .feat__sphere { width: 130vw; right: -55vw; top: 18%; }

  .pisos__counter { top: 96px; transform: none; }
  .pisos__steps { top: auto; bottom: 32px; transform: none; gap: 8px; }
  .step { padding: 14px 16px; display: none; }
  .step.is-on { display: block; }
  .seq__shade--side { background: linear-gradient(180deg, var(--bg) 0%, rgba(14,15,17,.2) 30%, rgba(14,15,17,.2) 55%, var(--bg) 100%); }

  .who__grid { grid-template-columns: 1fr; }
  .who__card { min-height: 0; }
  .who__card h3 { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__sphere img, .note__in, .pulse::after, .beacon, .clock__colon { animation: none; }
  .hero__lights { display: none; }
}

/* La imagen de la esfera trae fondo casi negro: lo desvanecemos en círculo */
.hero__sphere img, .feat__sphere, .cta__sphere {
  -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%);
}


/* ==========================================================
   Sitio de varias páginas: menú móvil, cabecera de página,
   adelantos del inicio, preguntas frecuentes y "siguiente"
   ========================================================== */

/* ---------- Menú en pantallas angostas ---------- */
@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);
    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); }
}

/* ---------- Cabecera de cada página ---------- */
.page-head { padding: clamp(130px, 20vh, 200px) 0 clamp(48px, 8vh, 96px); background: var(--bg); }
.page-head__title { margin-top: 20px; font-size: clamp(44px, 7vw, 110px); font-weight: 500; letter-spacing: -.05em; line-height: .98; max-width: 1100px; }
.page-head__sub { margin-top: 24px; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 21px); max-width: 620px; }

/* ---------- "Siguiente" al final de cada página ---------- */
.next-page {
  display: grid; gap: 6px; padding: clamp(56px, 10vh, 100px) var(--gutter);
  border-top: 1px solid var(--line); background: var(--bg); transition: background .4s var(--ease);
}
.next-page:hover { background: var(--bg-2); }
.next-page__k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.next-page__t { font-size: clamp(36px, 5vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.next-page__t .kw { display: inline-block; transition: transform .4s var(--ease); }
.next-page:hover .next-page__t .kw { transform: translateX(10px); }
.next-page__l { color: var(--ink-2); font-size: 17px; }

/* ---------- Preguntas frecuentes ---------- */
.faq { padding: clamp(100px, 16vh, 180px) 0; background: var(--bg); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.02em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; color: var(--red); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }
.faq__item p { padding: 0 40px 26px 0; color: var(--ink-glass); font-size: 17px; line-height: 1.55; max-width: 640px; }
.faq__todo { color: var(--red) !important; font-family: var(--f-mono); font-size: 14px !important; }

@media (max-width: 767px) {
  .faq__wrap { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
}


/* ==========================================================
   Profundidad: capa de ambiente reutilizable
   Resplandor rojo + resplandor frío + cuadrícula de obra tenue.
   Va como primer hijo de la sección; el contenido queda encima.
   ========================================================== */
.atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.atmos::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(38% 46% at 88% 18%, rgba(var(--red-rgb), .16), transparent 70%),
    radial-gradient(42% 50% at 8% 86%, rgba(92, 120, 160, .14), transparent 72%),
    radial-gradient(60% 60% at 50% 50%, rgba(255,255,255,.025), transparent 70%);
}
.atmos::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 65% at 50% 45%, #000 0%, transparent 78%);
          mask-image: radial-gradient(70% 65% at 50% 45%, #000 0%, transparent 78%);
}
.oficina > :not(.atmos), .cta > :not(.atmos):not(.cta__sphere),
.contact > :not(.atmos), .band > :not(.atmos) { position: relative; z-index: 1; }
.oficina .atmos::before {
  background:
    radial-gradient(40% 40% at 15% 20%, rgba(var(--red-rgb), .12), transparent 70%),
    radial-gradient(45% 50% at 90% 75%, rgba(92, 120, 160, .16), transparent 72%);
}
.contact .atmos::before {
  background:
    radial-gradient(40% 45% at 85% 25%, rgba(var(--red-rgb), .13), transparent 70%),
    radial-gradient(45% 50% at 10% 80%, rgba(92, 120, 160, .12), transparent 72%);
}

/* ---------- Franjas hacia Plataforma y Nosotros ---------- */
.band { position: relative; overflow: hidden; padding: clamp(100px, 16vh, 170px) 0; background: var(--bg); }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.band__sub { margin: 22px 0 30px; color: var(--ink-glass); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 480px; }
.band .btn--ghost { justify-self: start; }
.band__text { display: grid; justify-items: start; }
/* Plataforma: esfera con órbitas */
.band__orbit { position: relative; display: block; width: min(560px, 100%); aspect-ratio: 1; justify-self: center; }
.band__sphere {
  position: absolute; left: 50%; top: 50%; width: 92%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%);
  -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%);
}
.band__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.band__rings ellipse { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.band__dot { fill: #F2F0EC; filter: drop-shadow(0 0 6px rgba(242,240,236,.7)); }
.band__dot--red { fill: var(--red); filter: drop-shadow(0 0 8px rgba(var(--red-rgb), .9)); }
.band__chip { position: absolute; font-size: 13px; white-space: nowrap; padding: 8px 14px; }
.band__chip--1 { left: -2%; top: 22%; }
.band__chip--2 { right: -4%; top: 46%; }
.band__chip--3 { left: 8%; bottom: 16%; }

/* ---------- Para quién: fondo con el edificio ---------- */
.who { position: relative; overflow: hidden; isolation: isolate; }
.who__bg {
  position: absolute; inset: -40px; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(14,15,17,.72) 30%, rgba(14,15,17,.78) 70%, var(--bg) 100%),
              url("assets/img/poster-fachada.webp") center 35% / cover;
  filter: blur(6px) saturate(.9);
}
.who__sub { margin-top: 20px; color: var(--ink-glass); font-size: clamp(17px, 1.4vw, 20px); max-width: 560px; }
.who .glass { background: rgba(20,21,25,.55); }

/* ---------- Contacto + preguntas ---------- */
.contact { position: relative; overflow: hidden; }
.contact__faq { margin-top: clamp(64px, 10vh, 110px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.contact__faq-title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.03em; }

@media (max-width: 900px) {
  .band__grid, .contact__faq { grid-template-columns: 1fr; }
  .band--pl .band__orbit { order: -1; width: min(420px, 100%); }
  .band__chip { font-size: 12px; }
  .band__chip--2 { right: 0; }
}
@media (max-width: 600px) {
  .hero__facts li { padding: 10px 14px; }
  .hero__facts b { font-size: 15px; }
  .hero__facts span { font-size: 12px; }
}


/* ==========================================================
   Celular: ninguna sección queda fija, ritmo vertical parejo
   ========================================================== */
@media (max-width: 767px) {
  /* Pisos: foto del edificio arriba y los 4 pasos en lista */
  .seq--pisos { height: auto; }
  .seq__stage { position: relative; height: auto; overflow: visible; padding-bottom: 8px; }
  .seq__video--pisos { position: relative; inset: auto; display: block; height: 58svh; min-height: 360px; object-position: 45% 40%; }
  .seq__shade--side { bottom: auto; height: 58svh; min-height: 360px; background: linear-gradient(180deg, var(--bg) 0%, rgba(14,15,17,.1) 25%, rgba(14,15,17,.15) 65%, var(--bg) 100%); }
  .pisos__counter { top: 64px; left: var(--gutter); transform: none; }
  .pisos__steps { position: relative; top: auto; right: auto; bottom: auto; width: auto; transform: none; margin: -40px var(--gutter) 0; display: grid; gap: 10px; }
  .step, .step.is-on { display: block; opacity: 1; transform: none; padding: 16px 18px; }
  .step .step__k { color: var(--red); }

  /* Ritmo: márgenes parejos y sin huecos */
  .oficina, .band, .who, .contact, .feat { padding-top: 72px; padding-bottom: 72px; }
  .cta { min-height: 0; padding: 72px var(--gutter) 40px; }
  .of-views, .contact__faq { margin-top: 48px; }
  .feat__item { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .h2 { font-size: clamp(34px, 9.6vw, 48px); }
}
@media (min-width: 768px) {
  .oficina, .band, .who, .contact { padding-top: clamp(80px, 11vh, 120px); padding-bottom: clamp(80px, 11vh, 120px); }
}

/* Fondos: los resplandores se desvanecen arriba y abajo, sin bordes rectos entre secciones */
.atmos {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
@media (max-width: 767px) {
  .atmos::before {
    inset: 0;
    background:
      radial-gradient(circle 60vw at 92% 22%, rgba(var(--red-rgb), .13), transparent 100%),
      radial-gradient(circle 70vw at 6% 80%, rgba(92, 120, 160, .12), transparent 100%);
  }
  .oficina .atmos::before, .contact .atmos::before { background:
      radial-gradient(circle 60vw at 90% 20%, rgba(var(--red-rgb), .11), transparent 100%),
      radial-gradient(circle 70vw at 8% 82%, rgba(92, 120, 160, .11), transparent 100%); }
}


/* ==========================================================
   Panel arriba: tarjetas flotantes y "Camila recomienda"
   ========================================================== */
.of-kpi { width: 210px; padding: 16px 18px; }
.of-kpi--speed { left: 0; top: 70px; }
.of-kpi--visits { right: 0; top: 38%; }
.of-kpi__v { display: flex; align-items: baseline; gap: 6px; }
.of-kpi__v b { font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -.03em; color: var(--of-name); }
.of-kpi--speed .of-kpi__v b { color: #fff; text-shadow: 0 0 24px rgba(var(--red-rgb), .55); }
.of-kpi__v span { font-size: 14px; color: var(--of-data); }
.of-kpi__s { margin-top: 6px; font-size: 12px; line-height: 1.4; color: var(--of-min); }
.of-kpi__spark { display: block; width: 100%; height: 28px; margin-top: 8px; }
.of-kpi__spark polyline { fill: none; stroke: #3FB68B; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ch-ico { width: 16px; height: 16px; flex: none; }
.of-main { position: relative; }
.of-camila {
  position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 300px; padding: 16px;
  border-radius: 16px; background: rgba(24,18,20,.92); border: 1px solid rgba(var(--red-rgb), .45);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), 0 0 30px -10px rgba(var(--red-rgb), .5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.of-camila__head { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--of-name); }
.of-camila__av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(150deg, #F23A3F, #8E1C21); }
.of-camila__ia { margin-left: auto; padding: 2px 7px; border-radius: 6px; font-size: 10px; color: #FFB8BA; border: 1px solid rgba(var(--red-rgb), .5); }
.of-camila__txt { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--of-data); }
.of-camila__txt b { color: var(--of-name); font-weight: 500; }
.of-camila__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.of-camila__list li { position: relative; padding-left: 18px; font-size: 12.5px; color: var(--of-name); }
.of-camila__list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); }
.of-camila__btn { display: block; margin-top: 12px; padding: 9px; border-radius: 10px; text-align: center; font-size: 13px; font-weight: 500; color: #fff; background: #D92D33; }

/* Oferta de baja fricción debajo de los botones */
.hero__offer, .cta__offer { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.hero__offer b { color: var(--ink); font-weight: 500; }
.lead__head { margin-bottom: 22px; }
.lead__title { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.lead__title::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 10px 3px 0; border-radius: 50%; background: var(--red); box-shadow: var(--glow); }
.lead__sub { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* ==========================================================
   Bento de capacidades (6 celdas con mini visual)
   ========================================================== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.bento__cell { display: flex; flex-direction: column; padding: 22px; min-height: 280px; }
.bento__cell--wide { grid-column: span 2; }
.bento__cell h3 { margin-top: auto; padding-top: 18px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.02em; }
.bento__cell p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-glass); max-width: 520px; }
.bento__vis { min-height: 110px; display: grid; align-content: center; }
.soon-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 99px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); border: 1px solid rgba(255,255,255,.2); }
/* Responde: cronómetro */
.bv-timer { gap: 10px; }
.bv-timer__k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.bv-timer__v { font-size: clamp(44px, 5vw, 72px); font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.bv-timer__v b { font-weight: 500; color: var(--red); text-shadow: 0 0 24px rgba(var(--red-rgb), .5); }
.bv-timer__bar { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; max-width: 420px; }
.bv-timer__bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(.07); }
.is-in .bv-timer__bar i { animation: bvFill 3.2s var(--ease) infinite; }
@keyframes bvFill { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
/* Califica: medidor */
.bv-score { position: relative; justify-items: center; }
.bv-score svg { width: 170px; height: auto; }
.bv-score path { fill: none; stroke-width: 9; stroke-linecap: round; }
.bv-score__bg { stroke: rgba(255,255,255,.1); }
.bv-score__fg { stroke: var(--red); stroke-dasharray: 87 100; filter: drop-shadow(0 0 6px rgba(var(--red-rgb), .6)); }
.js .bento__cell:not(.is-in) .bv-score__fg { stroke-dasharray: 0 100; }
.is-in .bv-score__fg { transition: stroke-dasharray 1.6s var(--ease) .3s; }
.bv-score b { position: absolute; bottom: 4px; font-size: 32px; font-weight: 500; }
.bv-score span { position: absolute; bottom: -14px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
/* Agenda: chips */
.bv-agenda { gap: 10px; }
.bv-agenda__row { display: flex; gap: 8px; }
.bv-agenda__row span { flex: 1; padding: 9px 0; text-align: center; border-radius: 10px; font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); }
.bv-agenda__row span.is-on { color: var(--ink); border-color: var(--red); background: rgba(var(--red-rgb), .1); }
.is-in .bv-pulse { animation: bvPulse 2.2s ease-in-out infinite; }
@keyframes bvPulse { 50% { box-shadow: 0 0 0 5px rgba(var(--red-rgb), .15), 0 0 18px rgba(var(--red-rgb), .45); } }
/* Avisa al asesor */
.bv-alert__card { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; color: var(--ink-glass); background: rgba(34,48,70,.6); border: 1px solid rgba(143,177,245,.35); }
.bv-alert__card b { color: var(--ink); font-weight: 500; }
.bv-alert__dot { flex: none; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #8FB1F5; box-shadow: 0 0 10px #8FB1F5; }
.js .bento__cell:not(.is-in) .bv-alert__card { opacity: 0; transform: translateY(14px); }
.is-in .bv-alert__card { transition: opacity .7s var(--ease) .4s, transform .7s var(--ease) .4s; }
/* Seguimiento: barras */
.bv-bars { grid-template-columns: repeat(3, 1fr); align-items: end; gap: 14px; height: 110px; }
.bv-bars span { display: grid; gap: 6px; height: 100%; align-content: end; }
.bv-bars i { display: block; height: calc(var(--h) * 80px); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(var(--red-rgb), .85), rgba(var(--red-rgb), .25)); transform-origin: bottom; }
.js .bento__cell:not(.is-in) .bv-bars i { transform: scaleY(0); }
.is-in .bv-bars i { transition: transform 1s var(--ease); }
.is-in .bv-bars span:nth-child(2) i { transition-delay: .15s; } .is-in .bv-bars span:nth-child(3) i { transition-delay: .3s; }
.bv-bars em { font-style: normal; font-size: 10px; text-align: center; color: var(--ink-2); }
/* Multicanal: logos */
.bv-channels { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bv-channels span { display: grid; justify-items: center; gap: 8px; padding: 16px 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.bv-channels .ch-ico { width: 34px; height: 34px; }
.bv-channels em { font-style: normal; font-size: 12px; color: var(--ink-2); }
.is-in .bv-channels span { animation: bvFloat 4s ease-in-out infinite; }
.is-in .bv-channels span:nth-child(2) { animation-delay: -1s; } .is-in .bv-channels span:nth-child(3) { animation-delay: -2s; } .is-in .bv-channels span:nth-child(4) { animation-delay: -3s; }
@keyframes bvFloat { 50% { transform: translateY(-6px); } }

/* ==========================================================
   Camila hace / Tu equipo hace
   ========================================================== */
.duo { position: relative; overflow: hidden; padding: clamp(80px, 11vh, 120px) 0; background: var(--bg); }
.duo > .wrap, .stop > .wrap { position: relative; z-index: 1; }
.duo__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 48px; }
.duo__col { padding: 26px; }
.duo__col--camila { border-color: rgba(var(--red-rgb), .4); }
.duo__col--team { border-color: rgba(143,177,245,.35); }
.duo__who { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.duo__who b { font-weight: 500; }
.duo__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(150deg, #F23A3F, #8E1C21); }
.duo__av--team { font-size: 11px; background: linear-gradient(150deg, #5B7FB8, #263852); }
.duo__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.duo__list li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; color: var(--ink-glass); }
.duo__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 600; }
.duo__col--team .duo__list li::before { color: #8FB1F5; }
.duo__arrow { display: grid; justify-items: center; gap: 8px; }
.duo__arrow span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); writing-mode: vertical-rl; transform: rotate(180deg); }
.duo__arrow i { position: relative; width: 44px; height: 2px; background: linear-gradient(90deg, var(--red), #8FB1F5); }
.duo__arrow i::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid #8FB1F5; }
.duo__close { margin-top: 36px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; text-align: center; }

/* ==========================================================
   Lo que dejas de hacer (acordeón + ficha)
   ========================================================== */
.stop__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.stop__list { margin-top: 32px; border-top: 1px solid var(--line); }
.stop__item { border-bottom: 1px solid var(--line); }
.stop__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.02em; }
.stop__item summary::-webkit-details-marker { display: none; }
.stop__item summary::before { content: "✕"; flex: none; order: -1; font-size: 14px; color: var(--red); }
.stop__item summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 300; color: var(--ink-2); transition: transform .3s var(--ease); }
.stop__item[open] summary::after { content: "−"; }
.stop__item summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }
.stop__item p { padding: 0 0 20px 30px; font-size: 16px; line-height: 1.55; color: var(--ink-glass); max-width: 560px; }
.stop__mock { position: relative; display: grid; gap: 12px; }
.stop__chip { justify-self: start; padding: 6px 12px; border-radius: 99px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.of-ficha--solo { box-shadow: 0 40px 90px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.04); }

/* Pills de estado vivas (franja Plataforma) */
.live-pill { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 8px; border-radius: 99px; font-style: normal; font-size: 11px; color: #9fe0b5; background: rgba(63,182,139,.12); border: 1px solid rgba(63,182,139,.35); }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #3FB68B; box-shadow: 0 0 8px #3FB68B; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .35; } }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--wide { grid-column: span 2; }
}
@media (max-width: 767px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell, .bento__cell--wide { grid-column: auto; min-height: 0; }
  .bv-channels { grid-template-columns: repeat(2, 1fr); }
  .duo__grid { grid-template-columns: 1fr; }
  .duo__arrow { padding: 4px 0; }
  .duo__arrow span { writing-mode: horizontal-tb; transform: none; }
  .duo__arrow i { width: 2px; height: 28px; background: linear-gradient(180deg, var(--red), #8FB1F5); }
  .duo__arrow i::after { right: -4px; top: auto; bottom: -8px; border: 5px solid transparent; border-top: 7px solid #8FB1F5; }
  .duo__close { text-align: left; }
  .stop__grid { grid-template-columns: 1fr; }
  .duo { padding: 72px 0 40px; }
  .duo + .stop { padding-top: 40px; }
  .of-kpi__v b { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .bv-timer__bar i, .bv-pulse, .bv-channels span, .live-pill i { animation: none !important; }
  .bv-score__fg, .bv-alert__card, .bv-bars i { transition: none !important; }
}
