/* ============================================================
   DIGITALIZANDO MX
   SERVICIOS DE INICIO
============================================================ */

.dmxHomeServices {
    --dmx-services-background: #f7f9fc;
    --dmx-services-surface: rgba(255, 255, 255, 0.82);
    --dmx-services-surface-solid: #ffffff;
    --dmx-services-border: rgba(17, 40, 76, 0.1);
    --dmx-services-border-strong: rgba(17, 40, 76, 0.16);
    --dmx-services-text: #0f1c2e;
    --dmx-services-text-soft: #64748b;
    --dmx-services-text-light: #8b98aa;
    --dmx-services-blue: #1769ff;
    --dmx-services-blue-dark: #0f4fd3;
    --dmx-services-cyan: #0cb8d5;
    --dmx-services-green: #12a879;
    --dmx-services-purple: #7358ff;
    --dmx-services-shadow:
        0 32px 80px rgba(21, 47, 89, 0.11),
        0 10px 28px rgba(21, 47, 89, 0.06);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding:
        clamp(90px, 9vw, 145px)
        0;
    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(23, 105, 255, 0.07),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 76%,
            rgba(12, 184, 213, 0.07),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            var(--dmx-services-background) 100%
        );
    color: var(--dmx-services-text);
}


/* ============================================================
   FONDO
============================================================ */

.dmxHomeServicesBackground {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.dmxHomeServicesGrid {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-image:
        linear-gradient(
            rgba(31, 68, 123, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(31, 68, 123, 0.03) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            rgba(0, 0, 0, 0.6) 18%,
            rgba(0, 0, 0, 0.5) 82%,
            transparent
        );
}

.dmxHomeServicesGlow {
    position: absolute;
    top: 18%;
    right: -12%;
    width: 650px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(23, 105, 255, 0.12),
            rgba(12, 184, 213, 0.04) 45%,
            transparent 72%
        );
    filter: blur(18px);
    animation: dmxServicesGlowFloat 12s ease-in-out infinite;
}

.dmxHomeServicesBackgroundText {
    position: absolute;
    top: 44%;
    left: -0.035em;
    color: rgba(21, 47, 89, 0.018);
    font-size: clamp(120px, 17vw, 280px);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.08em;
    white-space: nowrap;
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: left top;
    user-select: none;
}


/* ============================================================
   CONTENEDOR
============================================================ */

.dmxHomeServicesContainer {
    position: relative;
    width: min(100% - 48px, 1400px);
    margin-inline: auto;
}


/* ============================================================
   ENCABEZADO
============================================================ */

.dmxHomeServicesHeader {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(300px, 0.75fr);
    align-items: end;
    gap: clamp(44px, 6vw, 95px);
    margin-bottom: clamp(48px, 5vw, 72px);
}

.dmxHomeServicesHeaderCopy {
    max-width: 800px;
}

.dmxHomeServicesEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: var(--dmx-services-blue);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dmxHomeServicesEyebrow::before {
    content: "";
    width: 25px;
    height: 2px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--dmx-services-blue),
            var(--dmx-services-cyan)
        );
}

.dmxHomeServicesTitle {
    max-width: 820px;
    margin: 0;
    color: var(--dmx-services-text);
    font-size: clamp(40px, 4.2vw, 66px);
    font-weight: 830;
    line-height: 1.04;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.dmxHomeServicesIntroduction {
    max-width: 500px;
    margin: 0 0 5px;
    color: var(--dmx-services-text-soft);
    font-size: clamp(16px, 1.22vw, 18px);
    font-weight: 450;
    line-height: 1.72;
    text-wrap: pretty;
}


/* ============================================================
   EXPLORADOR
============================================================ */

.dmxHomeServicesExplorer {
    display: grid;
    grid-template-columns:
        minmax(380px, 0.88fr)
        minmax(0, 1.12fr);
    gap: clamp(24px, 3vw, 42px);
    align-items: stretch;
}


/* ============================================================
   NAVEGACIÓN
============================================================ */

.dmxHomeServicesNavigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-content: start;
}

.dmxHomeServicesOption {
    position: relative;
    display: grid;
    grid-template-columns:
        42px
        54px
        minmax(0, 1fr)
        36px;
    min-height: 82px;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    padding: 11px 13px 11px 15px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: var(--dmx-services-text);
    background: transparent;
    text-decoration: none;
    transition:
        border-color 240ms ease,
        background-color 240ms ease,
        box-shadow 240ms ease,
        transform 240ms ease,
        color 240ms ease;
}

.dmxHomeServicesOption::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 3px;
    height: 0;
    border-radius: 0 999px 999px 0;
    background:
        linear-gradient(
            to bottom,
            var(--dmx-services-blue),
            var(--dmx-services-cyan)
        );
    transform: translateY(-50%);
    transition: height 260ms ease;
}

.dmxHomeServicesOption::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    background:
        linear-gradient(
            105deg,
            rgba(23, 105, 255, 0.06),
            rgba(12, 184, 213, 0.025) 48%,
            transparent 82%
        );
    transition: opacity 240ms ease;
}

.dmxHomeServicesOption > * {
    position: relative;
    z-index: 1;
}

.dmxHomeServicesOption:hover,
.dmxHomeServicesOption:focus-visible,
.dmxHomeServicesOption.is-active {
    border-color: rgba(23, 105, 255, 0.12);
    background: rgba(255, 255, 255, 0.74);
    box-shadow:
        0 12px 32px rgba(21, 47, 89, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transform: translateX(5px);
}

.dmxHomeServicesOption:hover::before,
.dmxHomeServicesOption:focus-visible::before,
.dmxHomeServicesOption.is-active::before {
    height: 42px;
}

.dmxHomeServicesOption:hover::after,
.dmxHomeServicesOption:focus-visible::after,
.dmxHomeServicesOption.is-active::after {
    opacity: 1;
}

.dmxHomeServicesOption:focus-visible {
    outline: 3px solid rgba(23, 105, 255, 0.22);
    outline-offset: 3px;
}

.dmxHomeServicesOptionNumber {
    color: var(--dmx-services-text-light);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
    transition: color 220ms ease;
}

.dmxHomeServicesOption:hover .dmxHomeServicesOptionNumber,
.dmxHomeServicesOption:focus-visible .dmxHomeServicesOptionNumber,
.dmxHomeServicesOption.is-active .dmxHomeServicesOptionNumber {
    color: var(--dmx-services-blue);
}

.dmxHomeServicesOptionIcon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23, 105, 255, 0.08);
    border-radius: 16px;
    color: var(--dmx-services-blue);
    background:
        linear-gradient(
            145deg,
            rgba(23, 105, 255, 0.08),
            rgba(12, 184, 213, 0.045)
        );
    transition:
        color 220ms ease,
        background 220ms ease,
        transform 260ms ease,
        box-shadow 220ms ease;
}

.dmxHomeServicesOptionIcon svg {
    width: 24px;
    height: 24px;
}

.dmxHomeServicesOption:hover .dmxHomeServicesOptionIcon,
.dmxHomeServicesOption:focus-visible .dmxHomeServicesOptionIcon,
.dmxHomeServicesOption.is-active .dmxHomeServicesOptionIcon {
    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            var(--dmx-services-blue),
            var(--dmx-services-purple)
        );
    box-shadow: 0 12px 25px rgba(23, 105, 255, 0.22);
    transform: scale(1.04);
}

.dmxHomeServicesOptionContent {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.dmxHomeServicesOptionContent strong {
    overflow: hidden;
    color: var(--dmx-services-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.018em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dmxHomeServicesOptionContent span {
    overflow: hidden;
    color: var(--dmx-services-text-soft);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dmxHomeServicesOptionArrow {
    display: inline-flex;
    width: 33px;
    height: 33px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #9aa7b7;
    background: rgba(255, 255, 255, 0.54);
    transition:
        color 220ms ease,
        background-color 220ms ease,
        transform 240ms ease;
}

.dmxHomeServicesOptionArrow svg {
    width: 17px;
    height: 17px;
}

.dmxHomeServicesOption:hover .dmxHomeServicesOptionArrow,
.dmxHomeServicesOption:focus-visible .dmxHomeServicesOptionArrow,
.dmxHomeServicesOption.is-active .dmxHomeServicesOptionArrow {
    color: var(--dmx-services-blue);
    background: rgba(23, 105, 255, 0.09);
    transform: translateX(3px);
}


/* ============================================================
   PANEL DINÁMICO
============================================================ */

.dmxHomeServicesPreview {
    position: relative;
    display: flex;
    min-height: 620px;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding:
        clamp(28px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 32px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(241, 247, 255, 0.82)
        );
    box-shadow: var(--dmx-services-shadow);
    isolation: isolate;
    backdrop-filter: blur(18px);
}

.dmxHomeServicesPreview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.55),
            transparent 35%,
            transparent 68%,
            rgba(23, 105, 255, 0.035)
        );
}

.dmxHomeServicesPreview::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -140px;
    z-index: -1;
    width: 380px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(23, 105, 255, 0.16),
            rgba(12, 184, 213, 0.045) 46%,
            transparent 72%
        );
    filter: blur(5px);
}

.dmxHomeServicesPreviewBackground {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.dmxHomeServicesPreviewOrbit {
    position: absolute;
    border: 1px solid rgba(23, 105, 255, 0.08);
    border-radius: 50%;
}

.dmxHomeServicesPreviewOrbitOne {
    top: 14%;
    right: -12%;
    width: 440px;
    aspect-ratio: 1;
    animation: dmxServicesOrbit 28s linear infinite;
}

.dmxHomeServicesPreviewOrbitTwo {
    top: 24%;
    right: -3%;
    width: 280px;
    aspect-ratio: 1;
    border-style: dashed;
    animation: dmxServicesOrbitReverse 21s linear infinite;
}

.dmxHomeServicesPreviewDot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dmx-services-blue);
    box-shadow:
        0 0 0 6px rgba(23, 105, 255, 0.06),
        0 0 18px rgba(23, 105, 255, 0.32);
}

.dmxHomeServicesPreviewDotOne {
    top: 22%;
    right: 21%;
    animation: dmxServicesDotFloat 6s ease-in-out infinite;
}

.dmxHomeServicesPreviewDotTwo {
    right: 10%;
    bottom: 21%;
    width: 6px;
    height: 6px;
    background: var(--dmx-services-cyan);
    animation: dmxServicesDotFloat 7.5s ease-in-out -2s infinite;
}


/* ============================================================
   CABECERA DEL PANEL
============================================================ */

.dmxHomeServicesPreviewTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dmxHomeServicesPreviewNumber {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23, 105, 255, 0.1);
    border-radius: 18px;
    color: var(--dmx-services-blue);
    background: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.09em;
    box-shadow: 0 12px 28px rgba(21, 47, 89, 0.07);
}

.dmxHomeServicesPreviewStatus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(18, 168, 121, 0.12);
    border-radius: 999px;
    color: #15815f;
    background: rgba(18, 168, 121, 0.07);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.dmxHomeServicesPreviewStatus::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dmx-services-green);
    box-shadow: 0 0 0 5px rgba(18, 168, 121, 0.09);
    animation: dmxServicesStatusPulse 2s ease-out infinite;
}


/* ============================================================
   CUERPO DEL PANEL
============================================================ */

.dmxHomeServicesPreviewBody {
    max-width: 670px;
    margin-block: auto;
    padding-block: 42px;
}

.dmxHomeServicesPreviewLabel {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--dmx-services-blue);
    font-size: 11px;
    font-weight: 820;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dmxHomeServicesPreviewBody h3 {
    max-width: 660px;
    margin: 0;
    color: var(--dmx-services-text);
    font-size: clamp(40px, 4vw, 64px);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.dmxHomeServicesPreviewBody p {
    max-width: 650px;
    margin: 25px 0 0;
    color: var(--dmx-services-text-soft);
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 450;
    line-height: 1.7;
    text-wrap: pretty;
}

.dmxHomeServicesPreviewResult {
    display: inline-flex;
    max-width: 540px;
    align-items: center;
    gap: 14px;
    margin-top: 31px;
    padding: 15px 18px;
    border: 1px solid rgba(23, 105, 255, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow:
        0 12px 26px rgba(21, 47, 89, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dmxHomeServicesPreviewResultIcon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: var(--dmx-services-blue);
    background:
        linear-gradient(
            145deg,
            rgba(23, 105, 255, 0.1),
            rgba(12, 184, 213, 0.055)
        );
}

.dmxHomeServicesPreviewResultIcon svg {
    width: 21px;
    height: 21px;
}

.dmxHomeServicesPreviewResult > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.dmxHomeServicesPreviewResult small {
    color: var(--dmx-services-text-light);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dmxHomeServicesPreviewResult strong {
    color: #243954;
    font-size: 13px;
    font-weight: 790;
    line-height: 1.35;
}


/* ============================================================
   PIE DEL PANEL
============================================================ */

.dmxHomeServicesPreviewFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dmxHomeServicesPreviewLink {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 18px 0 22px;
    border-radius: 16px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--dmx-services-blue),
            var(--dmx-services-purple)
        );
    font-size: 14px;
    font-weight: 770;
    text-decoration: none;
    box-shadow:
        0 16px 30px rgba(23, 105, 255, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition:
        transform 230ms ease,
        box-shadow 230ms ease;
}

.dmxHomeServicesPreviewLink svg {
    width: 19px;
    height: 19px;
    transition: transform 230ms ease;
}

.dmxHomeServicesPreviewLink:hover {
    transform: translateY(-3px);
    box-shadow:
        0 22px 38px rgba(23, 105, 255, 0.29),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.dmxHomeServicesPreviewLink:hover svg {
    transform: translateX(3px);
}

.dmxHomeServicesPreviewLink:focus-visible {
    outline: 3px solid rgba(23, 105, 255, 0.25);
    outline-offset: 4px;
}

.dmxHomeServicesPreviewCounter {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: var(--dmx-services-text-light);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.08em;
}

.dmxHomeServicesPreviewCounter strong {
    color: var(--dmx-services-blue);
    font-size: 25px;
    font-weight: 880;
    letter-spacing: -0.03em;
}


/* ============================================================
   TRANSICIÓN DEL CONTENIDO DINÁMICO
============================================================ */

.dmxHomeServicesPreview.is-changing
.dmxHomeServicesPreviewBody,
.dmxHomeServicesPreview.is-changing
.dmxHomeServicesPreviewNumber,
.dmxHomeServicesPreview.is-changing
.dmxHomeServicesPreviewFooter {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(9px);
}

.dmxHomeServicesPreviewBody,
.dmxHomeServicesPreviewNumber,
.dmxHomeServicesPreviewFooter {
    transition:
        opacity 220ms ease,
        filter 220ms ease,
        transform 220ms ease;
}

.dmxHomeServicesPreview.is-entering
.dmxHomeServicesPreviewBody,
.dmxHomeServicesPreview.is-entering
.dmxHomeServicesPreviewNumber,
.dmxHomeServicesPreview.is-entering
.dmxHomeServicesPreviewFooter {
    animation: dmxServicesPreviewEnter 430ms ease forwards;
}


/* ============================================================
   PIE GENERAL
============================================================ */

.dmxHomeServicesFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: clamp(34px, 4vw, 52px);
    padding-top: 25px;
    border-top: 1px solid rgba(17, 40, 76, 0.09);
}

.dmxHomeServicesFooter p {
    margin: 0;
    color: var(--dmx-services-text-soft);
    font-size: 14px;
    font-weight: 520;
    line-height: 1.55;
}

.dmxHomeServicesFooter a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--dmx-services-blue);
    font-size: 14px;
    font-weight: 770;
    text-decoration: none;
    transition:
        color 220ms ease,
        transform 220ms ease;
}

.dmxHomeServicesFooter a svg {
    width: 18px;
    height: 18px;
    transition: transform 220ms ease;
}

.dmxHomeServicesFooter a:hover {
    color: var(--dmx-services-blue-dark);
    transform: translateX(2px);
}

.dmxHomeServicesFooter a:hover svg {
    transform: translateX(3px);
}

.dmxHomeServicesFooter a:focus-visible {
    outline: 3px solid rgba(23, 105, 255, 0.22);
    outline-offset: 4px;
    border-radius: 5px;
}


/* ============================================================
   ANIMACIONES
============================================================ */

@keyframes dmxServicesGlowFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-25px, 20px, 0) scale(1.06);
    }

}

@keyframes dmxServicesOrbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes dmxServicesOrbitReverse {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }

}

@keyframes dmxServicesDotFloat {

    0%,
    100% {
        opacity: 0.45;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-15px);
    }

}

@keyframes dmxServicesStatusPulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 5px rgba(18, 168, 121, 0.09);
    }

    50% {
        opacity: 0.65;
        box-shadow: 0 0 0 8px rgba(18, 168, 121, 0);
    }

}

@keyframes dmxServicesPreviewEnter {

    from {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(9px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }

}


/* ============================================================
   1350PX
============================================================ */

@media (max-width: 1350px) {

    .dmxHomeServicesContainer {
        width: min(100% - 42px, 1240px);
    }

    .dmxHomeServicesExplorer {
        grid-template-columns:
            minmax(350px, 0.88fr)
            minmax(0, 1.12fr);
        gap: 28px;
    }

    .dmxHomeServicesOption {
        grid-template-columns:
            36px
            48px
            minmax(0, 1fr)
            32px;
        min-height: 76px;
        gap: 11px;
        padding-inline: 12px;
    }

    .dmxHomeServicesOptionIcon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .dmxHomeServicesOptionIcon svg {
        width: 22px;
        height: 22px;
    }

    .dmxHomeServicesPreview {
        min-height: 585px;
    }

}


/* ============================================================
   1100PX
============================================================ */

@media (max-width: 1100px) {

    .dmxHomeServicesHeader {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .dmxHomeServicesIntroduction {
        max-width: 740px;
    }

    .dmxHomeServicesExplorer {
        grid-template-columns: minmax(0, 1fr);
    }

    .dmxHomeServicesNavigation {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .dmxHomeServicesOption {
        grid-template-columns:
            34px
            46px
            minmax(0, 1fr)
            31px;
        min-height: 78px;
        transform: none;
    }

    .dmxHomeServicesOption:hover,
    .dmxHomeServicesOption:focus-visible,
    .dmxHomeServicesOption.is-active {
        transform: translateY(-2px);
    }

    .dmxHomeServicesPreview {
        min-height: 520px;
    }

    .dmxHomeServicesPreviewBody {
        max-width: 760px;
        padding-block: 48px;
    }

}


/* ============================================================
   760PX
============================================================ */

@media (max-width: 760px) {

    .dmxHomeServices {
        padding:
            82px
            0;
    }

    .dmxHomeServicesContainer {
        width: min(100% - 28px, 680px);
    }

    .dmxHomeServicesHeader {
        margin-bottom: 36px;
    }

    .dmxHomeServicesTitle {
        font-size: clamp(38px, 8vw, 52px);
    }

    .dmxHomeServicesIntroduction {
        font-size: 16px;
    }

    .dmxHomeServicesNavigation {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .dmxHomeServicesOption {
        grid-template-columns:
            31px
            44px
            minmax(0, 1fr)
            30px;
        min-height: 72px;
        padding: 9px 10px 9px 12px;
        border-color: rgba(17, 40, 76, 0.07);
        background: rgba(255, 255, 255, 0.66);
    }

    .dmxHomeServicesOption:hover,
    .dmxHomeServicesOption:focus-visible,
    .dmxHomeServicesOption.is-active {
        transform: none;
    }

    .dmxHomeServicesOptionIcon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .dmxHomeServicesOptionIcon svg {
        width: 20px;
        height: 20px;
    }

    .dmxHomeServicesOptionContent strong {
        font-size: 15px;
    }

    .dmxHomeServicesOptionContent span {
        font-size: 11px;
    }

    .dmxHomeServicesPreview {
        min-height: 470px;
        padding: 26px;
        border-radius: 26px;
    }

    .dmxHomeServicesPreviewNumber {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 12px;
    }

    .dmxHomeServicesPreviewBody {
        padding-block: 35px;
    }

    .dmxHomeServicesPreviewBody h3 {
        font-size: clamp(36px, 8.5vw, 48px);
    }

    .dmxHomeServicesPreviewBody p {
        margin-top: 20px;
        font-size: 16px;
    }

    .dmxHomeServicesPreviewResult {
        margin-top: 25px;
    }

    .dmxHomeServicesFooter {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

}


/* ============================================================
   560PX
============================================================ */

@media (max-width: 560px) {

    .dmxHomeServices {
        padding:
            70px
            0;
    }

    .dmxHomeServicesContainer {
        width: min(100% - 22px, 500px);
    }

    .dmxHomeServicesEyebrow {
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .dmxHomeServicesTitle {
        font-size: clamp(34px, 10.2vw, 44px);
        line-height: 1.06;
    }

    .dmxHomeServicesOption {
        grid-template-columns:
            27px
            41px
            minmax(0, 1fr)
            28px;
        gap: 9px;
        min-height: 68px;
        border-radius: 15px;
    }

    .dmxHomeServicesOptionNumber {
        font-size: 8px;
    }

    .dmxHomeServicesOptionIcon {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .dmxHomeServicesOptionIcon svg {
        width: 18px;
        height: 18px;
    }

    .dmxHomeServicesOptionContent strong {
        font-size: 14px;
    }

    .dmxHomeServicesOptionContent span {
        font-size: 10px;
    }

    .dmxHomeServicesOptionArrow {
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }

    .dmxHomeServicesOptionArrow svg {
        width: 15px;
        height: 15px;
    }

    .dmxHomeServicesPreview {
        display: none;
    }

    .dmxHomeServicesFooter {
        margin-top: 28px;
        padding-top: 20px;
    }

    .dmxHomeServicesFooter p,
    .dmxHomeServicesFooter a {
        font-size: 13px;
    }

}


/* ============================================================
   ACCESIBILIDAD
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .dmxHomeServices *,
    .dmxHomeServices *::before,
    .dmxHomeServices *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .dmxHomeServicesOption:hover,
    .dmxHomeServicesOption:focus-visible,
    .dmxHomeServicesOption.is-active,
    .dmxHomeServicesPreviewLink:hover,
    .dmxHomeServicesFooter a:hover {
        transform: none;
    }

    .dmxHomeServicesPreview.is-changing
    .dmxHomeServicesPreviewBody,
    .dmxHomeServicesPreview.is-changing
    .dmxHomeServicesPreviewNumber,
    .dmxHomeServicesPreview.is-changing
    .dmxHomeServicesPreviewFooter {
        opacity: 1;
        filter: none;
        transform: none;
    }

}