/* =========================================================
   HOSTING ADMINISTRADO
========================================================= */

.dmxHostingServices {
    position: relative;
    isolation: isolate;

    padding: clamp(90px, 10vw, 150px) 0;

    overflow: hidden;

    color: #102a43;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5f9fd 100%
        );
}


/* =========================================================
   FONDO
========================================================= */

.dmxHostingServicesBackground {
    position: absolute;
    inset: 0;
    z-index: -2;

    overflow: hidden;
    pointer-events: none;
}

.dmxHostingServicesPattern {
    position: absolute;
    inset: 0;

    opacity: 0.42;

    background-image:
        linear-gradient(
            rgba(20, 93, 153, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(20, 93, 153, 0.045) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );
}

.dmxHostingServicesGlow {
    position: absolute;

    width: 540px;
    height: 540px;

    border-radius: 50%;

    filter: blur(55px);
    opacity: 0.32;
}

.dmxHostingServicesGlowOne {
    top: -260px;
    right: -170px;

    background:
        radial-gradient(
            circle,
            rgba(35, 158, 226, 0.26),
            transparent 70%
        );
}

.dmxHostingServicesGlowTwo {
    bottom: -300px;
    left: -190px;

    background:
        radial-gradient(
            circle,
            rgba(24, 102, 184, 0.18),
            transparent 70%
        );
}


/* =========================================================
   ENCABEZADO
========================================================= */

.dmxHostingServicesHeader {
    max-width: 1100px;
    margin-bottom: clamp(48px, 6vw, 76px);
}

.dmxHostingServicesEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;
}

.dmxHostingServicesEyebrow > span {
    width: 38px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #176acb,
            #35b7ec
        );

    box-shadow:
        0 0 15px rgba(33, 146, 217, 0.24);
}

.dmxHostingServicesEyebrow small {
    color: #1a73c8;

    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.dmxHostingServicesHeading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(320px, 0.92fr);

    align-items: end;
    gap: clamp(38px, 7vw, 94px);
}

.dmxHostingServicesHeading h2 {
    max-width: 720px;
    margin: 0;

    color: #10283f;

    font-size: clamp(2.5rem, 4.6vw, 4.8rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.dmxHostingServicesHeading h2 strong {
    display: block;

    margin-top: 7px;

    color: transparent;

    background:
        linear-gradient(
            110deg,
            #1768c7 0%,
            #168fdd 50%,
            #31b7e9 100%
        );

    background-clip: text;
    -webkit-background-clip: text;

    font-weight: inherit;
}

.dmxHostingServicesHeading p {
    max-width: 520px;
    margin: 0;

    color: #5b7084;

    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.78;
}


/* =========================================================
   LAYOUT PRINCIPAL
========================================================= */

.dmxHostingServicesLayout {
    display: grid;
    grid-template-columns:
        minmax(390px, 0.92fr)
        minmax(0, 1.48fr);

    align-items: stretch;
    gap: 22px;
}


/* =========================================================
   TARJETA DESTACADA
========================================================= */

.dmxHostingServicesFeature {
    position: relative;
    isolation: isolate;

    display: flex;
    min-height: 700px;
    flex-direction: column;

    padding: 34px;

    overflow: hidden;

    border:
        1px solid rgba(78, 184, 230, 0.14);
    border-radius: 30px;

    color: #ffffff;

    background:
        linear-gradient(
            155deg,
            #071f36 0%,
            #0d3658 52%,
            #07517f 100%
        );

    box-shadow:
        0 34px 82px rgba(5, 39, 67, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transform-style: preserve-3d;

    transition:
        transform 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease;
}

.dmxHostingServicesFeature:hover {
    transform: translateY(-7px);

    border-color:
        rgba(75, 201, 241, 0.25);

    box-shadow:
        0 42px 92px rgba(5, 39, 67, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dmxHostingServicesFeatureGlow {
    position: absolute;
    right: -160px;
    bottom: -190px;
    z-index: -1;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(50, 191, 238, 0.23),
            transparent 68%
        );

    filter: blur(10px);
}

.dmxHostingServicesFeatureHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dmxHostingServicesFeatureIcon {
    display: grid;
    place-items: center;

    width: 70px;
    height: 70px;

    border:
        1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.05)
        );

    box-shadow:
        0 16px 36px rgba(2, 24, 43, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 300ms ease,
        box-shadow 300ms ease;
}

.dmxHostingServicesFeature:hover
.dmxHostingServicesFeatureIcon {
    transform:
        translateY(-3px)
        rotate(-3deg);

    box-shadow:
        0 20px 42px rgba(2, 24, 43, 0.32),
        0 0 0 6px rgba(54, 192, 238, 0.07);
}

.dmxHostingServicesFeatureIcon svg {
    width: 32px;
    height: 32px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dmxHostingServicesFeatureStatus {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 12px;

    border:
        1px solid rgba(94, 221, 177, 0.14);
    border-radius: 999px;

    color: #82e6be;

    background:
        rgba(255, 255, 255, 0.055);

    font-size: 0.68rem;
    font-weight: 820;
}

.dmxHostingServicesFeatureStatus > span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #5cdaa8;

    box-shadow:
        0 0 0 5px rgba(92, 218, 168, 0.09);

    animation:
        dmxHostingServicesPulse
        1.6s ease-in-out infinite;
}


/* =========================================================
   CONTENIDO DESTACADO
========================================================= */

.dmxHostingServicesFeatureContent {
    position: relative;
    z-index: 3;

    max-width: 540px;
    margin-top: 82px;
}

.dmxHostingServicesFeatureContent > span {
    display: block;

    margin-bottom: 13px;

    color: #50d0f2;

    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.dmxHostingServicesFeatureContent h3 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 820;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.dmxHostingServicesFeatureContent p {
    max-width: 520px;
    margin: 22px 0 0;

    color: rgba(227, 241, 250, 0.78);

    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   MÉTRICAS DESTACADAS
========================================================= */

.dmxHostingServicesFeatureMetrics {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin-top: 34px;
    padding-top: 30px;

    border-top:
        1px solid rgba(255, 255, 255, 0.13);
}

.dmxHostingServicesFeatureMetrics > div {
    padding: 14px;

    border:
        1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.045);
}

.dmxHostingServicesFeatureMetrics span {
    display: block;

    color: rgba(225, 239, 248, 0.6);

    font-size: 0.64rem;
    font-weight: 720;
}

.dmxHostingServicesFeatureMetrics strong {
    display: block;

    margin-top: 5px;

    color: #ffffff;

    font-size: 0.93rem;
    font-weight: 850;
}


/* =========================================================
   SERVIDOR VISUAL
========================================================= */

.dmxHostingServicesServer {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: flex-end;
    gap: 18px;

    margin-top: auto;
    padding-top: 34px;
}

.dmxHostingServicesServerRack {
    display: grid;
    gap: 9px;

    width: min(100%, 320px);
}

.dmxHostingServicesServerUnit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    min-height: 46px;
    padding: 10px 13px;

    border:
        1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.055);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dmxHostingServicesServerUnit > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.dmxHostingServicesServerUnit span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #58d6a6;

    animation:
        dmxHostingServicesServerLight
        1.3s ease-in-out infinite;
}

.dmxHostingServicesServerUnit span:last-child {
    background: #39bce8;
    animation-delay: 220ms;
}

.dmxHostingServicesServerUnit i {
    display: block;

    width: 55%;
    height: 5px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(57, 190, 232, 0.8),
            rgba(57, 190, 232, 0.08)
        );
}

.dmxHostingServicesServerSignal {
    display: flex;
    align-items: flex-end;
    gap: 5px;

    height: 72px;
    padding-bottom: 5px;
}

.dmxHostingServicesServerSignal span {
    width: 7px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #55d7f2,
            #1d86d1
        );

    animation:
        dmxHostingServicesSignal
        1.2s ease-in-out infinite;
}

.dmxHostingServicesServerSignal span:nth-child(1) {
    height: 34%;
}

.dmxHostingServicesServerSignal span:nth-child(2) {
    height: 62%;
    animation-delay: 140ms;
}

.dmxHostingServicesServerSignal span:nth-child(3) {
    height: 92%;
    animation-delay: 280ms;
}


/* =========================================================
   LÍNEAS DECORATIVAS
========================================================= */

.dmxHostingServicesFeatureLines {
    position: absolute;
    right: -7%;
    bottom: 20px;
    left: -7%;

    height: 180px;

    pointer-events: none;
}

.dmxHostingServicesFeatureLines span {
    position: absolute;
    right: 0;
    left: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(60, 199, 239, 0.08),
            rgba(60, 199, 239, 0.42),
            transparent
        );

    transform-origin: center;
}

.dmxHostingServicesFeatureLines span:nth-child(1) {
    bottom: 35px;
    transform: rotate(-6deg);
}

.dmxHostingServicesFeatureLines span:nth-child(2) {
    bottom: 67px;
    transform: rotate(-2deg);
}

.dmxHostingServicesFeatureLines span:nth-child(3) {
    bottom: 99px;
    transform: rotate(4deg);
}


/* =========================================================
   GRID DE SERVICIOS
========================================================= */

.dmxHostingServicesCards {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   TARJETAS
========================================================= */

.dmxHostingServiceCard {
    position: relative;
    isolation: isolate;

    display: flex;
    min-height: 338px;
    flex-direction: column;

    padding: 29px;

    overflow: hidden;

    border:
        1px solid rgba(27, 87, 137, 0.12);
    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 251, 254, 0.94)
        );

    box-shadow:
        0 22px 54px rgba(23, 66, 102, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);

    transform-style: preserve-3d;

    transition:
        transform 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease;
}

.dmxHostingServiceCard::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(39, 163, 224, 0.12),
            transparent 42%
        );

    opacity: 0;

    transition: opacity 300ms ease;
}

.dmxHostingServiceCard:hover {
    transform: translateY(-7px);

    border-color:
        rgba(25, 127, 203, 0.23);

    box-shadow:
        0 32px 68px rgba(22, 73, 112, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.97);
}

.dmxHostingServiceCard:hover::before {
    opacity: 1;
}

.dmxHostingServiceCardNumber {
    position: absolute;
    top: 26px;
    right: 29px;

    color: rgba(29, 92, 145, 0.11);

    font-size: 3.1rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;

    transition:
        color 300ms ease,
        transform 300ms ease;
}

.dmxHostingServiceCard:hover
.dmxHostingServiceCardNumber {
    color: rgba(20, 115, 188, 0.18);
    transform: translateY(-3px);
}

.dmxHostingServiceCardIcon {
    display: grid;
    place-items: center;

    width: 64px;
    height: 64px;
    margin-bottom: 68px;

    border:
        1px solid rgba(22, 112, 184, 0.14);
    border-radius: 20px;

    color: #1776ca;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eaf6fd
        );

    box-shadow:
        0 13px 29px rgba(20, 92, 147, 0.1);

    transition:
        transform 300ms ease,
        color 300ms ease,
        box-shadow 300ms ease;
}

.dmxHostingServiceCard:hover
.dmxHostingServiceCardIcon {
    transform:
        translateY(-3px)
        rotate(-3deg);

    color: #1093d7;

    box-shadow:
        0 17px 35px rgba(18, 113, 177, 0.15),
        0 0 0 6px rgba(29, 147, 213, 0.06);
}

.dmxHostingServiceCardIcon svg {
    width: 29px;
    height: 29px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dmxHostingServiceCardContent {
    position: relative;
    z-index: 2;

    margin-top: auto;
}

.dmxHostingServiceCardContent > span {
    display: block;

    margin-bottom: 12px;

    color: #1775c8;

    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dmxHostingServiceCardContent h3 {
    max-width: 420px;
    margin: 0;

    color: #102f4a;

    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 820;
    line-height: 1.08;
    letter-spacing: -0.038em;
}

.dmxHostingServiceCardContent p {
    max-width: 470px;
    margin: 18px 0 0;

    color: #62768a;

    font-size: 0.94rem;
    line-height: 1.7;
}


/* =========================================================
   FOOTER
========================================================= */

.dmxHostingServicesFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    margin-top: 28px;
    padding: 27px 32px;

    border:
        1px solid rgba(26, 88, 139, 0.12);
    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.88);

    box-shadow:
        0 18px 44px rgba(24, 68, 105, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dmxHostingServicesFooterContent {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dmxHostingServicesFooterIcon {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    flex: 0 0 auto;

    border:
        1px solid rgba(23, 115, 187, 0.14);
    border-radius: 15px;

    color: #1776ca;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #edf7fd
        );

    box-shadow:
        0 10px 24px rgba(22, 89, 141, 0.08);
}

.dmxHostingServicesFooterIcon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dmxHostingServicesFooterContent > div:last-child {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
}

.dmxHostingServicesFooterContent span {
    color: #6b7f92;

    font-size: 0.97rem;
}

.dmxHostingServicesFooterContent strong {
    color: #153956;

    font-size: 1rem;
    font-weight: 820;
}

.dmxHostingServicesFooterLink {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    flex: 0 0 auto;

    color: #176fc5;

    font-size: 0.92rem;
    font-weight: 820;
    text-decoration: none;

    transition:
        color 220ms ease,
        transform 220ms ease;
}

.dmxHostingServicesFooterLink svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform 220ms ease;
}

.dmxHostingServicesFooterLink:hover {
    color: #0f91d5;
    transform: translateX(3px);
}

.dmxHostingServicesFooterLink:hover svg {
    transform: translateX(5px);
}


/* =========================================================
   REVEAL
========================================================= */

.dmxHostingServicesReveal {
    opacity: 0;
    transform: translateY(28px);

    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dmxHostingServicesReveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes dmxHostingServicesPulse {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.86);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

}

@keyframes dmxHostingServicesServerLight {

    0%,
    100% {
        opacity: 0.35;
    }

    50% {
        opacity: 1;
    }

}

@keyframes dmxHostingServicesSignal {

    0%,
    100% {
        transform: scaleY(0.72);
        opacity: 0.55;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1120px) {

    .dmxHostingServicesLayout {
        grid-template-columns:
            minmax(340px, 0.88fr)
            minmax(0, 1.12fr);
    }

    .dmxHostingServicesCards {
        grid-template-columns: 1fr;
    }

    .dmxHostingServicesFeature {
        min-height: 740px;
    }

    .dmxHostingServiceCard {
        min-height: 300px;
    }

}


@media (max-width: 900px) {

    .dmxHostingServicesHeading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dmxHostingServicesHeading p {
        max-width: 640px;
    }

    .dmxHostingServicesLayout {
        grid-template-columns: 1fr;
    }

    .dmxHostingServicesFeature {
        min-height: 650px;
    }

    .dmxHostingServicesCards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .dmxHostingServices {
        padding: 82px 0;
    }

    .dmxHostingServicesHeading h2 {
        font-size: clamp(2.35rem, 11vw, 3.8rem);
    }

    .dmxHostingServicesFeature {
        min-height: 610px;
        padding: 26px;
    }

    .dmxHostingServicesFeatureContent {
        margin-top: 68px;
    }

    .dmxHostingServicesFeatureMetrics {
        gap: 8px;
    }

    .dmxHostingServicesFeatureMetrics > div {
        padding: 11px;
    }

    .dmxHostingServicesCards {
        grid-template-columns: 1fr;
    }

    .dmxHostingServiceCard {
        min-height: 300px;
        padding: 25px;
    }

    .dmxHostingServicesFooter {
        align-items: flex-start;
        flex-direction: column;

        padding: 24px;
    }

}


@media (max-width: 470px) {

    .dmxHostingServicesEyebrow small {
        font-size: 0.67rem;
    }

    .dmxHostingServicesFeature,
    .dmxHostingServiceCard {
        border-radius: 22px;
    }

    .dmxHostingServicesFeature {
        min-height: 590px;
        padding: 22px;
    }

    .dmxHostingServicesFeatureIcon,
    .dmxHostingServiceCardIcon {
        width: 58px;
        height: 58px;

        border-radius: 18px;
    }

    .dmxHostingServicesFeatureIcon svg,
    .dmxHostingServiceCardIcon svg {
        width: 27px;
        height: 27px;
    }

    .dmxHostingServicesFeatureStatus {
        padding: 8px 10px;

        font-size: 0.59rem;
    }

    .dmxHostingServicesFeatureContent {
        margin-top: 60px;
    }

    .dmxHostingServicesFeatureContent h3 {
        font-size: 2rem;
    }

    .dmxHostingServicesFeatureMetrics {
        grid-template-columns: 1fr;
    }

    .dmxHostingServicesFeatureMetrics > div:nth-child(2),
    .dmxHostingServicesFeatureMetrics > div:nth-child(3) {
        display: none;
    }

    .dmxHostingServicesServer {
        gap: 12px;
    }

    .dmxHostingServicesServerUnit {
        min-height: 39px;
        padding: 8px 10px;
    }

    .dmxHostingServiceCard {
        padding: 22px;
    }

    .dmxHostingServiceCardNumber {
        top: 21px;
        right: 22px;

        font-size: 2.7rem;
    }

    .dmxHostingServiceCardIcon {
        margin-bottom: 56px;
    }

    .dmxHostingServicesFooterContent {
        align-items: flex-start;
    }

    .dmxHostingServicesFooterContent > div:last-child {
        display: grid;
        gap: 3px;
    }

}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dmxHostingServices *,
    .dmxHostingServices *::before,
    .dmxHostingServices *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .dmxHostingServicesReveal {
        opacity: 1;
        transform: none;
    }

}