@import url(/assets/fuentes.css);

:root {
  --ink: #0a1613;
  --ink-2: #0f211d;
  --ink-3: #163029;
  --ink-line: #24433b;
  --teal: #1d6b5c;
  --teal-2: #24826f;
  --mint: #62d9b4;
  --mint-soft: #bff0df;
  --amber: #f3b54a;
  --sky: #6cc4ff;
  --lilac: #b9a4ff;
  --coral: #ff8f78;
  --paper: #f3f6f4;
  --white: #ffffff;
  --text: #13201c;
  --muted: #4f5f58;
  --line: #d6e0dc;
  --ok: #2a7a3e;
  --ok-bg: #dcefdf;
  --med: #8a5f00;
  --med-bg: #f6ecd2;
  --bad: #a23b32;
  --bad-bg: #f5e0dd;
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(10, 22, 19, .06), 0 12px 32px -12px rgba(10, 22, 19, .18);
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--text); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.saltar:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- barra ---------- */
.barra { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.barra .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.barra.solida { background: rgba(10, 22, 19, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: rgba(255, 255, 255, .06); }
.marca { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.marca svg { width: 32px; height: 32px; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { white-space: nowrap; color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 99px; transition: color .2s, background .2s; }
.menu a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.barra .boton { margin-left: 8px; }
.abrir-menu { display: none; margin-left: auto; background: none; border: 0; color: var(--white); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.abrir-menu svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 1100px) {
  .menu, .barra .boton { display: none; }
  .abrir-menu { display: grid; place-items: center; }
  .barra.abierta { background: var(--ink); }
  .barra.abierta .menu { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--ink-line); }
  .barra.abierta .menu a { font-size: 18px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--ink-line); }
}

/* ---------- botones ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.005em; text-decoration: none; border-radius: 99px; padding: 14px 22px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.boton svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.boton:hover svg { transform: translateX(3px); }
.boton:active { transform: translateY(1px); }
.boton.primario { background: var(--mint); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(98, 217, 180, .65); }
.boton.primario:hover { background: #7be3c3; }
.boton.claro { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .22); }
.boton.claro:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.boton.oscuro { background: var(--ink); color: var(--white); }
.boton.oscuro:hover { background: var(--ink-3); }
.boton.borde { background: transparent; color: var(--text); border-color: var(--line); }
.boton.borde:hover { border-color: var(--text); }
.boton.peq { padding: 10px 16px; font-size: 15px; }
.boton[disabled] { opacity: .6; cursor: progress; }

/* ---------- portada 3D ---------- */
.portada { position: relative; min-height: max(700px, 100svh); background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.portada canvas.escena { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.portada::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(10, 22, 19, .92) 0%, rgba(10, 22, 19, .72) 32%, rgba(10, 22, 19, 0) 62%),
  linear-gradient(0deg, rgba(10, 22, 19, .95) 0%, rgba(10, 22, 19, 0) 26%),
  linear-gradient(180deg, rgba(10, 22, 19, .7) 0%, rgba(10, 22, 19, 0) 18%); }
.portada .wrap { position: relative; }
.portada-texto { padding-top: clamp(120px, 18vh, 190px); padding-bottom: 40px; max-width: 640px; }
.antetitulo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.antetitulo::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.portada h1 { font-size: clamp(44px, 6.4vw, 86px); font-weight: 700; letter-spacing: -0.035em; margin: 18px 0 22px; }
.portada h1 em { font-style: normal; color: var(--mint); }
.portada .entradilla { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .8); max-width: 560px; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.leyenda { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.leyenda-titulo { width: 100%; font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 2px; }
.chip-tipo { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--body); color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; padding: 8px 13px 8px 10px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip-tipo i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.chip-tipo:hover, .chip-tipo[aria-pressed="true"] { color: var(--white); background: rgba(255, 255, 255, .1); border-color: var(--c); }
.etiqueta-3d { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; transform: translate(-50%, -100%); font: 600 13px/1.2 var(--display); color: var(--white); background: rgba(10, 22, 19, .78); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 7px 11px; border-radius: 10px; white-space: nowrap; opacity: 0; transition: opacity .35s; }
.etiqueta-3d small { display: block; font: 400 12px/1.3 var(--body); color: rgba(255, 255, 255, .7); margin-top: 2px; }
.etiqueta-3d.casa { border-color: rgba(243, 181, 74, .55); }
.etiqueta-3d::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: inherit; border-right: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); transform: translateX(-50%) rotate(45deg); }
.etiqueta-3d.casa::after { border-color: rgba(243, 181, 74, .55); }
.nota-3d { font-size: 12px; color: rgba(255, 255, 255, .45); margin-top: 14px; }
.cifras { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(10, 22, 19, 0), rgba(10, 22, 19, .6)); }
.cifras .wrap { display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr; gap: 0; }
.cifra { padding: 22px 20px 24px 0; }
.cifra + .cifra { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .08); }
.cifra b { display: block; font: 600 clamp(24px, 2.6vw, 34px)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cifra span { display: block; font-size: 14px; color: rgba(255, 255, 255, .66); margin-top: 6px; }
.cifra.nota span { font-size: 13px; color: rgba(255, 255, 255, .5); margin-top: 0; }
.sin3d .portada { background: radial-gradient(1000px 600px at 75% 55%, #12352d 0%, var(--ink) 65%); }
.sin3d .leyenda, .sin3d .nota-3d { display: none; }
@media (max-width: 920px) {
  .portada { min-height: auto; }
  .portada canvas.escena { height: 500px; bottom: auto; }
  .portada::before { background: linear-gradient(180deg, rgba(10, 22, 19, .6) 0px, rgba(10, 22, 19, 0) 90px, rgba(10, 22, 19, 0) 300px, rgba(10, 22, 19, .92) 440px, var(--ink) 500px); }
  .portada-texto { padding-top: 400px; }
  .cifras .wrap { grid-template-columns: 1fr 1fr; }
  .cifra, .cifra + .cifra { padding: 18px 0; border-left: 0; }
  .cifra:nth-child(even) { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .08); }
  .cifra.nota { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .etiqueta-3d { font-size: 12px; }
}

/* ---------- secciones ---------- */
.seccion { padding: clamp(72px, 10vw, 128px) 0; }
.seccion.papel { background: var(--paper); }
.seccion.tinta { background: var(--ink); color: var(--white); }
.cabeza { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.cabeza .antetitulo { color: var(--teal); }
.tinta .cabeza .antetitulo { color: var(--mint); }
.cabeza h2 { font-size: clamp(34px, 4.4vw, 56px); margin: 14px 0 16px; }
.cabeza p { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); }
.tinta .cabeza p { color: rgba(255, 255, 255, .72); }

.problema { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
.problema blockquote { margin: 0; font: 600 clamp(30px, 3.6vw, 48px)/1.12 var(--display); letter-spacing: -0.025em; }
.problema blockquote span { color: var(--teal); }
.problema .lado p + p { margin-top: 14px; }
.problema .lado p { color: var(--muted); font-size: 18px; }
.problema .lado strong { color: var(--text); }
@media (max-width: 860px) { .problema { grid-template-columns: 1fr; } }

.dos-lados { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.lado-card { position: relative; border-radius: var(--radius); padding: 30px 30px 28px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.lado-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.lado-card .icono { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-soft); color: var(--teal); }
.lado-card.centros .icono { background: #fdeccb; color: #9a6400; }
.lado-card .icono svg { width: 26px; height: 26px; }
.lado-card h3 { font-size: 26px; }
.lado-card p { color: var(--muted); }
.lado-card .ir { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--display); color: var(--teal); padding-top: 8px; }
.lado-card .ir svg { width: 18px; height: 18px; transition: transform .2s; }
.lado-card:hover .ir svg { transform: translateX(4px); }
@media (max-width: 760px) { .dos-lados { grid-template-columns: 1fr; } }

.ventajas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ventaja { background: var(--paper); border-radius: var(--radius); padding: 26px 24px; }
.papel .ventaja { background: var(--white); }
.ventaja b { display: block; font: 700 30px/1 var(--display); letter-spacing: -0.03em; color: var(--teal); margin-bottom: 14px; }
.ventaja h3 { font-size: 20px; margin-bottom: 8px; }
.ventaja p { color: var(--muted); font-size: 16px; }
@media (max-width: 980px) { .ventajas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ventajas { grid-template-columns: 1fr; } }

.pasos { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: paso; position: relative; }
.pasos::before { content: ""; position: absolute; top: 21px; left: 22px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.pasos li { position: relative; padding-right: 24px; counter-increment: paso; }
.pasos li::before { content: counter(paso); position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--mint); font: 600 18px var(--display); margin-bottom: 18px; box-shadow: 0 0 0 6px var(--white); }
.papel .pasos li::before { box-shadow: 0 0 0 6px var(--paper); }
.pasos h3 { font-size: 19px; margin-bottom: 6px; }
.pasos p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) {
  .pasos { grid-template-columns: 1fr; gap: 26px; }
  .pasos::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .pasos li { padding: 0 0 0 64px; }
  .pasos li::before { position: absolute; left: 0; top: -4px; }
}

.reparto { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: clamp(56px, 7vw, 88px); }
@media (max-width: 960px) { .reparto { grid-template-columns: 1fr; } }

@media (min-width: 961px) { .dudas { position: sticky; top: 100px; } }
.dudas h3.titulo { font-size: 26px; margin-bottom: 12px; }
.dudas details { border-bottom: 1px solid var(--line); }
.dudas summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.3 var(--display); letter-spacing: -0.01em; }
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.dudas details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.dudas details p { color: var(--muted); padding: 0 24px 22px 0; }
.dudas .norma { font-family: var(--mono); font-size: 13px; color: var(--teal); }

/* ---------- formularios ---------- */
.ficha { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.papel .ficha { border-color: transparent; }
.ficha h3 { font-size: 26px; }
.ficha .sub { color: var(--muted); margin: 8px 0 22px; font-size: 16px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.campo { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.campo.ancho { grid-column: 1 / -1; }
.campo > label, .campo > .etq { font: 600 14px/1.3 var(--body); color: var(--text); }
.campo .opcional { font-weight: 400; color: var(--muted); }
.campo input[type=text], .campo input[type=email], .campo input[type=tel], .campo select, .campo textarea {
  width: 100%; font: 400 16px/1.4 var(--body); color: var(--text); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none; }
.campo select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6b5c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.campo textarea { min-height: 112px; resize: vertical; }
.campo textarea.mono { font-family: var(--mono); font-size: 14px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.campo .ayuda { font-size: 13px; color: var(--muted); }
.campo.error input, .campo.error select, .campo.error textarea { border-color: var(--bad); background: #fff7f6; }
.campo .fallo { display: none; font-size: 13px; color: var(--bad); }
.campo.error .fallo { display: block; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcion span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; padding: 9px 13px; border-radius: 99px; background: var(--paper); border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s; cursor: pointer; user-select: none; }
.opcion span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #9fb1aa; background: var(--white); flex: none; transition: background .15s, border-color .15s; }
.opcion input[type=radio] + span::before { border-radius: 50%; }
.opcion input:checked + span { background: #e3f6ef; border-color: var(--teal); color: var(--ink); }
.opcion input:checked + span::before { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E") center/10px no-repeat; border-color: var(--teal); }
.opcion input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.consentimiento { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); background: var(--paper); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.consentimiento input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
.consentimiento.error { box-shadow: inset 0 0 0 1.5px var(--bad); }
.ficha .pie-form { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 4px; }
.ficha .pie-form small { color: var(--muted); font-size: 13px; max-width: 380px; }
.miel { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.hecho { display: none; text-align: left; padding: 8px 0; }
.ficha.enviada form { display: none; }
.ficha.enviada .hecho { display: block; }
.hecho .ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); margin-bottom: 18px; }
.hecho .ok svg { width: 28px; height: 28px; }
.hecho h3 { margin-bottom: 8px; }
.hecho p { color: var(--muted); }
.aviso-error { grid-column: 1 / -1; display: none; background: var(--bad-bg); color: var(--bad); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.aviso-error.visible { display: block; }
.privacidad-corta { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.privacidad-corta a { color: var(--teal); }
@media (max-width: 600px) { .campos { grid-template-columns: 1fr; } }

/* ---------- centros ---------- */
.lista-centros { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; list-style: none; padding: 0; margin: 0; }
.lista-centros li { position: relative; padding-left: 34px; color: var(--muted); }
.lista-centros li strong { color: var(--text); display: block; font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; margin-bottom: 2px; }
.lista-centros li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.pago-firma { margin-top: 32px; display: flex; gap: 18px; align-items: center; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 24px 26px; }
.pago-firma svg { width: 40px; height: 40px; flex: none; color: var(--mint); }
.pago-firma b { display: block; font: 600 21px/1.2 var(--display); letter-spacing: -0.01em; }
.pago-firma span { color: rgba(255, 255, 255, .7); font-size: 15px; }
@media (max-width: 760px) { .lista-centros { grid-template-columns: 1fr; } }

/* ---------- comprobador ---------- */
.cobertura { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .cobertura { grid-template-columns: 1fr; } }
.comprobador { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 22px; padding: clamp(22px, 3vw, 32px); }
.comprobador h3 { font-size: 24px; margin-bottom: 6px; }
.comprobador > p { color: rgba(255, 255, 255, .66); font-size: 15px; margin-bottom: 20px; }
.comprobador .campos { grid-template-columns: 0.8fr 1.2fr; }
.comprobador .campo > label { color: rgba(255, 255, 255, .86); }
.comprobador .campo input, .comprobador .campo select { background-color: var(--ink-3); color: var(--white); border-color: transparent; }
.comprobador .campo input::placeholder { color: rgba(255, 255, 255, .35); }
.comprobador .campo input:focus, .comprobador .campo select:focus { border-color: var(--mint); background-color: #1b3a32; }
.comprobador .campo select option { color: var(--text); }
.comprobador .boton { width: 100%; margin-top: 4px; }
.resultado { margin-top: 20px; border-radius: 16px; background: var(--ink-3); padding: 20px; display: none; }
.resultado.visible { display: block; animation: aparecer .35s ease; }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.resultado .lugar { font-size: 14px; color: rgba(255, 255, 255, .62); }
.resultado .lugar b { font-family: var(--mono); color: var(--white); font-weight: 500; }
.resultado .nivel { display: flex; align-items: center; gap: 14px; margin: 10px 0 8px; }
.resultado .nivel strong { font: 600 26px/1.1 var(--display); letter-spacing: -0.02em; }
.medidor { display: flex; gap: 4px; }
.medidor i { width: 26px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.medidor[data-n="1"] i:nth-child(-n+1), .medidor[data-n="2"] i:nth-child(-n+2), .medidor[data-n="3"] i:nth-child(-n+3), .medidor[data-n="4"] i:nth-child(-n+4) { background: var(--mint); }
.medidor[data-n="1"] i:nth-child(-n+1) { background: var(--coral); }
.medidor[data-n="2"] i:nth-child(-n+2) { background: var(--amber); }
.resultado p { color: rgba(255, 255, 255, .75); font-size: 15px; }
.resultado .fuera { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; background: rgba(243, 181, 74, .1); border: 1px solid rgba(243, 181, 74, .35); border-radius: 12px; padding: 10px 12px; font-size: 14px; color: #ffe2ad; }
.resultado .fuera svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.resultado .seguir { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font: 600 15px var(--display); text-decoration: none; }
.resultado .seguir svg { width: 16px; height: 16px; }
.resultado.error { background: rgba(255, 143, 120, .1); }
.nota-datos { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .45); }

.informe { background: var(--white); color: var(--text); border-radius: 18px; padding: 24px 24px 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); position: relative; overflow: hidden; transform: rotate(-1.2deg); }
.informe::after { content: "Confidencial · preparado para Centro de ejemplo"; position: absolute; top: 46%; left: -8%; width: 116%; text-align: center; transform: rotate(-24deg); font: 600 26px var(--display); color: rgba(29, 107, 92, .07); pointer-events: none; white-space: nowrap; }
.informe .cab-inf { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.informe .cab-inf .marca-inf { display: flex; gap: 8px; align-items: center; font: 700 14px var(--display); color: var(--text); }
.informe .cab-inf .marca-inf span { width: 20px; height: 20px; border-radius: 6px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 11px; }
.informe h4 { font-size: 20px; margin-bottom: 4px; }
.informe .ej { font-size: 12px; background: var(--med-bg); color: var(--med); border-radius: 8px; padding: 6px 9px; margin: 8px 0 12px; }
.informe .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.informe .tile { background: #edf3f1; border-radius: 10px; padding: 10px; }
.informe .tile b { display: block; font: 700 22px/1 var(--display); color: var(--teal); }
.informe .tile span { font-size: 11.5px; color: var(--muted); line-height: 1.25; display: block; margin-top: 4px; }
.informe table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.informe th, .informe td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--line); }
.informe th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.informe td.num, .informe th.num { text-align: right; font-variant-numeric: tabular-nums; }
.informe td.mono { font-family: var(--mono); font-size: 12px; }
.chip { display: inline-block; border-radius: 99px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.med { background: var(--med-bg); color: var(--med); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.informe .pie-inf { font-size: 11px; color: var(--muted); margin-top: 10px; }
.bajo-informe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 560px) { .informe { transform: none; padding: 18px 14px 14px; } .informe .ocultar-movil { display: none; } }

/* ---------- garantías ---------- */
.garantias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.garantia { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.garantia svg { width: 30px; height: 30px; color: var(--teal); margin-bottom: 16px; }
.garantia h3 { font-size: 19px; margin-bottom: 8px; }
.garantia p { color: var(--muted); font-size: 16px; }
.garantia .norma { display: block; margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--teal); }
@media (max-width: 960px) { .garantias { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .garantias { grid-template-columns: 1fr; } }

/* ---------- contacto ---------- */
.contacto { position: relative; overflow: hidden; }
.contacto .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.contacto h2 { font-size: clamp(36px, 4.6vw, 60px); margin: 14px 0 18px; }
.contacto p { color: rgba(255, 255, 255, .74); font-size: 18px; }
.tarjeta-contacto { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 22px; padding: 28px; }
.tarjeta-contacto .quien { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.tarjeta-contacto .avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--mint)); display: grid; place-items: center; font: 700 20px var(--display); color: var(--ink); }
.tarjeta-contacto .quien b { display: block; font: 600 19px var(--display); }
.tarjeta-contacto .quien span { color: rgba(255, 255, 255, .6); font-size: 14px; }
.tarjeta-contacto a.correo { display: flex; align-items: center; gap: 10px; font: 600 clamp(18px, 2vw, 22px) var(--display); color: var(--mint); text-decoration: none; margin-bottom: 18px; word-break: break-all; }
.tarjeta-contacto a.correo svg { width: 22px; height: 22px; flex: none; }
.tarjeta-contacto .boton { width: 100%; }
.tarjeta-contacto small { display: block; margin-top: 14px; color: rgba(255, 255, 255, .5); font-size: 13px; }
@media (max-width: 860px) { .contacto .wrap { grid-template-columns: 1fr; } }

/* ---------- pie ---------- */
.pie { background: #07110f; color: rgba(255, 255, 255, .6); font-size: 14px; padding: 36px 0 40px; }
.pie .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.pie nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pie a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.pie a:hover { color: var(--white); }
.pie .marca { font-size: 17px; }
.pie .marca svg { width: 26px; height: 26px; }

/* ---------- aparición al hacer scroll ---------- */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.revelar.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .revelar { opacity: 1; transform: none; transition: none; } }

/* ---------- páginas legales ---------- */
.legal { padding: 130px 0 90px; }
.legal .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { width: 32%; color: var(--text); font-weight: 700; }
.legal a { color: var(--teal); }
.legal .barra { background: var(--ink); }
