/* Hoja de estilo de dictaly.app
 *
 * Rediseño comercial. Sin build y sin frameworks, y sin una sola petición a
 * terceros: la tipografía Geist va autoalojada en `fonts/` (subconjuntos latin y
 * latin-ext, que es lo que necesita un sitio en español e inglés).
 *
 * No es una manía. Servirla desde Google Fonts transmite la IP de cada visitante
 * a Google antes de que acepte nada, y eso ya ha sido condenado como infracción
 * del RGPD. Autoalojarla lo evita, ahorra la mención en la política de privacidad
 * y encima carga antes: no hay que resolver dos dominios más antes de pintar.
 *
 * Geist es de Vercel y se distribuye bajo la SIL Open Font License 1.1, que
 * permite justamente esto. La licencia va junto a los ficheros, en fonts/.
 *
 * Solo modo claro: el rediseño usa secciones oscuras como recurso de ritmo,
 * así que un tema oscuro global las anularía. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/geist-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/geist-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/geist-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/geist-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/geist-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/geist-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/geist-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/geist-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/geist-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/geist-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/geist-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/geist-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/geist-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/geist-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --fondo: #FCFCFD;
  --fondo-alt: #F7F8FA;
  --panel: #FFFFFF;
  --tinta: #16181D;
  --tinta-suave: #6A7180;
  --tinta-tenue: #9AA1AE;
  --borde: #E6E8EC;
  --borde-claro: #ECEEF2;
  --marca: #2B5CF6;
  --marca-oscura: #1E45D6;
  --marca-clara: #4E78F8;
  --marca-suave: #EDF2FF;
  --oscuro: #16181D;
  --oscuro-panel: #1B1E25;
  --oscuro-borde: #2A2D35;
  --oscuro-texto: #C9CDD5;
  --azul-claro: #7B9BFF;
  --ancho: 1180px;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--tinta);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--marca); text-decoration: none; }
a:hover { color: var(--marca-oscura); }
::selection { background: #D8E2FF; }

h1, h2, h3 { margin: 0; letter-spacing: -0.04em; font-weight: 600; }
h1 { font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: 0.96; max-width: 16ch; }
h1 em { font-style: normal; color: var(--marca); }
h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.03; }
h2.grande { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -0.045em; }
h3 { font-size: 18px; letter-spacing: -0.02em; }
p { margin: 0; }

.envoltura { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 28px; }
.centrado { text-align: center; }

/* -- animación de entrada -------------------------------------------------- */

@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
[data-reveal] { opacity: 0; }
[data-reveal].visible { animation: reveal .8s cubic-bezier(.2,.7,.3,1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; animation: none !important; }
}

.progreso {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 2px; width: 0; background: var(--marca);
}

/* -- navegación ------------------------------------------------------------ */

nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 252, 253, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borde-claro);
}

.fila-nav { height: 68px; display: flex; align-items: center; gap: 28px; }

.marca {
  display: flex; align-items: center; gap: 11px;
  color: var(--tinta); font-weight: 600; font-size: 18px; letter-spacing: -0.03em;
}
.marca:hover { color: var(--tinta); }

/* Símbolo: la D formada por el asta y dos arcos que se propagan.
   Vectoriales sueltos en img/dictaly-*.svg — el de la cabecera va en línea
   para que no haya una petición más antes del primer pintado. */
.marca-svg { flex: none; display: block; }

.enlaces { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.enlace-nav { color: var(--tinta-suave); font-size: 14.5px; font-weight: 450; }
.enlace-nav:hover { color: var(--tinta); }

.idioma {
  display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: #F1F2F5;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--tinta-tenue);
}
.idioma span { padding: 3px 8px; border-radius: 6px; }
.idioma .activo { background: #FFF; color: var(--tinta); box-shadow: 0 1px 2px rgba(20,24,35,0.08); }

/* -- botones --------------------------------------------------------------- */

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 18px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, border-color .18s ease;
}
.boton.grande { padding: 15px 26px; border-radius: 12px; font-size: 16px; }

.boton.oscuro { background: var(--tinta); color: #FCFCFD; }
.boton.oscuro:hover { background: var(--marca); color: #FFF; transform: translateY(-1px); }

.boton.primario { background: var(--marca); color: #FFF; box-shadow: 0 6px 20px rgba(43,92,246,0.24); }
.boton.primario:hover { background: var(--marca-oscura); color: #FFF; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(43,92,246,0.30); }

.boton.contorno { background: var(--panel); color: var(--tinta); border-color: #E0E3E9; }
.boton.contorno:hover { color: var(--tinta); border-color: var(--tinta); transform: translateY(-2px); }

.boton.contorno-oscuro { border-color: #3A3E48; color: #FFF; }
.boton.contorno-oscuro:hover { background: #242830; border-color: #4A4F5A; color: #FFF; }

/* -- portada --------------------------------------------------------------- */

.portada { position: relative; overflow: hidden; padding: 104px 0 0; }

.halo { position: absolute; border-radius: 50%; pointer-events: none; }
.halo-arriba {
  top: -260px; left: 50%; width: 1100px; height: 620px; margin-left: -550px;
  background: radial-gradient(closest-side, rgba(43,92,246,0.10), rgba(43,92,246,0));
}
.halo-abajo {
  bottom: -320px; left: 50%; width: 1000px; height: 640px; margin-left: -500px;
  background: radial-gradient(closest-side, rgba(43,92,246,0.13), rgba(43,92,246,0));
}
.portada .envoltura, .cierre .envoltura { position: relative; }

.pildora {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; margin-bottom: 30px;
  border: 1px solid var(--borde); border-radius: 999px; background: var(--panel);
  font-size: 13px; color: var(--tinta-suave);
}

.etiqueta-marca {
  padding: 3px 9px; border-radius: 999px;
  background: var(--marca-suave); color: var(--marca);
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
}

.entradilla {
  margin-top: 30px; max-width: 52ch;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--tinta-suave);
}

.acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.acciones.centradas { justify-content: center; margin-top: 40px; }

.pie-mono { margin: 16px 2px 0; font-family: var(--mono); font-size: 12px; color: var(--tinta-tenue); }
.pie-mono.centrado { margin-top: 22px; text-align: center; }

/* -- demo del hero --------------------------------------------------------- */

.demo {
  display: flex; align-items: center; gap: 20px;
  height: 80px; margin-top: 64px; padding: 18px 22px;
  border: 1px solid var(--borde); border-radius: 18px; background: var(--panel);
  box-shadow: 0 18px 50px -28px rgba(20,24,35,0.28);
}

.demo-mic {
  position: relative; flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--marca);
}
.demo-halo { position: absolute; inset: 0; border-radius: 50%; background: var(--marca); animation: halo 2.2s ease-out infinite; }
.demo-punta { position: relative; display: block; width: 9px; height: 16px; border-radius: 5px; background: #FFF; }
@keyframes halo { from { transform: scale(1); opacity: .5; } to { transform: scale(2.4); opacity: 0; } }

.demo-onda { display: flex; align-items: center; gap: 2px; height: 34px; flex: none; transition: opacity .4s; }
.demo-onda span {
  display: block; width: 3px; height: 100%; border-radius: 2px;
  background: var(--marca); transform-origin: center;
  animation: onda .7s ease-in-out infinite alternate;
}
.demo-onda span:nth-child(4n) { background: var(--marca-clara); }
.demo-onda span:nth-child(1) { animation-duration: .62s; animation-delay: 0s; }
.demo-onda span:nth-child(2) { animation-duration: .74s; animation-delay: .06s; }
.demo-onda span:nth-child(3) { animation-duration: .52s; animation-delay: .12s; }
.demo-onda span:nth-child(4) { animation-duration: .86s; animation-delay: .18s; }
.demo-onda span:nth-child(5) { animation-duration: .58s; animation-delay: .24s; }
.demo-onda span:nth-child(6) { animation-duration: .70s; animation-delay: .30s; }
.demo-onda span:nth-child(7) { animation-duration: .48s; animation-delay: .36s; }
.demo-onda span:nth-child(8) { animation-duration: .80s; animation-delay: .42s; }
.demo-onda span:nth-child(9) { animation-duration: .64s; animation-delay: .48s; }
.demo-onda span:nth-child(10) { animation-duration: .54s; animation-delay: .54s; }
.demo-onda span:nth-child(11) { animation-duration: .76s; animation-delay: .60s; }
.demo-onda span:nth-child(12) { animation-duration: .60s; animation-delay: .66s; }
.demo-onda span:nth-child(13) { animation-duration: .68s; animation-delay: .72s; }
.demo-onda span:nth-child(14) { animation-duration: .50s; animation-delay: .78s; }
.demo-onda span:nth-child(15) { animation-duration: .82s; animation-delay: .84s; }
.demo-onda span:nth-child(16) { animation-duration: .56s; animation-delay: .90s; }
@keyframes onda { from { transform: scaleY(.16); } to { transform: scaleY(1); } }

.demo-linea {
  flex: 1; min-width: 0;
  font-size: 16px; line-height: 1.4;
  white-space: nowrap; overflow: hidden;
  color: var(--tinta); transition: color .3s;
}
.demo-linea.crudo { color: var(--tinta-tenue); }

.demo-cursor {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 2px;
  vertical-align: -0.16em; background: var(--marca);
  animation: parpadeo 1s step-end infinite;
}
@keyframes parpadeo { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.demo-estado {
  flex: none; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--tinta-tenue);
}

/* -- capturas -------------------------------------------------------------- */

.captura, .captura-hero { border: 1px solid var(--borde); background: var(--fondo-alt); overflow: hidden; }
.captura img, .captura-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hueco marcado: se ve qué captura va en cada marco y en qué proporción.
   Sustituir cada .hueco por su <img> cuando existan los ficheros de img/. */
.hueco {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, #EFF1F4 0 10px, #F7F8FA 10px 20px);
}
.hueco::after {
  content: attr(data-hueco);
  padding: 0 28px; max-width: 46ch;
  font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--tinta-tenue);
}
.captura-hero { margin-top: 76px; border-bottom: none; border-radius: 20px 20px 0 0; aspect-ratio: 16 / 9; }
.captura.c43 { border-radius: 16px; aspect-ratio: 4 / 3; }
.captura.c219 { border-radius: 20px; aspect-ratio: 21 / 9; margin-bottom: 48px; }

/* -- tira de aplicaciones -------------------------------------------------- */

.tira { background: var(--panel); border-top: 1px solid var(--borde-claro); }
.tira-fila {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding: 26px 28px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--tinta-tenue);
}
.tira-titulo { color: var(--tinta-suave); }

/* -- secciones ------------------------------------------------------------- */

section { padding: 120px 0; }
section.alterna { background: var(--fondo-alt); border-block: 1px solid var(--borde-claro); }
section.oscura { background: var(--oscuro); color: #F4F5F7; }
section.oscura h2 { color: #FFF; }
#como { border-top: 1px solid var(--borde-claro); }

.rotulo {
  margin-bottom: 18px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--marca);
}
.rotulo.claro { color: var(--azul-claro); }

.titular { max-width: 46ch; margin-bottom: 60px; }
.titular p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--tinta-suave); }
.oscura .titular p { color: var(--tinta-tenue); }
.titular.centrado { max-width: 44ch; margin-left: auto; margin-right: auto; text-align: center; }

.sub { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--tinta-suave); max-width: 38ch; }
.sub.centrado-auto { margin-left: auto; margin-right: auto; max-width: 46ch; }

.rejilla-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.dos-columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 64px; align-items: start; }

.paso { display: flex; flex-direction: column; gap: 20px; }
.paso .num { margin-bottom: 8px; font-family: var(--mono); font-size: 12px; color: var(--tinta-tenue); }
.paso h3 { margin-bottom: 8px; }
.paso p { font-size: 15.5px; line-height: 1.6; color: var(--tinta-suave); }

.lista-lineas { gap: 28px 40px; }
.lista-lineas > div { padding-top: 22px; border-top: 1px solid var(--borde); }
.lista-lineas h3 { margin-bottom: 10px; }
.lista-lineas p { font-size: 15.5px; line-height: 1.6; color: var(--tinta-suave); }
.lista-lineas.apilada { display: grid; gap: 0; }
.lista-lineas.apilada > div { padding: 26px 0; }
.lista-lineas.apilada > div:last-child { border-bottom: 1px solid var(--borde); }

/* -- para quién ------------------------------------------------------------ */

.celdas {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--oscuro-borde);
  border: 1px solid var(--oscuro-borde); border-radius: 18px; overflow: hidden;
}
.celdas > div { padding: 34px 30px; background: var(--oscuro); transition: background .3s; }
.celdas > div:hover { background: #1D2027; }
.celdas h3 { margin-bottom: 10px; color: #FFF; }
.celdas p { font-size: 15px; line-height: 1.6; color: var(--tinta-tenue); }

/* -- comparativa ----------------------------------------------------------- */

.tabla-marco { border: 1px solid var(--borde); border-radius: 20px; overflow: hidden; background: var(--panel); }

.tabla {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(120px, 1fr));
  gap: 1px; background: #EDEFF3;
}
.tabla > div { background: var(--panel); }
.tabla .cab { padding: 20px 18px; text-align: center; font-size: 14px; line-height: 1.35; color: var(--tinta-suave); }
.tabla .cab:first-child { padding: 20px 26px; }
.tabla .cab.destaca { background: var(--oscuro); color: #FFF; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.tabla .fila { padding: 18px 26px; font-size: 15.5px; }
.tabla .fila.fuerte { padding: 22px 26px; font-weight: 600; }
.tabla .val { padding: 18px; text-align: center; font-size: 17px; }
.tabla .val.mio { background: #FBFCFE; }
.tabla .val.si { color: var(--marca); }
.tabla .val.no { color: #C3C8D1; }
.tabla .val.txt { font-size: 13.5px; color: var(--tinta-suave); }
.tabla .val.precio { padding: 22px 18px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--tinta); }
.tabla .val.txt:last-child, .tabla .val.txt:nth-last-child(2) { font-size: 15px; }

.nota-mono { margin: 18px 2px 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: var(--tinta-tenue); }

/* -- precio ---------------------------------------------------------------- */

.planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }

.plan {
  position: relative; padding: 36px 32px;
  border: 1px solid var(--oscuro-borde); border-radius: 20px; background: var(--oscuro-panel);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: #3A3E48; }
.plan.destacado {
  border-color: var(--marca);
  background: linear-gradient(180deg, #1D2436, var(--oscuro-panel));
  box-shadow: 0 24px 60px -30px rgba(43,92,246,0.55);
}
.plan h3 { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; color: var(--tinta-tenue); }
.plan .cifra { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.plan .cifra span { font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: #FFF; }
.plan .cifra small { font-size: 14px; color: var(--tinta-tenue); }
.mono-suave { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: #7A818E; }
.mono-suave.azul { color: var(--azul-claro); }

.plan ul { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 24px; font-size: 15px; color: var(--oscuro-texto); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--azul-claro); }
.plan .boton { width: 100%; padding: 14px; border-radius: 12px; font-size: 15.5px; }

.nota-planes { max-width: 60ch; margin: 36px auto 0; text-align: center; font-size: 14px; line-height: 1.7; color: #7A818E; }

/* -- preguntas ------------------------------------------------------------- */

.faq { display: grid; }
.faq details { border-top: 1px solid var(--borde); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--borde); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tinta-tenue); font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 14px; max-width: 56ch; font-size: 15.5px; line-height: 1.65; color: var(--tinta-suave); }

/* -- cierre y pie ---------------------------------------------------------- */

.cierre { position: relative; overflow: hidden; padding: 130px 0; background: var(--fondo-alt); border-top: 1px solid var(--borde-claro); }
.cierre h2 { margin: 0 auto; max-width: 16ch; }

footer { border-top: 1px solid var(--borde-claro); padding: 44px 0; background: var(--fondo); }
footer .envoltura { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; font-size: 14px; color: var(--tinta-tenue); }
.marca-pie { display: flex; align-items: center; gap: 10px; color: var(--tinta-suave); }
footer .derecha { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; }
footer a { color: var(--tinta-tenue); }
footer a:hover { color: var(--tinta); }

/* -- páginas legales ------------------------------------------------------- */

.documento { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
.documento h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.documento h2 { font-size: 1.35rem; margin-top: 40px; }
.documento p, .documento li { color: var(--tinta-suave); line-height: 1.65; }
.documento p { margin: 0 0 16px; }
.documento .fecha { color: var(--tinta-tenue); margin-bottom: 32px; }
.documento ul { padding-left: 22px; }
.documento li { margin-bottom: 8px; }
.documento .aviso {
  border-left: 3px solid var(--marca); background: var(--fondo-alt);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 24px 0;
}

/* -- adaptación a pantallas estrechas -------------------------------------- */

@media (max-width: 900px) {
  section { padding: 88px 0; }
  .dos-columnas { gap: 40px; }
  .portada { padding-top: 72px; }
  .captura-hero { margin-top: 56px; }
}

@media (max-width: 780px) {
  /* Igual que la versión anterior del sitio: los enlaces de sección se ocultan
     y solo queda marca + CTA. Evita el desbordamiento horizontal a 375 px. */
  .enlace-nav, .idioma { display: none; }
  .fila-nav { gap: 12px; }

  /* La tabla tiene 583 px de ancho mínimo: se hace desplazable dentro de su
     tarjeta en vez de recortarse contra el overflow:hidden del radio. */
  .tabla-marco { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .tabla { min-width: 583px; }
}

@media (max-width: 700px) {
  /* La onda y la etiqueta de estado suman ~155 px fijos; a 375 px dejarían la
     frase en unos cinco caracteres. Se ocultan para darle el ancho al texto. */
  .demo-onda, .demo-estado { display: none; }
  .demo { gap: 14px; padding-left: 16px; padding-right: 16px; }
}
