:root{
    --color-primario:#2C3639;
    --color-secundario:#d5cebb;
    --color-terciario:#a27b5c;
    --color-hover:#3b5249;
    --color-blanco:#ffffff;
}

body{
    margin:0;
    padding:0;
    font-family:Arial, sans-serif;
    background-color:#f3f1ec;
    color:var(--color-primario);
}

/* ========================= */
/* PORTADA */
/* ========================= */

.contenedorParaPortada{
    position:relative;
    width:100%;
    height:350px;
    overflow:hidden;
}

#presaPortada{
    width:100%;
    height:100%;
    object-fit:cover;
    filter:brightness(70%);
}

.textoPrincipal{
    position:absolute;
    top:50%;
    left:8%;
    transform:translateY(-50%);
    color:white;
    max-width:600px;
    font-size:55px;
    text-shadow:2px 2px 10px rgba(0,0,0,0.8);
}

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

.image-row{
    display:flex;
    justify-content:center;
    gap:30px;
    padding:50px 40px;
    flex-wrap:wrap;
    background-color:#f3f1ec;
}

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

.item{
    width:350px;
    background-color:white;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 0 12px rgba(0,0,0,0.08);
    transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.item:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* ========================= */
/* IMAGENES */
/* ========================= */

.item img{
    width:100%;
    height:220px;
    object-fit:cover;
}

/* ========================= */
/* TEXTO */
/* ========================= */

.text-box{
    padding:20px;
}

.text-box h2{
    margin-top:0;
    font-size:30px;
    color:var(--color-primario);
    margin-bottom:15px;
}

.text-box h3{
    font-size:16px;
    line-height:1.7;
    color:#333;
    font-weight:normal;
}

/* ========================= */
/* BOTON */
/* ========================= */

.btnVerMas{
    margin-top:15px;
    padding:12px 24px;
    border:none;
    border-radius:10px;
    background-color:var(--color-terciario);
    color:white;
    cursor:pointer;
    font-size:16px;
    transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.btnVerMas:hover{
    background-color:var(--color-hover);
    transform:scale(1.08);
}

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

@media(max-width:1000px){

    .image-row{
        justify-content:center;
    }

}

@media(max-width:700px){

    .textoPrincipal{
        font-size:38px;
        left:5%;
        width:90%;
    }

    .item{
        width:100%;
        max-width:400px;
    }

}