/* =========================================================
   SECCIÓN DE PREGUNTAS FRECUENTES (FAQ)
========================================================= */

.faq-section {
    width: 100%;
    background: url('../../img/externalConfintia/back-degree.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 130px 185px;
    position: relative;
}


.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Título */
.faq-title {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.25px;
    color: #535353;
    text-align: left;
    margin: 0 0 48px 0;
}

/* Lista de FAQs */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Cada item de FAQ */
.faq-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    column-gap: 160px;
    align-items: start;
}

/* Pregunta */
.faq-question {
    width: 100%;
    max-width: 320px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.25px;
    color: #535353;
    white-space: normal;
    overflow-wrap: break-word;
}

.faq-item:nth-child(2) .faq-question,
.faq-item:nth-child(3) .faq-question {
    white-space: nowrap;
}


/* Respuesta */
.faq-answer {
    max-width: 520px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0.25px;
    color: #535353;
    text-align: justify;
}

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

/* Tablet */
@media (max-width: 1100px) {
    .faq-section {
        padding: 80px 60px;
        background-attachment: scroll;
    }

    .faq-item {
        gap: 60px;
    }

    .faq-question {
        width: 250px;
    }
}

@media (max-width: 900px) {
    .faq-section {
        padding: 60px 40px;
    }

    .faq-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .faq-list {
        gap: 60px;
    }

    .faq-item {
        flex-direction: column;
        gap: 16px;
    }

    .faq-question {
        width: 100%;
    }

    .faq-answer {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: 48px 20px;
    }

    .faq-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 32px;
    }

    .faq-list {
        gap: 40px;
    }

    .faq-item {
        gap: 12px;
    }

    .faq-question {
        font-size: 16px;
        line-height: 24px;
    }

    .faq-answer {
        font-size: 14px;
        line-height: 22px;
    }
}