/* ==========================================================================
   74. HELP CENTER: ESTRUCTURA Y NAVEGACIÓN (#helpCenter)
   ========================================================================== */
#helpCenter {
    background-color: var(--cream-extra-light);
}

#helpCenter .row {
    margin-inline: 0;
}

#helpCenter .scroll-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

/* Filtros de Categorías (Tabs de ayuda) */
#helpCenter .options {
    display: flex;
    width: auto;
    gap: 24px;
    margin-top: 24px;
    margin-inline: 24px;
    padding-left: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

#helpCenter .options::-webkit-scrollbar {
    width: 0;
}

#helpCenter .options__item {
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    scroll-snap-align: center;
    cursor: pointer;
}

#helpCenter .options__item--active {
    border-color: var(--primary-green);
}

#helpCenter .options__item--inactive {
    color: var(--primary-dark-green-muted);
    font-family: var(--font-main);
    font-weight: 400;
    border-color: var(--primary-green); /* Mantiene el color de borde según el original */
}

/* ==========================================================================
   75. HELP CENTER: ACORDEÓN DE PREGUNTAS (.faqs)
   ========================================================================== */
#helpCenter .faqs {
    margin: 0;
    padding: 0;
    list-style: none;
}

#helpCenter .faqs__item__container {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

#helpCenter .faqs__item__container img {
    transition: 0.5s ease;
}

#helpCenter .faqs__item__container p {
    width: calc(100% - 40px);
    color: var(--primary-dark-green);
    font-family: var(--font-heading); /* Pregunta en Rader */
    font-size: x-large;
    text-align: left;
    text-transform: uppercase;
}

/* Contenido del Acordeón (Respuesta) */
#helpCenter .faqs__item__description {
    position: relative;
    height: 0;
    width: calc(100% - 40px);
    margin-block: 4px;
    overflow: hidden;
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 20px;
    text-align: justify;
    transition: 0.5s ease;
}

/* Estado Activo del Acordeón */
#helpCenter .faqs__item.active .faqs__item__container img {
    transform: rotate(180deg);
}

/* ==========================================================================
   76. HELP CENTER: BLOQUE DE INFORMACIÓN (.info)
   ========================================================================== */
#helpCenter .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 95px auto;
    padding: 2.5rem 0;
    background-color: var(--secondary-green);
    color: var(--cream-extra-light);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.74;
}

#helpCenter .info__title {
    padding-inline: 40px;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

#helpCenter .info__schedule {
    margin: 0;
    font-weight: 400;
}

#helpCenter .info__container {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    gap: 1rem;
}

#helpCenter .info__container__img {
    display: flex;
    align-items: center;
    gap: 8px;
}

#helpCenter .info__container__img p {
    margin: 0;
}

#helpCenter .info__container__img:first-child {
    margin-top: 24px;
}

/* ==========================================================================
   77. HELP CENTER: ACCESOS ADICIONALES Y WHATSAPP (.more)
   ========================================================================== */
#helpCenter .more {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-inline: 0;
    margin-top: 72px;
    margin-bottom: 114px;
}

#helpCenter .more .row {
    justify-content: space-evenly;
    margin: 0;
    gap: 20px;
    row-gap: 32px;
}

#helpCenter .more .col-xs-5 {
    flex-basis: 41.667%;
    max-width: 41.667%;
    white-space: inherit;
}

#helpCenter .more__title {
    margin: 0 0 48px;
    padding-inline: 72px;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    text-transform: uppercase;
}

/* Tarjetas de contacto adicional */
#helpCenter .more__card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 16px;
    padding-inline: 12px;
    background-color: var(--primary-green);
    color: var(--primary-dark-green);
    font-family: var(--font-main);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 8px;
}

/* Botón flotante de WhatsApp */
#helpCenter .whatsapp {
    position: relative;
    width: 100%;
    height: 70px;
}

#helpCenter .whatsapp .logo {
    position: absolute;
    right: 24px;
    bottom: 48px;
}

/* ==========================================================================
   78. HELP CENTER: OPTIMIZACIÓN DESKTOP (min-width: 720px)
   ========================================================================== */
@media (min-width: 720px) {

    /* Navegación de categorías */
    #helpCenter .options {
        justify-content: space-evenly;
    }

    #helpCenter .options__item {
        font-size: 24px;
    }

    /* Tipografía de Acordeones */
    #helpCenter .faqs__item__container__title {
        font-size: 24px;
        font-family: var(--font-heading);
    }

    #helpCenter .faqs__item__description {
        font-size: 16px;
        font-family: var(--font-main);
    }

    /* ==========================================================================
       79. HELP CENTER: BLOQUE DE CONTACTO DESKTOP (.info)
       ========================================================================== */
    #helpCenter .info {
        width: 60%;
        max-width: 720px;
        margin: 85px auto;
        border-radius: var(--radius-lg); /* 16px */
    }

    #helpCenter .info__container {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        width: 100%;
        margin-top: 24px;
    }

    #helpCenter .info__container__img:first-child {
        margin-top: 0;
    }

    /* ==========================================================================
       80. HELP CENTER: ACCESOS "SABER MÁS" (.more)
       ========================================================================== */
    #helpCenter .more__title {
        font-size: 48px;
    }

    #helpCenter .more__card {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24%;
        height: 80px;
        white-space: inherit;
    }

    /* Ajustes de columnas Grid */
    #helpCenter .more .col-md-2 {
        flex-basis: 23%;
        max-width: 23%;
    }
}


@media (max-width: 767px) {

    /* ==========================================================================
       271. CENTRO DE AYUDA (#helpCenter)
       ========================================================================== */
    #helpCenter .container-fluid,
    #helpCenter .container-fluid .col-xs-12 {
        padding: 0;
    }

    #helpCenter .container-fluid {
        padding: 0 10px;
    }

    #helpCenter .faqs .faqs__item .faqs__item__container h3 {
        text-align: start;
    }

    #helpCenter .faqs .faqs__item .faqs__item__description {
        font-size: 16px;
        text-align: start;
    }
}

/* ==========================================================================
   331. AYUDA: ACORDEÓN DE PREGUNTAS FRECUENTES (#helpCenter)
   ========================================================================== */
#helpCenter .faqs .faqs__item {
    border-bottom: 1px solid var(--brand-cream-dark); /* #E8DFD0 */
}

#helpCenter .faqs .faqs__item .faqs__item__container {
    padding-top: 14px;
}

#helpCenter .faqs .faqs__item .faqs__item__container h3 {
    color: var(--primary-dark-green); /* #3E4827 */
    font-weight: 600;
}

#helpCenter .faqs .faqs__item .faqs__item__description {
    margin-bottom: 10px;
}

#helpCenter .faqs .faqs__item .faqs__item__description p {
    color: var(--primary-dark-green);
    font-size: 16px;
    font-weight: 400;
}


/* ==========================================================================
   381. BANNERS: ALTURAS Y POSICIONAMIENTO (Páginas específicas)
   ========================================================================== */
.page-id-16461 .primary-banner,
#helpCenter .primary-banner__background,
.page-id-26 .primary-banner__background {
    display: flex;
    justify-content: flex-end;
    height: 424px;
}

.page-id-16461 .primary-banner__link p,
.page-id-26 .primary-banner__link p,
#helpCenter .primary-banner__link p {
    margin-top: 0;
}
