/* La landing de Leads: lo que no está en estilos.css (que es el de webs.deepsoul.group, sin tocar).
   Sin JavaScript: el formulario lo recibe el servidor y la página no ejecuta nada. */

.pila { display: grid; gap: 18px; }
.titulo-form { display: grid; gap: 4px; }

/* El desplegable, igual que los campos */
.campo select { font: 400 16px/1.4 var(--body); color: var(--text); background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 44px 14px 15px; width: 100%; min-width: 0; appearance: none; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.campo select:focus { outline: none; border-color: rgba(139, 92, 246, 0.8); background-color: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18); }
.campo select option { background: #0f0f17; color: var(--text); }
.campo label small { font-weight: 400; color: var(--text-3); }

.otra-via { font-size: 14px; color: var(--text-2); text-align: center; border-top: 1px dashed var(--line-2); padding-top: 14px; }
.otra-via a { color: #c7d2fe; text-underline-offset: 3px; }

/* La conversación de ejemplo, en la consola de DeepSoul */
.chat .consola-titulo { display: flex; align-items: center; gap: 9px; }
.chat .avatar { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--body); color: #050507; background: linear-gradient(135deg, #22d3ee, #6366f1 55%, #d946ef); }
.chat-cuerpo { padding: 18px 16px 8px; display: grid; gap: 10px; background: radial-gradient(70% 50% at 80% 0%, rgba(99, 102, 241, 0.08), transparent 70%); }
.dia { justify-self: center; font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.burbuja { max-width: 84%; padding: 10px 13px 8px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; display: grid; gap: 4px; }
.burbuja .hora { justify-self: end; font: 400 11px/1 var(--mono); color: var(--text-3); }
.burbuja.entra { justify-self: start; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.burbuja.sale { justify-self: end; background: linear-gradient(160deg, rgba(99, 102, 241, 0.28), rgba(139, 92, 246, 0.16)); border: 1px solid rgba(139, 92, 246, 0.35); border-bottom-right-radius: 5px; }
.nota-voz { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.nota-voz .play { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); }
.nota-voz .play svg { width: 13px; height: 13px; margin-left: 2px; }
.onda { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.onda i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.45); }
.onda i:nth-child(1) { height: 30%; } .onda i:nth-child(2) { height: 55%; } .onda i:nth-child(3) { height: 80%; }
.onda i:nth-child(4) { height: 45%; } .onda i:nth-child(5) { height: 95%; } .onda i:nth-child(6) { height: 60%; }
.onda i:nth-child(7) { height: 35%; } .onda i:nth-child(8) { height: 70%; } .onda i:nth-child(9) { height: 50%; }
.onda i:nth-child(10) { height: 85%; } .onda i:nth-child(11) { height: 40%; } .onda i:nth-child(12) { height: 65%; }
.onda i:nth-child(13) { height: 30%; } .onda i:nth-child(14) { height: 55%; } .onda i:nth-child(15) { height: 25%; }
.nota-voz .dura { font: 400 11.5px/1 var(--mono); color: var(--text-2); }
.transcrito { font-size: 13px; color: var(--text-2); font-style: italic; }
.huecos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.huecos span { font: 500 12.5px/1 var(--body); padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(165, 180, 252, 0.4); color: #e0e7ff; background: rgba(5, 5, 7, 0.3); }
.huecos span.elegido { border-color: transparent; color: #050507; background: #e0e7ff; }

/* Cada mensaje aparece al entrar en pantalla, así que salen uno detrás de otro (donde el navegador sabe hacerlo) */
@supports (animation-timeline: view()) {
  .chat-cuerpo > * { animation: llega linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
}
@keyframes llega { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

/* Las ventajas de «Así atiende» van en seis tarjetas, como las del panel (`.ventajas.seis`) */
.ia-sec .ventajas.seis { margin-top: clamp(40px, 6vw, 72px); }

/* Los precios: tres planes que dan saldo y lo que gasta cada cosa. Las cifras, las de `PLANES`
   (nucleo/saldo.py) y `Tarifa` (nucleo/configuracion.py): lo vigila pruebas/test_landing.py. */
.planes-saldo { width: 100%; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; text-align: left; }
.plan-saldo { border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); display: grid; gap: 10px; align-content: start; }
.plan-saldo h3 { font: 500 13px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.plan-saldo .plan-precio span { white-space: nowrap; }
.plan-saldo .caben { font-size: 14.5px; color: var(--text-3); }
.tarjeta-precio.uso { max-width: 980px; margin-top: 18px; }
.uso h3 { font: 400 clamp(22px, 2.4vw, 28px)/1.15 var(--display); letter-spacing: -0.03em; }
.uso h3 + p { color: var(--text-2); font-size: 16px; max-width: 64ch; }
.tabla-uso { width: 100%; border-collapse: collapse; }
.tabla-uso th, .tabla-uso td { padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.tabla-uso th { text-align: left; font-weight: 400; font-size: 16px; padding-right: 16px; }
.tabla-uso small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--text-3); }
.tabla-uso td { text-align: right; white-space: nowrap; font: 400 clamp(18px, 1.8vw, 21px)/1.3 var(--display); letter-spacing: -0.02em; }
.saber { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.saber li { position: relative; padding-left: 16px; font-size: 15px; color: var(--text-2); }
.saber li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: #a5b4fc; }
.saber b { color: var(--text); font-weight: 500; }
@media (max-width: 760px) {
  .planes-saldo, .saber { grid-template-columns: 1fr; }
}

/* El panel: una captura de verdad (con datos de ejemplo) y lo que se controla desde él */
.marco-panel { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0b1220; box-shadow: 0 40px 110px -50px rgba(99, 102, 241, 0.7); }
.marco-panel img { display: block; width: 100%; height: auto; }
.marco-panel figcaption { font: 500 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding: 12px 16px; border-top: 1px solid var(--line); }
.ventajas.seis { margin-top: clamp(28px, 4vw, 44px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .ventajas.seis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ventajas.seis { grid-template-columns: 1fr; }
  /* En el móvil la captura entera no se lee: se enseña la columna de la conversación */
  .marco-panel img { width: 205%; max-width: none; margin-left: -40%; }
}

/* Dos salidas al final: el formulario y la videollamada */
.final { flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.enlace { font-size: 15.5px; color: #c7d2fe; text-underline-offset: 4px; }


/* La página de después */
.gracias .wrap { min-height: calc(100vh - 160px); min-height: calc(100svh - 160px); display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; text-align: center; gap: 24px; padding-block: 48px 80px; }
.gracias h1 { font-weight: 300; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.045em; max-width: 14ch; }
.gracias h1 .l1 { display: block; font-weight: 500; }
.gracias p { color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 48ch; }
.gracias .boton { width: auto; padding-inline: 34px; }
.gracias .pill, .gracias h1 { order: 0; justify-self: center; }   /* la portada los reordena en el móvil; aquí no */

/* Ya no hay botón fijo abajo en el móvil: el pie vuelve a su hueco normal */
@media (max-width: 900px) {
  .pie { padding-bottom: max(40px, env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  .burbuja { max-width: 92%; }
  .nota-voz { min-width: 0; }
}
.gracias p.micro { font-size: 14px; color: var(--text-3); }

/* Las páginas legales: la ficha del responsable y la de los proveedores */
.legal a { color: #c7d2fe; text-underline-offset: 3px; }
.legal .ficha-legal { width: 100%; border-collapse: collapse; font-size: 15px; margin: 4px 0 8px; }
.legal .ficha-legal th, .legal .ficha-legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line); line-height: 1.55; }
.legal .ficha-legal th { width: 32%; font-weight: 500; color: var(--text); }
.legal .ficha-legal td { color: var(--text-2); }
@media (max-width: 560px) { .legal .ficha-legal th { width: 40%; } }
