/* ==========================================
   Páginas de información (about, contacto y
   condiciones). Comparten la misma hoja para no
   repetir estilos en cada archivo.
   ========================================== */

:root {
    --ink: #1e293b;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --line: #e2e8f0;
    --muted: #64748b;
    --bg-page: #f8fafc;
    --card: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #ffffff 30%, var(--bg-page) 100%);
    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);
    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);
    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: #eff6ff;
    border-left: 4px solid var(--accent);
    padding: .9rem 1rem;
    margin: 1.25rem 0;
    border-radius: 0 4px 4px 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);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.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: #777;
}

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

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