/* =========================================================
   MOTOGRAPHIX V9 — PREGUNTAS FRECUENTES
   ========================================================= */

.mgx-faq {
    --faq-red: #e30613;
    --faq-red-dark: #b9000a;
    --faq-black: #070707;
    --faq-dark: #101010;
    --faq-dark-2: #171717;
    --faq-text: #f7f8fb;
    --faq-muted: #c2c7d0;
    --faq-line: rgba(255,255,255,.12);
    --faq-soft: rgba(255,255,255,.09);
    --faq-white: #ffffff;
    overflow: clip;
    background:
        radial-gradient(circle at 50% 0%, rgba(227,6,19,.16), transparent 31%),
        linear-gradient(180deg, #11141b 0%, #0b0d12 44%, #07080b 100%);
    color: #fff;
}

.mgx-faq *,
.mgx-faq *::before,
.mgx-faq *::after {
    box-sizing: border-box;
}

.mgx-faq [hidden] {
    display: none !important;
}

.mgx-faq .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================================================
   HERO
   ========================================================= */

.mgx-faq-hero {
    position: relative;
    isolation: isolate;
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 76% 45%, rgba(227, 6, 19, .17), transparent 24%),
        linear-gradient(125deg, #050505 0%, #0b0b0b 58%, #121212 100%);
    color: #fff;
    overflow: hidden;
}

.mgx-faq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .26;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to right, transparent 0%, #000 42%, #000 100%);
}

.mgx-faq-hero::after {
    content: "";
    position: absolute;
    width: 44vw;
    height: 2px;
    right: -7vw;
    bottom: 68px;
    z-index: -1;
    background: linear-gradient(90deg, transparent, var(--faq-red));
    transform: rotate(-13deg);
    box-shadow: 0 0 28px rgba(227, 6, 19, .65);
}

.mgx-faq-hero__grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 70px;
    padding-top: 88px;
    padding-bottom: 88px;
}

.mgx-faq-hero__content {
    max-width: 710px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 30px;
    background: linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.025)),rgba(8,8,11,.52);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10),0 28px 70px rgba(0,0,0,.30);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
}

.mgx-faq-kicker,
.mgx-faq-group__heading > div > span,
.mgx-faq-help__content > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.mgx-faq-kicker {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.mgx-faq-kicker::before,
.mgx-faq-group__heading > div > span::before,
.mgx-faq-help__content > span::before {
    content: "";
    width: 30px;
    height: 3px;
    background: var(--faq-red);
}

.mgx-faq-hero h1 {
    margin: 0;
    max-width: 750px;
    font-size: clamp(46px, 5.2vw, 78px);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 900;
    text-transform: uppercase;
}

.mgx-faq-hero__content > p {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
}

.mgx-faq-hero__actions,
.mgx-faq-help__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.mgx-faq-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    font-weight: 700;
    border-radius: 999px;
}

.mgx-faq-btn:hover {
    transform: translateY(-2px);
}

.mgx-faq-btn--primary {
    background: var(--faq-red);
    color: #fff;
}

.mgx-faq-btn--primary:hover {
    background: var(--faq-red-dark);
    color: #fff;
}

.mgx-faq-btn--ghost {
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.035);
    color: #fff;
}

.mgx-faq-btn--ghost:hover {
    border-color: #fff;
    background: transparent;
    color: #090909;
}

.mgx-faq-btn--dark {
    background: rgba(227,6,19,.92);
    color: #fff;
}

.mgx-faq-btn--light {
    background: transparent;
    color: #111;
}

.mgx-faq-hero__visual {
    position: relative;
    min-height: 350px;
    display: grid;
    place-items: center;
}

.mgx-faq-question-mark {
    position: relative;
    z-index: 3;
    width: 190px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.12), transparent 28%),
        linear-gradient(145deg, #1c1c1c, #070707);
    box-shadow:
        0 35px 75px rgba(0,0,0,.48),
        inset 0 0 60px rgba(227,6,19,.08),
        0 0 0 18px rgba(255,255,255,.015);
    color: #fff;
    font-size: 112px;
    line-height: 1;
    font-weight: 900;
}

.mgx-faq-question-mark::after {
    content: "";
    position: absolute;
    width: 74px;
    height: 5px;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    background: var(--faq-red);
    box-shadow: 0 0 24px rgba(227,6,19,.75);
}

.mgx-faq-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.mgx-faq-orbit--one {
    width: 290px;
    height: 290px;
}

.mgx-faq-orbit--two {
    width: 410px;
    height: 410px;
    border-style: dashed;
    border-color: rgba(227,6,19,.22);
}

.mgx-faq-float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 190px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 7px;
    background: rgba(17,17,17,.84);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0,0,0,.28);
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 700;
}

.mgx-faq-float-card i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(227,6,19,.14);
    color: var(--faq-red);
}

.mgx-faq-float-card--top {
    top: 45px;
    right: 0;
}

.mgx-faq-float-card--bottom {
    left: 0;
    bottom: 46px;
}

/* =========================================================
   SEARCH + FILTERS
   ========================================================= */

.mgx-faq-tools {
    position: relative;
    z-index: 8;
    margin-top: -38px;
}

.mgx-faq-search-card {
    padding: 20px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    background: linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.025)),rgba(12,12,16,.70);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09),0 22px 58px rgba(0,0,0,.28);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
}

.mgx-faq-search {
    position: relative;
    display: flex;
    align-items: center;
}

.mgx-faq-search > i {
    position: absolute;
    left: 19px;
    color: #9a9a9f;
    pointer-events: none;
}

.mgx-faq-search input {
    width: 100%;
    height: 58px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 5px;
    outline: none;
    padding: 0 56px 0 50px;
    background: rgba(255,255,255,.96);
    color: #111;
    font: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.mgx-faq-search input:focus {
    border-color: var(--faq-red);
    background: transparent;
    box-shadow: 0 0 0 3px rgba(227,6,19,.08);
}

.mgx-faq-search__clear {
    position: absolute;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    display: none;
    place-items: center;
    background: #ededee;
    color: #555;
    cursor: pointer;
}

.mgx-faq-search__clear.is-visible {
    display: grid;
}

.mgx-faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mgx-faq-filter {
    min-height: 36px;
    padding: 0 13px;
    color: rgba(255,255,255,.72);
    font: inherit;
    font-size: 10px;
    letter-spacing: .08em;
    cursor: pointer;
    transition: .2s ease;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.045);
    border-radius: 999px;
}

.mgx-faq-filter:hover,
.mgx-faq-filter.is-active {
    border-color: rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    color: #fff;
}

.mgx-faq-filter.is-active {
    border-color: var(--faq-red);
    background: var(--faq-red);
}

.mgx-faq-result-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

.mgx-faq-result-line [data-faq-count] {
    color: #fff;
    font-weight: 700;
}

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

.mgx-faq-content {
    padding: 82px 0 108px;
}

.mgx-faq-group + .mgx-faq-group {
    margin-top: 76px;
}

.mgx-faq-group__heading {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 24px;
}

.mgx-faq-group__number {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
    background: rgba(227,6,19,.14);
    border: 1px solid rgba(255,45,58,.30);
    border-radius: 16px;
}

.mgx-faq-group__heading > div > span {
    color: var(--faq-red);
    margin: 2px 0 7px;
    font-size: 10px;
}

.mgx-faq-group__heading > div > span::before {
    display: none;
}

.mgx-faq-group__heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.05;
    letter-spacing: -.035em;
    font-weight: 900;
}

.mgx-faq-list {
    border-top: 0;
    display: grid;
    gap: 10px;
}

.mgx-faq-item {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.035)),
        rgba(28,31,39,.78);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05),0 12px 30px rgba(0,0,0,.16);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    backdrop-filter: blur(16px) saturate(135%);
}

.mgx-faq-item summary {
    list-style: none;
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
    gap: 24px;
    padding: 0 20px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.mgx-faq-item summary::-webkit-details-marker {
    display: none;
}

.mgx-faq-item summary > span {
    font-size: 16px;
    line-height: 1.45;
    transition: color .2s ease;
    font-weight: 600;
}

.mgx-faq-item summary > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.72);
    font-size: 12px;
    transition: transform .25s ease, background .2s ease, color .2s ease;
}

.mgx-faq-item summary:hover > span,
.mgx-faq-item[open] summary > span {
    color: var(--faq-red);
}

.mgx-faq-item[open] summary > i {
    transform: rotate(45deg);
    background: var(--faq-red);
    color: #fff;
}

.mgx-faq-item.is-search-match {
    border-left: 3px solid var(--faq-red);
}

.mgx-faq-answer {
    max-width: 940px;
    padding: 0 68px 24px 20px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,.68);
    font-weight: 500;
}

.mgx-faq-answer p {
    margin: 0;
}

.mgx-faq-answer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
}

.mgx-faq-answer a:hover {
    color: var(--faq-red);
}

.mgx-faq-empty {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed #d7d7da;
    border-radius: 8px;
    background: rgba(255,255,255,.96);
}

.mgx-faq-empty__icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(227,6,19,.92);
    color: #fff;
}

.mgx-faq-empty h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.mgx-faq-empty p {
    margin: 10px auto 22px;
    color: var(--faq-muted);
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.mgx-faq-help {
    padding: 0 0 100px;
    background: transparent;
}

.mgx-faq-help__card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 220px;
    padding: 40px 44px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 30px;
    background: radial-gradient(circle at 10% 0%,rgba(227,6,19,.18),transparent 28%),linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.02)),rgba(12,12,16,.68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09),0 24px 60px rgba(0,0,0,.28);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
}

.mgx-faq-help__card::after {
    content: "?";
    position: absolute;
    right: 28%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.03);
    font-size: 230px;
    line-height: 1;
    font-weight: 900;
    pointer-events: none;
}

.mgx-faq-help__icon {
    position: relative;
    z-index: 1;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--faq-red);
    color: #fff;
    font-size: 32px;
    box-shadow: 0 0 0 10px rgba(227,6,19,.12);
}

.mgx-faq-help__content,
.mgx-faq-help__actions {
    position: relative;
    z-index: 1;
}

.mgx-faq-help__content > span {
    color: rgba(255,255,255,.78);
    font-size: 10px;
}

.mgx-faq-help__content h2 {
    margin: 9px 0 8px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 900;
}

.mgx-faq-help__content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.63);
    font-size: 14px;
    line-height: 1.7;
}

.mgx-faq-help__actions {
    flex-direction: column;
    align-items: flex-start;
    min-width: 230px;
    margin-top: 0;
}

.mgx-faq-help__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.mgx-faq-help__link:hover {
    color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
    .mgx-faq-hero__grid {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 34px;
    }

    .mgx-faq-question-mark {
        width: 158px;
        font-size: 94px;
    }

    .mgx-faq-orbit--one {
        width: 245px;
        height: 245px;
    }

    .mgx-faq-orbit--two {
        width: 330px;
        height: 330px;
    }

    .mgx-faq-float-card {
        min-width: 170px;
        padding: 11px 12px;
    }

    .mgx-faq-help__card {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .mgx-faq-help__actions {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .mgx-faq-hero {
        min-height: auto;
    }

    .mgx-faq-hero::before {
        mask-image: none;
        opacity: .18;
    }

    .mgx-faq-hero__grid {
        display: block;
        padding-top: 70px;
        padding-bottom: 92px;
    }

    .mgx-faq-hero h1 {
        max-width: 520px;
        font-size: clamp(42px, 13vw, 62px);
    }

    .mgx-faq-hero__content > p {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.65;
    }

    .mgx-faq-hero__actions {
        gap: 9px;
        margin-top: 26px;
    }

    .mgx-faq-btn {
        min-height: 47px;
        padding: 0 16px;
        font-size: 10px;
    }

    .mgx-faq-hero__visual {
        display: none;
    }

    .mgx-faq-tools {
        margin-top: -32px;
    }

    .mgx-faq-search-card {
        padding: 14px;
        border-radius: 7px;
    }

    .mgx-faq-search input {
        height: 54px;
        font-size: 14px;
    }

    .mgx-faq-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        margin-right: -14px;
        padding-right: 14px;
    }

    .mgx-faq-filters::-webkit-scrollbar {
        display: none;
    }

    .mgx-faq-filter {
        flex: 0 0 auto;
    }

    .mgx-faq-result-line {
        align-items: flex-start;
        font-size: 10px;
    }

    .mgx-faq-result-line > span:last-child {
        text-align: right;
    }

    .mgx-faq-content {
        padding: 62px 0 78px;
    }

    .mgx-faq-group + .mgx-faq-group {
        margin-top: 58px;
    }

    .mgx-faq-group__heading {
        grid-template-columns: 43px minmax(0, 1fr);
        gap: 13px;
        margin-bottom: 18px;
    }

    .mgx-faq-group__number {
        width: 43px;
        height: 43px;
        font-size: 11px;
    }

    .mgx-faq-group__heading h2 {
        font-size: 25px;
    }

    .mgx-faq-item summary {
        min-height: 70px;
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 12px;
    }

    .mgx-faq-item summary > span {
        font-size: 14px;
    }

    .mgx-faq-item summary > i {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .mgx-faq-answer {
        padding: 0 42px 22px 0;
        font-size: 13.5px;
        line-height: 1.7;
    }

    .mgx-faq-help {
        padding-bottom: 70px;
    }

    .mgx-faq-help__card {
        display: block;
        min-height: 0;
        padding: 30px 24px;
    }

    .mgx-faq-help__card::after {
        right: -16px;
        top: 12px;
        transform: none;
        font-size: 170px;
    }

    .mgx-faq-help__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 24px;
        font-size: 26px;
    }

    .mgx-faq-help__content h2 {
        font-size: 32px;
    }

    .mgx-faq-help__actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 24px;
    }
}

@media (max-width: 390px) {
    .mgx-faq-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .mgx-faq-hero__actions .mgx-faq-btn {
        width: 100%;
    }

    .mgx-faq-result-line > span:last-child {
        display: none;
    }

    .mgx-faq-answer {
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mgx-faq *,
    .mgx-faq *::before,
    .mgx-faq *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   CONTRASTE FINAL — FAQ iOS GLASS
   ========================================================= */
.mgx-faq-tools .container,
.mgx-faq-content .container,
.mgx-faq-help .container {
    position: relative;
}

.mgx-faq-search-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
        rgba(28,31,39,.88);
}

.mgx-faq-filter {
    color: rgba(255,255,255,.78);
}

.mgx-faq-filter:hover {
    color: #fff;
}

.mgx-faq-result-line,
.mgx-faq-result-line [data-faq-count] {
    color: rgba(255,255,255,.76);
}

.mgx-faq-group__heading h2,
.mgx-faq-item summary,
.mgx-faq-empty h2 {
    color: #fff;
}

.mgx-faq-item summary > span {
    font-weight: 600;
}

.mgx-faq-answer,
.mgx-faq-empty p {
    color: rgba(238,241,247,.76);
}

.mgx-faq-answer strong {
    color: #fff;
    font-weight: 700;
}

.mgx-faq-answer a {
    color: #ff5a65;
    font-weight: 700;
}

.mgx-faq-help__card {
    background:
        radial-gradient(circle at 10% 0%, rgba(227,6,19,.20), transparent 31%),
        linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04)),
        rgba(27,30,38,.88);
}

@media (max-width: 760px) {
    .mgx-faq-item summary {
        padding-left: 16px;
        padding-right: 14px;
    }
    .mgx-faq-answer {
        padding-left: 16px;
        padding-right: 52px;
    }
}

/* Contraste de controles que usan superficie clara */
.mgx-faq-btn--ghost:hover {
    background: #fff;
    color: #090909;
}

.mgx-faq-btn--light {
    background: #fff;
    color: #111;
}

.mgx-faq-search input:focus {
    background: #fff;
    color: #111;
}

.mgx-faq-empty {
    border-color: rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.055);
}
