/* ===========================
   ESTILOS GENERALES
=========================== */

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

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f7fb;
    color:#333;
    line-height:1.6;
}


/* ===========================
   ENCABEZADO
=========================== */

header{
    background:#ffffff;
    text-align:center;
    padding:25px 20px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

header img{
    width:110px;
    max-width:110px;
    height:auto;
    display:block;
    margin:0 auto 8px;
}

.logo h1,
header h1{
    color:#0b5ed7;
    font-size:36px;
    margin-bottom:10px;
}


/* ===========================
   MENÚ DE NAVEGACIÓN
=========================== */

nav{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    margin-top:10px;
}

nav a{
    color:#0b5ed7;
    text-decoration:none;
    font-weight:bold;
    font-size:16px;
}

nav a:hover{
    color:#084298;
}


/* ===========================
   SECCIONES
=========================== */

section{
    padding:60px 20px;
}

section h2{
    text-align:center;
    color:#0b5ed7;
    margin-bottom:35px;
    font-size:32px;
}

section h3{
    color:#0b5ed7;
    margin-bottom:15px;
}


/* ===========================
   PORTADA / PRESENTACIÓN
=========================== */

.hero{
    text-align:center;
    padding:75px 20px;
    background:linear-gradient(135deg,#eef5ff,#ffffff);
}

.hero h2{
    font-size:40px;
    margin-bottom:20px;
}

.hero p{
    max-width:800px;
    margin:10px auto;
    color:#555;
    font-size:18px;
}


/* ===========================
   TARJETAS DEL INDEX
=========================== */

.cards{
    display:flex;
    justify-content:center;
    align-items:stretch;
    gap:25px;
    flex-wrap:wrap;
    max-width:1200px;
    margin:30px auto 0;
}

.card{
    background:#ffffff;
    width:260px;
    padding:30px 25px;
    border-radius:14px;
    box-shadow:0 5px 15px rgba(0,0,0,.10);
    text-align:center;
    transition:.3s;
}

.card:hover{
    transform:translateY(-7px);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.card h3{
    font-size:21px;
}

.card p{
    color:#555;
    margin-bottom:15px;
}


/* ===========================
   TARJETAS PÁGINAS INTERNAS
=========================== */

.tarjetas{
    display:flex;
    justify-content:center;
    align-items:stretch;
    gap:25px;
    flex-wrap:wrap;
    max-width:1100px;
    margin:30px auto;
}

.tarjeta{
    background:#ffffff;
    width:280px;
    padding:30px 25px;
    border-radius:14px;
    box-shadow:0 5px 15px rgba(0,0,0,.10);
    text-align:center;
    font-weight:bold;
    transition:.3s;
}

.tarjeta:hover{
    transform:translateY(-7px);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}


/* ===========================
   BENEFICIOS
=========================== */

.beneficio{
    background:#ffffff;
    max-width:900px;
    margin:40px auto;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.beneficio h2{
    margin-bottom:25px;
}

.beneficio p{
    margin-bottom:18px;
}

.beneficio ul{
    margin:20px 0 20px 30px;
}


/* ===========================
   ¿POR QUÉ ELEGIRNOS?
=========================== */

.elegirnos{
    background:#eef5ff;
    text-align:center;
}

.elegirnos ul{
    list-style:none;
    max-width:700px;
    margin:auto;
}

.elegirnos li{
    padding:10px;
    font-size:18px;
}


/* ===========================
   CONTACTO
=========================== */

.contacto,
#contacto{
    text-align:center;
    padding:60px 20px;
    background:#ffffff;
}

.contacto p,
#contacto p{
    max-width:850px;
    margin:0 auto 15px;
}


/* ===========================
   BOTONES
=========================== */

.boton{
    display:inline-block;
    margin-top:20px;
    background:#0b5ed7;
    color:#ffffff;
    text-decoration:none;
    padding:14px 30px;
    border-radius:8px;
    font-size:17px;
    font-weight:bold;
    border:none;
    cursor:pointer;
    transition:.3s;
}

.boton:hover{
    background:#084298;
    transform:translateY(-2px);
}


/* ===========================
   PORTAL DE CLIENTES
=========================== */

#portal,
#clientes{
    background:#eef5ff;
    text-align:center;
}

#portal p,
#clientes p{
    max-width:750px;
    margin:auto;
    color:#555;
    font-size:18px;
}


/* ===========================
   PIE DE PÁGINA
=========================== */

footer{
    background:#0b5ed7;
    color:#ffffff;
    text-align:center;
    padding:20px;
    margin-top:0;
}


/* ===========================
   CELULARES Y TABLETS
=========================== */

@media (max-width:768px){

    .logo img{
        width:90px;
    }

    .logo h1,
    header h1{
        font-size:30px;
    }

    nav{
        gap:12px;
    }

    nav a{
        font-size:14px;
    }

    .hero{
        padding:50px 20px;
    }

    .hero h2{
        font-size:30px;
    }

    section{
        padding:45px 20px;
    }

    section h2{
        font-size:26px;
    }

    .card,
    .tarjeta{
        width:90%;
        max-width:360px;
    }

    .beneficio{
        margin:20px;
        padding:25px;
    }

}