/* ==========================================
   Páginas de información (about, contacto y
   aviso legal). Comparten esta hoja para no
   repetir estilos. Usa el mismo degradado azul
   y violeta que el panel de la aplicación.
   ========================================== */

:root {
    --ink: #f8fafc;
    --accent: #93c5fd;
    --accent-strong: #bfdbfe;
    --line: rgba(255, 255, 255, 0.18);
    --muted: #cbd5e1;
    --card: rgba(17, 24, 39, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%);
    background-attachment: fixed;
    color: var(--ink);
    line-height: 1.7;
    min-height: 100vh;
}

.site-header,
.page,
.site-footer {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.brand {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-strong);
    text-decoration: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    font-size: .95rem;
}

.site-nav a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.site-nav a[aria-current="page"] {
    text-decoration: underline;
}

.site-nav a:hover,
.site-footer a:hover,
.page a:hover {
    text-decoration: underline;
}

.page {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.page h1 {
    font-size: 2rem;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: .5rem;
}

.page .updated {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.page h2 {
    font-size: 1.3rem;
    color: var(--ink);
    margin: 2rem 0 .6rem;
}

.page h3 {
    font-size: 1.08rem;
    color: var(--accent-strong);
    margin: 1.5rem 0 .5rem;
}

.page p,
.page ul,
.page ol {
    margin-bottom: 1rem;
}

.page ul,
.page ol {
    padding-left: 1.4rem;
}

.page li {
    margin-bottom: .4rem;
}

.page a {
    color: var(--accent);
    font-weight: 600;
}

.page .note {
    background: var(--card);
    border-left: 4px solid var(--accent);
    padding: .9rem 1rem;
    margin: 1.25rem 0;
    border-radius: 0 .5rem .5rem 0;
}

.page .note p:last-child {
    margin-bottom: 0;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    margin: 1.25rem 0;
    background: var(--card);
}

.contact-card p {
    margin-bottom: .4rem;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding-top: 1.25rem;
    padding-bottom: .5rem;
    text-align: center;
    font-size: .95rem;
    color: var(--muted);
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    justify-content: center;
    margin-bottom: .75rem;
}

.site-footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.site-footer-contact {
    margin-bottom: .4rem;
}

.site-footer-copy {
    font-size: .85rem;
    color: #94a3b8;
}

@media (max-width: 480px) {
    .page h1 {
        font-size: 1.6rem;
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
