/* =========================================================
   DIGITALIZANDO MX
   NOSOTROS
   SECCIÓN: COMPROMISO
========================================================= */


/* =========================================================
   SECCIÓN PRINCIPAL
========================================================= */

.dmxCommitment {

    --dmx-commitment-bg:
        #061522;

    --dmx-commitment-bg-secondary:
        #0a2233;

    --dmx-commitment-surface:
        rgba(255, 255, 255, 0.045);

    --dmx-commitment-surface-strong:
        rgba(255, 255, 255, 0.075);

    --dmx-commitment-border:
        rgba(255, 255, 255, 0.09);

    --dmx-commitment-border-accent:
        rgba(24, 215, 213, 0.24);

    --dmx-commitment-text:
        #f4fbff;

    --dmx-commitment-muted:
        #97aebb;

    --dmx-commitment-muted-soft:
        #6f8997;

    --dmx-commitment-accent:
        #18d7d5;

    --dmx-commitment-accent-light:
        #83f7f1;

    --dmx-commitment-blue:
        #4b7dff;

    --dmx-commitment-green:
        #52e6a4;

    position: relative;

    isolation: isolate;

    padding:
        clamp(88px, 9vw, 142px)
        0;

    overflow: hidden;

    color:
        var(--dmx-commitment-text);

    background:
        radial-gradient(
            circle at 88% 16%,
            rgba(24, 215, 213, 0.12),
            transparent 29%
        ),
        radial-gradient(
            circle at 8% 84%,
            rgba(75, 125, 255, 0.11),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            var(--dmx-commitment-bg) 0%,
            var(--dmx-commitment-bg-secondary) 52%,
            #05111c 100%
        );

}


/* =========================================================
   RESET LOCAL
========================================================= */

.dmxCommitment,
.dmxCommitment *,
.dmxCommitment *::before,
.dmxCommitment *::after {

    box-sizing: border-box;

}


.dmxCommitment a,
.dmxCommitment button {

    font: inherit;

}


.dmxCommitment strong,
.dmxCommitment small,
.dmxCommitment span,
.dmxCommitment i,
.dmxCommitment em,
.dmxCommitment b {

    font-style: normal;

}


/* =========================================================
   FONDO
========================================================= */

.dmxCommitmentBackground {

    position: absolute;

    inset: 0;

    z-index: -2;

    overflow: hidden;

    pointer-events: none;

}


.dmxCommitmentGrid {

    position: absolute;

    inset: 0;

    opacity:
        0.24;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );

    background-size:
        72px 72px;

    -webkit-mask-image:
        linear-gradient(
            180deg,
            transparent 0%,
            #000 12%,
            #000 89%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            180deg,
            transparent 0%,
            #000 12%,
            #000 89%,
            transparent 100%
        );

}


.dmxCommitmentGrid::after {

    content: "";

    position: absolute;

    inset: 0;

    transform:
        translateX(-120%);

    background:
        linear-gradient(
            110deg,
            transparent,
            rgba(24, 215, 213, 0.055),
            transparent
        );

    animation:
        dmxCommitmentGridScan
        13s linear infinite;

}


.dmxCommitmentGlow {

    position: absolute;

    border-radius: 50%;

    filter:
        blur(100px);

}


.dmxCommitmentGlowOne {

    top:
        4%;

    right:
        -150px;

    width:
        440px;

    height:
        440px;

    background:
        rgba(24, 215, 213, 0.16);

}


.dmxCommitmentGlowTwo {

    bottom:
        -120px;

    left:
        -130px;

    width:
        390px;

    height:
        390px;

    background:
        rgba(75, 125, 255, 0.14);

}


.dmxCommitmentDecoration {

    position: absolute;

    right:
        24px;

    bottom:
        32px;

    color:
        rgba(177, 218, 227, 0.18);

    font-size:
        0.62rem;

    font-weight:
        800;

    letter-spacing:
        0.2em;

    text-transform:
        uppercase;

}


/* =========================================================
   CONTENEDOR
========================================================= */

.dmxCommitmentContainer {

    position: relative;

    z-index: 1;

}


/* =========================================================
   ENCABEZADO
========================================================= */

.dmxCommitmentHeader {

    max-width:
        1180px;

    margin:
        0 auto
        clamp(48px, 6vw, 76px);

}


.dmxCommitmentEyebrow {

    display: inline-flex;

    align-items: center;

    gap:
        12px;

    margin-bottom:
        21px;

}


.dmxCommitmentEyebrow > span {

    position: relative;

    width:
        38px;

    height:
        1px;

    overflow: hidden;

    background:
        rgba(24, 215, 213, 0.3);

}


.dmxCommitmentEyebrow > span::after {

    content: "";

    position: absolute;

    top: 0;

    left:
        -100%;

    width:
        100%;

    height:
        100%;

    background:
        var(--dmx-commitment-accent);

    animation:
        dmxCommitmentEyebrow
        3.5s ease-in-out infinite;

}


.dmxCommitmentEyebrow small {

    color:
        var(--dmx-commitment-accent-light);

    font-size:
        0.72rem;

    font-weight:
        800;

    letter-spacing:
        0.14em;

    text-transform:
        uppercase;

}


.dmxCommitmentHeaderLayout {

    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(280px, 0.55fr);

    align-items:
        end;

    gap:
        clamp(32px, 6vw, 86px);

}


.dmxCommitmentHeader h2 {

    max-width:
        780px;

    margin: 0;

    color:
        var(--dmx-commitment-text);

    font-size:
        clamp(2.9rem, 5vw, 5.35rem);

    font-weight:
        770;

    letter-spacing:
        -0.065em;

    line-height:
        0.98;

    text-wrap:
        balance;

}


.dmxCommitmentHeader h2 span {

    display: block;

    margin-top:
        7px;

    color: transparent;

    background:
        linear-gradient(
            100deg,
            #ffffff,
            var(--dmx-commitment-accent) 52%,
            var(--dmx-commitment-blue)
        );

    background-clip: text;

    -webkit-background-clip: text;

}


.dmxCommitmentHeader p {

    max-width:
        430px;

    margin: 0;

    color:
        var(--dmx-commitment-muted);

    font-size:
        clamp(0.98rem, 1.2vw, 1.08rem);

    line-height:
        1.74;

}


/* =========================================================
   EXPERIENCIA
========================================================= */

.dmxCommitmentExperience {

    display: grid;

    grid-template-columns:
        minmax(310px, 0.72fr)
        minmax(0, 1.28fr);

    align-items: stretch;

    gap:
        clamp(24px, 4vw, 42px);

}


/* =========================================================
   MENSAJE PRINCIPAL
========================================================= */

.dmxCommitmentStatement {

    position: relative;

    display: flex;

    flex-direction: column;

    min-width: 0;

    padding:
        clamp(28px, 4vw, 42px);

    overflow: hidden;

    border:
        1px solid
        var(--dmx-commitment-border);

    border-radius:
        28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 34px 82px
        rgba(0, 0, 0, 0.24),
        inset 0 1px 0
        rgba(255, 255, 255, 0.055);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

}


.dmxCommitmentStatement::before {

    content: "";

    position: absolute;

    top:
        -70px;

    right:
        -70px;

    width:
        220px;

    height:
        220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(24, 215, 213, 0.16),
            transparent 70%
        );

    pointer-events: none;

}


.dmxCommitmentStatement::after {

    content: "";

    position: absolute;

    inset: 0;

    opacity:
        0.24;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size:
        38px 38px;

    -webkit-mask-image:
        linear-gradient(
            145deg,
            #000,
            transparent 72%
        );

    mask-image:
        linear-gradient(
            145deg,
            #000,
            transparent 72%
        );

    pointer-events: none;

}


.dmxCommitmentStatement > * {

    position: relative;

    z-index: 1;

}


.dmxCommitmentStatementLabel {

    align-self:
        flex-start;

    display: inline-flex;

    align-items: center;

    min-height:
        30px;

    padding:
        0 11px;

    border:
        1px solid
        rgba(24, 215, 213, 0.16);

    border-radius:
        999px;

    color:
        var(--dmx-commitment-accent-light);

    background:
        rgba(24, 215, 213, 0.065);

    font-size:
        0.62rem;

    font-weight:
        780;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;

}


.dmxCommitmentStatement h3 {

    max-width:
        590px;

    margin:
        24px 0 0;

    color:
        #f2fbff;

    font-size:
        clamp(2rem, 3.2vw, 3.55rem);

    font-weight:
        760;

    letter-spacing:
        -0.055em;

    line-height:
        1.03;

    text-wrap:
        balance;

}


.dmxCommitmentStatement > p {

    max-width:
        550px;

    margin:
        21px 0 0;

    color:
        var(--dmx-commitment-muted);

    font-size:
        0.96rem;

    line-height:
        1.72;

}


.dmxCommitmentStatement > p + p {

    margin-top:
        14px;

}


.dmxCommitmentStatementResult {

    display: flex;

    align-items: center;

    gap:
        13px;

    margin-top:
        auto;

    padding:
        18px;

    border:
        1px solid
        rgba(82, 230, 164, 0.15);

    border-radius:
        17px;

    background:
        rgba(82, 230, 164, 0.045);

}


.dmxCommitmentStatementIcon {

    display: grid;

    flex:
        0 0 auto;

    width:
        42px;

    height:
        42px;

    place-items: center;

    border:
        1px solid
        rgba(82, 230, 164, 0.18);

    border-radius:
        13px;

    color:
        #8af1be;

    background:
        rgba(82, 230, 164, 0.07);

}


.dmxCommitmentStatementIcon svg {

    width:
        21px;

    height:
        21px;

}


.dmxCommitmentStatementResult div {

    display: grid;

    gap:
        4px;

    min-width: 0;

}


.dmxCommitmentStatementResult small {

    color:
        #75b897;

    font-size:
        0.56rem;

    font-weight:
        760;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;

}


.dmxCommitmentStatementResult strong {

    color:
        #ecfff5;

    font-size:
        0.78rem;

    line-height:
        1.45;

}


/* =========================================================
   LISTA DE COMPROMISOS
========================================================= */

.dmxCommitmentList {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        16px;

}


/* =========================================================
   TARJETAS
========================================================= */

.dmxCommitmentItem {

    position: relative;

    min-width: 0;

    min-height:
        250px;

    padding:
        23px;

    overflow: hidden;

    border:
        1px solid
        var(--dmx-commitment-border);

    border-radius:
        21px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.052),
            rgba(255, 255, 255, 0.022)
        );

    box-shadow:
        0 20px 48px
        rgba(0, 0, 0, 0.16),
        inset 0 1px 0
        rgba(255, 255, 255, 0.045);

    transition:
        transform 280ms ease,
        border-color 280ms ease,
        background-color 280ms ease,
        box-shadow 280ms ease;

}


.dmxCommitmentItem::before {

    content: "";

    position: absolute;

    right:
        -50px;

    bottom:
        -50px;

    width:
        150px;

    height:
        150px;

    border-radius: 50%;

    opacity:
        0;

    background:
        radial-gradient(
            circle,
            rgba(24, 215, 213, 0.16),
            transparent 70%
        );

    transition:
        opacity 280ms ease;

}


.dmxCommitmentItem::after {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width:
        0;

    height:
        2px;

    background:
        linear-gradient(
            90deg,
            var(--dmx-commitment-blue),
            var(--dmx-commitment-accent)
        );

    transition:
        width 380ms
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

}


.dmxCommitmentItem:hover,
.dmxCommitmentItem.is-active {

    transform:
        translateY(-6px);

    border-color:
        rgba(24, 215, 213, 0.21);

    background:
        linear-gradient(
            145deg,
            rgba(24, 215, 213, 0.065),
            rgba(75, 125, 255, 0.025)
        );

    box-shadow:
        0 29px 58px
        rgba(0, 0, 0, 0.21),
        0 0 34px
        rgba(24, 215, 213, 0.06);

}


.dmxCommitmentItem:hover::before,
.dmxCommitmentItem.is-active::before {

    opacity: 1;

}


.dmxCommitmentItem:hover::after,
.dmxCommitmentItem.is-active::after {

    width:
        100%;

}


.dmxCommitmentItem > * {

    position: relative;

    z-index: 1;

}


.dmxCommitmentItemNumber {

    position: absolute;

    top:
        20px;

    right:
        20px;

    color:
        rgba(151, 174, 187, 0.42);

    font-size:
        0.59rem;

    font-weight:
        820;

    letter-spacing:
        0.08em;

}


.dmxCommitmentItemIcon {

    display: grid;

    width:
        50px;

    height:
        50px;

    place-items: center;

    border:
        1px solid
        rgba(24, 215, 213, 0.16);

    border-radius:
        15px;

    color:
        var(--dmx-commitment-accent-light);

    background:
        rgba(24, 215, 213, 0.06);

    transition:
        color 280ms ease,
        background-color 280ms ease,
        border-color 280ms ease,
        transform 280ms ease,
        box-shadow 280ms ease;

}


.dmxCommitmentItemIcon svg {

    width:
        25px;

    height:
        25px;

}


.dmxCommitmentItem:hover
.dmxCommitmentItemIcon,
.dmxCommitmentItem.is-active
.dmxCommitmentItemIcon {

    color:
        #041419;

    border-color:
        transparent;

    background:
        linear-gradient(
            135deg,
            var(--dmx-commitment-accent-light),
            var(--dmx-commitment-accent)
        );

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 28px
        rgba(24, 215, 213, 0.18);

}


.dmxCommitmentItem h3 {

    max-width:
        290px;

    margin:
        20px 0 0;

    color:
        #eefaff;

    font-size:
        1.02rem;

    font-weight:
        760;

    line-height:
        1.35;

}


.dmxCommitmentItem p {

    max-width:
        330px;

    margin:
        10px 0 0;

    color:
        var(--dmx-commitment-muted);

    font-size:
        0.76rem;

    line-height:
        1.65;

}


.dmxCommitmentItemStatus {

    display: inline-flex;

    align-items: center;

    gap:
        7px;

    margin-top:
        17px;

    color:
        #76b99a;

    font-size:
        0.56rem;

    font-weight:
        740;

}


.dmxCommitmentItemStatus i {

    position: relative;

    display: block;

    width:
        7px;

    height:
        7px;

    border-radius:
        50%;

    background:
        var(--dmx-commitment-green);

    box-shadow:
        0 0 12px
        rgba(82, 230, 164, 0.48);

}


.dmxCommitmentItemStatus i::before {

    content: "";

    position: absolute;

    inset:
        -4px;

    border:
        1px solid
        rgba(82, 230, 164, 0.2);

    border-radius:
        inherit;

    animation:
        dmxCommitmentStatusPulse
        2.2s ease-out infinite;

}


/* =========================================================
   CIERRE
========================================================= */

.dmxCommitmentClosing {

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap:
        30px;

    margin-top:
        clamp(28px, 4vw, 44px);

    padding:
        24px 27px;

    border:
        1px solid
        var(--dmx-commitment-border);

    border-radius:
        20px;

    background:
        rgba(255, 255, 255, 0.035);

    box-shadow:
        0 20px 48px
        rgba(0, 0, 0, 0.14),
        inset 0 1px 0
        rgba(255, 255, 255, 0.045);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

}


.dmxCommitmentClosing > div {

    display: grid;

    gap:
        5px;

}


.dmxCommitmentClosing > div span {

    color:
        var(--dmx-commitment-muted);

    font-size:
        0.78rem;

}


.dmxCommitmentClosing > div strong {

    color:
        #ffffff;

    font-size:
        0.96rem;

    font-weight:
        760;

}


.dmxCommitmentClosing > a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex:
        0 0 auto;

    min-height:
        49px;

    gap:
        10px;

    padding:
        0 17px;

    border-radius:
        13px;

    color:
        #041419;

    background:
        linear-gradient(
            110deg,
            var(--dmx-commitment-accent-light),
            var(--dmx-commitment-accent)
        );

    font-size:
        0.76rem;

    font-weight:
        760;

    text-decoration: none;

    box-shadow:
        0 17px 34px
        rgba(24, 215, 213, 0.17);

    transition:
        transform 240ms ease,
        box-shadow 240ms ease;

}


.dmxCommitmentClosing > a svg {

    width:
        19px;

    height:
        19px;

    transition:
        transform 240ms ease;

}


.dmxCommitmentClosing > a:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 23px 46px
        rgba(24, 215, 213, 0.24);

}


.dmxCommitmentClosing > a:hover svg {

    transform:
        translateX(3px);

}


/* =========================================================
   REVEAL
========================================================= */

.dmxCommitment [data-dmx-commitment-reveal] {

    opacity: 1;

    transform:
        translateY(0);

    transition:
        opacity 780ms ease,
        transform 780ms
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );

}


.dmxCommitment.is-js-ready
[data-dmx-commitment-reveal] {

    opacity: 0;

    transform:
        translateY(26px);

}


.dmxCommitment.is-js-ready
[data-dmx-commitment-reveal].is-visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes dmxCommitmentGridScan {

    0% {

        transform:
            translateX(-120%);

    }

    45%,
    100% {

        transform:
            translateX(120%);

    }

}


@keyframes dmxCommitmentEyebrow {

    0% {

        left:
            -100%;

    }

    50%,
    100% {

        left:
            100%;

    }

}


@keyframes dmxCommitmentStatusPulse {

    0% {

        transform:
            scale(0.4);

        opacity:
            0.75;

    }

    100% {

        transform:
            scale(1.7);

        opacity:
            0;

    }

}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1180px) {

    .dmxCommitmentExperience {

        grid-template-columns:
            minmax(290px, 0.68fr)
            minmax(0, 1.32fr);

    }


    .dmxCommitmentStatement {

        padding:
            34px;

    }


    .dmxCommitmentItem {

        min-height:
            240px;

    }

}


/* =========================================================
   TABLET HORIZONTAL
========================================================= */

@media (max-width: 980px) {

    .dmxCommitmentHeaderLayout {

        grid-template-columns:
            1fr;

        gap:
            22px;

    }


    .dmxCommitmentHeader p {

        max-width:
            620px;

    }


    .dmxCommitmentExperience {

        grid-template-columns:
            1fr;

    }


    .dmxCommitmentStatement {

        min-height:
            470px;

    }


    .dmxCommitmentStatement h3 {

        max-width:
            660px;

    }


    .dmxCommitmentStatement > p {

        max-width:
            640px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 760px) {

    .dmxCommitment {

        padding:
            82px 0;

    }


    .dmxCommitmentHeader {

        margin-bottom:
            42px;

    }


    .dmxCommitmentHeader h2 {

        font-size:
            clamp(2.7rem, 9vw, 4.6rem);

    }


    .dmxCommitmentStatement {

        min-height:
            auto;

        border-radius:
            24px;

    }


    .dmxCommitmentStatementResult {

        margin-top:
            34px;

    }


    .dmxCommitmentList {

        grid-template-columns:
            1fr;

    }


    .dmxCommitmentItem {

        min-height:
            220px;

    }


    .dmxCommitmentClosing {

        align-items:
            flex-start;

        flex-direction:
            column;

    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 560px) {

    .dmxCommitment {

        padding:
            72px 0;

    }


    .dmxCommitmentDecoration {

        display: none;

    }


    .dmxCommitmentEyebrow {

        align-items:
            flex-start;

    }


    .dmxCommitmentEyebrow small {

        font-size:
            0.65rem;

    }


    .dmxCommitmentHeader h2 {

        font-size:
            clamp(2.45rem, 12vw, 3.65rem);

    }


    .dmxCommitmentHeader p {

        font-size:
            0.94rem;

    }


    .dmxCommitmentStatement {

        padding:
            25px 19px;

        border-radius:
            21px;

    }


    .dmxCommitmentStatement h3 {

        font-size:
            clamp(1.95rem, 10vw, 2.9rem);

    }


    .dmxCommitmentStatement > p {

        font-size:
            0.92rem;

    }


    .dmxCommitmentStatementResult {

        align-items:
            flex-start;

        padding:
            15px;

    }


    .dmxCommitmentItem {

        min-height:
            auto;

        padding:
            21px 19px;

        border-radius:
            18px;

    }


    .dmxCommitmentItem p {

        font-size:
            0.74rem;

    }


    .dmxCommitmentClosing {

        padding:
            20px;

    }


    .dmxCommitmentClosing > a {

        width:
            100%;

    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dmxCommitment *,
    .dmxCommitment *::before,
    .dmxCommitment *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;

    }


    .dmxCommitment [data-dmx-commitment-reveal] {

        opacity: 1;

        transform: none;

    }

}
