﻿.caracteristicas-materiales {
    padding: 60px 30px;
    text-align: center;    
}

.seccion-titulo {
    font-style: italic;
    font-size: 28px;
    margin-bottom: 50px;
    color: #5a4d3a;
}

.contenedor-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.card-carac {
    position: relative;
    width: 380px;
    height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;    
    overflow: hidden;
}

.contenido-card {
    background-color: rgba(160, 130, 70, 0.75);
    color: white;
    border-radius: 0 0 40px 40px;
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

    .contenido-card h3 {
        font-weight: bold;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .contenido-card p {
        font-size: 16px;
        line-height: 1.6;
    }


@media (max-width: 768px) {
    .contenedor-cards {
        flex-direction: column;
        align-items: center;
    }

    .card-carac {
        width: 90%;
        height: 400px;
    }

    .contenido-card {
        padding: 20px;
        font-size: 14px;
    }

        .contenido-card h3 {
            font-size: 18px;
        }

        .contenido-card p {
            font-size: 14px;
        }
}