/* Shared Okai styles: /okai/ and the niche landings under /okai/<niche>/. */
/* Tipografías de la marca: Gilroy y Lumios Marker si están instaladas; si no, Outfit y Caveat (Google Fonts). */
@font-face { font-family: 'Okai Titular'; src: local('Gilroy-Heavy'), local('Gilroy Heavy'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Okai Titular'; src: local('Gilroy-Black'), local('Gilroy Black'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Okai Marcador'; src: local('Lumios Marker'), local('LumiosMarker'); font-display: swap; }

:root {
  --azul: #1E304C; --azul-2: #27406A; --azul-noche: #15233A;
  --menta: #36E8B5; --menta-suave: #DDFBF2; --brillante: #00AFEF;
  --celeste-1: #F1F9FE; --celeste-2: #E4F3FC; --celeste-3: #D5ECF9;
  --texto: #3A4E6D; --texto-claro: #C9D6EA; --blanco: #FFFFFF; --wa: #25D366; --error: #B3261E;
  --titular: 'Okai Titular', 'Outfit', system-ui, sans-serif;
  --cuerpo: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --marcador: 'Okai Marcador', 'Caveat', cursive;
  --radio: 24px; --sombra: 0 24px 50px rgba(30, 48, 76, .16);
  --ancho: 1200px; --margen: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--cuerpo); font-size: 17px; line-height: 1.55; color: var(--azul); background: var(--celeste-1); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .titulo-hero { font-family: var(--titular); font-weight: 800; letter-spacing: -.02em; line-height: 1.04; }
h2 { font-size: clamp(30px, 6.4vw, 48px); font-weight: 700; letter-spacing: -.015em; line-height: 1.08; }
.cont { width: 100%; max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); }
.seccion { position: relative; padding: 76px 0; overflow: hidden; }
.centro { text-align: center; }
.sub { font-size: clamp(17px, 2.4vw, 21px); font-weight: 500; color: var(--texto); margin-top: 16px; max-width: 40em; }
.centro .sub { margin-left: auto; margin-right: auto; }
.oscura { background: var(--azul); color: var(--blanco); }
.oscura .sub { color: var(--texto-claro); }
.ico { width: 1em; height: 1em; flex: none; }
.marcador { font-family: var(--marcador); font-weight: 700; color: var(--brillante); line-height: 1; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Foco visible en todo lo que se puede tocar */
:focus-visible { outline: 3px solid var(--brillante); outline-offset: 3px; border-radius: 10px; }
.oscura :focus-visible, .barra-movil :focus-visible { outline-color: var(--menta); }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.saltar:focus { top: 12px; }

/* ---------- Los 3 CTA ---------- */
/* 1 · Formulario: botón lleno menta con texto azul */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 28px; border-radius: 999px;
  font-family: var(--cuerpo); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center; cursor: pointer; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-okai { background: var(--menta); color: var(--azul); box-shadow: inset 0 -3px 0 rgba(30, 48, 76, .14); }
.btn-okai:hover { background: #2FD9A8; }
.btn-okai .flecha { width: 20px; height: 20px; transition: transform .18s ease; }
.btn-okai:hover .flecha { transform: translateX(3px); }
.btn-chico { min-height: 48px; padding: 10px 22px; font-size: 16px; }
/* 2 · Demo: botón con borde e ícono de WhatsApp */
.btn-demo { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.btn-demo:hover { background: rgba(30, 48, 76, .06); }
.oscura .btn-demo { color: var(--blanco); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.oscura .btn-demo:hover { background: rgba(255, 255, 255, .08); }
.btn-demo .wa { width: 24px; height: 24px; color: var(--wa); }
/* 3 · Brochure: enlace de texto subrayado */
.enlace-pdf { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; padding: 6px 2px; }
.enlace-pdf .ico { width: 20px; height: 20px; }
.enlace-pdf:hover { text-decoration-color: var(--brillante); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 32px; }
.centro .acciones { justify-content: center; }

/* ---------- Encabezado ---------- */
.encabezado { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(30, 48, 76, .08); }
.encabezado .cont { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.encabezado .logo img { height: 44px; width: auto; }
.encabezado .btn { display: none; }
.enlace-login { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--azul); text-decoration: none; padding: 8px 2px; transition: color .18s ease; }
.enlace-login:hover { color: var(--brillante); }

/* ---------- 1 · Hero ---------- */
.hero { background: linear-gradient(180deg, rgba(20, 34, 58, .35) 0%, rgba(20, 34, 58, .15) 45%, rgba(14, 24, 42, .5) 100%), url("/okai/img/hero-fondo-movil.webp") center / cover no-repeat, var(--azul-noche); color: var(--blanco); padding: 48px 0 72px; }
.hero::before { content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88'%3E%3Cpath d='M20 22h34a8 8 0 0 1 8 8v16a8 8 0 0 1-8 8H34l-10 8v-8h-4a8 8 0 0 1-8-8V30a8 8 0 0 1 8-8z' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); }
.hero .cont { position: relative; display: grid; gap: 48px; }
.etiqueta { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--blanco); }
h1.etiqueta { font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .01em; line-height: 1.3; }
.etiqueta img { width: 28px; height: 28px; background: #fff; border-radius: 50%; padding: 4px; }
.hero .titulo-hero { font-size: clamp(50px, 14vw, 112px); line-height: .98; margin-top: 22px; letter-spacing: -.03em; }
.hero .titulo-hero .okai { color: var(--menta); font-weight: 900; }
.hero .sub { color: #DCE7F5; margin-top: 22px; }
.precio-pastilla { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 24px; padding: 10px 20px; border-radius: 16px 16px 16px 4px; background: rgba(54, 232, 181, .12); border: 1px solid rgba(54, 232, 181, .45); font-weight: 600; color: var(--blanco); }
.precio-pastilla b { font-family: var(--titular); font-size: 24px; color: var(--menta); letter-spacing: -.01em; }
.hero .acciones { margin-top: 32px; }
.hero .acciones.solo-pc { display: none; }
.hero .enlace-pdf { color: var(--blanco); }
.hero .acciones .btn { width: 100%; }

/* El celular con el chat de ejemplo y las piezas del ecosistema alrededor */
.escena { position: relative; display: grid; justify-items: center; }
.celular { position: relative; width: min(320px, 86vw); aspect-ratio: 320 / 640; border-radius: 46px; padding: 12px; background: linear-gradient(145deg, #3B4A63, #0E1828); box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .12); }
.pantalla { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #EFF4F8; display: flex; flex-direction: column; }
.pantalla::before { content: ''; position: absolute; top: 9px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 999px; background: #0E1828; z-index: 2; }
.chat-cabeza { display: flex; align-items: center; gap: 10px; padding: 46px 16px 12px; background: var(--azul); color: #fff; }
.chat-cabeza .avatar { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.chat-cabeza .avatar img { width: 24px; }
.chat-cabeza b { display: block; font-size: 15px; line-height: 1.1; }
.chat-cabeza small { font-size: 12px; color: var(--menta); display: flex; align-items: center; gap: 5px; }
.chat-cabeza small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--menta); }
.chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; font-size: 13.5px; line-height: 1.38;
  background-image: radial-gradient(rgba(30, 48, 76, .07) 1px, transparent 1px); background-size: 14px 14px; }
.msj { max-width: 82%; padding: 8px 12px 6px; border-radius: 14px; box-shadow: 0 1px 2px rgba(30, 48, 76, .12); color: var(--azul); }
.msj small { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 10.5px; color: #6B7A92; margin-top: 2px; }
.msj.cliente { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.msj.okai { align-self: flex-end; background: var(--menta-suave); border-top-right-radius: 4px; }
.msj .vistos { width: 15px; height: 15px; color: var(--brillante); }
.horas { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.horas span { padding: 3px 9px; border-radius: 999px; border: 1.5px solid var(--azul); font-weight: 600; font-size: 12px; }
.horas span.si { background: var(--menta); border-color: var(--menta); }
.fecha-chat { align-self: center; font-size: 11px; font-weight: 600; color: #6B7A92; background: #fff; padding: 2px 10px; border-radius: 8px; }
.ficha-eco { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .97); color: var(--azul); box-shadow: 0 18px 36px rgba(0, 0, 0, .28); font-size: 14px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.ficha-eco .circ { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--menta); flex: none; }
.ficha-eco .circ .ico { width: 20px; height: 20px; }
.ficha-eco small { display: block; font-weight: 500; font-size: 12px; color: #52627D; }
.fichas-eco { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.nota-marcador { font-size: 34px; margin-top: 18px; text-align: center; }

/* ---------- 2 · Problema ---------- */
.problema { background: linear-gradient(180deg, var(--celeste-1), var(--celeste-2)); }
.problema .cont { display: grid; gap: 44px; }
.bloques { display: grid; gap: 14px; margin-top: 32px; }
.bloque { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border-radius: 20px; box-shadow: 0 10px 26px rgba(30, 48, 76, .08); font-weight: 500; }
.bloque .circ { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--celeste-2); flex: none; }
.bloque .circ .ico { width: 24px; height: 24px; color: var(--azul); }
.pila { position: relative; display: grid; justify-items: start; gap: 12px; align-content: center; padding: 28px 20px; border-radius: 28px; background: linear-gradient(160deg, #fff, var(--celeste-2)); box-shadow: var(--sombra); }
.pila .msj { font-size: 15px; max-width: 78%; }
.pila .fecha-chat { justify-self: center; }
.pila .msj.okai { justify-self: end; }
.pila .msj.cliente small { color: #8A97AB; }
.pila .visto { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #8A97AB; }
.pila .visto .ico { width: 16px; height: 16px; }
.pila .msj.okai { box-shadow: 0 4px 12px rgba(30, 48, 76, .1); }
.pila .msj.okai b { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 2px; }
.pila .msj.okai b img { width: 16px; }

/* ---------- 3 · Cómo funciona ---------- */
.pasos-sec { background: var(--blanco); }
.pasos { position: relative; display: grid; gap: 18px; margin-top: 44px; counter-reset: paso; list-style: none; padding: 0; }
.pasos::before { content: ''; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 4px; border-radius: 4px; background: var(--celeste-3); }
.pasos::after { content: ''; position: absolute; left: 39px; top: 40px; width: 4px; height: 0; border-radius: 4px; background: linear-gradient(var(--brillante), var(--menta)); transition: height 1.4s ease .2s; }
.pasos.visible::after { height: calc(100% - 80px); }
.paso { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 18px; align-items: center; padding: 22px 22px 22px 0; text-align: left; }
.paso .num { position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--blanco); border: 4px solid var(--celeste-3); transition: border-color .4s ease, background-color .4s ease, box-shadow .4s ease; }
.paso .num .ico { width: 34px; height: 34px; color: var(--azul); }
.pasos.visible .paso .num { border-color: var(--menta); background: var(--menta-suave); box-shadow: 0 0 0 8px rgba(54, 232, 181, .14); }
.pasos.visible .paso:nth-child(2) .num { transition-delay: .5s; }
.pasos.visible .paso:nth-child(3) .num { transition-delay: 1s; }
.paso .n { font-family: var(--titular); font-size: 15px; font-weight: 800; color: var(--brillante); letter-spacing: .08em; }
.paso h3 { font-size: 26px; margin-top: 2px; }
.paso p { color: var(--texto); margin-top: 6px; font-weight: 500; }

/* ---------- 4 · Ecosistema ---------- */
.ecosistema { background: linear-gradient(180deg, var(--azul), var(--azul-noche)); }
.orbita { position: relative; margin: 48px auto 0; display: grid; gap: 12px; max-width: 1100px; }
.nucleo { position: relative; display: grid; place-items: center; width: 180px; height: 180px; margin: 0 auto 20px; }
.nucleo .anillo { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(54, 232, 181, .45); }
.nucleo .anillo.dos { inset: -26px; border-style: solid; border-color: rgba(0, 175, 239, .25); }
.nucleo .centro-okai { width: 120px; height: 120px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08); }
.nucleo .centro-okai img { width: 70px; }
.funcion { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 18px 14px 14px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-weight: 600; font-size: 16px; line-height: 1.35; color: var(--blanco); }
.funcion .circ { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--menta); flex: none; }
.funcion .circ .ico { width: 22px; height: 22px; color: var(--azul); }
.adicional { position: relative; display: flex; align-items: center; gap: 14px; margin: 30px auto 0; max-width: 640px; padding: 18px 20px; border-radius: 20px; border: 2px dashed rgba(54, 232, 181, .6); font-weight: 600; color: var(--blanco); text-align: left; }
.adicional .circ { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--menta); color: var(--menta); flex: none; }
.adicional .circ .ico { width: 22px; height: 22px; }
.adicional .rotulo { position: absolute; top: -13px; left: 20px; padding: 2px 12px; border-radius: 999px; background: var(--menta); color: var(--azul); font-size: 13px; font-weight: 600; }

/* ---------- 5 · Negocios ---------- */
.negocios { background: linear-gradient(180deg, var(--celeste-1), var(--celeste-3)); }
.tarjetas-neg { display: grid; gap: 16px; margin-top: 40px; }
.neg { position: relative; overflow: hidden; border-radius: var(--radio); min-height: 260px; display: flex; align-items: flex-end; color: var(--blanco); box-shadow: var(--sombra); isolation: isolate; }
.neg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: -2; }
.neg::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 35, 58, 0) 30%, rgba(21, 35, 58, .88) 78%, rgba(21, 35, 58, .96)); }
.neg .txt { padding: 22px; }
.neg h3 { display: inline-block; font-size: 15px; font-family: var(--cuerpo); font-weight: 700; letter-spacing: .02em; background: var(--menta); color: var(--azul); padding: 4px 12px; border-radius: 999px; }
.neg p { font-family: var(--titular); font-weight: 800; font-size: 23px; line-height: 1.12; margin-top: 10px; letter-spacing: -.01em; }
.neg h3 a { color: inherit; text-decoration: none; }
.neg h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.mas-nichos { margin-top: 28px; font-weight: 600; color: var(--texto); }
.mas-nichos a { font-weight: 700; color: var(--azul); text-underline-offset: 4px; }
.linea-neg { font-family: var(--titular); font-weight: 800; font-size: clamp(22px, 4vw, 32px); line-height: 1.2; margin-top: 44px; }
.linea-neg span { color: var(--brillante); }

/* ---------- 6 · Planes ---------- */
.planes { background: var(--blanco); }
.tarjeta-plan { position: relative; max-width: 760px; margin: 0 auto; padding: 44px 24px; border-radius: 32px; text-align: center; background: linear-gradient(160deg, var(--celeste-1), var(--celeste-3)); box-shadow: var(--sombra); overflow: hidden; }
.tarjeta-plan > * { position: relative; z-index: 1; }
.precio-grande { display: inline-flex; flex-direction: column; align-items: center; margin-top: 26px; padding: 18px 34px 20px; border-radius: 30px 30px 30px 8px; background: var(--azul); color: var(--blanco); box-shadow: 0 22px 40px rgba(30, 48, 76, .3); }
.precio-grande .desde { font-size: 16px; font-weight: 600; color: var(--texto-claro); }
.precio-grande .cifra { font-family: var(--titular); font-weight: 900; font-size: clamp(52px, 13vw, 88px); line-height: 1; color: var(--menta); letter-spacing: -.03em; }
.precio-grande .mes { font-size: 18px; font-weight: 600; }
.tarjeta-plan .texto { margin: 18px auto 0; max-width: 34em; color: var(--texto); font-weight: 500; }
.planes .cont { text-align: center; }
.selector-pago { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 999px; background: var(--celeste-2); box-shadow: inset 0 0 0 1px rgba(30, 48, 76, .08); }
.selector-pago button { min-height: 46px; padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--azul); font: 700 16px/1.2 var(--cuerpo); cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.selector-pago button[aria-pressed="true"] { background: var(--azul); color: var(--blanco); box-shadow: 0 8px 18px rgba(30, 48, 76, .25); }
.selector-pago .ahorro { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--menta); color: var(--azul); font-size: 12px; }
.nota-anual { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--texto); min-height: 1.5em; }
.grilla-planes { display: grid; gap: 20px; margin-top: 34px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 24px 28px; border-radius: 28px; background: linear-gradient(170deg, var(--celeste-1), var(--celeste-3)); box-shadow: var(--sombra); }
.plan.destacado { background: linear-gradient(165deg, #22385A, var(--azul) 55%, var(--azul-noche)); color: var(--blanco); }
.plan h3 { font-size: 30px; }
.plan .para { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--texto); min-height: 3em; }
.plan.destacado .para, .plan.destacado .equivale { color: var(--texto-claro); }
.plan .valor { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 18px; }
.plan .cifra { font-family: var(--titular); font-weight: 900; font-size: clamp(38px, 9vw, 46px); line-height: 1; letter-spacing: -.03em; color: var(--azul); }
.plan.destacado .cifra { color: var(--menta); }
.plan .periodo { font-weight: 600; }
.plan .equivale { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--texto); min-height: 1.5em; }
.plan .equivale b { color: #178A64; }
.plan.destacado .equivale b { color: var(--menta); }
.plan ul { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(30, 48, 76, .12); display: grid; gap: 10px; font-size: 15px; }
.plan.destacado ul { border-top-color: rgba(255, 255, 255, .18); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ico { width: 20px; height: 20px; margin-top: 2px; color: #178A64; }
.plan.destacado li .ico { color: var(--menta); }
.plan li.no { opacity: .55; }
.plan li.no .ico { color: currentColor; }
.plan li b { font-weight: 700; }
.plan .btn { margin-top: auto; width: 100%; }
.plan .pie-plan { margin-top: 24px; }
.nota-iva { margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--texto); }
.adicionales { margin: 40px auto 0; max-width: 980px; padding: 26px 24px; border-radius: 24px; background: var(--celeste-1); border: 2px dashed rgba(30, 48, 76, .18); }
.adicionales h3 { font-size: clamp(22px, 4vw, 28px); }
.adicionales .precio-adic { margin-top: 6px; font-weight: 600; color: var(--texto); }
.adicionales .precio-adic b { color: var(--azul); }
.adicionales .chips + .precio-adic { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--blanco); font-size: 14px; font-weight: 600; box-shadow: 0 4px 12px rgba(30, 48, 76, .08); }
.letra-pequena { max-width: 820px; margin: 22px auto 0; text-align: left; }
.letra-pequena summary { cursor: pointer; font-weight: 700; text-align: center; list-style: none; text-decoration: underline; text-underline-offset: 4px; }
.letra-pequena summary::-webkit-details-marker { display: none; }
.letra-pequena .detalle { display: grid; gap: 18px; margin-top: 18px; padding: 22px; border-radius: 20px; background: var(--celeste-1); font-size: 15px; }
.letra-pequena h4 { margin: 0 0 6px; font-size: 16px; color: var(--azul); }
.letra-pequena ul { margin: 0; padding-left: 20px; }
.btn-pdf { background: var(--blanco); color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.btn-pdf:hover { background: var(--celeste-1); }
.btn-pdf .ico { width: 22px; height: 22px; }

/* ---------- 7 · Demo ---------- */
.demo { background: linear-gradient(180deg, var(--celeste-2), var(--celeste-1)); }
.demo .cont { display: grid; gap: 48px; align-items: center; }
.sello { position: relative; display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 16px 24px 16px 16px; background: var(--menta); color: var(--azul); border-radius: 18px; font-family: var(--titular); font-weight: 900; font-size: clamp(24px, 5.6vw, 34px); line-height: 1.05; letter-spacing: -.01em; }
.sello::before, .sello::after { content: ''; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--celeste-2); }
.sello::before { left: -8px; } .sello::after { right: -8px; }
.sello .estrella { width: 44px; height: 44px; flex: none; color: var(--azul); }
.demo .texto { margin-top: 20px; font-weight: 600; }
.demo .acciones { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }
.demo .btn-demo { min-height: 64px; font-size: 18px; padding: 16px 30px; background: var(--blanco); box-shadow: inset 0 0 0 3px var(--azul), 0 16px 34px rgba(30, 48, 76, .14); }
.demo .btn-demo .wa { width: 28px; height: 28px; }
.micro { font-size: 14px; color: var(--texto); }
.numero { font-weight: 700; color: var(--azul); }
.celular-demo { width: min(300px, 80vw); aspect-ratio: 300 / 470; margin: 0 auto; }
.celular-demo .chat { justify-content: flex-end; }
.redactar { display: flex; align-items: flex-end; gap: 8px; padding: 10px; background: #E3EAF1; }
.redactar .caja-txt { flex: 1; padding: 9px 12px; border-radius: 18px; background: #fff; font-size: 13.5px; line-height: 1.35; color: var(--azul); box-shadow: 0 1px 2px rgba(30, 48, 76, .1); }
.redactar .enviar { width: 40px; height: 40px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex: none; }
.redactar .enviar .ico { width: 18px; height: 18px; color: #fff; }

/* ---------- 8 · Brochure (la franja más pequeña) ---------- */
.brochure { position: relative; z-index: 1; padding: 44px 0; background: var(--azul); color: var(--blanco); }
.brochure .cont { display: grid; gap: 26px; align-items: center; justify-items: center; text-align: center; }
.portada { width: 140px; border-radius: 10px; box-shadow: 0 24px 40px rgba(0, 0, 0, .4); transform: perspective(700px) rotateY(-14deg) rotateX(4deg); }
.brochure h2 { font-size: clamp(26px, 5vw, 36px); }
.brochure .sub { margin-top: 8px; font-size: 16px; }
.brochure .btn-pdf { background: transparent; color: var(--blanco); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.brochure .btn-pdf:hover { background: rgba(255, 255, 255, .08); }
.brochure .micro { color: var(--texto-claro); margin-top: 8px; }

/* ---------- 9 · Preguntas ---------- */
.preguntas { background: var(--blanco); }
.acordeon { max-width: 820px; margin: 40px auto 0; display: grid; gap: 12px; text-align: left; }
.acordeon details { border-radius: 18px; background: var(--celeste-1); border: 1px solid rgba(30, 48, 76, .08); transition: background-color .2s ease; }
.acordeon details[open] { background: var(--celeste-2); }
.acordeon summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 17px; border-radius: 18px; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary .mas { width: 32px; height: 32px; border-radius: 50%; background: var(--azul); color: var(--menta); display: grid; place-items: center; flex: none; transition: transform .25s ease; }
.acordeon summary .mas .ico { width: 16px; height: 16px; }
.acordeon details[open] summary .mas { transform: rotate(45deg); }
.acordeon .resp { padding: 0 20px 20px; color: var(--texto); font-weight: 500; }
.acordeon .resp a { font-weight: 700; color: var(--azul); text-underline-offset: 3px; }

/* ---------- 10 · Formulario ---------- */
.formulario { background: url("/okai/img/form-fondo-movil.webp") center / cover no-repeat, var(--celeste-2); }
.formulario .cont { display: grid; gap: 36px; }
.tarjeta-form { padding: 28px 20px; border-radius: 28px; background: var(--blanco); box-shadow: var(--sombra); }
.campo { display: grid; gap: 6px; margin-bottom: 18px; }
.campo label, .campo .etq { font-weight: 700; font-size: 15px; }
.campo input, .campo select, .autorizacion input { scroll-margin-top: 110px; }
.campo input, .campo select { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 14px; border: 2px solid #C5D3E3; background: #fff; font: 500 16px/1.3 var(--cuerpo); color: var(--azul); transition: border-color .15s ease, box-shadow .15s ease; }
.campo select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231E304C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.campo input::placeholder { color: #6B7A92; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--brillante); box-shadow: 0 0 0 4px rgba(0, 175, 239, .2); }
.campo [aria-invalid="true"] { border-color: var(--error); }
.tel { display: flex; }
.tel .prefijo { display: grid; place-items: center; padding: 0 14px; border: 2px solid #C5D3E3; border-right: 0; border-radius: 14px 0 0 14px; background: var(--celeste-1); font-weight: 700; }
.tel input { border-radius: 0 14px 14px 0; }
.error { display: none; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--error); }
.error.si { display: flex; }
.error .ico { width: 16px; height: 16px; }
.autorizacion { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; margin: 6px 0 4px; font-size: 13.5px; line-height: 1.5; color: var(--texto); }
.autorizacion input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--azul); cursor: pointer; }
.autorizacion a { font-weight: 700; color: var(--azul); }
.tarjeta-form .btn-okai { width: 100%; margin-top: 18px; min-height: 60px; font-size: 18px; }
.tarjeta-form .btn-okai[disabled] { opacity: .75; cursor: progress; transform: none; }
.aviso-falla { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #FDECEA; color: var(--error); font-weight: 600; font-size: 15px; }
.aviso-falla.si { display: block; }
.aviso-falla a { color: inherit; }
.exito { display: none; text-align: center; padding: 20px 4px; }
.exito.si { display: block; }
.exito .chulo { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--menta); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(54, 232, 181, .18); }
.exito .chulo .ico { width: 40px; height: 40px; color: var(--azul); }
.exito h3 { font-size: clamp(26px, 5vw, 34px); }
.exito p { margin-top: 14px; color: var(--texto); font-weight: 500; }
.exito .btn-demo { margin-top: 20px; }
.exito:focus { outline: none; }

/* ---------- 11 · Cierre ---------- */
.cierre { padding: 96px 0; background: linear-gradient(180deg, var(--azul), var(--azul-noche)); }
.cierre .previo { display: inline-block; letter-spacing: -.01em; line-height: 1.2; font-family: var(--titular); font-weight: 800; font-size: clamp(22px, 4.4vw, 34px); color: var(--texto-claro); }
.cierre h2 { font-size: clamp(48px, 12vw, 108px); font-weight: 800; line-height: .98; margin-top: 14px; letter-spacing: -.03em; }
.cierre h2 .okai { color: var(--menta); font-weight: 900; }
.cierre .sub { font-size: clamp(18px, 3vw, 24px); color: var(--blanco); }
.cierre .marcador { font-size: 1.5em; color: var(--brillante); display: inline-block; }
.cierre .btn-okai { min-height: 64px; font-size: 19px; padding: 16px 36px; }
.cierre .enlace-demo { display: inline-flex; align-items: center; gap: 8px; color: var(--blanco); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; padding: 6px 2px; }
.cierre .enlace-demo .ico { width: 22px; height: 22px; color: var(--wa); }

/* ---------- 12 · Pie ---------- */
.pie { background: var(--blanco); padding: 48px 0 0; color: var(--azul); font-size: 15px; }
.pie .arriba { display: grid; gap: 26px; padding-bottom: 32px; border-bottom: 1px solid rgba(30, 48, 76, .1); }
.pie .logo-okai { width: 170px; }
.pie .marca { margin-top: 12px; font-weight: 600; color: var(--texto); }
.pie nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pie nav a { font-weight: 600; text-underline-offset: 4px; }
.pie .lema { margin-top: 6px; color: var(--texto); max-width: 42ch; }
.pie .respaldo { margin-top: -8px; padding: 0 0 24px; font-size: 13px; color: var(--texto); }
.pie .legal { padding: 20px 0; font-size: 13px; line-height: 1.6; color: var(--texto); }
.pie .legal a { font-weight: 600; color: var(--azul); }
.pie .contacto-legal { padding-bottom: 0; overflow-wrap: break-word; }
.pie .contacto-legal [data-legal="nit"], .pie .contacto-legal a[href^="https://wa.me"] { white-space: nowrap; }
.pie .contacto-legal p + p { margin-top: 4px; }
.firma { display: flex; align-items: center; gap: 12px; padding: 18px 0 26px; }
.firma .raya { width: 2px; height: 56px; background: var(--azul); }
.firma .un { font-size: 15px; white-space: nowrap; }
.firma .un i { font-weight: 700; }
.firma img { width: 150px; }

/* ---------- Barra fija en celular ---------- */
.barra-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(30, 48, 76, .97); box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); transition: transform .3s ease; }
.barra-movil.oculta { transform: translateY(110%); }
/* Aviso de tratamiento de datos antes de abrir WhatsApp (Ley 1581) */
.aviso-wa { border: 0; border-radius: 18px; padding: 24px; width: min(380px, calc(100vw - 32px)); color: var(--azul); background: var(--blanco); box-shadow: 0 24px 60px rgba(21, 35, 58, .35); }
.aviso-wa::backdrop { background: rgba(21, 35, 58, .55); }
.aviso-wa p { margin: 0 28px 18px 0; font-size: 15px; line-height: 1.5; color: var(--texto); }
.aviso-wa p a { font-weight: 600; color: var(--azul); text-underline-offset: 3px; }
.aviso-wa .btn { width: 100%; }
.aviso-wa .cerrar { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; color: var(--texto); font-size: 26px; line-height: 1; cursor: pointer; }
.barra-movil .btn-okai { flex: 1; min-height: 52px; }
.barra-movil .wa-mini { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); flex: none; }
.barra-movil .wa-mini .ico { width: 26px; height: 26px; color: var(--wa); }
body { padding-bottom: 76px; }

/* ---------- Aparición suave al bajar ---------- */
.js .aparece { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .aparece.visible { opacity: 1; transform: none; }
.js .chat-anim .msj, .js .chat-anim .fecha-chat { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.js .chat-anim.visible .msj, .js .chat-anim.visible .fecha-chat { opacity: 1; transform: none; }
.chat-anim.visible > :nth-child(2) { transition-delay: .3s; } .chat-anim.visible > :nth-child(3) { transition-delay: .9s; }
.chat-anim.visible > :nth-child(4) { transition-delay: 1.5s; } .chat-anim.visible > :nth-child(5) { transition-delay: 2.1s; }
/* ---------- Animación en loop del chat en el Hero (Okai) ---------- */
.chat-hero { overflow: hidden; position: relative; }
.chat-hero > * { will-change: transform, opacity; }

/* Fecha "Hoy": se oculta al salir los mensajes y reaparece al reiniciar */
.chat-hero .fecha-chat { animation: loopFecha 14s ease-in-out infinite; }

/* Mensaje 1 (Cliente): entra en t=0s, sale a la izq en t=11s */
.chat-hero > :nth-child(2) { animation: loopMsg1 14s cubic-bezier(0.2, 0.9, 0.3, 1) infinite; }

/* Mensaje 2 (Okai): entra en t=2s, sale a la der en t=11s */
.chat-hero > :nth-child(3) { animation: loopMsg2 14s cubic-bezier(0.2, 0.9, 0.3, 1) infinite; }

/* Mensaje 3 (Cliente): entra en t=4s, sale a la izq en t=11s */
.chat-hero > :nth-child(4) { animation: loopMsg3 14s cubic-bezier(0.2, 0.9, 0.3, 1) infinite; }

/* Mensaje 4 (Okai): entra en t=6s, sale a la der en t=11s */
.chat-hero > :nth-child(5) { animation: loopMsg4 14s cubic-bezier(0.2, 0.9, 0.3, 1) infinite; }

/* Mensaje 5 (Cliente - Gracias Okai): entra en t=8s, sale a la izq en t=11s */
.chat-hero > :nth-child(6) { animation: loopMsg5 14s cubic-bezier(0.2, 0.9, 0.3, 1) infinite; }

@keyframes loopFecha {
  0%, 78.57% { opacity: 1; transform: translateY(0); }
  82% { opacity: 0; transform: translateY(-8px); }
  98% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes loopMsg1 {
  0% { opacity: 0.35; transform: translateY(18px); }
  2.86% { opacity: 1; transform: translateY(0); }
  78.57% { opacity: 1; transform: translateY(0); }
  82% { opacity: 0; transform: translateX(-120%); }
  99.9% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 0.35; transform: translateY(18px); }
}

@keyframes loopMsg2 {
  0%, 14.28% { opacity: 0; transform: translateY(18px); }
  14.29% { opacity: 0.35; transform: translateY(18px); }
  17.15% { opacity: 1; transform: translateY(0); }
  78.57% { opacity: 1; transform: translateY(0); }
  82% { opacity: 0; transform: translateX(120%); }
  100% { opacity: 0; transform: translateY(18px); }
}

@keyframes loopMsg3 {
  0%, 28.56% { opacity: 0; transform: translateY(18px); }
  28.57% { opacity: 0.35; transform: translateY(18px); }
  31.43% { opacity: 1; transform: translateY(0); }
  78.57% { opacity: 1; transform: translateY(0); }
  82% { opacity: 0; transform: translateX(-120%); }
  100% { opacity: 0; transform: translateY(18px); }
}

@keyframes loopMsg4 {
  0%, 42.85% { opacity: 0; transform: translateY(18px); }
  42.86% { opacity: 0.35; transform: translateY(18px); }
  45.72% { opacity: 1; transform: translateY(0); }
  78.57% { opacity: 1; transform: translateY(0); }
  82% { opacity: 0; transform: translateX(120%); }
  100% { opacity: 0; transform: translateY(18px); }
}

@keyframes loopMsg5 {
  0%, 57.13% { opacity: 0; transform: translateY(18px); }
  57.14% { opacity: 0.35; transform: translateY(18px); }
  60.00% { opacity: 1; transform: translateY(0); }
  78.57% { opacity: 1; transform: translateY(0); }
  82% { opacity: 0; transform: translateX(-120%); }
  100% { opacity: 0; transform: translateY(18px); }
}

@media (prefers-reduced-motion: reduce) {
  .chat-hero > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Tableta y computador ---------- */
@media (min-width: 640px) {
  .formulario { background: url("/okai/img/form-fondo.webp") center / cover no-repeat, var(--celeste-2); }
  .hero { background: linear-gradient(90deg, rgba(20, 34, 58, .5) 0%, rgba(20, 34, 58, .15) 55%, rgba(20, 34, 58, 0) 100%), url("/okai/img/hero-fondo.webp") center / cover no-repeat, var(--azul-noche); }
  :root { --margen: 32px; }
  .hero .acciones .btn { width: auto; }
  .tarjetas-neg { grid-template-columns: repeat(2, 1fr); }
  .orbita { grid-template-columns: repeat(2, 1fr); }
  .orbita .nucleo { grid-column: 1 / -1; }
  .tarjeta-plan { padding: 56px 48px; }
  .grilla-planes { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .plan.destacado { transform: translateY(-12px); }
  .letra-pequena .detalle { grid-template-columns: 1fr 1fr; }
  .tarjeta-form { padding: 36px; }
  .fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
}
@media (min-width: 960px) {
  :root { --margen: 40px; }
  body { font-size: 18px; padding-bottom: 0; }
  .seccion { padding: 120px 0; }
  .barra-movil { display: none; }
  .encabezado .cont { height: 84px; }
  .encabezado .logo img { height: 54px; }
  .encabezado .btn { display: inline-flex; }
  .enlace-login { margin-right: 20px; }
  .hero .acciones.solo-pc { display: flex; }
  .hero { padding: 84px 0 96px; }
  .hero .cont { grid-template-columns: 1.12fr .88fr; align-items: center; gap: 40px; }
  .hero .sub { max-width: 26em; }
  .escena { min-height: 660px; align-content: start; }
  .fichas-eco { display: contents; }
  .ficha-eco { position: absolute; z-index: 2; }
  .ficha-eco.f1 { left: calc((100% - 320px) / 2 - 150px); top: 64px; }
  .ficha-eco.f2 { right: -24px; top: 560px; }
  .ficha-eco.f3 { left: calc((100% - 320px) / 2 - 140px); top: 500px; }
  .nota-marcador { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; font-size: 40px; }
  .problema .cont { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .pila { padding: 44px 36px; }
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .pasos::before, .pasos::after { left: 16.66%; right: auto; top: 39px; bottom: auto; width: 0; height: 4px; }
  .pasos::before { width: 66.66%; }
  .pasos.visible::after { width: 66.66%; height: 4px; }
  .pasos::after { transition: width 1.4s ease .2s; }
  .paso { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 0 10px; }
  .orbita { display: block; height: 600px; }
  .orbita .nucleo { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .nucleo .centro-okai { width: 160px; height: 160px; }
  .nucleo .centro-okai img { width: 96px; }
  .nucleo .anillo.tres { position: absolute; inset: -150px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
  .orbita .funcion { position: absolute; width: 330px; }
  .orbita .funcion:nth-of-type(2) { left: 50%; top: 0; margin-left: -165px; }
  .orbita .funcion:nth-of-type(3) { right: 0; top: 120px; }
  .orbita .funcion:nth-of-type(4) { right: 0; top: 380px; }
  .orbita .funcion:nth-of-type(5) { left: 50%; bottom: 0; margin-left: -165px; }
  .orbita .funcion:nth-of-type(6) { left: 0; top: 380px; }
  .orbita .funcion:nth-of-type(7) { left: 0; top: 120px; }
  /* 7 niches: 4 on top, 3 centred below */
  .tarjetas-neg { grid-template-columns: repeat(8, 1fr); gap: 18px; }
  .tarjetas-neg .neg { grid-column: span 2; }
  .neg { min-height: 420px; }
  .neg p { font-size: 22px; }
  .neg h3 { font-size: 13.5px; white-space: nowrap; }
  .demo .cont { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .brochure { padding: 40px 0; }
  .brochure .cont { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; gap: 40px; }
  .portada { width: 120px; margin: -70px 0; }
  .brochure .accion { text-align: center; }
  .formulario .cont { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
  .tarjeta-form { padding: 44px; }
  .pie .arriba { grid-template-columns: 1.3fr 1fr; }
}
@media (min-width: 1200px) {
  .ficha-eco.f1 { left: -104px; }
  .ficha-eco.f2 { right: -40px; }
  .ficha-eco.f3 { left: -70px; }
}
/* Aviso de cookies */
.aviso-cookies { position: fixed; left: 12px; right: 12px; bottom: 88px; z-index: 60; max-width: 520px; padding: 18px; border-radius: 18px; background: var(--blanco); color: var(--azul); box-shadow: 0 16px 40px rgba(21, 35, 58, .28); font-size: 14px; line-height: 1.5; }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { margin: 0 0 12px; color: var(--texto); }
.aviso-cookies strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--azul); }
.aviso-cookies .botones { display: flex; flex-wrap: wrap; gap: 8px; }
.aviso-cookies button { flex: 1 1 140px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--azul); background: transparent; color: var(--azul); font: 600 14px/1 var(--cuerpo); cursor: pointer; }
.aviso-cookies button.si { border-color: var(--menta); background: var(--menta); }
.aviso-cookies button:focus-visible { outline: 3px solid var(--brillante); outline-offset: 2px; }
@media (min-width: 960px) { .aviso-cookies { left: 24px; right: auto; bottom: 24px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .aparece, .js .chat-anim .msj, .js .chat-anim .fecha-chat { opacity: 1; transform: none; }
}

/* ---------- Niche landings (/okai/<niche>/): classes not used on /okai/ ---------- */
.hero-nicho .titulo-hero { font-size: clamp(38px, 9.6vw, 74px); line-height: 1.02; margin-top: 20px; }
.hero-nicho .etiqueta { margin: 0; }
.msj em.ejemplo { display: block; margin-top: 3px; font-size: 10.5px; font-style: normal; font-weight: 600; color: #6B7A92; }
.msj .adjunto { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.msj .adjunto .ico { width: 15px; height: 15px; }
.grilla-funciones { display: grid; gap: 12px; margin-top: 44px; text-align: left; }
.grilla-funciones .funcion { align-items: flex-start; }
.limites { max-width: 820px; margin: 40px auto 0; padding: 26px 24px; border-radius: 24px; background: var(--celeste-1); border: 2px dashed rgba(30, 48, 76, .18); text-align: left; }
.limites h3 { font-size: clamp(22px, 4vw, 28px); }
.limites ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; font-weight: 500; color: var(--texto); }
.limites li { display: flex; gap: 10px; align-items: flex-start; }
.limites li .ico { width: 20px; height: 20px; margin-top: 4px; color: var(--azul); }
.precio-sec { background: linear-gradient(180deg, var(--blanco), var(--celeste-1)); }
.precio-sec .cont { display: grid; gap: 32px; align-items: center; }
.foto-nicho { margin: 0; overflow: hidden; border-radius: var(--radio); box-shadow: var(--sombra); aspect-ratio: 4 / 3; }
.foto-nicho img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.precio-sec .tarjeta-plan .acciones { justify-content: center; }
.pie nav .titulo-nav { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texto); }
.pie nav a[aria-current="page"] { color: #178A64; }
@media (min-width: 640px) {
  .grilla-funciones { grid-template-columns: repeat(2, 1fr); }
  .pie .arriba.tres { grid-template-columns: 1fr 1fr; }
  .pie .arriba.tres > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .grilla-funciones { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .precio-sec .cont.con-foto { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .pie .arriba.tres { grid-template-columns: 1.2fr 1fr 1fr; }
  .pie .arriba.tres > :first-child { grid-column: auto; }
}
a.precio-pastilla { text-decoration: none; }
a.precio-pastilla:hover { border-color: var(--menta); }
.adicional a, .funcion a { color: inherit; font-weight: 700; text-underline-offset: 3px; }

/* ===== Niche scene loop ("viva"): illustrated niche scene + WhatsApp layer that Okai clears.
   One 10s timeline shared by every layer so the story stays in sync. Prototype: spa de masajes. */
.viva { --t: 10s; --ease-io: cubic-bezier(.77, 0, .175, 1); --ease-o: cubic-bezier(.23, 1, .32, 1);
  position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 13 / 10; isolation: isolate;
  background: radial-gradient(120% 90% at 30% 20%, #27406A 0%, var(--azul-noche) 70%); box-shadow: var(--sombra); }
.viva::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.viva-arte { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Only animated parts use their own box as transform reference; plain SVG transform attributes keep user space */
.viva-arte [class*="viva-"] { transform-box: fill-box; }
/* Ambient light breathing behind the table */
.viva-luz { transform-origin: center; animation: viva-respira 6s ease-in-out infinite; }
@keyframes viva-respira { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .85; transform: scale(1.06); } }
/* Therapist leans into a long stroke along the back and comes back (effleurage) */
.viva-terapeuta { transform-origin: 50% 100%; animation: viva-masaje 5s var(--ease-io) infinite; }
@keyframes viva-masaje {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  45%      { transform: translate(34px, 2px) rotate(2.5deg); }
  55%      { transform: translate(34px, 2px) rotate(2.5deg); }
}
.viva-calor { transform-origin: center; animation: viva-calor 5s var(--ease-io) infinite; }
@keyframes viva-calor { 0%, 100% { opacity: .3; } 50% { opacity: .7; } }
/* "Hands of light": the touch is a glowing halo, ripples spread over the skin and a light trail runs along the back */
.viva-toque { transform-origin: center; animation: viva-toque 2.5s ease-in-out infinite; }
.viva-toque.b { animation-delay: -1.25s; }
@keyframes viva-toque { 0%, 100% { opacity: .75; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }
.viva-onda { transform-origin: center; opacity: 0; animation: viva-onda 2.5s var(--ease-o) infinite; }
.viva-onda.b { animation-delay: -1.25s; }
@keyframes viva-onda { 0% { opacity: .8; transform: scale(.35); } 100% { opacity: 0; transform: scale(1.6); } }
.viva-estela { stroke-dasharray: 22 100; stroke-dashoffset: 22; opacity: .9; filter: drop-shadow(0 0 4px rgba(54, 232, 181, .8)); animation: viva-estela 5s var(--ease-io) infinite; }
@keyframes viva-estela { 0% { stroke-dashoffset: 22; opacity: 0; } 10% { opacity: .9; } 45% { stroke-dashoffset: -78; opacity: .9; } 55%, 100% { stroke-dashoffset: -78; opacity: 0; } }
/* Breathing: the back rises slightly */
.viva-espalda { transform-origin: 50% 100%; animation: viva-aire 5s ease-in-out infinite; }
@keyframes viva-aire { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.035); } }
/* Candle flame and diffuser mist */
.viva-llama { transform-origin: 50% 100%; animation: viva-llama 1.6s ease-in-out infinite alternate; }
@keyframes viva-llama { 0% { transform: scale(1, 1) rotate(-2deg); } 40% { transform: scale(.94, 1.08) rotate(2deg); } 100% { transform: scale(1.04, .95) rotate(-1deg); } }
.viva-halo { transform-origin: center; animation: viva-halo 1.6s ease-in-out infinite alternate; }
@keyframes viva-halo { from { opacity: .35; transform: scale(.92); } to { opacity: .6; transform: scale(1.08); } }
.viva-vapor { opacity: 0; animation: viva-vapor 5s ease-out infinite; }
.viva-vapor.b { animation-delay: -1.7s; } .viva-vapor.c { animation-delay: -3.4s; }
@keyframes viva-vapor { 0% { opacity: 0; transform: translate(0, 10px) scale(.8); } 30% { opacity: .55; } 100% { opacity: 0; transform: translate(-8px, -46px) scale(1.25); } }
.viva-mota { opacity: 0; animation: viva-mota 7s linear infinite; }
.viva-mota:nth-of-type(2) { animation-delay: -2.3s; } .viva-mota:nth-of-type(3) { animation-delay: -4.1s; } .viva-mota:nth-of-type(4) { animation-delay: -5.6s; }
@keyframes viva-mota { 0% { opacity: 0; transform: translateY(20px); } 20%, 70% { opacity: .7; } 100% { opacity: 0; transform: translateY(-60px); } }

/* Barber scene: clipper strokes up the side of the head, hair falls, the pole spins */
.viva-brazo { transform-origin: 100% 70%; animation: viva-corte 1.8s var(--ease-io) infinite; }
@keyframes viva-corte { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-7deg); } }
.viva-pelo { opacity: 0; animation: viva-pelo 1.8s ease-in infinite; }
.viva-pelo.b { animation-delay: -.45s; } .viva-pelo.c { animation-delay: -.9s; } .viva-pelo.d { animation-delay: -1.35s; }
@keyframes viva-pelo { 0% { opacity: 0; transform: translate(0, 0) rotate(0deg); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(8px, 70px) rotate(70deg); } }
.viva-poste { animation: viva-poste 1.4s linear infinite; }
@keyframes viva-poste { from { transform: translateY(0); } to { transform: translateY(36px); } }
/* Nail scene (side view): the brush in the manicurist's light paints each fingertip; the lamp breathes (5s) */
.viva-pincel-l { animation: viva-pincel-l 5s var(--ease-io) infinite; }
@keyframes viva-pincel-l {
  0%, 4%    { transform: translate(-6px, -3px); }
  10%, 22%  { transform: translate(0, -3px); }
  30%, 42%  { transform: translate(-2px, 3px); }
  50%, 62%  { transform: translate(0, 9px); }
  72%, 100% { transform: translate(-6px, -3px); }
}
.viva-una { transform-origin: 100% 50%; transform: scaleX(0); animation: viva-una0 5s var(--ease-o) infinite; }
.viva-una.n1 { animation-name: viva-una1; } .viva-una.n2 { animation-name: viva-una2; }
@keyframes viva-una0 { 0%, 10% { transform: scaleX(0); opacity: 1; } 20%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes viva-una1 { 0%, 30% { transform: scaleX(0); opacity: 1; } 40%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes viva-una2 { 0%, 50% { transform: scaleX(0); opacity: 1; } 60%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.viva-lampara { transform-origin: 50% 100%; animation: viva-lampara 3s ease-in-out infinite; }
@keyframes viva-lampara { 0%, 100% { opacity: .5; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.08); } }
/* Dental scene: the lamp beam breathes, the dentist works with small movements, the patient breathes */
.viva-haz { transform-origin: 50% 0; animation: viva-haz 4s ease-in-out infinite; }
@keyframes viva-haz { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
.viva-mano-o { transform-origin: 0% 0%; animation: viva-mano-o 2.4s var(--ease-io) infinite; }
@keyframes viva-mano-o { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-3deg) translate(1px, -1px); } 60% { transform: rotate(2deg); } }
.viva-respira { transform-origin: 50% 100%; animation: viva-aire 5s ease-in-out infinite; }
/* Vet scene: tail wags, ear twitches, the stethoscope light listens and a heart of light beats upward */
.viva-cola { transform-origin: 0% 100%; animation: viva-cola .5s ease-in-out infinite alternate; }
@keyframes viva-cola { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
.viva-oreja { transform-origin: 20% 0%; animation: viva-oreja 3.2s ease-in-out infinite; }
@keyframes viva-oreja { 0%, 80%, 100% { transform: rotate(0deg); } 86% { transform: rotate(-12deg); } 92% { transform: rotate(4deg); } }
.viva-mano-v { transform-origin: 0% 0%; animation: viva-mano-v 4s var(--ease-io) infinite; }
@keyframes viva-mano-v { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, 2px); } }
.viva-corazon { transform-origin: 50% 100%; opacity: 0; animation: viva-corazon 2s var(--ease-o) infinite; }
@keyframes viva-corazon { 0% { opacity: 0; transform: translateY(8px) scale(.7); } 15% { opacity: 1; transform: translateY(0) scale(1.08); } 25% { transform: translateY(-2px) scale(.95); } 35% { transform: translateY(-4px) scale(1.06); } 100% { opacity: 0; transform: translateY(-30px) scale(.9); } }
/* Restaurant scene: pan toss with food jumping, flames, steam and a comanda printing */
.viva-sarten { transform-origin: 0% 0%; animation: viva-sarten 1.6s var(--ease-io) infinite; }
@keyframes viva-sarten { 0%, 100% { transform: rotate(0deg) translate(0, 0); } 35% { transform: rotate(-5deg) translate(4px, -6px); } 55% { transform: rotate(2deg) translate(-2px, 2px); } }
.viva-salto { animation: viva-salto 1.6s cubic-bezier(.3, 0, .7, 1) infinite; }
.viva-salto.b { animation-delay: .05s; } .viva-salto.c { animation-delay: .1s; } .viva-salto.d { animation-delay: .15s; }
@keyframes viva-salto { 0%, 30%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-34px) rotate(120deg); } 70% { transform: translateY(0) rotate(240deg); } }
.viva-fuego > path { transform-origin: 50% 100%; animation: viva-llama .5s ease-in-out infinite alternate; }
.viva-fuego > path:nth-child(2) { animation-delay: -.2s; } .viva-fuego > path:nth-child(3) { animation-delay: -.35s; }
.viva-calor-r { transform-origin: 50% 100%; animation: viva-halo 1.2s ease-in-out infinite alternate; }
.viva-ticket { transform-origin: 50% 100%; animation: viva-ticket 5s var(--ease-o) infinite; }
@keyframes viva-ticket { 0%, 10% { transform: scaleY(0); opacity: 1; } 40%, 80% { transform: scaleY(1); opacity: 1; } 92%, 100% { transform: translateY(-10px) scaleY(1); opacity: 0; } }
.viva-led { animation: viva-halo .8s ease-in-out infinite alternate; transform-origin: center; }
/* Travel scene: the globe turns, a plane orbits with a light trail and destinations light up */
.viva-giro { animation: viva-giro 12s linear infinite; }
@keyframes viva-giro { from { transform: translateX(0); } to { transform: translateX(-208px); } }
.viva-arte .viva-orbita { transform-box: view-box; transform-origin: 190px 236px; animation: viva-orbita 6s linear infinite; }
@keyframes viva-orbita { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.viva-destino { transform-origin: center; opacity: 0; animation: viva-destino 6s var(--ease-o) infinite; }
.viva-destino.b { animation-delay: 2s; } .viva-destino.c { animation-delay: 4s; }
@keyframes viva-destino { 0% { opacity: 0; transform: scale(.6) translateY(-6px); } 8% { opacity: 1; transform: scale(1.1); } 14%, 40% { opacity: 1; transform: scale(1); } 52%, 100% { opacity: 0; transform: scale(.9); } }
.viva-maleta { transform-origin: 50% 100%; animation: viva-maleta 3s ease-in-out infinite; }
@keyframes viva-maleta { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-2deg); } }
/* Futsal field: wind-up, kick, ball flight into the net and the scoreboard update share one 5s loop */
.viva-arte .viva-patada { transform-box: view-box; transform-origin: 316px 290px; animation: viva-patada 5s infinite; }
@keyframes viva-patada {
  0%, 6% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  18% { transform: rotate(-30deg); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  22% { transform: rotate(34deg); animation-timing-function: cubic-bezier(.23, 1, .32, 1); }
  30% { transform: rotate(24deg); animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  44%, 100% { transform: rotate(0deg); } }
.viva-arte .viva-brazo-j { transform-box: view-box; transform-origin: 306px 208px; animation: viva-brazo-j 5s cubic-bezier(.77, 0, .175, 1) infinite; }
@keyframes viva-brazo-j { 0%, 6%, 44%, 100% { transform: rotate(0deg); } 18% { transform: rotate(18deg); } 24% { transform: rotate(-22deg); } }
.viva-balon-x { animation: viva-balon-x 5s linear infinite; }
@keyframes viva-balon-x {
  0% { opacity: 0; transform: translateX(0); }
  5%, 22% { opacity: 1; transform: translateX(0); animation-timing-function: cubic-bezier(.2, .55, .45, 1); }
  50% { transform: translateX(-200px); animation-timing-function: ease-out; }
  62%, 84% { opacity: 1; transform: translateX(-208px); }
  90% { opacity: 0; transform: translateX(-208px); }
  91%, 100% { opacity: 0; transform: translateX(0); } }
.viva-balon-y { animation: viva-balon-y 5s linear infinite; }
@keyframes viva-balon-y {
  0%, 22% { transform: translateY(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  34% { transform: translateY(-78px); animation-timing-function: cubic-bezier(.5, 0, .8, .4); }
  50% { transform: translateY(-42px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  58% { transform: translateY(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  62% { transform: translateY(-8px); animation-timing-function: cubic-bezier(.5, 0, .8, .4); }
  66%, 100% { transform: translateY(0); } }
.viva-balon-giro { transform-origin: center; animation: viva-balon-giro 5s linear infinite; }
@keyframes viva-balon-giro {
  0%, 22% { transform: rotate(0deg); animation-timing-function: cubic-bezier(.2, .55, .45, 1); }
  50% { transform: rotate(-640deg); animation-timing-function: ease-out; }
  66%, 100% { transform: rotate(-720deg); } }
.viva-balon-sombra { transform-origin: center; animation: viva-balon-sombra 5s linear infinite; }
@keyframes viva-balon-sombra { 0%, 22% { opacity: .45; transform: scale(1); } 34% { opacity: .12; transform: scale(.45); } 58%, 100% { opacity: .45; transform: scale(1); } }
.viva-festejo { animation: viva-festejo 5s infinite; }
@keyframes viva-festejo { 0%, 52% { transform: translateY(0); animation-timing-function: cubic-bezier(.23, 1, .32, 1); } 58% { transform: translateY(-14px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); } 64% { transform: translateY(0); animation-timing-function: cubic-bezier(.23, 1, .32, 1); } 69% { transform: translateY(-8px); animation-timing-function: cubic-bezier(.55, 0, 1, .45); } 74%, 100% { transform: translateY(0); } }
.viva-arte .viva-festejo-i { transform-box: view-box; transform-origin: 407px 250px; animation: viva-festejo-i 5s cubic-bezier(.23, 1, .32, 1) infinite; }
.viva-arte .viva-festejo-d { transform-box: view-box; transform-origin: 435px 250px; animation: viva-festejo-d 5s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes viva-festejo-i { 0%, 50% { transform: rotate(0deg); } 56%, 80% { transform: rotate(150deg); } 90%, 100% { transform: rotate(0deg); } }
@keyframes viva-festejo-d { 0%, 50% { transform: rotate(0deg); } 56%, 80% { transform: rotate(-150deg); } 90%, 100% { transform: rotate(0deg); } }
.viva-red { transform-origin: 100% 50%; animation: viva-red 5s infinite; }
@keyframes viva-red { 0%, 46% { transform: scaleX(1); animation-timing-function: cubic-bezier(.23, 1, .32, 1); } 52% { transform: scaleX(1.16); animation-timing-function: ease-in-out; } 60% { transform: scaleX(.96); } 68%, 100% { transform: scaleX(1); } }
.viva-marca-a { animation: viva-marca-a 5s infinite; }
@keyframes viva-marca-a { 0%, 50% { opacity: 1; } 53%, 92% { opacity: 0; } 96%, 100% { opacity: 1; } }
.viva-marca-b { opacity: 0; transform-origin: center; animation: viva-marca-b 5s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes viva-marca-b { 0%, 50% { opacity: 0; transform: scale(.6); } 55% { opacity: 1; transform: scale(1.25); } 60%, 92% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
.viva-marca-luz { animation: viva-marca-luz 5s ease-out infinite; }
@keyframes viva-marca-luz { 0%, 50% { opacity: .25; } 54% { opacity: .9; } 72%, 100% { opacity: .25; } }

/* Hardware store: catalog pages turn on the spine, then the light lands on the found product and the shelf drill glints (5s loop) */
.viva-arte .viva-hoja { transform-box: view-box; transform-origin: 300px 254px; animation: viva-hoja 5s infinite; }
.viva-arte .viva-hoja.b { animation-name: viva-hoja-b; }
@keyframes viva-hoja {
  0%, 8% { transform: scaleX(1); opacity: 1; animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  22% { transform: scaleX(-1); opacity: 1; }
  28%, 92% { transform: scaleX(-1); opacity: 0; }
  93% { transform: scaleX(1); opacity: 0; }
  98%, 100% { transform: scaleX(1); opacity: 1; } }
@keyframes viva-hoja-b {
  0%, 26% { transform: scaleX(1); opacity: 1; animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  40% { transform: scaleX(-1); opacity: 1; }
  46%, 92% { transform: scaleX(-1); opacity: 0; }
  93% { transform: scaleX(1); opacity: 0; }
  98%, 100% { transform: scaleX(1); opacity: 1; } }
.viva-hallazgo { opacity: 0; animation: viva-hallazgo 5s ease-out infinite; }
@keyframes viva-hallazgo { 0%, 42% { opacity: 0; } 48%, 86% { opacity: 1; } 92%, 100% { opacity: 0; } }
.viva-brillo { opacity: 0; transform-origin: center; animation: viva-brillo 5s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes viva-brillo { 0%, 46% { opacity: 0; transform: scale(.4) rotate(0deg); } 52% { opacity: 1; transform: scale(1.15) rotate(45deg); } 60%, 84% { opacity: .9; transform: scale(1) rotate(90deg); } 90%, 100% { opacity: 0; transform: scale(.6) rotate(90deg); } }
.viva-arte .viva-llave { transform-box: view-box; transform-origin: 430px 168px; animation: viva-llave 3.2s ease-in-out infinite alternate; }
@keyframes viva-llave { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }

/* Online store: tap on the tablet, order checked, packages stack up and a parcel slides out to ship (5s loop) */
.viva-arte .viva-tap { transform-box: view-box; transform-origin: 226px 206px; animation: viva-tap 5s cubic-bezier(.77, 0, .175, 1) infinite; }
@keyframes viva-tap { 0%, 10%, 30%, 100% { transform: rotate(0deg); } 16% { transform: rotate(-4deg); } 22% { transform: rotate(1deg); } }
.viva-listo { transform-origin: center; animation: viva-listo 5s cubic-bezier(.23, 1, .32, 1) infinite; }
@keyframes viva-listo { 0%, 22% { opacity: 0; transform: scale(.5); } 28% { opacity: 1; transform: scale(1.15); } 34%, 86% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.8); } }
.viva-caja { animation: viva-caja 5s infinite; }
.viva-caja.b { animation-name: viva-caja-b; }
@keyframes viva-caja { 0%, 10% { opacity: 0; transform: translateY(-26px); animation-timing-function: cubic-bezier(.5, 0, .8, .4); } 18% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(.23, 1, .32, 1); } 21% { transform: translateY(-4px); } 24%, 88% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes viva-caja-b { 0%, 30% { opacity: 0; transform: translateY(-26px); animation-timing-function: cubic-bezier(.5, 0, .8, .4); } 38% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(.23, 1, .32, 1); } 41% { transform: translateY(-4px); } 44%, 88% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; transform: translateY(0); } }
.viva-paquete { transform-origin: 50% 100%; animation: viva-paquete 5s infinite; }
@keyframes viva-paquete {
  0%, 36% { opacity: 0; transform: translateX(0) scale(.6); animation-timing-function: cubic-bezier(.23, 1, .32, 1); }
  44%, 56% { opacity: 1; transform: translateX(0) scale(1); animation-timing-function: cubic-bezier(.77, 0, .175, 1); }
  78% { opacity: 1; transform: translateX(120px) scale(1); }
  86%, 100% { opacity: 0; transform: translateX(150px) scale(1); } }

/* WhatsApp layer */
.viva-capa { position: absolute; inset: 0; padding: 5% 5%; pointer-events: none; font-family: var(--cuerpo); }
.viva-badge { position: absolute; top: 5%; left: 5%; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 600; }
.viva-badge .wa { width: 22px; height: 22px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.viva-badge .wa svg { width: 13px; height: 13px; fill: #fff; }
.viva-num { position: relative; width: 22px; height: 22px; border-radius: 50%; background: #FF4D5E; overflow: hidden; font-size: 12px; font-weight: 800; animation: viva-num-fondo var(--t) var(--ease-o) infinite; }
.viva-num span { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.viva-num .n1 { animation: viva-n1 var(--t) infinite; } .viva-num .n2 { animation: viva-n2 var(--t) infinite; }
.viva-num .n3 { animation: viva-n3 var(--t) infinite; } .viva-num .n0 { animation: viva-n0 var(--t) infinite; color: var(--azul); }
@keyframes viva-n1 { 0%, 7.9% { opacity: 0; transform: translateY(8px); } 8%, 17.9% { opacity: 1; transform: none; } 18%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes viva-n2 { 0%, 17.9% { opacity: 0; transform: translateY(8px); } 18%, 27.9% { opacity: 1; transform: none; } 28%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes viva-n3 { 0%, 27.9% { opacity: 0; transform: translateY(8px); } 28%, 71.9% { opacity: 1; transform: none; } 72%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes viva-n0 { 0%, 71.9% { opacity: 0; transform: translateY(8px); } 72%, 94% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes viva-num-fondo { 0%, 5% { opacity: 0; transform: scale(.8); } 8%, 71.9% { opacity: 1; transform: scale(1); background: #FF4D5E; } 72%, 94% { opacity: 1; transform: scale(1); background: var(--menta); } 98%, 100% { opacity: 0; transform: scale(.8); } }
.viva-chips { position: absolute; top: 5%; right: 5%; display: grid; justify-items: end; gap: 8px; width: min(62%, 300px); }
.viva-chip { display: flex; align-items: flex-end; gap: 8px; padding: 9px 12px; border-radius: 16px 16px 4px 16px; background: rgba(255, 255, 255, .94); color: var(--azul);
  font-size: 13px; line-height: 1.3; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); opacity: 0; }
.viva-chip .ck { position: relative; flex: none; width: 18px; height: 12px; }
.viva-chip .ck svg { position: absolute; inset: 0; width: 18px; height: 12px; }
.viva-chip .gris { color: #9AA6B8; } .viva-chip .ok { color: #13B98A; opacity: 0; }
.viva-chip.c1 { animation: viva-chip1 var(--t) var(--ease-o) infinite; } .viva-chip.c1 .ok { animation: viva-ok1 var(--t) infinite; }
.viva-chip.c2 { animation: viva-chip2 var(--t) var(--ease-o) infinite; } .viva-chip.c2 .ok { animation: viva-ok2 var(--t) infinite; }
.viva-chip.c3 { animation: viva-chip3 var(--t) var(--ease-o) infinite; } .viva-chip.c3 .ok { animation: viva-ok3 var(--t) infinite; }
@keyframes viva-chip1 { 0%, 8% { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(3px); } 11%, 68% { opacity: 1; transform: none; filter: blur(0); } 72%, 100% { opacity: 0; transform: translateX(16px); filter: blur(2px); } }
@keyframes viva-chip2 { 0%, 18% { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(3px); } 21%, 70% { opacity: 1; transform: none; filter: blur(0); } 74%, 100% { opacity: 0; transform: translateX(16px); filter: blur(2px); } }
@keyframes viva-chip3 { 0%, 28% { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(3px); } 31%, 72% { opacity: 1; transform: none; filter: blur(0); } 76%, 100% { opacity: 0; transform: translateX(16px); filter: blur(2px); } }
@keyframes viva-ok1 { 0%, 54% { opacity: 0; } 56%, 100% { opacity: 1; } }
@keyframes viva-ok2 { 0%, 58% { opacity: 0; } 60%, 100% { opacity: 1; } }
@keyframes viva-ok3 { 0%, 62% { opacity: 0; } 64%, 100% { opacity: 1; } }
.viva-okai { position: absolute; left: 50%; bottom: 5%; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; white-space: nowrap;
  background: var(--menta-suave); color: var(--azul); font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px rgba(54, 232, 181, .45); opacity: 0;
  animation: viva-okai var(--t) var(--ease-o) infinite; }
.viva-okai img { width: 22px; height: 22px; border-radius: 50%; background: #fff; padding: 3px; }
.viva-okai .txt { display: grid; }
.viva-okai .txt > span { grid-area: 1 / 1; }
.viva-okai .t1 { animation: viva-t1 var(--t) infinite; } .viva-okai .t2 { opacity: 0; animation: viva-t2 var(--t) infinite; }
.viva-okai .puntos i { display: inline-block; width: 4px; height: 4px; margin-left: 2px; border-radius: 50%; background: currentColor; animation: viva-punto .9s ease-in-out infinite; }
.viva-okai .puntos i:nth-child(2) { animation-delay: .15s; } .viva-okai .puntos i:nth-child(3) { animation-delay: .3s; }
@keyframes viva-punto { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes viva-okai { 0%, 42% { opacity: 0; transform: translate(-50%, 12px) scale(.95); } 46%, 92% { opacity: 1; transform: translate(-50%, 0) scale(1); } 97%, 100% { opacity: 0; transform: translate(-50%, 6px) scale(.97); } }
@keyframes viva-t1 { 0%, 74% { opacity: 1; filter: blur(0); } 77%, 100% { opacity: 0; filter: blur(2px); } }
@keyframes viva-t2 { 0%, 75% { opacity: 0; filter: blur(2px); } 78%, 100% { opacity: 1; filter: blur(0); } }
@media (max-width: 520px) {
  /* Taller card; the scene sits at the bottom so the messages get their own space on top */
  .viva { aspect-ratio: 1 / 1.12; }
  .viva-arte { top: auto; bottom: 0; height: auto; }
  .viva-badge { padding: 6px; }
  .viva-badge .lbl { display: none; }
  .viva-chips { width: 76%; gap: 6px; }
  .viva-chip { font-size: 11.5px; padding: 7px 10px; }
  .viva-okai { font-size: 12px; }
}
/* Reduced motion: no movement; show the resolved state (messages answered by Okai). */
@media (prefers-reduced-motion: reduce) {
  .viva *, .viva *::before { animation: none !important; }
  .viva-chip { opacity: 1; } .viva-chip .ok { opacity: 1; } .viva-chip .gris { opacity: 0; }
  .viva-num { background: var(--menta); } .viva-num .n0 { opacity: 1; }
  .viva-okai { opacity: 1; transform: translateX(-50%); } .viva-okai .t1 { opacity: 0; } .viva-okai .t2 { opacity: 1; }
  .viva-vapor, .viva-mota { opacity: .4; }
  .viva-estela { opacity: 0; }
  .viva-una { transform: none; }
  .viva-corazon { opacity: .9; }
  .viva-ticket { transform: none; }
  .viva-destino { opacity: 1; }
  .viva-hoja { opacity: 0; }
  .viva-hallazgo, .viva-brillo { opacity: 1; }
}

/* Living photo: the video fades in over the photo only once it is actually playing */
figure[data-video] { position: relative; }
.foto-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; border-radius: inherit; opacity: 0; transition: opacity .6s ease; }
figure.con-video .foto-video { opacity: 1; }

/* Portrait variant for living photos (video is 3:5) */
.foto-nicho.vertical { aspect-ratio: 3 / 5; width: min(100%, 360px); justify-self: center; }
.foto-nicho.vertical img, .foto-nicho.vertical .foto-video { object-position: center top; }

/* Feature cards with a short scannable title and a smaller description */
.funcion.con-titulo, .adicional.con-titulo { align-items: flex-start; }
.con-titulo .txt { display: grid; gap: 4px; }
.con-titulo .tit { font-family: var(--titular); font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--blanco); }
.con-titulo .desc { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--texto-claro); }
.funcion.con-titulo { padding: 18px 20px 18px 16px; }
.funcion.con-titulo .circ { margin-top: 2px; }

/* Niche cards: the hover video fades over the photo */
.neg .foto-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: -2; opacity: 0; transition: opacity .4s ease; }
.neg.con-video .foto-video { opacity: 1; }
/* Portrait photos: keep faces in frame when the card is wide and short (phones) */
.neg img { object-position: center 22%; }
@media (max-width: 639.98px) { .neg { min-height: 300px; } }
.nota-ast { margin-top: 18px; font-size: 13px; color: var(--texto-claro); }
.nota-ast a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
