* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* ====================== SECCIÓN PROBLEMAS ====================== */
#problemas {
    background-color: #ffffff;
    padding: 100px 20px;
}

.problemas-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#problemas h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.subtitulo {
    font-size: 20px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.5;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background-color: white;
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.315);
    text-align: left;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}

.card .numero {
    font-size: 52px;
    font-weight: 700;
    color: #cf0c57;
    line-height: 1;
    min-width: 60px;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

.card p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

/* ===Responsive para telefonos=== */

@media (max-width: 576px) {
    #problemas {
        padding: 20px 15px;
    }

    #problemas h2 {
        font-size: 25px;
    }

    .subtitulo {
        font-size: 15px;
        margin-bottom: 50px;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card {
        padding: 30px 25px;
    }

    .card .numero {
        font-size: 45px;
        min-width: 50px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card p {
        font-size: 16px;
    }
}

@media (max-width: 380px) {
    #problemas {
        padding: 60px 12px;
    }

    #problemas h2 {
        font-size: 28px;
    }

    .subtitulo {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .card {
        padding: 25px 20px;
    }

    .card .numero {
        font-size: 40px;
    }

    .card h3 {
        font-size: 19px;
    }
}