/* ========================================
   FAQ
======================================== */

.faq-page {
    padding:
        64px
        24px
        88px;

    background:
        #F6F8FB;
}


.faq-container {
    width: 100%;
    max-width: 860px;

    margin: 0 auto;
}


/* ========================================
   HERO
======================================== */

.faq-hero {
    max-width: 700px;

    margin:
        0 auto 36px;

    text-align: center;
}


.faq-hero__label {
    display: inline-block;

    margin-bottom: 12px;

    color: #128C66;

    font-size: 12px;
    font-weight: 700;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;
}


.faq-hero h1 {
    margin:
        0
        0
        14px;

    color: #031633;

    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;

    letter-spacing:
        -0.025em;
}


.faq-hero p {
    margin: 0;

    color: #5C6772;

    font-size: 17px;
    line-height: 1.65;
}


/* ========================================
   LISTA
======================================== */

.faq-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* ========================================
   ITEM
======================================== */

.faq-item {
    overflow: hidden;

    border:
        1px solid #DDE5EB;

    border-radius:
        16px;

    background:
        #FFFFFF;

    box-shadow:
        0 8px 24px
        rgba(3, 22, 51, 0.05);
}


.faq-question {
    width: 100%;

    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding:
        18px
        22px;

    border: 0;

    background:
        #FFFFFF;

    color:
        #082B4C;

    text-align: left;

    font-family:
        "Public Sans",
        sans-serif;

    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.2s ease;
}


.faq-question:hover {
    background:
        #F7FAFC;
}


.faq-question
.material-symbols-outlined {
    flex-shrink: 0;

    color:
        #128C66;

    font-size: 24px;

    transition:
        transform 0.25s ease;
}


.faq-question[aria-expanded="true"] {
    background:
        #F3FBF8;
}


.faq-question[aria-expanded="true"]
.material-symbols-outlined {
    transform:
        rotate(45deg);
}


/* ========================================
   RESPUESTA
======================================== */

.faq-answer {
    padding:
        0
        22px
        20px;

    background:
        #F3FBF8;

    border-top:
        1px solid #DDEBE6;
}


.faq-answer p {
    margin:
        16px
        0
        0;

    color:
        #52606C;

    font-size: 14px;
    line-height: 1.7;
}


.faq-answer a {
    color:
        #0E7C8C;

    font-weight: 700;

    text-decoration: none;
}


.faq-answer a:hover {
    text-decoration:
        underline;
}


/* ========================================
   CTA
======================================== */

.faq-cta {
    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    gap: 18px;

    margin-top:
        28px;

    padding:
        24px;

    border-radius:
        18px;

    background:
        #031633;

    color:
        #FFFFFF;
}


.faq-cta__icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius:
        14px;

    background:
        rgba(
            93,
            224,
            207,
            0.12
        );

    color:
        #5DE0CF;
}


.faq-cta__icon
.material-symbols-outlined {
    font-size: 26px;
}


.faq-cta__content h2 {
    margin:
        0
        0
        5px;

    font-size: 18px;
}


.faq-cta__content p {
    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.72
        );

    font-size: 13px;
    line-height: 1.6;
}


.faq-cta__button {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        11px
        17px;

    border-radius:
        999px;

    background:
        #5DE0CF;

    color:
        #031633;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;
}


/* ========================================
   MÓVIL
======================================== */

@media (max-width: 767px) {

    .faq-page {
        padding:
            36px
            16px
            56px;
    }


    .faq-hero {
        margin-bottom:
            28px;

        text-align:
            left;
    }


    .faq-hero h1 {
        font-size:
            30px;
    }


    .faq-hero p {
        font-size:
            15px;
    }


    .faq-question {
        min-height:
            58px;

        padding:
            16px
            18px;

        font-size:
            15px;
    }


    .faq-answer {
        padding:
            0
            18px
            18px;
    }


    .faq-cta {
        grid-template-columns:
            1fr;

        gap:
            14px;

        padding:
            22px
            20px;
    }


    .faq-cta__button {
        width:
            100%;
    }

}