/* ==============================
   APROMT - FAQs / Hero
   ============================== */

.apromt-faq-hero {
    min-height: 460px;
}

.apromt-faq-hero::before {
    background:
        linear-gradient(90deg,
            rgba(15, 31, 54, 0.96) 0%,
            rgba(15, 31, 54, 0.82) 42%,
            rgba(15, 31, 54, 0.48) 72%,
            rgba(15, 31, 54, 0.22) 100%);
}

.apromt-faq-hero h1,
.apromt-faq-hero h2 {
    max-width: 760px;
    color: #ffffff !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
    letter-spacing: 0.005em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28) !important;
    margin-bottom: 24px !important;
}

.apromt-faq-hero p {
    max-width: 620px;
    color: #ffffff !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
    font-weight: 650 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25) !important;
}

.apromt-faq-hero .wp-block-button__link,
.apromt-faq-hero .uagb-buttons-repeater {
    background: #6d65b3 !important;
    color: #ffffff !important;
    border: 2px solid #6d65b3 !important;
    border-radius: 999px !important;
    padding: 14px 34px !important;
    min-width: 260px;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    box-shadow: 0 12px 28px rgba(109, 101, 179, 0.25);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.apromt-faq-hero .wp-block-button__link:hover,
.apromt-faq-hero .uagb-buttons-repeater:hover {
    background: #ff6b00 !important;
    border-color: #ff6b00 !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255, 107, 0, 0.28);
}

/* ==============================
   APROMT - FAQs / Introducción
   ============================== */

.apromt-faq-intro {
    background: #ffffff;
    padding: clamp(56px, 7vw, 86px) clamp(22px, 4vw, 56px);
    text-align: center;
}

.apromt-faq-intro h2 {
    max-width: 920px;
    margin-inline: auto;
    color: #4b3d78 !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
    letter-spacing: 0.005em;
    text-shadow: none !important;
    margin-bottom: 26px !important;
}

.apromt-faq-intro p {
    max-width: 820px;
    margin-inline: auto;
    color: #24364f !important;
    font-size: 18px !important;
    line-height: 1.75 !important;
    margin-bottom: 26px !important;
}

.apromt-faq-intro p:last-child {
    margin-bottom: 0 !important;
}

/* ==============================
   APROMT - FAQs / Bloques de acordeón
   ============================== */

.apromt-faq-bloque {
    background: #ffffff;
    padding: clamp(48px, 6vw, 76px) clamp(22px, 4vw, 56px);
}

.apromt-faq-bloque h2 {
    max-width: 980px;
    margin-inline: auto;
    color: #4b3d78 !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
    letter-spacing: 0.005em;
    text-shadow: none !important;
    margin-bottom: 18px !important;
}

.apromt-faq-bloque>p {
    max-width: 980px;
    margin-inline: auto;
    color: #24364f !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    margin-bottom: 36px !important;
}

/* Contenedor del acordeón */

.apromt-faq-bloque .wp-block-uagb-faq,
.apromt-faq-bloque .uagb-faq__outer-wrap,
.apromt-faq-acordeon {
    max-width: 980px;
    margin-inline: auto;
}

/* Cada item del acordeón */

.apromt-faq-bloque .uagb-faq-item,
.apromt-faq-bloque .wp-block-uagb-faq-child,
.apromt-faq-bloque .wp-block-uagb-accordion-child {
    background: #ffffff !important;
    border: 1px solid rgba(75, 61, 120, 0.12) !important;
    border-radius: 22px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 12px 30px rgba(67, 32, 90, 0.07) !important;
    overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.apromt-faq-bloque .uagb-faq-item:hover,
.apromt-faq-bloque .wp-block-uagb-faq-child:hover,
.apromt-faq-bloque .wp-block-uagb-accordion-child:hover {
    border-color: rgba(75, 61, 120, 0.22) !important;
    box-shadow: 0 18px 42px rgba(67, 32, 90, 0.10) !important;
}

/* Pregunta */

.apromt-faq-bloque .uagb-faq-questions-button,
.apromt-faq-bloque .uagb-question,
.apromt-faq-bloque .uagb-accordion__toggle,
.apromt-faq-bloque .uagb-accordion-title {
    color: #4b3d78 !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
    text-shadow: none !important;
    padding: 20px 24px !important;
}

/* Respuesta */

.apromt-faq-bloque .uagb-faq-content,
.apromt-faq-bloque .uagb-answer,
.apromt-faq-bloque .uagb-accordion__content {
    color: #24364f !important;
    font-size: 16.5px !important;
    line-height: 1.75 !important;
    padding: 0 24px 24px !important;
}

.apromt-faq-bloque .uagb-faq-content p,
.apromt-faq-bloque .uagb-answer p,
.apromt-faq-bloque .uagb-accordion__content p {
    color: #24364f !important;
    font-size: 16.5px !important;
    line-height: 1.75 !important;
}

/* Iconos + / - */

.apromt-faq-bloque .uagb-faq-icon-wrap,
.apromt-faq-bloque .uagb-icon,
.apromt-faq-bloque .uagb-icon-active,
.apromt-faq-bloque .uagb-accordion__icon {
    color: #6d65b3 !important;
    fill: #6d65b3 !important;
}

.apromt-faq-bloque-alt {
    background: #f7f4fb;
}

/* ==============================
   APROMT - FAQs / CTA final
   ============================== */

.apromt-faq-cta-final {
    max-width: 1180px;
    margin: clamp(48px, 6vw, 76px) auto;
    background: linear-gradient(135deg, #f7f4fb 0%, #ebe7f7 100%);
    border: 1px solid rgba(75, 61, 120, 0.10);
    border-radius: 32px;
    padding: clamp(48px, 6vw, 76px) clamp(22px, 4vw, 56px);
    text-align: center;
    box-shadow: 0 18px 46px rgba(67, 32, 90, 0.08);
}

.apromt-faq-cta-final h2 {
    /*max-width: 880px;*/
    margin-inline: auto;
    color: #4b3d78 !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.18 !important;
    letter-spacing: 0.005em;
    text-shadow: none !important;
    margin-bottom: 22px !important;
}

.apromt-faq-cta-final p {
    max-width: 980px;
    margin-inline: auto;
    color: #24364f !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    margin-bottom: 18px !important;
}

.apromt-faq-cta-final p:last-of-type {
    margin-bottom: 34px !important;
}

.apromt-faq-cta-botones,
.apromt-faq-cta-final .wp-block-buttons,
.apromt-faq-cta-final .uagb-buttons__outer-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: wrap;
}

/* Botones */

.apromt-faq-cta-final .wp-block-button__link,
.apromt-faq-cta-final .uagb-buttons-repeater {
    border-radius: 999px !important;
    padding: 14px 34px !important;
    min-width: 240px;
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    text-align: center;
    box-shadow: 0 12px 28px rgba(67, 32, 90, 0.14);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.apromt-faq-cta-final .wp-block-button__link:hover,
.apromt-faq-cta-final .uagb-buttons-repeater:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(67, 32, 90, 0.20);
}

/* Primer botón */

.apromt-faq-cta-final .wp-block-button:first-child .wp-block-button__link,
.apromt-faq-cta-final .uagb-buttons-repeater:first-child {
    background: #6d65b3 !important;
    color: #ffffff !important;
    border: 2px solid #6d65b3 !important;
}

/* Segundo botón */

.apromt-faq-cta-final .wp-block-button:last-child .wp-block-button__link,
.apromt-faq-cta-final .uagb-buttons-repeater:last-child {
    background: transparent !important;
    color: #6d65b3 !important;
    border: 2px solid #6d65b3 !important;
}

.apromt-faq-cta-final .wp-block-button:last-child .wp-block-button__link:hover,
.apromt-faq-cta-final .uagb-buttons-repeater:last-child:hover {
    background: #6d65b3 !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .apromt-faq-cta-final {
        margin: 40px 18px;
        border-radius: 26px;
    }

    .apromt-faq-cta-final .wp-block-button__link,
    .apromt-faq-cta-final .uagb-buttons-repeater {
        width: 100%;
        min-width: 0;
    }
}