/* ===============================
   FAQ SECTION (FULL WIDTH)
================================ */

.faq-section {
    width: 100%;
    background: #ffffff;
    padding: 40px 16px;
}

/* Contenedor interno */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 100px;
}

/* ===============================
   TITLES
================================ */

.faq-title {
    color: var(--Brand-Colors-Blue-00, #1B365D);
    text-align: center;
    font-family: "Encode Sans";
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.72px;
    margin-bottom: 16px;
}

.faq-subtitle {
    color: var(--Brand-Colors-Blue-00, #1B365D);
    text-align: center;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 32px;
}

/* ===============================
   FAQ LIST
================================ */

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

/* ===============================
   FAQ ITEM
================================ */

.faq-item {
    border-radius: 10px;
    border: 1px solid var(--Black-A-E-80, #E9EBEC);
    background: var(--White--Background-Background, #F7F7F7);
    overflow: hidden;
}

/* ===============================
   HEADER
================================ */

.faq-header {
    width: 100%;
    height: 68px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Quitar borde / outline al click */
.faq-header,
.faq-header:focus,
.faq-header:focus-visible,
.faq-header:active {
    outline: none;
    box-shadow: none;
}

/* ===============================
   QUESTION & ICON
================================ */

.faq-question {
    color: var(--JetSmart-Blue, #263F6A);
    font-family: Lato;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-icon {
    color: var(--JetSmart-Blue, #263F6A);
    font-size: 18px;
    line-height: 26px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* ===============================
   HOVER (solo cerrado)
================================ */

.faq-item:not(.active):hover .faq-question,
.faq-item:not(.active):hover .faq-icon {
    color: var(--Turquoise, #00ABC8);
}

/* ===============================
   CONTENT
================================ */

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: #FFFFFF;
    transition: max-height 0.35s ease;
}

.faq-content p {
    color: var(--JetSmart-Blue, #263F6A);
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* ===============================
   ACTIVE STATE
================================ */

.faq-item.active .faq-header {
    background: var(--Turquoise, #00ABC8);
}

.faq-item.active .faq-question,
.faq-item.active .faq-icon {
    color: #ffffff;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

.faq-item.active .faq-content {
    max-height: 300px;
}

/* ===============================
   FAQ FOOTER LINK
================================ */

.faq-footer {
    margin-top: 32px;
    text-align: center;
}

.faq-all-link {
    color: var(--Brand-Colors-Turquoise-00, #00AEC7);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;

    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 6%;
    text-underline-offset: 11.5%;
    text-underline-position: from-font;

    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Ícono */
.faq-all-icon {
    font-size: 14px;
    line-height: 16px;
}

/* Hover sutil */
.faq-all-link:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.4px;
    }

    .faq-subtitle{
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px; /* 125% */
    }
}

