@font-face { font-family: "Geist"; src: url(/fonts/Geist-Variable.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/GeistMono-Variable.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --negro: #1D1D1D;
  --blanco: #FAFAFA;
  --azul: #003399;
  --azul-osc: #002a80;
  --gris: #5a5f6b;
  --borde: #d9dce3;
  --fondo: #000000;
  --panel: #0A0B0D;
  --linea: #1B1D22;
  --texto: #EDEDED;
  --tenue: #8B919C;
  --azul-claro: #5B8CFF;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--negro);
  font: 17px/1.55 "Geist", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.oculto { position: absolute; width: 0; height: 0; }
.contenedor { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .contenedor { padding: 0 32px; } }
h1, h2, h3, p { margin: 0; }

/* ---------- Portada: horizonte de un planeta con amanecer ---------- */
.portada { position: relative; height: 100vh; min-height: 680px; display: flex; flex-direction: column; background: #070709; color: #fff; overflow: hidden; }
.horizonte { --d: max(1500px, 240vw); position: absolute; left: 50%; top: 57%; width: var(--d); height: var(--d); translate: -50% 0; rotate: 12deg; pointer-events: none; }
.planeta {
  position: absolute; inset: 0; border-radius: 50%; background: #070709;
  box-shadow:
    0 0 2px 1px #fff,
    0 -3px 10px 1px rgba(255, 255, 255, .95),
    0 -8px 26px 3px #a9c2ff,
    0 -16px 60px 8px #3d6dff,
    0 -30px 130px 14px rgba(0, 51, 153, .95),
    0 -50px 240px 30px rgba(0, 51, 153, .45),
    inset 0 5px 14px rgba(255, 255, 255, .55),
    inset 0 18px 50px rgba(61, 109, 255, .35);
  animation: respira 8s ease-in-out infinite alternate;
}
.sol { position: absolute; left: 50%; top: 0; width: 760px; height: 760px; translate: -50% -50%; mix-blend-mode: screen;
  background:
    radial-gradient(closest-side, #fff 0 5%, rgba(255, 244, 230, .95) 9%, rgba(255, 214, 170, .5) 17%, rgba(120, 160, 255, .28) 34%, rgba(0, 51, 153, 0) 70%);
}
.sol::before { content: ""; position: absolute; inset: 0; border-radius: 50%; filter: blur(7px);
  background: repeating-conic-gradient(from 8deg, rgba(255, 255, 255, .20) 0deg 3deg, rgba(255, 255, 255, 0) 3deg 19deg, rgba(190, 210, 255, .14) 19deg 21deg, rgba(255, 255, 255, 0) 21deg 31deg);
  -webkit-mask: radial-gradient(closest-side, #000 0, rgba(0, 0, 0, .5) 35%, transparent 82%); mask: radial-gradient(closest-side, #000 0, rgba(0, 0, 0, .5) 35%, transparent 82%);
  animation: gira 140s linear infinite;
}
.sol::after { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; height: 16px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(169, 194, 255, .35) 45%, transparent); filter: blur(5px); }
.grano { position: absolute; inset: 0; background: url(/grano.svg); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.portada::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #000); pointer-events: none; }
@keyframes respira { from { opacity: .86; } to { opacity: 1; } }
@keyframes gira { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .planeta, .sol::before { animation: none !important; } }

/* ---------- Barra ---------- */
.barra { position: relative; z-index: 2; }
.barra-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.25rem; letter-spacing: -.02em; }
.marca img { object-fit: contain; filter: brightness(0) invert(1); }
.barra-botones { display: flex; align-items: center; gap: 22px; }
.enlace-barra { color: #d6d8de; text-decoration: none; font-size: .95rem; font-weight: 500; }
.enlace-barra:hover { color: #fff; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: #fff; background: var(--azul);
  border: 1px solid var(--azul-osc); border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(0, 0, 0, .12);
  cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
}
.boton:hover { transform: translateY(-1px); }
.boton:disabled { opacity: .6; cursor: progress; transform: none; }
.boton-grande { height: 52px; padding: 0 26px; font-size: 1.02rem; }
.boton-claro { color: #000; background: #fff; border-color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.boton-claro:hover { background: #e8e8ea; }

/* ---------- Hero ---------- */
main { flex: 1; display: flex; position: relative; z-index: 1; min-height: 0; }
.hero { display: grid; grid-template-rows: 45% 14% 1fr; justify-items: center; text-align: center; }
.hero-arriba { align-self: end; padding-bottom: 2vh; }
.hero-abajo { grid-row: 3; display: flex; flex-direction: column; align-items: center; width: 100%; }
.antetitulo { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #c9cdd6; margin-bottom: 20px; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.entrada { font-size: clamp(1rem, 1.5vw, 1.15rem); color: #c9cdd6; max-width: 38ch; }
.alta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; width: 100%; max-width: 500px; }
.alta input[type=email] {
  flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 18px;
  font: inherit; color: #fff; background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px;
  backdrop-filter: blur(8px);
}
.alta input[type=email]::placeholder { color: #a9adb8; }
.alta input[type=email]:focus { outline: 2px solid #fff; outline-offset: 1px; border-color: transparent; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estado-form { min-height: 1.5em; margin-top: 12px; font-size: .95rem; font-weight: 600; color: #fff; }
.nota { font-size: .8rem; color: #a9adb8; }
.nota a { color: inherit; }

/* ---------- Especificaciones ---------- */
.specs { position: relative; background: var(--fondo); color: var(--texto); padding: clamp(72px, 9vw, 120px) 0 0; overflow: hidden; }
.specs::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgba(0, 51, 153, .38) 0%, rgba(0, 51, 153, 0) 70%); }
.specs > .contenedor { position: relative; }
.antetitulo.claro { color: var(--azul-claro); }
.specs h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 16ch; }
.rejilla { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.celda { grid-column: span 12; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: linear-gradient(180deg, #0D0E11 0%, var(--panel) 100%); border: 1px solid var(--linea); border-radius: 20px; padding: 28px; overflow: hidden;
  transition: border-color .2s; }
.celda:hover { border-color: #2C3038; }
.celda h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.015em; }
.celda p { color: var(--tenue); font-size: .98rem; margin-top: 6px; max-width: 42ch; }

/* Falsos positivos */
.contador { display: block; font-size: clamp(6rem, 13vw, 9.5rem); font-weight: 600; line-height: .86; letter-spacing: -.06em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 20%, #7FA2FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-fp { background: radial-gradient(120% 90% at 0% 0%, rgba(0, 51, 153, .55) 0%, rgba(0, 51, 153, 0) 60%), var(--panel); }

/* Validador */
.flujo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.paso { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--linea); border-radius: 14px; background: #060709; }
.paso-t { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); }
.paso-d, .paso code { font-size: .92rem; color: var(--texto); }
.paso code { font-family: var(--mono); font-size: .84rem; color: #9DB7FF; }
.paso-ok { border-color: rgba(64, 201, 135, .45); background: rgba(64, 201, 135, .08); }
.paso-ok .paso-t { color: #40C987; }
.paso-ok .paso-d::before { content: "✓ "; color: #40C987; font-weight: 700; }
.paso-no { border-color: rgba(255, 93, 93, .35); background: rgba(255, 93, 93, .06); }
.paso-no .paso-t { color: #FF7A7A; }
.paso-no .paso-d::before { content: "✕ "; color: #FF7A7A; font-weight: 700; }
.paso-d.tenue { color: var(--tenue); }
.c-val { justify-content: flex-start; gap: 12px; }
.c-val > div:last-child { margin-top: auto; padding-top: 16px; }
.flecha { flex: 0 0 22px; height: 2px; background: linear-gradient(90deg, #2C3038, var(--azul-claro)); position: relative; }
.flecha::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--azul-claro); }

/* Vídeo */
.video { border: 1px solid var(--linea); border-radius: 14px; background: #050607; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 51, 153, .6); }
.video-barra { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--linea); font-size: .8rem; color: var(--tenue); }
.video-barra i { width: 9px; height: 9px; border-radius: 50%; background: #2C3038; }
.video-barra span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-barra em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--azul-claro); border: 1px solid rgba(91, 140, 255, .4); border-radius: 6px; padding: 2px 7px; }
.terminal { margin: 0; padding: 16px; height: 214px; overflow: hidden; font: 500 .8rem/1.6 var(--mono); color: #C9CED8; white-space: pre-wrap; word-break: break-word; }
.terminal .cmd { color: #ffffff; }
.terminal .cmd::before { content: "$ "; color: var(--azul-claro); }
.terminal .mal { color: #FF7A7A; }
.terminal .ok { color: #40C987; font-weight: 600; }
.terminal .cursor { display: inline-block; width: 7px; height: 1em; vertical-align: -2px; background: var(--azul-claro); animation: parpadeo 1s steps(1) infinite; }
@keyframes parpadeo { 50% { opacity: 0; } }
.video-pie { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--linea); font: 500 .76rem var(--mono); color: var(--tenue); }
.play { color: var(--texto); font-size: .7rem; }
.progreso { flex: 1; height: 4px; border-radius: 4px; background: #1B1D22; overflow: hidden; }
.progreso i { display: block; height: 100%; width: 0; background: var(--azul-claro); border-radius: 4px; }

/* UE */
.c-ue { align-items: flex-start; background: radial-gradient(110% 80% at 100% 0%, rgba(0, 51, 153, .5) 0%, rgba(0, 51, 153, 0) 62%), var(--panel); }
.c-ue { justify-content: space-between; }
.bandera { width: min(280px, 78%); margin: 8px auto 0; height: auto; border-radius: 10px; box-shadow: 0 18px 40px -14px rgba(0, 51, 153, .9), 0 0 0 1px rgba(255, 255, 255, .08); }

/* Mapa */
.c-mapa { gap: 20px; }
.leyenda { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--tenue); }
.leyenda i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; }
.l-ruta { background: var(--azul-claro); } .l-critico { background: #FF5D5D; } .l-medio { background: #F5B14C; }
.grafo { display: block; width: 100%; height: auto; font-family: var(--mono); }
.grafo text { text-anchor: middle; }
.g-aristas path { fill: none; stroke: #23262D; stroke-width: 1.6; }
.g-ruta { fill: none; stroke: var(--azul-claro); stroke-width: 2.2; stroke-dasharray: 6 8; stroke-linecap: round; animation: avance 1.2s linear infinite; filter: drop-shadow(0 0 6px rgba(91, 140, 255, .7)); }
.g-nodo circle { fill: #0D0F13; stroke: #2C3038; stroke-width: 1.6; }
.g-nodo text { fill: #7C8492; font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.g-nodo .g-nombre { fill: #B9BEC8; font-size: 11.5px; font-weight: 500; letter-spacing: 0; font-family: "Geist", sans-serif; }
.g-nodo.en-ruta circle { stroke: var(--azul-claro); fill: #0B1326; }
.g-nodo.en-ruta text { fill: #DCE6FF; }
.g-nodo.critico circle { stroke: #FF5D5D; fill: #1E0D10; }
.g-nodo.medio circle { stroke: #F5B14C; fill: #1D160A; }
.g-nodo.critico text, .g-nodo.medio text { fill: #fff; }
.g-nodo .g-nombre { fill: #B9BEC8 !important; }
.g-nodo .g-halo { fill: none; transform-box: fill-box; transform-origin: center; animation: halo 2.2s ease-out infinite; }
.g-ficha rect { fill: #0D0F13; stroke: #2C3038; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); }
.g-ficha text { text-anchor: start; font-family: "Geist", sans-serif; }
.g-f1 { fill: #fff; font-size: 13px; font-weight: 600; }
.g-f2 { fill: #9DB7FF; font-size: 11px; }

/* Superficie */
.c-sup { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--linea); border-radius: 999px; padding: 7px 16px; font-size: .93rem; font-weight: 500; background: #060709; }

@media (min-width: 720px) {
  .c-fp { grid-column: span 5; } .c-val { grid-column: span 7; }
  .c-video { grid-column: span 7; } .c-ue { grid-column: span 5; }
}
@media (min-width: 980px) {
  .c-fp { grid-column: span 4; min-height: 340px; } .c-val { grid-column: span 8; }
  .c-video { grid-column: span 8; } .c-ue { grid-column: span 4; }
  .c-mapa { flex-direction: row; align-items: center; gap: 36px; padding: 36px; }
  .c-mapa .mapa-texto { flex: 0 0 270px; }
  .c-mapa .grafo-caja { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .g-ruta, .g-halo, .cursor { animation: none !important; } }
@media (max-width: 719px) {
  .celda { padding: 22px; }
  .grafo-caja { overflow-x: auto; margin: 0 -22px; padding: 0 22px 6px; -webkit-overflow-scrolling: touch; }
  .grafo { width: 640px; max-width: none; }
  .terminal { height: auto; min-height: 250px; font-size: .74rem; }
  .flecha { display: none; }
  .paso { flex: 1 1 100%; }
}
.cierre { display: flex; justify-content: center; padding: clamp(40px, 6vw, 72px) 0; }

.pie { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--linea); font-size: .85rem; color: var(--tenue); }
.pie details { max-width: 780px; }
.pie summary { cursor: pointer; text-align: right; }
.pie details p { margin-top: 10px; line-height: 1.5; }
.pie a { color: #c9d6f5; }

@media (max-width: 560px) {
  .enlace-barra { display: none; }
  .horizonte { rotate: 8deg; top: 54%; }
  .sol { width: 240px; height: 240px; }
  .hero { grid-template-rows: 43% 15% 1fr; }
  .entrada { max-width: 30ch; }
}

/* ---------- v6: portada más sobria y «Cómo funciona» con el mismo estilo ---------- */
.marca img { filter: none; display: block; }
.portada::after { display: none; }
.boton-fantasma { color: #fff; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .22); box-shadow: none; font-weight: 500; }
.boton-fantasma:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }

/* Sol discreto: un punto de luz en el horizonte, sin rayos marcados */
.sol { width: 420px; height: 420px; opacity: .6;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95) 0 3%, rgba(235, 242, 255, .6) 8%, rgba(150, 180, 255, .2) 26%, rgba(0, 51, 153, 0) 68%); }
.sol::before { opacity: .35; }
.sol::after { width: 120%; height: 8px; opacity: .6; }

h1 { font-size: clamp(2.5rem, 6.6vw, 5.2rem); }
.entrada { max-width: 47ch; }

/* Campo de correo y botón en una sola pieza */
.alta { flex-wrap: nowrap; align-items: stretch; gap: 0; max-width: 440px; height: 54px; padding: 5px; margin-top: 28px;
  background: rgba(7, 7, 9, .55); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: border-color .2s, background .2s; }
.alta:focus-within { border-color: rgba(255, 255, 255, .5); background: rgba(7, 7, 9, .75); }
.alta input[type=email] { flex: 1 1 auto; height: auto; padding: 0 14px; background: none; border: 0; border-radius: 9px; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: .98rem; }
.alta input[type=email]:focus { outline: none; }
.alta input[type=email]::placeholder { color: #8d919c; }
.alta .boton { height: auto; padding: 0 16px; border-radius: 9px; font-size: .92rem; font-weight: 500; box-shadow: none; }
.alta .boton:hover { transform: none; }
.estado-form { font-weight: 500; }
.nota { max-width: 44ch; color: #8d919c; }

/* «Cómo funciona» */
.specs { background: #070709; }
.specs::before { display: none; }
.specs > .contenedor > .antetitulo, .specs h2 { text-align: center; }
.specs h2 { font-weight: 500; letter-spacing: -.045em; max-width: none; margin-left: auto; margin-right: auto; }
.celda { background: rgba(255, 255, 255, .018); border-color: rgba(255, 255, 255, .08); border-radius: 16px; }
.celda:hover { border-color: rgba(255, 255, 255, .18); }
.celda h3 { font-weight: 500; }
.c-fp, .c-ue { background: rgba(255, 255, 255, .018); }
.contador { font-weight: 500; background: none; color: #fff; }
.paso, .chips li { background: none; border-color: rgba(255, 255, 255, .1); }
.video { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.video-barra, .video-pie { border-color: rgba(255, 255, 255, .08); }
.bandera { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.pie { border-color: rgba(255, 255, 255, .08); }
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-abajo { min-width: 0; }
.alta input[type=email] { flex: 1 1 0; width: 0; min-width: 0; }
@media (max-width: 560px) {
  .alta .boton span { display: none; }
  .entrada { max-width: 32ch; font-size: .98rem; }
  .alta .boton { padding: 0 13px; }
  .hero { grid-template-rows: 42% 14% 1fr; }
}

/* ---------- v7: botón de la barra solo texto; campo con borde de luz como el horizonte ---------- */
.boton-fantasma, .boton-fantasma:hover { background: none; border-color: transparent; box-shadow: none; padding: 0; height: auto; transform: none; }
.boton-fantasma { color: #fff; }
.boton-fantasma:hover { color: #c9d6ff; }
.barra-botones { gap: 30px; }

.alta { height: 56px; padding: 5px; border: 1px solid transparent; border-radius: 999px;
  background:
    linear-gradient(#09090c, #09090c) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(140, 170, 255, .45) 28%, rgba(61, 109, 255, .14) 62%, rgba(255, 255, 255, .05) 100%) border-box;
  box-shadow: 0 -10px 30px -14px rgba(61, 109, 255, .75), 0 -1px 6px -2px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: box-shadow .25s; }
.alta:focus-within { border-color: transparent;
  background:
    linear-gradient(#09090c, #09090c) padding-box,
    linear-gradient(180deg, #fff 0%, rgba(169, 194, 255, .7) 30%, rgba(61, 109, 255, .3) 65%, rgba(255, 255, 255, .12) 100%) border-box;
  box-shadow: 0 -12px 36px -12px rgba(61, 109, 255, .95), 0 -1px 8px -2px rgba(255, 255, 255, .5); }
.alta input[type=email] { padding: 0 20px; border-radius: 999px; }
.alta .boton { border-radius: 999px; padding: 0 20px; }
@media (max-width: 560px) { .alta .boton { padding: 0 15px; } .alta input[type=email] { padding: 0 16px; } }

/* ---------- v8: todo el texto sobre el horizonte, logo a su proporción, sin barra de scroll ---------- */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
.marca img { width: auto; height: 34px; object-fit: unset; }
.horizonte { top: 63%; }
.hero { grid-template-rows: 53% 13% 1fr; }
.hero-arriba { display: flex; flex-direction: column; align-items: center; padding-bottom: 0; }
h1 { font-size: clamp(2.3rem, min(6.2vw, 9.2vh), 5rem); }
.antetitulo { margin-bottom: clamp(12px, 2vh, 20px); }
.entrada { margin-top: clamp(14px, 2.6vh, 26px); }
.alta { margin-top: 0; }
@media (max-width: 560px) {
  .horizonte { top: 62%; }
  .hero { grid-template-rows: 54% 12% 1fr; }
  .marca img { height: 30px; }
}

/* ---------- v9: el sol recorre el horizonte de izquierda a derecha ---------- */
.horizonte { rotate: none; --a: 27deg; }
.sol { transform-origin: 50% calc(50% + var(--d) / 2); rotate: 12deg; animation: travesia 80s linear infinite; }
@keyframes travesia {
  0% { rotate: calc(var(--a) * -1); opacity: 0; }
  6% { opacity: .6; }
  94% { opacity: .6; }
  100% { rotate: var(--a); opacity: 0; }
}
@media (max-width: 560px) { .horizonte { rotate: none; --a: 17deg; } }
@media (prefers-reduced-motion: reduce) { .sol { animation: none !important; } }

/* ---------- v10: titular en una línea, bloques recolocados y apartado más sobrio ---------- */
h1 { font-size: clamp(2.1rem, min(5.3vw, 9vh), 4.5rem); }
@media (min-width: 720px) { h1 { white-space: nowrap; } }
.hero { grid-template-rows: 47% 23% 1fr; }
.entrada { margin-top: clamp(16px, 2.8vh, 28px); }
@media (max-width: 560px) { .hero { grid-template-rows: 52% 15% 1fr; } }

/* Apartado: sin cajas, solo líneas finas y aire */
.specs { padding-top: clamp(90px, 12vw, 160px); }
.specs h2 { margin-bottom: clamp(48px, 7vw, 96px); }
.rejilla { gap: 0 56px; }
.celda, .c-fp, .c-ue { background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, .1); border-radius: 0; padding: 40px 0 48px; overflow: visible; }
.celda:hover { border-color: rgba(255, 255, 255, .1); }
.celda h3 { font-size: 1.12rem; }
.celda p { color: #8d919c; }
.contador { font-size: clamp(6rem, 12vw, 9rem); letter-spacing: -.07em; }

/* Solo blanco, gris y azul: sin verdes, rojos ni naranjas */
.paso { border-radius: 12px; }
.paso-ok { border-color: rgba(169, 194, 255, .55); background: none; }
.paso-ok .paso-t, .paso-ok .paso-d::before { color: #a9c2ff; }
.paso-no { border-color: rgba(255, 255, 255, .1); background: none; }
.paso-no .paso-t, .paso-no .paso-d::before { color: #6f7480; }
.paso-no .paso-d { color: #6f7480; }
.paso code { color: #c9d6ff; }
.flecha { background: rgba(255, 255, 255, .22); height: 1px; }
.flecha::after { border-left-color: rgba(255, 255, 255, .45); top: -5px; }
.video { background: none; border-radius: 12px; }
.video-barra em { color: #8d919c; border-color: rgba(255, 255, 255, .16); }
.terminal .mal { color: #6f7480; }
.terminal .ok { color: #a9c2ff; font-weight: 500; }
.terminal .cmd::before, .terminal .cursor { color: #a9c2ff; }
.terminal .cursor { background: #a9c2ff; }
.progreso { background: rgba(255, 255, 255, .1); }
.progreso i { background: #fff; }
.bandera { width: min(190px, 60%); margin: 0; border-radius: 8px; }
.l-critico { background: #fff; } .l-medio { background: #6f7480; } .l-ruta { background: #7fa2ff; }
.g-aristas path { stroke: rgba(255, 255, 255, .12); stroke-width: 1.2; }
.g-ruta { stroke: #7fa2ff; filter: none; stroke-width: 1.8; }
.g-nodo circle { fill: #070709; stroke: rgba(255, 255, 255, .2); stroke-width: 1.2; }
.g-nodo.en-ruta circle { stroke: #7fa2ff; fill: #070709; }
.g-nodo.critico circle { stroke: #fff; fill: #070709; }
.g-nodo.medio circle { stroke: #8d919c; fill: #070709; }
.g-nodo .g-halo { stroke: #fff; }
.g-ficha rect { fill: #070709; stroke: rgba(255, 255, 255, .22); filter: none; }
.g-f2 { fill: #a9c2ff; }
.chips li { border-color: rgba(255, 255, 255, .16); }
.c-sup { padding: 32px 0; }
.cierre .boton { border-radius: 999px; padding: 0 26px; font-weight: 500; }
.cierre { border-top: 1px solid rgba(255, 255, 255, .1); padding: clamp(56px, 8vw, 110px) 0; }
@media (min-width: 980px) { .c-mapa { padding: 48px 0; } .c-fp { min-height: 0; } }
@media (max-width: 719px) {
  .celda { padding: 32px 0 36px; }
  .grafo-caja { margin: 0 -16px; padding: 0 16px 6px; }
}
.rejilla { gap: 0; }
@media (min-width: 720px) { .rejilla { gap: 0 32px; } }
@media (min-width: 980px) { .rejilla { gap: 0 56px; } }

/* ---------- v11: el apartado pasa de rejilla de tarjetas a escenas numeradas ---------- */
.escenas { display: block; }
.escena { border-top: 1px solid rgba(255, 255, 255, .1); padding: 28px 0 clamp(56px, 8vw, 104px); }
.escena-cab { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.escena-cab h3 { margin: 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; }
.num { font: 500 .78rem var(--mono); color: #6f7480; letter-spacing: .06em; }
.escena-cab .leyenda { margin: 0 0 0 auto; }

/* 01 · Demo: una web y la terminal del agente */
.demo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; overflow: hidden; background: rgba(0, 0, 0, .35); }
.demo-nav { border-right: 1px solid rgba(255, 255, 255, .1); min-width: 0; }
.demo-term { min-width: 0; display: flex; flex-direction: column; }
.win-barra { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: #8d919c; }
.win-barra i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.win-barra .url { margin-left: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-family: var(--mono); font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-term .url { background: none; padding: 0; }
.win-barra em { margin-left: auto; font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8d919c; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; padding: 2px 7px; }
.web { padding: 22px; display: flex; flex-direction: column; gap: 12px; height: 330px; font-size: .88rem; }
.web-prod { display: flex; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.web-img { flex: none; width: 84px; height: 84px; border-radius: 12px; background: linear-gradient(135deg, rgba(127, 162, 255, .35), rgba(255, 255, 255, .06)); }
.web-info { flex: 1; min-width: 0; }
.web-t { font-weight: 500; color: #fff; font-size: 1rem; }
.web-p { color: #a9c2ff; margin: 2px 0 10px; }
.web-l { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-top: 7px; }
.web-l.corta { width: 60%; }
.web-h { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #6f7480; }
.com { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #c9cdd6; min-width: 0; }
.com b { font-weight: 500; color: #fff; }
.com code { font: 500 .74rem var(--mono); color: #a9c2ff; word-break: break-all; }
.com em { font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #070709; background: #fff; border-radius: 6px; padding: 2px 7px; animation: aparece .3s ease-out; }
.com.nuevo { animation: aparece .3s ease-out; }
@keyframes aparece { from { opacity: 0; translate: 0 6px; } }
.campo { margin-top: auto; display: flex; align-items: center; gap: 2px; min-height: 44px; padding: 5px 5px 5px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; font: 500 .74rem var(--mono); color: #fff; min-width: 0; }
.campo span { min-width: 0; overflow: hidden; white-space: nowrap; }
.campo .cursor, .terminal .cursor { flex: none; display: inline-block; width: 7px; height: 1.1em; background: #a9c2ff; animation: parpadeo 1s steps(1) infinite; }
.campo b { margin-left: auto; flex: none; font: 500 .78rem "Geist", sans-serif; color: #070709; background: #fff; border-radius: 8px; padding: 7px 12px; transition: scale .15s, background .15s; }
.campo b.pulsado { scale: .94; background: #a9c2ff; }
.terminal { flex: 1; height: auto; min-height: 0; margin: 0; padding: 18px; font: 500 .78rem/1.7 var(--mono); color: #b9bec8; white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.terminal .out { color: #8d919c; }
.demo-pie { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .1); font: 500 .76rem var(--mono); color: #8d919c; }
.demo-paso { font-family: "Geist", sans-serif; font-size: .86rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.progreso { flex: 1 1 80px; min-width: 60px; }
.progreso i { transition: width .5s linear; }

/* 02 · Mapa */
.grafo-caja { position: relative; padding: clamp(8px, 2vw, 28px) 0; background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px) 0 0 / 26px 26px; -webkit-mask: radial-gradient(ellipse at center, #000 55%, transparent 100%); mask: radial-gradient(ellipse at center, #000 55%, transparent 100%); }
.grafo { max-width: 1000px; margin: 0 auto; }
.g-ruta { stroke-width: 2; filter: drop-shadow(0 0 5px rgba(127, 162, 255, .8)); }
.g-nodo.critico circle { filter: drop-shadow(0 0 8px rgba(255, 255, 255, .55)); }
.g-nodo.en-ruta circle { filter: drop-shadow(0 0 6px rgba(127, 162, 255, .45)); }

/* 03 y 04 · Dos mitades */
.duo { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(255, 255, 255, .1); }
.duo .escena { border-top: 0; display: flex; flex-direction: column; padding-bottom: clamp(40px, 6vw, 72px); }
.duo .escena + .escena { border-top: 1px solid rgba(255, 255, 255, .1); }
.duo .contador, .duo .bandera { margin: auto; }
.contador { font-size: clamp(8rem, 17vw, 13rem); line-height: .8; padding: 20px 0; }
.bandera { display: block; width: min(330px, 80%); height: auto; border-radius: 0; box-shadow: none; overflow: visible; }
@media (min-width: 720px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo .escena + .escena { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .1); padding-left: clamp(24px, 4vw, 56px); }
  .duo .escena:first-child { padding-right: clamp(24px, 4vw, 56px); }
}

/* Cierre: el mismo campo que en la portada */
.cierre { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.cierre .alta { margin: 0 auto; }
.cierre .estado-form, .cierre .nota { margin-left: auto; margin-right: auto; }

@media (max-width: 719px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
  .demo-nav { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .web { height: 310px; padding: 16px; }
  .terminal { min-height: 230px; font-size: .72rem; }
  .escena-cab .leyenda { margin-left: 0; width: 100%; }
  .demo-pie span:last-child { display: none; }
}

/* v12: el bloque del titular sube; el formulario se queda donde estaba */
.hero { grid-template-rows: 40% 30% 1fr; }
@media (max-width: 560px) { .hero { grid-template-rows: 47% 20% 1fr; } }

/* ---------- v13: sin numeración, emblema de la UE y vídeo como un navegador de Mac ---------- */
.ue-logo { display: block; width: min(170px, 46%); height: auto; margin: auto; border-radius: 8px; }

.mac { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #fff; color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Geist", Arial, sans-serif; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 50px 110px -40px rgba(0, 51, 153, .7), 0 20px 50px -20px rgba(0, 0, 0, .8); }
.mac-top { display: flex; align-items: flex-end; gap: 8px; height: 42px; padding: 0 14px; background: #dfe1e5; }
.luces { display: flex; gap: 8px; align-self: center; margin-right: 10px; }
.luces i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
.luces i:nth-child(2) { background: #febc2e; } .luces i:nth-child(3) { background: #28c840; }
.pestana { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 12px; min-width: 0; width: 240px; background: #fff; border-radius: 10px 10px 0 0; font-size: 12px; color: #3c4043; }
.fav { flex: none; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: #003399; color: #fff; font-size: 10px; font-weight: 700; }
.pestana-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pestana .x { color: #5f6368; font-size: 15px; }
.mas { align-self: center; color: #5f6368; font-size: 19px; line-height: 1; }
.mac-barra { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; background: #fff; }
.nav-i { flex: none; width: 18px; text-align: center; color: #5f6368; font-size: 19px; line-height: 1; }
.nav-i.off { opacity: .35; } .nav-i.gira { font-size: 16px; }
.mac-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: #f1f3f4; border: 2px solid transparent; font-size: 13.5px; color: #202124; }
.mac-url.foco { background: #fff; border-color: #1a73e8; }
.candado { flex: none; width: 13px; height: 13px; fill: #5f6368; stroke: #5f6368; stroke-width: 1.4; }
#mac-url-t { min-width: 0; overflow: hidden; white-space: pre; }
.caret { flex: none; width: 1.5px; height: 17px; margin-left: -7px; background: #202124; animation: parpadeo 1s steps(1) infinite; }
.mac-carga { height: 2px; background: #e8eaed; }
.mac-carga i { display: block; height: 100%; width: 0; background: #1a73e8; opacity: 0; }
.mac-carga.cargando i, #mac-carga.cargando { width: 100%; opacity: 1; transition: width .7s ease-out; }
.mac-pag { height: 410px; overflow: hidden; background: #fff; transition: opacity .18s; }
.mac-pag.sale { opacity: .25; }
.t-nav { display: flex; align-items: center; gap: 24px; height: 54px; padding: 0 30px; border-bottom: 1px solid #ececec; font-size: 13px; color: #555; }
.t-nav b { margin-right: 12px; font-size: 16px; letter-spacing: .16em; color: #111; }
.t-cesta { margin-left: auto; }
.t-prod { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 30px; }
.t-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; background: linear-gradient(135deg, #f1f3f7, #e1e6ee); }
.t-img svg { width: 72%; }
.t-img.vacia svg { visibility: hidden; }
.t-cat { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8a8f98; }
.t-tit { margin: 8px 0 6px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: #111; }
.t-pre { margin-bottom: 14px; font-size: 20px; color: #111; }
.t-des { max-width: 44ch; font-size: 14px; line-height: 1.55; color: #555; overflow-wrap: anywhere; }
.t-btn { display: inline-block; margin-top: 22px; padding: 12px 22px; border-radius: 999px; background: #111; color: #fff; font-size: 13px; font-weight: 500; }
.sel { background: #b4d5fe; color: #111; }
.t-error { padding: 34px 30px; }
.t-error b { display: block; margin-bottom: 12px; font-size: 20px; color: #111; }
.t-error code { display: block; padding: 16px; border-radius: 8px; background: #fdf2f2; color: #a50e0e; font: 13px/1.6 var(--mono); overflow-wrap: anywhere; }
.raton { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; margin: -2px 0 0 -4px; pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); transition-property: translate, scale; transition-timing-function: cubic-bezier(.3, .1, .2, 1), ease; transition-duration: 950ms, 120ms; }
.raton.clic { scale: .8; }

.demo-pie { max-width: 1000px; margin: 18px auto 0; padding: 0 4px; border: 0; }
.demo-pie em { font-style: normal; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; padding: 2px 7px; font-family: "Geist", sans-serif; }

@media (max-width: 719px) {
  .mac-top { height: 36px; padding: 0 10px; } .pestana { width: 170px; height: 29px; } .luces i { width: 10px; height: 10px; } .luces { gap: 6px; }
  .mac-barra { height: 40px; gap: 8px; padding: 0 10px; } .mac-barra .off, .mac-barra .gira { display: none; }
  .mac-url { height: 29px; font-size: 12px; padding: 0 10px; }
  .mac-pag { height: 300px; }
  .t-nav { height: 42px; padding: 0 16px; gap: 14px; font-size: 11.5px; } .t-nav span:not(.t-cesta) { display: none; }
  .t-prod { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 16px; align-items: start; }
  .t-tit { font-size: 19px; margin: 4px 0; } .t-pre { font-size: 15px; margin-bottom: 8px; } .t-des { font-size: 12.5px; } .t-btn { margin-top: 14px; padding: 9px 16px; font-size: 12px; }
  .t-error { padding: 20px 16px; } .t-error b { font-size: 16px; } .t-error code { font-size: 11.5px; padding: 12px; }
  .demo-pie em, .demo-pie span:last-of-type { display: none; }
}
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

/* ---------- v14: menú en blanco, bandera rectangular, vídeo sin brillo ni pie ---------- */
.enlace-barra { color: #fff; font-weight: 500; }
.enlace-barra:hover { color: #c9d6ff; }
.ue-logo { width: min(300px, 74%); border-radius: 0; }
.mac { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 70px -30px rgba(0, 0, 0, .9); }
.raton { transition: scale .11s ease; transition-property: scale; transition-duration: .11s; }
.t-img svg { width: 86%; }
[hidden] { display: none !important; }
/* v15: foto real de la zapatilla */
.t-img { overflow: hidden; background: #eceef1; }
.t-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.t-img.vacia img { visibility: hidden; }

/* v16 · Mapa: al pasar o pulsar el nodo API se abre una ficha mínima con el play que lleva al vídeo */
.g-halo { pointer-events: none; }
.g-api .g-nodo { cursor: pointer; outline: none; }
.g-api .g-nodo:focus-visible circle:not(.g-halo) { stroke-width: 2.4; }
.g-pop { opacity: 0; pointer-events: none; translate: 0 5px; transition: opacity .18s ease, translate .18s ease; cursor: pointer; outline: none; }
.g-api:hover .g-pop, .g-api:focus-within .g-pop, .g-api.abierto .g-pop { opacity: 1; pointer-events: auto; translate: 0 0; }
.g-puente { fill: transparent; }
.g-pop-caja { fill: #0b0c10; stroke: rgba(255, 255, 255, .24); stroke-width: 1; }
.g-pop-play { fill: #fff; transition: scale .18s ease; transform-box: fill-box; transform-origin: center; }
.g-pop:hover .g-pop-play, .g-pop:focus-visible .g-pop-play { scale: 1.1; }
.g-pop:focus-visible .g-pop-caja { stroke: #fff; }
.g-pop-tri { fill: #070709; pointer-events: none; }
.grafo .g-pop text { text-anchor: start; font-family: "Geist", sans-serif; letter-spacing: 0; }
.g-p1 { fill: #fff; font-size: 11.5px; font-weight: 600; }
.g-p2 { fill: #9a9fab; font-size: 10px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .g-pop, .g-pop-play { transition: none; } }

/* v17 · La ficha «Ver vídeo» junto a API queda siempre visible */
.g-pop { opacity: 1; pointer-events: auto; translate: none; transition: none; }

/* v19 · Línea que une el nodo API con su ficha de vídeo */
.g-pop-linea { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1.2; stroke-linecap: round; pointer-events: none; }

/* v20 · Portada sin barra superior: el texto y el formulario quedan a la misma distancia del horizonte */
.portada { --h: 62%; --aire: clamp(38px, 7.5vh, 84px); }
.horizonte { top: var(--h); }
.portada main { flex: 1; display: flex; min-height: 0; }
.hero { flex: 1; grid-template-rows: var(--h) minmax(0, 1fr); }
.hero-arriba { grid-row: 1; align-self: end; padding-bottom: var(--aire); }
.hero-abajo { grid-row: 2; align-self: start; padding-top: var(--aire); }
@media (max-width: 560px) {
  .portada { --h: 60%; --aire: clamp(30px, 6vh, 56px); }
  .horizonte { top: var(--h); }
  .hero { grid-template-rows: var(--h) minmax(0, 1fr); }
}

/* v21 · Flecha mínima al pie de la portada: indica que hay más contenido y baja a «Cómo funciona» */
.bajar { position: absolute; z-index: 2; left: 50%; bottom: clamp(26px, 11vh, 110px); translate: -50% 0; display: grid; place-items: center; width: 44px; height: 44px; color: rgba(255, 255, 255, .55); transition: color .2s ease; }
.bajar:hover, .bajar:focus-visible { color: #fff; }
.bajar svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; animation: bajar 2.4s ease-in-out infinite; }
@keyframes bajar { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 4px; } }
@media (prefers-reduced-motion: reduce) { .bajar svg { animation: none; } }
@media (max-width: 560px) { .bajar { bottom: clamp(18px, 8vh, 70px); } }

/* v22 · El texto sube hacia el tercio superior y la flecha baja al borde inferior de la portada */
.hero-arriba { padding-bottom: clamp(96px, 20vh, 230px); }
.bajar { bottom: 2px; }
@media (max-width: 560px) {
  .hero-arriba { padding-bottom: clamp(70px, 14vh, 150px); }
  .bajar { bottom: 2px; }
}

/* v23: titular «Agente IA de Seguridad Ofensiva», líneas equilibradas en móvil */
.hero h1{text-wrap:balance}

/* ---------- Segundo paso tras apuntarse: para qué lo quiere (mismo estilo que el campo del correo) ---------- */
.interes { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 440px; animation: aparecer .35s ease both; }
.interes-pregunta { margin: 0; font-size: .98rem; font-weight: 500; color: #fff; text-align: center; }
.interes-opciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.opcion { height: 52px; padding: 0 10px; font: inherit; font-size: .9rem; font-weight: 500; line-height: 1.15; color: #fff; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px;
  background:
    linear-gradient(#09090c, #09090c) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(140, 170, 255, .45) 28%, rgba(61, 109, 255, .14) 62%, rgba(255, 255, 255, .05) 100%) border-box;
  box-shadow: 0 -10px 30px -14px rgba(61, 109, 255, .75), 0 -1px 6px -2px rgba(255, 255, 255, .35);
  transition: box-shadow .25s, color .2s; }
.opcion:hover { box-shadow: 0 -12px 36px -12px rgba(61, 109, 255, .95), 0 -1px 8px -2px rgba(255, 255, 255, .5); }
.opcion[aria-pressed="true"] { color: #000; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff) border-box; }
.opcion:disabled { cursor: progress; }
.opcion:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.interes-otro { margin: 0; }
.interes-otro[hidden] { display: none; }
.alta input[type=text] { flex: 1 1 0; width: 0; min-width: 0; padding: 0 20px; color: #fff; font: inherit; font-size: .98rem; background: none; border: 0; border-radius: 999px; }
.alta input[type=text]:focus { outline: none; }
.alta input[type=text]::placeholder { color: #8d919c; }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .interes { animation: none; } }
@media (max-width: 560px) { .opcion { font-size: .84rem; padding: 0 8px; } .interes { gap: 12px; } .alta input[type=text] { padding: 0 16px; } }

/* Autorrelleno del navegador: sin fondo blanco ni azul, texto blanco */
.alta input:-webkit-autofill,
.alta input:-webkit-autofill:hover,
.alta input:-webkit-autofill:focus,
.alta input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff; caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #09090c inset; box-shadow: 0 0 0 1000px #09090c inset;
  transition: background-color 600000s 0s, color 600000s 0s;
}
.alta input:autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 1000px #09090c inset; }

/* Página 404 (26-nov-2026): misma portada que la landing, con un botón para volver */
.pagina-404 { height: 100svh; }
.pagina-404 .hero-abajo { gap: 18px; }
.pagina-404 .boton { text-decoration: none; }
.otro-idioma { font-size: .9rem; color: var(--tenue); }
.otro-idioma a { color: #c9cdd6; text-decoration: underline; text-underline-offset: 3px; }
.otro-idioma a:hover, .otro-idioma a:focus-visible { color: #fff; }

/* Favicon de la tienda de ejemplo: logo que pasó Manuel (public/tienda-logo.png) */
.fav-img { background: #fff; border-radius: 3px; object-fit: contain; }

/* 404: el botón sigue el estilo píldora del campo de correo y de las opciones de interés */
.pagina-404 .boton-volver { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 5px; border: 1px solid transparent; border-radius: 999px; text-decoration: none;
  background:
    linear-gradient(#09090c, #09090c) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, .85) 0%, rgba(140, 170, 255, .45) 28%, rgba(61, 109, 255, .14) 62%, rgba(255, 255, 255, .05) 100%) border-box;
  box-shadow: 0 -10px 30px -14px rgba(61, 109, 255, .75), 0 -1px 6px -2px rgba(255, 255, 255, .35);
  transition: box-shadow .25s; }
.pagina-404 .boton-volver span { display: inline-flex; align-items: center; height: 100%; padding: 0 26px; border-radius: 999px; color: #000; background: #fff; font-size: .95rem; font-weight: 500; transition: background .15s; }
.pagina-404 .boton-volver:hover, .pagina-404 .boton-volver:focus-visible { box-shadow: 0 -12px 36px -12px rgba(61, 109, 255, .95), 0 -1px 8px -2px rgba(255, 255, 255, .5); }
.pagina-404 .boton-volver:hover span { background: #e8e8ea; }
.pagina-404 .boton-volver:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* 404: botón blanco entero, con el borde también blanco (pedido por Manuel, 26-nov) */
.pagina-404 .boton-volver { background: #fff; border-color: #fff; box-shadow: 0 0 0 1px #fff, 0 -10px 30px -14px rgba(61, 109, 255, .75); }
.pagina-404 .boton-volver span { padding: 0 26px; }
.pagina-404 .boton-volver:hover, .pagina-404 .boton-volver:focus-visible { background: #e8e8ea; border-color: #e8e8ea; box-shadow: 0 0 0 1px #e8e8ea, 0 -12px 36px -12px rgba(61, 109, 255, .95); }
