/* ========================================
   BASE
======================================== */

.help-page {

    background:
        var(--rumby-cream);

}


.mobile-nav a.active {

    color:
        var(--rumby-teal-dark);

}


.help-mobile-badge {

    background:
        rgba(25, 181, 165, 0.10);

    color:
        var(--rumby-teal-dark);

}



/* ========================================
   ELEMENTOS COMPARTIDOS
======================================== */

.help-eyebrow,
.help-section-eyebrow {

    width:
        fit-content;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        8px 13px;

    border:
        1px solid rgba(25, 181, 165, 0.20);

    border-radius:
        999px;

    background:
        rgba(25, 181, 165, 0.07);

    color:
        var(--rumby-teal-dark);

    font-size:
        0.8rem;

    font-weight:
        700;

}


.help-eyebrow {

    margin:
        0 auto 19px;

}


.help-section-eyebrow {

    margin-bottom:
        17px;

}


.help-eyebrow-dot {

    width:
        8px;

    height:
        8px;

    flex:
        0 0 auto;

    border-radius:
        50%;

    background:
        var(--rumby-coral);

}


.help-section-heading {

    max-width:
        800px;

    margin-bottom:
        42px;

}


.help-section-heading-center {

    margin-left:
        auto;

    margin-right:
        auto;

    text-align:
        center;

}


.help-section-heading-center .help-section-eyebrow {

    margin-left:
        auto;

    margin-right:
        auto;

}


.help-section-title {

    margin:
        0 0 16px;

    color:
        var(--rumby-dark);

    font-size:
        clamp(2.35rem, 4vw, 4rem);

    font-weight:
        800;

    line-height:
        1.03;

    letter-spacing:
        -0.05em;

}


.help-section-title span {

    color:
        var(--rumby-teal);

}


.help-section-description {

    max-width:
        690px;

    margin:
        0;

    color:
        var(--rumby-text);

    font-size:
        1rem;

    line-height:
        1.7;

}


.help-section-heading-center .help-section-description {

    margin-left:
        auto;

    margin-right:
        auto;

}



/* ========================================
   HERO
======================================== */

.help-hero {

    position:
        relative;

    overflow:
        hidden;

    padding:
        92px 0 100px;

    background:
        linear-gradient(
            180deg,
            #F8F7F3 0%,
            #F1F8F6 100%
        );

}


.help-hero-content {

    position:
        relative;

    z-index:
        4;

    max-width:
        900px;

    margin:
        0 auto;

    text-align:
        center;

}


.help-hero-title {

    margin:
        0 0 20px;

    color:
        var(--rumby-dark);

    font-size:
        clamp(3.2rem, 6vw, 6rem);

    font-weight:
        800;

    line-height:
        0.96;

    letter-spacing:
        -0.06em;

}


.help-hero-title span {

    color:
        var(--rumby-teal);

}


.help-hero-description {

    max-width:
        650px;

    margin:
        0 auto 35px;

    color:
        var(--rumby-text);

    font-size:
        clamp(1rem, 1.6vw, 1.18rem);

    line-height:
        1.7;

}



/* ========================================
   DECORACIÓN HERO
======================================== */

.help-hero-decoration {

    position:
        absolute;

    border-radius:
        50%;

    pointer-events:
        none;

}


.help-hero-decoration-teal {

    width:
        420px;

    height:
        420px;

    top:
        -260px;

    right:
        -95px;

    background:
        rgba(25, 181, 165, 0.075);

}


.help-hero-decoration-coral {

    width:
        96px;

    height:
        96px;

    left:
        9%;

    bottom:
        75px;

    background:
        rgba(255, 107, 94, 0.18);

}


.help-hero-decoration-yellow {

    width:
        74px;

    height:
        74px;

    right:
        13%;

    bottom:
        50px;

    background:
        rgba(255, 200, 87, 0.36);

}



/* ========================================
   BUSCADOR
======================================== */

.help-search {

    max-width:
        750px;

    margin:
        0 auto;

}


.help-search-field {

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    min-height:
        72px;

    padding:
        0 22px;

    border:
        1px solid rgba(23, 35, 33, 0.09);

    border-radius:
        22px;

    background:
        rgba(255, 255, 255, 0.97);

    box-shadow:
        0 18px 45px rgba(23, 35, 33, 0.10);

    transition:
        border-color var(--rumby-transition),
        box-shadow var(--rumby-transition),
        transform var(--rumby-transition);

}


.help-search-field:focus-within {

    transform:
        translateY(-2px);

    border-color:
        rgba(25, 181, 165, 0.38);

    box-shadow:
        0 22px 50px rgba(23, 35, 33, 0.13);

}


.help-search-field > i {

    flex:
        0 0 auto;

    margin-right:
        15px;

    color:
        var(--rumby-teal);

    font-size:
        1.3rem;

}


.help-search-input {

    flex:
        1;

    min-width:
        0;

    height:
        68px;

    border:
        0;

    outline:
        0;

    background:
        transparent;

    color:
        var(--rumby-dark);

    font-family:
        inherit;

    font-size:
        0.97rem;

}


.help-search-input::placeholder {

    color:
        #8A9793;

}


.help-search-input::-webkit-search-cancel-button {

    display:
        none;

}


.help-search-clear {

    width:
        38px;

    height:
        38px;

    flex:
        0 0 auto;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        0;

    border-radius:
        12px;

    background:
        #EEF4F2;

    color:
        #64736F;

    cursor:
        pointer;

    transition:
        background var(--rumby-transition),
        color var(--rumby-transition);

}


.help-search-clear:hover {

    background:
        rgba(25, 181, 165, 0.12);

    color:
        var(--rumby-teal-dark);

}



/* ========================================
   SUGERENCIAS DE BÚSQUEDA
======================================== */

.help-search-hints {

    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    margin-top:
        18px;

    color:
        #7A8783;

    font-size:
        0.75rem;

}


.help-search-hints button {

    padding:
        6px 10px;

    border:
        1px solid rgba(23, 35, 33, 0.08);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, 0.67);

    color:
        var(--rumby-teal-dark);

    font-family:
        inherit;

    font-size:
        0.72rem;

    font-weight:
        700;

    cursor:
        pointer;

    transition:
        border-color var(--rumby-transition),
        background var(--rumby-transition);

}


.help-search-hints button:hover {

    border-color:
        rgba(25, 181, 165, 0.27);

    background:
        rgba(25, 181, 165, 0.08);

}



/* ========================================
   CATEGORÍAS
======================================== */

.help-topics {

    padding:
        100px 0 105px;

    background:
        white;

}


.help-topic-grid {

    display:
        grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap:
        15px;

}


.help-topic-card {

    min-width:
        0;

    min-height:
        170px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    justify-content:
        space-between;

    padding:
        22px;

    border:
        1px solid rgba(23, 35, 33, 0.075);

    border-radius:
        22px;

    background:
        #FBFCFA;

    color:
        var(--rumby-dark);

    font-family:
        inherit;

    text-align:
        left;

    cursor:
        pointer;

    transition:
        transform var(--rumby-transition),
        border-color var(--rumby-transition),
        background var(--rumby-transition),
        box-shadow var(--rumby-transition);

}


.help-topic-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(25, 181, 165, 0.20);

    box-shadow:
        0 15px 35px rgba(23, 35, 33, 0.065);

}


.help-topic-card.active {

    border-color:
        rgba(25, 181, 165, 0.34);

    background:
        rgba(25, 181, 165, 0.055);

    box-shadow:
        0 15px 38px rgba(23, 35, 33, 0.07);

}


.help-topic-icon {

    width:
        52px;

    height:
        52px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        17px;

    font-size:
        1.35rem;

}


.help-topic-icon-all {

    background:
        rgba(25, 181, 165, 0.10);

    color:
        var(--rumby-teal);

}


.help-topic-icon-rumby {

    background:
        rgba(25, 181, 165, 0.10);

    color:
        var(--rumby-teal);

}


.help-topic-icon-account {

    background:
        rgba(255, 107, 94, 0.10);

    color:
        var(--rumby-coral);

}


.help-topic-icon-business {

    background:
        rgba(255, 200, 87, 0.16);

    color:
        #C88C09;

}


.help-topic-icon-payment {

    background:
        rgba(25, 181, 165, 0.09);

    color:
        var(--rumby-teal-dark);

}


.help-topic-icon-security {

    background:
        rgba(70, 119, 154, 0.10);

    color:
        #46779A;

}


.help-topic-copy {

    display:
        block;

}


.help-topic-copy strong {

    display:
        block;

    margin-bottom:
        5px;

    font-size:
        0.92rem;

    font-weight:
        800;

}


.help-topic-copy small {

    display:
        block;

    color:
        #7B8884;

    font-size:
        0.69rem;

    line-height:
        1.4;

}



/* ========================================
   FAQ
======================================== */

.help-faq {

    position:
        relative;

    overflow:
        hidden;

    padding:
        105px 0 115px;

    background:
        var(--rumby-cream);

}


.help-faq::before {

    content:
        "";

    position:
        absolute;

    left:
        -220px;

    top:
        270px;

    width:
        430px;

    height:
        430px;

    border-radius:
        50%;

    background:
        rgba(255, 200, 87, 0.08);

    pointer-events:
        none;

}


.help-faq-intro {

    position:
        sticky;

    top:
        150px;

    max-width:
        370px;

}


.help-faq-title {

    margin:
        0 0 18px;

    color:
        var(--rumby-dark);

    font-size:
        clamp(2.25rem, 3.5vw, 3.5rem);

    font-weight:
        800;

    line-height:
        1.03;

    letter-spacing:
        -0.05em;

}


.help-faq-title span {

    display:
        block;

    color:
        var(--rumby-teal);

}


.help-faq-intro > p {

    margin:
        0 0 25px;

    color:
        var(--rumby-text);

    font-size:
        0.9rem;

    line-height:
        1.7;

}


.help-result-summary {

    width:
        fit-content;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    padding:
        9px 12px;

    border:
        1px solid rgba(25, 181, 165, 0.12);

    border-radius:
        999px;

    background:
        rgba(25, 181, 165, 0.06);

    color:
        #697773;

    font-size:
        0.72rem;

}


.help-result-count {

    min-width:
        25px;

    height:
        25px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--rumby-teal);

    color:
        white;

    font-weight:
        800;

}



/* ========================================
   ACORDEÓN FAQ
======================================== */

.help-accordion {

    display:
        grid;

    gap:
        12px;

}


.help-faq-item {

    overflow:
        hidden;

    border:
        1px solid rgba(23, 35, 33, 0.075) !important;

    border-radius:
        20px !important;

    background:
        white;

    box-shadow:
        0 8px 25px rgba(23, 35, 33, 0.035);

    transition:
        border-color var(--rumby-transition),
        box-shadow var(--rumby-transition);

}


.help-faq-item:hover {

    border-color:
        rgba(25, 181, 165, 0.19) !important;

}


.help-faq-item.is-hidden {

    display:
        none;

}


.help-faq-item .accordion-button {

    min-height:
        78px;

    display:
        flex;

    align-items:
        center;

    gap:
        15px;

    padding:
        18px 21px;

    border:
        0;

    background:
        white;

    color:
        var(--rumby-dark);

    font-size:
        0.9rem;

    font-weight:
        800;

    box-shadow:
        none;

}


.help-faq-item .accordion-button:not(.collapsed) {

    background:
        rgba(25, 181, 165, 0.045);

    color:
        var(--rumby-teal-dark);

}


.help-faq-item .accordion-button:focus {

    box-shadow:
        none;

}


.help-faq-item .accordion-button::after {

    width:
        34px;

    height:
        34px;

    flex:
        0 0 34px;

    margin-left:
        auto;

    border-radius:
        11px;

    background-color:
        #F1F5F3;

    background-position:
        center;

    background-size:
        13px;

}


.help-question-icon {

    width:
        43px;

    height:
        43px;

    flex:
        0 0 43px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        14px;

    background:
        rgba(25, 181, 165, 0.085);

    color:
        var(--rumby-teal);

    font-size:
        1.05rem;

}


.help-faq-item .accordion-body {

    padding:
        4px 72px 25px 79px;

    color:
        #687672;

    font-size:
        0.87rem;

    line-height:
        1.75;

}



/* ========================================
   ESTADO SIN RESULTADOS
======================================== */

.help-empty-state {

    padding:
        55px 25px;

    border:
        1px dashed rgba(23, 35, 33, 0.14);

    border-radius:
        25px;

    background:
        rgba(255, 255, 255, 0.65);

    text-align:
        center;

}


.help-empty-icon {

    width:
        65px;

    height:
        65px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin:
        0 auto 18px;

    border-radius:
        20px;

    background:
        rgba(25, 181, 165, 0.08);

    color:
        var(--rumby-teal);

    font-size:
        1.5rem;

}


.help-empty-state h3 {

    margin:
        0 0 8px;

    color:
        var(--rumby-dark);

    font-size:
        1.2rem;

    font-weight:
        800;

}


.help-empty-state p {

    max-width:
        470px;

    margin:
        0 auto 21px;

    color:
        #74817D;

    font-size:
        0.82rem;

    line-height:
        1.6;

}


.help-secondary-button {

    min-height:
        45px;

    padding:
        10px 16px;

    border:
        1px solid rgba(25, 181, 165, 0.22);

    border-radius:
        13px;

    background:
        rgba(25, 181, 165, 0.07);

    color:
        var(--rumby-teal-dark);

    font-family:
        inherit;

    font-size:
        0.79rem;

    font-weight:
        700;

    cursor:
        pointer;

}



/* ========================================
   SEGURIDAD Y CONFIANZA
======================================== */

.help-trust {

    position:
        relative;

    overflow:
        hidden;

    padding:
        105px 0;

    background:
        white;

}


.help-trust-grid {

    display:
        grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        19px;

}


.help-trust-card {

    min-width:
        0;

    padding:
        31px;

    border:
        1px solid rgba(23, 35, 33, 0.07);

    border-radius:
        24px;

    background:
        #FBFCFA;

}


.help-trust-icon {

    width:
        60px;

    height:
        60px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    margin-bottom:
        22px;

    border-radius:
        19px;

    background:
        rgba(25, 181, 165, 0.09);

    color:
        var(--rumby-teal);

    font-size:
        1.45rem;

}


.help-trust-card:nth-child(2) .help-trust-icon {

    background:
        rgba(255, 107, 94, 0.09);

    color:
        var(--rumby-coral);

}


.help-trust-card:nth-child(3) .help-trust-icon {

    background:
        rgba(255, 200, 87, 0.15);

    color:
        #C88C09;

}


.help-trust-card h3 {

    margin:
        0 0 9px;

    color:
        var(--rumby-dark);

    font-size:
        1.03rem;

    font-weight:
        800;

}


.help-trust-card p {

    margin:
        0;

    color:
        #6F7D79;

    font-size:
        0.82rem;

    line-height:
        1.65;

}



/* ========================================
   CONTACTO FINAL
======================================== */

.help-contact {

    padding:
        0 0 105px;

    background:
        white;

}


.help-contact-shell {

    position:
        relative;

    overflow:
        hidden;

    min-height:
        290px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        40px;

    padding:
        46px 50px;

    border-radius:
        30px;

    background:
        linear-gradient(
            135deg,
            #163F3B,
            #102F2C
        );

    box-shadow:
        0 21px 52px rgba(20, 58, 54, 0.16);

}


.help-contact-content {

    position:
        relative;

    z-index:
        4;

    display:
        flex;

    align-items:
        flex-start;

    gap:
        20px;

}


.help-contact-icon {

    width:
        61px;

    height:
        61px;

    flex:
        0 0 61px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        19px;

    background:
        rgba(255, 255, 255, 0.09);

    color:
        #75DED3;

    font-size:
        1.45rem;

}


.help-contact-label {

    display:
        block;

    margin-bottom:
        8px;

    color:
        #6CD9CE;

    font-size:
        0.72rem;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        0.06em;

}


.help-contact-content h2 {

    max-width:
        600px;

    margin:
        0 0 9px;

    color:
        white;

    font-size:
        clamp(2rem, 3vw, 3rem);

    font-weight:
        800;

    line-height:
        1.06;

    letter-spacing:
        -0.045em;

}


.help-contact-content p {

    max-width:
        620px;

    margin:
        0;

    color:
        rgba(255, 255, 255, 0.62);

    font-size:
        0.85rem;

    line-height:
        1.65;

}


.help-contact-button {

    position:
        relative;

    z-index:
        4;

    min-height:
        52px;

    flex:
        0 0 auto;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    padding:
        13px 21px;

    border-radius:
        15px;

    background:
        var(--rumby-yellow);

    color:
        #503A09;

    font-size:
        0.84rem;

    font-weight:
        800;

    text-decoration:
        none;

    transition:
        transform var(--rumby-transition),
        background var(--rumby-transition);

}


.help-contact-button:hover {

    transform:
        translateY(-2px);

    background:
        #FFD575;

    color:
        #503A09;

}


.help-contact-decoration {

    position:
        absolute;

    border-radius:
        50%;

    pointer-events:
        none;

}


.help-contact-decoration-teal {

    width:
        320px;

    height:
        320px;

    right:
        -130px;

    top:
        -190px;

    background:
        rgba(25, 181, 165, 0.11);

}


.help-contact-decoration-yellow {

    width:
        130px;

    height:
        130px;

    left:
        42%;

    bottom:
        -90px;

    background:
        rgba(255, 200, 87, 0.07);

}


.help-contact-decoration-coral {

    width:
        65px;

    height:
        65px;

    right:
        25%;

    bottom:
        23px;

    background:
        rgba(255, 107, 94, 0.08);

}



/* ========================================
   REVEAL
======================================== */

[data-help-reveal] {

    opacity:
        0;

    transform:
        translateY(18px);

    transition:
        opacity 620ms ease,
        transform 620ms ease;

}


[data-help-reveal].is-visible {

    opacity:
        1;

    transform:
        translateY(0);

}



/* ========================================
   RESPONSIVE - 1200
======================================== */

@media (max-width: 1199.98px) {

    .help-topic-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }


    .help-topic-card {

        min-height:
            145px;

    }

}



/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 991.98px) {

    .help-hero {

        padding:
            75px 0 85px;

    }


    .help-topics,
    .help-faq,
    .help-trust {

        padding:
            85px 0;

    }


    .help-faq-intro {

        position:
            static;

        max-width:
            700px;

    }


    .help-trust-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

    }


    .help-contact-shell {

        align-items:
            flex-start;

        flex-direction:
            column;

    }

}



/* ========================================
   RESPONSIVE - MÓVIL
======================================== */

@media (max-width: 767.98px) {

    .help-hero {

        padding:
            55px 0 70px;

    }


    .help-hero-title {

        font-size:
            clamp(2.85rem, 14vw, 4.3rem);

    }


    .help-search-field {

        min-height:
            62px;

        padding:
            0 17px;

        border-radius:
            18px;

    }


    .help-search-input {

        height:
            60px;

        font-size:
            0.88rem;

    }


    .help-search-hints > span {

        width:
            100%;

    }


    .help-topics,
    .help-faq,
    .help-trust {

        padding:
            70px 0;

    }


    .help-section-title {

        font-size:
            clamp(2.2rem, 10vw, 3rem);

    }


    .help-topic-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .help-topic-card {

        min-height:
            135px;

        padding:
            18px;

    }


    .help-topic-icon {

        width:
            47px;

        height:
            47px;

        border-radius:
            15px;

        font-size:
            1.2rem;

    }


    .help-faq-title {

        font-size:
            clamp(2.15rem, 10vw, 3rem);

    }


    .help-faq-item .accordion-button {

        min-height:
            72px;

        gap:
            12px;

        padding:
            16px;

        font-size:
            0.82rem;

    }


    .help-question-icon {

        width:
            39px;

        height:
            39px;

        flex-basis:
            39px;

        border-radius:
            12px;

    }


    .help-faq-item .accordion-button::after {

        width:
            30px;

        height:
            30px;

        flex-basis:
            30px;

    }


    .help-faq-item .accordion-body {

        padding:
            3px 18px 22px 67px;

        font-size:
            0.81rem;

    }


    .help-trust-grid {

        grid-template-columns:
            1fr;

    }


    .help-contact {

        padding:
            0 0 75px;

    }


    .help-contact-shell {

        min-height:
            0;

        padding:
            34px 27px;

        border-radius:
            25px;

    }


    .help-contact-content {

        flex-direction:
            column;

    }


    .help-contact-button {

        width:
            100%;

    }

}



/* ========================================
   RESPONSIVE - MÓVIL PEQUEÑO
======================================== */

@media (max-width: 479.98px) {

    .help-topic-grid {

        grid-template-columns:
            1fr;

    }


    .help-topic-card {

        min-height:
            105px;

        flex-direction:
            row;

        align-items:
            center;

        justify-content:
            flex-start;

        gap:
            16px;

    }


    .help-faq-item .accordion-button {

        align-items:
            flex-start;

    }


    .help-question-icon {

        margin-top:
            1px;

    }


    .help-faq-item .accordion-body {

        padding:
            3px 17px 21px;

    }


    .help-hero-decoration-coral {

        display:
            none;

    }

}



/* ========================================
   ACCESIBILIDAD
======================================== */

@media (prefers-reduced-motion: reduce) {

    [data-help-reveal] {

        opacity:
            1;

        transform:
            none;

        transition:
            none;

    }


    .help-topic-card,
    .help-search-field,
    .help-contact-button {

        transition:
            none;

    }

}