/* =========================================================
   CAMPAÑAS DIGITALES
========================================================= */

.dmxCampaigns {
    position: relative;

    padding: 130px 0;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f9fd 52%,
            #ffffff 100%
        );

    isolation: isolate;
}


/* =========================================================
   FONDO
========================================================= */

.dmxCampaignsBackground {
    position: absolute;
    inset: 0;

    z-index: -2;

    overflow: hidden;

    pointer-events: none;
}


.dmxCampaignsGrid {
    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.86),
            transparent 95%
        );
}


.dmxCampaignsGlow {
    position: absolute;

    border-radius: 50%;

    filter: blur(30px);
}


.dmxCampaignsGlowOne {
    top: -220px;
    right: -180px;

    width: 610px;
    height: 610px;

    background:
        radial-gradient(
            circle,
            rgba(49, 93, 232, 0.17),
            transparent 72%
        );
}


.dmxCampaignsGlowTwo {
    bottom: -270px;
    left: -220px;

    width: 680px;
    height: 680px;

    background:
        radial-gradient(
            circle,
            rgba(35, 191, 138, 0.14),
            transparent 72%
        );
}


/* =========================================================
   ENCABEZADO
========================================================= */

.dmxCampaignsHeader {
    margin-bottom: 68px;
}


.dmxCampaignsEyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;
}


.dmxCampaignsEyebrow > span {
    width: 42px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #315de8,
            #27c18e
        );
}


.dmxCampaignsEyebrow small {
    color: #315de8;

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.dmxCampaignsHeading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.8fr);
    align-items: end;
    gap: clamp(45px, 7vw, 100px);
}


.dmxCampaignsHeading h2 {
    max-width: 890px;
    margin: 0;

    color: #142036;

    font-size: clamp(3rem, 5.2vw, 5.5rem);
    font-weight: 760;
    line-height: 0.98;
    letter-spacing: -0.065em;

    text-wrap: balance;
}


.dmxCampaignsHeading h2 span {
    display: block;

    color: transparent;

    background:
        linear-gradient(
            110deg,
            #315de8 0%,
            #517cf2 45%,
            #28be8c 100%
        );

    background-clip: text;
    -webkit-background-clip: text;
}


.dmxCampaignsHeading p {
    max-width: 520px;
    margin: 0;

    color: #667286;

    font-size: 1rem;
    line-height: 1.82;
}


/* =========================================================
   EXPERIENCIA PRINCIPAL
========================================================= */

.dmxCampaignsExperience {
    display: grid;
    grid-template-columns:
        minmax(320px, 0.72fr)
        minmax(600px, 1.28fr);
    align-items: center;
    gap: clamp(55px, 7vw, 105px);
}


/* =========================================================
   CONTENIDO
========================================================= */

.dmxCampaignsContent {
    position: relative;

    z-index: 3;
}


.dmxCampaignsContentLabel {
    display: inline-flex;
    align-items: center;

    min-height: 32px;
    padding: 0 13px;

    color: #315de8;

    border: 1px solid rgba(49, 93, 232, 0.14);
    border-radius: 999px;

    background: rgba(238, 242, 255, 0.84);

    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.dmxCampaignsContent h3 {
    margin: 25px 0 0;

    color: #17243a;

    font-size: clamp(2rem, 3.3vw, 3.25rem);
    font-weight: 760;
    line-height: 1.06;
    letter-spacing: -0.05em;

    text-wrap: balance;
}


.dmxCampaignsContent h3 strong {
    display: block;

    margin-top: 8px;

    color: #315de8;

    font-weight: 800;
}


.dmxCampaignsContent > p {
    max-width: 560px;
    margin: 24px 0 0;

    color: #667286;

    font-size: 0.97rem;
    line-height: 1.78;
}


/* =========================================================
   PILARES
========================================================= */

.dmxCampaignsPillars {
    display: grid;
    gap: 14px;

    margin-top: 35px;
}


.dmxCampaignsPillar {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr);
    align-items: start;
    gap: 15px;

    padding: 16px 18px;

    border: 1px solid rgba(25, 43, 72, 0.08);
    border-radius: 17px;

    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;
}


.dmxCampaignsPillar:hover {
    border-color: rgba(49, 93, 232, 0.17);

    transform: translateY(-4px);

    box-shadow:
        0 18px 38px rgba(24, 42, 70, 0.08);
}


.dmxCampaignsPillar > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    color: #315de8;

    border-radius: 13px;

    background: rgba(49, 93, 232, 0.08);

    font-size: 0.67rem;
    font-weight: 850;
}


.dmxCampaignsPillar h4 {
    margin: 0;

    color: #17243a;

    font-size: 0.95rem;
    font-weight: 820;
}


.dmxCampaignsPillar p {
    margin: 6px 0 0;

    color: #687488;

    font-size: 0.84rem;
    line-height: 1.58;
}


/* =========================================================
   BOTÓN
========================================================= */

.dmxCampaignsButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 58px;
    margin-top: 36px;
    padding: 0 28px;

    color: #ffffff;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #315de8,
            #4879f3
        );

    box-shadow:
        0 20px 40px rgba(49, 93, 232, 0.22);

    font-size: 0.91rem;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.dmxCampaignsButton span {
    font-size: 1.08rem;

    transition:
        transform 0.3s ease;
}


.dmxCampaignsButton:hover,
.dmxCampaignsButton:focus-visible {
    transform: translateY(-4px);

    box-shadow:
        0 28px 50px rgba(49, 93, 232, 0.31);
}


.dmxCampaignsButton:hover span,
.dmxCampaignsButton:focus-visible span {
    transform: translateX(5px);
}


.dmxCampaignsButton:focus-visible {
    outline: 3px solid rgba(49, 93, 232, 0.22);
    outline-offset: 4px;
}


/* =========================================================
   DASHBOARD
========================================================= */

.dmxCampaignsDashboard {
    position: relative;

    width: 100%;
    max-width: 790px;
    margin-left: auto;
    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 45px 96px rgba(23, 41, 71, 0.15),
        0 16px 38px rgba(31, 58, 101, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);

    transform:
        rotateY(-4deg)
        rotateX(1deg);

    transform-style: preserve-3d;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.dmxCampaignsDashboard::before {
    content: "";

    position: absolute;
    top: -170px;
    right: -140px;

    width: 380px;
    height: 380px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(49, 93, 232, 0.14),
            transparent 72%
        );

    pointer-events: none;
}


.dmxCampaignsDashboard::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        radial-gradient(
            280px circle at
            var(--dmx-campaign-pointer-x, 50%)
            var(--dmx-campaign-pointer-y, 50%),
            rgba(49, 93, 232, 0.09),
            transparent 72%
        );

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.3s ease;
}


.dmxCampaignsDashboard:hover::after {
    opacity: 1;
}


.dmxCampaignsDashboard:hover {
    transform:
        rotateY(-2deg)
        rotateX(0)
        translateY(-5px);

    box-shadow:
        0 55px 110px rgba(23, 41, 71, 0.18),
        0 20px 44px rgba(31, 58, 101, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}


/* =========================================================
   HEADER DEL DASHBOARD
========================================================= */

.dmxCampaignsDashboardHeader {
    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);
}


.dmxCampaignsDashboardHeader small,
.dmxCampaignsDashboardHeader strong {
    display: block;
}


.dmxCampaignsDashboardHeader small {
    color: #7d899b;

    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.dmxCampaignsDashboardHeader strong {
    margin-top: 6px;

    color: #17243a;

    font-size: 1.02rem;
    font-weight: 820;
}


.dmxCampaignsStatus {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #188b66;

    font-size: 0.68rem;
    font-weight: 800;
}


.dmxCampaignsStatus i {
    position: relative;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #28c28f;

    box-shadow:
        0 0 0 5px rgba(40, 194, 143, 0.12);
}


.dmxCampaignsStatus i::after {
    content: "";

    position: absolute;
    inset: -5px;

    border: 1px solid rgba(40, 194, 143, 0.42);
    border-radius: 50%;

    animation:
        dmxCampaignStatusPulse
        2s
        ease-out
        infinite;
}


/* =========================================================
   MÉTRICAS
========================================================= */

.dmxCampaignsMetrics {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;

    margin-top: 18px;
}


.dmxCampaignsMetric {
    min-height: 112px;
    padding: 17px;

    border: 1px solid rgba(25, 43, 72, 0.075);
    border-radius: 17px;

    background: rgba(255, 255, 255, 0.78);

    box-shadow:
        0 10px 24px rgba(24, 42, 70, 0.045);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.dmxCampaignsMetric:hover {
    border-color: rgba(49, 93, 232, 0.15);

    transform: translateY(-3px);

    box-shadow:
        0 16px 30px rgba(24, 42, 70, 0.08);
}


.dmxCampaignsMetricFeatured {
    border-color: rgba(35, 191, 138, 0.17);

    background:
        linear-gradient(
            145deg,
            rgba(239, 255, 249, 0.94),
            rgba(255, 255, 255, 0.92)
        );
}


.dmxCampaignsMetric small,
.dmxCampaignsMetric strong,
.dmxCampaignsMetric span {
    display: block;
}


.dmxCampaignsMetric small {
    color: #7d899b;

    font-size: 0.62rem;
    font-weight: 780;
}


.dmxCampaignsMetric strong {
    margin-top: 12px;

    color: #152238;

    font-size: clamp(1.28rem, 2vw, 1.72rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}


.dmxCampaignsMetric span {
    margin-top: 11px;

    color: #697588;

    font-size: 0.62rem;
    font-weight: 700;
}


.dmxCampaignsMetric:nth-child(2) span,
.dmxCampaignsMetricFeatured strong {
    color: #188a64;
}


/* =========================================================
   GRÁFICA
========================================================= */

.dmxCampaignsChartPanel {
    position: relative;
    z-index: 2;

    margin-top: 14px;
    padding: 18px;

    border: 1px solid rgba(25, 43, 72, 0.075);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.92),
            rgba(246, 249, 253, 0.9)
        );
}


.dmxCampaignsChartHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}


.dmxCampaignsChartHeader small,
.dmxCampaignsChartHeader strong {
    display: block;
}


.dmxCampaignsChartHeader small {
    color: #7e8a9c;

    font-size: 0.62rem;
    font-weight: 780;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


.dmxCampaignsChartHeader strong {
    margin-top: 5px;

    color: #17243a;

    font-size: 0.85rem;
    font-weight: 820;
}


.dmxCampaignsChartHeader > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 0 11px;

    color: #16845f;

    border: 1px solid rgba(35, 191, 138, 0.17);
    border-radius: 11px;

    background: rgba(234, 253, 245, 0.88);

    font-size: 0.69rem;
    font-weight: 850;
}


.dmxCampaignsChart {
    position: relative;

    height: 240px;
    margin-top: 14px;
}


.dmxCampaignsChartLines {
    position: absolute;
    inset: 10px 0 16px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.dmxCampaignsChartLines span {
    display: block;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(41, 61, 94, 0.02),
            rgba(41, 61, 94, 0.09),
            rgba(41, 61, 94, 0.02)
        );
}


.dmxCampaignsChartSvg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: visible;

    color: #315de8;
}


.dmxCampaignsChartPath {
    fill: none;

    stroke: currentColor;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;

    vector-effect: non-scaling-stroke;

    stroke-dasharray: 1;
    stroke-dashoffset: 1;

    filter:
        drop-shadow(
            0 6px 8px rgba(49, 93, 232, 0.22)
        );
}


.dmxCampaignsChartArea {
    opacity: 0;
}


.dmxCampaignsChartPoint {
    fill: #ffffff;
    stroke: #315de8;
    stroke-width: 4;

    opacity: 0;

    transform-origin: center;

    filter:
        drop-shadow(
            0 4px 7px rgba(49, 93, 232, 0.3)
        );
}


/* =========================================================
   CANALES
========================================================= */

.dmxCampaignsChannels {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;

    margin-top: 14px;
}


.dmxCampaignsChannel {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 10px;

    padding: 11px;

    border: 1px solid rgba(25, 43, 72, 0.07);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.78);

    box-shadow:
        0 8px 20px rgba(24, 42, 70, 0.035);

    opacity: 0;
    transform: translateY(14px);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.dmxCampaignsChannel:hover {
    border-color: rgba(49, 93, 232, 0.14);

    transform: translateY(-3px);

    box-shadow:
        0 13px 25px rgba(24, 42, 70, 0.075);
}


.dmxCampaignsChannelIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    color: #ffffff;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #315de8,
            #5f87f5
        );

    box-shadow:
        0 8px 17px rgba(49, 93, 232, 0.2);

    font-size: 0.73rem;
    font-weight: 900;
}


.dmxCampaignsChannel:nth-child(2)
.dmxCampaignsChannelIcon {
    background:
        linear-gradient(
            135deg,
            #7651d2,
            #9d70e7
        );

    box-shadow:
        0 8px 17px rgba(118, 81, 210, 0.2);
}


.dmxCampaignsChannel:nth-child(3)
.dmxCampaignsChannelIcon {
    background:
        linear-gradient(
            135deg,
            #1fae80,
            #46d2a7
        );

    box-shadow:
        0 8px 17px rgba(31, 174, 128, 0.2);
}


.dmxCampaignsChannel small,
.dmxCampaignsChannel strong {
    display: block;

    overflow: hidden;

    white-space: nowrap;
    text-overflow: ellipsis;
}


.dmxCampaignsChannel small {
    color: #7e899a;

    font-size: 0.56rem;
    font-weight: 750;
}


.dmxCampaignsChannel strong {
    margin-top: 4px;

    color: #27354a;

    font-size: 0.65rem;
    font-weight: 820;
}


.dmxCampaignsChannel > span:last-child {
    color: #178762;

    font-size: 0.64rem;
    font-weight: 850;
}


/* =========================================================
   FLUJO
========================================================= */

.dmxCampaignsFlow {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    margin-top: 14px;
    padding: 14px 15px;

    border: 1px solid rgba(25, 43, 72, 0.07);
    border-radius: 16px;

    background:
        linear-gradient(
            90deg,
            rgba(248, 250, 254, 0.94),
            rgba(239, 253, 247, 0.8)
        );
}


.dmxCampaignsFlow span,
.dmxCampaignsFlow strong {
    font-size: 0.63rem;
    font-weight: 760;
}


.dmxCampaignsFlow span {
    color: #748095;
}


.dmxCampaignsFlow strong {
    color: #1caf7f;
}


.dmxCampaignsFlow i {
    position: relative;

    width: 24px;
    height: 1px;

    overflow: hidden;

    background: #d7dfeb;
}


.dmxCampaignsFlow i::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            #2ac18f,
            transparent
        );

    transform: translateX(-120%);

    animation:
        dmxCampaignFlowMove
        2.7s
        ease-in-out
        infinite;
}


/* =========================================================
   CIERRE
========================================================= */

.dmxCampaignsClosing {
    display: grid;
    grid-template-columns:
        minmax(260px, 0.78fr)
        minmax(300px, 0.92fr)
        minmax(280px, 0.8fr);
    align-items: center;
    gap: 35px;

    margin-top: 46px;
    padding: 28px 30px;

    border: 1px solid rgba(25, 43, 72, 0.08);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.78);

    box-shadow:
        0 16px 38px rgba(24, 42, 70, 0.05);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


.dmxCampaignsClosing small {
    display: block;

    color: #315de8;

    font-size: 0.63rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


.dmxCampaignsClosing h3 {
    margin: 8px 0 0;

    color: #17243a;

    font-size: clamp(1.35rem, 2.1vw, 1.9rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.035em;
}


.dmxCampaignsClosing > p {
    margin: 0;

    color: #667286;

    font-size: 0.88rem;
    line-height: 1.68;
}


.dmxCampaignsDisclaimer {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr);
    align-items: start;
    gap: 12px;

    padding: 15px;

    border: 1px solid rgba(49, 93, 232, 0.1);
    border-radius: 16px;

    background: rgba(239, 243, 255, 0.68);
}


.dmxCampaignsDisclaimer > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #315de8;

    border-radius: 9px;

    background: rgba(49, 93, 232, 0.1);

    font-size: 0.72rem;
    font-weight: 900;
}


.dmxCampaignsDisclaimer p {
    margin: 0;

    color: #687488;

    font-size: 0.72rem;
    line-height: 1.55;
}


/* =========================================================
   ESTADOS INICIALES
========================================================= */

.dmxCampaignsContent,
.dmxCampaignsDashboard {
    opacity: 0;

    transform: translateY(30px);
}


.dmxCampaigns.is-active
.dmxCampaignsContent {
    animation:
        dmxCampaignContentReveal
        0.85s
        ease
        forwards;
}


.dmxCampaigns.is-active
.dmxCampaignsDashboard {
    animation:
        dmxCampaignDashboardReveal
        0.95s
        ease
        0.15s
        forwards;
}


.dmxCampaigns.is-active
.dmxCampaignsChartPath {
    animation:
        dmxCampaignChartDraw
        2.2s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.6s
        forwards;
}


.dmxCampaigns.is-active
.dmxCampaignsChartArea {
    animation:
        dmxCampaignAreaReveal
        1.1s
        ease
        1.45s
        forwards;
}


.dmxCampaigns.is-active
.dmxCampaignsChartPoint {
    animation:
        dmxCampaignPointReveal
        0.55s
        ease
        2.15s
        forwards,
        dmxCampaignPointPulse
        2s
        ease-in-out
        2.8s
        infinite;
}


.dmxCampaigns.is-active
.dmxCampaignsChannel:nth-child(1) {
    animation:
        dmxCampaignChannelReveal
        0.55s
        ease
        1s
        forwards;
}


.dmxCampaigns.is-active
.dmxCampaignsChannel:nth-child(2) {
    animation:
        dmxCampaignChannelReveal
        0.55s
        ease
        1.15s
        forwards;
}


.dmxCampaigns.is-active
.dmxCampaignsChannel:nth-child(3) {
    animation:
        dmxCampaignChannelReveal
        0.55s
        ease
        1.3s
        forwards;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes dmxCampaignStatusPulse {

    0% {
        opacity: 0.8;
        transform: scale(0.72);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }

}


@keyframes dmxCampaignFlowMove {

    0% {
        transform: translateX(-120%);
    }

    70%,
    100% {
        transform: translateX(120%);
    }

}


@keyframes dmxCampaignContentReveal {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes dmxCampaignDashboardReveal {

    from {
        opacity: 0;

        transform:
            translateY(34px)
            scale(0.97);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


@keyframes dmxCampaignChartDraw {

    from {
        stroke-dashoffset: 1;
    }

    to {
        stroke-dashoffset: 0;
    }

}


@keyframes dmxCampaignAreaReveal {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}


@keyframes dmxCampaignPointReveal {

    from {
        opacity: 0;
        transform: scale(0.4);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes dmxCampaignPointPulse {

    0%,
    100% {
        stroke-width: 4;
    }

    50% {
        stroke-width: 7;
    }

}


@keyframes dmxCampaignChannelReveal {

    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   RESPONSIVE — LAPTOP
========================================================= */

@media (max-width: 1250px) {

    .dmxCampaigns {
        padding: 115px 0;
    }


    .dmxCampaignsExperience {
        grid-template-columns:
            minmax(300px, 0.75fr)
            minmax(560px, 1.25fr);

        gap: 55px;
    }

}


/* =========================================================
   RESPONSIVE — TABLET HORIZONTAL
========================================================= */

@media (max-width: 1080px) {

    .dmxCampaigns {
        padding: 100px 0;
    }


    .dmxCampaignsHeading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 25px;
    }


    .dmxCampaignsHeading p {
        max-width: 680px;
    }


    .dmxCampaignsExperience {
        grid-template-columns: 1fr;

        gap: 65px;
    }


    .dmxCampaignsContent {
        max-width: 760px;
    }


    .dmxCampaignsPillars {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .dmxCampaignsPillar {
        grid-template-columns: 1fr;
    }


    .dmxCampaignsDashboard {
        max-width: 820px;
        margin: 0 auto;
    }


    .dmxCampaignsClosing {
        grid-template-columns:
            minmax(240px, 0.9fr)
            minmax(280px, 1.1fr);
    }


    .dmxCampaignsDisclaimer {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 780px) {

    .dmxCampaigns {
        padding: 86px 0;
    }


    .dmxCampaignsHeader {
        margin-bottom: 52px;
    }


    .dmxCampaignsHeading h2 {
        font-size: clamp(2.75rem, 10vw, 4.5rem);
    }


    .dmxCampaignsPillars {
        grid-template-columns: 1fr;
    }


    .dmxCampaignsDashboard {
        padding: 20px;

        transform: none;
    }


    .dmxCampaignsMetrics {
        grid-template-columns: 1fr 1fr;
    }


    .dmxCampaignsMetricFeatured {
        grid-column: 1 / -1;
    }


    .dmxCampaignsChannels {
        grid-template-columns: 1fr;
    }


    .dmxCampaignsClosing {
        grid-template-columns: 1fr;
        gap: 22px;
    }

}


/* =========================================================
   RESPONSIVE — MÓVIL
========================================================= */

@media (max-width: 560px) {

    .dmxCampaigns {
        padding: 72px 0;
    }


    .dmxCampaignsGrid {
        background-size: 42px 42px;
    }


    .dmxCampaignsEyebrow {
        margin-bottom: 20px;
    }


    .dmxCampaignsEyebrow > span {
        width: 30px;
    }


    .dmxCampaignsEyebrow small {
        font-size: 0.64rem;
        letter-spacing: 0.11em;
    }


    .dmxCampaignsHeading h2 {
        font-size: clamp(2.45rem, 13vw, 3.5rem);
        line-height: 1;
    }


    .dmxCampaignsHeading p {
        font-size: 0.94rem;
        line-height: 1.72;
    }


    .dmxCampaignsContent h3 {
        font-size: 2rem;
    }


    .dmxCampaignsContent > p {
        font-size: 0.92rem;
        line-height: 1.7;
    }


    .dmxCampaignsPillars {
        margin-top: 30px;
    }


    .dmxCampaignsButton {
        width: 100%;

        margin-top: 32px;
    }


    .dmxCampaignsDashboard {
        width: 100%;
        padding: 15px;

        border-radius: 22px;
    }


    .dmxCampaignsDashboardHeader {
        align-items: flex-start;
    }


    .dmxCampaignsDashboardHeader strong {
        font-size: 0.9rem;
    }


    .dmxCampaignsStatus {
        font-size: 0.59rem;
    }


    .dmxCampaignsMetrics {
        grid-template-columns: 1fr;
    }


    .dmxCampaignsMetricFeatured {
        grid-column: auto;
    }


    .dmxCampaignsMetric {
        min-height: 98px;
    }


    .dmxCampaignsChartPanel {
        padding: 14px;
    }


    .dmxCampaignsChart {
        height: 200px;
    }


    .dmxCampaignsFlow {
        flex-wrap: wrap;
        gap: 8px;
    }


    .dmxCampaignsFlow i {
        width: 15px;
    }


    .dmxCampaignsClosing {
        margin-top: 34px;
        padding: 21px;
    }

}


/* =========================================================
   RESPONSIVE — MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 390px) {

    .dmxCampaignsHeading h2 {
        font-size: 2.35rem;
    }


    .dmxCampaignsDashboardHeader {
        flex-direction: column;
    }


    .dmxCampaignsChartHeader {
        align-items: flex-start;
    }


    .dmxCampaignsFlow {
        justify-content: flex-start;
    }


    .dmxCampaignsFlow span,
    .dmxCampaignsFlow strong {
        font-size: 0.58rem;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .dmxCampaigns *,
    .dmxCampaigns *::before,
    .dmxCampaigns *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }


    .dmxCampaignsContent,
    .dmxCampaignsDashboard,
    .dmxCampaignsChannel,
    .dmxCampaignsChartArea,
    .dmxCampaignsChartPoint {
        opacity: 1;
        transform: none;
    }


    .dmxCampaignsDashboard {
        transform: none;
    }


    .dmxCampaignsChartPath {
        stroke-dashoffset: 0;
    }

}
/* =========================================================
   CAMPAÑAS DIGITALES — FONDO OSCURO CON RELIEVE
========================================================= */

.dmxCampaigns {
    position: relative;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(66, 105, 235, 0.2) 0%,
            rgba(66, 105, 235, 0.07) 25%,
            transparent 48%
        ),
        radial-gradient(
            circle at 12% 78%,
            rgba(35, 194, 141, 0.13) 0%,
            transparent 40%
        ),
        linear-gradient(
            145deg,
            #07101d 0%,
            #0a1526 45%,
            #0e1c30 100%
        );

    color: #ffffff;

    isolation: isolate;
}


/* =========================================================
   RELIEVE DEL FONDO
========================================================= */

.dmxCampaigns::before {
    content: "";

    position: absolute;
    top: 11%;
    right: -9%;
    z-index: -1;

    width: min(66vw, 1050px);
    height: 72%;

    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 72px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.008)
        );

    box-shadow:
        -45px 55px 110px rgba(0, 0, 0, 0.28),
        inset 1px 1px 0 rgba(255, 255, 255, 0.045),
        inset -1px -1px 0 rgba(0, 0, 0, 0.18);

    transform:
        rotate(-5deg)
        skewY(1deg);

    pointer-events: none;
}


.dmxCampaigns::after {
    content: "";

    position: absolute;
    right: -260px;
    bottom: -350px;
    z-index: -1;

    width: 760px;
    height: 760px;

    border: 1px solid rgba(105, 139, 255, 0.08);
    border-radius: 50%;

    box-shadow:
        0 0 0 80px rgba(99, 134, 245, 0.018),
        0 0 0 160px rgba(99, 134, 245, 0.012);

    pointer-events: none;
}


/* =========================================================
   CUADRÍCULA
========================================================= */

.dmxCampaignsGrid {
    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;

    opacity: 0.72;

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            #000 15%,
            #000 85%,
            transparent 100%
        );
}


/* =========================================================
   LUCES
========================================================= */

.dmxCampaignsGlowOne {
    background:
        radial-gradient(
            circle,
            rgba(69, 108, 243, 0.3),
            transparent 72%
        );
}


.dmxCampaignsGlowTwo {
    background:
        radial-gradient(
            circle,
            rgba(39, 204, 151, 0.19),
            transparent 72%
        );
}


/* =========================================================
   ENCABEZADO
========================================================= */

.dmxCampaignsEyebrow small {
    color: #91aaff;
}


.dmxCampaignsHeading h2 {
    color: #f5f7fc;
}


.dmxCampaignsHeading h2 span {
    background:
        linear-gradient(
            110deg,
            #91aaff 0%,
            #7094ff 46%,
            #4ed4a8 100%
        );

    background-clip: text;
    -webkit-background-clip: text;
}


.dmxCampaignsHeading p {
    color: rgba(218, 228, 242, 0.67);
}


/* =========================================================
   CONTENIDO
========================================================= */

.dmxCampaignsContentLabel {
    color: #9db3ff;

    border-color: rgba(123, 154, 255, 0.22);

    background:
        linear-gradient(
            145deg,
            rgba(77, 112, 227, 0.22),
            rgba(39, 68, 153, 0.11)
        );
}


.dmxCampaignsContent h3 {
    color: #f1f4fa;
}


.dmxCampaignsContent h3 strong {
    color: #8ca7ff;
}


.dmxCampaignsContent > p {
    color: rgba(213, 224, 239, 0.64);
}


/* =========================================================
   PILARES
========================================================= */

.dmxCampaignsPillar {
    border-color: rgba(255, 255, 255, 0.08);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.16),
        inset 1px 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


.dmxCampaignsPillar:hover {
    border-color: rgba(117, 150, 255, 0.26);

    box-shadow:
        0 23px 46px rgba(0, 0, 0, 0.24),
        0 0 35px rgba(59, 98, 225, 0.07),
        inset 1px 1px 0 rgba(255, 255, 255, 0.055);
}


.dmxCampaignsPillar > span {
    color: #9eb3ff;

    border: 1px solid rgba(118, 150, 255, 0.14);

    background:
        linear-gradient(
            145deg,
            rgba(73, 109, 226, 0.23),
            rgba(42, 70, 153, 0.11)
        );
}


.dmxCampaignsPillar h4 {
    color: #f1f4fa;
}


.dmxCampaignsPillar p {
    color: rgba(207, 218, 233, 0.59);
}


/* =========================================================
   DASHBOARD — TAMBIÉN OSCURO
========================================================= */

.dmxCampaignsDashboard {
    border-color: rgba(255, 255, 255, 0.11);

    background:
        linear-gradient(
            145deg,
            rgba(24, 41, 67, 0.97),
            rgba(11, 23, 41, 0.98)
        );

    box-shadow:
        34px 54px 115px rgba(0, 0, 0, 0.39),
        -14px -12px 48px rgba(69, 106, 224, 0.055),
        inset 1px 1px 0 rgba(255, 255, 255, 0.08),
        inset -1px -1px 0 rgba(0, 0, 0, 0.28);
}


.dmxCampaignsDashboard:hover {
    box-shadow:
        42px 64px 130px rgba(0, 0, 0, 0.46),
        -16px -14px 54px rgba(69, 106, 224, 0.075),
        0 0 48px rgba(48, 87, 216, 0.065),
        inset 1px 1px 0 rgba(255, 255, 255, 0.095);
}


.dmxCampaignsDashboard::before {
    background:
        radial-gradient(
            circle,
            rgba(78, 116, 241, 0.24),
            transparent 72%
        );
}


/* =========================================================
   HEADER DEL DASHBOARD
========================================================= */

.dmxCampaignsDashboardHeader {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}


.dmxCampaignsDashboardHeader small {
    color: rgba(194, 207, 225, 0.48);
}


.dmxCampaignsDashboardHeader strong {
    color: #f3f6fc;
}


.dmxCampaignsStatus {
    color: #53d6ab;
}


/* =========================================================
   MÉTRICAS
========================================================= */

.dmxCampaignsMetric {
    border-color: rgba(255, 255, 255, 0.075);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.026)
        );

    box-shadow:
        0 14px 29px rgba(0, 0, 0, 0.14),
        inset 1px 1px 0 rgba(255, 255, 255, 0.035);
}


.dmxCampaignsMetricFeatured {
    border-color: rgba(63, 208, 160, 0.2);

    background:
        linear-gradient(
            145deg,
            rgba(31, 105, 82, 0.4),
            rgba(16, 38, 48, 0.78)
        );
}


.dmxCampaignsMetric small {
    color: rgba(193, 206, 225, 0.49);
}


.dmxCampaignsMetric strong {
    color: #f3f6fc;
}


.dmxCampaignsMetric span {
    color: rgba(201, 214, 230, 0.52);
}


.dmxCampaignsMetric:nth-child(2) span,
.dmxCampaignsMetricFeatured strong {
    color: #4fd2a6;
}


/* =========================================================
   GRÁFICA
========================================================= */

.dmxCampaignsChartPanel {
    border-color: rgba(255, 255, 255, 0.075);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        inset 1px 1px 0 rgba(255, 255, 255, 0.025);
}


.dmxCampaignsChartHeader small {
    color: rgba(195, 208, 226, 0.47);
}


.dmxCampaignsChartHeader strong {
    color: #eef2f9;
}


.dmxCampaignsChartHeader > span {
    color: #51d5aa;

    border-color: rgba(75, 213, 170, 0.18);

    background: rgba(32, 124, 95, 0.18);
}


.dmxCampaignsChartLines span {
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            transparent
        );
}


.dmxCampaignsChartSvg {
    color: #7799ff;
}


.dmxCampaignsChartPoint {
    fill: #132139;
    stroke: #82a1ff;
}


/* =========================================================
   CANALES
========================================================= */

.dmxCampaignsChannel {
    border-color: rgba(255, 255, 255, 0.075);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.024)
        );

    box-shadow:
        0 10px 23px rgba(0, 0, 0, 0.13);
}


.dmxCampaignsChannel small {
    color: rgba(194, 207, 225, 0.47);
}


.dmxCampaignsChannel strong {
    color: #edf2f9;
}


.dmxCampaignsChannel > span:last-child {
    color: #4fd2a6;
}


/* =========================================================
   FLUJO
========================================================= */

.dmxCampaignsFlow {
    border-color: rgba(255, 255, 255, 0.075);

    background:
        linear-gradient(
            90deg,
            rgba(59, 90, 181, 0.14),
            rgba(31, 117, 89, 0.14)
        );
}


.dmxCampaignsFlow span {
    color: rgba(202, 214, 230, 0.55);
}


.dmxCampaignsFlow strong {
    color: #4fd2a6;
}


.dmxCampaignsFlow i {
    background: rgba(255, 255, 255, 0.12);
}


/* =========================================================
   CIERRE
========================================================= */

.dmxCampaignsClosing {
    border-color: rgba(255, 255, 255, 0.085);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.024)
        );

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.18),
        inset 1px 1px 0 rgba(255, 255, 255, 0.035);
}


.dmxCampaignsClosing small {
    color: #91aaff;
}


.dmxCampaignsClosing h3 {
    color: #f2f5fb;
}


.dmxCampaignsClosing > p {
    color: rgba(214, 225, 239, 0.63);
}


.dmxCampaignsDisclaimer {
    border-color: rgba(114, 149, 255, 0.16);

    background:
        linear-gradient(
            145deg,
            rgba(68, 100, 198, 0.17),
            rgba(23, 42, 72, 0.2)
        );
}


.dmxCampaignsDisclaimer > span {
    color: #a0b5ff;

    background: rgba(91, 126, 236, 0.17);
}


.dmxCampaignsDisclaimer p {
    color: rgba(207, 218, 233, 0.6);
}


/* =========================================================
   LÍNEAS DE TRANSICIÓN
========================================================= */

.dmxCampaignsBackground::before,
.dmxCampaignsBackground::after {
    content: "";

    position: absolute;
    right: 0;
    left: 0;

    height: 1px;

    pointer-events: none;
}


.dmxCampaignsBackground::before {
    top: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(111, 146, 255, 0.27),
            transparent
        );
}


.dmxCampaignsBackground::after {
    bottom: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(68, 209, 162, 0.22),
            transparent
        );
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1080px) {

    .dmxCampaigns::before {
        top: 35%;
        right: -25%;

        width: 105vw;
        height: 50%;

        opacity: 0.55;
    }

}


@media (max-width: 780px) {

    .dmxCampaigns::before {
        display: none;
    }


    .dmxCampaignsDashboard {
        background:
            linear-gradient(
                155deg,
                rgba(23, 39, 64, 0.99),
                rgba(10, 22, 39, 0.99)
            );
    }

}


@media (max-width: 560px) {

    .dmxCampaigns {
        background:
            radial-gradient(
                circle at 88% 10%,
                rgba(66, 105, 235, 0.2),
                transparent 28%
            ),
            radial-gradient(
                circle at 4% 92%,
                rgba(35, 194, 141, 0.13),
                transparent 30%
            ),
            linear-gradient(
                155deg,
                #07101d 0%,
                #0c182a 100%
            );
    }

}