/* Sitio del producto — estilo. Tokens arriba; todo lo demás los usa. */
:root {
  --tinta: #14101f;
  --tinta-2: #1f1a30;
  --tinta-3: #2b2442;
  --crema: #fbf4ea;
  --crema-2: #f4e9da;
  --papel: #fffaf3;
  --texto: #1f1a2e;
  --texto-suave: #5b536a;
  --texto-claro: #f6f0ff;
  --texto-claro-suave: #b9b0cc;
  --coral: #ff6b4a;
  --coral-osc: #b23a1c; /* antes #c2401f: 4,3:1 sobre crema-2; este da 5:1 */
  /* Coral para fondos con texto blanco encima: #ff6b4a daba 2,8:1 (WCAG AA pide 4,5:1). Este da 4,7:1. */
  --coral-fondo: #cf4329;
  --mango: #ffb02e;
  --turquesa: #16b3a6;
  --turquesa-osc: #0b7a70;
  --wa: #1fa855;
  --radio: 18px;
  --radio-g: 28px;
  --sombra: 0 18px 50px -20px rgba(31, 26, 46, .35);
  --f-titulo: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-texto: "Figtree", system-ui, sans-serif;
  --f-acento: "Instrument Serif", Georgia, serif;
  --ancho: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--crema); color: var(--texto);
  font-family: var(--f-texto); font-size: 17px; line-height: 1.6;
}
/* "clip" y no "hidden": hidden en body convierte a body en el que se desplaza y rompe
   position: sticky (la pantalla fija de "Cómo funciona" se iba con el scroll). */
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--mango); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.envoltura { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--mango); color: var(--tinta); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.saltar:focus { left: 8px; }

h1, h2, h3 { font-family: var(--f-titulo); line-height: 1.04; letter-spacing: -.025em; margin: 0; font-weight: 700; }
h2 { font-size: clamp(34px, 5.4vw, 64px); }
h3 { font-size: 22px; letter-spacing: -.01em; }
.acento { font-family: var(--f-acento); font-style: italic; font-weight: 400; letter-spacing: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--coral-osc);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.oscuro .eyebrow { color: var(--mango); }
.precios .incluye { max-width: 820px; margin: 22px 0 0; font-weight: 600; color: var(--texto); line-height: 1.55; }
.intro { max-width: 620px; color: var(--texto-suave); font-size: 19px; margin: 18px 0 0; }
.oscuro .intro { color: var(--texto-claro-suave); }
section { position: relative; }
.bloque { padding: clamp(80px, 11vw, 140px) 0; }

/* Botones */
.btn {
  --bg: var(--coral-fondo); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 0; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; text-decoration: none; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 10px 30px -12px var(--bg);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-fantasma { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-wa { --bg: var(--wa); }
.btn-oscuro { --bg: var(--tinta); }

/* Navegación */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--texto-claro);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s;
}
.nav.solida { background: rgba(251, 244, 234, .86); color: var(--texto); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(31, 26, 46, .08); }
.nav .envoltura { display: flex; align-items: center; gap: 20px; height: 72px; }
.marca { display: flex; align-items: center; gap: 10px; font-family: var(--f-titulo); font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -.03em; }
.marca svg { width: 34px; height: 34px; }
.marca .barra { transform-origin: center; animation: latido 1.2s var(--ease) infinite; }
.marca .barra:nth-child(2) { animation-delay: .15s; } .marca .barra:nth-child(3) { animation-delay: .3s; } .marca .barra:nth-child(4) { animation-delay: .45s; }
@keyframes latido { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.nav-links { display: flex; gap: 7px; margin-left: auto; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; opacity: .9; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 7px 11px; transition: background .2s, border-color .2s, opacity .2s; }
.nav-links a:hover { opacity: 1; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .38); }
.nav.solida .nav-links a { border-color: rgba(31, 26, 46, .12); }
.nav.solida .nav-links a:hover { background: rgba(31, 26, 46, .06); border-color: rgba(31, 26, 46, .24); }
.idioma {
  display: flex; border-radius: 999px; padding: 3px; background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.nav.solida .idioma { background: rgba(31, 26, 46, .06); box-shadow: inset 0 0 0 1px rgba(31, 26, 46, .12); }
.idioma button { border: 0; background: none; color: inherit; font-weight: 700; font-size: 13px; padding: 7px 11px; border-radius: 999px; min-width: 44px; min-height: 36px; }
.idioma button[aria-pressed="true"] { background: var(--mango); color: var(--tinta); }

/* HERO */
.hero { min-height: 100svh; background: var(--tinta); color: var(--texto-claro); overflow: hidden; display: flex; align-items: center; }
.hero::after { /* grano sutil para que no se vea plano */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .envoltura { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding: 120px 0 80px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 78px); margin-top: 18px; }
.rotador { display: inline-grid; vertical-align: bottom; }
.rotador span { grid-area: 1 / 1; color: var(--mango); font-family: var(--f-acento); font-style: italic; font-weight: 400; letter-spacing: -.01em; opacity: 0; transform: translateY(40%) rotate(-3deg); transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rotador span.activo { opacity: 1; transform: none; }
.rotador span.sale { opacity: 0; transform: translateY(-40%) rotate(3deg); }
.hero .intro { font-size: clamp(18px, 1.6vw, 21px); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.nota-chica { font-size: 14px; color: var(--texto-claro-suave); margin-top: 16px; }
.hero-escena { position: relative; height: min(62vh, 560px); }
.flota { position: absolute; width: clamp(80px, 11vw, 150px); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); will-change: transform; user-select: none; -webkit-user-select: none; pointer-events: none; }
.flota img { width: 100%; animation: flotar 6s ease-in-out infinite; }
.flota:nth-child(2) img { animation-delay: -1.5s; } .flota:nth-child(3) img { animation-delay: -3s; }
.flota:nth-child(4) img { animation-delay: -4.5s; } .flota:nth-child(5) img { animation-delay: -2.2s; }
@keyframes flotar { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(4deg); } }
/* Posiciones de los objetos flotantes (antes eran style="" en el HTML; auditoría 2026-09-25, S-8:
   la CSP ya no permite estilos en línea). */
.flota-1 { left: 6%; top: 4%; } .flota-2 { right: 2%; top: 12%; } .flota-3 { left: 0; bottom: 16%; }
.flota-4 { right: 8%; bottom: 6%; } .flota-5 { left: 40%; top: -4%; width: clamp(60px, 7vw, 100px); }
.subtitulo-vivo {
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); width: min(92%, 420px);
  background: rgba(31, 26, 48, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 14px 16px; font-size: 15px; line-height: 1.45;
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.subtitulo-vivo.visible { opacity: 1; }
.subtitulo-vivo b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mango); margin-bottom: 4px; }
.bajar { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2; color: var(--texto-claro-suave); font-size: 13px; display: grid; justify-items: center; gap: 6px; }
.bajar i { width: 2px; height: 34px; background: linear-gradient(var(--mango), transparent); animation: gota 1.8s ease-in-out infinite; }
@keyframes gota { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Cinta de rubros */
.cinta { background: var(--coral-fondo); color: #fff; overflow: hidden; padding: 18px 0; transform: rotate(-1.4deg); margin: -22px -20px 0; position: relative; z-index: 3; }
.cinta-pista { display: flex; gap: 38px; width: max-content; animation: cinta 38s linear infinite; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); white-space: nowrap; }
.cinta-pista span { display: inline-flex; align-items: center; gap: 38px; }
.cinta-pista span::after { content: "✺"; color: var(--mango); font-size: .8em; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Cómo funciona (historia fijada al bajar) */
.historia { background: var(--crema); }
.historia-grilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; margin-top: 56px; }
.pasos { display: grid; gap: 30vh; padding: 8vh 0 62vh; }
.paso { opacity: .28; transition: opacity .5s var(--ease); }
.paso.activo { opacity: 1; }
.paso .num { font-family: var(--f-acento); font-style: italic; font-size: 64px; color: var(--coral); line-height: 1; }
.paso h3 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 12px; }
.paso p { color: var(--texto-suave); margin: 0; max-width: 460px; }
.escenario { position: sticky; top: 14vh; height: 72vh; min-height: 460px; border-radius: var(--radio-g); background: var(--tinta); overflow: hidden; box-shadow: var(--sombra); color: var(--texto-claro); }
.escena { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; transform: scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.escena.activa { opacity: 1; transform: none; }
.telefono-sonando { width: 58%; max-width: 260px; animation: vibrar 1.1s ease-in-out infinite; }
@keyframes vibrar { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-7deg); } 80% { transform: rotate(7deg); } 85% { transform: rotate(-5deg); } 90% { transform: rotate(5deg); } }
.ondas { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--mango); animation: onda 2.2s ease-out infinite; opacity: 0; }
.ondas.o2 { animation-delay: .7s; } .ondas.o3 { animation-delay: 1.4s; }
@keyframes onda { from { transform: scale(.4); opacity: .8; } to { transform: scale(1.4); opacity: 0; } }
.chat-escena { width: min(100%, 380px); display: grid; gap: 10px; }
.burbuja { max-width: 85%; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.burbuja.cli { background: var(--tinta-3); justify-self: start; border-bottom-left-radius: 6px; }
.burbuja.asi { background: var(--mango); color: var(--tinta); justify-self: end; border-bottom-right-radius: 6px; font-weight: 500; }
.escena.activa .burbuja { animation: aparecer .5s var(--ease) both; }
.escena.activa .burbuja:nth-child(2) { animation-delay: .5s; } .escena.activa .burbuja:nth-child(3) { animation-delay: 1s; } .escena.activa .burbuja:nth-child(4) { animation-delay: 1.5s; }
@keyframes aparecer { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.tablet { width: min(100%, 420px); background: var(--papel); color: var(--texto); border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 8px solid #2c2540; }
.tablet header { display: flex; justify-content: space-between; font-size: 13px; color: var(--texto-suave); margin-bottom: 12px; }
.ticket { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px; margin-top: 10px; box-shadow: 0 6px 20px -12px rgba(31, 26, 46, .5); font-size: 14px; }
.ticket img { width: 40px; }
.ticket b { display: block; font-size: 15px; }
.estado { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #e3f6f3; color: var(--turquesa-osc); }
.escena.activa .ticket { animation: entraTicket .7s var(--ease) both; }
.escena.activa .ticket:nth-of-type(2) { animation-delay: .35s; } .escena.activa .ticket:nth-of-type(3) { animation-delay: .7s; }
@keyframes entraTicket { from { opacity: 0; transform: translateX(60px) rotate(4deg); } to { opacity: 1; transform: none; } }

/* Collage de rubros */
.rubros { background: var(--crema-2); overflow: hidden; }
.collage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 60px; align-items: start; }
.foto { position: relative; border-radius: var(--radio-g); overflow: visible; margin: 0; }
.foto .marco { border-radius: var(--radio-g); overflow: hidden; aspect-ratio: 3 / 4; background: linear-gradient(160deg, var(--mango), var(--coral)); box-shadow: var(--sombra); }
.foto .marco img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.foto:nth-child(1) { margin-top: 40px; transform: rotate(-2.5deg); }
.foto:nth-child(2) { transform: rotate(1.8deg); }
.foto-cocina { transform: none; }
.foto:nth-child(3) { margin-top: 70px; transform: rotate(-1.5deg); }
.foto:nth-child(4) { margin-top: 10px; transform: rotate(2.2deg); }
.foto figcaption { font-family: var(--f-titulo); font-weight: 700; font-size: 20px; margin-top: 14px; }
.foto .globo {
  position: absolute; left: -8%; top: 46%; max-width: 80%; background: var(--papel); color: var(--texto); border-radius: 18px 18px 18px 6px;
  padding: 10px 14px; font-size: 14px; line-height: 1.35; box-shadow: 0 16px 34px -14px rgba(31, 26, 46, .55); font-weight: 500;
}
.foto .globo.resp { left: auto; right: -8%; top: 64%; background: var(--turquesa-osc); color: #fff; border-radius: 18px 18px 6px 18px; }
.foto .globo small { display: block; font-size: 11px; opacity: .75; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
/* Restaurante: burbujas a la misma altura que en las otras tarjetas (dueño, 2026-09-26); la respuesta
   queda dentro de la tarjeta para no chocar con la clienta de la peluquería, que está a esa altura. */
.foto-cocina .globo.resp { right: 4%; }
.mas-rubros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; }
.mas-rubros span { padding: 9px 16px; border-radius: 999px; background: var(--papel); font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(31, 26, 46, .1); }

/* Escuche una llamada */
.escucha { background: var(--tinta); color: var(--texto-claro); overflow: hidden; }
.reproductor { margin-top: 50px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: stretch; }
.pestanas { display: flex; flex-wrap: wrap; gap: 10px; }
.pestanas button { border: 0; border-radius: 999px; padding: 12px 18px; min-height: 48px; background: var(--tinta-3); color: var(--texto-claro); font-weight: 600; display: inline-flex; gap: 10px; align-items: center; transition: background .25s; }
.pestanas button img { width: 28px; }
.pestanas button[aria-selected="true"] { background: var(--mango); color: var(--tinta); }
.consola { background: var(--tinta-2); border-radius: var(--radio-g); padding: 26px; margin-top: 22px; border: 1px solid rgba(255, 255, 255, .08); }
.visualizador-llamada { display: grid; grid-template-columns: minmax(0, 1fr) 112px; align-items: center; gap: 12px; min-height: 112px; }
#onda { width: 100%; height: 110px; display: block; }
#orbe { width: 112px; height: 112px; display: block; }
.controles { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.play { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--coral-fondo); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px var(--coral); transition: transform .2s; }
.play:hover { transform: scale(1.06); }
.play svg { width: 26px; height: 26px; }
.tiempo { font-variant-numeric: tabular-nums; color: var(--texto-claro-suave); font-size: 14px; }
.barra-progreso { flex: 1; height: 6px; border-radius: 6px; background: var(--tinta-3); overflow: hidden; }
.barra-progreso i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), var(--mango)); }
.transcripcion { background: var(--tinta-2); border-radius: var(--radio-g); padding: 22px; height: 440px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(255, 255, 255, .08); scroll-behavior: smooth; }
.transcripcion .burbuja { display: none; }
.transcripcion .burbuja.dicho { display: block; animation: aparecer .45s var(--ease) both; }
.transcripcion-vacia { margin: auto; text-align: center; color: var(--texto-claro-suave); font-size: 15px; max-width: 260px; }
.transcripcion.con-mensajes .transcripcion-vacia { display: none; }
.transcripcion .burbuja small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.aviso-demo { font-size: 13px; color: var(--texto-claro-suave); margin-top: 14px; }

/* Chat de prueba */
.chat-seccion { background: var(--crema); }
.chat-grilla { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; margin-top: 10px; }
.chat-caja { background: var(--papel); border-radius: var(--radio-g); box-shadow: var(--sombra); overflow: hidden; border: 1px solid rgba(31, 26, 46, .08); }
.chat-cabeza { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--tinta); color: var(--texto-claro); }
.chat-cabeza img { width: 42px; height: 42px; border-radius: 50%; background: var(--tinta-3); padding: 4px; }
.chat-cabeza small { display: block; color: #b9b0cc; font-size: 12px; } /* la cabecera siempre es oscura: el gris de --turquesa daba 3,3:1 */
.chat-cabeza select { margin-left: auto; background: var(--tinta-3); color: var(--texto-claro); border: 0; border-radius: 10px; padding: 8px 10px; min-height: 40px; font: inherit; font-size: 14px; }
.chat-mensajes { height: 360px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: radial-gradient(circle at 20% 0, #fff 0, var(--papel) 60%); }
.chat-mensajes .burbuja.cli { background: var(--turquesa-osc); color: #fff; justify-self: end; align-self: flex-end; border-radius: 20px 20px 6px 20px; }
.chat-mensajes .burbuja.asi { background: var(--crema-2); color: var(--texto); align-self: flex-start; border-radius: 20px 20px 20px 6px; font-weight: 400; }
.escribiendo { display: inline-flex; gap: 4px; }
.escribiendo i { width: 7px; height: 7px; border-radius: 50%; background: var(--texto-suave); animation: salto 1s infinite; }
.escribiendo i:nth-child(2) { animation-delay: .15s; } .escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes salto { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(31, 26, 46, .08); }
.chat-form label { flex: 1; }
.chat-form input { width: 100%; min-height: 48px; border-radius: 999px; border: 1.5px solid rgba(31, 26, 46, .15); padding: 0 18px; font: inherit; background: #fff; }
.chat-form input:focus { outline: none; border-color: var(--turquesa); box-shadow: 0 0 0 4px rgba(22, 179, 166, .2); }
.chat-form button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--coral-fondo); color: #fff; display: grid; place-items: center; }
.chat-form button svg { width: 20px; height: 20px; }
.sugerencias { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 14px; }
.sugerencias button { border: 1px solid rgba(31, 26, 46, .15); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 14px; min-height: 40px; }
.chat-estado { font-size: 13px; color: var(--texto-suave); margin-top: 12px; }

/* Calculadora */
.calcu { background: var(--turquesa-osc); color: #fff; overflow: hidden; }
.calcu .eyebrow { color: #fff; }
.calcu-grilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-top: 50px; }
.control { margin-bottom: 30px; }
.control label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 10px; gap: 12px; }
.control output { font-family: var(--f-titulo); font-size: 22px; font-weight: 800; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .28); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mango); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--mango); border: 4px solid #fff; cursor: grab; }
.resultado { background: var(--tinta); border-radius: var(--radio-g); padding: 36px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.resultado .grande { display: block; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(52px, 7vw, 86px); line-height: 1; color: var(--mango); letter-spacing: -.04em; margin: 8px 0 6px; }
.resultado p { margin: 0; color: var(--texto-claro-suave); }
.calcu-detalle { max-width: 860px; margin: 24px auto 0; }
.calcu-detalle a { color: #fff; font-weight: 800; text-underline-offset: 3px; }
.calcu .fuente { font-size: 14px; opacity: .92; margin-top: 18px; max-width: 1000px; }
.calcu .fuente a { color: #fff; font-weight: 700; text-underline-offset: 2px; }

/* Precios */
.precios { background: var(--crema); }
.planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--papel); border-radius: var(--radio-g); padding: 30px; box-shadow: inset 0 0 0 1px rgba(31, 26, 46, .1); display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), transform .45s cubic-bezier(.22, 1, .36, 1); will-change: transform; cursor: default; }
.plan:hover { box-shadow: var(--sombra), inset 0 0 0 1px rgba(31, 26, 46, .1); }
.plan.destacado { background: var(--tinta); color: var(--texto-claro); box-shadow: var(--sombra); }
.plan .etiqueta { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--mango); color: var(--tinta); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan h3 { font-size: 26px; }
.precio { font-family: var(--f-titulo); font-size: 58px; font-weight: 800; letter-spacing: -.04em; margin: 16px 0 0; line-height: 1; }
.precio small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--texto-suave); }
.plan.destacado .precio small { color: var(--texto-claro-suave); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 16px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--turquesa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan .btn { margin-top: auto; justify-content: center; cursor: pointer; transition: background-color .2s ease, box-shadow .2s ease, filter .2s ease; }
.plan .btn:hover { transform: none; filter: brightness(1.06); }
.plan .btn:active { transform: none; filter: brightness(.96); }
/* Plan para empresas: tarjeta ancha bajo los tres planes (patrón SaaS "Enterprise / Contact sales") */
.plan-empresa { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 34px 38px; border-radius: var(--radio-g); background: linear-gradient(135deg, var(--tinta) 0%, #2b2147 100%); color: var(--texto-claro); box-shadow: var(--sombra); position: relative; overflow: hidden; }
.plan-empresa::after { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 80, .22), transparent 70%); pointer-events: none; }
.plan-empresa > * { position: relative; z-index: 1; }
.etiqueta-emp { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--mango); color: var(--tinta); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan-empresa h3 { font-size: 28px; margin: 0 0 8px; }
.pe-sub { margin: 0; color: var(--texto-claro-suave); font-size: 16px; line-height: 1.5; }
.pe-precio { margin: 18px 0 0; font-family: var(--f-titulo); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pe-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15.5px; }
.pe-lista li { display: flex; gap: 10px; }
.pe-lista li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--turquesa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pe-acciones { display: grid; gap: 14px; justify-items: center; text-align: center; }
.pe-acciones .btn { min-width: 190px; justify-content: center; }
.pe-wa { color: var(--texto-claro-suave); font-size: 14px; text-underline-offset: 3px; }
.pe-wa:hover { color: #fff; }
@media (max-width: 960px) {
  .plan-empresa { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 22px; }
  .pe-acciones { justify-items: stretch; }
  .plan-empresa h3 { font-size: 24px; }
}
.v-oculto { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tabla-planes-wrap { margin-top: 40px; overflow-x: auto; border-radius: var(--radio); box-shadow: inset 0 0 0 1px rgba(31, 26, 46, .1); background: var(--papel); }
.tabla-planes { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.tabla-planes caption { text-align: left; font-family: var(--f-titulo); font-weight: 800; font-size: 18px; padding: 18px 20px 4px; color: var(--texto); }
.tabla-planes th, .tabla-planes td { padding: 12px 20px; text-align: center; border-top: 1px solid rgba(31, 26, 46, .1); }
.tabla-planes thead th { font-family: var(--f-titulo); font-weight: 800; font-size: 16px; border-top: none; }
.tabla-planes tbody th { text-align: left; font-weight: 600; color: var(--texto-suave); }
.tabla-planes tbody th[scope="row"] { white-space: normal; }
.tabla-planes td[colspan] { text-align: left; color: var(--texto-suave); font-size: 14px; line-height: 1.5; }
.letra-chica { margin-top: 40px; font-size: 15px; line-height: 1.55; color: var(--texto-suave); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 980px; }
.letra-chica p { margin: 0; }
.letra-chica span, .letra-chica p { display: block; padding: 16px 18px; border-left: 3px solid var(--turquesa); border-radius: 0 14px 14px 0; background: rgba(255, 255, 255, .58); }
.letra-chica a { grid-column: 1 / -1; justify-self: start; margin-top: 4px; font-weight: 700; text-underline-offset: 3px; }
.calcu-contexto { max-width: 900px; margin: 24px auto 0; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9); font-size: 14px; line-height: 1.6; }
.calcu-contexto strong { color: #fff; }
.calcu-contexto a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

/* Empezar */
.empezar { background: var(--crema-2); }
.tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 50px; }
.tres article { background: var(--papel); border-radius: var(--radio-g); padding: 28px; position: relative; overflow: hidden; }
.tres img { width: 96px; margin-bottom: 14px; }
.tres p { color: var(--texto-suave); margin: 10px 0 0; }

/* FAQ */
.faq { background: var(--crema); }
.preguntas { margin-top: 44px; display: grid; gap: 12px; max-width: 900px; }
.preguntas details { background: var(--papel); border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(31, 26, 46, .1); }
.preguntas summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 700; font-size: 18px; position: relative; min-height: 48px; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--crema-2); display: grid; place-items: center; font-size: 22px; transition: transform .3s var(--ease), background .3s; }
.preguntas details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--mango); }
.preguntas details p { margin: 0; padding: 0 24px 22px; color: var(--texto-suave); }

/* Contacto */
.contacto { background: var(--tinta); color: var(--texto-claro); text-align: center; overflow: hidden; }
.contacto h2 { font-size: clamp(40px, 7vw, 96px); }
.contacto .intro { margin-inline: auto; }
.datos-contacto { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; }
.datos-contacto .btn { min-width: 200px; justify-content: center; }
.correo-contacto { color: var(--texto-claro); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.correo-contacto:hover { color: var(--mango); }
.datos-contacto [hidden] { display: none; }

/* Pie */
.pie { background: #0d0a15; color: var(--texto-claro-suave); padding: 40px 0 96px; font-size: 14px; }
.pie .envoltura { display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie a { text-decoration: none; } .pie a:hover { color: var(--mango); }

/* Botón flotante de WhatsApp */
.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .8); transition: transform .25s var(--ease); }
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante svg { width: 30px; height: 30px; }
.wa-flotante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: onda 2.4s ease-out infinite; }

/* Entradas al bajar (las activa JS; sin JS se ve todo) */
.js .aparece { opacity: 0; transform: translateY(34px); }

/* Celular y tablet */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav .idioma { margin-left: auto; }
  .hero .envoltura, .historia-grilla, .reproductor, .chat-grilla, .calcu-grilla { grid-template-columns: minmax(0, 1fr); }
  .hero-escena { height: 240px; margin-top: 8px; } /* celular: primero el título, después los objetos (dueño, 2026-09-26) */
  .hero .envoltura { padding-top: 90px; gap: 10px; }
  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planes, .tres { grid-template-columns: minmax(0, 1fr); }
  .historia-grilla { gap: 20px; }
  .escenario { top: 80px; height: 46vh; min-height: 320px; order: -1; }
  .pasos { gap: 22vh; padding: 4vh 0 48vh; }
  .transcripcion { height: 320px; }
  .visualizador-llamada { grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; min-height: 92px; }
  #onda { height: 92px; }
  #orbe { width: 92px; height: 92px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .marca { font-size: 19px; }
  .escenario { height: 50vh; }
  .escena { padding: 16px; }
  .tablet { padding: 12px; border-width: 6px; }
  .ticket { gap: 8px; padding: 8px 10px; font-size: 12px; margin-top: 8px; }
  .ticket b { font-size: 13px; }
  .ticket img { width: 28px; }
  .estado { font-size: 11px; padding: 4px 8px; }
  .collage { gap: 26px 14px; }
  .foto:nth-child(n) { margin-top: 0; }
  .foto:nth-child(even) { margin-top: 36px; }
  .foto .globo { font-size: 12px; padding: 7px 10px; left: -4%; max-width: 92%; }
.foto .globo.resp { right: -4%; left: auto; }
  .foto figcaption { font-size: 16px; }
  .chat-mensajes { height: 320px; }
  .resultado { padding: 26px; }
  .resultado .grande { font-size: clamp(40px, 12vw, 52px); }
  .plan { padding: 24px; }
  .tabla-planes th, .tabla-planes td { padding: 10px 14px; font-size: 13px; }
  .tabla-planes caption { font-size: 16px; padding: 14px 14px 4px; }
  .letra-chica { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 28px; font-size: 14px; }
  .letra-chica a { grid-column: auto; }
  .calcu-contexto { padding: 14px 16px; font-size: 13px; }
}

/* Menos movimiento: todo quieto y visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .aparece { opacity: 1; transform: none; }
  .rotador span.activo { opacity: 1; }
  .escena { transition: none; }
}

/* Pantallas grandes (pedido del dueño 2026-09-26: en monitor maximizado quedaban franjas vacías a los
   lados). Los fondos de cada sección ya van de borde a borde; ahora el contenido crece con la pantalla
   hasta 1520 px, y los párrafos conservan su ancho máximo para que se lean cómodos. */
@media (min-width: 1600px) {
  :root { --ancho: min(84vw, 1520px); }
  body { font-size: 18px; }
}
@media (min-width: 2200px) {
  :root { --ancho: min(80vw, 1760px); }
  body { font-size: 19px; }
}

/* Calculadora por rubro (2026-09-26): los botones usan el mismo estilo que las pestañas de «Escúchelo». */
.calcu-rubros { margin-bottom: 28px; }
.calcu .calcu-rubros button { background: rgba(255, 255, 255, .14); color: #fff; }
.calcu .calcu-rubros button[aria-selected="true"] { background: var(--mango); color: var(--tinta); }
.calcu-dato { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .88); margin: -8px 0 0; }

/* Sin el recuadro translúcido al tocar (dueño, 2026-09-30) */
* { -webkit-tap-highlight-color: transparent; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible), [role="button"]:focus:not(:focus-visible), summary:focus:not(:focus-visible) { outline: none; }
