/* ===== CONFIGURACIÓN GENERAL ===== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: #F3F4F6;
    color: #374151;
    line-height: 1.6;
}

/* ===== HEADER ===== */
header{
    background-color: #1E3A8A;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

.logo h1{
    font-size: 28px;
}

nav ul{
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a{
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover{
    color: #93C5FD;
}

/* ===== HERO ===== */
.hero{
    text-align: center;
    padding: 80px 10%;
    background: linear-gradient(
        rgba(37,99,235,0.9),
        rgba(30,58,138,0.9)
    );
    color: white;
}

.hero h2{
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p{
    font-size: 18px;
    max-width: 700px;
    margin: auto;
    margin-bottom: 25px;
}

.hero button{
    background-color: white;
    color: #2563EB;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.hero button:hover{
    background-color: #E5E7EB;
}

/* ===== PRODUCTOS ===== */
.productos-destacados{
    padding: 60px 10%;
    text-align: center;
}

.productos-destacados h2{
    margin-bottom: 40px;
    color: #1E3A8A;
}

.productos{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.producto{
    background-color: white;
    width: 300px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.producto h3{
    color: #2563EB;
    margin-bottom: 10px;
}

.producto p{
    margin-bottom: 10px;
}

.producto button{
    background-color: #2563EB;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.producto button:hover{
    background-color: #1E3A8A;
}

/* ===== BENEFICIOS ===== */
.beneficios{
    background-color: white;
    padding: 60px 10%;
    text-align: center;
}

.beneficios h2{
    color: #1E3A8A;
    margin-bottom: 40px;
}

.beneficios div{
    margin-bottom: 25px;
}

/* ===== CATEGORÍAS ===== */
.categorias{
    padding: 60px 10%;
    text-align: center;
}

.categorias h2{
    color: #1E3A8A;
    margin-bottom: 25px;
}

.categorias ul{
    list-style: none;
}

.categorias li{
    background-color: white;
    margin: 10px auto;
    max-width: 300px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

/* ===== NOSOTROS ===== */
.nosotros{
    background-color: white;
    padding: 60px 10%;
    text-align: center;
}

.nosotros h2{
    color: #1E3A8A;
    margin-bottom: 20px;
}

/* ===== TESTIMONIOS ===== */
.testimonios{
    padding: 60px 10%;
    text-align: center;
}

.testimonios h2{
    color: #1E3A8A;
    margin-bottom: 30px;
}

.testimonios article{
    background-color: white;
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
}

/* ===== FOOTER ===== */
footer{
    background-color: #1E3A8A;
    color: white;
    text-align: center;
    padding: 30px;
}

footer p{
    margin: 10px 0;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px){

    header{
        flex-direction: column;
        gap: 15px;
    }

    nav ul{
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .hero h2{
        font-size: 30px;
    }

    .productos{
        flex-direction: column;
        align-items: center;
    }
}