:root {
    --azul: #0b3d5c;
    --azul-claro: #1d6fa5;
    --acento: #2ea3b8;
    --texto: #1c2733;
    --gris: #5b6b78;
    --fondo: #ffffff;
    --fondo-alt: #f4f8fb;
    --borde: #e2eaf0;
}

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

body {
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--texto);
    background: var(--fondo);
    line-height: 1.6;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--azul) 0%, var(--azul-claro) 100%);
    color: #fff;
    padding: 72px 0 64px;
}
.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand-mark {
    display: inline-block;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 700;
    opacity: .85;
    margin-bottom: 8px;
}
.hero h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}
.tagline { margin-top: 10px; font-size: 18px; opacity: .9; }

/* BOTONES */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary { background: #fff; color: var(--azul); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.25); }

/* SECCIONES */
.section { padding: 64px 0; }
.section-alt { background: var(--fondo-alt); }
.section h2 {
    font-size: 28px;
    color: var(--azul);
    margin-bottom: 32px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.card {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: 12px;
    padding: 24px;
}
.card h3 { color: var(--azul); margin-bottom: 8px; font-size: 19px; }
.card p { color: var(--gris); }
.card.center { text-align: center; }

.pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    background: #eef2f5;
    color: var(--gris);
    margin-bottom: 12px;
}
.pill-on { background: #e3f5ee; color: #1b8a5a; }

/* FOOTER */
.footer {
    background: var(--azul);
    color: #fff;
    padding: 28px 0;
    text-align: center;
}
.footer .muted { opacity: .7; font-size: 14px; margin-top: 4px; }

@media (max-width: 640px) {
    .hero h1 { font-size: 30px; }
    .hero .container { justify-content: center; text-align: center; }
}
