/* ============================================================================
   Getpilas — página pública de ventas.

   Hoja aparte de styles.css a propósito: la app pesa 88 KB de CSS que esta
   página no usa, y mezclarlas invitaría a que un ajuste de la landing rompa
   una pantalla del producto. Lo que sí se comparte son los VALORES: los mismos
   tokens de color, curvas y sombras que la app. Si cambian allá, cambian aquí.

   Estructura: la mitad de arriba es un solo bloque OSCURO (hero + problema +
   el motor de IA) y la de abajo es clara (producto, precios, preguntas). Ese
   corte es lo que le da el aire de presentación de producto, y de paso ahorra
   scroll: el argumento entero cabe en dos actos en vez de ocho secciones.

   Sin librerías, sin tipografías externas, sin imágenes: todo lo visual son
   degradados y SVG en línea. Cero emojis (regla vieja de la casa).
   ========================================================================= */

:root {
  /* Los mismos de public/styles.css (bloque base + EQUILIBRIO) */
  --bg: #f8f9fc;
  --surface: #ffffff;
  --border: #ecedf1;
  --border-strong: #d9dce3;
  --text: #0d1220;
  --text-soft: #4a5468;
  --text-faint: #98a2b3;
  --primary: #2f5fde;
  --primary-hover: #2650c0;
  --primary-soft: #eef2ff;
  --danger: #d92d20;
  --danger-soft: #fef3f2;
  --amber: #f79009;
  --warn-soft: #fffaeb;
  --ok: #067647;
  --purple: #6941c6;

  /* Propios de la landing */
  /* Azules OFICIALES de Getpilas (guia de marca). No hay cian en la marca:
     el #38bdf8 que habia aqui antes estaba inventado. */
  --azul-claro: #7ea0ff;
  --azul-tinte: #a9c2ff;

  --oscuro: #070b16;
  --oscuro-2: #0d1526;
  --claro-txt: #f2f6ff;
  --claro-soft: #9fb0cd;
  --claro-faint: #64708e;

  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-2xl: 26px;
  --r-pill: 999px;

  --shadow: 0 1px 2px rgba(13, 18, 32, .05), 0 6px 16px rgba(13, 18, 32, .05);
  --shadow-md: 0 2px 6px rgba(13, 18, 32, .05), 0 12px 28px rgba(13, 18, 32, .09);
  --shadow-lg: 0 8px 16px rgba(13, 18, 32, .08), 0 32px 64px rgba(13, 18, 32, .18);
  --shadow-xl: 0 24px 50px rgba(0, 0, 0, .35), 0 60px 120px rgba(0, 0, 0, .45);
  --ring: 0 0 0 3px rgba(47, 95, 222, .16);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --ancho: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;              /* las auroras se salen a propósito */
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 22px; }
.contenedor.angosto { max-width: 760px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.saltar { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-md); }
.saltar:focus { left: 16px; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }

/* ---------------------------------------------------------------- tipografía */
h1 { font-size: clamp(40px, 7.4vw, 82px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-size: clamp(27px, 4.2vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.038em; text-wrap: balance; }
h3 { font-size: clamp(18px, 2vw, 22px); line-height: 1.22; font-weight: 700; letter-spacing: -.028em; text-wrap: balance; }

.entrada { color: var(--text-soft); font-size: clamp(15.5px, 1.6vw, 18px); max-width: 60ch; margin-top: 13px; }
.entrada.claro { color: var(--claro-soft); }
.claro { color: var(--claro-txt); }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11.5px; font-weight: 700; color: var(--primary); }
.eyebrow.claro { color: var(--azul-claro); }

.etiqueta { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: var(--r-pill); margin-bottom: 11px; }

.degradado-frio { background: linear-gradient(100deg, #5b84f5 0%, #7ea0ff 50%, #a9c2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.micro { font-size: 13px; color: var(--text-faint); margin-top: 12px; }
.micro.claro { color: var(--claro-faint); }
.micro.centrado { text-align: center; max-width: 68ch; margin-left: auto; margin-right: auto; }

/* -------------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 650; font-size: 14.5px; letter-spacing: -.01em;
  padding: 10px 18px; border-radius: var(--r-md);
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn-solido { background: var(--primary); color: #fff; box-shadow: 0 2px 10px rgba(47, 95, 222, .34); }
.btn-solido:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(47, 95, 222, .45); }
.btn-plano { color: var(--claro-soft); }
.btn-plano:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.btn-borde { border: 1px solid var(--border-strong); color: var(--text); background: var(--surface); }
.btn-borde:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn-claro { background: #fff; color: var(--oscuro); box-shadow: 0 10px 34px rgba(126, 160, 255, .28); }
.btn-claro:hover { transform: translateY(-1px); box-shadow: 0 14px 44px rgba(126, 160, 255, .42); }
.btn-grande { font-size: 16.5px; padding: 15px 34px; border-radius: 12px; }
.btn.ancho { width: 100%; margin-top: 20px; }

/* ------------------------------------------------------------------ barra nav */
/* La página arranca oscura, así que la barra vive siempre en claro sobre
   fondo oscuro. Arriba del todo va del mismo color que el bloque oscuro (se
   funden en uno solo) y al bajar se vuelve vidrio esmerilado. Se pinta con
   color propio en vez de dejarla transparente: transparente mostraría el
   fondo claro del body como una franja blanca encima del hero. */
.nav { position: sticky; top: 0; z-index: 100; background: var(--oscuro); transition: background .25s var(--ease), box-shadow .25s var(--ease); }
.nav.pegada {
  background: rgba(7, 11, 22, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}
.nav-in { max-width: var(--ancho); margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; gap: 18px; }
.marca { display: inline-flex; align-items: center; gap: 9px; }
.marca-ic { width: 26px; height: 26px; border-radius: 7px; flex: none; }
.marca-txt { font-weight: 800; font-size: 17.5px; letter-spacing: -.035em; color: #fff; }
.marca-txt span { color: var(--azul-claro); }

.nav-links { display: none; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 550; color: var(--claro-soft); }
.nav-links a:hover { color: #fff; }
.nav-acc { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 860px) { .nav-links { display: flex; } .nav-acc { margin-left: 0; } }
@media (max-width: 420px) { .nav-acc .btn-plano { display: none; } }

/* ====================== EL BLOQUE OSCURO ====================== */
.oscuridad { position: relative; background: var(--oscuro); overflow: hidden; }

/* Aurora: manchas de color muy difusas. Es lo que da el aire futurista sin
   usar ni una imagen. */
.aurora { position: absolute; inset: 0 0 auto; height: 1100px; pointer-events: none; }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(100px); }
.aurora i:nth-child(1) { width: 720px; height: 600px; left: 50%; top: -60px; transform: translateX(-62%); background: radial-gradient(circle, rgba(47, 95, 222, .75), transparent 68%); }
.aurora i:nth-child(2) { width: 600px; height: 520px; left: 50%; top: 30px; transform: translateX(14%); background: radial-gradient(circle, rgba(126, 160, 255, .5), transparent 68%); }
.aurora i:nth-child(3) { width: 560px; height: 480px; left: 50%; top: 320px; transform: translateX(-118%); background: radial-gradient(circle, rgba(105, 65, 198, .5), transparent 68%); }

/* Rejilla técnica de fondo, casi invisible: solo se nota en el borde y da
   sensación de "plano de ingeniería". */
.reja {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 22%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 55% at 50% 22%, #000 30%, transparent 78%);
}

/* ---------------------------------------------------------------------- hero */
.hero { position: relative; padding: 44px 0 0; text-align: center; }
.hero-in { max-width: 900px; margin: 0 auto; padding: 0 22px; }
.hero h1 { margin-top: 16px; }
.hero-sub { margin: 22px auto 0; max-width: 48ch; font-size: clamp(16px, 1.8vw, 19.5px); color: var(--claro-soft); line-height: 1.5; }
.hero-sub b { color: #fff; font-weight: 650; }
.hero-cta { margin-top: 30px; }

/* --------------------------------------------------- escenario de la captura */
.escenario { position: relative; perspective: 1800px; padding: 38px 16px 0; }

/* Tarjetas que flotan sobre la ventana. Van fuera del elemento con la
   inclinación 3D a propósito: adentro heredarían la rotación y se verían
   torcidas. Debajo de 1080 px se esconden: no hay margen lateral para que
   floten sin tapar la captura. */
.flota { display: none; }
@media (min-width: 1080px) {
  .flota {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-radius: var(--r-lg); padding: 11px 15px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
    animation: flotar 6s var(--ease) infinite;
  }
  .flota b { display: block; font-size: 12.5px; letter-spacing: -.02em; }
  .flota span { font-size: 11px; color: var(--text-soft); }
  /* Abajo del menu lateral, no encima: a 128px tapaba el item "Home" y su
     estado activo, que es justo lo que la captura tiene que mostrar. */
  .flota-izq { left: max(10px, calc(50% - 620px)); top: 330px; }
  .flota-der { right: max(10px, calc(50% - 620px)); top: 250px; animation-delay: -3s; }
  .fl-punto { width: 9px; height: 9px; border-radius: 50%; flex: none; }
  .fl-punto.rojo { background: var(--danger); box-shadow: 0 0 0 4px rgba(217, 45, 32, .16); }
}
@keyframes flotar { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
.marco {
  max-width: 1000px; margin: 0 auto;
  transform: rotateX(var(--tilt, 14deg)) scale(var(--esc, .96));
  transform-origin: 50% 0;
  transition: transform .1s linear;
  will-change: transform;
}
/* El halo que hace que la ventana parezca encendida sobre el fondo oscuro */
.marco::before {
  content: ""; position: absolute; inset: 6% 8% -4%;
  background: radial-gradient(ellipse at center, rgba(126, 160, 255, .5), transparent 68%);
  filter: blur(60px); z-index: -1;
}
.ventana { background: var(--surface); border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-xl); border: 1px solid rgba(255, 255, 255, .12); }
.ventana-barra { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #f2f4f8; border-bottom: 1px solid var(--border); }
.punto { width: 10px; height: 10px; border-radius: 50%; background: #d9dce3; flex: none; }
.url { margin-left: 14px; font-size: 11.5px; color: var(--text-faint); background: #fff; border-radius: var(--r-pill); padding: 3px 14px; }

/* -------------------------------------------------- recreación de la interfaz */
/* La ventana se recorta como se recorta una captura de pantalla: el contenido
   sigue debajo y eso mismo hace que parezca real. */
.ui { display: flex; text-align: left; min-height: 320px; max-height: 512px; overflow: hidden; }
.ui-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ui-lat { width: 172px; flex: none; background: #0d1220; color: #98a2b3; padding: 16px 12px; display: none; flex-direction: column; gap: 2px; }
/* Ojo con el gap: "Get" es un nodo de texto suelto y <b>pilas</b> otro, asi
   que el flex los trata como dos hijos y el logotipo se leia "Get pilas",
   partido en dos. La separacion va en el cuadrito, no en el contenedor. */
.ui-marca { color: #fff; font-weight: 800; font-size: 14px; letter-spacing: -.03em; display: flex; align-items: center; gap: 0; margin-bottom: 16px; }
.ui-marca b { color: var(--azul-claro); font-weight: 800; }
.ui-mark { width: 17px; height: 17px; border-radius: 5px; background: var(--primary); flex: none; margin-right: 7px; }
.ui-nav { display: flex; align-items: center; gap: 9px; font-size: 12.5px; padding: 7px 10px; border-radius: var(--r-sm); }
.ui-nav .ic { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ui-nav.act { background: linear-gradient(90deg, rgba(47, 95, 222, .95), rgba(47, 95, 222, .3)); color: #fff; font-weight: 600; }
.ui-nav.ia .ic { stroke: var(--azul-claro); }

/* Barra superior: buscador, campana y avatar */
.ui-top { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.ui-buscar { flex: 1; max-width: 340px; display: flex; align-items: center; gap: 8px; background: #f2f4f8; border-radius: var(--r-pill); padding: 7px 14px; font-size: 11px; color: var(--text-faint); }
.ui-buscar svg { width: 13px; height: 13px; flex: none; fill: none; stroke: var(--text-faint); stroke-width: 2; stroke-linecap: round; }
.ui-camp { margin-left: auto; }
.ui-camp svg { width: 16px; height: 16px; fill: none; stroke: var(--text-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ui-av { width: 27px; height: 27px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }

.ui-cuerpo { flex: 1; padding: 16px; min-width: 0; overflow: hidden; }

/* La tarjeta "AHORA": lo primero que ve el gerente al entrar */
.ahora { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 14px 16px 4px; margin-bottom: 13px; }
.ahora-top { display: flex; gap: 14px; align-items: flex-start; }
.ahora-izq { flex: 1; min-width: 0; }
.ahora-lbl { display: flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; color: var(--primary); }
.ahora-lbl svg { width: 11px; height: 11px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linejoin: round; }
.ahora h4 { font-size: 15px; font-weight: 700; letter-spacing: -.025em; margin-top: 5px; line-height: 1.2; }
.ahora-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 9.5px; font-weight: 650; background: #f2f4f8; color: var(--text-soft); padding: 4px 9px; border-radius: var(--r-pill); }
.chip.fecha { background: transparent; border: 1px solid var(--border); }
.ahora-por { font-size: 11px; color: var(--text-soft); margin-top: 8px; }
.ahora-btns { display: flex; align-items: center; gap: 12px; margin-top: 11px; }
.ui-btn { background: var(--primary); color: #fff; font-size: 11px; font-weight: 650; padding: 7px 14px; border-radius: var(--r-sm); }
.ui-btn2 { font-size: 11px; font-weight: 600; color: var(--text-soft); }
.ui-btn3 { margin-left: auto; font-size: 10px; font-weight: 600; color: var(--text-soft); border: 1px solid var(--border-strong); padding: 4px 11px; border-radius: var(--r-pill); flex: none; }
.ahora-pri { flex: none; background: var(--warn-soft); border-radius: var(--r-md); padding: 9px 13px; text-align: center; }
.ahora-pri b { display: block; font-size: 13px; color: #b54708; letter-spacing: -.02em; }
.ahora-pri span { font-size: 8px; font-weight: 700; letter-spacing: .1em; color: #b54708; opacity: .8; }
.ahora-av { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 11px; }
.ap-punto { width: 5px; height: 5px; border-radius: 50%; background: var(--text-faint); flex: none; }
.ap-t { font-weight: 650; }
.ap-s { color: var(--text-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Tarjetas de números: blancas y con el número en color, como la app */
.ui-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-bottom: 13px; }
.ui-stat { background: var(--surface); border-radius: var(--r-md); padding: 11px 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ui-stat .n { font-size: 22px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.ui-stat .l { font-size: 9px; color: var(--text-faint); line-height: 1.3; margin-top: 2px; }
.c-azul { color: var(--primary); } .c-verde { color: var(--ok); } .c-ambar { color: #b54708; }
.c-morado { color: var(--purple); } .c-rojo { color: var(--danger); }

/* Los dos paneles de abajo */
.ui-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.ui-panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 12px 13px; min-width: 0; }
.up-h { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 9px; }
.up-h svg { width: 13px; height: 13px; flex: none; fill: none; stroke: var(--text-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.up-fila { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 10.5px; }
.up-t { flex: 1; min-width: 0; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-act { display: flex; gap: 8px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 10.5px; color: var(--text-soft); line-height: 1.45; }
.up-act b { color: var(--text); font-weight: 650; }
.up-act i { display: block; font-style: normal; font-size: 9.5px; color: var(--text-faint); margin-top: 2px; }
.ua-p { width: 7px; height: 7px; border-radius: 50%; border: 1.6px solid var(--primary); flex: none; margin-top: 4px; }
.ua-p.llena { background: var(--primary); }

.ui-ai { display: flex; align-items: center; gap: 12px; background: linear-gradient(120deg, #eef4ff 0%, #e6f6fe 100%); border-radius: var(--r-lg); padding: 12px 14px; margin-bottom: 14px; }
.ui-ai.suelto { margin: 0 0 10px; }
.ui-anillo { position: relative; width: 42px; height: 42px; flex: none; }
.ui-anillo svg { width: 42px; height: 42px; transform: rotate(-90deg); }
.ui-anillo circle { fill: none; stroke: rgba(47, 95, 222, .16); stroke-width: 3.2; }
.ui-anillo circle.p { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 12.6; }
.ui-anillo span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--primary); letter-spacing: -.03em; }
.ui-ai-txt { flex: 1; min-width: 0; }
.ui-ai-txt b { display: block; font-size: 13px; letter-spacing: -.02em; }
.ui-ai-txt p { font-size: 11.5px; color: var(--text-soft); line-height: 1.4; }
.fe { font-size: 10px; color: var(--text-faint); flex: none; }

.pill { font-size: 10.5px; font-weight: 650; padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.p-alta { background: var(--danger-soft); color: var(--danger); }
.p-media { background: var(--warn-soft); color: #b54708; }
.p-baja { background: #f2f4f8; color: var(--text-soft); }
.e-prog { background: var(--primary-soft); color: var(--primary); }
.e-pend { background: #f2f4f8; color: var(--text-soft); }
.e-list { background: #ecfdf3; color: var(--ok); }
.e-act { background: #ecfdf3; color: var(--ok); }
.p-rol { background: var(--primary-soft); color: var(--primary); }
.p-rol.suave { background: #f2f4f8; color: var(--text-soft); }

/* En pantallas chicas la ventana se queda con lo esencial: sin menú lateral,
   sin los dos paneles de abajo y con los números en dos filas. Una captura
   apretada a 375 px no se lee y solo estorba. */
@media (min-width: 720px) { .ui-lat { display: flex; } }
@media (max-width: 719px) {
  .ui-2col { display: none; }
  .ui-stats { grid-template-columns: repeat(3, 1fr); }
  .ui-stat:nth-child(n+4) { display: none; }
  .ahora-pri { display: none; }
}

/* ------------------------------------------------- quiénes lo usan (franja) */
.usan { position: relative; padding-top: clamp(46px, 6vw, 72px); text-align: center; }
.usan-t { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--claro-faint); }
.usan-l {
  list-style: none; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 20px 48px; margin-top: 22px;
}
.usan-l img {
  width: auto; display: block; opacity: .55;
  transition: opacity .2s var(--ease);
}
.usan-l li:hover img { opacity: 1; }
/* Alturas al ojo, no al número: el de Cargologic es una tira larga y el de
   Promarosa es casi cuadrado. A la misma altura, el segundo aplastaría al
   primero. */
.lg-cargologic { height: 24px; }
.lg-promarosa { height: 44px; }
.lg-lavendimia { height: 42px; }

/* ------------------------------------------------------------- testimonio */
.testi { text-align: center; }
.testi blockquote {
  font-size: clamp(20px, 2.8vw, 28px); font-weight: 600; line-height: 1.35;
  letter-spacing: -.03em; text-wrap: balance; color: var(--text);
}
.testi blockquote::before { content: "\201C"; }
.testi blockquote::after { content: "\201D"; }
.testi figcaption { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; text-align: left; }
.testi-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.testi figcaption b { display: block; font-size: 15px; letter-spacing: -.02em; }
.testi figcaption i { font-style: normal; font-size: 13px; color: var(--text-soft); }

/* --------------------------------- el problema, en una franja corta --------- */
.franja { position: relative; padding: clamp(52px, 7vw, 84px) 0 0; }
.franja-t { font-size: clamp(19px, 2.4vw, 25px); font-weight: 650; letter-spacing: -.03em; color: #fff; text-align: center; text-wrap: balance; }
.franja-3 { display: grid; gap: 18px; margin-top: 30px; }
.franja-3 p { color: var(--claro-soft); font-size: 15px; padding-left: 16px; border-left: 2px solid rgba(126, 160, 255, .35); }
.franja-3 b { color: #fff; font-weight: 650; }
@media (min-width: 800px) { .franja-3 { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

/* ------------------------------------------------------------- el motor (IA) */
.motor { position: relative; padding: clamp(56px, 7.5vw, 92px) 0 clamp(62px, 8vw, 100px); }
.motor-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .motor-in { grid-template-columns: 1fr .92fr; gap: 64px; } }
.motor-txt h2 { margin-top: 14px; }
.motor-cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.motor-cifras div { border-top: 1px solid rgba(255, 255, 255, .13); padding-top: 12px; }
.motor-cifras b { display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.045em; color: #fff; line-height: 1.1; }
.motor-cifras span { font-size: 11.5px; color: var(--claro-faint); line-height: 1.35; display: block; margin-top: 3px; }

/* El panel de Pilas AI, flotando sobre el fondo oscuro. El halo va en el
   contenedor y no en el panel: un ::before con z-index negativo dentro de una
   tarjeta blanca se escaparía al fondo de la página y no se vería nunca. */
.motor-ui { position: relative; }
.motor-ui::before {
  content: ""; position: absolute; inset: 10% 2% -8%;
  background: radial-gradient(ellipse at center, rgba(126, 160, 255, .5), transparent 70%);
  filter: blur(55px);
}
.pai { position: relative; background: var(--surface); border-radius: var(--r-2xl); padding: 18px; box-shadow: var(--shadow-xl); }
.pai-h { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; letter-spacing: -.025em; margin-bottom: 13px; }
.pai-chispa { width: 9px; height: 9px; border-radius: 50%; background: var(--azul-claro); box-shadow: 0 0 0 4px rgba(126, 160, 255, .2); flex: none; }

.aviso { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; border-radius: var(--r-md); padding: 10px 13px; margin-top: 8px; font-size: 12px; }
.aviso b { font-weight: 650; }
.aviso span { color: var(--text-soft); font-size: 11.5px; }
.a-ambar { background: var(--warn-soft); } .a-ambar b { color: #b54708; }
.a-rojo { background: var(--danger-soft); } .a-rojo b { color: var(--danger); }

/* ====================== SECCIONES CLARAS ====================== */
.seccion { padding: clamp(46px, 5.4vw, 70px) 0; position: relative; }
.seccion.gris { background: linear-gradient(180deg, #f1f3f9 0%, #f8f9fc 100%); }

/* ------------------------------------------------------------------- bento */
.bento { display: grid; gap: 16px; margin-top: 42px; }
.celda { background: var(--surface); border-radius: var(--r-2xl); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.celda:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.celda-txt p { color: var(--text-soft); font-size: 14.5px; margin-top: 8px; }
.celda .tel { align-self: center; }

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .b-voz { grid-column: span 2; grid-row: span 2; }
  .b-dia, .b-cal, .b-proy, .b-eq { grid-column: span 2; }
}
/* El teléfono reparte el espacio que sobra arriba y abajo, en vez de dejarlo
   todo en un bloque blanco al pie de la celda. */
.b-voz .tel { width: 226px; margin-block: auto; }

/* --------------------------------------------------------- mini interfaces */
.mini { background: var(--bg); border-radius: var(--r-xl); padding: 15px; font-size: 13px; margin-top: auto; }
.mini-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mini-h b { font-size: 14px; letter-spacing: -.025em; }
.mini-item { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--border); }
.mini-item:last-of-type { border-bottom: none; }
.mini-check { width: 17px; height: 17px; border-radius: 50%; border: 1.8px solid var(--border-strong); flex: none; }
.mini-item.hecho { color: var(--text-faint); text-decoration: line-through; }
.mini-item.hecho .mini-check { background: var(--ok); border-color: var(--ok); }
.mini-nota { margin-top: 12px; background: var(--surface); border-radius: var(--r-md); padding: 11px 12px; font-size: 11.5px; color: var(--text-faint); line-height: 1.55; }
.mini-nota i { color: var(--text-soft); font-style: normal; }
/* "Plan de hoy": la tarjeta que abre Mi día en la app */
.pdh { background: var(--surface); border-radius: var(--r-md); padding: 11px 12px; box-shadow: var(--shadow); margin-bottom: 11px; }
.pdh-h { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 800; letter-spacing: .13em; color: var(--primary); }
.pdh-h svg { width: 11px; height: 11px; flex: none; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linejoin: round; }
.pdh-carga { margin-left: auto; letter-spacing: 0; font-weight: 600; color: var(--text-faint); }
.pdh-t { font-size: 12.5px; margin-top: 6px; }
.pdh-t b { font-weight: 700; }
.pdh-barra { height: 5px; border-radius: var(--r-pill); background: #e6e9f0; overflow: hidden; margin-top: 8px; }
.pdh-barra i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--primary); }

/* El campo de "escribe una tarea del día", con su micrófono a la derecha */
.mini-campo { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 9px 11px; font-size: 11.5px; color: var(--text-faint); margin-bottom: 10px; }
.mc-mas { font-weight: 700; color: var(--text-faint); flex: none; }
.mc-mic { margin-left: auto; flex: none; display: flex; }
.mc-mic svg { width: 14px; height: 14px; fill: none; stroke: var(--text-soft); stroke-width: 1.8; stroke-linecap: round; }

/* Tarjetas del listado de proyectos: filo azul arriba, como en la app */
.pcard { background: var(--surface); border-radius: var(--r-md); border-top: 3px solid var(--primary); padding: 12px 13px; box-shadow: var(--shadow); }
.pcard + .pcard { margin-top: 10px; }
.pcard .mini-h { margin-bottom: 9px; align-items: flex-start; }
.pcard .mini-h b { font-size: 12px; line-height: 1.25; }
.pcard-d { font-size: 11px; color: var(--text-soft); margin-bottom: 9px; line-height: 1.4; }

.mini-lead { font-size: 11px; color: var(--text-faint); margin-top: 4px; }
.barra { height: 8px; border-radius: var(--r-pill); background: #e6e9f0; overflow: hidden; }
.barra i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--primary), #12b76a); }
.mini-pie { font-size: 11.5px; color: var(--text-faint); margin-top: 8px; }
.mini-riesgo { margin-top: 12px; background: var(--warn-soft); color: #93370d; border-radius: var(--r-md); padding: 10px 12px; font-size: 11.5px; line-height: 1.5; }

/* El calendario se estira para llenar la celda: la fila de letras se queda
   con su alto justo y las cuatro semanas se reparten lo que sobra. Antes
   tenía alto fijo por aspect-ratio y dejaba un hueco enorme debajo. */
.b-cal .mini { flex: 1; display: flex; flex-direction: column; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: auto repeat(4, 1fr); gap: 4px; flex: 1; min-height: 190px; }
.cal-d { font-size: 10px; color: var(--text-faint); text-align: center; font-weight: 650; padding-bottom: 4px; }
.cal-c { position: relative; border-radius: var(--r-sm); background: var(--surface); font-size: 11px; color: var(--text-soft); padding: 4px 0 0 5px; }
.cal-c.apagado { background: transparent; color: var(--text-faint); }   /* fin de semana */
.cal-c.hoy { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.ev { position: absolute; bottom: 5px; left: 5px; width: 12px; height: 3px; border-radius: 2px; display: inline-block; }
.ev + .ev { bottom: 11px; }
.ev.azul { background: var(--primary); }
.ev.morado { background: var(--purple); height: 4px; }
.ev.claro { background: var(--azul-claro); }
.cal-leyenda { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 10.5px; color: var(--text-faint); }
.cal-leyenda span { display: inline-flex; align-items: center; gap: 5px; }
.cal-leyenda .ev { position: static; }

.pers { display: flex; align-items: center; gap: 11px; padding: 8px 2px; border-bottom: 1px solid var(--border); }
.pers:last-child { border-bottom: none; }
.av { width: 29px; height: 29px; border-radius: 50%; flex: none; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.av1 { background: #2f5fde; } .av2 { background: #6941c6; } .av3 { background: #0e9384; } .av4 { background: #b54708; }
/* La lista se reparte el alto de la celda en vez de quedar flotando abajo. */
.b-eq .mini { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.pn { flex: 1; font-weight: 550; font-size: 13px; }

/* ---------------------------------------------------------------- el teléfono */
.tel { position: relative; width: 250px; flex: none; background: linear-gradient(160deg, #1b2436, #0b1120); border-radius: 40px; padding: 10px; box-shadow: 0 0 0 1.5px rgba(13, 18, 32, .12), var(--shadow-lg); }
.tel-isla { position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 72px; height: 19px; border-radius: var(--r-pill); background: #05070f; z-index: 3; }
/* 226 de ancho por ~490 de alto es la proporcion real de un iPhone (19.5:9).
   Con los 372 de antes se veia achatado Y dejaba un hueco blanco al pie de
   la celda, que es alta porque ocupa dos filas del bento. */
.tel-pant { background: var(--bg); border-radius: 31px; padding: 40px 13px 15px; min-height: 490px; position: relative; overflow: hidden; color: var(--text); }
.tel-h { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.tel-h b { font-size: 15px; letter-spacing: -.03em; }
.tel-atras { width: 8px; height: 8px; border-left: 2px solid var(--text-faint); border-bottom: 2px solid var(--text-faint); transform: rotate(45deg); }

.tel-campo { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 12px 42px 12px 13px; min-height: 58px; font-size: 12.5px; line-height: 1.45; box-shadow: var(--shadow); border: 1.5px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.tel.escuchando .tel-campo { border-color: rgba(47, 95, 222, .5); box-shadow: var(--ring); }
/* El texto guía lo enciende y apaga landing.js con la clase .vacio (más
   confiable que :has(), que no todos los navegadores del parque tienen). */
.tel-campo.vacio::before { content: "¿Qué tienes que hacer?"; color: var(--text-faint); }
.tel-cursor { display: none; width: 1.5px; height: 15px; background: var(--primary); vertical-align: -2px; margin-left: 1px; animation: parpadeo 1s steps(2) infinite; }
.tel.escuchando .tel-cursor { display: inline-block; }
@keyframes parpadeo { 50% { opacity: 0; } }

/* Apagada no ocupa alto: con 30px fijos dejaba un hueco muerto en la
   pantalla del teléfono que se notaba en cuanto la demo terminaba. */
.tel-onda { display: flex; align-items: center; justify-content: center; gap: 4px; height: 0; margin-top: 0; overflow: hidden; opacity: 0; transition: height .3s var(--ease), margin-top .3s var(--ease), opacity .3s var(--ease); }
.tel.escuchando .tel-onda { height: 30px; margin-top: 9px; opacity: 1; }
.tel-onda i { width: 3px; height: 5px; border-radius: var(--r-pill); background: linear-gradient(180deg, var(--primary), var(--azul-claro)); }
.tel.escuchando .tel-onda i { animation: onda .85s var(--ease) infinite; }
.tel-onda i:nth-child(1) { animation-delay: 0s }    .tel-onda i:nth-child(2) { animation-delay: .07s }
.tel-onda i:nth-child(3) { animation-delay: .14s }  .tel-onda i:nth-child(4) { animation-delay: .21s }
.tel-onda i:nth-child(5) { animation-delay: .28s }  .tel-onda i:nth-child(6) { animation-delay: .35s }
.tel-onda i:nth-child(7) { animation-delay: .42s }  .tel-onda i:nth-child(8) { animation-delay: .49s }
.tel-onda i:nth-child(9) { animation-delay: .56s }  .tel-onda i:nth-child(10) { animation-delay: .63s }
.tel-onda i:nth-child(11) { animation-delay: .7s }  .tel-onda i:nth-child(12) { animation-delay: .77s }
@keyframes onda { 0%, 100% { height: 5px } 50% { height: 22px } }

/* Dentro del campo y pegado a la derecha, igual que en la app real */
.tel-mic { position: absolute; right: 7px; top: 50%; margin-top: -15px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; transition: background .3s var(--ease), transform .3s var(--ease); }
.tel-mic svg { width: 16px; height: 16px; fill: none; stroke: var(--text-soft); stroke-width: 1.8; stroke-linecap: round; }
.tel.escuchando .tel-mic { background: var(--primary); transform: scale(1.08); }
.tel.escuchando .tel-mic svg { stroke: #fff; }
.tel.escuchando .tel-mic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(47, 95, 222, .45); animation: pulso 1.6s var(--ease) infinite; }
@keyframes pulso { 0% { transform: scale(.85); opacity: .9 } 100% { transform: scale(1.5); opacity: 0 } }

.tel-lista { margin-top: 16px; }
.tel-item { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.4; background: var(--surface); border-radius: var(--r-md); padding: 10px 11px; margin-bottom: 7px; box-shadow: var(--shadow); }
.tel-item.hecho { color: var(--text-faint); text-decoration: line-through; }
.tel-check { width: 15px; height: 15px; border-radius: 50%; border: 1.7px solid var(--border-strong); flex: none; margin-top: 1px; }
.tel-item.hecho .tel-check { background: var(--ok); border-color: var(--ok); }
.tel-chip { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 650; background: var(--primary-soft); color: var(--primary); padding: 2px 7px; border-radius: var(--r-pill); }
.tel-item.nuevo { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.tel-item.nuevo.entra { opacity: 1; transform: none; box-shadow: var(--shadow-md), 0 0 0 1.5px rgba(47, 95, 222, .35); }

/* ------------------------------------------- "y todo esto viene adentro" */
.incluye-t { margin-top: 30px; font-size: 14.5px; font-weight: 650; letter-spacing: -.02em; }
.incluye { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.incluye li {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-soft);
  background: var(--surface); box-shadow: var(--shadow);
  padding: 7px 12px; border-radius: var(--r-pill);
}
.incluye li::before {
  content: ""; width: 11px; height: 6px; flex: none;
  border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg) translateY(-2px); border-radius: 1px;
}

/* ------------------------------------------------------- cómo funciona (4) */
.pasos { list-style: none; display: grid; gap: 20px; margin-top: 34px; }
@media (min-width: 860px) { .pasos { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.pasos li { position: relative; }
/* La línea que une los pasos: solo entre ellos, nunca después del último */
@media (min-width: 860px) {
  .pasos li:not(:last-child)::after {
    content: ""; position: absolute; top: 17px; left: 46px; right: -26px;
    height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent);
  }
}
.paso-n {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: -.02em;
  box-shadow: 0 4px 12px rgba(47, 95, 222, .3);
}
.pasos h3 { font-size: 17px; margin-top: 14px; }
.pasos p { font-size: 14px; color: var(--text-soft); margin-top: 7px; }

/* ------------------------------------------------- interruptor mensual/anual */
.ciclo { display: inline-flex; gap: 4px; margin-top: 26px; background: #eceff5; border-radius: var(--r-pill); padding: 4px; }
.ciclo-b {
  font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em;
  border: none; background: transparent; color: var(--text-soft); cursor: pointer;
  padding: 8px 18px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 7px;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.ciclo-b:hover { color: var(--text); }
.ciclo-b.activo { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.ciclo-b span { font-size: 11px; font-weight: 700; color: var(--ok); background: #ecfdf3; padding: 2px 7px; border-radius: var(--r-pill); }

/* --------------------------------------------------------------------- planes */
.planes { display: grid; gap: 18px; margin-top: 26px; align-items: start; }
@media (min-width: 720px) { .planes { grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin-left: auto; margin-right: auto; } }
.plan { position: relative; background: var(--surface); border-radius: var(--r-2xl); padding: 34px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.destacado { box-shadow: var(--shadow-lg); border: 1.5px solid rgba(47, 95, 222, .3); }
@media (min-width: 900px) { .plan.destacado { transform: scale(1.035); } .plan.destacado:hover { transform: scale(1.035) translateY(-3px); } }
.cinta { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-pill); box-shadow: 0 4px 12px rgba(47, 95, 222, .35); white-space: nowrap; }
.plan h3 { font-size: 20px; letter-spacing: -.025em; }
.plan-tag { font-size: 13.5px; color: var(--text-soft); margin-top: 3px; }
.plan-quien { font-size: 13px; color: var(--text-faint); margin-top: 18px; }
.plan-precio { margin-top: 2px; display: flex; align-items: baseline; gap: 6px; }
.plan-precio b { font-size: 52px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.plan-precio span { font-size: 15px; color: var(--text-faint); }
.plan-fact { font-size: 12.5px; color: var(--text-faint); margin-top: 4px; }
/* La pastilla que marca la diferencia real entre los dos planes */
.plan-ia {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 10px 13px; border-radius: var(--r-md);
  background: #f2f4f8; color: var(--text-soft);
  font-size: 13px; font-weight: 600;
}
.plan-ia::before {
  content: ""; width: 15px; height: 15px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.2 5.3L20 10.5l-5.8 2.2L12 18l-2.2-5.3L4 10.5l5.8-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 d='M12 3l2.2 5.3L20 10.5l-5.8 2.2L12 18l-2.2-5.3L4 10.5l5.8-2.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan-ia.fuerte { background: var(--primary-soft); color: var(--primary); }
.plan .marcas { margin-top: 22px; flex: 1; gap: 11px; }
.plan .marcas li { font-size: 14.5px; }

.marcas { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.marcas li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-soft); }
.marcas li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg) scale(.85); border-radius: 1px; }

/* ------------------------------------------------------------------------ faq */
/* Cada pregunta es su propia tarjeta, separada de la siguiente: se lee mejor
   que un bloque continuo y deja claro dónde termina cada respuesta. */
.faq { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow); transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: 15.5px; letter-spacing: -.02em; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: color .16s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary); }

/* Botón circular: un más que gira y se vuelve una equis al abrir */
.mas { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: #f2f4f8; transition: background .25s var(--ease), transform .25s var(--ease); }
.mas::before, .mas::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--text-soft); border-radius: 2px; transition: background .25s var(--ease); }
.mas::before { width: 13px; height: 2px; margin: -1px 0 0 -6.5px; }
.mas::after { width: 2px; height: 13px; margin: -6.5px 0 0 -1px; }
.faq details[open] .mas { background: var(--primary); transform: rotate(135deg); }
.faq details[open] .mas::before, .faq details[open] .mas::after { background: #fff; }
.faq p { padding: 0 22px 22px; color: var(--text-soft); font-size: 14.5px; max-width: 68ch; }

/* ------------------------------------------------------ solicitar una demo */
.demo-sec { background: linear-gradient(180deg, #f1f3f9 0%, #f8f9fc 100%); }
.demo { display: grid; gap: 30px; align-items: start; }
@media (min-width: 940px) { .demo { grid-template-columns: 1fr 1fr; gap: 56px; } }

.demo-datos { margin-top: 30px; }
.demo-datos > div { padding: 14px 0; border-top: 1px solid var(--border-strong); }
.demo-datos > div:last-child { border-bottom: 1px solid var(--border-strong); }
.demo-datos dt {
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint);
}
.demo-datos dt svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--text-faint); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.demo-datos dd { margin-top: 5px; }
.demo-datos dd a, .demo-datos dd b { font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.demo-datos dd a { transition: color .16s var(--ease); }
.demo-datos dd a:hover { color: var(--primary); }
.demo-datos dd span { display: block; font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }

.demo-form { background: var(--surface); border-radius: var(--r-2xl); padding: 24px; box-shadow: var(--shadow-lg); }
.df-cab { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.df-ic { width: 42px; height: 42px; border-radius: 12px; flex: none; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; }
.df-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo-form h3 { font-size: 19px; }
.df-sub { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }

.df-paso { display: flex; align-items: center; gap: 9px; margin: 20px 0 11px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.df-n { width: 21px; height: 21px; border-radius: 50%; flex: none; background: var(--text); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: 0; }
.df-sinjs { font-size: 13px; color: var(--text-soft); }

/* Los días: cuatro tarjetas, la elegida en azul */
.df-dias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.df-dia {
  font: inherit; cursor: pointer; text-align: center;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 10px 4px; color: var(--text-soft);
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.df-dia:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.dd-d { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.dd-n { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; color: var(--text); }
.dd-m { display: block; font-size: 10px; }
.df-dia.sel { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(47, 95, 222, .3); }
.df-dia.sel .dd-n { color: #fff; }

/* Las horas: rejilla de 3, la elegida en oscuro */
.df-horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: 216px; overflow-y: auto; }
.df-hora {
  font: inherit; font-size: 14px; font-weight: 650; letter-spacing: -.02em; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-md);
  padding: 10px 4px; color: var(--text);
  transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.df-hora:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.df-hora.sel { background: var(--text); border-color: var(--text); color: #fff; }

.df-campos { display: grid; gap: 9px; }
.df-tel { display: grid; grid-template-columns: auto 1fr; gap: 9px; }
.demo-form input, .demo-form select {
  width: 100%; font: inherit; font-size: 14px; font-weight: 400;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--border-strong); border-radius: var(--r-md);
  padding: 11px 13px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.demo-form input::placeholder { color: var(--text-faint); }
.demo-form input:focus, .demo-form select:focus, .df-dia:focus-visible, .df-hora:focus-visible {
  outline: none; background: var(--surface); border-color: var(--primary); box-shadow: var(--ring);
}
.df-error { background: var(--danger-soft); color: var(--danger); font-size: 13px; font-weight: 550; border-radius: var(--r-md); padding: 10px 13px; margin: 16px 0 0; }
.df-flecha { width: 16px; height: 16px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-form .btn.ancho { margin-top: 18px; }
.df-pie { display: flex; align-items: flex-start; gap: 7px; font-size: 11.5px; color: var(--text-faint); margin-top: 11px; line-height: 1.5; }
.df-verde { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; margin-top: 5px; }

/* Lo que se ve al terminar */
.df-listo { background: var(--surface); border-radius: var(--r-2xl); padding: 34px 26px; box-shadow: var(--shadow-lg); text-align: center; }
.df-listo-ic { width: 52px; height: 52px; border-radius: 50%; background: #ecfdf3; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.df-listo-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.df-listo h3 { font-size: 21px; }
.df-listo #dfListoCuando { font-size: 15.5px; font-weight: 650; color: var(--primary); margin-top: 7px; }
.df-listo-p { font-size: 13.5px; color: var(--text-soft); margin-top: 12px; max-width: 42ch; margin-inline: auto; }
.df-listo-p a { color: var(--primary); font-weight: 600; }
.df-listo .btn { margin-top: 20px; }

/* ---------------------------------------------------------------------- cierre */
.cierre { position: relative; background: var(--oscuro); color: #fff; padding: clamp(76px, 11vw, 130px) 0; overflow: hidden; text-align: center; }
.cierre-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(720px 400px at 50% 6%, rgba(47, 95, 222, .6), transparent 62%), radial-gradient(560px 340px at 80% 100%, rgba(126, 160, 255, .32), transparent 62%); }
.cierre-in { position: relative; }
.cierre .btn { margin-top: 32px; }

/* Contacto directo. En Ecuador la venta se cierra por WhatsApp, así que va
   arriba del pie y no escondido entre los enlaces. */
.contacto { margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.contacto-t { font-size: 14.5px; color: var(--claro-soft); margin-bottom: 15px; }
.contacto-vias { display: grid; gap: 12px; max-width: 720px; margin: 0 auto; }
@media (min-width: 700px) { .contacto-vias { grid-template-columns: 1fr 1fr; } }
.via {
  display: flex; align-items: center; gap: 13px; text-align: left;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg); padding: 15px 18px;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.via:hover { background: rgba(255, 255, 255, .1); border-color: rgba(126, 160, 255, .4); transform: translateY(-2px); }
.via-ic { width: 38px; height: 38px; border-radius: 50%; flex: none; background: rgba(126, 160, 255, .16); display: flex; align-items: center; justify-content: center; }
.via-ic svg { width: 18px; height: 18px; fill: none; stroke: var(--azul-claro); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.via b { display: block; font-size: 14.5px; color: #fff; letter-spacing: -.02em; }
.via i { font-style: normal; font-size: 12.5px; color: var(--claro-faint); }

/* ------------------------------------------------------------------------- pie */
.pie { background: var(--oscuro-2); color: #8a97b5; padding: 52px 0 28px; font-size: 14px; }
.pie-in { display: grid; gap: 28px; }
@media (min-width: 800px) { .pie-in { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.pie-marca p { margin-top: 12px; max-width: 34ch; }
.pie-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
@media (min-width: 800px) { .pie-cols { grid-template-columns: repeat(3, 1fr); } }
.pie-cols div { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.pie-h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #64708e; margin-bottom: 2px; }
.pie-cols a { font-size: 13.5px; transition: color .16s var(--ease); }
.pie-cols a:hover { color: #fff; }
.pie-legal { max-width: var(--ancho); margin: 32px auto 0; padding: 20px 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: var(--claro-faint); }

/* ------------------------------------------------------ aparición al bajar */
/* Ojo con el orden: por defecto TODO se ve. El escondite solo existe cuando
   landing.js alcanzó a marcar <html class="js">, así que si el archivo no
   carga, si da error o si el navegador no reporta intersecciones, la página
   se lee completa igual. Una página de ventas en blanco no es una opción. */
html.js .rev { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .rev.visible { opacity: 1; transform: none; }

/* Quien pidió menos movimiento no recibe nada de esto: ni animaciones, ni
   inclinación, ni apariciones. La página se ve completa desde el primer píxel. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .rev { opacity: 1; transform: none; }
  .marco { transform: none; }
}
