/* =========================================================
   FAQ — BASE
   ========================================================= */

.um-faq-page,
.um-faq-page input,
.um-faq-page button {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.um-faq-browser {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 7vw, 110px) 24px 120px;

    background:
        radial-gradient(
            circle at 0% 20%,
            rgba(116, 60, 255, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 100% 35%,
            rgba(0, 213, 255, 0.06),
            transparent 28%
        ),
        #ffffff;
}

.um-faq-browser .um-container {
    width: min(1280px, 100%);
    margin-inline: auto;
}


/* =========================================================
   CABECERA
   ========================================================= */

.um-faq-browser__header {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 60px;
    align-items: end;

    margin-bottom: 34px;
}

.um-faq-browser__eyebrow {
    margin: 0 0 18px;
}

.um-faq-browser__heading {
    margin: 0;

    color: #071536;
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.um-faq-browser__intro {
    max-width: 430px;
    margin: 0;

    color: #53617d;
    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   BUSCADOR
   ========================================================= */

.um-faq-browser__tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;

    margin-bottom: 20px;
}

.um-faq-search {
    position: relative;
    display: flex;
    align-items: center;
}

.um-faq-search__icon {
    position: absolute;
    left: 18px;
    z-index: 2;

    color: #3155ff;
    font-size: 22px;
    pointer-events: none;
}

.um-faq-search input {
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;

    padding: 0 20px 0 52px;

    border: 1px solid #dfe5f2;
    border-radius: 16px;
    outline: none;

    background: #ffffff;

    color: #101936;
    font-size: 16px;

    box-shadow:
        0 10px 30px rgba(16, 25, 54, .04);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.um-faq-search input:focus {
    border-color: #3155ff;
    box-shadow:
        0 0 0 4px rgba(49, 85, 255, .09),
        0 12px 32px rgba(16, 25, 54, .06);
}

.um-faq-search input::placeholder {
    color: #8994ac;
}

.um-faq-open-all {
    min-height: 58px;
    padding: 0 26px;

    border: 1px solid #dfe5f2;
    border-radius: 16px;

    background: #ffffff;
    color: #071536;

    font-size: 14px;
    font-weight: 750;

    cursor: pointer;

    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.um-faq-open-all:hover {
    border-color: #3155ff;
    transform: translateY(-1px);

    box-shadow:
        0 10px 24px rgba(49, 85, 255, .08);
}


/* =========================================================
   FILTROS
   ========================================================= */

.um-faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 36px;
}

.um-faq-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 42px;
    padding: 0 17px;

    border: 1px solid #dfe5f2;
    border-radius: 999px;

    background: #ffffff;
    color: #071536;

    font-size: 13px;
    font-weight: 750;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.um-faq-filter:hover {
    border-color: #743cff;
    color: #743cff;
    transform: translateY(-1px);
}

.um-faq-filter.is-active {
    border-color: transparent;

    background:
        linear-gradient(
            100deg,
            #3155ff,
            #743cff
        );

    color: #ffffff;

    box-shadow:
        0 9px 22px rgba(86, 58, 255, .20);
}

.um-faq-filter span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 23px;
    height: 23px;
    padding-inline: 5px;

    border-radius: 999px;

    background: rgba(255, 255, 255, .18);
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.um-faq-browser__content {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
}


/* =========================================================
   PANEL LATERAL
   ========================================================= */

.um-faq-summary {
    position: sticky;
    top: 125px;

    padding: 24px;

    border: 1px solid #dfe5f2;
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f5f7ff,
            #f1edff
        );

    box-shadow:
        0 16px 40px rgba(16, 25, 54, .05);
}

.um-faq-summary__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;
    margin-bottom: 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #3155ff,
            #743cff
        );

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;

    box-shadow:
        0 10px 24px rgba(80, 59, 255, .22);
}

.um-faq-summary h3 {
    margin: 0 0 12px;

    color: #071536;
    font-size: 21px;
    line-height: 1.15;
}

.um-faq-summary p {
    margin: 0;

    color: #53617d;
    font-size: 14px;
    line-height: 1.55;
}

.um-faq-summary__result {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid #d8deed;

    color: #53617d;
    font-size: 12px;
    font-weight: 700;
}

.um-faq-summary__result strong {
    color: #3155ff;
    font-size: 20px;
}


/* =========================================================
   ACORDEONES
   ========================================================= */

.um-faq-list {
    display: grid;
    gap: 13px;
}

.um-faq-item {
    overflow: hidden;

    border: 1px solid #dfe5f2;
    border-radius: 19px;

    background: #ffffff;

    box-shadow:
        0 9px 28px rgba(16, 25, 54, .035);

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.um-faq-item:hover {
    border-color: #cbd5ed;
}

.um-faq-item.is-open {
    border-color: #a9bfff;

    box-shadow:
        0 14px 34px rgba(49, 85, 255, .07);
}

.um-faq-item__button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;

    width: 100%;
    min-height: 80px;

    padding: 15px 18px;

    border: 0;
    background: transparent;

    color: #071536;
    text-align: left;

    cursor: pointer;
}

.um-faq-item__number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 47px;
    height: 47px;

    border-radius: 14px;

    background: #f4f6ff;
    color: #3155ff;

    font-size: 12px;
    font-weight: 800;
}

.um-faq-item.is-open .um-faq-item__number {
    background:
        linear-gradient(
            135deg,
            #3155ff,
            #743cff
        );

    color: #ffffff;
}

.um-faq-item__question {
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
}

.um-faq-item__toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border: 1px solid #dce3f1;
    border-radius: 13px;

    color: #3155ff;

    font-size: 19px;
    font-weight: 500;

    transition:
        transform .25s ease,
        color .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.um-faq-item.is-open .um-faq-item__toggle {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #3155ff,
            #743cff
        );

    color: #ffffff;

    transform: rotate(45deg);
}

.um-faq-item__answer {
    padding: 0 76px 24px;
}

.um-faq-item__answer-content {
    color: #53617d;
    font-size: 16px;
    line-height: 1.65;
}

.um-faq-item__answer-content p {
    margin: 0 0 15px;
}

.um-faq-item__answer-content p:last-child {
    margin-bottom: 0;
}

.um-faq-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 18px;
}

.um-faq-item__tags span {
    display: inline-flex;
    align-items: center;

    min-height: 28px;
    padding: 0 12px;

    border-radius: 999px;

    background: #f3eaff;
    color: #743cff;

    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   SIN RESULTADOS
   ========================================================= */

.um-faq-empty {
    padding: 42px;

    border: 1px dashed #cfd7ea;
    border-radius: 20px;

    background: #fafbff;

    text-align: center;
}

.um-faq-empty strong {
    display: block;

    color: #071536;
    font-size: 19px;
}

.um-faq-empty p {
    margin: 8px 0 0;

    color: #53617d;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .um-faq-browser__header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .um-faq-browser__content {
        grid-template-columns: 1fr;
    }

    .um-faq-summary {
        position: static;
    }
}

@media (max-width: 650px) {

    .um-faq-browser {
        padding-inline: 16px;
    }

    .um-faq-browser__tools {
        grid-template-columns: 1fr;
    }

    .um-faq-open-all {
        width: 100%;
    }

    .um-faq-item__button {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 11px;

        padding-inline: 13px;
    }

    .um-faq-item__number {
        width: 39px;
        height: 39px;
    }

    .um-faq-item__toggle {
        width: 36px;
        height: 36px;
    }

    .um-faq-item__question {
        font-size: 15px;
    }

    .um-faq-item__answer {
        padding:
            0 16px 21px
            63px;
    }
}

/* =========================================================
   FAQ — HERO
   ========================================================= */

.um-faq-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 8vw, 125px) 24px;

    background:
        radial-gradient(
            circle at 5% 65%,
            rgba(0, 213, 255, .18),
            transparent 34%
        ),
        radial-gradient(
            circle at 93% 15%,
            rgba(116, 60, 255, .20),
            transparent 34%
        ),
        linear-gradient(
            115deg,
            #effcff 0%,
            #f5f7ff 48%,
            #f3e9ff 100%
        );
}

.um-faq-hero__container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, .95fr)
        minmax(440px, .8fr);

    gap: clamp(60px, 8vw, 120px);
    align-items: center;

    width: min(1280px, 100%);
    margin-inline: auto;
}


/* Copy */

.um-faq-hero__eyebrow {
    margin: 0 0 22px;
}

.um-faq-hero__title {
    max-width: 720px;
    margin: 0;

    color: #071536;

    font-size: clamp(52px, 5vw, 78px);
    font-weight: 700;
    line-height: .99;
    letter-spacing: -.055em;
}

.um-faq-hero__description {
    max-width: 650px;

    margin:
        clamp(25px, 3vw, 34px)
        0 0;

    color: #53617d;

    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.6;
}

.um-faq-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;

    margin-top: 32px;
    padding: 0 25px;

    border-radius: 14px;

    background:
        linear-gradient(
            100deg,
            #3155ff,
            #743cff
        );

    box-shadow:
        0 13px 30px rgba(86, 58, 255, .24);

    color: #fff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.um-faq-hero__button:hover,
.um-faq-hero__button:focus {
    color: #fff;
    text-decoration: none;

    transform: translateY(-2px);

    box-shadow:
        0 17px 36px rgba(86, 58, 255, .30);
}

/*
 * Refuerzo de especificidad: evita que estilos globales externos
 * (ej. reglas "a" de Elementor/Eduma) sobrescriban este color.
 * No cambia el diseño: se mantiene blanco en todos los estados.
 */
.um-faq-hero a.um-faq-hero__button,
.um-faq-hero a.um-faq-hero__button:link,
.um-faq-hero a.um-faq-hero__button:visited,
.um-faq-hero a.um-faq-hero__button:hover,
.um-faq-hero a.um-faq-hero__button:focus,
.um-faq-hero a.um-faq-hero__button:active {
    color: #fff;
}


/* Visual */

.um-faq-hero__visual {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.um-faq-hero__photo {
    position: absolute;

    left: -45px;
    top: 50%;

    width: 72%;
    height: 74%;

    overflow: hidden;

    border-radius: 100px 30px 100px 30px;

    transform: translateY(-50%);

    box-shadow:
        0 30px 70px rgba(17, 31, 72, .16);
}

.um-faq-hero__photo::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(49, 85, 255, .10),
            rgba(237, 35, 187, .10)
        );
}

.um-faq-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Tarjeta flotante */

.um-faq-hero-card {
    position: relative;
    z-index: 3;

    width: min(430px, 88%);

    margin-left: auto;

    padding: clamp(28px, 3vw, 40px);

    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(49, 85, 255, .93),
            rgba(116, 60, 255, .92) 48%,
            rgba(237, 35, 187, .91)
        );

    box-shadow:
        0 35px 80px rgba(66, 42, 168, .28);

    color: #fff;

    backdrop-filter: blur(12px);
}

.um-faq-hero-card::before {
    content: "";

    position: absolute;
    top: -45px;
    right: -35px;

    width: 150px;
    height: 150px;

    border: 25px solid rgba(255, 255, 255, .11);
    border-radius: 50%;

    pointer-events: none;
}

.um-faq-hero-card__eyebrow {
    margin: 0 0 22px;
}

.um-faq-hero-card__title {
    position: relative;
    z-index: 2;

    max-width: 370px;
    margin: 0;

    color: #fff;

    font-size: clamp(34px, 3vw, 48px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.04em;
}

.um-faq-hero-card__items {
    position: relative;
    z-index: 2;

    display: grid;
    gap: 10px;

    margin-top: 28px;
}

.um-faq-hero-card__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;

    min-height: 58px;
    padding: 9px 14px;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 14px;

    background: rgba(255, 255, 255, .10);

    backdrop-filter: blur(8px);
}

.um-faq-hero-card__item span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    border-radius: 10px;

    background: rgba(255, 255, 255, .16);

    color: #fff;

    font-size: 11px;
    font-weight: 800;
}

.um-faq-hero-card__item strong {
    color: #fff;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}


/* Decoración */

.um-faq-hero__decor {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.um-faq-hero__decor--one {
    width: 330px;
    height: 330px;

    right: 6%;
    bottom: -180px;

    border: 45px solid rgba(116, 60, 255, .07);
}

.um-faq-hero__decor--two {
    width: 190px;
    height: 190px;

    right: 17%;
    top: 40px;

    border: 25px solid rgba(255, 255, 255, .34);
}


/* Responsive */

@media (max-width: 1000px) {

    .um-faq-hero__container {
        grid-template-columns: 1fr;
    }

    .um-faq-hero__copy {
        max-width: 780px;
    }

    .um-faq-hero__visual {
        width: min(700px, 100%);
        margin-inline: auto;
    }
}

@media (max-width: 650px) {

    .um-faq-hero {
        padding-inline: 16px;
    }

    .um-faq-hero__title {
        font-size: clamp(44px, 13vw, 62px);
    }

    .um-faq-hero__visual {
        min-height: auto;
        padding-top: 40px;
    }

    .um-faq-hero__photo {
        position: relative;
        inset: auto;

        width: 100%;
        height: 300px;

        border-radius: 26px;

        transform: none;
    }

    .um-faq-hero-card {
        width: calc(100% - 24px);

        margin:
            -80px auto
            0;

        border-radius: 25px;
    }
}

/* =========================================================
   CTA FINAL
   ========================================================= */

.um-faq-cta {
    padding: clamp(70px, 8vw, 110px) 24px;
    background: #f5f7ff;
}

.um-faq-cta .um-container {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.um-faq-cta__card {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 60px;

    padding: clamp(45px, 5vw, 70px)
             clamp(40px, 6vw, 80px);

    border-radius: 34px;

    background: linear-gradient(
        110deg,
        #3155ff 0%,
        #743cff 52%,
        #ed23bb 100%
    );

    box-shadow: 0 30px 70px rgba(76, 48, 190, .20);

    color: #fff;
}


/* CONTENIDO */

.um-faq-cta__copy {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.um-faq-cta__eyebrow {
    margin: 0 0 16px;
}

.um-faq-cta__title {
    margin: 0;

    color: #fff;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.um-faq-cta__description {
    max-width: 720px;
    margin: 22px 0 0;

    color: rgba(255, 255, 255, .90);

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}


/* BOTONES */

.um-faq-cta__actions {
    position: relative;
    z-index: 2;

    display: grid;
    gap: 12px;
}

.um-faq-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 54px;
    padding: 0 24px;

    border-radius: 14px;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;

    text-align: center;
    text-decoration: none !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.um-faq-cta__button:hover,
.um-faq-cta__button:focus {
    text-decoration: none !important;
    transform: translateY(-2px);
}

.um-faq-cta__button--primary {
    background: #fff;
    color: #101936;

    box-shadow: 0 12px 28px rgba(20, 15, 75, .16);
}

.um-faq-cta__button--primary:hover {
    background: #f7f8ff;
    color: #101936;
}

.um-faq-cta__button--secondary {
    border: 1px solid rgba(255, 255, 255, .30);
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.um-faq-cta__button--secondary:hover {
    background: rgba(255, 255, 255, .20);
    color: #fff;
}

/*
 * Refuerzo de especificidad: evita que estilos globales externos
 * (ej. reglas "a" de Elementor/Eduma) sobrescriban estos colores.
 * No cambia el diseño: cada botón conserva el mismo color en
 * todos sus estados, igual que hoy en Local.
 */
a.um-faq-cta__button.um-faq-cta__button--primary,
a.um-faq-cta__button.um-faq-cta__button--primary:link,
a.um-faq-cta__button.um-faq-cta__button--primary:visited,
a.um-faq-cta__button.um-faq-cta__button--primary:hover,
a.um-faq-cta__button.um-faq-cta__button--primary:focus,
a.um-faq-cta__button.um-faq-cta__button--primary:active {
    color: #101936;
}

a.um-faq-cta__button.um-faq-cta__button--secondary,
a.um-faq-cta__button.um-faq-cta__button--secondary:link,
a.um-faq-cta__button.um-faq-cta__button--secondary:visited,
a.um-faq-cta__button.um-faq-cta__button--secondary:hover,
a.um-faq-cta__button.um-faq-cta__button--secondary:focus,
a.um-faq-cta__button.um-faq-cta__button--secondary:active {
    color: #fff;
}


/* DECORACIÓN */

.um-faq-cta__circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.um-faq-cta__circle--one {
    width: 230px;
    height: 230px;

    top: -125px;
    right: -35px;

    border: 30px solid rgba(255, 255, 255, .10);
}

.um-faq-cta__circle--two {
    width: 150px;
    height: 150px;

    bottom: -90px;
    left: -70px;

    border: 22px solid rgba(255, 255, 255, .08);
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .um-faq-cta__card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .um-faq-cta__actions {
        display: flex;
        flex-wrap: wrap;
    }

    .um-faq-cta__button {
        min-width: 190px;
    }
}

@media (max-width: 600px) {

    .um-faq-cta {
        padding-inline: 16px;
    }

    .um-faq-cta__card {
        padding: 38px 24px;
        border-radius: 26px;
    }

    .um-faq-cta__actions {
        display: grid;
    }

    .um-faq-cta__button {
        width: 100%;
        box-sizing: border-box;
    }
}