
/* ==========================
   RESET
========================== */

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

body{
    font-family:'Montserrat',sans-serif;
    background:#f5f5f5;
    color:#17182c;
    line-height:1.7;
}

html{
    scroll-behavior:smooth;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* ==========================
   CONTENEDOR
========================== */

.envoltura-menu{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
   NAVBAR
========================== */

.menu-principal{
    padding:25px 0;
    background:#f5f5f5;
    position:sticky;
    top:0;
    z-index:100;
}

.barra-flex{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.marca-sitio{
    color:#17182c;
    font-size:1.5rem;
    font-weight:700;
}

.lista-menu{
    list-style:none;
    display:flex;
    gap:25px;
    align-items:center;
}

.lista-menu a{
    color:#17182c;
    transition:.3s;
}

.lista-menu a:hover{
    opacity:.7;
}

.boton-menu{
    background:#17182c;
    color:white !important;
    padding:12px 22px;
    border-radius:14px;
    font-weight:600;
}

/* ==========================
   HERO
========================== */

.seccion-principal{
    padding:120px 0 80px;
    text-align:center;
}

.texto-principal h1{
    font-size:5rem;
    font-weight:300;
    max-width:900px;
    margin:auto;
    line-height:1.1;
    margin-bottom:25px;
}

.texto-principal p{
    max-width:750px;
    margin:auto;
    color:#555;
    font-size:1.1rem;
}

/* ==========================
   TARJETAS
========================== */

.seccion-informativa{
    margin-bottom:40px;
}

.tarjeta-informativa{
    background:white;
    padding:40px;
    border-radius:25px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

    transition:.3s;
}

.tarjeta-informativa:hover{
    transform:translateY(-5px);
}

.tarjeta-informativa h2{
    margin-bottom:20px;
    font-size:2rem;
}

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

.tarjeta-informativa ul{
    padding-left:25px;
}

.tarjeta-informativa li{
    margin-bottom:12px;
}

/* ==========================
   TARJETA FINAL
========================== */

.tarjeta{
    background:white;

    padding:50px;

    border-radius:25px;

    margin-bottom:80px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);
}

.tarjeta h2{
    margin-bottom:20px;
}

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

.botones-principales{
    margin-top:25px;

    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.boton-ayuda{
    background:#17182c;
    color:white;

    padding:14px 28px;
    border-radius:14px;
}

.boton-contacto{
    border:2px solid #17182c;
    color:#17182c;

    padding:14px 28px;
    border-radius:14px;
}

/* ==========================
   EFECTO ESPECIAL
========================== */

.tarjeta-informativa:nth-child(1){
    border-left:6px solid #17182c;
}

/* ==========================
   FOOTER
========================== */

footer{
    background:white;
    padding:50px 20px;
    text-align:center;
    border-top:1px solid #eee;
}

footer h3{
    margin-bottom:15px;
}

footer p{
    color:#666;
    margin-bottom:10px;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){

    .barra-flex{
        flex-direction:column;
        gap:20px;
    }

    .lista-menu{
        flex-wrap:wrap;
        justify-content:center;
    }

    .texto-principal h1{
        font-size:3.5rem;
    }

}

@media(max-width:700px){

    .texto-principal h1{
        font-size:2.5rem;
    }

    .tarjeta-informativa{
        padding:30px;
    }

    .tarjeta{
        padding:30px;
    }

    .botones-principales{
        flex-direction:column;
    }

    .boton-ayuda,
    .boton-contacto{
        text-align:center;
    }

}

