*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background:linear-gradient(135deg,#c4dcfa,#dbe8f5);
    color:#324158;
    line-height:1.6;
}

/* Contenedor principal */
.contenedor{
    width:90%;
    max-width:1300px;
    margin:35px auto;
    background:#ffffff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

/* Títulos */
h1,h2,h3{
    color:#203c7e;
    font-weight:700;
}

p{
    color:#434242;
}

/* Enlaces */
a{
    text-decoration:none;
    color:inherit;
}

/* Imágenes */
img{
    max-width:150%;
    display:block;
}


/* Secciones */
section{
    padding:70px 60px;
}

/*======================
 ENCABEZADO
=======================*/

.encabezado {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: #0b1f4d;
    color: white;
    border-radius: 1rem;
}

.logo img {
    width: 200px;
    height: 100x;
    object-fit: contain;
}

.titulo h1 {
    font-size: 3rem;
    margin-bottom: .5rem;
    letter-spacing: 2px;
}

.titulo p {
    font-size: 1.2rem;
    color: #dce8ff;
}

/*======================
 MENU
=======================*/

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #0b1f4d, #153b85);
    border-radius: 15px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.opcion {
    flex: 1;
    text-align: center;
    transition: .3s;
    position: relative;
}

.opcion a {
    display: block;
    padding: 18px 0;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: .3s;
}

.opcion:hover {
    background: rgba(255, 255, 255, .08);
}

.opcion:hover a {
    color: #00c8ff;
}

.opcion::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #00c8ff;
    transition: .35s ease;
    transform: translateX(-50%);
}

.opcion:hover::after {
    width: 75%;
}

.activo {
    background: rgba(255, 255, 255, .12);
}

.activo a {
    color: #00c8ff;
}

.activo::after {
    width: 75%;
}

/*======================
 BANNER
=======================*/

.banner {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .6s ease;
}

.banner:hover img {
    transform: scale(1.05);
}

/*======================
 PRESENTACION
=======================*/

.presentacion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: #ffffff72;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    margin: 40px 0;
}

.texto {
    flex: 1;
}

.texto h2 {
    font-size: 38px;
    color: #0b1f4d;
    margin-bottom: 20px;
}

.texto p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.imagen {
    flex: 0.5;
}

.imagen img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.boton {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 25px;
    background: #0b1f4d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.boton:hover {
    background: #1645a3;
    transform: scale(1.05);
}

/*======================
 TARJETAS
=======================*/

.servicios {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    width: 32%;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0 .8rem rgba(0, 0, 0, .2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, .25);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card h3 {
    color: #0b1f4d;
    margin: 1rem;
    font-size: 1.3rem;
}

.card p {
    padding: 0 1rem 1.5rem;
    text-align: justify;
    line-height: 1.6;
    color: #555;
}

/*======================
 BENEFICIOS
=======================*/

.beneficios {
    margin-top: 2rem;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0 .8rem rgba(0, 0, 0, .15);
}

.beneficios h2 {
    text-align: center;
    color: #0b1f4d;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.lista {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.item {
    width: 48%;
    background: #eef3fb;
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 5px solid #0b1f4d;
    transition: .3s ease;
}

.item:hover {
    transform: translateY(-8px);
    background: #dce8ff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.item h3 {
    color: #12326d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.item p {
    text-align: justify;
    line-height: 1.6;
    color: #444;
}

.boton-contacto {
    text-align: center;
    margin-top: 2rem;
}

.boton {
    display: inline-block;
    padding: 12px 30px;
    background: #0b1f4d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: .3s;
}

.boton:hover {
    background: #1645a3;
    transform: scale(1.05);
}


/*======================
 TABLA
=======================*/

.tabla {
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0 .8rem rgba(0, 0, 0, .15);
}

.tabla h2 {
    text-align: center;
    color: #0b1f4d;
    margin-bottom: 1.5rem;
}

.tabla table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.tabla th {
    background: #0b1f4d;
    color: white;
    padding: 1rem;
    text-align: center;
}

.tabla td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    color: #444;
}

.tabla tr:hover {
    background: #eef3fb;
}

.tabla tr:last-child td {
    border-bottom: none;
}

/*======================
 FOOTER
=======================*/

.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    background: #0b1f4d;
    color: white;
    padding: 2rem;
    margin-top: 2rem;
}

.footer div {
    width: 22%;
}

.footer h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer p {
    line-height: 1.6;
    color: #dce8ff;
}

.derechos {
    background: #081633;
    color: white;
    text-align: center;
    padding: 1rem;
}

.derechos p {
    margin: 0;
}

/*======================
 RESPONSIVE
=======================*/

@media(max-width:60rem) {

    .encabezado {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        width: 100%;
        margin-bottom: 2rem;
    }

    .titulo {
        width: 100%;
        text-align: center;
    }

    .menu {
        flex-direction: column;
    }

    .opcion {
        width: 100%;
    }

    .servicios {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    .lista {
        flex-direction: column;
    }

    .item {
        width: 100%;
    }

    .footer {
        flex-direction: column;
    }

    .footer div {
        width: 100%;
    }

}