/* Procerix · estilos de la web (modo claro y oscuro) */
@font-face { font-family: 'Inter'; src: url('fuentes/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('fuentes/space-grotesk.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }
/* Tailandés: solo se descarga si la página tiene letras tailandesas */
@font-face { font-family: 'Noto Sans Thai'; src: url('fuentes/noto-sans-thai.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }

/* ── Colores ───────────────────────────────────────────────────────── */
:root {
  --fondo: #ffffff;
  --superficie: #ffffff;
  --superficie-2: #f4f7f8;
  --texto: #0b1626;
  --texto-2: #475569;
  --texto-3: #64748b;
  --borde: #e2e8f0;
  --borde-fuerte: #cbd5e1;
  --acento: #12b5a3;
  --acento-hover: #0e8f81;
  --acento-texto: #0d7d71;
  --acento-sobre: #ffffff;
  --acento-suave: #e3f6f3;
  --oscuro: #0b1626;
  --oscuro-2: #13233a;
  --oscuro-borde: #22344f;
  --oscuro-texto-2: #b7c3d3;
  --pie: #070f1b;
  --cabecera: rgba(255, 255, 255, .86);
  --oferta-fondo: #fff7e6;
  --oferta-borde: #fde3b0;
  --oferta-texto: #7a4a00;
  --problema-fondo: #fdecec;
  --problema-texto: #c2410c;
  --error: #dc2626;
  --movil-marco: #0b1626;
  --sombra: 0 1px 2px rgba(11, 22, 38, .05), 0 8px 28px rgba(11, 22, 38, .07);
  --sombra-fuerte: 0 30px 60px rgba(11, 22, 38, .18);
  --puntos: rgba(11, 22, 38, .07);
  --logo-claro: block;
  --logo-oscuro: none;
  --ambar: #f5a524;
  --radio: 16px;
  --titulos: 'Space Grotesk', 'Noto Sans Thai', system-ui, sans-serif;
  --texto-fuente: 'Inter', 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fondo: #0a1220; --superficie: #101b2d; --superficie-2: #0d1726;
    --texto: #e8eef6; --texto-2: #a9b6c8; --texto-3: #8293a9;
    --borde: #1f2e45; --borde-fuerte: #2c3e59;
    --acento: #2dd4bf; --acento-hover: #5eead4; --acento-texto: #2dd4bf; --acento-sobre: #04221f; --acento-suave: rgba(45, 212, 191, .12);
    --oscuro: #060d18; --oscuro-2: #0f1a2c; --oscuro-borde: #1c2a40; --oscuro-texto-2: #a9b6c8; --pie: #04080f;
    --cabecera: rgba(10, 18, 32, .82);
    --oferta-fondo: #251c0c; --oferta-borde: #4a3816; --oferta-texto: #f5c46b;
    --problema-fondo: rgba(248, 113, 113, .12); --problema-texto: #fca5a5; --error: #f87171;
    --movil-marco: #1d2a3d;
    --sombra: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
    --sombra-fuerte: 0 30px 60px rgba(0, 0, 0, .5);
    --puntos: rgba(255, 255, 255, .05);
    --logo-claro: none; --logo-oscuro: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fondo: #0a1220; --superficie: #101b2d; --superficie-2: #0d1726;
  --texto: #e8eef6; --texto-2: #a9b6c8; --texto-3: #8293a9;
  --borde: #1f2e45; --borde-fuerte: #2c3e59;
  --acento: #2dd4bf; --acento-hover: #5eead4; --acento-texto: #2dd4bf; --acento-sobre: #04221f; --acento-suave: rgba(45, 212, 191, .12);
  --oscuro: #060d18; --oscuro-2: #0f1a2c; --oscuro-borde: #1c2a40; --oscuro-texto-2: #a9b6c8; --pie: #04080f;
  --cabecera: rgba(10, 18, 32, .82);
  --oferta-fondo: #251c0c; --oferta-borde: #4a3816; --oferta-texto: #f5c46b;
  --problema-fondo: rgba(248, 113, 113, .12); --problema-texto: #fca5a5; --error: #f87171;
  --movil-marco: #1d2a3d;
  --sombra: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
  --sombra-fuerte: 0 30px 60px rgba(0, 0, 0, .5);
  --puntos: rgba(255, 255, 255, .05);
  --logo-claro: none; --logo-oscuro: block;
  color-scheme: dark;
}

/* ── Base ──────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--texto-fuente); color: var(--texto); background: var(--fondo); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulos); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 650; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--acento); color: var(--acento-sobre); }
.envoltorio { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.estrecho { max-width: 820px; }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acento-texto); margin-bottom: 16px; }
.entradilla { font-size: 19px; color: var(--texto-2); margin-top: 20px; max-width: 580px; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--acento); color: var(--acento-sobre); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .15s; }
.saltar:focus { top: 12px; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo-claro { display: var(--logo-claro); }
.logo-oscuro { display: var(--logo-oscuro); }

/* ── Botones ───────────────────────────────────────────────────────── */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; background: var(--acento); color: var(--acento-sobre); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font: 600 16px var(--texto-fuente); transition: background .15s, transform .15s, box-shadow .15s, border-color .15s; }
.boton:hover { background: var(--acento-hover); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(18, 181, 163, .28); }
.boton:active { transform: translateY(0); }
.boton svg { width: 18px; height: 18px; }
.boton-secundario { background: var(--superficie); color: var(--texto); border-color: var(--borde-fuerte); }
.boton-secundario:hover { background: var(--superficie-2); box-shadow: none; border-color: var(--texto-3); }
.boton-pequeno { padding: 10px 16px; font-size: 15px; }
.boton-ancho { width: 100%; }
.boton:disabled { opacity: .6; cursor: wait; transform: none; }

/* ── Cabecera ──────────────────────────────────────────────────────── */
.cabecera { position: sticky; top: 0; z-index: 50; background: var(--cabecera); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.cabecera.con-sombra { border-bottom-color: var(--borde); }
.barra-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.marca { display: flex; align-items: center; }
.marca img { height: 32px; width: auto; }
.menu { display: flex; gap: 30px; }
.menu a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--texto-2); transition: color .15s; }
.menu a:hover { color: var(--texto); }
.acciones-nav { display: flex; align-items: center; gap: 10px; }
.idiomas { position: relative; }
.idiomas summary, .boton-icono { list-style: none; cursor: pointer; font: 600 14px var(--texto-fuente); color: var(--texto); padding: 0 12px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--borde); border-radius: 10px; background: var(--superficie); transition: border-color .15s; }
.idiomas summary:hover, .boton-icono:hover { border-color: var(--texto-3); }
.idiomas summary::-webkit-details-marker { display: none; }
.idiomas summary svg, .boton-icono svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.boton-icono { width: 40px; padding: 0; }
.icono-sol { display: var(--logo-oscuro); }
.icono-luna { display: var(--logo-claro); }
.lista-idiomas { position: absolute; right: 0; top: calc(100% + 8px); background: var(--superficie); border: 1px solid var(--borde); border-radius: 12px; box-shadow: var(--sombra); padding: 6px; min-width: 160px; z-index: 60; }
.lista-idiomas a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.lista-idiomas a:hover, .lista-idiomas a[aria-current="true"] { background: var(--superficie-2); }
.lista-idiomas a[aria-current="true"] { font-weight: 600; color: var(--acento-texto); }
.boton-menu { display: none; width: 40px; height: 40px; border: 1px solid var(--borde); border-radius: 10px; background: var(--superficie); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.boton-menu span { width: 18px; height: 2px; background: var(--texto); border-radius: 2px; transition: transform .2s; }
.boton-menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.boton-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ── Portada ───────────────────────────────────────────────────────── */
.portada { position: relative; padding: 80px 0 96px; overflow: hidden; }
.portada::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--puntos) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.portada::after { content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -320px; background: radial-gradient(circle, rgba(45, 212, 191, .2), transparent 62%); pointer-events: none; }
.rejilla-portada { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.portada h1 .etiqueta { display: flex; margin-bottom: 18px; font-family: var(--texto-fuente); }
.portada h1 .etiqueta::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 0 4px var(--acento-suave); }
.titulo-grande { display: block; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ventajas-rapidas { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--texto-2); font-size: 15px; }
.ventajas-rapidas li { display: flex; align-items: center; gap: 8px; }
.ventajas-rapidas svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--acento); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.movil { width: 100%; max-width: 360px; justify-self: center; background: #efeae2; border-radius: 36px; border: 10px solid var(--movil-marco); box-shadow: var(--sombra-fuerte); overflow: hidden; transform: rotate(1.5deg); }
.movil-cabecera { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #075e54; color: #fff; }
.movil-cabecera small { display: block; opacity: .8; font-size: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #2dd4bf; color: #0b1626; display: grid; place-items: center; font-weight: 700; }
.chat { padding: 18px 14px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.45; color: #111b21; }
.burbuja { max-width: 86%; padding: 9px 12px 20px; border-radius: 12px; position: relative; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.burbuja .hora { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: #667781; }
.recibida { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.enviada { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 4px; }
.botones-chat { margin: 10px -12px -20px; border-top: 1px solid #e9edef; display: grid; }
.botones-chat span { text-align: center; padding: 9px; color: #027eb5; font-weight: 500; border-bottom: 1px solid #e9edef; }
.botones-chat span:last-child { border-bottom: 0; padding-bottom: 26px; }
.aviso-agenda { align-self: center; margin-top: 6px; background: rgba(11, 22, 38, .86); color: #fff; font-size: 12.5px; padding: 7px 12px; border-radius: 999px; display: flex; align-items: center; gap: 8px; }
.punto { width: 8px; height: 8px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 4px rgba(45, 212, 191, .25); }

/* ── Integraciones y cifras ────────────────────────────────────────── */
.franja-logos { border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); padding: 26px 0 56px; background: var(--fondo); }
.fila-logos { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fila-logos p { color: var(--texto-3); font-size: 15px; }
.integraciones { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; padding: 0; margin: 0; }
.integraciones li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--texto); }
.integraciones li svg { flex: none; }

.cifras { list-style: none; margin: 30px 0 0; padding: 30px 0 0; border-top: 1px solid var(--borde); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cifras li { padding: 6px 0 6px 20px; border-left: 2px solid var(--acento); }
.cifras strong { display: block; font-family: var(--titulos); font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.cifras span { color: var(--texto-2); font-size: 15px; }

/* ── Secciones ─────────────────────────────────────────────────────── */
.seccion { padding: 104px 0; }
.seccion-niebla { background: var(--superficie-2); }
.seccion-oscura { background: var(--oscuro); color: #fff; }
.seccion-oscura .etiqueta { color: #2dd4bf; }
.seccion-oscura .entradilla, .seccion-oscura .titulo-seccion p { color: var(--oscuro-texto-2); }
.titulo-seccion { max-width: 720px; margin-bottom: 56px; }
.titulo-seccion p { font-size: 18px; color: var(--texto-2); margin-top: 14px; }
.rejilla-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tarjeta { background: var(--superficie); border: 1px solid var(--borde); border-radius: var(--radio); padding: 30px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.tarjeta:hover { border-color: var(--borde-fuerte); transform: translateY(-2px); box-shadow: var(--sombra); }
.tarjeta h3 { margin-bottom: 10px; }
.tarjeta p { color: var(--texto-2); font-size: 16px; }
.icono-problema { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--problema-fondo); color: var(--problema-texto); margin-bottom: 18px; }
.icono-problema svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.seccion-oscura .tarjeta { background: var(--oscuro-2); border-color: var(--oscuro-borde); }
.seccion-oscura .tarjeta:hover { border-color: #2f4566; box-shadow: none; }
.seccion-oscura .tarjeta p { color: var(--oscuro-texto-2); }
.icono { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(45, 212, 191, .12); margin-bottom: 20px; }
.icono svg { width: 24px; height: 24px; fill: none; stroke: #2dd4bf; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Antes y después */
.comparativa { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.columna { border-radius: 20px; padding: 32px; border: 1px solid var(--borde); background: var(--superficie); }
.columna h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 18px; }
.columna ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.columna li { display: flex; gap: 12px; color: var(--texto-2); }
.columna li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.columna.antes li svg { stroke: var(--problema-texto); }
.columna.despues { border: 2px solid var(--acento); box-shadow: 0 20px 50px rgba(18, 181, 163, .12); }
.columna.despues li { color: var(--texto); }
.columna.despues li svg { stroke: var(--acento); }
.marca-columna { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.antes .marca-columna { background: var(--problema-fondo); color: var(--problema-texto); }
.despues .marca-columna { background: var(--acento-suave); color: var(--acento-texto); }

.sectores { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sectores li { border: 1px solid var(--borde); border-radius: 14px; padding: 18px 20px; font-weight: 600; background: var(--superficie); display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.sectores li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--acento); box-shadow: 0 0 0 4px var(--acento-suave); }

.pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pasos li { background: var(--superficie); border-radius: var(--radio); padding: 30px; border: 1px solid var(--borde); position: relative; }
.pasos .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--texto); color: var(--fondo); font-family: var(--titulos); font-weight: 700; margin-bottom: 18px; }
.pasos h3 { margin-bottom: 8px; }
.pasos p { color: var(--texto-2); font-size: 16px; }

/* ── Calculadora ───────────────────────────────────────────────────── */
.rejilla-calculadora { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.controles { margin-top: 34px; display: grid; gap: 28px; }
.controles label { display: grid; grid-template-columns: 1fr auto; gap: 12px; font-weight: 600; }
.controles output { font-family: var(--titulos); color: var(--acento-texto); font-weight: 700; }
.controles input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--acento); height: 6px; cursor: pointer; }
.resultado { background: var(--oscuro); color: #fff; border-radius: 22px; padding: 40px; display: grid; gap: 6px; box-shadow: var(--sombra-fuerte); border: 1px solid var(--oscuro-borde); }
.resultado p { color: var(--oscuro-texto-2); }
.cifra { font-family: var(--titulos); font-size: clamp(36px, 5vw, 52px); line-height: 1.1; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.perdida { color: #fca5a5; }
.ganancia { color: #2dd4bf; }
.resultado small { color: #8a9bb2; font-size: 13px; line-height: 1.5; }

/* ── Precios ───────────────────────────────────────────────────────── */
.cabecera-precios { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.moneda { display: flex; align-items: center; gap: 10px; margin-bottom: 56px; font-size: 14px; font-weight: 600; color: var(--texto-2); }
.moneda select { font: 600 15px var(--texto-fuente); color: var(--texto); padding: 9px 34px 9px 12px; border: 1px solid var(--borde); border-radius: 10px; background: var(--superficie) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; cursor: pointer; }
.oferta { display: flex; align-items: center; gap: 12px; margin: -28px 0 40px; padding: 14px 18px; border-radius: 14px; background: var(--oferta-fondo); border: 1px solid var(--oferta-borde); color: var(--oferta-texto); font-weight: 600; font-size: 15.5px; }
.oferta span { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ambar); color: #0b1626; font-weight: 700; }
.planes { align-items: stretch; }
.plan { background: var(--superficie); border: 1px solid var(--borde); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.destacado { border: 2px solid var(--acento); box-shadow: 0 24px 60px rgba(18, 181, 163, .16); }
.insignia { position: absolute; top: -13px; left: 32px; background: var(--acento); color: var(--acento-sobre); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.desc-plan { color: var(--texto-2); font-size: 15px; margin-top: 8px; min-height: 48px; }
.precio { margin-top: 22px; color: var(--texto-3); }
.precio b { font-family: var(--titulos); font-size: 44px; color: var(--texto); letter-spacing: -.02em; margin-right: 4px; font-variant-numeric: tabular-nums; }
.alta { color: var(--texto-3); font-size: 14px; margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { padding-left: 28px; position: relative; font-size: 15.5px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--acento-suave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2312b5a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.nota-precios { margin-top: 26px; color: var(--texto-3); font-size: 14px; text-align: center; }

/* ── Preguntas ─────────────────────────────────────────────────────── */
.pregunta { border-bottom: 1px solid var(--borde); padding: 22px 0; }
.pregunta summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--acento); transition: transform .2s; }
.pregunta[open] summary::after { transform: rotate(45deg); }
.pregunta p { margin-top: 12px; color: var(--texto-2); }

/* ── Contacto ──────────────────────────────────────────────────────── */
.rejilla-contacto { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.lista-check { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.lista-check li { display: flex; gap: 10px; }
.lista-check li::before { content: '✓'; color: #2dd4bf; font-weight: 700; }
.otras-vias { color: var(--oscuro-texto-2); }
.otras-vias a { color: #2dd4bf; font-weight: 600; }
.formulario { background: var(--superficie); color: var(--texto); border-radius: 22px; padding: 32px; display: grid; gap: 16px; border: 1px solid var(--borde); }
.formulario label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.formulario input, .formulario select, .formulario textarea { font: 400 16px var(--texto-fuente); padding: 12px 14px; border: 1.5px solid var(--borde); border-radius: 12px; background: var(--fondo); color: var(--texto); width: 100%; transition: border-color .15s, box-shadow .15s; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 4px var(--acento-suave); }
.formulario [aria-invalid=true] { border-color: var(--error); }
.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consentimiento { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; color: var(--texto-2); }
.consentimiento input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--acento); }
.consentimiento a { color: var(--acento-texto); }
.trampa { position: absolute !important; left: -9999px; }
.estado-form { font-size: 15px; min-height: 22px; }
.estado-form.ok { color: var(--acento-texto); font-weight: 600; }
.estado-form.error { color: var(--error); }

/* ── Pie ───────────────────────────────────────────────────────────── */
.pie { background: var(--pie); color: #b7c3d3; padding: 72px 0 28px; }
.rejilla-pie { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.rejilla-pie p { margin-top: 16px; max-width: 360px; font-size: 15px; }
.pie h2 { font-family: var(--texto-fuente); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7d8ea5; margin-bottom: 14px; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pie a { text-decoration: none; font-size: 15px; }
.pie a:hover { color: #fff; }
.contacto-pie { margin-top: 18px; }
.contacto-pie a { color: #2dd4bf; font-weight: 600; }
.derechos { margin-top: 48px; padding-top: 22px; border-top: 1px solid #1a2a40; font-size: 13px; color: #7d8ea5; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.derechos nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── Páginas legales y 404 ─────────────────────────────────────────── */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--texto-2); margin-bottom: 10px; }
.pagina-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.pagina-404 .codigo { font-family: var(--titulos); font-size: clamp(90px, 18vw, 170px); line-height: 1; font-weight: 700; color: var(--acento); }
.pagina-404 p { color: var(--texto-2); margin: 14px auto 28px; max-width: 460px; }
.pagina-404 .botones { justify-content: center; }

/* ── Adaptación a pantallas ────────────────────────────────────────── */
@media (max-width: 1000px) {
  .rejilla-portada, .rejilla-calculadora, .rejilla-contacto { grid-template-columns: 1fr; gap: 48px; }
  .rejilla-3, .pasos { grid-template-columns: 1fr 1fr; }
  .sectores, .cifras { grid-template-columns: repeat(2, 1fr); }
  .rejilla-pie { grid-template-columns: 1fr 1fr; }
  .rejilla-pie > div:first-child { grid-column: 1 / -1; }
  .movil { transform: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--fondo); flex-direction: column; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--borde); box-shadow: var(--sombra); }
  .menu.abierto { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--borde); font-size: 17px; }
  .boton-menu { display: inline-flex; }
  .acciones-nav .boton-pequeno { display: none; }
  .portada { padding: 44px 0 64px; }
  .seccion { padding: 72px 0; }
  .rejilla-3, .pasos, .comparativa, .dos-columnas { grid-template-columns: 1fr; }
  .cifras { padding-top: 40px; gap: 24px 16px; }
  .formulario, .resultado, .columna { padding: 24px; }
  .botones .boton { flex: 1 1 100%; }
  .entradilla { font-size: 17px; }
  .cabecera-precios .titulo-seccion { margin-bottom: 0; }
  .moneda { margin: 20px 0 40px; }
  .rejilla-pie { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Tailandés: más altura de línea y sin letras apretadas ────────── */
:lang(th) body { line-height: 1.75; }
:lang(th) h1, :lang(th) h2, :lang(th) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(th) .etiqueta { letter-spacing: .02em; }
