:root {
  --bg: #050706;
  --glow: 0.15;           /* intensidad del glow del fondo: 1 = original · 0.15 = muy bajo */
  --panel: rgba(255, 255, 255, 0.042);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --ink: #f7fbf8;
  --soft: rgba(247, 251, 248, 0.68);
  --muted: rgba(247, 251, 248, 0.46);
  --line: rgba(255, 255, 255, 0.06);
  --aqua: #5af0d8;
  --cyan: #7be7ff;
  --blue: #3978ff;
  --coral: #ff8066;
  --amber: #f1b64b;
  --green-dark: #0e2b25;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: 0 0 0 4px rgba(90, 240, 216, 0.18), 0 0 0 1px var(--aqua);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { background: rgba(90, 240, 216, 0.28); }

:where(a, button, input, summary, [role="tab"], [tabindex]):focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 4px;
  box-shadow: var(--focus-ring);
}

.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.nav-cta:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible,
.faq-list summary:focus-visible,
.os-tab:focus-visible,
.demo-modal-close:focus-visible,
.whatsapp-float:focus-visible {
  border-radius: 999px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 500;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #06100e;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 68% -12%, rgb(57 120 255 / calc(0.2 * var(--glow))), transparent 62%),
    radial-gradient(680px 520px at 18% 12%, rgb(90 240 216 / calc(0.13 * var(--glow))), transparent 64%),
    linear-gradient(180deg, #07100e 0%, #050706 58%, #020303 100%);
  /* OJO: nada de mask-image aqui. Una mascara sobre este contenedor obliga a
     rasterizar el grupo entero en el hilo principal, y entonces las capas
     animadas de dentro (aurora, haz) dejan de componerse en GPU. El
     difuminado del perimetro lo hace .ambient-tint con un degradado normal,
     que se pinta una vez y no vuelve a costar. */
}
.ambient-video {
  position: absolute;
  top: -8%;
  left: -4%;
  width: 108%;
  height: 116%;
  object-fit: cover;
  opacity: 0.78;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  -webkit-mask-image: radial-gradient(ellipse 74% 72% at 47% 34%, #000 0 55%, rgba(0,0,0,0.62) 66%, transparent 80%);
  mask-image: radial-gradient(ellipse 74% 72% at 47% 34%, #000 0 55%, rgba(0,0,0,0.62) 66%, transparent 80%);
}
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,3,3,0.86) 0%, transparent 16%, transparent 76%, rgba(2,3,3,0.94) 100%),
    linear-gradient(180deg, rgba(2,3,3,0.16), transparent 30%, rgba(2,3,3,0.68) 100%);
  pointer-events: none;
}
.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.ambient-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 54% -10%, rgba(5,7,6,0.08), rgba(5,7,6,0.68) 70%),
    linear-gradient(180deg, rgba(5,7,6,0.1) 0%, rgba(5,7,6,0.42) 42%, rgba(5,7,6,0.86) 100%);
}
.ambient-beam {
  position: absolute;
  left: 50%;
  top: -32%;
  width: 44rem;
  height: 44rem;
  transform: translateX(-50%) rotate(24deg);
  background: conic-gradient(from 180deg, transparent 0 28%, rgba(90,240,216,0.12), transparent 48% 100%);
  opacity: var(--glow);
}
.ambient-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

main,
.site-footer { position: relative; z-index: 2; }

.site-nav {
  position: fixed;
  top: 0.85rem;
  left: 50%;
  z-index: 320;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 1060px);
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0.45rem 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035)),
    rgba(5, 7, 6, 0.88);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  box-shadow:
    0 18px 54px rgba(0,0,0,0.56),
    0 0 0 1px rgba(90,240,216,0.04),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), top 0.3s var(--ease);
}
.site-nav.scrolled {
  top: 0.6rem;
  border-color: rgba(255,255,255,0.04);
  background: rgba(6, 9, 8, 0.94);
  box-shadow:
    0 16px 44px rgba(0,0,0,0.55),
    0 0 0 1px rgba(90,240,216,0.07),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 340;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--cyan), var(--blue));
  box-shadow: 0 0 22px rgba(90,240,216,0.55);
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: Archivo, system-ui, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  white-space: nowrap;
}
.brand .b-ai {
  color: var(--aqua);
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 900;
  font-size: 0.82em;
  letter-spacing: -0.025em;
}
.brand-sep {
  display: inline-block;
  width: 1.5px;
  height: 0.62em;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--aqua) 25%, var(--aqua) 75%, transparent);
  opacity: 0.7;
  transform: translateY(0.04em);
}
.brand-rest {
  color: currentColor;
}
.brand .b-dot {
  color: var(--aqua);
  font-family: Archivo, system-ui, sans-serif;
  font-weight: 900;
  font-size: 0.62em;
  padding: 0 0.1em;
  vertical-align: 0.12em;
}
/* Marca en texto (cabeceras, OS, inbox): «ditb» + «o» aqua; hereda peso y fuente. */
.b-ai { color: var(--aqua); }
.b-dot {
  color: var(--aqua);
  font-weight: 900;
  padding: 0 0.08em;
}
.nav-links {
  display: flex;
  gap: 0.2rem;
  padding: 0.28rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 999px;
}
.nav-links a,
.site-footer a { transition: color 0.2s var(--ease); }
.nav-links a:hover,
.site-footer a:hover { color: #fff; }
/* El pie repite la accion principal de la barra. Se marca con el aqua de marca
   para que se lea como accion y no como una pagina mas de la lista. */
.site-footer a.footer-demo { color: var(--aqua); }
.site-footer a.footer-demo:hover { color: var(--cyan); }
.nav-links a:hover {
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: #f5f2e7;
  color: #050706;
  font-size: 0.78rem;
  font-weight: 900;
}
/* Botón hamburguesa: solo en móvil (se activa en la media query). */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #eef4fb;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
.site-nav.menu-open .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav.menu-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-nav.menu-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero,
.audit-section,
.discovery-section,
.voice-section,
.story-section,
.ops-section,
.inbox-section,
.commercial-section,
.faq-section,
.cta-section,
.site-footer {
  width: min(calc(100% - 2rem), 1130px);
  margin: 0 auto;
}
#inicio,
#proceso,
#voz,
#flujo,
#inbox,
#precio,
#faq,
#contacto {
  scroll-margin-top: 7rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.25rem;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 20px rgba(90,240,216,0.8);
}

h1,
h2,
h3,
p { margin-top: 0; }
h1 {
  max-width: 10.5ch;
  margin-bottom: 1.15rem;
  font-size: clamp(4rem, 11vw, 8.8rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 900;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.058em;
  font-weight: 900;
}
h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  --spotlight-x: 50%;
  --spotlight-y: 36%;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-spotlight {
  position: absolute;
  z-index: 1;
  inset: -24% -18%;
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(247,251,248,0.18), transparent 11rem),
    radial-gradient(circle at calc(var(--spotlight-x) + 8%) calc(var(--spotlight-y) + 12%), rgba(90,240,216,0.14), transparent 16rem);
  display: none; /* brillo que seguía al ratón en el hero: retirado a petición */
  opacity: calc(0.72 * var(--glow));
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.hero-spline-field {
  position: absolute;
  z-index: 1;
  right: max(-5vw, -4rem);
  top: 17%;
  width: min(46vw, 42rem);
  aspect-ratio: 1;
  pointer-events: none;
  perspective: 900px;
  opacity: 0.8;
  filter: drop-shadow(0 40px 120px rgba(0,0,0,0.55));
}
.hero-spline-field::before,
.hero-spline-field::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(90,240,216,0.12);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-24deg);
}
.hero-spline-field::after {
  inset: 24%;
  border-color: rgba(57,120,255,0.16);
  transform: rotateX(64deg) rotateZ(34deg);
}
.spline-ring,
.spline-core,
.spline-node {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.spline-ring {
  inset: 10%;
  border: 1px solid rgba(255,255,255,0.04);
  transform-style: preserve-3d;
  animation: splineDrift 18s linear infinite;
}
.spline-ring.ring-a {
  box-shadow: inset 0 0 42px rgba(90,240,216,0.08), 0 0 60px rgba(90,240,216,0.08);
}
.spline-ring.ring-b {
  inset: 25%;
  border-color: rgba(90,240,216,0.2);
  transform: rotateX(74deg) rotateZ(42deg);
  animation-duration: 23s;
  animation-direction: reverse;
}
.spline-core {
  left: 41%;
  top: 37%;
  width: 19%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 34% 24%, #f7fbf8, rgba(90,240,216,0.92) 24%, rgba(57,120,255,0.56) 54%, rgba(5,7,6,0.08) 72%);
  box-shadow:
    0 0 46px rgba(90,240,216,0.42),
    0 0 120px rgba(57,120,255,0.22);
  animation: splineFloat 6s var(--ease) infinite alternate;
}
.spline-node {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(90,240,216,0.75);
}
.spline-node.node-a { left: 21%; top: 34%; }
.spline-node.node-b { right: 18%; top: 52%; background: #f7fbf8; }
.spline-node.node-c { left: 48%; bottom: 17%; background: var(--blue); }
@keyframes splineDrift {
  from { transform: rotateX(67deg) rotateZ(0deg); }
  to { transform: rotateX(67deg) rotateZ(360deg); }
}
@keyframes splineFloat {
  from { transform: translate3d(-8px, 8px, 0) scale(0.96); }
  to { transform: translate3d(10px, -12px, 0) scale(1.05); }
}
.hero .eyebrow { margin-bottom: 1.7rem; }
.section-skill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 30px;
  margin: 0 0 1rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(90,240,216,0.18);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(90,240,216,0.1), rgba(57,120,255,0.06)),
    rgba(255,255,255,0.035);
  color: rgba(232,252,248,0.8);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero .section-skill,
.section-copy.center .section-skill,
.story-intro .section-skill {
  margin-inline: auto;
}
.hero h1 {
  max-width: 11.4ch;
  margin-inline: auto;
  /* 0.88 apretaba tanto que las tildes de "clinica" tocaban la linea de
     arriba. Se suelta el interlineado y se baja el cuerpo: el bloque no crece,
     pero respira. */
  font-size: clamp(3.6rem, 9.6vw, 7.6rem);
  line-height: 0.96;
  text-wrap: balance;
}
.hero h1 span {
  display: block;
  font-family: Archivo, system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--aqua);
}
.hero h1 .shiny {
  background-image: linear-gradient(110deg, #0b1a24 0%, #5af0d8 22%, #f7fbf8 44%, #7be7ff 58%, #3978ff 72%, #5af0d8 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shinyText 5.8s linear infinite;
  /* OJO: nada de text-shadow aquí. En Safari/WebKit (todos los iPhone),
     text-shadow + background-clip:text pinta el degradado SIN recortar y
     cubre el hero con un bloque blanco gigante. */
}
@keyframes shinyText {
  from { background-position: -180% center; }
  to { background-position: 180% center; }
}
.hero-rotator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-height: 46px;
  margin: 0.95rem auto 1.35rem;
  padding: 0.34rem 0.46rem 0.34rem 0.72rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.028)),
    rgba(5,9,8,0.56);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero-rotator-label {
  color: rgba(247,251,248,0.74);
  font-size: 0.82rem;
  font-weight: 900;
}
.hero-rotator-window {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: min(70vw, 13.6rem);
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(90,240,216,0.11);
  color: var(--aqua);
  overflow: hidden;
}
.hero-rotator-word {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.7rem;
  opacity: 0;
  transform: translateY(110%);
  color: var(--aqua);
  font-size: 0.92rem;
  font-weight: 950;
  white-space: nowrap;
  transition: opacity 0.52s var(--ease), transform 0.52s var(--ease);
}
.hero-rotator-word.is-active {
  opacity: 1;
  transform: translateY(0);
}
.hero-rotator-word.is-exiting {
  opacity: 0;
  transform: translateY(-110%);
}
.hero-lead,
.section-copy p,
.voice-copy p,
.ops-panel p,
.price-panel p,
.pilot-panel p,
.cta-copy p {
  color: var(--soft);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.6;
}
.hero-lead { max-width: 43rem; margin: 0 auto 2rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  justify-content: center;
}
.hero-fast-path {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin: -0.2rem auto 0.6rem;
}
.hero-fast-path a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: rgba(247,251,248,0.72);
  font-size: 0.76rem;
  font-weight: 850;
}
.hero-fast-path a:hover {
  color: #fff;
  border-color: rgba(90,240,216,0.28);
  background: rgba(90,240,216,0.08);
}
.hero-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  color: rgba(255,255,255,0.56);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-cue::before {
  display: none;
}
.hero-cue::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--aqua);
  border-bottom: 1px solid var(--aqua);
  transform: rotate(45deg) translateY(-2px);
}
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.primary-btn {
  background: #f5f2e7;
  color: #050706;
}
.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.primary-btn:hover,
.secondary-btn:hover { transform: translateY(-1px); }
.secondary-btn:hover { background: rgba(255,255,255,0.08); }
.primary-btn-full { width: 100%; }
.phone {
  position: relative;
  width: min(100%, 338px);
  min-height: 610px;
  padding: 0.96rem;
  display: flex;
  flex-direction: column;
  border: 4px solid rgba(238,244,241,0.24);
  border-radius: 58px;
  background:
    linear-gradient(180deg, rgba(232,226,210,0.34), transparent 8%, transparent 91%, rgba(246,235,205,0.2)),
    linear-gradient(90deg, rgba(255,255,255,0.2), transparent 7%, transparent 93%, rgba(255,255,255,0.16)),
    linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.035) 34%, rgba(0,0,0,0.36)),
    #090d0c;
  box-shadow:
    0 54px 130px rgba(0,0,0,0.68),
    0 0 0 12px rgba(0,0,0,0.56),
    0 0 0 17px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -18px 42px rgba(0,0,0,0.28);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone::before {
  content: "";
  position: absolute;
  inset: 0.58rem;
  border-radius: 48px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.22), transparent 18% 72%, rgba(90,240,216,0.1)),
    radial-gradient(circle at 24% 10%, rgba(255,255,255,0.16), transparent 20%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.65;
  z-index: 1;
}
.story-phone {
  transform: rotateX(var(--story-rx, 4deg)) rotateY(var(--story-ry, -8deg)) translate3d(var(--story-x, 0), var(--story-y, 0), 0) scale(var(--story-scale, 1));
  transition: none;
  will-change: transform;
}
.phone::after {
  content: "";
  position: absolute;
  inset: 0.86rem;
  border-radius: 43px;
  border: 2px solid rgba(90,240,216,0.15);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.055),
    inset 0 0 50px rgba(90,240,216,0.045);
  pointer-events: none;
  z-index: 4;
}
.phone-side {
  position: absolute;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(90,240,216,0.18), rgba(0,0,0,0.32));
  box-shadow: 0 0 18px rgba(90,240,216,0.16);
}
.side-left {
  left: -5px;
  top: 24%;
  height: 82px;
}
.side-right {
  right: -5px;
  top: 34%;
  height: 118px;
}
.phone-bottom-edge {
  display: none;
}
.phone-bottom-edge i { display: block; flex: 0 0 auto; }
.sim-slot {
  width: 48px;
  height: 9px;
  border: 1px solid rgba(0,0,0,0.58);
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.38);
}
.mic-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(3,5,5,0.92);
}
.usb-port {
  width: 34px;
  height: 12px;
  border-radius: 999px;
  background: #050606;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.18), 0 0 0 1px rgba(255,255,255,0.12);
}
.speaker-holes {
  width: 58px;
  height: 8px;
  background:
    radial-gradient(circle, rgba(4,5,5,0.95) 0 3px, transparent 3.5px) 0 50% / 12px 8px repeat-x;
}
.phone-home {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  z-index: 5;
  width: 96px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  transform: translateX(-50%);
}
.phone-top {
  position: relative;
  z-index: 5;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.phone-speaker {
  width: 104px;
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 78% 50%, rgba(60,78,74,0.95) 0 3.5px, rgba(10,14,13,1) 4px 6px, transparent 6.5px),
    radial-gradient(circle at 22% 50%, rgba(120,150,145,0.35) 0 1.6px, transparent 2.4px),
    linear-gradient(180deg, #000, #060807);
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.06),
    inset 0 0 0 1px rgba(0,0,0,0.6),
    0 6px 16px rgba(0,0,0,0.5);
}
.phone-dot {
  display: none;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.phone-header,
.phone-action {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
    rgba(18, 32, 29, 0.5);
}
.phone-header::before {
  content: "";
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 2px, transparent 2.5px),
    linear-gradient(135deg, #20d366, #0b7f55);
  box-shadow: 0 0 22px rgba(37,211,102,0.34);
}
.phone-header strong { display: block; font-size: 0.98rem; }
.phone-header small {
  display: block;
  margin-top: 0.2rem;
  color: var(--aqua);
  font-size: 0.74rem;
}
.live-dot {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(37,211,102,0.16);
  color: var(--aqua);
  font-size: 0.68rem;
  font-weight: 900;
}
.phone-chat {
  position: relative;
  z-index: 3;
  min-height: 390px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 1rem 0.35rem 0.55rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.025) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(225deg, rgba(255,255,255,0.02) 25%, transparent 25%) 0 0 / 24px 24px,
    radial-gradient(circle at 15% 20%, rgba(90,240,216,0.06), transparent 18%),
    radial-gradient(circle at 80% 70%, rgba(90,240,216,0.045), transparent 18%),
    linear-gradient(180deg, rgba(8,16,14,0.28), rgba(0,0,0,0.2));
  border-radius: 24px;
  overflow: hidden;
}
.bubble {
  max-width: 82%;
  position: relative;
  padding: 0.68rem 0.82rem;
  border-radius: 18px;
  color: rgba(255,255,255,0.9);
  line-height: 1.35;
  font-size: 0.86rem;
  animation: bubbleIn 0.5s var(--ease) both;
}
.bubble.patient {
  align-self: flex-end;
  background: linear-gradient(180deg, #0b6b58, #075e4f);
  color: rgba(255,255,255,0.94);
  border-bottom-right-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 18px rgba(0,0,0,0.16);
}
.bubble.ai {
  align-self: flex-start;
  background: linear-gradient(180deg, #252a27, #1d211f);
  border-bottom-left-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 18px rgba(0,0,0,0.18);
}
.phone-chat .bubble.patient::after,
.phone-chat .bubble.ai::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 12px;
}
.phone-chat .bubble.patient::after {
  right: -5px;
  background: linear-gradient(135deg, #075e4f 0 50%, transparent 51%);
}
.phone-chat .bubble.ai::after {
  left: -5px;
  background: linear-gradient(225deg, #1d211f 0 50%, transparent 51%);
}
.bubble.typing {
  width: 54px;
  display: inline-flex;
  gap: 4px;
  padding-block: 0.72rem;
}
.bubble.typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.54);
  animation: typingDot 0.86s ease-in-out infinite;
}
.bubble.typing span:nth-child(2) {
  animation-delay: 0.12s;
}
.bubble.typing span:nth-child(3) {
  animation-delay: 0.24s;
}
.phone-action {
  display: block;
  margin-top: auto;
  margin-bottom: 0.5rem;
  padding: 0.62rem 0.85rem;
  border-radius: 20px;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025)),
    rgba(9,17,15,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.phone-action span {
  font-size: 0.78rem;
}
.phone-action strong {
  display: block;
  margin-top: 0.18rem;
  color: #fff;
  font-size: 0.88rem;
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes typingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.36; }
  40% { transform: translateY(-4px); opacity: 0.95; }
}

.process-stage,
.system-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}
.process-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -0.5rem;
  height: 1px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.process-line span {
  display: block;
  width: var(--process-progress, 12%);
  height: 100%;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
  box-shadow: 0 0 18px rgba(90,240,216,0.55);
  transition: width 0.5s var(--ease);
}
.process-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 190px;
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.075)),
    rgba(5,7,6,0.44);
  overflow: hidden;
  opacity: 0.62;
  transform: translateY(18px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(90,240,216,0.16), transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.42) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.process-card span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.process-card h3,
.process-card p {
  position: relative;
  z-index: 1;
}
.process-card h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  line-height: 0.98;
}
.process-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.48;
}
.process-card.active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(90,240,216,0.36);
  background: rgba(90,240,216,0.07);
}
.process-card.active::before {
  opacity: 1;
}

.discovery-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section-copy { max-width: 520px; }
.section-copy.center {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.discovery-board {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--mx, 48%) var(--my, 42%), rgba(90,240,216,0.22), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  box-shadow: 0 42px 110px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
}
.discovery-board::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255,255,255,0.04);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.discovery-board::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px dashed rgba(90,240,216,0.16);
  border-radius: 50%;
  transform: rotate(18deg);
}
.discovery-preview {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(78%, 360px);
  min-height: 252px;
  transform: translate(-50%, -50%);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 28px;
  background: rgba(5, 7, 6, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.preview-kicker {
  margin-bottom: 0.75rem;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.discovery-preview p:not(.preview-kicker) {
  color: var(--soft);
  line-height: 1.55;
}
.preview-lines {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.preview-lines span {
  display: block;
  width: var(--w);
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90,240,216,0.9), rgba(57,120,255,0.35));
}
.system-console {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.45rem;
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 20px;
  background: rgba(255,255,255,0.045);
}
.system-console div {
  display: grid;
  grid-template-columns: 6.4rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: rgba(0,0,0,0.18);
}
.system-console small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.system-console strong {
  color: rgba(255,255,255,0.86);
  font-size: 0.84rem;
  line-height: 1.25;
}
.discovery-node {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0.18rem;
  min-width: 154px;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.discovery-node span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.discovery-node strong { font-size: 0.98rem; }
.discovery-node:hover,
.discovery-node.active {
  transform: translateY(-4px);
  border-color: rgba(90,240,216,0.45);
  background: rgba(90,240,216,0.12);
}

.system-redesign {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
}
.system-copy {
  position: sticky;
  top: 7.5rem;
  align-self: start;
}
.system-redesign .discovery-board {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0.9rem;
  overflow: visible;
  background:
    radial-gradient(circle at var(--mx, 64%) var(--my, 32%), rgba(90,240,216,0.2), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.025));
  box-shadow: 0 42px 130px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
}
.system-redesign .discovery-board::before,
.system-redesign .discovery-board::after {
  display: none;
}
.system-redesign .discovery-preview {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  min-height: auto;
  transform: none;
  grid-column: 1 / -1;
  display: grid;
  align-content: center;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-radius: 26px;
  background:
    radial-gradient(circle at 84% 14%, rgba(90,240,216,0.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.025)),
    rgba(5, 7, 6, 0.76);
}
.preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.preview-topline span {
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(90,240,216,0.24);
  border-radius: 999px;
  background: rgba(90,240,216,0.1);
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
}
.system-redesign .discovery-preview h3 {
  max-width: 16ch;
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 0.92;
  letter-spacing: -0.052em;
}
.system-redesign .discovery-preview p:not(.preview-kicker) {
  max-width: 34rem;
  font-size: 0.98rem;
}
.control-panel-preview {
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(90,240,216,0.19);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(90,240,216,0.12), transparent 42%),
    rgba(0,0,0,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 58px rgba(0,0,0,0.28);
}
.control-head,
.control-signal {
  display: flex;
  align-items: center;
}
.control-head {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.control-head span,
.control-signal {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.control-head strong {
  display: block;
  margin-top: 0.18rem;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.25;
}
.control-head em {
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(90,240,216,0.13);
  color: var(--aqua);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 900;
}
.control-signal {
  gap: 0.45rem;
  flex-wrap: wrap;
}
.control-signal span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.72);
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: none;
}
.control-signal strong {
  color: #fff;
  font-size: 1rem;
}
.system-redesign .discovery-node {
  position: relative;
  min-width: 0;
  display: grid;
  align-content: center;
  min-height: 96px;
  padding: 0.85rem;
  border-radius: 18px;
}
.system-flow {
  grid-column: 1 / -1;
  padding-top: 0.65rem;
}
.system-redesign .discovery-node strong {
  font-size: 1.05rem;
  line-height: 1.12;
}
.system-redesign .discovery-node em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
}
.system-redesign .discovery-node:hover,
.system-redesign .discovery-node.active {
  transform: translateX(6px);
}

.system-minimal {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
}
.system-minimal .system-copy h2 {
  max-width: 9.5ch;
}
.system-minimal .discovery-board {
  min-height: 430px;
  display: grid;
  align-content: center;
  gap: 1.1rem;
  padding: clamp(1.2rem, 2.8vw, 2rem);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 24%), rgba(90,240,216,0.2), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.026));
}
.system-minimal .discovery-board::before,
.system-minimal .discovery-board::after {
  display: none;
}
.system-path {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.system-path span {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
}
.system-path i {
  height: 1px;
  background: linear-gradient(90deg, rgba(90,240,216,0.2), rgba(90,240,216,0.8), rgba(255,255,255,0.1));
}
.system-live-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.34fr);
  gap: 1rem;
  align-items: stretch;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid rgba(90,240,216,0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(90,240,216,0.14), transparent 36%),
    rgba(5,7,6,0.7);
}
.system-live-card h3 {
  max-width: 12ch;
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 0.9;
}
.system-live-card p {
  max-width: 31rem;
  margin: 0;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.55;
}
.system-live-card aside {
  display: grid;
  align-content: end;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 22px;
  background: rgba(255,255,255,0.055);
}
.system-live-card aside small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.system-live-card aside strong {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.system-live-card aside span {
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 800;
}

/* ── Sistema operativo: ventana OS viva ─────────────────── */
.os-window {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--mx, 78%) var(--my, 8%), rgba(90,240,216,0.16), transparent 36%),
    linear-gradient(165deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02));
  box-shadow: 0 46px 130px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
}
.os-window::before {
  content: "";
  position: absolute;
  inset: 46px 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(90,240,216,0.9), transparent);
  opacity: 0.7;
  transform: translateX(var(--os-scan, -20%));
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.os-window::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -18%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,240,216,0.12), transparent 62%);
  filter: blur(12px);
  pointer-events: none;
}
.os-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(0,0,0,0.28);
}
.os-bar strong {
  margin-left: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-weight: 700;
}
.os-bar .os-brand {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  white-space: nowrap;
}
.os-bar .os-brand img {
  display: block;
  width: 40px;
  height: auto;
}
.os-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.os-live i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 12px rgba(90,240,216,0.9);
  animation: osBlink 1.6s ease-in-out infinite;
}
@keyframes osBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.018);
}
.os-tab {
  padding: 0.46rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.os-tab:hover { color: #fff; border-color: rgba(90,240,216,0.3); transform: translateY(-1px); }
.os-tab.active {
  color: #04110e;
  border-color: transparent;
  background: linear-gradient(135deg, var(--aqua), var(--cyan));
  box-shadow: 0 8px 22px rgba(90,240,216,0.28);
}
.os-caption {
  margin: 0;
  padding: 1rem 1rem 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.018);
  color: var(--soft);
  font-size: 0.85rem;
  line-height: 1.4;
}
.os-caption::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 0.55rem;
  vertical-align: middle;
  background: var(--aqua);
}
.os-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(190px, 0.85fr);
  gap: 0;
}
.os-pipeline {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}
.os-step {
  position: relative;
  padding: 0.95rem 1.05rem 0.95rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  opacity: 0.88;
  transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}
.os-step:hover {
  border-color: rgba(90,240,216,0.22);
  background: rgba(90,240,216,0.045);
}
.os-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--aqua), var(--blue));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.os-step.lit {
  opacity: 1;
  border-color: rgba(90,240,216,0.28);
  background: rgba(90,240,216,0.06);
  transform: translateX(2px);
}
.os-step.lit::before { transform: scaleY(1); }
.os-step-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.os-step.lit .os-step-label { color: var(--aqua); }
.os-step-label i {
  display: grid;
  place-items: center;
  min-width: 46px;
  padding: 0 0.35rem;
  height: 22px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 7px;
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.7);
  font-size: 0.58rem;
  font-style: normal;
}
.os-step.lit .os-step-label i { border-color: rgba(90,240,216,0.4); color: var(--aqua); }
.os-step p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 0.94rem;
  line-height: 1.45;
}
.os-step[data-step="2"] p { color: #fff; font-weight: 600; }
.os-panel {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(255,255,255,0.04);
  background: rgba(0,0,0,0.22);
}
.os-panel-label {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.os-panel-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.5rem;
  vertical-align: middle;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 12px rgba(90,240,216,0.8);
}
.os-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.os-kpi {
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
}
.os-kpi .os-num {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
}
.os-kpi small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.os-meter { display: grid; gap: 0.45rem; }
.os-meter-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}
.os-meter-top em {
  color: rgba(255,255,255,0.7);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}
.os-disclaimer {
  margin: 0.05rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  color: rgba(247,251,248,0.52);
  font-size: 0.72rem;
  line-height: 1.45;
}
.os-meter-top b { flex: 0 0 auto; }
.os-meter-top b {
  color: var(--aqua);
  font-size: 0.86rem;
  font-weight: 900;
}
.os-meter i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.os-meter i span {
  display: block;
  width: var(--w, 60%);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
  box-shadow: 0 0 16px rgba(90,240,216,0.5);
  transition: width 0.7s var(--ease);
}
.os-note {
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.45;
}
@keyframes caseSwap {
  from { opacity: 0; transform: translateY(8px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
.os-window.swap .os-caption,
.os-window.swap .os-step p,
.os-window.swap .os-note { animation: caseSwap 0.4s var(--ease) both; }

.story-section {
  position: relative;
  width: min(calc(100% - 2rem), 1500px);
  min-height: 380svh;
  display: block;
  padding: 0 0 clamp(4rem, 9vw, 7rem);
}
.story-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) 1rem 1rem;
  text-align: center;
}
.story-intro .eyebrow { justify-content: center; }
.story-intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
}
.story-intro > p {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--soft);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
}
.story-scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.8rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.story-scrollcue::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1px solid var(--aqua);
  border-bottom: 1px solid var(--aqua);
  transform: rotate(45deg) translateY(-1px);
  animation: cueBob 1.8s ease-in-out infinite;
}
@keyframes cueBob { 0%,100% { transform: rotate(45deg) translateY(-2px); } 50% { transform: rotate(45deg) translateY(2px); } }
.story-phone-pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  perspective: 2400px;
  overflow: hidden;
}
/* Halo detras del movil: lo convierte en el foco absoluto */
.story-phone-pin::before {
  display: none;
}
.desk-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transform-style: preserve-3d;
}
.desk-monitor {
  position: absolute;
  left: 50%;
  top: 7%;
  width: min(72vw, 1040px);
  height: min(28vw, 360px);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(90,240,216,0.08), transparent 58%),
    radial-gradient(circle at 28% 36%, rgba(90,240,216,0.14), transparent 28%),
    radial-gradient(circle at 72% 42%, rgba(57,120,255,0.14), transparent 30%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 42px),
    rgba(5,7,6,0.5);
  transform: translateX(-50%) translateZ(-260px) rotateX(-5deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 34px 120px rgba(0,0,0,0.42);
}
.desk-surface {
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: min(92vw, 1180px);
  height: min(30vw, 350px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(90,240,216,0.13), transparent 58%),
    linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transform: translateX(-50%) rotateX(70deg);
  filter: blur(0.3px);
}
.desk-keyboard {
  position: absolute;
  left: 50%;
  bottom: 13%;
  width: min(38vw, 480px);
  height: 64px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.1) 0 18px, transparent 18px 24px),
    rgba(255,255,255,0.045);
  transform: translateX(-50%) rotateX(68deg) translateZ(-70px);
  opacity: 0.68;
}
.desk-card {
  position: absolute;
  width: clamp(116px, 11vw, 170px);
  height: clamp(58px, 6vw, 92px);
  border: 1px solid rgba(90,240,216,0.12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(90,240,216,0.32) 0 4px, transparent 5px),
    linear-gradient(90deg, rgba(90,240,216,0.12), rgba(5,7,6,0.32)),
    rgba(5,7,6,0.38);
  opacity: 0.6;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.desk-card::before,
.desk-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), transparent);
  opacity: 0.55;
}
.desk-card::before { top: 18px; }
.desk-card::after { display: none; }
.card-one {
  left: 12%;
  top: 28%;
  transform: rotateY(22deg) rotateZ(-5deg) translateZ(-40px);
}
.card-two {
  right: 12%;
  bottom: 25%;
  transform: rotateY(-22deg) rotateZ(4deg) translateZ(-20px);
}
/* Foco en el movil: fuera los objetos de escritorio, dejamos solo el pedestal de luz */
.desk-monitor,
.desk-keyboard,
.desk-card { display: none; }
.desk-surface {
  display: none;
}
.story-phone-pin::after {
  display: none;
}
.story-radar {
  display: none;
}
.story-radar span {
  position: absolute;
  inset: calc(var(--i, 0) * 9%);
  border: 0;
  border-radius: 50%;
  animation: radarPulse 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.9s);
}
.story-radar span:nth-child(1) { --i: 0; }
.story-radar span:nth-child(2) { --i: 1; }
.story-radar span:nth-child(3) { --i: 2; }
@keyframes radarPulse {
  0%, 100% { opacity: 0.28; transform: scale(0.96); }
  50% { opacity: 0.8; transform: scale(1.03); }
}
.story-phone {
  --thick: 32px;
  --back-scale: 1.04;
  width: clamp(296px, 28vw, 376px);
  min-height: min(75svh, 750px);
  z-index: 8;
  padding: 0.5rem;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(222,227,225,0.42) rgba(150,158,156,0.32) rgba(120,128,126,0.34) rgba(222,227,225,0.42);
  border-radius: 60px;
  background:
    linear-gradient(90deg, rgba(236,239,237,0.5), transparent 5%, transparent 95%, rgba(214,220,218,0.42)),
    linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04) 34%, rgba(0,0,0,0.5)),
    #04100d;
  box-shadow:
    0 120px 230px rgba(0,0,0,0.92),
    0 0 0 1px rgba(255,255,255,0.16),
    0 0 80px rgba(90,240,216,0.07),
    0 0 170px rgba(90,240,216,0.035),
    inset 0 2px 1px rgba(255,255,255,0.46),
    inset 0 -24px 54px rgba(0,0,0,0.5);
}
.story-phone::before,
.story-phone::after { display: none; }
/* Cuerpo de titanio: va DIRECTAMENTE detras del cristal, empujado en Z y
   escalado un pelin, para que el canto metalico asome alrededor del borde.
   Al inclinarse el movil, el canto asoma mas por un lado: lee como grosor real. */
.phone-backplate {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(226,231,229,0.6), rgba(15,19,18,0) 11%, rgba(15,19,18,0) 89%, rgba(214,220,218,0.55)),
    linear-gradient(180deg, rgba(214,220,218,0.55), rgba(13,17,16,1) 24%, rgba(11,15,14,1) 76%, rgba(198,205,203,0.5)),
    #0b1110;
  box-shadow:
    0 50px 100px rgba(0,0,0,0.62),
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateZ(calc(-1 * var(--thick))) scale(var(--back-scale));
  opacity: var(--back-opacity, 1);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
/* Camara trasera (iPhone Pro): solo asoma al inclinarse, pero deja la trasera "rellena". */
.cam-plateau {
  position: absolute;
  left: 9%;
  top: 5%;
  width: 38%;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  padding: 9%;
  border-radius: 26%;
  background: linear-gradient(150deg, rgba(40,46,44,0.95), rgba(12,16,15,0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 6px 16px rgba(0,0,0,0.5);
}
.cam-lens {
  align-self: center;
  justify-self: center;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(120,160,180,0.5) 0 12%, rgba(6,10,12,1) 30% 60%, rgba(30,40,44,0.9) 72%),
    #05080a;
  box-shadow: inset 0 0 0 2px rgba(180,190,190,0.25), 0 1px 2px rgba(0,0,0,0.6);
}
.cam-flash {
  position: absolute;
  right: -22%;
  top: 32%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d8 0 40%, #cdd2c8 70%);
  opacity: 0.85;
}
.back-logo {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.2), transparent 60%),
    rgba(255,255,255,0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}
/* Botones de titanio sobre el canto: accion + volumen (izq), power (der) */
.story-phone .phone-side {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(232,236,234,0.75), rgba(120,127,125,0.5) 45%, rgba(40,46,44,0.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), -1px 0 2px rgba(0,0,0,0.55);
  transform: translateZ(calc(-0.46 * var(--thick)));
}
.story-phone .btn-action { left: -3px; top: 20%; height: 34px; }
.story-phone .btn-volup  { left: -3px; top: 31%; height: 54px; }
.story-phone .btn-voldn  { left: -3px; top: 41.5%; height: 54px; }
.story-phone .btn-power  { right: -3px; top: 30%; height: 86px; }
/* Cards flotantes en las esquinas, alrededor del movil protagonista */
.story-notes {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  counter-reset: note;
}
.story-note {
  position: absolute;
  width: clamp(244px, 21vw, 312px);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.07), rgba(5,9,8,0.46)),
    rgba(6,11,10,0.66);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  opacity: 0.5;
  box-shadow: 0 28px 70px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.note-a { left: clamp(0px, 2vw, 46px);  top: 15%; }
.note-b { right: clamp(0px, 2vw, 46px); top: 21%; }
.note-c { left: clamp(0px, 3vw, 70px);  bottom: 17%; }
.note-d { right: clamp(0px, 2.5vw, 56px); bottom: 11%; }
.note-a {
  top: 22%;
}
.note-ic {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(90,240,216,0.28);
  background: linear-gradient(140deg, rgba(90,240,216,0.2), rgba(57,120,255,0.12));
  color: var(--aqua);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.note-ic svg { width: 21px; height: 21px; }
.story-note h3 {
  margin: 0.1rem 0 0.3rem;
  color: #fff;
  font-size: 1.16rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.story-note p {
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  line-height: 1.45;
}
/* Punto conector hacia el movil (lado interior de cada card) */
.story-note::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 16px rgba(90,240,216,0.95);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.note-a::after, .note-c::after { right: -5px; }
.note-b::after, .note-d::after { left: -5px; }
.story-note.active {
  opacity: 1;
  border-color: rgba(90,240,216,0.4);
  box-shadow: 0 34px 80px rgba(0,0,0,0.46), 0 0 44px rgba(90,240,216,0.16), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
}
.story-note.active .note-ic {
  background: linear-gradient(140deg, var(--aqua), var(--blue));
  color: #04110e;
  border-color: transparent;
}
.story-note.active::after { opacity: 1; }
/* Las cards se revelan acumuladas y entran desde su lado segun avanza el flujo */
.story-notes.story-reveal .story-note { opacity: 0; }
.story-notes.story-reveal .note-a,
.story-notes.story-reveal .note-c { transform: translateX(-26px) scale(0.96); }
.story-notes.story-reveal .note-b,
.story-notes.story-reveal .note-d { transform: translateX(26px) scale(0.96); }
.story-notes.story-reveal .story-note.revealed { opacity: 0.55; transform: none; }
.story-notes.story-reveal .story-note.active { opacity: 1; transform: scale(1.04); }

/* ── iPhone: pantalla + interfaz de WhatsApp ──────────────── */
.phone-screen {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 6%, rgba(90,240,216,0.05), transparent 22%),
    #0b141a;
}
.dynamic-island {
  position: absolute;
  z-index: 6;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  max-width: 116px;
  height: 30px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 2px 6px rgba(0,0,0,0.5);
}
.di-cam {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(90,140,160,0.8) 0 28%, #05080a 60%);
  box-shadow: inset 0 0 0 1px rgba(120,150,160,0.35);
}
.wa-statusbar {
  position: relative;
  z-index: 4;
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 1.5rem 0.35rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}
.wa-sys { display: inline-flex; align-items: center; gap: 6px; }
.wa-net, .wa-wifi {
  background: #fff;
}
.wa-net {
  width: 18px; height: 12px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='5' y='5' width='3' height='7' rx='1'/%3E%3Crect x='10' y='2.5' width='3' height='9.5' rx='1'/%3E%3Crect x='15' y='0' width='3' height='12' rx='1'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='5' y='5' width='3' height='7' rx='1'/%3E%3Crect x='10' y='2.5' width='3' height='9.5' rx='1'/%3E%3Crect x='15' y='0' width='3' height='12' rx='1'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.wa-wifi {
  width: 18px; height: 13px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath fill='%23000' d='M9 2C5.6 2 2.5 3.3 0 5.5l1.6 1.7C3.6 5.4 6.2 4.3 9 4.3s5.4 1.1 7.4 2.9L18 5.5C15.5 3.3 12.4 2 9 2zm0 4.3c-2 0-3.9.8-5.3 2.1l1.7 1.7A5 5 0 0 1 9 8.6c1.4 0 2.7.5 3.6 1.5l1.7-1.7A7.4 7.4 0 0 0 9 6.3zm0 4.1a1.6 1.6 0 1 0 0 3.2 1.6 1.6 0 0 0 0-3.2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath fill='%23000' d='M9 2C5.6 2 2.5 3.3 0 5.5l1.6 1.7C3.6 5.4 6.2 4.3 9 4.3s5.4 1.1 7.4 2.9L18 5.5C15.5 3.3 12.4 2 9 2zm0 4.3c-2 0-3.9.8-5.3 2.1l1.7 1.7A5 5 0 0 1 9 8.6c1.4 0 2.7.5 3.6 1.5l1.7-1.7A7.4 7.4 0 0 0 9 6.3zm0 4.1a1.6 1.6 0 1 0 0 3.2 1.6 1.6 0 0 0 0-3.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wa-batt {
  position: relative;
  width: 23px; height: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 3px;
}
.wa-batt::before {
  content: "";
  position: absolute;
  left: 1.5px; top: 1.5px; bottom: 1.5px;
  width: 72%;
  border-radius: 1px;
  background: #fff;
}
.wa-batt::after {
  content: "";
  position: absolute;
  right: -3px; top: 3.5px;
  width: 2px; height: 5px;
  border-radius: 0 2px 2px 0;
  background: rgba(255,255,255,0.6);
}
.wa-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  background: #1f2c33;
  box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.wa-back {
  flex: 0 0 auto;
  width: 9px; height: 9px;
  border-left: 2px solid #aebac1;
  border-bottom: 2px solid #aebac1;
  border-radius: 1px;
  transform: rotate(45deg);
  margin-right: 0.1rem;
}
.wa-avatar {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  font-size: 0.84rem;
  font-weight: 900;
  overflow: hidden;
}
.wa-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wa-contact { flex: 1; min-width: 0; }
.wa-contact strong {
  display: block;
  color: #e9edef;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wa-contact small {
  display: block;
  margin-top: 1px;
  color: #8aa0a8;
  font-size: 0.8rem;
}
.wa-ic {
  flex: 0 0 auto;
  width: 21px; height: 21px;
  background: #aebac1;
}
.wa-video {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17 10.5V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-3.5l4 4v-11l-4 4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17 10.5V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-3.5l4 4v-11l-4 4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wa-call {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wa-chat {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.32rem;
  padding: 0.74rem 0.66rem 0.52rem;
  overflow-y: auto;
  scrollbar-width: none;
  background:
    linear-gradient(rgba(11,20,26,0.93), rgba(11,20,26,0.93)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130' viewBox='0 0 130 130'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='2'%3E%3Ccircle cx='22' cy='28' r='8'/%3E%3Cpath d='M70 18l10 10-10 10'/%3E%3Crect x='86' y='74' width='14' height='14' rx='3'/%3E%3Cpath d='M28 92q9-11 18 0'/%3E%3Cpath d='M104 30l6 6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 130px 130px;
}
.wa-chat::-webkit-scrollbar { display: none; }
.story-phone .wa-chat {
  gap: 0.36rem;
  padding-bottom: 0.62rem;
}
.story-phone .wa-chat .bubble:first-child {
  margin-top: auto;
}
.story-phone .wa-system {
  align-self: center;
  width: calc(100% - 0.45rem);
  max-width: 282px;
  min-height: 2rem;
  margin: clamp(0.85rem, 2.4vh, 1.35rem) auto 0.12rem;
  padding: 0.42rem 0.68rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.76rem;
  line-height: 1.1;
}
.story-phone .wa-system b {
  font-size: 0.79rem;
}
.story-phone .wa-system span {
  margin-left: auto;
  text-align: right;
  font-size: 0.68rem;
}
.bubble {
  max-width: 82%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.62rem 0.38rem;
  border-radius: 10px;
  color: #e9edef;
  font-size: 0.88rem;
  line-height: 1.34;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.3);
  animation: bubbleIn 0.42s var(--ease) both;
}
.bubble.patient {
  align-self: flex-end;
  background: #005c4b;
  border-top-right-radius: 2px;
}
.bubble.ai {
  align-self: flex-start;
  background: #202c33;
  border-top-left-radius: 2px;
}
.bubble.patient::after {
  content: "";
  position: absolute;
  top: 0; right: -7px;
  border-style: solid;
  border-width: 0 0 9px 8px;
  border-color: transparent transparent transparent #005c4b;
}
.bubble.ai::after {
  content: "";
  position: absolute;
  top: 0; left: -7px;
  border-style: solid;
  border-width: 0 8px 9px 0;
  border-color: transparent #202c33 transparent transparent;
}
.bubble .b-text { display: block; }
.bubble .b-meta {
  align-self: flex-end;
  margin-top: 1px;
  font-size: 0.62rem;
  line-height: 1;
  color: rgba(233,237,239,0.55);
}
.bubble.patient .b-meta { color: rgba(170,210,200,0.75); }
.bubble.typing {
  flex-direction: row;
  align-items: center;
  gap: 4px;
  width: 52px;
  max-width: 52px;
  padding-block: 0.6rem;
}
.wa-system {
  align-self: center;
  margin: 0.3rem auto 0.08rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.62rem;
  border-radius: 9px;
  background: rgba(2,33,30,0.92);
  box-shadow: 0 1px 1px rgba(0,0,0,0.3);
  color: #d8efe9;
  font-size: 0.74rem;
  text-align: center;
  animation: bubbleIn 0.42s var(--ease) both;
}
.wa-system::before {
  content: "";
  width: 13px; height: 13px;
  background: var(--aqua);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wa-system b { color: #fff; font-weight: 800; }
.wa-system span { color: rgba(216,239,233,0.72); }

/* ── Cierre con éxito: cita reservada (móvil) ────────────────────────────────
   Chip aqua que marca el fin de la conversación + enlace para empezar de nuevo.
   El check ya lo pone .wa-system::before; aquí el tinte aqua y el layout. */
.wa-system.done {
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  width: calc(100% - 0.9rem);
  max-width: 300px;
  padding: 0.6rem 0.7rem;
  background: rgba(90, 240, 216, 0.1);
  box-shadow: inset 0 0 0 1px rgba(90, 240, 216, 0.28);
}
.wa-system.done::before { width: 16px; height: 16px; }
.wa-system.done b { color: var(--aqua); font-size: 0.86rem; }
.wa-system.done span { color: rgba(216, 239, 233, 0.82); }
.wa-system.done .demo-restart {
  margin-top: 0.2rem;
  color: var(--aqua);
  font-weight: 800;
  text-decoration: none;
}
.wa-system.done .demo-restart:hover { text-decoration: underline; }

/* ── Cierre con éxito en voz (badge en el transcript) ─────────────────────── */
.call-done {
  align-self: center;
  margin: 0.6rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  background: rgba(90, 240, 216, 0.1);
  box-shadow: inset 0 0 0 1px rgba(90, 240, 216, 0.28);
  text-align: center;
  animation: bubbleIn 0.42s var(--ease) both;
}
.call-done b { color: var(--aqua); font-size: 0.95rem; font-weight: 800; }
.call-done span { color: rgba(216, 239, 233, 0.82); font-size: 0.8rem; }
/* Enlace «Empezar de nuevo», hermano de .wa-system.done .demo-restart. */
.call-done .voice-restart {
  margin-top: 0.35rem;
  color: var(--aqua);
  font-weight: 800;
  text-decoration: none;
}
.call-done .voice-restart:hover { text-decoration: underline; }

/* Aviso de límite de pruebas alcanzado (voz), con enlace al formulario. */
.call-note {
  align-self: center;
  margin: 0.6rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 340px;
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
}
.call-note span { color: var(--soft); font-size: 0.82rem; line-height: 1.4; }
.call-note a { color: var(--aqua); font-weight: 800; text-decoration: none; }
.call-note a:hover { text-decoration: underline; }
.wa-inputbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem 1rem;
  background: #0b141a;
}
.wa-field {
  flex: 1;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-radius: 999px;
  background: #202c33;
  color: #8696a0;
  font-size: 0.9rem;
}
.wa-send {
  position: relative;
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #00a884;
}
.wa-send::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0b141a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.9V21h2v-3.1A7 7 0 0 0 19 11h-2z'/%3E%3C/svg%3E") center/19px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 14a3 3 0 0 0 3-3V5a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3zm5-3a5 5 0 0 1-10 0H5a7 7 0 0 0 6 6.9V21h2v-3.1A7 7 0 0 0 19 11h-2z'/%3E%3C/svg%3E") center/19px no-repeat;
}
.story-phone .phone-home {
  bottom: 0.5rem;
  width: 36%;
  height: 5px;
  z-index: 7;
  background: rgba(255,255,255,0.9);
}

.inbox-section { padding: clamp(4rem, 9vw, 7rem) 0; }
.mail-app {
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 42px 110px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
}
.mail-titlebar {
  position: relative;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.035);
}
.mail-titlebar strong {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.54);
  font-size: 0.78rem;
  font-weight: 700;
}
.mail-titlebar .mail-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.mail-titlebar .mail-brand img {
  display: block;
  width: 43px;
  height: auto;
}
.brand-ai { color: var(--aqua); }
.traffic {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
}
.traffic.red { background: #ff5f57; }
.traffic.yellow { background: #febc2e; }
.traffic.green { background: #28c840; }
.mail-body {
  display: grid;
  grid-template-columns: 220px minmax(280px, 0.95fr) minmax(340px, 1.15fr);
  min-height: 540px;
}
.mail-sidebar {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.04);
  background: rgba(0,0,0,0.28);
}
.compose-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f5f2e7;
  color: #050706;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  margin-bottom: 1.1rem;
}
.mail-nav-list {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 1.35rem;
}
.mail-nav {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255,255,255,0.62);
  font-size: 0.84rem;
  text-align: left;
  cursor: pointer;
}
.mail-nav em {
  color: rgba(255,255,255,0.42);
  font-size: 0.74rem;
  font-style: normal;
}
.mail-nav:hover,
.mail-nav.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.mail-nav.active em { color: var(--aqua); }
.mail-labels {
  display: grid;
  gap: 0.55rem;
}
.labels-title {
  margin: 0 0 0.15rem;
  color: rgba(255,255,255,0.36);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.label-dot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.66);
  font-size: 0.82rem;
}
.label-dot i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.message-list {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 0.7rem;
  border-right: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}
.message-item {
  display: grid;
  grid-template-columns: 3px 1fr auto;
  gap: 0.18rem 0.6rem;
  padding: 0.68rem 0.8rem 0.68rem 0.72rem;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: rgba(255,255,255,0.62);
  text-align: left;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.message-item:hover { background: rgba(255,255,255,0.045); }
.message-item.active {
  border-color: rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.075);
}
.message-item .mi-tag {
  grid-row: 1 / span 3;
  align-self: stretch;
  width: 3px;
  border-radius: 999px;
  opacity: 0.85;
}
.message-item .mi-from {
  color: rgba(255,255,255,0.78);
  font-size: 0.86rem;
  font-weight: 700;
}
.message-item.active .mi-from,
.message-item.unread .mi-from { color: #fff; font-weight: 800; }
.message-item .mi-time {
  color: rgba(255,255,255,0.36);
  font-size: 0.72rem;
  text-align: right;
}
.message-item .mi-sub {
  grid-column: 2 / -1;
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-item .mi-prev {
  grid-column: 2 / -1;
  color: rgba(255,255,255,0.44);
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.message-item.unread .mi-from::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 0.4rem;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 10px rgba(90,240,216,0.7);
  vertical-align: middle;
}
.reader {
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 1rem;
  background: radial-gradient(circle at 90% -10%, rgba(90,240,216,0.08), transparent 60%);
}
.reader-toolbar {
  display: flex;
  gap: 0.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.reader-toolbar button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,0.72);
  cursor: pointer;
}
.reader-toolbar button:hover { background: rgba(255,255,255,0.07); }
.toolbar-more { margin-left: auto; }
.reader-content {
  display: grid;
  align-content: start;
  gap: 1rem;
}
.reader-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  color: #02110e;
  font-weight: 900;
}
.reader-head strong {
  display: block;
  font-size: 0.92rem;
}
.reader-head small {
  display: block;
  color: rgba(255,255,255,0.46);
  font-size: 0.76rem;
}
.reader-pill {
  margin-left: auto;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(90,240,216,0.13);
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
}
.reader-subject {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.summary-card {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(164,244,253,0.18);
  border-radius: 14px;
  background: rgba(164,244,253,0.05);
}
.summary-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #a4f4fd;
  font-size: 0.74rem;
  font-weight: 800;
}
.summary-card p {
  margin: 0.45rem 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.86rem;
  line-height: 1.5;
}
.draft-card {
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(90,240,216,0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(90,240,216,0.1), transparent 55%),
    rgba(90,240,216,0.04);
}
.draft-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--aqua);
  font-size: 0.74rem;
  font-weight: 800;
}
.draft-label i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 10px rgba(90,240,216,0.8);
  animation: osBlink 1.6s ease-in-out infinite;
}
.draft-card p {
  margin: 0.45rem 0 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.86rem;
  line-height: 1.55;
}
.reader-body {
  display: grid;
  gap: 0.55rem;
  padding: 0.1rem 0.1rem 0.2rem;
}
.reader-body p {
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 0.88rem;
  line-height: 1.5;
}
.reader-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}
.apple-btn,
.ghost-btn {
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}
.apple-btn {
  border: 0;
  background: #f5f2e7;
  color: #050706;
}
.ghost-btn {
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

.audit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
}
.audit-copy {
  position: sticky;
  top: 7rem;
  max-width: 470px;
}
.audit-copy h2,
.voice-copy h2,
.ops-panel h2,
.price-panel h2,
.faq-section h2 { max-width: 12ch; }
.audit-grid {
  display: grid;
  gap: 0.75rem;
}
.trust-stack {
  display: grid;
  gap: 1.2rem;
}
.trust-faq {
  max-width: none;
  width: 100%;
  margin: 0;
}
.audit-question {
  position: relative;
  min-height: 154px;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.026)),
    rgba(6,10,9,0.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.audit-question span {
  display: inline-flex;
  margin-bottom: 1.6rem;
  color: rgba(90,240,216,0.72);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.audit-question strong {
  display: block;
  max-width: 28ch;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.audit-question p {
  margin: 0.8rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.trust-section {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4.5vw, 3.4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 4rem);
}
.trust-section .audit-copy {
  position: relative;
  top: auto;
  max-width: 390px;
}
.trust-section .audit-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.25rem, 4.4vw, 3.9rem);
}
.trust-section .audit-copy > p:not(.eyebrow) {
  max-width: 34ch;
}
.trust-section .trust-stack {
  gap: 0.82rem;
}
.trust-section .audit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.trust-section .audit-question {
  min-height: 0;
  padding: 0.85rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    rgba(6,10,9,0.54);
}
.trust-section .audit-question span {
  margin-bottom: 0.55rem;
  font-size: 0.64rem;
}
.trust-section .audit-question strong {
  max-width: 18ch;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.trust-section .audit-question p {
  margin-top: 0.42rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

.voice-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.86fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.voice-copy { max-width: 560px; }
.voice-skill-section {
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.12fr);
  align-items: stretch;
  column-gap: clamp(2.6rem, 7vw, 6rem);
}
.voice-skill-section .voice-copy {
  align-self: center;
  padding-left: 0.35rem;
}
.voice-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.voice-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.72rem;
  border: 1px solid rgba(90,240,216,0.18);
  border-radius: 999px;
  background: rgba(90,240,216,0.06);
  color: rgba(232,252,248,0.86);
  font-size: 0.78rem;
  font-weight: 850;
}
.voice-list,
.price-list {
  display: grid;
  gap: 0.72rem;
  margin: 1.55rem 0 0;
  padding: 0;
  list-style: none;
}
.voice-list li,
.price-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--soft);
  line-height: 1.5;
}
.voice-list li::before,
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 16px rgba(90,240,216,0.5);
}
.voice-console {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 30px;
  background:
    radial-gradient(circle at 78% 8%, rgba(90,240,216,0.16), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028)),
    rgba(5,9,8,0.76);
  box-shadow: 0 34px 90px rgba(0,0,0,0.48), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
}
.voice-skill-board {
  position: relative;
  min-height: 620px;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.2rem, 2.8vw, 2rem);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 34px;
  background:
    radial-gradient(circle at 76% 4%, rgba(90,240,216,0.22), transparent 34%),
    radial-gradient(circle at 16% 100%, rgba(57,120,255,0.14), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.026)),
    rgba(4,8,7,0.78);
  box-shadow: 0 44px 120px rgba(0,0,0,0.52), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
  overflow: hidden;
}
.voice-skill-board::before {
  content: "";
  position: absolute;
  inset: 5.8rem -12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(90,240,216,0.35), transparent);
}
.skill-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 20px;
  background: rgba(255,255,255,0.055);
}
.skill-head div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}
.skill-head strong { color: #fff; font-size: 0.95rem; }
.skill-head em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}
.skill-head b {
  margin-left: auto;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: rgba(90,240,216,0.12);
  color: var(--aqua);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skill-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}
.skill-flow article {
  min-height: 138px;
  padding: 0.9rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
}
.skill-flow article span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 900;
}
.skill-flow article strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.skill-flow article p {
  margin: 0.38rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.voice-skill-board .voice-script {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
.voice-top,
.voice-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
}
.voice-top strong { font-size: 0.9rem; }
.voice-top em {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  white-space: nowrap;
}
.voice-dot {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 18px rgba(90,240,216,0.7);
}
.voice-wave {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  margin: 1.1rem 0;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(90,240,216,0.04), rgba(57,120,255,0.035)),
    rgba(0,0,0,0.18);
  overflow: hidden;
}
.voice-wave i {
  width: 0.52rem;
  height: calc(22px + var(--i, 0) * 1px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--aqua), var(--blue));
  box-shadow: 0 0 18px rgba(90,240,216,0.34);
  animation: voicePulse 1.6s var(--ease) infinite alternate;
}
.voice-wave i:nth-child(1) { height: 34px; animation-delay: -0.2s; }
.voice-wave i:nth-child(2) { height: 72px; animation-delay: -0.55s; }
.voice-wave i:nth-child(3) { height: 46px; animation-delay: -0.1s; }
.voice-wave i:nth-child(4) { height: 96px; animation-delay: -0.75s; }
.voice-wave i:nth-child(5) { height: 58px; animation-delay: -0.35s; }
.voice-wave i:nth-child(6) { height: 84px; animation-delay: -0.65s; }
.voice-wave i:nth-child(7) { height: 38px; animation-delay: -0.45s; }
@keyframes voicePulse {
  from { transform: scaleY(0.55); opacity: 0.55; }
  to { transform: scaleY(1.06); opacity: 1; }
}
.voice-script {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.voice-script p {
  margin: 0;
  padding: 0.78rem 0.88rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  color: rgba(247,251,248,0.82);
  background: rgba(255,255,255,0.035);
  font-size: 0.9rem;
  line-height: 1.45;
}
.voice-script b { color: #fff; }
.voice-result {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.28rem;
  background: rgba(2,33,30,0.86);
}
.voice-result span {
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.voice-result strong {
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.35;
}
.voice-chat-example {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.62rem;
  margin-top: 0.2rem;
  padding: 0.9rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 12%, rgba(90,240,216,0.12), transparent 36%),
    rgba(0,0,0,0.22);
}
.voice-chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.voice-chat-top span {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}
.voice-chat-top em {
  color: rgba(90,240,216,0.74);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.voice-bubble {
  width: fit-content;
  max-width: 82%;
  margin: 0;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  color: rgba(247,251,248,0.82);
  font-size: 0.82rem;
  line-height: 1.45;
}
.voice-bubble b { color: #fff; }
.voice-bubble.bot {
  justify-self: start;
  border-bottom-left-radius: 7px;
  background: linear-gradient(135deg, rgba(90,240,216,0.12), rgba(57,120,255,0.07));
}
.voice-bubble.patient {
  justify-self: end;
  border-bottom-right-radius: 7px;
  background: rgba(255,255,255,0.06);
}
.voice-handoff {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.2rem;
  padding: 0.82rem;
  border: 1px solid rgba(90,240,216,0.18);
  border-radius: 18px;
  background: rgba(2,33,30,0.72);
}
.voice-handoff span {
  color: var(--aqua);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.voice-handoff strong {
  color: rgba(247,251,248,0.88);
  font-size: 0.86rem;
  line-height: 1.4;
}

.ops-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr);
  gap: 1rem;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.ops-panel,
.price-panel,
.pilot-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.024)),
    rgba(7,11,10,0.72);
  box-shadow: 0 34px 90px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
}
.ops-panel { padding: clamp(1.25rem, 3vw, 2rem); }
.ops-panel h2 { margin-bottom: 0.9rem; }
.integration-rows {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.integration-rows div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.82rem 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.integration-rows strong {
  font-size: 0.9rem;
  color: #fff;
}
.integration-rows span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.demo-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  background:
    radial-gradient(circle at 76% 10%, rgba(90,240,216,0.14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.024)),
    rgba(7,11,10,0.72);
}
.demo-timeline {
  display: grid;
  gap: 0.74rem;
}
.demo-timeline span {
  position: relative;
  display: grid;
  gap: 0.22rem;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.demo-timeline span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(90,240,216,0.18), rgba(57,120,255,0.08));
}
.demo-timeline b,
.demo-timeline em {
  position: relative;
  z-index: 1;
}
.demo-timeline b { color: #fff; font-size: 0.92rem; }
.demo-timeline em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.commercial-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 1rem;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(1.35rem, 4vw, 2.4rem);
}
.price-panel .primary-btn {
  width: max-content;
  margin-top: 1.3rem;
}
.price-panel h2 {
  max-width: none;
  margin-bottom: 0.8rem;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}
.pilot-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 86% 0%, rgba(241,182,75,0.16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.024)),
    rgba(7,11,10,0.72);
}
.pilot-label {
  margin: 0 0 1.4rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pilot-panel h3 {
  max-width: 10ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.pilot-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}
.pilot-terms span {
  padding: 0.48rem 0.62rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  color: rgba(247,251,248,0.78);
  background: rgba(255,255,255,0.045);
  font-size: 0.78rem;
  font-weight: 800;
}

.pricing-section {
  display: block;
  padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(2.8rem, 6vw, 4.5rem);
}
.pricing-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, 0.58fr);
  grid-template-areas:
    "price pilot"
    "detail pilot";
  gap: clamp(0.85rem, 2.4vw, 1.35rem);
  padding: clamp(1.1rem, 2.8vw, 2rem);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(90,240,216,0.1), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.062), rgba(255,255,255,0.022)),
    rgba(6,10,9,0.76);
  box-shadow: 0 30px 90px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 24px 2px rgba(6,9,8,0.42);
  overflow: hidden;
}
.pricing-shell .price-panel,
.pricing-shell .pilot-panel {
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.pricing-shell .price-panel {
  grid-area: price;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(180px, 0.42fr);
  gap: clamp(0.85rem, 2.5vw, 1.55rem);
  align-items: start;
  padding: 0;
  background: transparent;
}
.pricing-shell .price-panel h2 {
  grid-column: 1 / -1;
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
}
.price-amount {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.price-amount span,
.price-amount em {
  color: var(--soft);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: normal;
  font-weight: 850;
}
.price-amount strong {
  color: #fff;
  font-size: clamp(3.7rem, 8.6vw, 6.6rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
}
.pricing-shell .price-panel p {
  max-width: 35ch;
  margin: 0;
  color: var(--soft);
  line-height: 1.5;
}
.price-switch {
  grid-column: 1 / -1;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 0.18rem;
  padding: 0.22rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 999px;
  background: rgba(0,0,0,0.24);
}
.price-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 0.78rem;
  border-radius: 999px;
  color: rgba(247,251,248,0.68);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}
.price-switch span.active {
  background: #f5f2e7;
  color: #050706;
}
.pricing-shell .price-panel .primary-btn {
  align-self: start;
  justify-self: end;
  width: max-content;
  margin: 0;
}
.price-detail {
  grid-area: detail;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.price-row {
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  background: rgba(255,255,255,0.034);
}
.price-row strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--aqua);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-row span {
  color: rgba(247,251,248,0.76);
  font-size: 0.84rem;
  line-height: 1.38;
}
.pricing-shell .pilot-panel {
  grid-area: pilot;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 0%, rgba(90,240,216,0.08), transparent 40%),
    rgba(255,255,255,0.045);
}

.pricing-shell .pilot-panel h3 {
  max-width: 12ch;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 0.96;
}

.pricing-shell .pilot-panel p:not(.pilot-label) {
  color: rgba(247,251,248,0.68);
  font-size: 0.9rem;
  line-height: 1.48;
}

.faq-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 900px;
  margin: 2rem auto 0;
}
.trust-faq.faq-list {
  max-width: none;
  width: 100%;
  margin: 0;
}
.trust-faq.faq-list {
  gap: 0.5rem;
}
.trust-faq.faq-list details {
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}
.trust-faq.faq-list summary {
  min-height: 50px;
  padding: 0.78rem 0.92rem;
  font-size: 0.94rem;
}
.trust-faq.faq-list summary::after {
  width: 1.28rem;
  height: 1.28rem;
  font-size: 0.9rem;
}
.trust-faq.faq-list details p {
  padding: 0 0.92rem 0.95rem;
  font-size: 0.86rem;
  line-height: 1.5;
}
.faq-list details {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 22px;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.faq-list details[open] {
  border-color: rgba(90,240,216,0.22);
  background:
    radial-gradient(circle at 92% 10%, rgba(90,240,216,0.1), transparent 34%),
    rgba(255,255,255,0.055);
}
.faq-list summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  padding: 1.05rem 1.15rem;
  color: #fff;
  font-weight: 850;
  list-style: none;
  line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.55rem;
  height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(90,240,216,0.12);
  color: var(--aqua);
  font-weight: 900;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  max-width: 72ch;
  color: var(--soft);
  line-height: 1.6;
}

.cta-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(3.2rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem);
}
.cta-glow {
  position: absolute;
  z-index: -1;
  right: -6%;
  top: 50%;
  width: min(46rem, 60%);
  height: 34rem;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 70% 40%, rgba(90,240,216,0.16), transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(57,120,255,0.13), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}
.cta-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
}
.cta-copy > p:not(.eyebrow) {
  max-width: 34ch;
}
.cta-points {
  display: grid;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.cta-points li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.35;
}
.cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.03em;
  width: 1.12rem;
  height: 1.12rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(90,240,216,0.95), rgba(57,120,255,0.7));
  box-shadow: 0 0 14px rgba(90,240,216,0.3);
}
.cta-points li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.03em;
  width: 1.12rem;
  height: 1.12rem;
  background: #04110e;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}
.cta-trust {
  margin-top: 1.35rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.cta-trust p {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}
.cta-trust a {
  color: var(--aqua);
  text-decoration: underline;
  text-decoration-color: rgba(90,240,216,0.35);
}
.lead-form {
  position: relative;
  display: grid;
  gap: 0.72rem;
  padding: 1.15rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% -8%, rgba(90,240,216,0.14), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)),
    rgba(8,12,11,0.66);
  box-shadow: 0 30px 90px rgba(0,0,0,0.46), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 24px 2px rgba(6,9,8,0.42);
}
.lead-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lead-form-head strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: rgba(90,240,216,0.12);
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.lead-badge i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--aqua);
  box-shadow: 0 0 10px rgba(90,240,216,0.9);
  animation: osBlink 1.6s ease-in-out infinite;
}
.field { display: grid; gap: 0.38rem; }
.field label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field input {
  width: 100%;
  min-height: 46px;
  padding: 0 1rem;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  background: rgba(0,0,0,0.26);
  color: #fff;
  outline: none;
}
.field input:focus {
  border-color: rgba(90,240,216,0.58);
  box-shadow: 0 0 0 4px rgba(90,240,216,0.11);
}
.field input:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
  box-shadow: var(--focus-ring);
}
.lead-hp { position: absolute; left: -9999px; }
.consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--soft);
  font-size: 0.83rem;
  line-height: 1.45;
}
.consent a {
  text-decoration: underline;
  text-decoration-color: rgba(90,240,216,0.45);
}
.lead-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.lead-status.ok { color: var(--aqua); }
.lead-status.error { color: var(--coral); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  color: var(--muted);
}
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 2.4vw, 1.8rem);
  bottom: clamp(1rem, 2.4vw, 1.8rem);
  z-index: 180;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,0.42), transparent 32%),
    linear-gradient(135deg, #25d366, #0c9d55);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow:
    0 20px 56px rgba(0,0,0,0.42),
    0 0 0 8px rgba(37,211,102,0.08),
    0 0 38px rgba(37,211,102,0.52);
  isolation: isolate;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.5),
    0 0 0 11px rgba(37,211,102,0.1),
    0 0 54px rgba(37,211,102,0.72);
}
.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.22));
}
.wa-ping {
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(37,211,102,0.48);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { opacity: 0.78; transform: scale(0.88); }
  80%, 100% { opacity: 0; transform: scale(1.28); }
}

.reveal-ready .reveal-item {
  opacity: 0.96;
  transform: translateY(16px);
  filter: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.reveal-ready .reveal-item.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* La barra pasa a hamburguesa antes que el resto del layout (980px): con siete
   entradas el pill horizontal solo deja 2px de holgura sobre el breakpoint, asi
   que se pliega ya a 1040px. Si el menu vuelve a encoger, esto puede volver a 980. */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(6, 9, 8, 0.97);
    backdrop-filter: blur(26px) saturate(175%);
    -webkit-backdrop-filter: blur(26px) saturate(175%);
    box-shadow: 0 24px 60px rgba(0,0,0,0.62);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.98rem;
  }
  .site-nav.menu-open .nav-links { display: flex; }
  .nav-links a {
    width: 100%;
    min-height: 48px;
    padding: 0 1rem;
    border-radius: 14px;
  }
}

@media (max-width: 980px) {
  .hero,
  .audit-section,
  .discovery-section,
  .voice-section,
  .story-section,
  .ops-section,
  .commercial-section,
  .cta-section { grid-template-columns: 1fr; }
  .audit-copy {
    position: relative;
    top: auto;
    max-width: 620px;
  }
  .voice-console { max-width: 620px; }
  .voice-skill-board { min-height: auto; }
  .skill-flow { grid-template-columns: 1fr 1fr; }
  .pricing-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "price"
      "detail"
      "pilot";
  }
  .pricing-shell .price-panel {
    grid-template-columns: 1fr;
  }
  .pricing-shell .price-panel .primary-btn {
    justify-self: start;
  }
  .price-switch {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .price-detail { grid-template-columns: 1fr; }
  .price-panel { grid-template-columns: 1fr; }
  .price-panel .primary-btn { width: 100%; }
  .trust-section .audit-grid { grid-template-columns: 1fr; }
  .system-redesign,
  .system-minimal { grid-template-columns: 1fr; }
  .process-stage,
  .system-flow { grid-template-columns: 1fr 1fr; }
  .process-card { min-height: 260px; }
  .process-line { display: none; }
  .system-copy { position: relative; top: auto; }
  .system-redesign .discovery-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }
  .system-redesign .discovery-preview {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: auto;
    order: -1;
  }
  .system-redesign .discovery-node:hover,
  .system-redesign .discovery-node.active {
    transform: translateY(-3px);
  }
  .system-minimal .discovery-board { min-height: auto; }
  .os-body { grid-template-columns: 1fr; }
  .os-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,0.04); }
  .hero { padding-top: 7rem; }
  .hero-spline-field {
    right: 50%;
    top: 18%;
    width: min(86vw, 35rem);
    transform: translateX(50%);
    opacity: 0.36;
  }
  /* Movil/tablet: una sola columna (movil arriba, cards debajo). Sin pin pegajoso
     ni cards flotantes (se colocan en grid) para que nunca se corten. */
  .story-section { min-height: auto; padding-top: 0.5rem; }
  .story-intro { padding-top: 2.5rem; }
  .story-phone-pin {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    row-gap: clamp(1.5rem, 5vw, 2.4rem);
    padding: 1.5rem 0 1rem;
  }
  .story-notes {
    position: relative;
    inset: auto;
    width: min(94vw, 560px);
    pointer-events: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }
  .story-note {
    position: relative;
    left: auto; right: auto; top: auto; bottom: auto;
    width: auto;
  }
  .story-note::after { display: none; }
  .story-notes.story-reveal .note-a,
  .story-notes.story-reveal .note-b,
  .story-notes.story-reveal .note-c,
  .story-notes.story-reveal .note-d { transform: translateY(14px) scale(0.96); }
  .story-notes.story-reveal .story-note.revealed { transform: none; }
  .mail-body { grid-template-columns: 1fr; }
  .mail-sidebar { display: none; }
  .message-list { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
}

@media (max-width: 620px) {
  .hero,
  .audit-section,
  .discovery-section,
  .voice-section,
  .story-section,
  .ops-section,
  .inbox-section,
  .commercial-section,
  .faq-section,
  .cta-section { width: min(calc(100% - 1rem), 1130px); }
  .site-nav { width: calc(100% - 1rem); }
  .nav-cta { min-height: 38px; padding-inline: 0.85rem; font-size: 0.72rem; }
  .hero-copy { width: 100%; max-width: 100%; }
  .hero-spline-field {
    top: 14%;
    width: 108vw;
    opacity: 0.22;
  }
  .hero-rotator {
    width: 100%;
    max-width: 21rem;
    justify-content: space-between;
    gap: 0.36rem;
    min-height: 42px;
    padding: 0.28rem;
  }
  .hero-rotator-label {
    padding-left: 0.45rem;
    font-size: 0.72rem;
  }
  .hero-rotator-window {
    min-width: 0;
    flex: 1;
    height: 32px;
  }
  .hero-rotator-word {
    font-size: 0.8rem;
  }
  h1 {
    font-size: clamp(2.9rem, 14vw, 3.8rem);
    letter-spacing: -0.055em;
  }
  h2 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .eyebrow {
    gap: 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }
  .section-skill {
    min-height: 28px;
    padding-inline: 0.58rem;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    white-space: normal;
  }
  .process-stage,
  .system-flow { grid-template-columns: 1fr; }
  .process-card { min-height: 220px; }
  .system-path {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .system-path i { height: 22px; width: 1px; justify-self: center; }
  .system-live-card { padding: 1rem; }
  .system-live-card h3 { font-size: clamp(2rem, 11vw, 3rem); }
  .hero-actions .primary-btn,
  .hero-actions .secondary-btn { width: 100%; }
  .audit-question { min-height: 0; padding: 1rem; }
  .voice-console,
  .voice-skill-board,
  .ops-panel,
  .price-panel,
  .pilot-panel { border-radius: 22px; }
  .voice-badges span { width: 100%; justify-content: center; }
  .skill-head {
    align-items: flex-start;
  }
  .skill-head b {
    margin-left: 0;
  }
  .skill-flow {
    grid-template-columns: 1fr;
  }
  .voice-top,
  .voice-result {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.38rem;
  }
  .voice-top em {
    margin-left: 0;
    white-space: normal;
  }
  .voice-chat-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.28rem;
  }
  .voice-chat-top em {
    white-space: normal;
  }
  .voice-bubble {
    max-width: 100%;
    font-size: 0.78rem;
  }
  .integration-rows div {
    grid-template-columns: 1fr;
    gap: 0.28rem;
  }
  .commercial-section,
  .ops-section { gap: 0.75rem; }
  .pricing-shell {
    padding: 1rem;
    border-radius: 24px;
  }
  .pricing-shell .price-panel h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }
  .price-amount strong {
    font-size: clamp(4rem, 24vw, 5.6rem);
  }
  .price-switch {
    display: grid;
    border-radius: 20px;
  }
  .price-switch span {
    min-height: 36px;
    padding-inline: 0.45rem;
    font-size: 0.66rem;
    white-space: normal;
    text-align: center;
  }
  .pricing-shell .price-panel .primary-btn {
    width: 100%;
    justify-self: stretch;
  }
  .cta-glow { display: none; }
  .faq-list summary {
    align-items: flex-start;
    font-size: 0.95rem;
  }
  .story-phone-pin { min-height: auto; }
  .phone {
    width: min(100%, 320px);
    min-height: 560px;
  }
  .phone-chat { min-height: 285px; }
  .story-phone { width: min(86vw, 290px); min-height: 520px; }
  .story-notes { width: min(96vw, 460px); }
  .story-phone .phone-bottom-edge {
    bottom: -22px;
    height: 31px;
  }
  .whatsapp-float {
    display: none;
  }
  .story-note {
    min-height: 0;
    width: auto;
    padding: 0.6rem 0.68rem;
  }
  .story-note h3 { font-size: 0.95rem; }
  .story-note p { font-size: 0.72rem; }
  .discovery-board { min-height: 0; }
  .system-redesign .discovery-board { grid-template-columns: 1fr; }
  .discovery-node { min-width: 136px; padding: 0.7rem; }
  .mail-titlebar strong {
    position: static;
    transform: none;
    margin-left: auto;
    font-size: 0.7rem;
  }
  .message-list { max-height: 310px; overflow: auto; }
  .reader { padding: 1rem; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .site-footer div { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-spotlight {
    opacity: 0.38;
  }
}

/* ===================================================================
   21st patterns reimplementados en vanilla (tokens del sistema)
   #6 partículas del título · #1 escena 3D voz · #5 lamp lateral · #7 modal demo
   =================================================================== */

/* ---- #6 Partículas del título (hero) ---- */
.hero-title-wrap {
  position: relative;
  display: inline-block;
}
.hero-title-wrap h1 {
  position: relative;
  z-index: 1;
}
.hero-title-fx {
  display: none;
}
.hero-title-fx.is-live { opacity: 0; }

/* ---- #1 Escena 3D del agente de voz ---- */
.voice-3d {
  position: relative;
  margin: 1.6rem 0 0;
  height: clamp(220px, 28vw, 320px);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(90,240,216,0.13), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(4,8,7,0.72);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
}
.voice-3d spline-viewer {
  display: block;
  width: 100%;
  height: 100%;
}
.voice-3d-cap {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  margin: 0;
  padding: 0.6rem 0.9rem;
  color: rgba(232,252,248,0.72);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(0deg, rgba(4,8,7,0.62), transparent);
  pointer-events: none;
}
.voice-3d-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease);
}
.voice-3d.is-live .voice-3d-fallback { opacity: 0; }
.v3d-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(90,240,216,0.3);
  animation: v3dSpin 14s linear infinite;
}
.v3d-ring-2 {
  width: 184px;
  height: 184px;
  border-color: rgba(57,120,255,0.22);
  animation-duration: 22s;
  animation-direction: reverse;
}
.v3d-core {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f7fbf8, var(--aqua) 38%, rgba(57,120,255,0.5) 70%);
  box-shadow: 0 0 40px rgba(90,240,216,0.5);
  animation: splineFloat 6s var(--ease) infinite alternate;
}
@keyframes v3dSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- #5 Lamp lateral (sección precio) ---- */
.pricing-section { position: relative; overflow: hidden; }
.pricing-section .pricing-shell { position: relative; z-index: 1; }
.lamp-edge {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: min(26vw, 22rem);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5; /* estado de reposo (sin JS / reduced-motion) */
}
.lamp-edge-l {
  left: -6%;
  background: radial-gradient(58% 50% at 0% 50%, rgba(90,240,216,0.16), transparent 72%);
}
.lamp-edge-r {
  right: -6%;
  background: radial-gradient(58% 50% at 100% 50%, rgba(57,120,255,0.14), transparent 72%);
}
.lamp-edge::after {
  content: "";
  position: absolute;
  top: 16%;
  bottom: 16%;
  width: 2px;
  filter: blur(1px);
  background: linear-gradient(180deg, transparent, rgba(90,240,216,0.5), transparent);
}
.lamp-edge-l::after { left: 36%; }
.lamp-edge-r::after { right: 36%; background: linear-gradient(180deg, transparent, rgba(123,231,255,0.45), transparent); }
.js-lamp .lamp-edge {
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: top center;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js-lamp .pricing-section.lamp-in .lamp-edge { opacity: 0.9; transform: scaleY(1); }
.js-lamp .pricing-section.lamp-in .lamp-edge-r { transition-delay: 0.12s; }

/* ---- #7 Modal demo expandible ---- */
body.demo-open { overflow: hidden; }
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.demo-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}
.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,6,5,0.72);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
}
.demo-modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(1.5rem, 4vw, 3rem);
  width: min(100%, 940px);
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 0%, rgba(90,240,216,0.16), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(57,120,255,0.12), transparent 46%),
    linear-gradient(180deg, rgba(13,19,18,0.97), rgba(6,10,9,0.97));
  box-shadow: 0 50px 140px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05), inset 0 0 34px 2px rgba(6,9,8,0.5);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 0.42s var(--ease), opacity 0.42s var(--ease);
}
.demo-modal.is-open .demo-modal-card { transform: none; opacity: 1; }
.demo-modal-card .lead-form {
  box-shadow: none;
  background:
    radial-gradient(circle at 82% -8%, rgba(90,240,216,0.12), transparent 42%),
    rgba(255,255,255,0.03);
}

/* ---- Paso 2 del modal: calendario de Cal.com ----------------------
   Solo se ve cuando el lead ya esta guardado en la BD. Ocupa la misma
   celda del grid que el formulario, porque son excluyentes. */
.lead-form[hidden],
.lead-cal[hidden] { display: none; }   /* [hidden] debe ganar al display:grid */

.lead-cal {
  display: grid;
  gap: 0.72rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% -8%, rgba(90,240,216,0.12), transparent 42%),
    rgba(255,255,255,0.03);
}
.lead-cal-head strong {
  display: block;
  color: var(--aqua);
  font-size: 0.98rem;
}
.lead-cal-head p {
  margin: 0.3rem 0 0;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.5;
}
/* Altura minima: sin ella el iframe de Cal nace a 0 y la tarjeta pega un
   salto cuando termina de medirse. Movil primero: ahi Cal pinta la lista de
   huecos (useSlotsViewOnSmallScreen) y necesita mucho menos alto que la
   rejilla de mes de escritorio. */
.lead-cal-embed {
  min-height: 380px;
  border-radius: 18px;
  overflow: hidden;
}
.lead-cal-embed iframe { border: 0; width: 100%; }
.lead-cal-fallback {
  margin: 0;
  padding: 1.2rem 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.lead-cal-skip {
  justify-self: start;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lead-cal-skip:hover { color: var(--ink); border-color: rgba(90,240,216,0.4); }

/* En el paso 2 la rejilla pasa a UNA columna y se retira la columna de copy.
   Con las 2 columnas el calendario se quedaba en ~420px y Cal apilaba el mes
   en vertical; a ancho completo del modal (~890px) entra la vista de mes. */
.demo-modal-card.is-step2,
.cta-section.is-step2 {
  grid-template-columns: minmax(0, 1fr);
}
.demo-modal-card.is-step2 .demo-modal-aside,
.cta-section.is-step2 .cta-copy {
  display: none;
}
.lead-cal { grid-column: 1 / -1; }

@media (min-width: 760px) {
  .lead-cal-embed { min-height: 620px; }
}

.demo-modal-aside { align-self: center; }
.demo-modal-aside h2 {
  margin: 0.6rem 0 0;
  max-width: 16ch;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.demo-modal-aside .cta-points { margin-top: 1.3rem; }
.demo-modal-trust {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.demo-modal-trust a { color: var(--aqua); text-decoration: underline; }
.demo-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.demo-modal-close:hover { background: rgba(255,255,255,0.12); transform: rotate(90deg); }
@media (max-width: 760px) {
  .demo-modal-card { grid-template-columns: 1fr; }
  .demo-modal-aside .cta-points { display: none; }
}

/* ===================================================================
   Rediseño sección agente de voz — robot 3D suelto + teléfono con
   transcripción de llamada en vivo (rota varias conversaciones).
   =================================================================== */
.voice-section.voice-redesign {
  display: block;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.voice-head {
  max-width: 720px;
  margin: 0 0 clamp(1.8rem, 4vw, 3rem);
}
.voice-head h2 {
  margin: 0.4rem 0 0;
  max-width: 11ch;
  line-height: 0.94;
}
.voice-sub {
  margin: 0.9rem 0 0;
  max-width: 54ch;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.5;
}
.voice-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6.5rem);
  width: min(100%, 1240px);
  margin-inline: auto;
}

/* --- Robot 3D suelto (sin contenedor), protagonista y grande --- */
.voice-robot {
  position: relative;
  height: clamp(390px, 43vw, 600px);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 40px 90px rgba(0,0,0,0.5));
  transform: translateX(clamp(-2.4rem, -3vw, -1rem));
}
.voice-robot spline-viewer {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
}
.voice-robot .voice-3d-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease);
}
.voice-robot.is-live .voice-3d-fallback {
  opacity: 0;
}
.voice-robot .v3d-ring { width: 188px; height: 188px; }
.voice-robot .v3d-ring-2 { width: 264px; height: 264px; }
.voice-robot .v3d-core { display: none; }
.robot-local {
  position: relative;
  z-index: 2;
  width: clamp(200px, 22vw, 300px);
  height: clamp(315px, 36vw, 470px);
  display: block;
  filter: drop-shadow(0 42px 70px rgba(0,0,0,0.62));
  animation: splineFloat 7s var(--ease) infinite alternate;
}
.robot-head,
.robot-neck,
.robot-torso,
.robot-arm {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}
.robot-head {
  top: 3%;
  width: 36%;
  aspect-ratio: 0.82;
  border-radius: 44% 44% 48% 48%;
  background:
    radial-gradient(circle at 50% 48%, rgba(247,251,248,0.95) 0 2px, transparent 3px),
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(114,126,128,0.56) 36%, rgba(10,12,12,0.96) 74%);
  box-shadow:
    inset 12px 10px 18px rgba(255,255,255,0.42),
    inset -18px -22px 34px rgba(0,0,0,0.78),
    0 18px 34px rgba(0,0,0,0.48);
}
.robot-head::before,
.robot-head::after {
  content: "";
  position: absolute;
  top: 43%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247,251,248,0.9);
  box-shadow: 0 0 12px rgba(247,251,248,0.75);
}
.robot-head::before { left: 38%; }
.robot-head::after { right: 38%; }
.robot-head span {
  position: absolute;
  left: 50%;
  bottom: 24%;
  width: 28%;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(90,240,216,0.72);
  box-shadow: 0 0 14px rgba(90,240,216,0.55);
}
.robot-neck {
  top: 23%;
  width: 18%;
  height: 8%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24,28,28,0.96), rgba(160,170,170,0.42), rgba(8,10,10,0.98));
}
.robot-torso {
  top: 29%;
  width: 46%;
  height: 42%;
  border-radius: 42% 42% 34% 34%;
  background:
    radial-gradient(circle at 42% 16%, rgba(255,255,255,0.15), transparent 18%),
    linear-gradient(145deg, rgba(55,62,62,0.88), rgba(4,5,5,0.98) 48%, rgba(0,0,0,1));
  box-shadow:
    inset 20px 18px 28px rgba(255,255,255,0.08),
    inset -24px -28px 42px rgba(0,0,0,0.84),
    0 32px 55px rgba(0,0,0,0.58);
}
.robot-torso::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 54%;
  height: 26%;
  transform: translateX(-50%);
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, rgba(26,30,30,0.95), rgba(0,0,0,0.98));
}
.robot-arm {
  top: 34%;
  width: 14%;
  height: 40%;
  transform-origin: 50% 8%;
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(210,216,214,0.5), rgba(24,27,27,0.92) 42%, rgba(0,0,0,0.98));
  box-shadow:
    inset 10px 8px 14px rgba(255,255,255,0.16),
    inset -12px -18px 24px rgba(0,0,0,0.78);
}
.robot-arm-left {
  left: 22%;
  transform: rotate(18deg);
}
.robot-arm-right {
  left: 78%;
  transform: rotate(-18deg);
}
.voice-robot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 60%;
  height: 44px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(90,240,216,0.22), transparent 70%);
  filter: blur(9px);
  pointer-events: none;
}
.voice-robot::before {
  display: none;
}

/* --- Panel de solo transcripción (sin teléfono): mensajes de la llamada --- */
.voice-transcript {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: visible;
  position: relative;
  z-index: 5;
}
.voice-live-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.85rem;
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(90,240,216,0.18);
  border-radius: 999px;
  background: rgba(5,13,11,0.58);
  color: rgba(247,251,248,0.78);
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
}
.voice-live-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 900;
}
.voice-live-strip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 14px rgba(90,240,216,0.95);
  animation: osBlink 1.4s ease-in-out infinite;
}
.voice-live-strip small {
  color: rgba(247,251,248,0.55);
  font-size: 0.72rem;
  font-weight: 800;
}
.voice-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  margin: 0 0 1rem;
  padding: 0.36rem 0.65rem;
  border-radius: 999px;
  background: rgba(90,240,216,0.1);
  color: rgba(247,251,248,0.64);
  font-size: 0.72rem;
  font-weight: 850;
}
.voice-topic-pill span {
  color: rgba(247,251,248,0.42);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.voice-topic-pill b { color: var(--aqua); }
.voice-transcript .call-chat {
  flex: 0 0 auto;
  height: clamp(390px, 52vh, 590px);
  border-radius: 0;
  padding: clamp(0.3rem, 1vw, 0.7rem);
}
.call-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem 0.6rem;
  background: #0b141a;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.call-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(90,240,216,0.35), rgba(57,120,255,0.25));
  border: 1px solid rgba(90,240,216,0.4);
  font-size: 0.72rem;
  font-weight: 900;
}
.call-meta { display: grid; gap: 1px; min-width: 0; }
.call-meta strong { color: #fff; font-size: 0.85rem; }
.call-meta small { color: #8aa0ad; font-size: 0.71rem; }
.call-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(90,240,216,0.12);
  color: var(--aqua);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.call-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 10px rgba(90,240,216,0.9);
  animation: osBlink 1.4s ease-in-out infinite;
}
.call-topic {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: #0b141a;
}
.call-topic span {
  color: #6f8593;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.call-topic b { color: var(--aqua); font-size: 0.78rem; font-weight: 800; }
.call-chat {
  gap: clamp(0.72rem, 1.15vw, 1rem);
  background: transparent;
  background-image: none;
}
/* Burbujas alineadas al sistema de la web: vidrio oscuro (asistente) y teal de
   marca (paciente), en vez del verde/blanco de WhatsApp. */
.call-chat .bubble.ai {
  background: #131e1c;
  color: #cfdcd7;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 42px rgba(0,0,0,0.3);
}
.call-chat .bubble.ai::after { border-color: transparent #131e1c transparent transparent; }
.call-chat .bubble.patient {
  background: linear-gradient(135deg, #0f6256, #0b483f);
  color: #eafff9;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.call-chat .bubble.patient::after { border-color: transparent transparent transparent #0b483f; }
/* Mismo estilo para guion y llamada real; solo cambia el tamaño: el guion
   (automático) un punto más discreto y la llamada real (.live) protagonista. */
.call-chat .bubble {
  max-width: min(82%, 560px);
  padding: clamp(0.62rem, 1.05vw, 0.82rem) clamp(0.85rem, 1.45vw, 1.1rem);
  border-radius: 18px;
  font-size: clamp(0.86rem, 1.1vw, 0.98rem);
  font-weight: 750;
  line-height: 1.34;
}
.call-chat .bubble.live {
  padding: clamp(0.85rem, 1.4vw, 1.1rem) clamp(1.05rem, 1.85vw, 1.35rem);
  border-radius: 22px;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}
.call-chat .bubble.ai { border-top-left-radius: 8px; }
.call-chat .bubble.patient { border-top-right-radius: 8px; }
.call-chat .bubble .b-meta {
  display: none;
}
.call-chat .bubble.typing span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  animation: voiceTypeDot 1s ease-in-out infinite;
}
.call-chat .bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.call-chat .bubble.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes voiceTypeDot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.call-controls {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 0.7rem 0 1.1rem;
  background: #0b141a;
}
.call-ctl {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.call-ctl.ctl-end { background: #e5484d; }
.call-ctl.ctl-end::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.59l2.2-2.2a1 1 0 0 0 .25-1.02A11.36 11.36 0 0 1 9.5 3a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1c0 9.39 7.61 17 17 17a1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/%3E%3C/svg%3E") center/19px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 15.5c-1.25 0-2.45-.2-3.57-.57a1 1 0 0 0-1.02.24l-2.2 2.2a15.05 15.05 0 0 1-6.59-6.59l2.2-2.2a1 1 0 0 0 .25-1.02A11.36 11.36 0 0 1 9.5 3a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1c0 9.39 7.61 17 17 17a1 1 0 0 0 1-1v-3.5a1 1 0 0 0-1-1z'/%3E%3C/svg%3E") center/19px no-repeat;
  transform: rotate(135deg);
}
@media (max-width: 920px) {
  .voice-stage { grid-template-columns: 1fr; }
  .voice-robot {
    height: clamp(280px, 64vw, 390px);
    transform: none;
    order: -1;
  }
  .voice-head { margin-inline: auto; text-align: center; }
  .voice-head .eyebrow { justify-content: center; }
  .voice-sub { margin-inline: auto; }
}

/* ── MÓVIL: escala tipográfica de titulares consistente ───────────────────────
   Los hero/títulos de sección eran demasiado grandes y apretados en el teléfono.
   Aquí se bajan TODOS a la misma escala y se les da más interlineado y aire.
   Va al final a propósito (gana por orden de fuente a las media queries previas).
   Solo afecta a <=620px; escritorio intacto. */
@media (max-width: 620px) {
  /* Hero principal */
  h1 {
    font-size: clamp(2.25rem, 9vw, 2.9rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }
  .hero h1 { line-height: 1.06; }
  .hero h1 span { line-height: 1.0; }

  /* Todos los títulos de sección (Sistema, Voz, Inbox, Precio, FAQ, Demo) a una
     misma escala, con interlineado más holgado. */
  h2,
  .system-minimal .system-copy h2,
  .story-intro h2,
  .trust-section .audit-copy h2,
  .price-panel h2,
  .pricing-shell .price-panel h2,
  .cta-copy h2,
  .voice-head h2 {
    font-size: clamp(1.75rem, 6.2vw, 2.2rem);
    line-height: 1.14;
    letter-spacing: -0.03em;
  }

  /* 149€: titular numérico, reducido en proporción */
  .price-amount strong {
    font-size: clamp(2.6rem, 10vw, 3.4rem);
    line-height: 1.02;
  }
  .system-live-card h3 { font-size: clamp(1.6rem, 7vw, 2.1rem); line-height: 1.1; }

  /* Un poco más de aire entre el título y el texto que lo sigue. */
  .section-copy h2,
  .voice-head h2,
  .story-intro h2,
  .cta-copy h2,
  .trust-section .audit-copy h2,
  .price-panel h2 { margin-bottom: 1.05rem; }
}

/* ===================================================================
   P3 · Apagado de animaciones DECORATIVAS en móvil (perf/batería)
   -------------------------------------------------------------------
   Solo glows/anillos/pulsos puramente estéticos: detenerlos no cambia
   el significado. Breakpoint 760px = mismo umbral que el gating de JS
   (landing.js `mobileViewport`), para que CSS y JS coincidan.
   NO se tocan las funcionales (typingDot, voiceTypeDot, osBlink,
   voicePulse), ni shinyText (clip-text: se quedaría oscuro), ni
   .robot-local (visual principal del móvil). Reversible: borrar este
   bloque. Solo overrides animation:none, sin tocar reglas existentes.
   =================================================================== */
@media (max-width: 760px) {
  .spline-ring,            /* splineDrift  · anillo de luz a la deriva */
  .spline-core,            /* splineFloat  · orbe brillante flotante   */
  /* .v3d-core y .v3d-ring vuelven a girar: son el robot suplente cuando
     Spline no entra en el teléfono, y quietos parecen un error de carga. */
  .story-radar span,       /* radarPulse   · anillos de radar          */
  .wa-ping,                /* waPulse      · onda de "ping"            */
  .story-scrollcue::after  /* cueBob       · rebote de la flecha cue   */
  {
    animation: none;
  }
}

/* Bloque blanco del hero en WebKit: la causa era la carrera entre
   background-clip:text y la carga de la fuente. Ya no se detecta el
   navegador; el recorte espera a document.fonts.ready (clase .fx-listo,
   en landing.js) y hasta entonces el titular es aqua sólido. Ver el
   bloque «automatizada» de css/refresh.css. */

/* ===================================================================
   Móvil compacto y horizontal (≤760px). Objetivo: menos "torre"
   vertical — botones y tarjetas en fila (carruseles con snap donde no
   caben), cabeceras de sección diferenciadas (eyebrow como chip y
   títulos contenidos) y menos aire entre secciones. NO toca escritorio.
   =================================================================== */
@media (max-width: 760px) {
  /* — Cabeceras: cada sección se distingue de la anterior — */
  .eyebrow {
    padding: 0.38rem 0.8rem 0.38rem 0.62rem;
    border: 1px solid rgba(90,240,216,0.26);
    border-radius: 999px;
    background: rgba(90,240,216,0.07);
    margin-bottom: 0.9rem;
    font-size: 0.68rem;
  }
  .section-copy h2,
  .story-intro h2,
  .voice-head h2,
  .cta-copy h2,
  .audit-copy h2 {
    font-size: clamp(1.8rem, 7.4vw, 2.35rem);
    line-height: 1.04;
    text-wrap: balance;
  }
  .pricing-shell .price-panel h2 { font-size: clamp(1.7rem, 7.4vw, 2.3rem); }
  .voice-head h2 { max-width: none; }
  .section-copy p,
  .cta-copy p,
  .voice-sub { font-size: 0.95rem; line-height: 1.5; }

  /* — Menos aire vertical entre secciones — */
  .discovery-section,
  .inbox-section,
  .audit-section,
  .cta-section { padding-block: 3.2rem; }
  .voice-section.voice-redesign { padding: 3rem 0 2.2rem; }
  .pricing-section { padding-top: 2.4rem; padding-bottom: 2.6rem; }
  .story-intro { padding-top: 2.6rem; }
  .voice-head { margin-bottom: 1.2rem; }

  /* — Hero: CTAs y atajos en fila, titular contenido — */
  .hero h1 { font-size: clamp(2.4rem, 10.6vw, 3rem); }
  .hero-lead { margin-bottom: 1.3rem; font-size: 0.95rem; }
  .hero-rotator { margin: 0.7rem auto 1rem; }
  .hero-actions { flex-wrap: nowrap; gap: 0.55rem; }
  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding-inline: 0.5rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .hero-fast-path { gap: 0.5rem; }
  .hero-fast-path a {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 0;
    justify-content: center;
    padding-inline: 0.45rem;
    font-size: 0.66rem;
    text-align: center;
  }

  /* El eyebrow del hero es largo: como chip ocupa dos líneas y estorba.
     Se queda plano solo ahí; el resto de secciones conservan el chip. */
  .hero .eyebrow {
    padding: 0;
    border: 0;
    background: none;
  }

  /* — Tarjetas "dudas" (Llamadas/WhatsApp/Revisiones) — */
  /* Antes eran un carrusel horizontal con la barra oculta: las tarjetas 2 y 3
     quedaban fuera de vista SIN señal de que se pudiera deslizar, así que en móvil
     parecía que faltaba contenido. Se apilan en 1 columna (mismo patrón que
     .trust-section .audit-grid) para que las tres se vean, igual que en escritorio. */
  .audit-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 0.7rem;
  }
  .audit-question { min-height: 0; }

  /* — Detalle de precio (Base/Aparte/Antes): apilado, no carrusel oculto — */
  .price-detail {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 0.6rem;
  }

  /* — Robot de voz: presencia sin comerse una pantalla entera — */
  .voice-robot { height: 280px; transform: none; }
  .robot-local { width: 175px; height: 275px; }
  .voice-stage { gap: 1.4rem; }
}

/* ===================================================================
   Móvil compacto v2 (≤760px): widgets más pequeños y encajados.
   Nada debe ocupar una pantalla entera. Solo móvil; escritorio intacto.
   =================================================================== */
@media (max-width: 760px) {
  /* El hero se ajusta a su contenido en vez de forzar pantalla completa */
  .hero { min-height: auto; padding: 6.2rem 0 2.8rem; }

  /* — ditbo OS (núcleo de decisión) — */
  .os-window { border-radius: 18px; }
  .os-bar { padding: 0.55rem 0.75rem; }
  .os-bar strong { font-size: 0.68rem; }
  .os-tab {
    min-height: 34px;
    padding: 0.3rem 0.7rem;
    font-size: 0.68rem;
  }
  .os-caption { font-size: 0.78rem; }
  .os-step { padding: 0.75rem 0.85rem; }
  .os-step p { font-size: 0.8rem; line-height: 1.42; }
  .os-kpi .os-num { font-size: 1.7rem; }
  .os-kpi small { font-size: 0.62rem; }
  .os-note { font-size: 0.72rem; }
  .os-disclaimer { font-size: 0.62rem; }

  /* — Bandeja (inbox) — */
  .mail-app { border-radius: 18px; }
  .mail-titlebar { padding: 0.55rem 0.75rem; }
  .mail-titlebar strong { font-size: 0.7rem; }
  .message-item { padding: 0.62rem 0.72rem; }
  .message-item .mi-from { font-size: 0.82rem; }
  .message-item .mi-sub { font-size: 0.76rem; }
  .message-item .mi-prev { font-size: 0.7rem; }
  .reader-content { font-size: 0.85rem; }

  /* — Móvil del flujo: más pequeño y proporcionado — */
  .story-phone {
    width: min(70vw, 248px);
    min-height: 440px;
    border-radius: 46px;
  }
  .story-phone .phone-screen { border-radius: 38px; }
  .wa-chat .bubble { font-size: 0.8rem; }

  /* — Transcripción de voz acotada — */
  .call-chat { max-height: 300px; }

  /* — Precio y piloto — */
  .price-amount strong { font-size: clamp(2.9rem, 16vw, 3.8rem); }
  .pilot-panel { padding: 1rem; }
  .pilot-panel h3 { font-size: 1.15rem; }

  /* — FAQ y formulario — */
  .trust-faq.faq-list summary { padding: 0.8rem 0.9rem; font-size: 0.86rem; }
  .trust-faq.faq-list details p { font-size: 0.84rem; }
  .lead-form { padding: 1.1rem; }
}

/* ── Chat de demo REAL en el móvil ─────────────────────────────────────────────
   La barra real (form) sustituye a la decorativa cuando el backend responde.
   Misma anatomía .wa-inputbar/.wa-field/.wa-send; aquí solo lo que cambia por
   ser elementos interactivos de verdad. */
.wa-inputbar[hidden] { display: none; }         /* [hidden] debe ganar al display:flex */

.wa-field-live {
  min-width: 0;                                  /* que el input pueda encoger en el móvil */
  border: 0;
  outline: none;
  font: inherit;
  font-size: 0.9rem;
  color: #e9edef;
  caret-color: var(--aqua);
}
.wa-field-live::placeholder { color: #8696a0; }
.wa-field-live:focus-visible { box-shadow: 0 0 0 1px rgba(90, 240, 216, 0.45); }
.wa-field-live:disabled { color: #8696a0; background: #16222a; }

.wa-send-live {
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}
.wa-send-live::before {
  /* flecha de enviar (la barra decorativa lleva micrófono) */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3.4 20.4 20.85 12 3.4 3.6v6.53L15.05 12 3.4 13.87z'/%3E%3C/svg%3E") center/19px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3.4 20.4 20.85 12 3.4 3.6v6.53L15.05 12 3.4 13.87z'/%3E%3C/svg%3E") center/19px no-repeat;
}
.wa-send-live:hover { transform: scale(1.06); }
.wa-send-live:focus-visible { box-shadow: var(--focus-ring); outline: none; }
.wa-send-live:disabled { background: #202c33; cursor: default; transform: none; }

.wa-system a {
  color: var(--aqua);
  font-weight: 700;
  text-decoration: none;
}
.wa-system a:hover { text-decoration: underline; }

/* En táctil, 16px evita el zoom automático de iOS al enfocar el input. */
@media (hover: none) {
  .wa-field-live { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-send-live { transition: none; }
  .wa-send-live:hover { transform: none; }
}

/* ── Pill "Escribir al asistente" del móvil (V2) ──────────────────────────────
   Hermano del botón de voz (.voice-talk-btn): mismo aqua, icono en círculo y
   dos líneas. Aquí solo el posicionamiento (flota sobre la parte baja del chat,
   sobre la barra de entrada) y la reducción de escala para el móvil. */
/* Doble clase (.voice-talk-btn.wa-live-pill): sube la especificidad para ganar
   SIEMPRE a las reglas base .voice-talk-btn, que van después en el archivo. Sin
   esto el pill se pintaba a tamaño completo y se salía de la pantalla estrecha
   del móvil (la recorta .phone-screen overflow:hidden). */
.voice-talk-btn.wa-live-pill {
  position: absolute;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  z-index: 6;
  max-width: calc(100% - 1rem);   /* nunca más ancho que la pantalla del mockup */
  box-sizing: border-box;
  padding: 0.5rem 1rem 0.5rem 0.55rem;
  white-space: nowrap;
}
.voice-talk-btn.wa-live-pill:hover { transform: translateX(-50%) translateY(-2px); }
.wa-live-pill[hidden] { display: none; }
.voice-talk-btn.wa-live-pill .vt-ic { width: 30px; height: 30px; }
.voice-talk-btn.wa-live-pill .vt-ic svg { width: 16px; height: 16px; }
.voice-talk-btn.wa-live-pill .vt-copy { min-width: 0; }
.voice-talk-btn.wa-live-pill .vt-copy strong,
.voice-talk-btn.wa-live-pill .vt-copy small {
  overflow: hidden;
  text-overflow: ellipsis;   /* último recurso: recorta con … antes que salirse */
}
.voice-talk-btn.wa-live-pill .vt-copy strong { font-size: 0.82rem; }
.voice-talk-btn.wa-live-pill .vt-copy small { font-size: 0.64rem; }
/* Hueco al fondo del scroll mientras flota un CTA: el chat auto-baja, así que
   con este padding la última burbuja queda SIEMPRE por encima del botón. */
#story-phone-chat.con-cta { padding-bottom: 76px; }

/* ── Modo foco: chateando de verdad, fuera las tarjetas del guion ───────────── */
#flujo.demo-live .story-notes,
#flujo.demo-live .story-scrollcue {
  opacity: 0;
  visibility: hidden;
  transition: opacity 480ms var(--ease), visibility 0s 500ms;
}
/* El movil gana presencia por ANCHO real (re-layout nitido), nunca por scale:
   escalar la capa 3D rasterizada emborrona texto y bordes. */
#flujo.demo-live .story-phone {
  width: clamp(316px, 30vw, 402px);
  /* Alto FIJO: sin el, el movil solo tiene min-height y la conversacion larga
     lo estira en vez de hacer scroll dentro del chat (.wa-chat ya es overflow-y). */
  height: min(75svh, 750px);
  transition: transform 700ms var(--ease), width 700ms var(--ease);
}
@media (max-width: 980px) {
  /* en móvil las notas ocupan flujo: fuera del layout directamente */
  #flujo.demo-live .story-notes { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-live-pill, .voice-talk-btn { transition: none; }
  .voice-talk-btn:hover { transform: none; }
  .voice-talk-btn.wa-live-pill:hover { transform: translateX(-50%); }
  #flujo.demo-live .story-notes,
  #flujo.demo-live .story-scrollcue { transition: none; }
  #flujo.demo-live .story-phone { transition: none; }
}

/* Wordmark en la cabecera del móvil (patrón del nav). */
.wa-contact .wa-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
}
.wa-contact .brand-rest { color: #e9edef; }

/* ── Chip con CTA (p. ej. «Fin de la demo»): el enlace vive DENTRO del
   recuadro, en su propia línea, alineado con el título (tras el check).
   Anula el empuje a la derecha pensado para los chips cortos del guion. ── */
/* Los chips nunca se encogen: en columna flex con scroll, flex-shrink:1 +
   min-height:2rem dejaban aplastar el chip y el CTA se salia del recuadro. */
.story-phone .wa-system { flex-shrink: 0; }

.story-phone .wa-system-cta span {
  margin-left: 0;
  flex-basis: 100%;
  padding-left: calc(13px + 0.45rem); /* ancho del check + gap: alinea con el título */
  text-align: left;
}
.wa-system-cta a {
  display: inline-block;
  padding: 2px 0;
}

/* ── CTA flotante de la llamada real (sección voz, V2) ────────────────────────
   El guion corre de fondo como ambiente; encima, UN solo botón protagonista.
   Único elemento realzado del bloque (jerarquía por excepción). */
.voice-chat-wrap { position: relative; }
.voice-live-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 3rem 1rem 1.1rem;
  /* Velo inferior: legibilidad del CTA sobre las burbujas del guion. */
  background: linear-gradient(to top, rgba(3, 9, 8, 0.92) 30%, rgba(3, 9, 8, 0.55) 65%, transparent);
  pointer-events: none;
}
.voice-live-cta[hidden] { display: none; }
.voice-live-cta > * { pointer-events: auto; }
.voice-talk-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem 0.7rem 0.95rem;
  border: none;
  border-radius: 999px;
  background: var(--aqua);
  color: #04100f;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(90, 240, 216, 0.28);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.voice-talk-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 36px rgba(90, 240, 216, 0.4);
}
.voice-talk-btn:disabled { opacity: 0.72; cursor: default; transform: none; }
.voice-talk-btn .vt-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(4, 16, 15, 0.14);
}
.voice-talk-btn .vt-ic svg { width: 20px; height: 20px; }
.voice-talk-btn .vt-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
}
.voice-talk-btn .vt-copy strong { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; }
.voice-talk-btn .vt-copy small { font-size: 0.7rem; font-weight: 650; opacity: 0.72; }
/* En llamada: el mismo botón pasa a «Colgar» en vidrio oscuro con borde aqua. */
.voice-talk-btn.colgando {
  background: rgba(10, 20, 18, 0.9);
  color: var(--soft);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(90, 240, 216, 0.4);
}
.voice-talk-btn.colgando .vt-ic { background: rgba(90, 240, 216, 0.12); color: var(--aqua); }
/* Aviso discreto de entorno de pruebas bajo el CTA de voz (RGPD). */
.voice-note { flex-basis: 100%; text-align: center; color: var(--muted); font-size: 0.72rem; opacity: 0.8; margin: 0; }
/* Hueco al fondo para que el CTA flotante no tape la última línea del transcript. */
.voice-transcript .call-chat.con-cta { padding-bottom: 104px; }

/* Selector de micrófono de la llamada real */
.voice-mic-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.74rem;
}
.voice-mic-label[hidden] { display: none; }
#voice-mic {
  max-width: 210px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--soft);
  font: inherit;
  font-size: 0.74rem;
}
#voice-mic option { background: #0b1110; }


/* ── Planes (3 tarjetas) ──────────────────────────────────────────────────────
   Sustituyen al plan unico. Van al final del fichero a proposito: el markup
   viejo (.price-panel, .price-detail, .price-row) ya no existe, asi que sus
   reglas quedan inertes y no hace falta tocarlas. Solo tokens de :root. */
.pricing-shell.planes-shell {
  display: block;
}

.pricing-head {
  max-width: 64ch;
  margin: 0 0 clamp(1.1rem, 2.8vw, 1.8rem);
}

.pricing-head h2 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.02;
}

.pricing-lead {
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}

.planes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(0.7rem, 1.8vw, 1.1rem);
  align-items: stretch;
  margin-bottom: clamp(0.85rem, 2.4vw, 1.35rem);
}

.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(1.05rem, 2.4vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

/* Jerarquia por excepcion: solo una tarjeta destacada. */
.plan--destacado {
  border-color: rgba(90, 240, 216, 0.32);
  background:
    radial-gradient(circle at 84% 0%, rgba(90, 240, 216, 0.1), transparent 42%),
    var(--panel-strong);
}

.plan-nombre {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-sello {
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(90, 240, 216, 0.3);
  border-radius: 999px;
  background: rgba(90, 240, 216, 0.1);
  color: var(--aqua);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.plan-precio {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.plan-precio strong {
  font-size: clamp(2rem, 4.4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-precio em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
}

/* El plan sin precio publicado: misma altura optica, sin cifra inventada. */
.plan-precio--texto {
  min-height: clamp(2rem, 4.4vw, 2.7rem);
  align-items: center;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.35;
}

.plan-lista {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 0.42rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.plan-lista li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--soft);
  font-size: 0.93rem;
  line-height: 1.5;
}

.plan-lista li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--aqua);
  opacity: 0.65;
  content: "";
}

.plan-lista strong {
  color: var(--ink);
}

.plan-btn {
  align-self: stretch;
  justify-content: center;
  text-align: center;
}

@media (max-width: 620px) {
  .planes {
    grid-template-columns: 1fr;
  }
}

/* ── Tres planes: lema, precio de instalacion y pie de condiciones ─────────── */
.plan-para {
  margin: -0.5rem 0 0.9rem;
  color: var(--aqua);
  font-size: 0.92rem;
  line-height: 1.4;
}

.plan-extra {
  margin: -0.7rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.plan--destacado .plan-para { color: var(--aqua); }

.planes-pie {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0 0 0.7rem;
  padding: 0;
  list-style: none;
}

.planes-pie li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.planes-pie li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--aqua);
  content: "";
}

.planes-nota {
  max-width: 88ch;
  margin: 0 0 clamp(0.85rem, 2.4vw, 1.35rem);
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.planes-nota a { color: var(--aqua); }

@media (max-width: 620px) {
  .planes-pie { gap: 0.45rem; flex-direction: column; }
}

/* ── Banner de sistemas: marquesina de logos ─────────────────────────────────
   Dos pistas identicas en fila: cuando la primera termina de salir, la segunda
   ya esta en su sitio, asi que el bucle no tiene costura. El contenedor recorta,
   de modo que en movil no aparece barra de scroll.
   Los logos van atenuados y en gris para que no compitan con el aqua de la
   marca: se toca color y opacidad, nunca la forma. */
.sistemas {
  padding: clamp(2.6rem, 6vw, 4.2rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.sistemas-copy {
  width: min(calc(100% - 2.5rem), var(--maxw, 1200px));
  margin: 0 auto clamp(1.6rem, 4vw, 2.4rem);
}

.sistemas-copy h2 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.05;
}

.sistemas-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}

.sistemas-lead a { color: var(--aqua); }

/* El hueco es un valor FIJO en px, no un clamp, y aparece en dos sitios que
   tienen que coincidir al milimetro: la separacion entre pistas y la
   compensacion del keyframe. Si divergen, el bucle da un salto cada vuelta.
   Y en px literal (no var()) porque asi Chrome puede componer la animacion
   en la GPU en lugar de recalcularla en el hilo principal. */
.marquesina {
  display: flex;
  gap: 40px;
  overflow: hidden;
  /* Misma medida que el texto de la seccion: la cinta deja de ser una banda
     a sangre desalineada del resto y pasa a leerse como parte del bloque. */
  width: min(calc(100% - 2.5rem), var(--maxw, 1200px));
  margin-inline: auto;
  /* Entran y salen difuminados por los lados. */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquesina-pista {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  /* Logos mas juntos: con 64 px entre piezas la fila parecia medio vacia. */
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquesina-desliza 30s linear infinite;
  will-change: transform;
}

/* Sin pausa al pasar el raton: la cinta no se detiene nunca. Dentro no hay
   nada enfocable, asi que tampoco hace falta pararla al tabular. */

.marquesina img {
  display: block;
  width: auto;
  /* brightness(0) aplasta cualquier logo a negro e invert(1) lo sube a blanco
     plano: todos acaban con el mismo tono partan del color que partan, que es
     lo unico que iguala el peso visual. La forma no se toca. */
  filter: brightness(0) invert(1) opacity(0.55);
  transition: filter 0.3s var(--ease);
}

.marquesina:hover img { filter: brightness(0) invert(1) opacity(0.72); }

@keyframes marquesina-desliza {
  from { transform: translate3d(0, 0, 0); }
  /* -100% del ancho de la pista MAS el hueco que la separa de la siguiente:
     al terminar, la pista 2 esta exactamente donde estaba la 1. */
  to   { transform: translate3d(calc(-100% - 40px), 0, 0); }
}

.sistemas-nota {
  width: min(calc(100% - 2.5rem), var(--maxw, 1200px));
  margin: clamp(1.4rem, 3vw, 2rem) auto 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Sin movimiento: los logos se quedan quietos y en rejilla, sin recorte. */
@media (prefers-reduced-motion: reduce) {
  .marquesina {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem 2.4rem;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .marquesina-pista {
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }
  .marquesina-pista[aria-hidden="true"] { display: none; }
}

@media (max-width: 760px) {
  .marquesina { gap: 28px; }
  .marquesina-pista { gap: 28px; animation-duration: 24s; }
  .marquesina img { max-height: 22px; }
  @keyframes marquesina-desliza {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-100% - 28px), 0, 0); }
  }
}

/* Marca sin logo usable: el nombre escrito como en su web, al mismo peso
   optico y con el mismo tono que los logos, para que la fila no cojee. */
.marquesina-nombre {
  display: block;
  color: rgba(247, 251, 248, 0.55);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 26px;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.marquesina:hover .marquesina-nombre { color: rgba(247, 251, 248, 0.78); }

@media (max-width: 760px) {
  .marquesina-nombre { font-size: 17px; line-height: 22px; }
}

/* ── Conmutador mensual / anual ──────────────────────────────────────────────
   Reutiliza la pildora .price-switch que ya existia. Los dos precios viven en
   el HTML y solo se alterna cual se ve: si el JS falla queda el mensual, que es
   el precio de referencia, y nadie ve un hueco. */
.ciclo-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1rem;
  margin: 0 0 clamp(1rem, 2.6vw, 1.5rem);
  text-align: center;
}

.price-switch.ciclo { grid-template-columns: repeat(2, minmax(0, auto)); }

.ciclo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: rgba(247, 251, 248, 0.68);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.ciclo-btn.active {
  background: #f5f2e7;
  color: #050706;
}

.ciclo-ahorro {
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(90, 240, 216, 0.16);
  color: var(--aqua);
  font-size: 0.66rem;
}

.ciclo-btn.active .ciclo-ahorro {
  background: rgba(5, 7, 6, 0.1);
  color: #0b6b5c;
}

.ciclo-nota {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.precio-ciclo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}

/* Por defecto se ve el mensual. Estas reglas van DESPUES de .precio-ciclo a
   proposito: misma especificidad, asi que manda la ultima. Al reves se veian
   los dos precios a la vez. */
.precio-anual { display: none; }
.pricing-shell.anual .precio-mensual { display: none; }
.pricing-shell.anual .precio-anual { display: inline-flex; }

/* La linea que justifica el plan Premium: primera y con el acento de la marca,
   para que se vea antes que la voz y los mensajes, que estan en los tres. */
.plan-lista li.plan-clave {
  margin-bottom: 0.15rem;
  color: var(--ink);
}

.plan-lista li.plan-clave::before {
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  opacity: 1;
}

.plan-lista li.plan-clave strong { color: var(--aqua); }

/* En anual, la cifra grande es el equivalente mensual: el total del ano va
   pequeno al lado y debajo se dice que se factura de una vez. */
.precio-total {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.plan-facturacion {
  display: none;
  margin: -0.55rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.pricing-shell.anual .plan-facturacion { display: block; }

/* Primer mes gratis: ocupa el mismo hueco que "Facturado anualmente", asi que
   los dos ciclos no bailan de altura al conmutar. Solo en mensual. */
.plan-regalo {
  display: inline-flex;
  align-items: center;
  /* La tarjeta es flex en columna: sin esto el distintivo se estira a todo
     el ancho y deja de parecer una etiqueta. */
  align-self: flex-start;
  margin: -0.55rem 0 0.85rem;
  padding: 0.16rem 0.55rem;
  border: 1px solid rgba(90, 240, 216, 0.28);
  border-radius: 999px;
  background: rgba(90, 240, 216, 0.1);
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 700;
}

.pricing-shell.anual .plan-regalo { display: none; }

/* ── El precio manda en la tarjeta ───────────────────────────────────────────
   Antes el titular de la seccion pesaba mas que las cifras. tabular-nums para
   que 82,50 y 149,17 ocupen lo mismo y no bailen al conmutar de ciclo. */
.plan-precio strong {
  font-size: clamp(2.9rem, 5.6vw, 4.1rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.plan-precio em {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.plan-precio { margin-bottom: 1rem; }

/* ── El conmutador se lee como una decision, no como un detalle ───────────── */
.ciclo-wrap {
  margin: clamp(1.6rem, 4vw, 2.6rem) 0 clamp(1.6rem, 4vw, 2.6rem);
}

.price-switch.ciclo {
  gap: 0.25rem;
  padding: 0.3rem;
  border-color: rgba(255, 255, 255, 0.08);
}

.ciclo-btn {
  min-height: 46px;
  padding: 0 1.5rem;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

@media (max-width: 620px) {
  .ciclo-btn { min-height: 42px; padding: 0 1rem; font-size: 0.84rem; }
  .plan-precio strong { font-size: clamp(2.6rem, 13vw, 3.4rem); }
}

/* ── El precio anual tiene que caber ─────────────────────────────────────────
   La tarjeta deja 293 px utiles y "290,83 € /mes" con la cifra a 4,1rem pedia
   mas. Se baja el tamano y el total del ano se lleva a la linea de facturacion,
   que es donde se entiende mejor. */
.plan-precio strong {
  font-size: clamp(2.4rem, 4.2vw, 3.1rem);
}

.plan-facturacion .precio-total {
  color: var(--muted);
  font-size: inherit;
  white-space: nowrap;
}

/* El aqua significa una sola cosa por bloque: en las tarjetas, la linea que
   diferencia al Premium. Los lemas pasan a gris claro. */
.plan-para,
.plan--destacado .plan-para {
  color: var(--soft);
}

@media (max-width: 620px) {
  .plan-precio strong { font-size: clamp(2.3rem, 11vw, 2.9rem); }
}

/* La negrita de las caracteristicas apenas se distinguia: el cuerpo va con
   alpha 0.68 y el bold heredaba un peso flojo. Peso 700 y blanco pleno. */
.plan-lista strong {
  color: #fff;
  font-weight: 700;
}

/* "12 meses de compromiso - se cobra mes a mes": la segunda mitad, mas tenue. */
.plan-facturacion .precio-total { color: var(--muted); }

/* "- se cobra mes a mes" puede partir de linea: a 1440 solo sobran 13 px y no
   quiero que dependa de como cargue la fuente. */
.plan-facturacion .precio-total { white-space: normal; }

/* ── Movil: margenes, precio, lectura y zonas tactiles ───────────────────────
   Todo va dentro de media queries: a 1440 px no cambia ningun estilo. A 360 px
   el margen de 8 px pegaba el texto al borde, el conmutador anual se cortaba y
   habia textos de 10 px y enlaces de 17 px de alto. */
@media (max-width: 620px) {
  /* Margen lateral de 8 a 16 px */
  .hero,
  .audit-section,
  .discovery-section,
  .voice-section,
  .story-section,
  .ops-section,
  .inbox-section,
  .commercial-section,
  .faq-section,
  .cta-section { width: calc(100% - 2rem); }
  .site-nav { width: calc(100% - 1.5rem); }
  .pricing-shell { padding: 0.6rem; }

  /* Mensual / anual: dos columnas y el anual puede partir linea */
  .price-switch.ciclo {
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 24px;
  }
  .ciclo-btn {
    padding: 0.45rem 0.9rem;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
  }

  /* Botones del hero: uno por linea y atajos legibles */
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    flex: 1 1 100%;
    font-size: 0.92rem;
  }
  .hero-fast-path a {
    min-height: 42px;
    font-size: 0.75rem;
  }

  /* Titulares a todo el ancho (con la especificidad de sus reglas de escritorio) */
  .system-minimal .system-copy h2,
  .trust-section .audit-copy h2,
  .cta-copy h2 { max-width: none; }

  /* "Desliza para descubrir el proceso" en una linea a 360 px */
  .hero-cue { letter-spacing: 0.1em; }

  /* Tamano minimo de lectura */
  .os-kpi small,
  .os-disclaimer { font-size: 0.72rem; }
  .story-note p { font-size: 0.78rem; }

  /* Zonas tactiles */
  .nav-cta { min-height: 44px; }
  .site-footer div a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }

  /* iOS hace zoom al enfocar un campo con letra de menos de 16 px */
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea,
  #voice-mic { font-size: 16px; }

  /* La ventana de la llamada, mas baja: esta vacia hasta que avanza el guion */
  .voice-transcript .call-chat { height: clamp(300px, 44vh, 400px); }

  /* Etiquetas: si parten linea, el punto va con la primera palabra en vez de
     quedarse solo a la izquierda (con inline-flex el texto ocupaba todo el ancho). */
  .eyebrow { display: inline-block; text-wrap: balance; }
  .eyebrow span {
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: 0.1em;
  }
}

/* Menu desplegable opaco: con 0.97 de alfa el titular del hero se leia detras. */
@media (max-width: 1040px) {
  .site-nav.menu-open .nav-links { background: var(--bg); }
}
