/* =========================================================
   VENTACTIVE
   LEGAL PAGE
   DEVOLUCIONES
========================================================= */

.vcLegalPage {
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfbfd 45%,
            #f7f8fb 100%
        );
    color: #15171c;
}


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

.vcLegalHero {
    position: relative;
    overflow: hidden;
    padding:
        clamp(120px, 12vw, 180px)
        clamp(20px, 5vw, 80px)
        clamp(70px, 8vw, 120px);
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(255, 112, 42, 0.11),
            transparent 34%
        ),
        radial-gradient(
            circle at 15% 30%,
            rgba(111, 76, 255, 0.08),
            transparent 28%
        ),
        #ffffff;
}

.vcLegalHero::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    top: -210px;
    right: -120px;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            rgba(255, 118, 41, 0.1),
            rgba(111, 76, 255, 0.04)
        );
    filter: blur(10px);
    pointer-events: none;
}

.vcLegalHeroInner {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.vcLegalBreadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 38px;
    font-size: 13px;
    line-height: 1.4;
    color: #8a8e98;
}

.vcLegalBreadcrumb a {
    color: #656a74;
    text-decoration: none;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.vcLegalBreadcrumb a:hover {
    color: #111318;
}

.vcLegalBreadcrumb strong {
    font-weight: 600;
    color: #252830;
}

.vcLegalBreadcrumb span {
    opacity: 0.55;
}


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

.vcLegalHeroContent {
    max-width: 920px;
}

.vcLegalEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(20, 22, 27, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 10px 35px rgba(18, 20, 26, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6a6e77;
}

.vcLegalEyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            #ff7b31,
            #ff4f13
        );
    box-shadow:
        0 0 0 5px rgba(255, 104, 29, 0.08);
}

.vcLegalHero h1 {
    margin: 0;
    max-width: 880px;
    font-size:
        clamp(
            42px,
            6vw,
            84px
        );
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 760;
    color: #121318;
}

.vcLegalHeroSubtitle {
    margin:
        28px
        0
        0;
    max-width: 760px;
    font-size:
        clamp(
            19px,
            2vw,
            25px
        );
    line-height: 1.45;
    font-weight: 560;
    color: #434750;
}

.vcLegalHeroDescription {
    margin:
        18px
        0
        0;
    max-width: 760px;
    font-size:
        clamp(
            15px,
            1.4vw,
            18px
        );
    line-height: 1.75;
    color: #6b707a;
}

.vcLegalUpdated {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 30px;
    padding: 11px 14px;
    border-radius: 14px;
    background: #f4f5f8;
    color: #80848d;
    font-size: 13px;
}

.vcLegalUpdated strong {
    color: #23262e;
    font-weight: 700;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.vcLegalContent {
    position: relative;
    padding:
        clamp(50px, 7vw, 90px)
        clamp(20px, 5vw, 80px)
        clamp(80px, 9vw, 130px);
}

.vcLegalContentInner {
    width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(240px, 300px)
        minmax(0, 1fr);
    gap: clamp(32px, 5vw, 78px);
    align-items: start;
}


/* =========================================================
   SIDEBAR
========================================================= */

.vcLegalSidebar {
    position: relative;
}

.vcLegalSidebarCard {
    position: sticky;
    top: 110px;
    padding: 18px;
    border: 1px solid rgba(20, 22, 28, 0.07);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 22px 70px rgba(15, 17, 22, 0.055);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.vcLegalSidebarLabel {
    display: block;
    padding:
        6px
        8px
        14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #a0a3aa;
}

.vcLegalNav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vcLegalNav a {
    display: grid;
    grid-template-columns:
        36px
        minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 9px 11px;
    border-radius: 14px;
    text-decoration: none;
    color: #666b74;
    font-size: 13px;
    line-height: 1.35;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.vcLegalNav a:hover {
    background: #f6f7f9;
    color: #23262d;
    transform: translateX(2px);
}

.vcLegalNav a.is-active {
    background:
        linear-gradient(
            135deg,
            #181a20,
            #262931
        );
    color: #ffffff;
    box-shadow:
        0 8px 25px rgba(15, 17, 22, 0.15);
}

.vcLegalNavNumber {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: rgba(20, 22, 27, 0.05);
    font-size: 10px;
    font-weight: 800;
    color: #8c9098;
}

.vcLegalNav a.is-active .vcLegalNavNumber {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   SECTIONS
========================================================= */

.vcLegalSections {
    min-width: 0;
}

.vcLegalSection {
    position: relative;
    scroll-margin-top: 130px;
    padding:
        clamp(28px, 4vw, 46px);
    margin-bottom: 24px;
    border: 1px solid rgba(17, 20, 26, 0.06);
    border-radius: 28px;
    background: #ffffff;
    box-shadow:
        0 18px 60px rgba(17, 20, 26, 0.045);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.vcLegalSection:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 20, 26, 0.09);
    box-shadow:
        0 26px 78px rgba(17, 20, 26, 0.07);
}

.vcLegalSectionTop {
    display: grid;
    grid-template-columns:
        54px
        minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.vcLegalSectionNumber {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            #f2f3f6,
            #f8f9fb
        );
    border: 1px solid rgba(20, 22, 28, 0.05);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #9a9ea6;
}

.vcLegalSectionHeading {
    min-width: 0;
}

.vcLegalSectionIcon {
    display: none;
}

.vcLegalSection h2 {
    margin: 2px 0 0;
    font-size:
        clamp(
            23px,
            2.5vw,
            34px
        );
    line-height: 1.15;
    letter-spacing: -0.035em;
    font-weight: 720;
    color: #181a20;
}


/* =========================================================
   SECTION TEXT
========================================================= */

.vcLegalSectionText {
    margin:
        24px
        0
        0
        72px;
    max-width: 900px;
    font-size:
        clamp(
            15px,
            1.25vw,
            17px
        );
    line-height: 1.85;
    color: #60656f;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}


/* =========================================================
   HELP CTA
========================================================= */

.vcLegalHelp {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 36px;
    margin-top: 44px;
    padding:
        clamp(30px, 5vw, 52px);
    border-radius: 30px;
    background:
        linear-gradient(
            135deg,
            #17191f 0%,
            #24272f 100%
        );
    color: #ffffff;
    box-shadow:
        0 30px 90px rgba(13, 15, 20, 0.18);
}

.vcLegalHelp::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -130px;
    top: -160px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255, 116, 45, 0.32),
            transparent 68%
        );
    pointer-events: none;
}

.vcLegalHelp::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -140px;
    bottom: -170px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(112, 82, 255, 0.22),
            transparent 70%
        );
    pointer-events: none;
}

.vcLegalHelpContent,
.vcLegalHelpAction {
    position: relative;
    z-index: 2;
}

.vcLegalHelpContent {
    max-width: 760px;
}

.vcLegalHelpEyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.vcLegalHelp h2 {
    margin: 0;
    font-size:
        clamp(
            28px,
            4vw,
            48px
        );
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 740;
}

.vcLegalHelp p {
    margin: 17px 0 0;
    max-width: 640px;
    font-size:
        clamp(
            14px,
            1.3vw,
            17px
        );
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.vcLegalHelpButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 15px;
    background: #ffffff;
    color: #17191f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.vcLegalHelpButton:hover {
    transform: translateY(-2px);
    background: #f5f5f7;
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.16);
}

.vcLegalHelpButton svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.vcLegalHelpButton:hover svg {
    transform: translateX(3px);
}


/* =========================================================
   EMPTY / NOT FOUND
========================================================= */

.vcLegalEmpty {
    padding: 44px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(20, 22, 28, 0.06);
    text-align: center;
}

.vcLegalEmpty h2 {
    margin: 0;
    font-size: 28px;
    color: #191b20;
}

.vcLegalEmpty p {
    margin: 12px 0 0;
    color: #747983;
    line-height: 1.7;
}

.vcLegalNotFound {
    padding:
        180px
        24px
        120px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vcLegalNotFoundInner {
    width: min(720px, 100%);
    text-align: center;
}

.vcLegalNotFoundInner > span {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #969aa2;
}

.vcLegalNotFound h1 {
    margin: 0;
    font-size:
        clamp(
            38px,
            6vw,
            72px
        );
    line-height: 1;
    letter-spacing: -0.05em;
    color: #17191f;
}

.vcLegalNotFound p {
    margin:
        22px
        auto
        0;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.7;
    color: #727780;
}

.vcLegalNotFound a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    min-height: 50px;
    padding: 0 21px;
    border-radius: 14px;
    background: #17191f;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .vcLegalContentInner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vcLegalSidebarCard {
        position: relative;
        top: auto;
    }

    .vcLegalNav {
        display: grid;
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
        gap: 6px;
    }

    .vcLegalNav a:hover {
        transform: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .vcLegalHero {
        padding:
            112px
            18px
            58px;
    }

    .vcLegalBreadcrumb {
        margin-bottom: 28px;
        font-size: 12px;
    }

    .vcLegalHero h1 {
        font-size:
            clamp(
                39px,
                13vw,
                58px
            );
        line-height: 1;
    }

    .vcLegalHeroSubtitle {
        margin-top: 22px;
        font-size: 18px;
    }

    .vcLegalHeroDescription {
        font-size: 15px;
        line-height: 1.7;
    }

    .vcLegalUpdated {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }


    /* CONTENT */

    .vcLegalContent {
        padding:
            34px
            15px
            80px;
    }

    .vcLegalNav {
        grid-template-columns: 1fr;
    }

    .vcLegalSidebarCard {
        padding: 13px;
        border-radius: 20px;
    }


    /* SECTIONS */

    .vcLegalSection {
        margin-bottom: 15px;
        padding: 24px 19px;
        border-radius: 22px;
    }

    .vcLegalSection:hover {
        transform: none;
    }

    .vcLegalSectionTop {
        grid-template-columns:
            44px
            minmax(0, 1fr);
        gap: 13px;
    }

    .vcLegalSectionNumber {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .vcLegalSection h2 {
        font-size: 23px;
    }

    .vcLegalSectionText {
        margin:
            18px
            0
            0;
        font-size: 15px;
        line-height: 1.75;
    }


    /* HELP */

    .vcLegalHelp {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 28px;
        padding: 29px 22px;
        border-radius: 24px;
    }

    .vcLegalHelpButton {
        width: 100%;
        box-sizing: border-box;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .vcLegalHero {
        padding-left: 15px;
        padding-right: 15px;
    }

    .vcLegalContent {
        padding-left: 12px;
        padding-right: 12px;
    }

    .vcLegalSection {
        padding:
            21px
            16px;
    }

    .vcLegalSectionTop {
        grid-template-columns:
            38px
            minmax(0, 1fr);
        gap: 11px;
    }

    .vcLegalSectionNumber {
        width: 37px;
        height: 37px;
        border-radius: 11px;
        font-size: 10px;
    }

    .vcLegalSection h2 {
        font-size: 21px;
        line-height: 1.2;
    }

}


/* =========================================================
   ACCESSIBILITY / MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vcLegalNav a,
    .vcLegalSection,
    .vcLegalHelpButton,
    .vcLegalHelpButton svg {
        transition: none;
    }

}
/* =========================================================
   LEGAL SECTION REVEAL
========================================================= */

.vcLegalSectionPending {
    opacity: 0;
    transform: translateY(22px);
}

.vcLegalSectionVisible {
    opacity: 1;
    transform: translateY(0);
}

.vcLegalSectionPending,
.vcLegalSectionVisible {
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.vcLegalSidebar {
    position: relative;
    align-self: start;
}

.vcLegalSidebarCard {
    position: sticky;
    top: 110px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

/* =========================================================
   LEGAL SIDEBAR STICKY
========================================================= */

.vcLegalContent {
    position: relative;
    overflow: visible;
}

.vcLegalContentInner {
    width: min(1400px, 100%);
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(240px, 300px)
        minmax(0, 1fr);

    gap: clamp(32px, 5vw, 78px);

    align-items: start;

    overflow: visible;
}

.vcLegalSidebar {
    position: relative;

    align-self: start;

    overflow: visible;
}

.vcLegalSidebarCard {
    position: sticky;

    top: 110px;

    max-height:
        calc(100vh - 135px);

    overflow-y: auto;

    padding: 18px;

    border:
        1px solid rgba(20, 22, 28, 0.07);

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.92);

    box-shadow:
        0 22px 70px rgba(15, 17, 22, 0.055);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}



/* =========================================================
   LEGAL SIDEBAR STICKY
========================================================= */

.vcLegalContent {
    position: relative;
    overflow: visible;
}

.vcLegalContentInner {
    width: min(1400px, 100%);
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(240px, 300px)
        minmax(0, 1fr);

    gap: clamp(32px, 5vw, 78px);

    align-items: start;

    overflow: visible;
}


/* =========================================================
   STICKY VA EN EL ASIDE
========================================================= */

.vcLegalSidebar {
    position: sticky;
    top: 110px;

    align-self: start;

    max-height: calc(100vh - 135px);

    overflow: visible;

    z-index: 5;
}


/* =========================================================
   CARD
========================================================= */

.vcLegalSidebarCard {
    position: relative;
    top: auto;

    max-height: calc(100vh - 135px);

    overflow-y: auto;
    overflow-x: hidden;

    padding: 18px;

    border:
        1px solid rgba(20, 22, 28, 0.07);

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.92);

    box-shadow:
        0 22px 70px rgba(15, 17, 22, 0.055);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* =========================================================
   SCROLLBAR
========================================================= */

.vcLegalSidebarCard::-webkit-scrollbar {
    width: 4px;
}

.vcLegalSidebarCard::-webkit-scrollbar-track {
    background: transparent;
}

.vcLegalSidebarCard::-webkit-scrollbar-thumb {
    background: rgba(20, 22, 28, 0.12);
    border-radius: 20px;
}