/* =========================================================
   REDES SOCIALES — SEGUIMIENTO
========================================================= */

.dmxSocialIdentity {
    position: relative;

    padding: 125px 0;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f9fd 52%,
            #ffffff 100%
        );

    isolation: isolate;
}


/* =========================================================
   FONDO
========================================================= */

.dmxSocialIdentityBackground {
    position: absolute;
    inset: 0;

    z-index: -2;

    overflow: hidden;

    pointer-events: none;
}


.dmxSocialIdentityGrid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(31, 49, 79, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(31, 49, 79, 0.04) 1px,
            transparent 1px
        );

    background-size: 58px 58px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.82),
            transparent 94%
        );
}


.dmxSocialIdentityGlow {
    position: absolute;

    border-radius: 50%;

    filter: blur(28px);
}


.dmxSocialIdentityGlowOne {
    top: -210px;
    right: -170px;

    width: 570px;
    height: 570px;

    background:
        radial-gradient(
            circle,
            rgba(49, 93, 232, 0.16),
            transparent 72%
        );
}


.dmxSocialIdentityGlowTwo {
    bottom: -250px;
    left: -220px;

    width: 640px;
    height: 640px;

    background:
        radial-gradient(
            circle,
            rgba(34, 191, 138, 0.13),
            transparent 72%
        );
}


/* =========================================================
   LAYOUT
========================================================= */

.dmxSocialIdentityLayout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.86fr)
        minmax(560px, 1.14fr);
    align-items: center;
    gap: clamp(70px, 8vw, 125px);
}


/* =========================================================
   CONTENIDO
========================================================= */

.dmxSocialIdentityContent {
    position: relative;

    z-index: 3;
}


.dmxSocialIdentityEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;
}


.dmxSocialIdentityEyebrow > span {
    width: 42px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #315de8,
            #28c391
        );
}


.dmxSocialIdentityEyebrow small {
    color: #315de8;

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.dmxSocialIdentityContent h2 {
    max-width: 720px;
    margin: 0;

    color: #152238;

    font-size: clamp(3rem, 5vw, 5.3rem);
    font-weight: 760;
    line-height: 0.99;
    letter-spacing: -0.06em;

    text-wrap: balance;
}


.dmxSocialIdentityContent h2 span {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            110deg,
            #315de8 0%,
            #4d78f1 45%,
            #27bd89 100%
        );

    background-clip: text;
    -webkit-background-clip: text;
}


.dmxSocialIdentityDescription {
    max-width: 590px;
    margin: 30px 0 0;

    color: #667286;

    font-size: 1.02rem;
    line-height: 1.82;
}


/* =========================================================
   BENEFICIOS
========================================================= */

.dmxSocialIdentityBenefits {
    display: grid;
    gap: 16px;

    margin-top: 40px;
}


.dmxSocialIdentityBenefit {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr);
    align-items: start;
    gap: 17px;

    padding: 18px 20px;

    border: 1px solid rgba(25, 43, 72, 0.08);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.76);

    box-shadow:
        0 12px 28px rgba(24, 42, 70, 0.04);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


.dmxSocialIdentityBenefit:hover {
    border-color: rgba(49, 93, 232, 0.16);

    transform: translateY(-4px);

    box-shadow:
        0 19px 38px rgba(24, 42, 70, 0.08);
}


.dmxSocialIdentityBenefit > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    flex: 0 0 45px;

    color: #315de8;

    border-radius: 14px;

    background: rgba(49, 93, 232, 0.08);

    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.05em;
}


.dmxSocialIdentityBenefit h3 {
    margin: 0;

    color: #17243a;

    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}


.dmxSocialIdentityBenefit p {
    margin: 7px 0 0;

    color: #687488;

    font-size: 0.88rem;
    line-height: 1.62;
}


/* =========================================================
   BOTÓN
========================================================= */

.dmxSocialIdentityButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 58px;
    margin-top: 38px;
    padding: 0 28px;

    color: #ffffff;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #315de8,
            #497af4
        );

    box-shadow:
        0 20px 38px rgba(49, 93, 232, 0.22);

    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.dmxSocialIdentityButton span {
    font-size: 1.08rem;

    transition:
        transform 0.3s ease;
}


.dmxSocialIdentityButton:hover,
.dmxSocialIdentityButton:focus-visible {
    transform: translateY(-4px);

    box-shadow:
        0 28px 48px rgba(49, 93, 232, 0.3);
}


.dmxSocialIdentityButton:hover span,
.dmxSocialIdentityButton:focus-visible span {
    transform: translateX(5px);
}


.dmxSocialIdentityButton:focus-visible {
    outline: 3px solid rgba(49, 93, 232, 0.22);
    outline-offset: 4px;
}


/* =========================================================
   VISUAL
========================================================= */

.dmxSocialIdentityVisual {
    position: relative;

    width: 100%;
    max-width: 760px;
    min-height: 650px;
    margin-left: auto;

    perspective: 1500px;
}


.dmxSocialIdentityDashboard {
    position: relative;
    z-index: 3;

    width: calc(100% - 30px);
    margin: 28px 0 0 30px;
    padding: 25px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(245, 248, 253, 0.92)
        );

    box-shadow:
        0 42px 92px rgba(23, 41, 71, 0.14),
        0 14px 35px rgba(31, 58, 101, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);

    transform:
        rotateY(-4deg)
        rotateX(1deg);

    transform-style: preserve-3d;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.dmxSocialIdentityDashboard::before {
    content: "";

    position: absolute;
    top: -170px;
    right: -130px;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(49, 93, 232, 0.13),
            transparent 72%
        );

    pointer-events: none;
}


.dmxSocialIdentityDashboard::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        radial-gradient(
            270px circle at
            var(--dmx-social-pointer-x, 50%)
            var(--dmx-social-pointer-y, 50%),
            rgba(49, 93, 232, 0.08),
            transparent 72%
        );

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.3s ease;
}


.dmxSocialIdentityDashboard:hover::after {
    opacity: 1;
}


/* =========================================================
   HEADER DEL PANEL
========================================================= */

.dmxSocialIdentityDashboardHeader {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(25, 43, 72, 0.08);
}


.dmxSocialIdentityDashboardHeader small,
.dmxSocialIdentityDashboardHeader strong {
    display: block;
}


.dmxSocialIdentityDashboardHeader small {
    color: #7c889a;

    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.dmxSocialIdentityDashboardHeader strong {
    margin-top: 6px;

    color: #18263d;

    font-size: 1rem;
    font-weight: 800;
}


.dmxSocialIdentityStatus {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #198b66;

    font-size: 0.68rem;
    font-weight: 800;
}


.dmxSocialIdentityStatus i {
    position: relative;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #28c28f;

    box-shadow:
        0 0 0 5px rgba(40, 194, 143, 0.12);
}


.dmxSocialIdentityStatus i::after {
    content: "";

    position: absolute;
    inset: -5px;

    border: 1px solid rgba(40, 194, 143, 0.42);
    border-radius: 50%;

    animation:
        dmxSocialStatusPulse
        2s
        ease-out
        infinite;
}


/* =========================================================
   CUERPO DEL PANEL
========================================================= */

.dmxSocialIdentityDashboardContent {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(220px, 0.8fr)
        minmax(0, 1.2fr);
    align-items: center;
    gap: 22px;

    margin-top: 20px;
}


/* =========================================================
   TELÉFONO
========================================================= */

.dmxSocialIdentityPhoneStage {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 420px;
}


.dmxSocialIdentityPhoneStage::before {
    content: "";

    position: absolute;
    right: 12%;
    bottom: 8%;
    left: 12%;

    height: 38px;

    border-radius: 50%;

    background: rgba(21, 37, 61, 0.18);

    filter: blur(18px);

    transform: scaleX(0.76);
}


.dmxSocialIdentityPhone {
    position: relative;

    width: 222px;
    padding: 9px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 35px;

    background:
        linear-gradient(
            145deg,
            #17253c,
            #0e1726
        );

    box-shadow:
        0 28px 48px rgba(14, 28, 48, 0.27),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);

    animation:
        dmxSocialPhoneFloat
        6s
        ease-in-out
        infinite;
}


.dmxSocialIdentityPhoneTop {
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 4;

    display: flex;
    justify-content: center;

    width: 70px;
    height: 18px;

    border-radius: 999px;

    background: #0c1421;

    transform: translateX(-50%);
}


.dmxSocialIdentityPhoneTop span {
    display: block;

    width: 28px;
    height: 4px;
    margin-top: 7px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.14);
}


.dmxSocialIdentityPhoneScreen {
    min-height: 430px;
    padding: 38px 12px 15px;

    overflow: hidden;

    border-radius: 27px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #f5f7fb
        );
}


/* =========================================================
   PERFIL
========================================================= */

.dmxSocialIdentityProfile {
    display: flex;
    align-items: center;
    gap: 10px;

    padding-bottom: 12px;
}


.dmxSocialIdentityProfileLogo {
    position: relative;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;
}


.dmxSocialIdentityProfileLogo span {
    position: absolute;

    border-radius: 9px;
}


.dmxSocialIdentityProfileLogo span:nth-child(1) {
    inset: 0;

    border: 1px solid rgba(49, 93, 232, 0.25);

    transform: rotate(15deg);
}


.dmxSocialIdentityProfileLogo span:nth-child(2) {
    inset: 6px;

    background:
        linear-gradient(
            135deg,
            #315de8,
            #45cfa4
        );

    transform: rotate(-12deg);
}


.dmxSocialIdentityProfileLogo span:nth-child(3) {
    inset: 13px;

    border-radius: 50%;

    background: #ffffff;
}


.dmxSocialIdentityProfile strong,
.dmxSocialIdentityProfile small {
    display: block;
}


.dmxSocialIdentityProfile strong {
    color: #18263d;

    font-size: 0.68rem;
    font-weight: 850;
}


.dmxSocialIdentityProfile small {
    margin-top: 2px;

    color: #8a95a6;

    font-size: 0.51rem;
}


/* =========================================================
   PUBLICACIÓN
========================================================= */

.dmxSocialIdentityPost {
    overflow: hidden;

    border: 1px solid rgba(25, 43, 72, 0.07);
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 12px 26px rgba(24, 42, 71, 0.07);
}


.dmxSocialIdentityPostVisual {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 225px;
    padding: 18px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #182944 0%,
            #274d88 48%,
            #2fbf91 115%
        );
}


.dmxSocialIdentityPostVisual::before {
    content: "";

    position: absolute;
    top: -75px;
    right: -55px;

    width: 180px;
    height: 180px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}


.dmxSocialIdentityPostVisual::after {
    content: "";

    position: absolute;
    right: 20px;
    bottom: -70px;

    width: 160px;
    height: 160px;

    border-radius: 40px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.02)
        );

    transform: rotate(22deg);
}


.dmxSocialIdentityPostTag,
.dmxSocialIdentityPostVisual strong,
.dmxSocialIdentityPostVisual small {
    position: relative;
    z-index: 2;
}


.dmxSocialIdentityPostTag {
    display: inline-flex;
    align-self: flex-start;

    margin-bottom: auto;
    padding: 6px 8px;

    color: rgba(255, 255, 255, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);

    font-size: 0.43rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}


.dmxSocialIdentityPostVisual strong {
    max-width: 175px;

    color: #ffffff;

    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}


.dmxSocialIdentityPostVisual small {
    margin-top: 14px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.5rem;
    font-weight: 700;
}


.dmxSocialIdentityPostActions {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 10px 12px 5px;
}


.dmxSocialIdentityPostActions span {
    display: block;

    width: 13px;
    height: 13px;

    border: 1.5px solid #576477;
    border-radius: 50%;
}


.dmxSocialIdentityPostActions span:nth-child(2) {
    border-radius: 4px;
}


.dmxSocialIdentityPostActions span:nth-child(3) {
    margin-left: auto;

    border-radius: 3px;
}


.dmxSocialIdentityPost p {
    margin: 0;
    padding: 5px 12px 12px;

    color: #687488;

    font-size: 0.55rem;
    line-height: 1.45;
}


/* =========================================================
   SEGUIMIENTO
========================================================= */

.dmxSocialIdentityTracking {
    padding: 19px;

    border: 1px solid rgba(25, 43, 72, 0.08);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(246, 249, 253, 0.9)
        );

    box-shadow:
        0 16px 34px rgba(24, 42, 71, 0.06);
}


.dmxSocialIdentityTrackingTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding-bottom: 17px;

    border-bottom: 1px solid rgba(25, 43, 72, 0.07);
}


.dmxSocialIdentityTrackingTop small,
.dmxSocialIdentityTrackingTop strong {
    display: block;
}


.dmxSocialIdentityTrackingTop small {
    color: #8590a1;

    font-size: 0.59rem;
    font-weight: 750;
    text-transform: uppercase;
}


.dmxSocialIdentityTrackingTop strong {
    margin-top: 5px;

    color: #17243a;

    font-size: 0.83rem;
    font-weight: 800;
}


.dmxSocialIdentityTrackingTop > span {
    padding: 8px 10px;

    color: #315de8;

    border: 1px solid rgba(49, 93, 232, 0.12);
    border-radius: 11px;

    background: rgba(238, 242, 255, 0.88);

    font-size: 0.62rem;
    font-weight: 850;
}


/* =========================================================
   CALENDARIO
========================================================= */

.dmxSocialIdentitySchedule {
    display: grid;
    gap: 10px;

    margin-top: 17px;
}


.dmxSocialIdentityScheduleItem {
    display: grid;
    grid-template-columns:
        auto
        1fr
        auto;
    align-items: center;
    gap: 10px;

    padding: 10px 11px;

    border: 1px solid rgba(25, 43, 72, 0.06);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.8);

    opacity: 0;
    transform: translateX(12px);
}


.dmxSocialIdentityScheduleItem > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    color: #315de8;

    border-radius: 9px;

    background: rgba(49, 93, 232, 0.08);

    font-size: 0.59rem;
    font-weight: 850;
}


.dmxSocialIdentityScheduleItem i {
    position: relative;

    display: block;

    height: 5px;

    overflow: hidden;

    border-radius: 999px;

    background: #e7ebf2;
}


.dmxSocialIdentityScheduleItem i::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #315de8,
            #29c18f
        );

    transform: scaleX(0);
    transform-origin: left center;
}


.dmxSocialIdentityScheduleItem small {
    color: #687488;

    font-size: 0.58rem;
    font-weight: 750;
}


/* =========================================================
   MÉTRICAS
========================================================= */

.dmxSocialIdentityMetrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    margin-top: 14px;
}


.dmxSocialIdentityMetrics > div {
    padding: 14px;

    border: 1px solid rgba(25, 43, 72, 0.07);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7f9fd
        );
}


.dmxSocialIdentityMetrics small,
.dmxSocialIdentityMetrics strong {
    display: block;
}


.dmxSocialIdentityMetrics small {
    color: #8490a2;

    font-size: 0.56rem;
    font-weight: 750;
}


.dmxSocialIdentityMetrics strong {
    margin-top: 7px;

    color: #17855f;

    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}


/* =========================================================
   FOOTER DEL PANEL
========================================================= */

.dmxSocialIdentityDashboardFooter {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px solid rgba(25, 43, 72, 0.08);
}


.dmxSocialIdentityDashboardFooter span,
.dmxSocialIdentityDashboardFooter strong {
    font-size: 0.66rem;
    font-weight: 750;
}


.dmxSocialIdentityDashboardFooter span {
    color: #748095;
}


.dmxSocialIdentityDashboardFooter strong {
    color: #1eaf7f;
}


.dmxSocialIdentityDashboardFooter i {
    display: block;

    width: 20px;
    height: 1px;

    background: #d8e0eb;
}


/* =========================================================
   TARJETA FLOTANTE
========================================================= */

.dmxSocialIdentityFloatingResult {
    position: absolute;
    right: -15px;
    bottom: 30px;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 16px;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.92);

    box-shadow:
        0 22px 46px rgba(24, 42, 71, 0.14);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    animation:
        dmxSocialFloatingResult
        6s
        ease-in-out
        infinite;
}


.dmxSocialIdentityFloatingResult > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    color: #ffffff;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #1faf7f,
            #45d2a7
        );

    box-shadow:
        0 9px 20px rgba(31, 175, 127, 0.23);

    font-size: 1rem;
    font-weight: 900;
}


.dmxSocialIdentityFloatingResult small,
.dmxSocialIdentityFloatingResult strong {
    display: block;
}


.dmxSocialIdentityFloatingResult small {
    color: #7e899b;

    font-size: 0.59rem;
    font-weight: 700;
}


.dmxSocialIdentityFloatingResult strong {
    margin-top: 4px;

    color: #17243a;

    font-size: 0.77rem;
    font-weight: 850;
}


/* =========================================================
   ESTADOS DE ENTRADA
========================================================= */

.dmxSocialIdentityContent,
.dmxSocialIdentityVisual {
    opacity: 0;

    transform: translateY(30px);
}


.dmxSocialIdentity.is-active
.dmxSocialIdentityContent {
    animation:
        dmxSocialContentReveal
        0.85s
        ease
        forwards;
}


.dmxSocialIdentity.is-active
.dmxSocialIdentityVisual {
    animation:
        dmxSocialVisualReveal
        0.95s
        ease
        0.15s
        forwards;
}


.dmxSocialIdentity.is-active
.dmxSocialIdentityScheduleItem:nth-child(1) {
    animation:
        dmxSocialScheduleReveal
        0.55s
        ease
        0.75s
        forwards;
}


.dmxSocialIdentity.is-active
.dmxSocialIdentityScheduleItem:nth-child(2) {
    animation:
        dmxSocialScheduleReveal
        0.55s
        ease
        0.9s
        forwards;
}


.dmxSocialIdentity.is-active
.dmxSocialIdentityScheduleItem:nth-child(3) {
    animation:
        dmxSocialScheduleReveal
        0.55s
        ease
        1.05s
        forwards;
}


.dmxSocialIdentity.is-active
.dmxSocialIdentityScheduleItem:nth-child(1) i::after {
    animation:
        dmxSocialProgressReveal
        0.8s
        ease
        1s
        forwards;
}


.dmxSocialIdentity.is-active
.dmxSocialIdentityScheduleItem:nth-child(2) i::after {
    animation:
        dmxSocialProgressReveal
        0.8s
        ease
        1.15s
        forwards;
}


.dmxSocialIdentity.is-active
.dmxSocialIdentityScheduleItem:nth-child(3) i::after {
    animation:
        dmxSocialProgressReveal
        0.8s
        ease
        1.3s
        forwards;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes dmxSocialStatusPulse {

    0% {
        opacity: 0.8;
        transform: scale(0.72);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }

}


@keyframes dmxSocialPhoneFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(-1deg);
    }

    50% {
        transform:
            translateY(-8px)
            rotate(1deg);
    }

}


@keyframes dmxSocialFloatingResult {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(1deg);
    }

    50% {
        transform:
            translateY(-9px)
            rotate(-1deg);
    }

}


@keyframes dmxSocialContentReveal {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes dmxSocialVisualReveal {

    from {
        opacity: 0;

        transform:
            translateY(34px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


@keyframes dmxSocialScheduleReveal {

    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


@keyframes dmxSocialProgressReveal {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }

}


/* =========================================================
   RESPONSIVE — LAPTOP
========================================================= */

@media (max-width: 1220px) {

    .dmxSocialIdentity {
        padding: 112px 0;
    }


    .dmxSocialIdentityLayout {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(520px, 1.1fr);

        gap: 60px;
    }


    .dmxSocialIdentityVisual {
        min-height: 620px;
    }

}


/* =========================================================
   RESPONSIVE — TABLET HORIZONTAL
========================================================= */

@media (max-width: 1050px) {

    .dmxSocialIdentity {
        padding: 98px 0;
    }


    .dmxSocialIdentityLayout {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    .dmxSocialIdentityContent {
        max-width: 780px;
    }


    .dmxSocialIdentityVisual {
        width: min(100%, 780px);

        margin: 0 auto;
    }


    .dmxSocialIdentityDescription {
        max-width: 670px;
    }


    .dmxSocialIdentityBenefits {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .dmxSocialIdentityBenefit {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 780px) {

    .dmxSocialIdentity {
        padding: 84px 0;
    }


    .dmxSocialIdentityContent h2 {
        font-size: clamp(2.75rem, 10vw, 4.4rem);
    }


    .dmxSocialIdentityBenefits {
        grid-template-columns: 1fr;
    }


    .dmxSocialIdentityDashboard {
        width: calc(100% - 16px);
        margin-left: 8px;
        padding: 20px;

        transform: none;
    }


    .dmxSocialIdentityDashboardContent {
        grid-template-columns: 1fr;
    }


    .dmxSocialIdentityPhoneStage {
        min-height: 500px;
    }


    .dmxSocialIdentityPhone {
        width: 235px;
    }


    .dmxSocialIdentityTracking {
        max-width: 520px;
        margin: 0 auto;

        width: 100%;
    }


    .dmxSocialIdentityFloatingResult {
        right: 0;
        bottom: 10px;
    }

}


/* =========================================================
   RESPONSIVE — MÓVIL
========================================================= */

@media (max-width: 560px) {

    .dmxSocialIdentity {
        padding: 72px 0;
    }


    .dmxSocialIdentityGrid {
        background-size: 42px 42px;
    }


    .dmxSocialIdentityEyebrow {
        margin-bottom: 20px;
    }


    .dmxSocialIdentityEyebrow > span {
        width: 30px;
    }


    .dmxSocialIdentityEyebrow small {
        font-size: 0.64rem;
        letter-spacing: 0.11em;
    }


    .dmxSocialIdentityContent h2 {
        font-size: clamp(2.45rem, 13vw, 3.5rem);
        line-height: 1;
    }


    .dmxSocialIdentityDescription {
        margin-top: 24px;

        font-size: 0.95rem;
        line-height: 1.72;
    }


    .dmxSocialIdentityBenefits {
        margin-top: 32px;
    }


    .dmxSocialIdentityBenefit {
        padding: 16px;
    }


    .dmxSocialIdentityButton {
        width: 100%;

        margin-top: 34px;
    }


    .dmxSocialIdentityVisual {
        min-height: 790px;
    }


    .dmxSocialIdentityDashboard {
        width: 100%;
        margin: 0;
        padding: 15px;

        border-radius: 22px;
    }


    .dmxSocialIdentityDashboardHeader {
        align-items: flex-start;
    }


    .dmxSocialIdentityDashboardHeader strong {
        font-size: 0.9rem;
    }


    .dmxSocialIdentityStatus {
        font-size: 0.6rem;
    }


    .dmxSocialIdentityPhoneStage {
        min-height: 470px;
    }


    .dmxSocialIdentityPhone {
        width: 220px;
    }


    .dmxSocialIdentityTracking {
        padding: 15px;
    }


    .dmxSocialIdentityDashboardFooter {
        flex-wrap: wrap;
    }


    .dmxSocialIdentityFloatingResult {
        right: 8px;
        bottom: -18px;
        left: 8px;

        justify-content: center;
    }

}


/* =========================================================
   RESPONSIVE — MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 390px) {

    .dmxSocialIdentityContent h2 {
        font-size: 2.35rem;
    }


    .dmxSocialIdentityDashboardHeader {
        flex-direction: column;
    }


    .dmxSocialIdentityDashboardFooter {
        gap: 7px;
    }


    .dmxSocialIdentityDashboardFooter span,
    .dmxSocialIdentityDashboardFooter strong {
        font-size: 0.59rem;
    }


    .dmxSocialIdentityDashboardFooter i {
        width: 14px;
    }


    .dmxSocialIdentityMetrics {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dmxSocialIdentity *,
    .dmxSocialIdentity *::before,
    .dmxSocialIdentity *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }


    .dmxSocialIdentityContent,
    .dmxSocialIdentityVisual,
    .dmxSocialIdentityScheduleItem {
        opacity: 1;
        transform: none;
    }


    .dmxSocialIdentityScheduleItem i::after {
        transform: scaleX(1);
    }


    .dmxSocialIdentityDashboard {
        transform: none;
    }

}