/* Sitio de presentacion de cabina.aero (inicio.html, guia.html, privacidad, borrar-cuenta, app/). Liviano, sin JS. */
:root { --navy: #0f2a44; --blue: #1565c0; --ink: #1d2b3a; --muted: #5d6b7a; --line: #d6dee8; --soft: #f2f6fb; --warn: #fff3d6; --warn-ink: #7a4a00; }
* { box-sizing: border-box; }
html { scroll-padding-top: 64px; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; }
.s-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
/* Encabezado fijo con "Abrir la app" en todas las paginas */
.s-head { position: sticky; top: 0; z-index: 10; background: var(--navy); color: #fff; }
.s-head .s-wrap { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.s-logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.s-logo img { width: 28px; height: 28px; border-radius: 6px; }
.s-nav { display: flex; gap: 14px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.s-nav a { color: #cfe0f2; text-decoration: none; font-size: 15px; white-space: nowrap; }
.s-nav a:hover { color: #fff; }
.s-open { flex: none; background: #fff; color: var(--navy); font-weight: 800; text-decoration: none; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.s-open:hover { background: #e3eefb; }
@media (max-width: 720px) { .s-nav { display: none; } .s-open { margin-left: auto; } }
/* Portada */
.s-hero { background: linear-gradient(160deg, var(--navy), #1b4a78); color: #fff; padding: 40px 0 32px; }
.s-hero .s-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.s-hero h1 { font-size: 38px; line-height: 1.15; margin: 0 0 12px; }
.s-hero p { font-size: 18px; color: #dbe7f3; margin: 0 0 18px; }
.s-hero .s-shot { justify-self: center; max-width: 280px; }
.s-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.s-btn { display: inline-block; padding: 12px 18px; border-radius: 10px; font-weight: 800; text-decoration: none; background: #fff; color: var(--navy); }
.s-btn.alt { background: transparent; color: #fff; border: 2px solid #9fc1e4; }
.s-btn.blue { background: var(--blue); color: #fff; }
@media (max-width: 720px) { .s-hero .s-wrap { grid-template-columns: 1fr; } .s-hero h1 { font-size: 30px; } .s-hero .s-shot { max-width: 230px; } }
section.s-sec { padding: 36px 0; }
section.s-sec:nth-of-type(even) { background: var(--soft); }
.s-sec h2 { font-size: 26px; margin: 0 0 14px; }
.s-sec h3 { font-size: 18px; margin: 0 0 6px; }
.s-lead { color: var(--muted); margin: -6px 0 18px; }
/* Virtudes */
.s-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.s-card .s-ic { font-size: 24px; }
.s-card p { margin: 4px 0 0; color: #34475a; font-size: 15px; }
/* Capturas */
.s-shots { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.s-shots figure { flex: 0 0 210px; margin: 0; scroll-snap-align: start; }
.s-shots img, .s-shot img { border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15, 42, 68, .18); display: block; }
.s-shots figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; text-align: center; }
/* Funciones y guia */
.s-feat { counter-reset: f; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.s-feat > li { counter-increment: f; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 52px; position: relative; }
.s-feat > li::before { content: counter(f); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.s-feat p { margin: 2px 0 0; }
.s-step { display: grid; grid-template-columns: 1fr 230px; gap: 24px; align-items: start; padding: 26px 0; border-top: 1px solid var(--line); }
.s-step:first-of-type { border-top: 0; }
.s-step ol, .s-step ul { padding-left: 20px; margin: 6px 0; }
.s-step li { margin-bottom: 4px; }
.s-step img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15, 42, 68, .15); }
@media (max-width: 720px) { .s-step { grid-template-columns: 1fr; } .s-step img { max-width: 230px; } }
.s-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.s-toc a { display: inline-block; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; background: #fff; }
/* Aviso y fuentes (los textos salen de la app: tools/sitio.py) */
.s-aviso { background: var(--warn); color: var(--warn-ink); border: 1px solid #f0d78c; border-radius: 12px; padding: 14px 18px; }
.s-aviso ul, .s-src { padding-left: 20px; margin: 0; }
.s-aviso li, .s-src li { margin-bottom: 6px; }
.s-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.s-dl .s-card a.s-btn { margin-top: 10px; }
.s-muted { color: var(--muted); font-size: 14px; }
.s-foot { background: var(--navy); color: #cfe0f2; padding: 22px 0; font-size: 14px; }
.s-foot a { color: #fff; }
/* Paginas de texto (privacidad, borrar cuenta, descarga del APK) */
.s-page { max-width: 760px; margin: 0 auto; padding: 16px; }
/* Guia corta (la misma de la presentacion de la app) */
.in-guide { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 18px; }
.in-guide li { display: flex; gap: 10px; align-items: flex-start; }
.in-ico { flex: 0 0 34px; height: 34px; border-radius: 8px; background: #e3eefb; color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.in-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hidden { display: none !important; }
