/* =========================================
   ESTILOS GENERALES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}


/* =========================================
   ENCABEZADO
========================================= */

header {
    width: 100%;
    background: #071a2f;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.logo-text span {
    color: #27a9e1;
}


/* =========================================
   NAVEGACIÓN
========================================= */

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

nav a:hover {
    color: #27a9e1;
}

.btn-login {
    background: #12618a;
    padding: 11px 20px;
    border-radius: 7px;
}

.btn-login:hover {
    background: #1680b5;
    color: white;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: calc(100vh - 75px);

    display: flex;
    align-items: center;

    padding: 60px 7%;

    background:
        linear-gradient(
            135deg,
            #071a2f,
            #0b3155,
            #12618a
        );

    color: white;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #27a9e1;
}

.hero p {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}


/* =========================================
   BOTONES
========================================= */

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.2s;
}

.btn-primary {
    background: #27a9e1;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #168fc3;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}


/* =========================================
   SECCIÓN INFORMACIÓN
========================================= */

.section {
    padding: 80px 7%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 34px;
    color: #071a2f;
    margin-bottom: 12px;
}

.section-title p {
    color: #6b7280;
}


/* =========================================
   TARJETAS
========================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.card {
    background: white;

    padding: 30px;

    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.06);

    transition: 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.card h3 {
    color: #071a2f;
    margin-bottom: 12px;
}

.card p {
    color: #6b7280;
    line-height: 1.6;
}


/* =========================================
   PIE DE PÁGINA
========================================= */

footer {
    background: #071a2f;

    color: white;

    text-align: center;

    padding: 30px 20px;
}

footer p {
    color: rgba(255,255,255,0.7);

    font-size: 14px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 800px) {

    header {
        flex-direction: column;
        gap: 18px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}

.boton {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 16px;
    background: #1f4e79;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.boton:hover {
    background: #163a5c;
}