:root {
    --primary: #1f3a5f;
    --primary-light: #1f6feb;
    --secondary: #0f172a;
    --background: #f4f7fb;
    --card: #ffffff;
    --text: #243042;
    --muted: #64748b;
    --border: #dbe3ef;
    --note-bg: #eef5ff;
    --success-bg: #f0fdf4;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 16px;
}

/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #f7faff 0%, var(--background) 100%);
    color: var(--text);
    line-height: 1.7;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    background: var(--primary);
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    letter-spacing: 1px;
}

.logo-text {
    font-size: 17px;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a,
.mobile-nav a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav a:hover,
.mobile-nav a:hover {
    color: var(--primary-light);
}

.menu-toggle {
    display: none;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 22px;
    padding: 7px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
    background: white;
}

.mobile-nav a {
    padding: 10px 0;
}

/* Contenedor principal */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1f3a5f 0%, #1f6feb 100%);
    color: white;
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 42px;
    margin: 14px 0 8px;
    line-height: 1.2;
}

.hero p {
    max-width: 820px;
    font-size: 17px;
}

.fecha {
    color: #dbeafe;
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

/* Card de contenido */
.content-card {
    background: var(--card);
    padding: 42px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.content-card h2 {
    color: var(--primary);
    font-size: 24px;
    margin-top: 34px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.content-card h2:first-of-type {
    margin-top: 0;
}

.content-card p {
    margin-bottom: 16px;
}

.content-card ul {
    margin: 12px 0 22px 24px;
}

.content-card li {
    margin-bottom: 8px;
}

.nota {
    background: var(--note-bg);
    border-left: 5px solid var(--primary-light);
    padding: 18px 20px;
    margin-bottom: 28px;
    border-radius: 10px;
    color: #1e3a5f;
}

.contact-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
    margin-top: 18px;
}

.contact-box p {
    margin-bottom: 8px;
}

/* Botón volver arriba */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.scroll-top.show {
    display: block;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 28px 20px;
    color: var(--muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav.show {
        display: flex;
    }

    .container {
        padding: 24px 16px;
    }

    .hero {
        padding: 32px 24px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .content-card {
        padding: 28px 22px;
    }

    .content-card h2 {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 14px 16px;
    }

    .logo-text {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .content-card {
        padding: 24px 18px;
    }

    .scroll-top {
        right: 16px;
        bottom: 16px;
    }
}