:root { --fondo: #121928; --panel: #1b2540; --borde: #2f3f63; --texto: #e8eef8; --suave: #a9b8d3; --ambar: #ffb02e; --verde: #1c8642; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 17px/1.6 system-ui, "Segoe UI", sans-serif; }
img { max-width: 100%; height: auto; display: block; }

.portada { min-height: 88vh; display: grid; place-items: center; text-align: center; padding: 48px 20px 80px;
  background: linear-gradient(180deg, rgba(10,16,34,.45), rgba(10,16,34,.35) 55%, var(--fondo)), url(/img/portada.jpg) center 62% / cover; }
.centro { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; }
h1 { margin: 0; width: min(640px, 100%); }
.lema { margin: 0; font-size: clamp(19px, 3vw, 26px); font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.8); }

.boton { display: inline-flex; align-items: center; gap: 14px; padding: 14px 28px 14px 18px; border-radius: 16px; background: var(--verde);
  border: 2px solid #58d884; color: #fff; text-decoration: none; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .15s, background .15s; }
.boton:hover, .boton:focus-visible { background: #22a350; transform: translateY(-2px); }
.boton:focus-visible { outline: 3px solid var(--ambar); outline-offset: 3px; }
.boton span { display: flex; flex-direction: column; line-height: 1.3; }
.boton strong { font-size: 20px; }
.boton small { color: #d3f5df; font-size: 14px; }
.aviso-movil { margin: 0; max-width: 460px; background: rgba(18,25,40,.9); border: 1px solid var(--ambar); border-radius: 12px; padding: 10px 16px; }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { margin: 0 0 72px; }
h2 { color: var(--ambar); font-size: 30px; margin: 0 0 24px; }

.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: -40px; }
.datos div { background: var(--panel); border: 1px solid var(--borde); border-radius: 16px; padding: 20px; text-align: center; }
.datos b { display: block; font-size: 44px; color: var(--ambar); line-height: 1.1; }
.datos span { color: var(--suave); }

.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 22px; }
article { background: var(--panel); border: 1px solid var(--borde); border-radius: 18px; overflow: hidden; }
article img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
article h3 { margin: 16px 20px 4px; font-size: 20px; }
article p { margin: 0 20px 20px; color: var(--suave); }

.instalar { max-width: 760px; margin-inline: auto; }
.nota { background: var(--panel); border-left: 4px solid var(--ambar); border-radius: 10px; padding: 4px 20px; margin: 24px 0; font-size: 15px; color: var(--suave); }
.nota strong { color: var(--texto); }
code { overflow-wrap: anywhere; font-size: 13px; }

footer { border-top: 1px solid var(--borde); text-align: center; color: var(--suave); padding: 26px 20px; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .boton { transition: none; } }
