/* ============================================================
   DIGITALIZANDO MX
   CONTACTO DE INICIO
============================================================ */

.dmxHomeContact {
    --dmx-contact-background: #071426;
    --dmx-contact-background-soft: #0b1d35;
    --dmx-contact-surface: rgba(255, 255, 255, 0.07);
    --dmx-contact-surface-strong: rgba(255, 255, 255, 0.1);
    --dmx-contact-border: rgba(255, 255, 255, 0.1);
    --dmx-contact-border-strong: rgba(92, 164, 255, 0.28);
    --dmx-contact-text: #f7fbff;
    --dmx-contact-text-soft: #aebdd0;
    --dmx-contact-text-muted: #7f91a7;
    --dmx-contact-blue: #2d7ff9;
    --dmx-contact-blue-light: #5ca4ff;
    --dmx-contact-cyan: #24c4d8;
    --dmx-contact-success: #61d8a3;
    --dmx-contact-danger: #ff8b96;
    --dmx-contact-shadow:
        0 30px 90px rgba(0, 0, 0, 0.34),
        0 10px 32px rgba(0, 0, 0, 0.2);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding:
        clamp(78px, 7vw, 112px)
        0;
    color: var(--dmx-contact-text);
    background:
        radial-gradient(
            circle at 12% 14%,
            rgba(45, 127, 249, 0.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 87% 84%,
            rgba(36, 196, 216, 0.1),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #06111f 0%,
            var(--dmx-contact-background) 45%,
            #0a1830 100%
        );
}


/* ============================================================
   FONDO
============================================================ */

.dmxHomeContactBackground {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.dmxHomeContactGrid {
    position: absolute;
    inset: 0;
    opacity: 0.38;
    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: 58px 58px;
    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            #000 16%,
            #000 84%,
            transparent 100%
        );
}

.dmxHomeContactGlow {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    will-change: transform;
}

.dmxHomeContactGlowOne {
    top: -190px;
    left: -170px;
    width: 560px;
    aspect-ratio: 1;
    background:
        radial-gradient(
            circle,
            rgba(45, 127, 249, 0.22),
            rgba(45, 127, 249, 0.05) 52%,
            transparent 72%
        );
    animation:
        dmxHomeContactGlowOne
        16s
        ease-in-out
        infinite;
}

.dmxHomeContactGlowTwo {
    right: -170px;
    bottom: -230px;
    width: 620px;
    aspect-ratio: 1;
    background:
        radial-gradient(
            circle,
            rgba(36, 196, 216, 0.16),
            rgba(36, 196, 216, 0.035) 54%,
            transparent 73%
        );
    animation:
        dmxHomeContactGlowTwo
        19s
        ease-in-out
        infinite;
}

.dmxHomeContactOrbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 50%;
}

.dmxHomeContactOrbitOne {
    top: 9%;
    right: 7%;
    width: 260px;
    aspect-ratio: 1;
    animation:
        dmxHomeContactOrbit
        24s
        linear
        infinite;
}

.dmxHomeContactOrbitOne::before {
    content: "";
    position: absolute;
    top: 18%;
    left: 2%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dmx-contact-blue-light);
    box-shadow:
        0 0 0 7px rgba(92, 164, 255, 0.08),
        0 0 20px rgba(92, 164, 255, 0.45);
}

.dmxHomeContactOrbitTwo {
    right: 18%;
    bottom: 5%;
    width: 150px;
    aspect-ratio: 1;
    border-style: dashed;
    animation:
        dmxHomeContactOrbitReverse
        18s
        linear
        infinite;
}


/* ============================================================
   CONTENEDOR
============================================================ */

.dmxHomeContactContainer {
    position: relative;
    width: min(100% - 48px, 1360px);
    margin-inline: auto;
}


/* ============================================================
   TARJETA PRINCIPAL
============================================================ */

.dmxHomeContactWorkspace {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 0.84fr)
        minmax(540px, 1.16fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: stretch;
    overflow: hidden;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid var(--dmx-contact-border);
    border-radius: 34px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.085),
            rgba(255, 255, 255, 0.045)
        );
    box-shadow: var(--dmx-contact-shadow);
    backdrop-filter: blur(22px);
}

.dmxHomeContactWorkspace::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.025),
            transparent 28%,
            transparent 72%,
            rgba(92, 164, 255, 0.035)
        );
}


/* ============================================================
   INTRODUCCIÓN
============================================================ */

.dmxHomeContactIntroduction {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding:
        clamp(12px, 2vw, 28px)
        clamp(4px, 1vw, 14px);
}

.dmxHomeContactAvailability {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    padding: 9px 12px;
    border: 1px solid rgba(97, 216, 163, 0.16);
    border-radius: 999px;
    color: #a9efca;
    background: rgba(97, 216, 163, 0.07);
    font-size: 10px;
    font-weight: 770;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.dmxHomeContactAvailability > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dmx-contact-success);
    box-shadow:
        0 0 0 5px rgba(97, 216, 163, 0.08),
        0 0 16px rgba(97, 216, 163, 0.42);
    animation:
        dmxHomeContactPulse
        2.4s
        ease-in-out
        infinite;
}

.dmxHomeContactHeading {
    max-width: 560px;
}

.dmxHomeContactEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--dmx-contact-blue-light);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dmxHomeContactEyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--dmx-contact-blue-light),
            var(--dmx-contact-cyan)
        );
}

.dmxHomeContactHeading h2 {
    margin: 0;
    color: var(--dmx-contact-text);
    font-size: clamp(43px, 4.2vw, 67px);
    font-weight: 860;
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-wrap: balance;
}

.dmxHomeContactHeading h2 span {
    display: block;
    color: transparent;
    background:
        linear-gradient(
            105deg,
            var(--dmx-contact-blue-light),
            var(--dmx-contact-cyan)
        );
    background-clip: text;
    -webkit-background-clip: text;
}

.dmxHomeContactHeading > p {
    max-width: 540px;
    margin: 21px 0 0;
    color: var(--dmx-contact-text-soft);
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 430;
    line-height: 1.72;
    text-wrap: pretty;
}


/* ============================================================
   MÉTODOS DE CONTACTO
============================================================ */

.dmxHomeContactMethods {
    display: grid;
    gap: 10px;
    margin-top: 34px;
}

.dmxHomeContactMethod {
    display: grid;
    grid-template-columns:
        44px
        minmax(0, 1fr)
        30px;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 17px;
    color: inherit;
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition:
        border-color 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.dmxHomeContactMethod:hover {
    border-color: rgba(92, 164, 255, 0.22);
    background: rgba(255, 255, 255, 0.075);
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(4px);
}

.dmxHomeContactMethod:focus-visible {
    outline: 3px solid rgba(92, 164, 255, 0.26);
    outline-offset: 4px;
}

.dmxHomeContactMethodIcon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(92, 164, 255, 0.16);
    border-radius: 14px;
    color: var(--dmx-contact-blue-light);
    background:
        linear-gradient(
            145deg,
            rgba(92, 164, 255, 0.13),
            rgba(36, 196, 216, 0.055)
        );
}

.dmxHomeContactMethodIcon svg {
    width: 20px;
    height: 20px;
}

.dmxHomeContactMethodContent {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.dmxHomeContactMethodContent small {
    color: var(--dmx-contact-text-muted);
    font-size: 8px;
    font-weight: 730;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dmxHomeContactMethodContent strong {
    overflow: hidden;
    color: var(--dmx-contact-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dmxHomeContactMethodArrow {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--dmx-contact-text-muted);
    background: rgba(255, 255, 255, 0.035);
    transition:
        color 220ms ease,
        background-color 220ms ease,
        transform 220ms ease;
}

.dmxHomeContactMethodArrow svg {
    width: 16px;
    height: 16px;
}

.dmxHomeContactMethod:hover
.dmxHomeContactMethodArrow {
    color: #ffffff;
    background: var(--dmx-contact-blue);
    transform: translateY(-2px) rotate(3deg);
}


/* ============================================================
   RESPUESTA
============================================================ */

.dmxHomeContactResponse {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--dmx-contact-text-muted);
    font-size: 11px;
    line-height: 1.5;
}

.dmxHomeContactResponse strong {
    color: var(--dmx-contact-text-soft);
}

.dmxHomeContactResponseIcon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--dmx-contact-cyan);
    background: rgba(36, 196, 216, 0.07);
}

.dmxHomeContactResponseIcon svg {
    width: 16px;
    height: 16px;
}


/* ============================================================
   FORMULARIO
============================================================ */

.dmxHomeContactForm {
    position: relative;
    min-width: 0;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.055)
        );
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.dmxHomeContactForm::before {
    content: "";
    position: absolute;
    top: 0;
    right: 12%;
    left: 12%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(92, 164, 255, 0.52),
            rgba(36, 196, 216, 0.35),
            transparent
        );
}


/* ============================================================
   HONEYPOT
============================================================ */

.dmxHomeContactHoneypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ============================================================
   CABECERA DEL FORMULARIO
============================================================ */

.dmxHomeContactFormHeader {
    margin-bottom: 24px;
}

.dmxHomeContactFormHeader > span {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--dmx-contact-blue-light);
    font-size: 9px;
    font-weight: 790;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dmxHomeContactFormHeader h3 {
    margin: 0;
    color: var(--dmx-contact-text);
    font-size: clamp(25px, 2.2vw, 34px);
    font-weight: 820;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.dmxHomeContactFormHeader p {
    margin: 8px 0 0;
    color: var(--dmx-contact-text-muted);
    font-size: 11px;
    line-height: 1.5;
}


/* ============================================================
   CAMPOS
============================================================ */

.dmxHomeContactFormFields {
    display: grid;
    gap: 16px;
}

.dmxHomeContactFormRow {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.dmxHomeContactField {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.dmxHomeContactField > span:first-child {
    color: var(--dmx-contact-text-soft);
    font-size: 10px;
    font-weight: 680;
    line-height: 1.4;
}

.dmxHomeContactField abbr {
    color: var(--dmx-contact-blue-light);
    text-decoration: none;
}

.dmxHomeContactField input,
.dmxHomeContactField select,
.dmxHomeContactField textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    color: var(--dmx-contact-text);
    background: rgba(4, 18, 35, 0.54);
    font: inherit;
    font-size: 13px;
    font-weight: 450;
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition:
        border-color 210ms ease,
        background-color 210ms ease,
        box-shadow 210ms ease;
}

.dmxHomeContactField input,
.dmxHomeContactField select {
    min-height: 48px;
    padding:
        0
        14px;
}

.dmxHomeContactField textarea {
    min-height: 118px;
    padding: 14px;
    line-height: 1.6;
    resize: vertical;
}

.dmxHomeContactField input::placeholder,
.dmxHomeContactField textarea::placeholder {
    color: rgba(174, 189, 208, 0.48);
}

.dmxHomeContactField input:hover,
.dmxHomeContactField select:hover,
.dmxHomeContactField textarea:hover {
    border-color: rgba(92, 164, 255, 0.17);
    background: rgba(6, 23, 44, 0.67);
}

.dmxHomeContactField input:focus,
.dmxHomeContactField select:focus,
.dmxHomeContactField textarea:focus {
    border-color: rgba(92, 164, 255, 0.56);
    background: rgba(7, 26, 50, 0.82);
    box-shadow:
        0 0 0 4px rgba(45, 127, 249, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dmxHomeContactField input:user-invalid,
.dmxHomeContactField select:user-invalid,
.dmxHomeContactField textarea:user-invalid {
    border-color: rgba(255, 139, 150, 0.48);
}

.dmxHomeContactFieldHint {
    color: var(--dmx-contact-text-muted);
    font-size: 9px;
    line-height: 1.4;
}


/* ============================================================
   SELECT
============================================================ */

.dmxHomeContactSelect {
    position: relative;
    display: block;
}

.dmxHomeContactSelect select {
    appearance: none;
    padding-right: 44px;
    cursor: pointer;
}

.dmxHomeContactSelect > svg {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 17px;
    height: 17px;
    color: var(--dmx-contact-text-muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.dmxHomeContactSelect option {
    color: #0b1d35;
    background: #ffffff;
}


/* ============================================================
   PRIVACIDAD
============================================================ */

.dmxHomeContactPrivacy {
    display: grid;
    grid-template-columns:
        20px
        minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin-top: 18px;
    cursor: pointer;
}

.dmxHomeContactPrivacy > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.dmxHomeContactCheckbox {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: transparent;
    background: rgba(4, 18, 35, 0.54);
    transition:
        border-color 200ms ease,
        color 200ms ease,
        background-color 200ms ease,
        box-shadow 200ms ease;
}

.dmxHomeContactCheckbox svg {
    width: 14px;
    height: 14px;
}

.dmxHomeContactPrivacy
input:checked +
.dmxHomeContactCheckbox {
    border-color: var(--dmx-contact-blue);
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--dmx-contact-blue),
            var(--dmx-contact-cyan)
        );
    box-shadow:
        0 8px 18px rgba(45, 127, 249, 0.22);
}

.dmxHomeContactPrivacy
input:focus-visible +
.dmxHomeContactCheckbox {
    outline: 3px solid rgba(92, 164, 255, 0.24);
    outline-offset: 3px;
}

.dmxHomeContactPrivacyText {
    color: var(--dmx-contact-text-muted);
    font-size: 10px;
    line-height: 1.55;
}

.dmxHomeContactPrivacyText a {
    color: var(--dmx-contact-blue-light);
    font-weight: 650;
    text-decoration: none;
}

.dmxHomeContactPrivacyText a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dmxHomeContactPrivacyText a:focus-visible {
    outline: 2px solid rgba(92, 164, 255, 0.28);
    outline-offset: 3px;
    border-radius: 3px;
}


/* ============================================================
   PIE DEL FORMULARIO
============================================================ */

.dmxHomeContactFormFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 22px;
}

.dmxHomeContactFormSecurity {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--dmx-contact-text-muted);
    font-size: 9px;
    font-weight: 660;
    line-height: 1.4;
}

.dmxHomeContactFormSecurity svg {
    width: 15px;
    height: 15px;
    color: var(--dmx-contact-cyan);
}

.dmxHomeContactSubmit {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding:
        0
        19px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--dmx-contact-blue),
            #596cf2
        );
    font: inherit;
    font-size: 11px;
    font-weight: 760;
    cursor: pointer;
    box-shadow:
        0 16px 30px rgba(45, 127, 249, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.23);
    transition:
        box-shadow 220ms ease,
        transform 220ms ease,
        opacity 220ms ease;
}

.dmxHomeContactSubmit svg {
    width: 17px;
    height: 17px;
    transition: transform 220ms ease;
}

.dmxHomeContactSubmit:hover {
    box-shadow:
        0 21px 38px rgba(45, 127, 249, 0.31),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.dmxHomeContactSubmit:hover svg {
    transform: translateX(3px);
}

.dmxHomeContactSubmit:focus-visible {
    outline: 3px solid rgba(92, 164, 255, 0.32);
    outline-offset: 4px;
}

.dmxHomeContactSubmit:disabled {
    opacity: 0.58;
    cursor: wait;
    transform: none;
    box-shadow:
        0 10px 22px rgba(45, 127, 249, 0.13);
}

.dmxHomeContactSubmit.is-loading svg {
    animation:
        dmxHomeContactSubmitLoading
        900ms
        linear
        infinite;
}


/* ============================================================
   MENSAJES
============================================================ */

.dmxHomeContactMessage {
    display: none;
    margin-top: 15px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 620;
    line-height: 1.5;
}

.dmxHomeContactMessage:not(:empty) {
    display: block;
}

.dmxHomeContactMessage.is-success {
    border-color: rgba(97, 216, 163, 0.17);
    color: #aef0cf;
    background: rgba(97, 216, 163, 0.07);
}

.dmxHomeContactMessage.is-error {
    border-color: rgba(255, 139, 150, 0.18);
    color: #ffb1b9;
    background: rgba(255, 139, 150, 0.07);
}


/* ============================================================
   REVEAL PARA JAVASCRIPT
============================================================ */

.dmxHomeContact [data-dmx-contact-reveal] {
    opacity: 1;
    transform: none;
}

.dmxHomeContact.is-js-ready
[data-dmx-contact-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

.dmxHomeContact.is-visible
[data-dmx-contact-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity
        760ms
        cubic-bezier(0.2, 0.72, 0.2, 1),
        transform
        760ms
        cubic-bezier(0.2, 0.72, 0.2, 1);
}


/* ============================================================
   ANIMACIONES
============================================================ */

@keyframes dmxHomeContactGlowOne {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(26px, 20px, 0)
            scale(1.06);
    }

}

@keyframes dmxHomeContactGlowTwo {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(-28px, -22px, 0)
            scale(1.05);
    }

}

@keyframes dmxHomeContactOrbit {

    to {
        transform: rotate(360deg);
    }

}

@keyframes dmxHomeContactOrbitReverse {

    to {
        transform: rotate(-360deg);
    }

}

@keyframes dmxHomeContactPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.72;
        transform: scale(0.82);
    }

}

@keyframes dmxHomeContactSubmitLoading {

    to {
        transform: rotate(360deg);
    }

}


/* ============================================================
   1180PX
============================================================ */

@media (max-width: 1180px) {

    .dmxHomeContactContainer {
        width: min(100% - 40px, 1080px);
    }

    .dmxHomeContactWorkspace {
        grid-template-columns:
            minmax(0, 0.78fr)
            minmax(490px, 1.22fr);
        gap: 34px;
    }

    .dmxHomeContactHeading h2 {
        font-size: clamp(41px, 4.6vw, 58px);
    }

}


/* ============================================================
   980PX
============================================================ */

@media (max-width: 980px) {

    .dmxHomeContactWorkspace {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .dmxHomeContactIntroduction {
        display: grid;
        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(300px, 0.9fr);
        gap: 26px 34px;
        align-items: end;
        padding: 10px 6px 2px;
    }

    .dmxHomeContactAvailability {
        grid-column: 1 / -1;
        margin-bottom: -2px;
    }

    .dmxHomeContactMethods {
        margin-top: 0;
    }

    .dmxHomeContactResponse {
        grid-column: 1 / -1;
        margin-top: -5px;
    }

    .dmxHomeContactForm {
        padding: 30px;
    }

}


/* ============================================================
   720PX
============================================================ */

@media (max-width: 720px) {

    .dmxHomeContact {
        padding:
            68px
            0;
    }

    .dmxHomeContactContainer {
        width: min(100% - 26px, 660px);
    }

    .dmxHomeContactWorkspace {
        gap: 25px;
        padding: 18px;
        border-radius: 25px;
    }

    .dmxHomeContactIntroduction {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 4px 0;
    }

    .dmxHomeContactAvailability {
        margin-bottom: 23px;
    }

    .dmxHomeContactMethods {
        margin-top: 28px;
    }

    .dmxHomeContactResponse {
        margin-top: 18px;
    }

    .dmxHomeContactHeading h2 {
        font-size: clamp(39px, 10vw, 55px);
    }

    .dmxHomeContactForm {
        padding: 23px;
        border-radius: 21px;
    }

    .dmxHomeContactFormRow {
        grid-template-columns: minmax(0, 1fr);
    }

}


/* ============================================================
   520PX
============================================================ */

@media (max-width: 520px) {

    .dmxHomeContact {
        padding:
            58px
            0;
    }

    .dmxHomeContactContainer {
        width: min(100% - 20px, 470px);
    }

    .dmxHomeContactWorkspace {
        padding: 13px;
        border-radius: 21px;
    }

    .dmxHomeContactIntroduction {
        padding:
            10px
            5px
            4px;
    }

    .dmxHomeContactAvailability {
        font-size: 8px;
    }

    .dmxHomeContactEyebrow {
        font-size: 9px;
    }

    .dmxHomeContactHeading h2 {
        font-size: clamp(36px, 11vw, 46px);
    }

    .dmxHomeContactHeading > p {
        font-size: 14px;
    }

    .dmxHomeContactMethod {
        grid-template-columns:
            40px
            minmax(0, 1fr)
            28px;
        padding: 11px;
        border-radius: 15px;
    }

    .dmxHomeContactMethodIcon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .dmxHomeContactMethodContent strong {
        font-size: 10px;
    }

    .dmxHomeContactForm {
        padding:
            21px
            17px;
        border-radius: 18px;
    }

    .dmxHomeContactFormHeader h3 {
        font-size: 27px;
    }

    .dmxHomeContactFormFooter {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .dmxHomeContactSubmit {
        width: 100%;
    }

    .dmxHomeContactFormSecurity {
        justify-content: center;
    }

    .dmxHomeContactPrivacyText {
        font-size: 9px;
    }

    .dmxHomeContactOrbit {
        display: none;
    }

}


/* ============================================================
   ACCESIBILIDAD
============================================================ */

@media (prefers-reduced-motion: reduce) {

    .dmxHomeContact *,
    .dmxHomeContact *::before,
    .dmxHomeContact *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .dmxHomeContact [data-dmx-contact-reveal],
    .dmxHomeContact.is-js-ready [data-dmx-contact-reveal],
    .dmxHomeContact.is-visible [data-dmx-contact-reveal] {
        opacity: 1;
        transform: none;
    }

    .dmxHomeContactMethod:hover,
    .dmxHomeContactSubmit:hover {
        transform: none;
    }

}
/* ============================================================
   CONTACTO
   VARIANTE FONDO CLARO + TARJETA OSCURA
============================================================ */

.dmxHomeContact {
    --dmx-contact-background: #071426;
    --dmx-contact-background-soft: #0b1d35;

    --dmx-contact-surface: rgba(255, 255, 255, 0.07);
    --dmx-contact-surface-strong: rgba(255, 255, 255, 0.1);

    --dmx-contact-border: rgba(255, 255, 255, 0.11);
    --dmx-contact-border-strong: rgba(92, 164, 255, 0.3);

    --dmx-contact-text: #f7fbff;
    --dmx-contact-text-soft: #b7c5d7;
    --dmx-contact-text-muted: #8294aa;

    --dmx-contact-blue: #2d7ff9;
    --dmx-contact-blue-light: #68aaff;
    --dmx-contact-cyan: #24c4d8;
    --dmx-contact-success: #61d8a3;
    --dmx-contact-danger: #ff8b96;

    --dmx-contact-shadow:
        0 38px 100px rgba(18, 42, 75, 0.18),
        0 14px 40px rgba(18, 42, 75, 0.11);

    padding:
        clamp(88px, 8vw, 130px)
        0
        clamp(104px, 9vw, 150px);

    color: var(--dmx-contact-text);

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(45, 127, 249, 0.1),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 75%,
            rgba(36, 196, 216, 0.09),
            transparent 29%
        ),
        linear-gradient(
            145deg,
            #f7faff 0%,
            #eef5ff 48%,
            #f8fbff 100%
        );
}


/* ============================================================
   FONDO DECORATIVO CLARO
============================================================ */

.dmxHomeContactGrid {
    opacity: 0.5;

    background-image:
        linear-gradient(
            rgba(28, 67, 116, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(28, 67, 116, 0.045) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            #000 14%,
            #000 84%,
            transparent 100%
        );
}

.dmxHomeContactGlowOne {
    top: -220px;
    left: -180px;
    width: 590px;

    background:
        radial-gradient(
            circle,
            rgba(45, 127, 249, 0.16),
            rgba(45, 127, 249, 0.045) 52%,
            transparent 72%
        );
}

.dmxHomeContactGlowTwo {
    right: -190px;
    bottom: -250px;
    width: 650px;

    background:
        radial-gradient(
            circle,
            rgba(36, 196, 216, 0.13),
            rgba(36, 196, 216, 0.035) 54%,
            transparent 73%
        );
}


/* ============================================================
   ÓRBITAS SOBRE FONDO CLARO
============================================================ */

.dmxHomeContactOrbit {
    border-color: rgba(32, 75, 129, 0.08);
}

.dmxHomeContactOrbitOne::before {
    background: var(--dmx-contact-blue);
    box-shadow:
        0 0 0 7px rgba(45, 127, 249, 0.08),
        0 0 20px rgba(45, 127, 249, 0.25);
}


/* ============================================================
   TARJETA PRINCIPAL OSCURA
============================================================ */

.dmxHomeContactWorkspace {
    border:
        1px solid
        rgba(109, 169, 255, 0.18);

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(45, 127, 249, 0.17),
            transparent 34%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(36, 196, 216, 0.11),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #0a1729 0%,
            #091526 43%,
            #0b2036 100%
        );

    box-shadow:
        0 42px 110px rgba(21, 47, 81, 0.2),
        0 18px 45px rgba(21, 47, 81, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: none;
}

.dmxHomeContactWorkspace::before {
    background:
        linear-gradient(
            115deg,
            rgba(255, 255, 255, 0.035),
            transparent 26%,
            transparent 70%,
            rgba(92, 164, 255, 0.055)
        );
}

.dmxHomeContactWorkspace::after {
    content: "";
    position: absolute;
    top: 0;
    right: 9%;
    left: 9%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(92, 164, 255, 0.58),
            rgba(36, 196, 216, 0.36),
            transparent
        );

    pointer-events: none;
}


/* ============================================================
   COLUMNA DE INTRODUCCIÓN
============================================================ */

.dmxHomeContactIntroduction {
    position: relative;
}

.dmxHomeContactIntroduction::after {
    content: "";
    position: absolute;
    top: 10%;
    right: calc(clamp(28px, 4vw, 64px) / -2);
    bottom: 10%;
    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(255, 255, 255, 0.09) 18%,
            rgba(255, 255, 255, 0.09) 82%,
            transparent
        );
}


/* ============================================================
   FORMULARIO INTERIOR
============================================================ */

.dmxHomeContactForm {
    border:
        1px solid
        rgba(255, 255, 255, 0.1);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(255, 255, 255, 0.045)
        );

    box-shadow:
        0 26px 65px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.085);

    backdrop-filter: blur(18px);
}


/* ============================================================
   MÉTODOS DE CONTACTO
============================================================ */

.dmxHomeContactMethod {
    border-color: rgba(255, 255, 255, 0.075);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.052),
            rgba(255, 255, 255, 0.026)
        );
}

.dmxHomeContactMethod:hover {
    border-color: rgba(92, 164, 255, 0.28);

    background:
        linear-gradient(
            145deg,
            rgba(92, 164, 255, 0.12),
            rgba(36, 196, 216, 0.055)
        );

    box-shadow:
        0 17px 34px rgba(0, 0, 0, 0.18);

    transform: translateX(4px);
}


/* ============================================================
   CAMPOS MÁS DEFINIDOS
============================================================ */

.dmxHomeContactField input,
.dmxHomeContactField select,
.dmxHomeContactField textarea {
    border-color: rgba(255, 255, 255, 0.095);

    background:
        rgba(2, 13, 27, 0.58);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.dmxHomeContactField input:hover,
.dmxHomeContactField select:hover,
.dmxHomeContactField textarea:hover {
    border-color: rgba(92, 164, 255, 0.22);

    background:
        rgba(4, 20, 39, 0.75);
}

.dmxHomeContactField input:focus,
.dmxHomeContactField select:focus,
.dmxHomeContactField textarea:focus {
    border-color: rgba(92, 164, 255, 0.62);

    background:
        rgba(5, 23, 45, 0.92);

    box-shadow:
        0 0 0 4px rgba(45, 127, 249, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}


/* ============================================================
   CHECKBOX
============================================================ */

.dmxHomeContactCheckbox {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(2, 13, 27, 0.58);
}


/* ============================================================
   TRANSICIÓN HACIA EL FOOTER
============================================================ */

.dmxHomeContact::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 100px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(31, 74, 126, 0.035)
        );

    pointer-events: none;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 980px) {

    .dmxHomeContactIntroduction::after {
        display: none;
    }

}

@media (max-width: 720px) {

    .dmxHomeContact {
        padding:
            74px
            0
            92px;
    }

}

@media (max-width: 520px) {

    .dmxHomeContact {
        padding:
            62px
            0
            76px;
    }

    .dmxHomeContactWorkspace {
        box-shadow:
            0 28px 70px rgba(21, 47, 81, 0.18),
            0 10px 28px rgba(21, 47, 81, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }

}
/* ============================================================
   FIELD META
============================================================ */

.dmxHomeContactFieldMeta{

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:16px;

    margin-top:10px;

}


/* ============================================================
   HINT
============================================================ */

.dmxHomeContactFieldHint{

    margin:0;

    color:#8b95ab;

    font-size:.78rem;
    line-height:1.5;

}


/* ============================================================
   CHARACTER COUNTER
============================================================ */

.dmxHomeContactCharacterCounter{

    flex:0 0 auto;

    color:#97a2ba;

    font-size:.78rem;
    font-weight:650;

    letter-spacing:.02em;

}


/* ============================================================
   ERRORS
============================================================ */

.dmxHomeContactFieldError{

    display:block;

    min-height:18px;

    margin-top:8px;

    color:#ff7d7d;

    font-size:.78rem;
    font-weight:600;
    line-height:1.4;

}


.dmxHomeContactPrivacyError{

    margin-top:10px;

}


/* ============================================================
   PRIVACY GROUP
============================================================ */

.dmxHomeContactPrivacyGroup{

    display:grid;

    gap:8px;

}


/* ============================================================
   INVALID STATES
============================================================ */

.dmxHomeContactField input:invalid:not(:placeholder-shown),

.dmxHomeContactField textarea:invalid:not(:placeholder-shown),

.dmxHomeContactField select:invalid{

    border-color:
        rgba(255,95,95,.45);

    box-shadow:
        0 0 0 3px
        rgba(255,95,95,.08);

}


.dmxHomeContactField input:focus,

.dmxHomeContactField textarea:focus,

.dmxHomeContactField select:focus{

    border-color:#6672ff;

    box-shadow:
        0 0 0 4px
        rgba(102,114,255,.12);

}


/* ============================================================
   SUCCESS
============================================================ */

.dmxHomeContactField.is-valid input,

.dmxHomeContactField.is-valid textarea,

.dmxHomeContactField.is-valid select{

    border-color:
        rgba(73,203,150,.45);

    box-shadow:
        0 0 0 4px
        rgba(73,203,150,.10);

}


/* ============================================================
   STATUS MESSAGE
============================================================ */

.dmxHomeContactMessage{

    display:none;

    margin-top:22px;

    padding:16px 18px;

    border-radius:16px;

    font-size:.9rem;
    line-height:1.6;

}


.dmxHomeContactMessage.is-visible{

    display:block;

}


.dmxHomeContactMessage.is-success{

    border:1px solid rgba(63,198,137,.20);

    background:
        rgba(63,198,137,.10);

    color:#d9ffeb;

}


.dmxHomeContactMessage.is-error{

    border:1px solid rgba(255,98,98,.20);

    background:
        rgba(255,98,98,.10);

    color:#ffd9d9;

}


/* ============================================================
   SELECT
============================================================ */

.dmxHomeContactSelect{

    position:relative;

    display:flex;
    align-items:center;

}


.dmxHomeContactSelect svg{

    position:absolute;

    right:18px;

    width:18px;
    height:18px;

    pointer-events:none;

    color:#8c95aa;

}


/* ============================================================
   ROW
============================================================ */

.dmxHomeContactFormRow{

    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:20px;

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width:780px){

    .dmxHomeContactFormRow{

        grid-template-columns:1fr;

    }


    .dmxHomeContactFieldMeta{

        align-items:flex-start;

        flex-direction:column;

        gap:8px;

    }


    .dmxHomeContactCharacterCounter{

        align-self:flex-end;

    }

}