.movistar-infographic {
    font-family: var(--font-main);
    color: var(--text-white);
    padding: 24px;
    box-sizing: border-box;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.4;
}

.movistar__wrapper {
    background-color: var(--bg-color);
}

:root {
    --bg-color: #1A1C29;
    --box-bg: #1a1e2d;
    --movistar-blue: #21A9E1;
    --text-white: #ffffff;
    --text-gray: #b8bacc;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


.movistar-infographic * {
    box-sizing: border-box;
}

.highlight {
    color: var(--movistar-blue);
    font-weight: 700;
}

.m-top-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.m-top-left,
.m-top-right {
    display: contents;
}

.m-logo-container {
    order: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}

.m-logo {
    max-width: 140px;
    height: auto;
}

.m-hero-img {
    order: 2;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.m-title-container {
    order: 3;
}

.m-title-container h1 {
    text-transform: uppercase;
    margin: 0 0 16px 0;
    font-family: Roboto;
    font-weight: 900;
    font-size: 40px;
    line-height: 44px;
}

.m-text-container {
    order: 4;
}

.m-text-container p {
    color: var(--text-white);
    margin: 0;
    font-family: Roboto;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
}

.m-divider {
    order: 5;
    border: none;
    border-top: 2px solid var(--movistar-blue);
    margin: 10px 0;
    opacity: 0.5;
    width: 100%;
}

.m-districts-header {
    order: 6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.m-districts-header h2 {
    font-size: 20px;
    line-height: 28px;
    text-transform: uppercase;
    margin: 0;
    padding-right: 15px;
}

.m-icon-pin {
    width: 28px;
    height: auto;
}

.m-districts-intro {
    order: 7;
}

.m-districts-intro p {
    font-size: 18px;
    line-height: 26px;
    color: var(--text-white);
    margin: 0;
}

/* --- MAPAS --- */
.m-districts-maps {
    margin-bottom: 40px;
}

.m-grid-districts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.m-district-item {
    display: flex;
    flex-direction: column;
}

.m-district-map {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.m-modernization-box {
    border: 2px solid #21A9E1;
    border-radius: 12px;
    padding: 24px;
    background-color: var(--box-bg);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.m-mod-title {
    font-size: 20px;
    line-height: 26px;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.m-mod-desc-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.m-icon-antenna {
    width: 48px;
    flex-shrink: 0;
}

.m-mod-desc-row p {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-white);
    margin: 0;
}

.m-mod-arrow,
.m-hero-img-desktop {
    display: none;
}

.m-mod-stat-with-image {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
}

.m-mod-stat h4 {
    font-size: 20px;
    line-height: 26px;
    margin: 0;
}

.m-mod-percent {
    font-size: 60px;
    line-height: 60px;
    font-weight: 800;
    color: var(--movistar-blue);
    margin: 4px 0;
}

.m-mod-stat p {
    font-size: 16px;
    line-height: 24px;
    color: var(--text-white);
    margin: 0 0 16px 0;
}

.m-mod-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .movistar-infographic {
        padding: 40px;
    }

    .m-top-section {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .m-hero-img {
        display: none;
    }

    .m-top-left,
    .m-top-right,
    .m-hero-img-desktop {
        display: block;
    }

    .m-title-container h1 {
        font-size: 46px;
        line-height: 50px;
    }

    .m-logo-container {
        text-align: right;
        margin-bottom: 24px;
        justify-content: right;
    }

    .m-hero-img {
        height: auto;
    }

    .m-divider {
        margin: 30px 0;
    }

    .m-grid-districts {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 24px;
    }

    .m-modernization-box {
        display: grid;
        grid-template-columns: 1.15fr 40px 1.85fr;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding: 32px;
    }

    .m-mod-left {
        flex: 1.2;
    }

    .m-mod-arrow {
        display: block;
        color: var(--movistar-blue);
        font-size: 42px;
        padding: 0 10px;
    }

    .m-mod-stat-with-image {
        position: relative;
        display: block;
        height: 100%;
        width: 100%;
    }

    .m-mod-stat-with-image .m-mod-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .m-mod-stat-with-image .m-mod-center.m-mod-stat {
        position: absolute;
        bottom: 20px;
        left: 30px;
        z-index: 10;
        width: 34%;
        margin: 0;
    }

    .m-mod-stat p {
        margin-bottom: 0;
    }
}