/* =========================================================
   MOVILLGAS S.A.S. E.S.P. / ENERGYGAS
   HOJA DE ESTILOS — PÁGINA DE INICIO (HOME)
   VERSIÓN REVISADA Y LIMPIA
   ========================================================= */


/* =========================================================
   1. OCULTAR TÍTULO AUTOMÁTICO Y CABECERAS
   ========================================================= */

.home .entry-title,
.home .entry-header {
    display: none !important;
}


/* =========================================================
   2. LIBERAR CONTENEDORES Y ANCHO EN GENERATEPRESS
   ========================================================= */

.home .site-content {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home .content-area {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

.home .site-main {
    width: 100% !important;
    max-width: none !important;
}

.home .inside-article {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* =========================================================
   3. CONTENEDOR PRINCIPAL
   ========================================================= */

.mg-home {
    width: 100%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.mg-home,
.mg-home *,
.mg-home *::before,
.mg-home *::after {
    box-sizing: border-box;
}


/* =========================================================
   4. NOTICIAS Y NOVEDADES
   ========================================================= */

.mg-news-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 22px 24px 24px;
    background:
        linear-gradient(
            180deg,
            #f3f7fc 0%,
            #eef4fb 100%
        );
    border-bottom: 1px solid #dfe7f0;
    overflow: hidden;
    box-sizing: border-box;
}

.mg-news-section,
.mg-news-section *,
.mg-news-section *::before,
.mg-news-section *::after {
    box-sizing: border-box;
}

.mg-news-inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}


/* =========================================================
   4.1 CABECERA
   ========================================================= */

.mg-news-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 18px;
    margin: 0 0 14px !important;
}

.mg-news-heading > div:first-child {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
    min-width: 0;
}

.mg-news-eyebrow {
    display: inline-block;
    margin: 0 !important;
    color: #0055b8;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.mg-news-title {
    margin: 0 !important;
    color: #163d76 !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.4px;
    text-align: center;
}


/* =========================================================
   4.2 CONTROLES
   ========================================================= */

.mg-news-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin: 0;
}

.mg-news-prev,
.mg-news-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #d7e3ef;
    border-radius: 50%;
    color: #003e99;
    font-family: Arial, sans-serif;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow:
        0 4px 12px rgba(0, 37, 84, 0.045);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.mg-news-prev:hover,
.mg-news-next:hover {
    background: #003e99;
    border-color: #003e99;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   4.3 CARRUSEL
   ========================================================= */

.mg-news-viewport {
    width: 100%;
    margin-top: 0 !important;
    overflow: hidden;
    border-radius: 14px;
    box-shadow:
        0 8px 24px rgba(0, 37, 84, 0.06);
}

.mg-news-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mg-news-card {
    position: relative;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: clamp(330px, 31vw, 460px);
    min-height: 330px;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border: 0 !important;
    border-radius: 14px;
    box-shadow: none;
    overflow: hidden;
}


/* 01 — Imagen principal */
.mg-news-card:nth-child(1) {
    background-image:
        url("https://www.movillgas.com/wp-content/uploads/2026/09/inicio_principal.png");
}

/* 02 — Seguridad / operación */
.mg-news-card:nth-child(2) {
    background-image:
        url("https://www.movillgas.com/wp-content/uploads/2026/09/inicio_primera_img.png");
}

/* 03 — Atención al usuario */
.mg-news-card:nth-child(3) {
    background-image:
        url("https://www.movillgas.com/wp-content/uploads/2026/09/inicio_segunda_img.png");
}


/* =========================================================
   4.4 CONTENIDO LEGADO DEL PLACEHOLDER
   Se conserva para accesibilidad, pero no se muestra visualmente.
   ========================================================= */

.mg-news-placeholder-icon {
    display: none !important;
}

.mg-news-placeholder-content {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   4.5 INDICADORES
   ========================================================= */

.mg-news-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
}

.mg-news-dot {
    width: 8px;
    height: 8px;
    padding: 0 !important;
    border: 0;
    border-radius: 999px;
    background: #c8d5e3;
    cursor: pointer;
    transition:
        width 0.22s ease,
        background 0.22s ease;
}

.mg-news-dot.is-active {
    width: 24px;
    background: #0055b8;
}


/* =========================================================
   5. HOME — ANIMACIÓN GENERAL DE ENTRADA
   ========================================================= */

.mg-home-reveal {
    opacity: 1;
    transform: none;
}

.mg-home-reveal.mg-home-ready {
    opacity: 0;
    transform: translateY(38px);
    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.mg-home-reveal.mg-home-ready.mg-home-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   6. TRÁMITES — ENTRADA ESCALONADA
   ========================================================= */

.mg-home-ready .mg-service-card {
    opacity: 0;
    transform: translateY(24px);
}

.mg-home-visible .mg-service-card {
    animation:
        mgServiceRise 0.58s ease both;
}

.mg-home-visible .mg-service-card:nth-child(1) {
    animation-delay: 0.08s;
}

.mg-home-visible .mg-service-card:nth-child(2) {
    animation-delay: 0.16s;
}

.mg-home-visible .mg-service-card:nth-child(3) {
    animation-delay: 0.24s;
}

.mg-home-visible .mg-service-card:nth-child(4) {
    animation-delay: 0.32s;
}

@keyframes mgServiceRise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   7. HOME — RESPONSIVE TABLET / MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    /* =========================
       NOTICIAS
       ========================= */

    .mg-news-section {
        padding: 18px 12px 20px;
    }

    .mg-news-inner {
        width: 100%;
        max-width: 100%;
    }

    .mg-news-heading {
        grid-template-columns:
            minmax(0, 1fr)
            auto;
        gap: 12px;
        margin-bottom: 14px !important;
    }

    .mg-news-heading > div:first-child {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    .mg-news-eyebrow {
        font-size: 11px;
    }

    .mg-news-title {
        text-align: left;
        font-size: 24px !important;
    }

    .mg-news-prev,
    .mg-news-next {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .mg-news-viewport {
        border-radius: 12px;
        box-shadow:
            0 6px 18px rgba(0, 37, 84, 0.05);
    }

    .mg-news-card {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
        padding: 0 !important;
        border-radius: 12px;
        background-size: cover;
        background-repeat: no-repeat;
        box-shadow: none;
    }

    .mg-news-dots {
        margin-top: 10px !important;
    }


    /* =========================
       TRÁMITES Y SERVICIOS
       ========================= */

    .mg-services-section {
        padding: 28px 14px 32px;
    }

    .mg-services-title {
        margin-bottom: 22px !important;
        font-size: 27px !important;
    }

    .mg-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 12px !important;
        max-width: none !important;
    }

    .mg-service-card {
        min-height: 0 !important;
        padding: 20px 14px 18px !important;
    }

    .mg-service-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 12px;
    }

    .mg-service-icon svg {
        width: 25px;
        height: 25px;
    }

    .mg-service-title {
        font-size: 15.5px !important;
    }

    .mg-service-text {
        font-size: 12.8px !important;
    }


    /* =========================
       CONOCE MOVILLGAS
       ========================= */

    .mg-about-section {
        padding: 38px 14px 42px;
    }

    .mg-about-intro {
        margin-bottom: 28px;
        padding: 12px 14px;
    }

    .mg-about-title {
        font-size: 30px !important;
    }

    .mg-about-lead {
        font-size: 14.5px !important;
    }

    .mg-about-commitment {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 28px;
        grid-template-columns:
            5px minmax(0, 1fr);
        gap: 16px;
        padding: 25px 20px;
        border-radius: 14px;
    }

    .mg-about-commitment h3 {
        font-size: 22px !important;
    }

    .mg-about-story {
        gap: 16px;
    }

    .mg-about-row,
    .mg-about-row-reverse {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .mg-about-copy {
        order: 2;
        width: 100%;
        padding: 25px 21px 27px;
    }

    .mg-about-media {
        order: 1;
        width: 100%;
        height: 220px;
        min-height: 220px;
    }

    .mg-about-media img {
        width: 100%;
        height: 220px;
        min-height: 220px;
    }

    .mg-about-copy h3 {
        font-size: 23px !important;
    }

    .mg-about-number {
        width: 42px;
        height: 42px;
    }
}


/* =========================================================
   8. HOME — MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .mg-services-grid {
        grid-template-columns: 1fr;
    }

    .mg-news-title {
        font-size: 22px !important;
    }

    .mg-news-card {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .mg-news-viewport {
        border-radius: 10px;
    }

    .mg-about-section {
        padding-left: 10px;
        padding-right: 10px;
    }
}


/* =========================================================
   9. ACCESIBILIDAD — MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-news-track,
    .mg-news-prev,
    .mg-news-next,
    .mg-news-dot,
    .mg-home-reveal,
    .mg-service-card {
        transition: none !important;
        animation: none !important;
    }

    .mg-news-prev:hover,
    .mg-news-next:hover,
    .mg-home-reveal,
    .mg-home-reveal.mg-home-ready,
    .mg-home-reveal.mg-home-ready.mg-home-visible,
    .mg-home-ready .mg-service-card,
    .mg-home-visible .mg-service-card {
        transform: none !important;
    }

    .mg-home-reveal,
    .mg-home-reveal.mg-home-ready,
    .mg-home-reveal.mg-home-ready.mg-home-visible,
    .mg-home-ready .mg-service-card,
    .mg-home-visible .mg-service-card {
        opacity: 1 !important;
    }
}















/* =========================================================
   5. TRÁMITES Y SERVICIOS
   ========================================================= */

/* =========================================================
   TRÁMITES Y SERVICIOS — MÁS ARRIBA Y MÁS VISIBLE
   ========================================================= */

/* =========================================================
   TRÁMITES Y SERVICIOS — AJUSTE VISUAL — SECCIÓN CORPORATIVA
   ========================================================= */

.mg-services-section {
    position: relative;

    width: 100%;

    margin: 0;

    padding: 34px 20px 40px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfe 100%
        );

    border-top: 0;
    border-bottom: 1px solid #edf1f5;
}

.mg-services-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 90px;
    height: 3px;

    transform: translateX(-50%);

    background: #0055b8;

    border-radius: 0 0 3px 3px;

    opacity: 0.28;
}

.mg-services-title {
    margin: 0 0 28px !important;

    text-align: center !important;

    color: #163d76 !important;

    font-size: 32px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    letter-spacing: -0.35px;
}

.mg-services-title::after {
    content: "";

    display: block;

    width: 54px;
    height: 3px;

    margin: 11px auto 0;

    background: #e7a33e;

    border-radius: 999px;
}


/* =========================================================
   6. TARJETAS DE SERVICIOS COMPACTAS
   ========================================================= */

.mg-services-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mg-service-card {
    position: relative;

    display: flex !important;

    flex-direction: column !important;

    justify-content: space-between !important;

    min-width: 0 !important;
    min-height: 190px !important;

    margin: 0 !important;

    padding: 24px 18px 20px !important;

    background: transparent !important;

    border: 0 !important;

    border-radius: 14px !important;

    text-align: center !important;

    box-shadow: none !important;

    transition:
        transform 0.24s ease,
        background 0.24s ease,
        box-shadow 0.24s ease;
}

.mg-service-card:hover {
    transform: translateY(-5px);

    background: #ffffff !important;

    box-shadow:
        0 12px 26px rgba(0, 37, 84, 0.07) !important;
}

.mg-service-card:hover {
    transform: translateY(-4px);
    border-color: #cbd9e8 !important;
    box-shadow: 0 10px 25px rgba(0, 48, 100, 0.09);
}

.mg-service-content {
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.mg-service-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #ffffff 0%,
            #eef5fc 72%,
            #e2edf8 100%
        );

    border: 1px solid #d6e4f1;

    color: #0055b8;

    box-shadow:
        0 8px 18px rgba(0, 37, 84, 0.055);

    transition:
        transform 0.24s ease,
        background 0.24s ease,
        color 0.24s ease,
        box-shadow 0.24s ease;
}

.mg-service-icon svg {
    width: 28px;
    height: 28px;
}

.mg-service-card:hover .mg-service-icon {
    transform: scale(1.06);

    background: #fff4dd;

    color: #a96800;

    box-shadow:
        0 9px 20px rgba(231, 163, 62, 0.13);
}

.mg-service-icon svg {
    width: 26px;
    height: 26px;
}

.mg-service-title {
    margin: 0 0 9px !important;

    color: #003e99 !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 1.3 !important;
}

.mg-service-text {
    max-width: 220px !important;

    margin: 0 auto !important;

    color: #64748b !important;

    font-size: 13.5px !important;

    line-height: 1.6 !important;
}

.mg-service-text {
    max-width: 100% !important;
    margin: 0 !important;
    color: #5c6673 !important;
    font-size: 13.5px !important;
    font-weight: 400;
    line-height: 1.5 !important;
}

.mg-service-link-wrapper {
    margin: 18px 0 0;

    padding: 0;

    text-align: center;
}

.mg-service-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 12px;

    border-radius: 999px;

    color: #0055b8 !important;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.mg-service-link:hover {
    background: #eef5fc;

    color: #003e99 !important;

    transform: translateY(-1px);

    text-decoration: none !important;
}














/* RESPONSIVE HOME*/
@media (max-width: 768px) {

    .mg-services-section {
        padding: 28px 14px 32px;
    }

    .mg-services-title {
        font-size: 27px !important;

        margin-bottom: 22px !important;
    }

    .mg-services-grid {
        grid-template-columns: 1fr 1fr;

        gap: 12px !important;

        max-width: none !important;
    }

    .mg-service-card {
        min-height: 0 !important;

        padding: 20px 14px 18px !important;
    }

    .mg-service-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 12px;
    }

    .mg-service-icon svg {
        width: 25px;
        height: 25px;
    }

    .mg-service-title {
        font-size: 15.5px !important;
    }

    .mg-service-text {
        font-size: 12.8px !important;
    }

}

/*MOVIL*/
@media (max-width: 480px) {

    .mg-services-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   7. SECCIÓN INSTITUCIONAL MOVILLGAS -  CONOCE MOVILLGAS
   ========================================================= */

/* =========================================================
   CONOCE MOVILLGAS
   ========================================================= */

.mg-about-section {
    position: relative;

    width: 100%;

    margin: 0;
	

    padding: 58px 20px 64px;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(231, 163, 62, 0.08),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #fffdf9 0%,
            #ffffff 35%,
            #f8fafc 100%
        );

    border: 0;
		border-top: 1px solid rgba(0, 37, 84, 0.05);

    border-radius: 0;

    box-shadow: none;

    overflow: hidden;

    box-sizing: border-box;
}

.mg-about-section,
.mg-about-section *,
.mg-about-section *::before,
.mg-about-section *::after {
    box-sizing: border-box;
}

.mg-about-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 120px;
    height: 3px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            #e7a33e,
            transparent
        );

    opacity: 0.7;

    pointer-events: none;
}

/* =========================================================
   BLOQUE MOVILLGAS
   ========================================================= */

/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.mg-about-intro {
    position: relative;

    width: 100%;
    max-width: 860px;

    margin: 0 auto 42px;

    padding: 18px 28px 12px;

    text-align: center;

    background: transparent;

    border: 0;

    border-radius: 0;

    box-shadow: none;
}

.mg-about-intro::before {
    content: "";

    display: block;

    position: static;

    width: 62px;
    height: 4px;

    margin: 0 auto 22px;

    transform: none;

    background: #e7a33e;

    border-radius: 999px;
}

.mg-about-eyebrow {
    display: inline-block;

    margin-bottom: 8px;

    color: #0055b8;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.mg-about-title {
    margin: 0 0 13px !important;

    color: #003e99 !important;

    font-size: 32px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
}

.mg-about-lead {
    max-width: 760px;

    margin: 0 auto !important;

    color: #4d5967 !important;

    font-size: 16px !important;

    line-height: 1.7 !important;
}


/* =========================================================
   NUESTRO COMPROMISO
   ========================================================= */

/* =========================================================
   NUESTRO COMPROMISO — FRANJA
   ========================================================= */

.mg-about-commitment {
    position: relative;

    width: calc(100% + 90px);
    max-width: none;

    margin-left: -45px;
    margin-right: -45px;
    margin-bottom: 42px;

    display: grid;

    grid-template-columns: 7px minmax(0, 1fr);

    align-items: center;

    gap: 25px;

    padding: 34px 46px;

    background:
        linear-gradient(
            135deg,
            #002554 0%,
            #00356f 60%,
            #003f83 100%
        );

    border: 0;

    border-radius: 18px;

    color: #ffffff;

    box-shadow:
        0 14px 32px rgba(0, 37, 84, 0.14);

    overflow: hidden;
}

.mg-about-commitment-mark {
    width: 7px;
    height: 100%;

    min-height: 104px;

    background: #e7a33e;

    border-radius: 999px;
}

.mg-about-small-label {
    display: block;

    margin-bottom: 7px;

    color: #f2c878;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.mg-about-commitment h3 {
    margin: 0 0 10px !important;

    color: #ffffff !important;

    font-size: 27px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
}

.mg-about-commitment p {
    max-width: 860px;

    margin: 0 !important;

    color: rgba(255, 255, 255, 0.80) !important;

    font-size: 15px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   SEGURIDAD / CALIDAD / COMUNIDAD
   ========================================================= */

.mg-about-row {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    min-height: 310px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 8px 24px rgba(0, 37, 84, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.mg-about-row:hover {
    transform: translateY(-5px);

    border-color: #d3dfeb;

    box-shadow:
        0 16px 34px rgba(0, 37, 84, 0.09);
}


/* =========================================================
   TEXTO DE TARJETAS
   ========================================================= */

.mg-about-copy {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

    padding: 42px 46px;
}

.mg-about-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 17px;

    border-radius: 14px;

    background: #fff4dd;

    border: 1px solid #efd29b;

    color: #9a6200;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.mg-about-copy h3 {
    margin: 0 0 11px !important;

    color: #003e99 !important;

    font-size: 27px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
}

.mg-about-copy p {
    max-width: 440px;

    margin: 0 !important;

    color: #606f80 !important;

    font-size: 14.5px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   IMÁGENES
   ========================================================= */

.mg-about-media {
    position: relative;

    min-width: 0;
    min-height: 310px;

    overflow: hidden;

    background: #e8eef5;
}

.mg-about-media::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(0, 37, 84, 0.03),
            rgba(0, 85, 184, 0.08)
        );

    pointer-events: none;
}

.mg-about-media img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 310px;

    object-fit: cover;

    object-position: center center;

    transform: scale(1.02);

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.mg-about-row:hover .mg-about-media img {
    transform: scale(1.065);
}


/* =========================================================
   ANIMACIÓN AL DESPLAZARSE
   ========================================================= */

.mg-about-reveal {
    opacity: 1;
    transform: none;
}

.mg-about-reveal.mg-about-ready {
    opacity: 0;

    transform: translateY(46px);

    transition:
        opacity 0.78s ease,
        transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.mg-about-reveal.mg-about-ready.mg-about-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 769px) and (max-width: 992px) {

    .mg-about-section {
        padding: 44px 30px 40px;
    }

    .mg-about-row {
        grid-template-columns:
            minmax(0, 0.95fr)
            minmax(0, 1.05fr);

        min-height: 245px;
    }

    .mg-about-copy {
        padding: 30px 28px;
    }

    .mg-about-media,
    .mg-about-media img {
        min-height: 245px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .mg-about-section {
        padding: 38px 14px 42px;
    }

    .mg-about-intro {
        margin-bottom: 28px;

        padding: 12px 14px;
    }

    .mg-about-title {
        font-size: 30px !important;
    }

    .mg-about-lead {
        font-size: 14.5px !important;
    }

    .mg-about-commitment {
        width: 100%;

        margin-left: 0;
        margin-right: 0;
        margin-bottom: 28px;

        grid-template-columns: 5px minmax(0, 1fr);

        gap: 16px;

        padding: 25px 20px;

        border-radius: 14px;
    }

    .mg-about-commitment h3 {
        font-size: 22px !important;
    }

    .mg-about-story {
        gap: 16px;
    }

    .mg-about-row,
    .mg-about-row-reverse {
        display: flex;

        flex-direction: column;

        min-height: 0;
    }

    .mg-about-copy {
        order: 2;

        width: 100%;

        padding: 25px 21px 27px;
    }

    .mg-about-media {
        order: 1;

        width: 100%;

        height: 220px;
        min-height: 220px;
    }

    .mg-about-media img {
        height: 220px;
        min-height: 220px;
    }

    .mg-about-copy h3 {
        font-size: 23px !important;
    }

    .mg-about-number {
        width: 42px;
        height: 42px;
    }

}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-about-reveal,
    .mg-about-reveal.mg-about-ready {
        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

    .mg-about-media img {
        transition: none !important;
    }

    .mg-about-row:hover {
        transform: none !important;
    }

}


















/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.mg-institutional-intro {
	
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.mg-institutional-eyebrow {
    display: inline-block;

    margin-bottom: 9px;

    color: #0055b8;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.mg-institutional-title {
    margin: 0 0 13px 0 !important;

    color: #003e99 !important;

    font-size: 31px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
}

.mg-institutional-lead {
    max-width: 760px;

    margin: 0 auto !important;

    color: #475569 !important;

    font-size: 16px !important;

    line-height: 1.7 !important;
}


/* =========================================================
   DIVISOR
   ========================================================= */

.mg-institutional-divider {
    width: 100%;
    height: 1px;

    margin: 32px 0 27px;

    background: #dfe6ee;
}


/* =========================================================
   NUESTRO COMPROMISO
   ========================================================= */

.mg-commitment-header {
    max-width: 820px;

    margin: 0 auto 30px;

    text-align: center;
}

.mg-commitment-header h3 {
    margin: 0 0 8px !important;

    color: #1d3557 !important;

    font-size: 21px !important;
    font-weight: 650 !important;

    line-height: 1.3 !important;
}

.mg-commitment-header p {
    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   LISTA DE BLOQUES
   ========================================================= */

.mg-story-list {
    display: flex;
    flex-direction: column;

    gap: 24px;

    width: 100%;
}


/* =========================================================
   BLOQUE INDIVIDUAL
   ========================================================= */

.mg-story-row {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    min-height: 270px;

    background: #ffffff;

    border: 1px solid #e1e8f0;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 7px 22px rgba(0, 48, 100, 0.055);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.mg-story-row:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(0, 48, 100, 0.09);
}


/* =========================================================
   CONTENIDO DE TEXTO
   ========================================================= */

.mg-story-copy {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

    padding: 38px 42px;
}

.mg-story-number {
    display: block;

    margin-bottom: 9px;

    color: #0055b8;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.mg-story-copy h4 {
    margin: 0 0 10px 0 !important;

    color: #003e99 !important;

    font-size: 24px !important;
    font-weight: 650 !important;

    line-height: 1.25 !important;
}

.mg-story-copy p {
    max-width: 430px;

    margin: 0 !important;

    color: #606b78 !important;

    font-size: 14.5px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   CONTENEDOR DE IMAGEN
   ========================================================= */

.mg-story-media {
    position: relative;

    width: 100%;

    min-width: 0;
    min-height: 270px;

    overflow: hidden;

    background: #e8eef5;
}


/* Superposición corporativa ligera */

.mg-story-media::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(0, 37, 84, 0.03),
            rgba(0, 85, 184, 0.10)
        );

    pointer-events: none;
}


/* =========================================================
   IMAGEN RECORTADA
   ========================================================= */

.mg-story-image {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 270px;

    object-fit: cover;

    object-position: center center;

    transform: scale(1.04);

    transition:
        transform 0.85s ease;
}

.mg-story-row:hover .mg-story-image {
    transform: scale(1.09);
}


/* =========================================================
   RECORTE INDIVIDUAL
   Podemos afinarlo después con capturas reales.
   ========================================================= */

.mg-story-row:nth-child(1) .mg-story-image {
    object-position: center center;
}

.mg-story-row:nth-child(2) .mg-story-image {
    object-position: center center;
}

.mg-story-row:nth-child(3) .mg-story-image {
    object-position: center center;
}


/* =========================================================
   ANIMACIÓN DE ENTRADA
   ========================================================= */

.mg-reveal {
    opacity: 0;

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


/* Seguridad y Comunidad */

.mg-story-row:nth-child(1).mg-reveal,
.mg-story-row:nth-child(3).mg-reveal {
    transform: translateX(32px);
}


/* Calidad */

.mg-story-row:nth-child(2).mg-reveal {
    transform: translateX(-32px);
}


/* Estado visible */

.mg-reveal.mg-visible {
    opacity: 1 !important;

    transform: translateX(0) !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 601px) and (max-width: 992px) {

    .mg-institutional {
        padding: 40px 30px 36px;
    }

    .mg-story-row {
        grid-template-columns:
            minmax(0, 0.95fr)
            minmax(0, 1.05fr);

        min-height: 245px;
    }

    .mg-story-copy {
        padding: 30px 28px;
    }

    .mg-story-media,
    .mg-story-image {
        min-height: 245px;
    }

}

/* =========================================================
   HOME — CORRECCIÓN DE ANCHO REAL EN MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .mg-news-inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    .mg-news-placeholder {
        width: 100% !important;
        max-width: 100% !important;
    }
}



/* =========================================================
   MÓVIL
   ========================================================= */

/* =========================================================
   TRÁMITES — TELÉFONOS Y TABLETS ESTRECHAS
   ========================================================= */

@media (max-width: 768px) {

    .mg-services-grid {
        max-width: none !important;

        flex-direction: column !important;
        flex-wrap: nowrap !important;

        gap: 13px !important;

        width: 100% !important;
    }

    .mg-service-card {
        flex: 0 0 auto !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;

        padding: 21px 19px 18px !important;
    }
}

/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-reveal,
    .mg-story-row:nth-child(1).mg-reveal,
    .mg-story-row:nth-child(2).mg-reveal,
    .mg-story-row:nth-child(3).mg-reveal {
        opacity: 1 !important;

        transform: none !important;

        transition: none !important;
    }

    .mg-story-image {
        transition: none !important;
    }

    .mg-story-row:hover {
        transform: none !important;
    }

    .mg-story-row:hover .mg-story-image {
        transform: scale(1.04);
    }

}

/* =========================================================
   ANIMACIÓN PROGRESIVA
   SIN JS LOS ELEMENTOS SIEMPRE SON VISIBLES
   ========================================================= */

.mg-reveal {
    opacity: 1;
    transform: none;
}


/* Solo se ocultan cuando JS confirma que puede animarlos */

.mg-reveal.mg-reveal-ready {
    opacity: 0;

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


/* Seguridad y Comunidad */

.mg-story-row:nth-child(1).mg-reveal-ready,
.mg-story-row:nth-child(3).mg-reveal-ready {
    transform: translateX(32px);
}


/* Calidad */

.mg-story-row:nth-child(2).mg-reveal-ready {
    transform: translateX(-32px);
}


/* Una vez entra en pantalla */

.mg-reveal.mg-reveal-ready.mg-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}
















/* =========================================================
   MOVILGAS — PÁGINA NOSOTROS (VERSIÓN LIMPIA)
   ========================================================= */


/* =========================================================
   1. FONDO GENERAL Y LIBERACIÓN DE CONTENEDORES
   ========================================================= */

.page-id-19,
.page-id-19 body,
.page-id-19 #page,
.page-id-19 .site,
.page-id-19 .site-content,
.page-id-19 .content-area,
.page-id-19 .site-main,
.page-id-19 article,
.page-id-19 .inside-article,
.page-id-19 .entry-content {
    background: #ffffff !important;
}

.page-id-19 .site-content,
.page-id-19 .inside-article {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* =========================================================
   2. CONTENEDOR CENTRAL
   ========================================================= */

.page-id-19 .mg-nosotros-shell,
.mg-nosotros-shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1px;
    box-sizing: border-box;
}

.page-id-19 .mg-nosotros-shell *,
.mg-nosotros-shell *,
.page-id-19 .mg-nosotros-shell *::before,
.mg-nosotros-shell *::before,
.page-id-19 .mg-nosotros-shell *::after,
.mg-nosotros-shell *::after {
    box-sizing: border-box;
}


/* =========================================================
   3. TIPOGRAFÍA BASE
   ========================================================= */

.page-id-19 .mg-section-kicker,
.page-id-19 .mg-nosotros-kicker,
.mg-section-kicker,
.mg-nosotros-kicker {
    display: inline-block;
    margin: 0 0 10px;
    color: #0055b8;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.page-id-19 .mg-section-title,
.mg-section-title {
    margin: 0 0 12px !important;
    color: #1d3557 !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px;
}

.page-id-19 .mg-section-text,
.mg-section-text {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}


/* =========================================================
   4. HERO — QUIÉNES SOMOS
   ========================================================= */

.page-id-19 .mg-nosotros-hero,
.mg-nosotros-hero {
    position: relative;

    display: block;

    width: 100vw;
    min-height: 350px;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    margin-top: 0;
    margin-bottom: 28px;

    border: 0;
    border-radius: 0;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 30%,
            rgba(255, 255, 255, 0.97) 38%,
            rgba(255, 255, 255, 0.82) 49%,
            rgba(255, 255, 255, 0.38) 66%,
            rgba(255, 255, 255, 0.06) 100%
        ),
        url("https://www.movillgas.com/wp-content/uploads/2026/09/banner.png")
        center right / cover no-repeat;

    box-shadow: none;
}

.page-id-19 .mg-nosotros-hero-content,
.mg-nosotros-hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    width: min(58%, 720px);
    min-height: 390px;

    margin-left:
        max(
            48px,
            calc((100vw - 1250px) / 2 + 24px)
        );

    padding: 48px 40px 44px 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    overflow: visible;
}

.page-id-19 .mg-nosotros-hero-content::before,
.mg-nosotros-hero-content::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 82px;
    height: 4px;

    background: #e7a33e;

    border-radius: 0 0 4px 4px;
}

.page-id-19 .mg-nosotros-hero-title,
.mg-nosotros-hero-title {
    max-width: 680px;
    margin: 0 0 17px !important;
    color: #003e99 !important;
    font-size: 46px !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.6px;
}

.page-id-19 .mg-nosotros-hero-text,
.mg-nosotros-hero-text {
    width: 100%;
    max-width: 610px;
    margin: 0 0 26px !important;
    color: #4d5967 !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
}


/* =========================================================
   5. BOTONES DEL HERO
   ========================================================= */

.page-id-19 .mg-nosotros-hero-actions,
.mg-nosotros-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.page-id-19 .mg-nosotros-btn,
.mg-nosotros-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 178px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.page-id-19 .mg-nosotros-btn:hover,
.mg-nosotros-btn:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.page-id-19 .mg-nosotros-btn-primary,
.mg-nosotros-btn-primary {
    background: #e7a33e;
    border: 1px solid #e7a33e;
    color: #002554 !important;
    box-shadow: 0 5px 16px rgba(231, 163, 62, 0.22);
}

.page-id-19 .mg-nosotros-btn-primary:hover,
.mg-nosotros-btn-primary:hover {
    background: #f0b454;
    border-color: #f0b454;
    color: #002554 !important;
    box-shadow: 0 8px 20px rgba(231, 163, 62, 0.26);
}

.page-id-19 .mg-nosotros-btn-secondary,
.mg-nosotros-btn-secondary {
    background: #ffffff;
    border: 1px solid #d5e1ee;
    color: #003e99 !important;
    box-shadow: 0 3px 10px rgba(0, 37, 84, 0.035);
}

.page-id-19 .mg-nosotros-btn-secondary:hover,
.mg-nosotros-btn-secondary:hover {
    background: #f8fafc;
    border-color: #b7cce2;
    color: #002554 !important;
}


/* =========================================================
   6. VISUAL DERECHO DEL HERO
   SE OCULTA PORQUE YA SE INTEGRA AL FONDO DEL HERO
   ========================================================= */

.page-id-19 .mg-nosotros-hero-visual,
.mg-nosotros-hero-visual {
    display: none !important;
}


/* =========================================================
   7. ANIMACIÓN DE ENTRADA
   ========================================================= */

.mg-nosotros-reveal {
    opacity: 1;
    transform: none;
}

.mg-nosotros-reveal.mg-nosotros-ready {
    opacity: 0;
    transform: translateY(38px);
    transition:
        opacity 0.75s ease,
        transform 0.75s ease;
}

.mg-nosotros-reveal.mg-nosotros-ready.mg-nosotros-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   8. ESTRUCTURA GENERAL
   ========================================================= */

.page-id-19 .mg-nosotros-strategy,
.mg-nosotros-strategy {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin: 0 0 40px;
}


/* =========================================================
   9. ENFOQUE CORPORATIVO
   ========================================================= */

/* =========================================================
   ENFOQUE CORPORATIVO — PANEL PRINCIPAL
   ========================================================= */

.page-id-19 .mg-nosotros-pillars,
.mg-nosotros-pillars {
    position: relative;

    width: calc(100% + 90px);

    margin-left: -45px;
    margin-right: -45px;

    margin-top: 0;
    margin-bottom: 28px;

    padding: 52px 46px 48px;

    background:
        linear-gradient(
            135deg,
            #002554 0%,
            #00356f 55%,
            #003e7f 100%
        );

    border: 0;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 16px 38px rgba(0, 37, 84, 0.14);
}

.page-id-19 .mg-nosotros-pillars .mg-section-heading,
.mg-nosotros-pillars .mg-section-heading {
    width: 100%;
    max-width: 820px;

    margin: 0 auto 38px;

    text-align: center;
}

.page-id-19 .mg-nosotros-pillars .mg-section-kicker,
.mg-nosotros-pillars .mg-section-kicker {
    display: inline-block;

    margin-bottom: 12px;

    color: #f2c878 !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    line-height: 1.2;

    letter-spacing: 1.7px;

    text-transform: uppercase;
}

.page-id-19 .mg-nosotros-pillars .mg-section-title,
.mg-nosotros-pillars .mg-section-title {
    margin: 0 0 15px !important;

    color: #ffffff !important;

    font-size: 34px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    letter-spacing: -0.4px;
}

.page-id-19 .mg-nosotros-pillars .mg-section-text,
.mg-nosotros-pillars .mg-section-text {
    max-width: 700px;

    margin-left: auto !important;
    margin-right: auto !important;

    color: rgba(255, 255, 255, 0.80) !important;

    font-size: 16px !important;

    line-height: 1.75 !important;
}


/* =========================================================
   10. GRID DE PILARES
   ========================================================= */

.page-id-19 .mg-pillars-grid,
.mg-pillars-grid {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
    max-width: 1160px;

    margin: 0 auto;
}


.page-id-19 .mg-pillar-item,
.mg-pillar-item {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    min-width: 0;
    min-height: 330px;

    padding: 34px 30px 30px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    border: 1px solid rgba(214, 228, 241, 0.95);

    border-radius: 16px;

    box-shadow:
        0 8px 24px rgba(0, 20, 55, 0.10);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* línea cálida superior */

.page-id-19 .mg-pillar-item::before,
.mg-pillar-item::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 52px;
    height: 3px;

    transform: translateX(-50%);

    background: #e7a33e;

    border-radius: 0 0 3px 3px;

    opacity: 0.85;
}


.page-id-19 .mg-pillar-orb,
.mg-pillar-orb {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 84px;
    height: 84px;

    margin: 0 auto 20px;

    background:
        radial-gradient(
            circle at 35% 30%,
            #ffffff 0%,
            #eef5fc 70%,
            #e4eef8 100%
        );

    border: 1px solid #d3e2ef;

    border-radius: 50%;

    color: #0055b8;

    box-shadow:
        0 0 0 7px rgba(0, 85, 184, 0.045),
        0 8px 20px rgba(0, 37, 84, 0.07);

    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.page-id-19 .mg-pillar-orb svg,
.mg-pillar-orb svg {
    width: 31px;
    height: 31px;
}

.page-id-19 .mg-pillar-item:hover .mg-pillar-orb,
.mg-pillar-item:hover .mg-pillar-orb {
    transform: scale(1.07);

    background: #fff4dd;

    color: #a96800;

    box-shadow:
        0 0 0 7px rgba(231, 163, 62, 0.10),
        0 10px 24px rgba(231, 163, 62, 0.14);
}

.page-id-19 .mg-pillar-item h3,
.mg-pillar-item h3 {
    margin: 0 0 13px !important;

    color: #002f70 !important;

    font-size: 22px !important;
    font-weight: 700 !important;

    line-height: 1.25 !important;
}

.page-id-19 .mg-pillar-item p,
.mg-pillar-item p {
    max-width: 330px;

    margin: 0 auto !important;

    color: #5d6977 !important;

    font-size: 14.5px !important;

    line-height: 1.72 !important;
}

.page-id-19 .mg-pillar-action,
.mg-pillar-action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 20px;

    padding: 10px 17px;

    background: #eef5fc;

    border: 1px solid #d7e5f2;

    border-radius: 999px;

    color: #0055b8 !important;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.page-id-19 .mg-pillar-action:hover,
.mg-pillar-action:hover {
    background: #0055b8;

    color: #ffffff !important;

    transform: translateY(-2px);

    text-decoration: none !important;
}

.page-id-19 .mg-nosotros-pillars.mg-nosotros-ready,
.mg-nosotros-pillars.mg-nosotros-ready {
    opacity: 0;

    transform: translateY(55px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-id-19 .mg-nosotros-pillars.mg-nosotros-ready.mg-nosotros-visible,
.mg-nosotros-pillars.mg-nosotros-ready.mg-nosotros-visible {
    opacity: 1;

    transform: translateY(0);
}

.mg-nosotros-pillars.mg-nosotros-visible .mg-pillar-item {
    animation:
        mgPillarRise 0.62s ease both;
}

.mg-nosotros-pillars.mg-nosotros-visible
.mg-pillar-item:nth-child(1) {
    animation-delay: 0.10s;
}

.mg-nosotros-pillars.mg-nosotros-visible
.mg-pillar-item:nth-child(2) {
    animation-delay: 0.20s;
}

.mg-nosotros-pillars.mg-nosotros-visible
.mg-pillar-item:nth-child(3) {
    animation-delay: 0.30s;
}

@keyframes mgPillarRise {

    from {
        opacity: 0;

        transform: translateY(30px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

.mg-nosotros-pillars.mg-nosotros-visible
.mg-pillar-orb {
    animation:
        mgOrbAppear 0.5s ease both;
}

@keyframes mgOrbAppear {

    from {
        opacity: 0;

        transform: scale(0.82);
    }

    to {
        opacity: 1;

        transform: scale(1);
    }
}














/* =========================================================
   VALORES — VERSIÓN FINAL HORIZONTAL
   ========================================================= */

.page-id-19 .mg-nosotros-values,
.mg-nosotros-values {
    position: relative;

    width: calc(100% + 90px);

    margin-left: -45px;
    margin-right: -45px;
    margin-top: 0;
    margin-bottom: 30px;

    display: flex;
    flex-direction: column;

    gap: 26px;

    padding: 38px 44px 40px;

    background:
        radial-gradient(
            circle at 7% 22%,
            rgba(231, 163, 62, 0.14) 0%,
            rgba(231, 163, 62, 0) 24%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(0, 85, 184, 0.07) 0%,
            rgba(0, 85, 184, 0) 27%
        ),
        linear-gradient(
            120deg,
            #fff8ec 0%,
            #fffdf8 48%,
            #ffffff 100%
        );

    border: 1px solid #ead7b1;

    border-radius: 20px;

    box-shadow:
        0 10px 28px rgba(110, 75, 10, 0.045);

    overflow: hidden;
}


/* decoración superior */

.page-id-19 .mg-nosotros-values::before,
.mg-nosotros-values::before {
    content: "";

    position: absolute;

    top: -115px;
    right: -75px;

    width: 280px;
    height: 280px;

    border: 1px solid rgba(231, 163, 62, 0.20);

    border-radius: 50%;

    pointer-events: none;
}


/* decoración inferior */

.page-id-19 .mg-nosotros-values::after,
.mg-nosotros-values::after {
    content: "";

    position: absolute;

    bottom: -135px;
    left: -90px;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(0, 85, 184, 0.09);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   TEXTO DE VALORES
   ========================================================= */

.page-id-19 .mg-values-copy,
.mg-values-copy {
    position: relative;
    z-index: 2;

    order: 1;

    max-width: 780px;
}

.page-id-19 .mg-values-copy .mg-section-kicker,
.mg-values-copy .mg-section-kicker {
    margin-bottom: 10px;

    color: #0055b8 !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    letter-spacing: 1.6px;
}

.page-id-19 .mg-values-copy .mg-section-title,
.mg-values-copy .mg-section-title {
    max-width: 720px;

    margin: 0 0 12px !important;

    color: #163d76 !important;

    font-size: 32px !important;
    font-weight: 700 !important;

    line-height: 1.12 !important;

    letter-spacing: -0.4px;
}

.page-id-19 .mg-values-copy .mg-section-text,
.mg-values-copy .mg-section-text {
    max-width: 760px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   LOS 4 VALORES HORIZONTALES
   ========================================================= */

.page-id-19 .mg-valores-diagonal,
.mg-valores-diagonal {
    position: relative;
    z-index: 2;

    order: 2;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.page-id-19 .mg-valores-diagonal li,
.mg-valores-diagonal li {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    min-height: 64px;

    margin: 0 !important;

    padding: 12px 16px;

    background: rgba(255, 255, 255, 0.84);

    border: 1px solid #e4d4b4;

    border-radius: 12px;

    color: #173a72;

    font-size: 13.5px;
    font-weight: 700;

    line-height: 1.3;

    text-align: center;

    box-shadow:
        0 4px 12px rgba(110, 75, 10, 0.035);

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}


/* acento cálido para Integridad */

.page-id-19 .mg-valores-diagonal li:first-child,
.mg-valores-diagonal li:first-child {
    background:
        linear-gradient(
            135deg,
            #fff0d0 0%,
            #fff8e9 100%
        );

    border-color: #e8c575;

    color: #805300;
}


.page-id-19 .mg-valores-diagonal li:hover,
.mg-valores-diagonal li:hover {
    transform: translateY(-3px);

    background: #ffffff;

    border-color: #dab66b;

    box-shadow:
        0 8px 18px rgba(110, 75, 10, 0.075);
}












/* =========================================================
   12. FAQ
   ========================================================= */

.page-id-19 .mg-nosotros-faq-section,
.mg-nosotros-faq-section {
    position: relative;

    width: 100vw;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;

    padding:
        56px
        max(24px, calc((100vw - 1250px) / 2 + 26px))
        60px;

    background:
        linear-gradient(
            180deg,
            #f7fafd 0%,
            #eef4fb 100%
        );

    border: 0;
    border-radius: 0;

    box-shadow: none;

    overflow: hidden;
}


/* SUAVE DETALLE DECORATIVO */

.page-id-19 .mg-nosotros-faq-section::before,
.mg-nosotros-faq-section::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 85, 184, 0.06) 0%,
            rgba(0, 85, 184, 0) 72%
        );

    pointer-events: none;
}

.page-id-19 .mg-nosotros-faq-section::after,
.mg-nosotros-faq-section::after {
    content: "";

    position: absolute;

    bottom: -100px;
    left: -100px;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(231, 163, 62, 0.08) 0%,
            rgba(231, 163, 62, 0) 72%
        );

    pointer-events: none;
}


/* CABECERA FAQ */

.page-id-19 .mg-nosotros-faq-head,
.mg-nosotros-faq-head {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 760px;

    margin: 0 0 28px;
}

.page-id-19 .mg-nosotros-faq-head .mg-section-kicker,
.mg-nosotros-faq-head .mg-section-kicker {
    margin-bottom: 12px;

    font-size: 12px !important;
    font-weight: 800 !important;

    letter-spacing: 1.7px;

    text-transform: uppercase;
}

.page-id-19 .mg-nosotros-faq-head .mg-section-title,
.mg-nosotros-faq-head .mg-section-title {
    margin: 0 0 14px !important;

    color: #153d76 !important;

    font-size: 42px !important;
    font-weight: 700 !important;

    line-height: 1.08 !important;

    letter-spacing: -0.6px;
}

.page-id-19 .mg-nosotros-faq-head .mg-section-text,
.mg-nosotros-faq-head .mg-section-text {
    color: #5f6f82 !important;

    font-size: 17px !important;

    line-height: 1.72 !important;
}


/* ACORDEÓN */

.page-id-19 .mg-faq-accordion,
.mg-faq-accordion {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 13px;

    width: 100%;
    max-width: 1180px;
}


/* ITEMS */

.page-id-19 .mg-faq-item,
.mg-faq-item {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 1px solid #dde7f1;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 6px 18px rgba(0, 37, 84, 0.04);

    transition:
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        transform 0.24s ease;
}

.page-id-19 .mg-faq-item:hover,
.mg-faq-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(0, 37, 84, 0.06);
}

.page-id-19 .mg-faq-item[open],
.mg-faq-item[open] {
    border-color: #c8d9e9;

    box-shadow:
        0 12px 28px rgba(0, 37, 84, 0.08);
}


/* PREGUNTA */

.page-id-19 .mg-faq-item summary,
.mg-faq-item summary {
    position: relative;

    display: block;

    width: 100%;

    padding: 22px 70px 22px 24px;

    list-style: none;

    cursor: pointer;

    color: #163d76;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.45;

    user-select: none;
}

.page-id-19 .mg-faq-item summary::-webkit-details-marker,
.mg-faq-item summary::-webkit-details-marker {
    display: none;
}


/* ÍCONO + / - */

.page-id-19 .mg-faq-item summary::after,
.mg-faq-item summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    transform: translateY(-50%);

    background: #eef5fc;

    border: 1px solid #d8e5f2;

    border-radius: 50%;

    color: #0055b8;

    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 600;

    line-height: 1;

    transition:
        background 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease,
        border-color 0.22s ease;
}

.page-id-19 .mg-faq-item[open] summary::after,
.mg-faq-item[open] summary::after {
    content: "−";

    background: #e7a33e;

    border-color: #e7a33e;

    color: #002554;
}


/* RESPUESTA */

.page-id-19 .mg-faq-body,
.mg-faq-body {
    padding: 0 24px 22px;
}

.page-id-19 .mg-faq-body p,
.mg-faq-body p {
    margin: 0 0 11px !important;

    color: #5f6f82 !important;

    font-size: 15px !important;

    line-height: 1.78 !important;
}

.page-id-19 .mg-faq-body p:last-child,
.mg-faq-body p:last-child {
    margin-bottom: 0 !important;
}

.page-id-19 .mg-faq-body a,
.mg-faq-body a {
    display: inline-block;

    margin-top: 8px;

    color: #0055b8 !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;
}

.page-id-19 .mg-faq-body a:hover,
.mg-faq-body a:hover {
    color: #003e99 !important;
    text-decoration: underline !important;
}

/* =========================================================
   13. TABLET GRANDE
   ========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .page-id-19 .mg-nosotros-shell,
    .mg-nosotros-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .page-id-19 .mg-nosotros-hero-content,
    .mg-nosotros-hero-content {
        width: 62%;
        padding: 42px 34px 38px 42px;
    }

    .page-id-19 .mg-nosotros-hero-content::before,
    .mg-nosotros-hero-content::before {
        left: 42px;
    }

    .page-id-19 .mg-nosotros-hero-title,
    .mg-nosotros-hero-title {
        font-size: 40px !important;
    }

    .page-id-19 .mg-pillars-grid,
    .mg-pillars-grid {
        gap: 14px;
    }

    .page-id-19 .mg-pillar-item,
    .mg-pillar-item {
        padding: 24px 16px 22px;
    }

    .page-id-19 .mg-nosotros-values,
    .mg-nosotros-values {
        grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
        gap: 26px;
    }
}


/* =========================================================
   14. TABLET / MÓVIL
   UN SOLO BLOQUE @media (max-width: 768px)
   ========================================================= */

@media (max-width: 768px) {

    .page-id-19 .mg-nosotros-v2,
    .mg-nosotros-v2 {
        padding-top: 18px;
        padding-bottom: 42px;
    }

    .page-id-19 .mg-nosotros-shell,
    .mg-nosotros-shell {
        padding-left: 14px;
        padding-right: 14px;
    }

    .page-id-19 .mg-nosotros-hero,
.mg-nosotros-hero {
    width: 100vw;

    min-height: 0;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    margin-bottom: 24px;

    padding-bottom: 150px;

    border-radius: 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            rgba(255, 255, 255, 0.98) 46%,
            rgba(255, 255, 255, 0.68) 68%,
            rgba(255, 255, 255, 0.14) 100%
        ),
        url("https://www.movillgas.com/wp-content/uploads/2026/09/banner.png")
        center bottom / cover no-repeat;
}

.page-id-19 .mg-nosotros-hero-content,
.mg-nosotros-hero-content {
    width: 100%;
    min-height: 0;

    margin-left: 0;

    padding: 34px 24px 28px;
}

.page-id-19 .mg-nosotros-hero-content::before,
.mg-nosotros-hero-content::before {
    left: 24px;
}

    .page-id-19 .mg-nosotros-hero-content::before,
    .mg-nosotros-hero-content::before {
        left: 24px;
        width: 70px;
    }

    .page-id-19 .mg-nosotros-hero-title,
    .mg-nosotros-hero-title {
        font-size: 34px !important;
        line-height: 1.12 !important;
    }

    .page-id-19 .mg-nosotros-hero-text,
    .mg-nosotros-hero-text {
        font-size: 15px !important;
        line-height: 1.72 !important;
    }

    .page-id-19 .mg-nosotros-hero-actions,
    .mg-nosotros-hero-actions {
        gap: 10px;
    }

    .page-id-19 .mg-nosotros-btn,
    .mg-nosotros-btn {
        min-width: 0;
        flex: 1 1 calc(50% - 5px);
    }

    .page-id-19 .mg-nosotros-strategy,
    .mg-nosotros-strategy {
        gap: 16px;
        margin-bottom: 28px;
    }

    .page-id-19 .mg-nosotros-pillars,
    .mg-nosotros-pillars {
        padding: 28px 18px 30px;
        border-radius: 14px;
    }

    .page-id-19 .mg-nosotros-pillars .mg-section-heading,
    .mg-nosotros-pillars .mg-section-heading {
        margin-bottom: 22px;
    }

    .page-id-19 .mg-section-title,
    .mg-section-title {
        font-size: 25px !important;
    }

    .page-id-19 .mg-pillars-grid,
    .mg-pillars-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .page-id-19 .mg-pillar-item,
    .mg-pillar-item {
        padding: 22px 18px 20px;
    }

    .page-id-19 .mg-pillar-orb,
    .mg-pillar-orb {
        width: 68px;
        height: 68px;
        margin-bottom: 14px;
    }

    .page-id-19 .mg-nosotros-values,
    .mg-nosotros-values {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 18px;
        border-radius: 14px;
    }

    .page-id-19 .mg-values-copy,
    .mg-values-copy {
        order: 1;
        max-width: none;
    }

    .page-id-19 .mg-valores-diagonal,
    .mg-valores-diagonal {
        order: 2;
        max-width: none;
    }

    .page-id-19 .mg-nosotros-faq-section,
    .mg-nosotros-faq-section {
        padding: 27px 20px 25px;
        border-radius: 14px;
    }

    .page-id-19 .mg-faq-item summary,
    .mg-faq-item summary {
        padding: 16px 50px 16px 16px;
        font-size: 15px;
    }

    .page-id-19 .mg-faq-body,
    .mg-faq-body {
        padding: 0 16px 16px;
    }
}


/* =========================================================
   15. MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .page-id-19 .mg-nosotros-shell,
    .mg-nosotros-shell {
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-id-19 .mg-nosotros-hero {
        padding-bottom: 128px;
    }

    .page-id-19 .mg-nosotros-hero-content,
    .mg-nosotros-hero-content {
        padding: 31px 20px 27px;
    }

    .page-id-19 .mg-nosotros-hero-content::before,
    .mg-nosotros-hero-content::before {
        left: 20px;
    }

    .page-id-19 .mg-nosotros-hero-title,
    .mg-nosotros-hero-title {
        font-size: 30px !important;
    }

    .page-id-19 .mg-nosotros-hero-actions,
    .mg-nosotros-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-id-19 .mg-nosotros-btn,
    .mg-nosotros-btn {
        width: 100%;
        flex: none;
    }

    .page-id-19 .mg-section-title,
    .mg-section-title {
        font-size: 23px !important;
    }

    .page-id-19 .mg-valores-diagonal,
    .mg-valores-diagonal {
        grid-template-columns: 1fr;
    }
}

.page-id-19 .mg-values-copy .mg-section-title,
    .mg-values-copy .mg-section-title {
        font-size: 27px !important;
    }

    .page-id-19 .mg-nosotros-faq-head .mg-section-title,
    .mg-nosotros-faq-head .mg-section-title {
        font-size: 28px !important;
    }


/* =========================================================
   16. MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .page-id-19 .mg-nosotros-btn,
    .page-id-19 .mg-valores-diagonal li,
    .page-id-19 .mg-pillar-item,
    .page-id-19 .mg-pillar-orb,
    .page-id-19 .mg-faq-item,
    .page-id-19 .mg-faq-item summary::after,
    .mg-nosotros-btn,
    .mg-valores-diagonal li,
    .mg-pillar-item,
    .mg-pillar-orb,
    .mg-faq-item,
    .mg-faq-item summary::after {
        transition: none !important;
    }

    .page-id-19 .mg-nosotros-btn:hover,
    .page-id-19 .mg-valores-diagonal li:hover,
    .page-id-19 .mg-pillar-item:hover,
    .mg-nosotros-btn:hover,
    .mg-valores-diagonal li:hover,
    .mg-pillar-item:hover {
        transform: none !important;
    }
}














/* =========================================================
   MOVILLGAS — SERVICIOS Y TRÁMITES
   VERSIÓN CORPORATIVA CONSOLIDADA
   ========================================================= */


/* =========================================================
   WORDPRESS / GENERATEPRESS
   ========================================================= */

body:has(.mg-servicios-page) {
    overflow-x: clip;
    background: #ffffff !important;
}

body:has(.mg-servicios-page) .site-content,
body:has(.mg-servicios-page) .content-area,
body:has(.mg-servicios-page) .site-main,
body:has(.mg-servicios-page) .inside-article,
body:has(.mg-servicios-page) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
}

body:has(.mg-servicios-page) .entry-header,
body:has(.mg-servicios-page) .entry-title {
    display: none !important;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.mg-servicios-page {
    position: relative;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 0 34px;

    background: #ffffff;

    box-sizing: border-box;
}

.mg-servicios-page,
.mg-servicios-page *,
.mg-servicios-page *::before,
.mg-servicios-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.mg-servicios-hero {
    position: relative;
    z-index: 0;

    width: 100%;

    padding: 62px 0 64px;

    isolation: isolate;
}


/*
 * Fondo full-width sin modificar físicamente
 * el ancho del elemento.
 */

.mg-servicios-hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(0, 85, 184, .10),
            transparent 28%
        ),
        radial-gradient(
            circle at 9% 82%,
            rgba(231, 163, 62, .09),
            transparent 23%
        ),
        linear-gradient(
            135deg,
            #f7fafe 0%,
            #eef5fc 100%
        );

    border-bottom: 1px solid #dde7f1;

    pointer-events: none;
}


.mg-servicios-hero::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 78px;
    height: 4px;

    background: #e7a33e;

    border-radius: 0 0 4px 4px;
}


.mg-servicios-hero-content {
    width: 100%;
    max-width: 820px;
}


.mg-servicios-eyebrow,
.mg-servicios-section-kicker {
    display: inline-block;

    margin: 0 0 10px;

    color: #0055b8;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.mg-servicios-title {
    max-width: 780px;

    margin: 0 0 16px !important;

    color: #163d76 !important;

    font-size: 46px !important;
    font-weight: 700 !important;

    line-height: 1.07 !important;

    letter-spacing: -.7px;
}


.mg-servicios-intro {
    max-width: 710px;

    margin: 0 !important;

    color: #5f6f82 !important;

    font-size: 17px !important;

    line-height: 1.72 !important;
}


/* pequeña guía visual */

.mg-servicios-hero-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 24px;
}


.mg-servicios-hero-tags span {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding: 0 13px;

    background: rgba(255,255,255,.68);

    border: 1px solid rgba(197,215,232,.9);

    border-radius: 999px;

    color: #31577f;

    font-size: 12.5px;
    font-weight: 600;
}


/* =========================================================
   ACCESOS RÁPIDOS
   ========================================================= */

.mg-servicios-actions {
    padding: 46px 0 56px;
}


.mg-servicios-section-head {
    width: 100%;
    max-width: 720px;

    margin: 0 auto 30px;

    text-align: center;
}


.mg-servicios-section-head h2 {
    margin: 0 0 10px !important;

    color: #163d76 !important;

    font-size: 32px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    letter-spacing: -.35px;
}


.mg-servicios-section-head p {
    margin: 0 !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.6 !important;
}


/* =========================================================
   GRID — FORZADO A UNA SOLA FILA EN ESCRITORIO
   ========================================================= */

.mg-servicios-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    grid-auto-flow: row !important;

    gap: 18px !important;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto !important;

    padding: 0 !important;
}


/*
 * Estas reglas neutralizan estilos anteriores o globales
 * que puedan mover tarjetas a otras columnas/filas.
 */

.mg-servicios-grid > .mg-servicios-card {
    grid-column: auto !important;
    grid-row: auto !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.mg-servicios-card {
    position: relative;

    display: flex !important;

    flex-direction: column;

    min-width: 0;
    min-height: 270px;

    padding: 28px 26px 25px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    border: 1px solid #dce6ef;

    border-radius: 14px;

    box-shadow:
        0 6px 18px rgba(0,37,84,.045);

    overflow: hidden;

    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}


.mg-servicios-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 26px;

    width: 48px;
    height: 3px;

    background: #e7a33e;

    border-radius: 0 0 3px 3px;
}


.mg-servicios-card:hover {
    transform: translateY(-4px);

    border-color: #cbdbea;

    box-shadow:
        0 13px 27px rgba(0,37,84,.075);
}


.mg-servicios-card-featured {
    background:
        linear-gradient(
            180deg,
            #fffaf2 0%,
            #ffffff 100%
        );

    border-color: #e7d4ad;
}


/* =========================================================
   ICONOS
   ========================================================= */

.mg-servicios-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    margin-bottom: 18px;

    background: #eef5fc;

    border: 1px solid #d5e4f1;

    border-radius: 50%;

    color: #0055b8;
}


.mg-servicios-icon svg {
    display: block;

    width: 25px;
    height: 25px;
}


.mg-servicios-number {
    margin-bottom: 7px;

    color: #a66a00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;
}


.mg-servicios-card h3 {
    margin: 0 0 9px !important;

    color: #003e99 !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    line-height: 1.25 !important;
}


.mg-servicios-card p {
    max-width: 300px;

    margin: 0 0 20px !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.62 !important;
}


.mg-servicios-link {
    display: inline-flex;

    align-items: center;

    width: fit-content;

    margin-top: auto;

    color: #0055b8 !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        color .2s ease,
        transform .2s ease;
}


.mg-servicios-link:hover {
    color: #003e99 !important;

    transform: translateX(3px);

    text-decoration: none !important;
}


/* =========================================================
   NUESTRO SERVICIO — FRANJA CORPORATIVA ABIERTA
   ========================================================= */

.mg-servicios-info {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 58px;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 52px 0;

    color: #ffffff;

    isolation: isolate;
}


/*
 * Fondo de lado a lado.
 * Ya no existe una gran tarjeta redondeada.
 */

.mg-servicios-info::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(0,85,184,.20),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #002554 0%,
            #00356f 58%,
            #003e7f 100%
        );

    pointer-events: none;
}


.mg-servicios-info .mg-servicios-section-kicker {
    color: #f2c878;
}


.mg-servicios-info h2 {
    max-width: 480px;

    margin: 0 0 13px !important;

    color: #ffffff !important;

    font-size: 33px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;
}


.mg-servicios-info-copy p {
    max-width: 530px;

    margin: 0 !important;

    color: rgba(255,255,255,.80) !important;

    font-size: 15px !important;

    line-height: 1.75 !important;
}


/* =========================================================
   PUNTOS DE SERVICIO — SIN MINI TARJETAS
   ========================================================= */

.mg-servicios-info-points {
    display: flex;

    flex-direction: column;

    gap: 0;
}


.mg-servicios-info-points > div {
    position: relative;

    padding: 17px 0 18px;

    background: transparent;

    border: 0;
    border-top:
        1px solid rgba(255,255,255,.19);

    border-radius: 0;
}


.mg-servicios-info-points > div:last-child {
    border-bottom:
        1px solid rgba(255,255,255,.19);
}


.mg-servicios-info-points strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}


.mg-servicios-info-points span {
    display: block;

    color: rgba(255,255,255,.72);

    font-size: 13px;

    line-height: 1.55;
}


/* =========================================================
   ATENCIÓN AL USUARIO — FRANJA ABIERTA
   ========================================================= */

.mg-servicios-help {
    position: relative;
    z-index: 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 34px;

    width: 100%;
    max-width: 1140px;

    margin: 0 auto;

    padding: 38px 0;

    isolation: isolate;
}


.mg-servicios-help::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(231,163,62,.13),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #fff8ec 0%,
            #fffdf8 50%,
            #ffffff 100%
        );

    border-top: 1px solid #ead9b8;
    border-bottom: 1px solid #ead9b8;

    pointer-events: none;
}


.mg-servicios-help-copy {
    width: 100%;
    max-width: 700px;
}


.mg-servicios-help h2 {
    margin: 0 0 9px !important;

    color: #163d76 !important;

    font-size: 27px !important;
    font-weight: 700 !important;

    line-height: 1.18 !important;
}


.mg-servicios-help p {
    max-width: 650px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.68 !important;
}


.mg-servicios-help-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    flex: 0 0 auto;
}


/* =========================================================
   BOTONES
   ========================================================= */

.mg-servicios-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 43px;

    padding: 0 18px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.mg-servicios-btn-primary {
    background: #e7a33e;

    border: 1px solid #e7a33e;

    color: #002554 !important;

    box-shadow:
        0 5px 14px rgba(231,163,62,.15);
}


.mg-servicios-btn-primary:hover {
    transform: translateY(-2px);

    background: #f0b454;

    border-color: #f0b454;

    color: #002554 !important;

    box-shadow:
        0 8px 18px rgba(231,163,62,.22);
}


.mg-servicios-btn-secondary {
    background: #ffffff;

    border: 1px solid #d7e1eb;

    color: #003e99 !important;
}


.mg-servicios-btn-secondary:hover {
    transform: translateY(-2px);

    border-color: #b9cde0;

    color: #002554 !important;

    box-shadow:
        0 7px 16px rgba(0,37,84,.07);
}


/* =========================================================
   TABLET
   ========================================================= */

@media
    (min-width: 769px)
    and
    (max-width: 1024px) {

    .mg-servicios-page {
        padding-left: 24px;
        padding-right: 24px;
    }


    .mg-servicios-title {
        font-size: 40px !important;
    }


    .mg-servicios-grid {
        gap: 14px !important;
    }


    .mg-servicios-card {
        padding: 25px 21px 23px;

        min-height: 265px;
    }


    .mg-servicios-info {
        gap: 38px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .mg-servicios-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    /* HERO */

    .mg-servicios-hero {
        padding: 40px 6px 43px;
    }


    .mg-servicios-hero::after {
        left: 6px;

        width: 64px;
    }


    .mg-servicios-title {
        font-size: 32px !important;
    }


    .mg-servicios-intro {
        font-size: 15px !important;
    }


    .mg-servicios-hero-tags {
        gap: 7px;

        margin-top: 19px;
    }


    .mg-servicios-hero-tags span {
        font-size: 11.5px;
    }


    /* ACCESOS */

    .mg-servicios-actions {
        padding: 36px 0 40px;
    }


    .mg-servicios-section-head {
        margin-bottom: 23px;
    }


    .mg-servicios-section-head h2 {
        font-size: 26px !important;
    }


    .mg-servicios-grid {
        grid-template-columns:
            1fr !important;

        gap: 12px !important;
    }


    .mg-servicios-card {
        min-height: 0;

        padding: 24px 20px;
    }


    /* SERVICIO */

    .mg-servicios-info {
        grid-template-columns:
            1fr;

        gap: 26px;

        padding: 38px 6px;
    }


    .mg-servicios-info h2 {
        font-size: 27px !important;
    }


    .mg-servicios-info-points > div {
        padding:
            15px
            0
            16px;
    }


    /* AYUDA */

    .mg-servicios-help {
        flex-direction: column;

        align-items: flex-start;

        gap: 22px;

        padding: 31px 6px;
    }


    .mg-servicios-help h2 {
        font-size: 24px !important;
    }


    .mg-servicios-help-actions {
        width: 100%;

        flex-direction: column;
    }


    .mg-servicios-btn {
        width: 100%;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .mg-servicios-page {
        padding-left: 10px;
        padding-right: 10px;
    }


    .mg-servicios-title {
        font-size: 29px !important;
    }


    .mg-servicios-hero-tags {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-servicios-card,
    .mg-servicios-link,
    .mg-servicios-btn {
        transition: none !important;
    }


    .mg-servicios-card:hover,
    .mg-servicios-link:hover,
    .mg-servicios-btn:hover {
        transform: none !important;
    }

}














/* =========================================================
   17. MOVILLGAS — TU FACTURA
   VERSIÓN FINAL CONSOLIDADA
   ========================================================= */


/* =========================================================
   17.1 AJUSTE DE WORDPRESS / GENERATEPRESS
   Solo afecta la página que contiene .mg-factura-page
   ========================================================= */

body:has(.mg-factura-page) {
    overflow-x: clip;

    background: #ffffff !important;
}


body:has(.mg-factura-page) .site-content,
body:has(.mg-factura-page) .content-area,
body:has(.mg-factura-page) .site-main,
body:has(.mg-factura-page) .inside-article,
body:has(.mg-factura-page) .entry-content {
    margin-top: 0 !important;

    padding-top: 0 !important;

    background: #ffffff !important;
}


/*
 * Importante:
 * NO utilizamos "article" de forma genérica.
 * Así evitamos afectar estructuras externas y el footer.
 */

body:has(.mg-factura-page) .entry-header,
body:has(.mg-factura-page) .entry-title {
    display: none !important;
}


/* =========================================================
   17.2 CONTENEDOR GENERAL
   ========================================================= */

.mg-factura-page {
    position: relative;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 0 34px;

    background: #ffffff;

    box-sizing: border-box;
}


.mg-factura-page,
.mg-factura-page *,
.mg-factura-page *::before,
.mg-factura-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   17.3 HERO
   ========================================================= */

.mg-factura-hero {
    position: relative;

    width: auto;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    padding:
        58px
        max(
            24px,
            calc((100vw - 1250px) / 2 + 20px)
        )
        60px;

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(0, 85, 184, 0.09) 0%,
            rgba(0, 85, 184, 0) 27%
        ),
        radial-gradient(
            circle at 8% 85%,
            rgba(231, 163, 62, 0.10) 0%,
            rgba(231, 163, 62, 0) 22%
        ),
        linear-gradient(
            135deg,
            #f7fafe 0%,
            #eef5fc 100%
        );

    border-bottom:
        1px solid #dde7f1;

    overflow: hidden;
}


/* línea ámbar */

.mg-factura-hero::before {
    content: "";

    position: absolute;

    top: 0;

    left:
        max(
            24px,
            calc((100vw - 1250px) / 2 + 20px)
        );

    width: 78px;
    height: 4px;

    background: #e7a33e;

    border-radius: 0 0 4px 4px;
}


/* texto decorativo */

.mg-factura-hero::after {
    content: "FACTURA DIGITAL";

    position: absolute;

    right:
        max(
            28px,
            calc((100vw - 1250px) / 2 + 24px)
        );

    top: 50%;

    transform:
        translateY(-50%)
        rotate(-90deg);

    color:
        rgba(0, 62, 153, 0.055);

    font-size: 42px;
    font-weight: 800;

    letter-spacing: 5px;

    pointer-events: none;
}


.mg-factura-hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 780px;
}


.mg-factura-eyebrow,
.mg-factura-section-kicker {
    display: inline-block;

    margin: 0 0 10px;

    color: #0055b8;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.mg-factura-title {
    max-width: 760px;

    margin:
        0
        0
        16px !important;

    color: #163d76 !important;

    font-size: 44px !important;
    font-weight: 700 !important;

    line-height: 1.08 !important;

    letter-spacing: -0.6px;
}


.mg-factura-intro {
    max-width: 720px;

    margin: 0 !important;

    color: #5f6f82 !important;

    font-size: 17px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   17.4 CABECERAS DE SECCIÓN
   ========================================================= */

.mg-factura-section-head {
    width: 100%;
    max-width: 760px;

    margin:
        0
        auto
        30px;

    text-align: center;
}


.mg-factura-section-head h2 {
    margin:
        0
        0
        11px !important;

    color: #163d76 !important;

    font-size: 32px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    letter-spacing: -0.35px;
}


.mg-factura-section-head p {
    max-width: 680px;

    margin: 0 auto !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.68 !important;
}


/* =========================================================
   17.5 PROCESO
   ========================================================= */

.mg-factura-process {
    padding:
        44px
        0
        38px;
}


.mg-factura-steps {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 16px;

    width: 100%;
    max-width: 1240px;

    margin: 0 auto;
}


.mg-factura-step {
    position: relative;

    min-width: 0;
    min-height: 198px;

    padding:
        27px
        25px
        25px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    border:
        1px solid #dce6ef;

    border-radius: 14px;

    box-shadow:
        0 6px 18px
        rgba(0, 37, 84, 0.04);

    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}


.mg-factura-step:hover {
    transform:
        translateY(-4px);

    border-color: #cbdbea;

    box-shadow:
        0 12px 26px
        rgba(0, 37, 84, 0.07);
}


.mg-factura-step-number {
    position: absolute;

    top: 20px;
    right: 21px;

    color: #a86c08;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}


.mg-factura-step-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin-bottom: 16px;

    background:
        radial-gradient(
            circle at 35% 30%,
            #ffffff 0%,
            #eef5fc 72%,
            #e2edf8 100%
        );

    border:
        1px solid #d5e4f1;

    border-radius: 50%;

    color: #0055b8;
}


.mg-factura-step-icon svg {
    display: block;

    width: 25px;
    height: 25px;

    max-width: 25px;
    max-height: 25px;

    overflow: visible;
}


.mg-factura-step h3 {
    margin:
        0
        0
        9px !important;

    color: #003e99 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 1.3 !important;
}


.mg-factura-step p {
    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.62 !important;
}


/* =========================================================
   17.6 FACTURA DIGITAL
   IMAGEN + CONTENIDO ABIERTO
   ========================================================= */

.mg-factura-main {
    display: grid;

    grid-template-columns:
        minmax(380px, .96fr)
        minmax(0, 1.04fr);

    align-items: stretch;

    width: 100%;
    max-width: 1240px;

    margin:
        4px
        auto
        52px;

    background: #ffffff;

    border-top:
        1px solid #dbe5ef;

    border-bottom:
        1px solid #dbe5ef;

    overflow: hidden;
}


/* =========================================================
   IMAGEN
   ========================================================= */

.mg-factura-main-media {
    position: relative;

    min-width: 0;
    min-height: 350px;

    overflow: hidden;

    background: #e8eef5;
}


.mg-factura-main-media::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 37, 84, .055) 0%,
            rgba(0, 37, 84, 0) 68%
        );

    pointer-events: none;
}


.mg-factura-main-media img {
    display: block;

    width: 100%;
    height: 100%;

    min-width: 100%;
    min-height: 350px;

    object-fit: cover;

    object-position: center center;
}


/* =========================================================
   CONTENIDO DERECHO
   ========================================================= */

.mg-factura-main-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

    padding:
        46px
        54px;

    background: #ffffff;
}


.mg-factura-main-content h2 {
    margin:
        0
        0
        13px !important;

    color: #163d76 !important;

    font-size: 30px !important;
    font-weight: 700 !important;

    line-height: 1.17 !important;
}


.mg-factura-main-content > p {
    max-width: 560px;

    margin:
        0
        0
        24px !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   17.7 BOTÓN FACTURA
   ========================================================= */

.mg-factura-btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    align-self: flex-start;

    gap: 11px;

    min-height: 46px;

    padding:
        0
        23px;

    background: #e7a33e;

    border:
        1px solid #e7a33e;

    border-radius: 999px;

    color: #002554 !important;

    font-size: 14px;
    font-weight: 800;

    line-height: 1;

    text-decoration: none !important;

    box-shadow:
        0 6px 16px
        rgba(231, 163, 62, .20);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.mg-factura-btn-primary:hover {
    transform:
        translateY(-2px);

    background: #f0b454;

    border-color: #f0b454;

    color: #002554 !important;

    box-shadow:
        0 9px 20px
        rgba(231, 163, 62, .27);

    text-decoration: none !important;
}


.mg-factura-btn-primary .mg-arrow {
    transition:
        transform .2s ease;
}


.mg-factura-btn-primary:hover .mg-arrow {
    transform:
        translateX(4px);
}


/* =========================================================
   17.8 AVISO PLATAFORMA EXTERNA
   ========================================================= */

.mg-factura-external-note {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    max-width: 570px;

    margin-top: 20px;

    padding-top: 13px;

    background: transparent;

    border: 0;
    border-top:
        1px solid #e2e8f0;

    border-radius: 0;
}


.mg-factura-external-icon {
    flex: 0 0 auto;

    color: #0055b8;

    font-size: 15px;
    font-weight: 800;
}


.mg-factura-external-note p {
    margin: 0 !important;

    color: #718096 !important;

    font-size: 12.5px !important;

    line-height: 1.55 !important;
}


/* =========================================================
   17.9 AYUDA
   ========================================================= */

.mg-factura-help {
    width: 100%;
    max-width: 1140px;

    margin: 0 auto;

    padding:
        0
        0
        46px;
}


.mg-factura-help .mg-factura-section-head {
    margin-bottom: 26px;
}


/*
 * ESTE ES EL GRID QUE FALTABA EN TU CSS ACTUAL.
 * En escritorio mantiene los dos apartados horizontales.
 */

.mg-factura-support-grid {
    display: grid !important;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        ) !important;

    gap: 0 !important;

    width: 100%;

    margin: 0 auto;

    border-top:
        1px solid #dde6ef;

    border-bottom:
        1px solid #dde6ef;
}


/* contenido abierto, no tarjetas */

.mg-factura-support-card {
    display: grid !important;

    grid-template-columns:
        44px
        minmax(0, 1fr);

    column-gap: 16px;
    row-gap: 6px;

    align-content: start;

    min-width: 0;

    margin: 0 !important;

    padding:
        30px
        34px
        31px;

    background: transparent;

    border: 0;

    border-radius: 0;

    box-shadow: none;

    transition:
        background .2s ease;
}


/* divisor vertical */

.mg-factura-support-card +
.mg-factura-support-card {
    border-left:
        1px solid #dde6ef;
}


.mg-factura-support-card:hover {
    background: #fafcff;
}


/* icono */

.mg-factura-support-icon {
    grid-column: 1;
    grid-row: 1 / span 4;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin: 0;

    background: #eef5fc;

    border:
        1px solid #d7e5f2;

    border-radius: 50%;

    color: #0055b8;
}


.mg-factura-support-icon svg {
    display: block;

    width: 19px;
    height: 19px;
}


.mg-factura-support-card h3 {
    grid-column: 2;

    margin:
        0
        0
        2px !important;

    color: #003e99 !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 1.3 !important;
}


.mg-factura-support-card p {
    grid-column: 2;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.65 !important;
}


.mg-factura-support-link {
    grid-column: 2;

    display: inline-block;

    width: fit-content;

    margin-top: 6px;

    color: #0055b8 !important;

    font-size: 13.5px;
    font-weight: 700;

    text-decoration: none !important;
}


.mg-factura-support-link:hover {
    color: #003e99 !important;

    text-decoration:
        underline !important;
}


/* =========================================================
   17.10 ATENCIÓN AL USUARIO
   Franja visual sin romper el layout ni el footer
   ========================================================= */

.mg-factura-contact {
    position: relative;

    z-index: 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 32px;

    width: 100%;
    max-width: 1140px;

    margin: 0 auto;

    padding:
        36px
        0;

    background: transparent;
}


/*
 * El fondo rompe visualmente el contenedor,
 * pero el elemento real NO usa width:100vw ni
 * márgenes negativos. Esto evita afectar el footer.
 */

.mg-factura-contact::before {
    content: "";

    position: absolute;

    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(231, 163, 62, .12),
            transparent 27%
        ),
        linear-gradient(
            120deg,
            #fff8ec 0%,
            #fffdf8 48%,
            #ffffff 100%
        );

    border-top:
        1px solid #ead9b8;

    border-bottom:
        1px solid #ead9b8;

    pointer-events: none;
}


.mg-factura-contact-copy {
    width: 100%;
    max-width: 760px;
}


.mg-factura-contact h2 {
    margin:
        0
        0
        9px !important;

    color: #163d76 !important;

    font-size: 27px !important;
    font-weight: 700 !important;

    line-height: 1.18 !important;
}


.mg-factura-contact p {
    max-width: 680px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.68 !important;
}


/* =========================================================
   17.11 BOTÓN PQR
   ========================================================= */

.mg-factura-btn-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 44px;

    padding:
        0
        20px;

    background: #e7a33e;

    border:
        1px solid #e7a33e;

    border-radius: 999px;

    color: #002554 !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;

    box-shadow:
        0 5px 14px
        rgba(231, 163, 62, .16);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.mg-factura-btn-secondary:hover {
    transform:
        translateY(-2px);

    background: #f0b454;

    border-color: #f0b454;

    color: #002554 !important;

    box-shadow:
        0 8px 18px
        rgba(231, 163, 62, .22);

    text-decoration: none !important;
}


/* =========================================================
   17.12 TABLET
   ========================================================= */

@media
    (min-width: 769px)
    and
    (max-width: 992px) {

    .mg-factura-main {
        grid-template-columns:
            minmax(300px, .85fr)
            minmax(0, 1.15fr);
    }


    .mg-factura-main-content {
        padding:
            38px
            34px;
    }


    .mg-factura-support-card {
        padding:
            27px
            24px;
    }

}


/* =========================================================
   17.13 MÓVIL / TABLET ESTRECHA
   ========================================================= */

@media (max-width: 768px) {

    .mg-factura-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    /* HERO */

    .mg-factura-hero {
        padding:
            38px
            20px
            42px;
    }


    .mg-factura-hero::before {
        left: 20px;

        width: 64px;
    }


    .mg-factura-hero::after {
        display: none;
    }


    .mg-factura-title {
        font-size: 32px !important;
    }


    .mg-factura-intro {
        font-size: 15px !important;
    }


    /* PROCESO */

    .mg-factura-process {
        padding:
            36px
            0
            32px;
    }


    .mg-factura-section-head {
        margin-bottom: 23px;
    }


    .mg-factura-section-head h2 {
        font-size: 26px !important;
    }


    .mg-factura-steps {
        grid-template-columns:
            1fr;

        gap: 11px;
    }


    .mg-factura-step {
        min-height: 0;

        padding:
            22px
            20px;
    }


    /* FOTO + CONTENIDO */

    .mg-factura-main {
        grid-template-columns:
            1fr;

        margin-bottom: 40px;
    }


    .mg-factura-main-media {
        min-height: 235px;
    }


    .mg-factura-main-media img {
        min-height: 215px;

        object-position:
            center center;
    }


    .mg-factura-main-content {
        padding:
            28px
            22px
            30px;
    }


    .mg-factura-main-content h2 {
        font-size: 25px !important;
    }


    .mg-factura-btn-primary {
        width: 100%;

        align-self: stretch;
    }


    /* AYUDA */

    .mg-factura-help {
        padding-bottom: 36px;
    }


    .mg-factura-support-grid {
        grid-template-columns:
            1fr !important;
    }


    .mg-factura-support-card {
        padding:
            25px
            20px;
    }


    .mg-factura-support-card +
    .mg-factura-support-card {
        border-left: 0;

        border-top:
            1px solid #dde6ef;
    }


    /* ATENCIÓN */

    .mg-factura-contact {
        flex-direction: column;

        align-items: flex-start;

        gap: 21px;

        padding:
            29px
            6px;
    }


    .mg-factura-btn-secondary {
        width: 100%;
    }

}


/* =========================================================
   17.14 MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .mg-factura-page {
        padding-left: 10px;
        padding-right: 10px;
    }


    .mg-factura-hero {
        padding-left: 18px;
        padding-right: 18px;
    }


    .mg-factura-title {
        font-size: 29px !important;
    }


    .mg-factura-main-content {
        padding-left: 18px;
        padding-right: 18px;
    }


    .mg-factura-support-card {
        grid-template-columns:
            38px
            minmax(0, 1fr);

        column-gap: 12px;

        padding-left: 12px;
        padding-right: 12px;
    }


    .mg-factura-support-icon {
        width: 36px;
        height: 36px;
    }


    .mg-factura-contact h2 {
        font-size: 22px !important;
    }

}


/* =========================================================
   17.15 MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-factura-step,
    .mg-factura-support-card,
    .mg-factura-btn-primary,
    .mg-factura-btn-secondary,
    .mg-factura-btn-primary .mg-arrow {
        transition: none !important;
    }


    .mg-factura-step:hover,
    .mg-factura-btn-primary:hover,
    .mg-factura-btn-secondary:hover,
    .mg-factura-btn-primary:hover .mg-arrow {
        transform: none !important;
    }

}














/* =========================================================
   18. MOVILLGAS — PORTAL DE PAGOS
   VERSIÓN CORPORATIVA CONSOLIDADA
   ========================================================= */


/* =========================================================
   WORDPRESS / GENERATEPRESS
   ========================================================= */

body:has(.mg-pagos-page) {
    overflow-x: clip;
    background: #ffffff !important;
}

body:has(.mg-pagos-page) .site-content,
body:has(.mg-pagos-page) .content-area,
body:has(.mg-pagos-page) .site-main,
body:has(.mg-pagos-page) .inside-article,
body:has(.mg-pagos-page) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
}

body:has(.mg-pagos-page) .entry-header,
body:has(.mg-pagos-page) .entry-title {
    display: none !important;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.mg-pagos-page {
    position: relative;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 0 34px;

    background: #ffffff;

    box-sizing: border-box;
}

.mg-pagos-page,
.mg-pagos-page *,
.mg-pagos-page *::before,
.mg-pagos-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.mg-pagos-hero {
    position: relative;
    z-index: 0;

    width: 100%;

    padding: 62px 0 64px;

    isolation: isolate;
}

.mg-pagos-hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(0,85,184,.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 9% 82%,
            rgba(231,163,62,.09),
            transparent 23%
        ),
        linear-gradient(
            135deg,
            #f7fafe 0%,
            #eef5fc 100%
        );

    border-bottom: 1px solid #dde7f1;

    pointer-events: none;
}

.mg-pagos-hero::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 78px;
    height: 4px;

    background: #e7a33e;

    border-radius: 0 0 4px 4px;
}

.mg-pagos-hero-content {
    width: 100%;
    max-width: 820px;
}

.mg-pagos-eyebrow,
.mg-pagos-section-kicker {
    display: inline-block;

    margin: 0 0 10px;

    color: #0055b8;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}

.mg-pagos-title {
    max-width: 780px;

    margin: 0 0 16px !important;

    color: #163d76 !important;

    font-size: 46px !important;
    font-weight: 700 !important;

    line-height: 1.07 !important;

    letter-spacing: -.7px;
}

.mg-pagos-intro {
    max-width: 710px;

    margin: 0 !important;

    color: #5f6f82 !important;

    font-size: 17px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   HERO — ETIQUETAS
   ========================================================= */

.mg-pagos-hero-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 24px;
}

.mg-pagos-hero-tags span {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding: 0 13px;

    background: rgba(255,255,255,.68);

    border: 1px solid rgba(197,215,232,.9);

    border-radius: 999px;

    color: #31577f;

    font-size: 12.5px;
    font-weight: 600;
}


/* =========================================================
   PAGO PRINCIPAL — FOTO + CONTENIDO
   ========================================================= */

.mg-pagos-main {
    display: grid !important;

    grid-template-columns:
        minmax(400px, .98fr)
        minmax(0, 1.02fr) !important;

    align-items: stretch !important;

    width: 100%;
    max-width: 1240px;

    min-height: 350px;

    margin: 42px auto 50px !important;

    padding: 0 !important;

    background: #ffffff;

    border-top: 1px solid #dbe5ef;
    border-bottom: 1px solid #dbe5ef;

    overflow: hidden;
}


.mg-pagos-main-media {
    position: relative;

    min-width: 0;
    min-height: 350px;

    overflow: hidden;

    background: #e8eef5;
}


/* =========================================================
   IMAGEN — RELLENO REAL DE TODA LA COLUMNA
   ========================================================= */

.mg-pagos-main-media {
    position: relative;

    min-width: 0;
    min-height: 390px;

    overflow: hidden;

    background: #e8eef5;
}

.mg-pagos-main-media img {
    position: absolute;

    inset: 0;

    display: block;

    width: 100% !important;
    height: 100% !important;

    min-width: 100%;
    min-height: 100%;

    margin: 0 !important;

    object-fit: cover;

    object-position: center center;
}

.mg-pagos-main-media::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,37,84,.04),
            rgba(0,37,84,0) 70%
        );

    pointer-events: none;
}


/* =========================================================
   CONTENIDO DE PAGO
   ========================================================= */

.mg-pagos-main-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

    margin: 0 !important;

    padding: 48px 54px !important;

    background: #ffffff;
}

.mg-pagos-main-content h2 {
    margin: 0 0 13px !important;

    color: #163d76 !important;

    font-size: 30px !important;
    font-weight: 700 !important;

    line-height: 1.17 !important;
}

.mg-pagos-main-content > p {
    max-width: 560px;

    margin: 0 0 24px !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   BOTÓN PSE — VERSIÓN AISLADA
   ========================================================= */

.mg-pagos-page .mg-pagos-btn-primary {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    align-self: flex-start;

    gap: 10px;

    width: auto !important;
    min-width: 0 !important;
    min-height: 46px;

    margin: 0 !important;

    padding: 0 23px !important;

    background: #e7a33e !important;

    border: 1px solid #e7a33e !important;

    border-radius: 999px !important;

    color: #002554 !important;

    font-size: 14px !important;
    font-weight: 800 !important;

    line-height: 1 !important;

    text-decoration: none !important;

    box-shadow:
        0 6px 16px rgba(231,163,62,.20);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.mg-pagos-page .mg-pagos-btn-primary::after {
    content: "→";

    display: inline-block;

    position: static;

    width: auto;
    height: auto;

    margin: 0 0 0 2px;

    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    color: inherit;

    font-size: 15px;
    font-weight: 800;

    line-height: 1;

    transform: none;

    transition: transform .2s ease;
}


.mg-pagos-page .mg-pagos-btn-primary:hover {
    transform: translateY(-2px);

    background: #f0b454 !important;

    border-color: #f0b454 !important;

    color: #002554 !important;

    box-shadow:
        0 9px 20px rgba(231,163,62,.27);

    text-decoration: none !important;
}


.mg-pagos-page .mg-pagos-btn-primary:hover::after {
    transform: translateX(4px);
}

/* =========================================================
   AVISO PLATAFORMA EXTERNA
   ========================================================= */

.mg-pagos-external-note {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    max-width: 570px;

    margin-top: 20px;

    padding-top: 13px;

    border-top: 1px solid #e2e8f0;
}

.mg-pagos-external-icon {
    flex: 0 0 auto;

    color: #0055b8;

    font-size: 15px;
    font-weight: 800;
}

.mg-pagos-external-note p {
    margin: 0 !important;

    color: #718096 !important;

    font-size: 12.5px !important;

    line-height: 1.55 !important;
}


/* =========================================================
   CABECERAS DE SECCIÓN
   ========================================================= */

.mg-pagos-section-head {
    width: 100%;
    max-width: 760px;

    margin: 0 auto 29px;

    text-align: center;
}

.mg-pagos-section-head h2 {
    margin: 0 0 10px !important;

    color: #163d76 !important;

    font-size: 32px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    letter-spacing: -.35px;
}

.mg-pagos-section-head p {
    max-width: 680px;

    margin: 0 auto !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.68 !important;
}


/* =========================================================
   RECOMENDACIONES
   ========================================================= */

.mg-pagos-process {
    padding: 3px 0 49px;
}


/*
 * Se fuerza explícitamente una única fila.
 */

.mg-pagos-steps {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    grid-template-rows: auto !important;
    grid-auto-flow: row !important;

    gap: 0 !important;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto !important;

    padding: 0 !important;

    border-top: 1px solid #dde6ef;
    border-bottom: 1px solid #dde6ef;
}


/*
 * Neutralización de reglas anteriores/globales.
 */

.mg-pagos-steps > .mg-pagos-step {
    grid-column: auto !important;
    grid-row: auto !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}

.mg-pagos-step {
    position: relative;

    min-width: 0;
    min-height: 235px;

    padding: 31px 34px 30px;

    background: transparent;
}

.mg-pagos-step + .mg-pagos-step {
    border-left: 1px solid #dde6ef;
}

.mg-pagos-step-number {
    position: absolute;

    top: 30px;
    right: 30px;

    color: #a86c08;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.mg-pagos-step-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 17px;

    background: #eef5fc;

    border: 1px solid #d6e4f1;

    border-radius: 50%;

    color: #0055b8;
}

.mg-pagos-step-icon svg {
    display: block;

    width: 24px;
    height: 24px;
}

/* =========================================================
   FORZAR VISIBILIDAD DE SVG
   Evita interferencias de estilos globales.
   ========================================================= */

.mg-pagos-page .mg-pagos-step-icon svg,
.mg-pagos-page .mg-pagos-security-icon svg,
.mg-pagos-page .mg-pagos-support-icon svg {
    display: block !important;

    overflow: visible !important;

    color: #0055b8 !important;
}


.mg-pagos-page .mg-pagos-step-icon svg path,
.mg-pagos-page .mg-pagos-step-icon svg rect,
.mg-pagos-page .mg-pagos-step-icon svg circle,
.mg-pagos-page .mg-pagos-security-icon svg path,
.mg-pagos-page .mg-pagos-security-icon svg rect,
.mg-pagos-page .mg-pagos-security-icon svg circle,
.mg-pagos-page .mg-pagos-support-icon svg path,
.mg-pagos-page .mg-pagos-support-icon svg rect,
.mg-pagos-page .mg-pagos-support-icon svg circle {
    stroke: #0055b8 !important;

    opacity: 1 !important;

    visibility: visible !important;
}

.mg-pagos-step h3 {
    margin: 0 0 9px !important;

    color: #003e99 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 1.3 !important;
}

.mg-pagos-step p {
    max-width: 320px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   SEGURIDAD — FRANJA ABIERTA
   ========================================================= */

.mg-pagos-security {
    position: relative;
    z-index: 0;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto 50px;

    padding: 34px 0;

    isolation: isolate;
}

.mg-pagos-security::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(0,85,184,.06),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #eef5fc 0%,
            #f8fbff 100%
        );

    border-top: 1px solid #d6e4f1;
    border-bottom: 1px solid #d6e4f1;

    pointer-events: none;
}

.mg-pagos-security-inner {
    display: grid;

    grid-template-columns:
        62px minmax(0, 1fr);

    align-items: center;

    gap: 22px;

    width: 100%;
    max-width: 960px;

    margin: 0 auto;
}

.mg-pagos-security-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    background: #ffffff;

    border: 1px solid #d6e4f1;

    border-radius: 50%;

    color: #0055b8;
}

.mg-pagos-security-icon svg {
    width: 27px;
    height: 27px;
}

.mg-pagos-security-copy h2 {
    margin: 0 0 8px !important;

    color: #163d76 !important;

    font-size: 25px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
}

.mg-pagos-security-copy p {
    max-width: 820px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.7 !important;
}


/* =========================================================
   AYUDA
   ========================================================= */

.mg-pagos-help {
    width: 100%;
    max-width: 1140px;

    margin: 0 auto;

    padding: 0 0 46px;
}

.mg-pagos-help .mg-pagos-section-head {
    margin-bottom: 25px;
}


/*
 * Se fuerza explícitamente el diseño horizontal.
 */

.mg-pagos-support-grid {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    grid-template-rows: auto !important;

    gap: 0 !important;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    border-top: 1px solid #dde6ef;
    border-bottom: 1px solid #dde6ef;
}

.mg-pagos-support-grid > .mg-pagos-support-item {
    grid-column: auto !important;
    grid-row: auto !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}

.mg-pagos-support-item {
    display: grid !important;

    grid-template-columns:
        44px minmax(0,1fr) !important;

    column-gap: 16px;
    row-gap: 5px;

    align-content: start;

    min-width: 0;

    padding: 26px 32px 27px;

    background: transparent;
}

.mg-pagos-support-item +
.mg-pagos-support-item {
    border-left: 1px solid #dde6ef;
}

.mg-pagos-support-icon {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin: 0 !important;

    background: #eef5fc;

    border: 1px solid #d7e5f2;

    border-radius: 50%;

    color: #0055b8;
}

.mg-pagos-support-icon svg {
    display: block;

    width: 19px;
    height: 19px;
}

.mg-pagos-support-item h3 {
    grid-column: 2 !important;

    margin: 0 0 2px !important;

    color: #003e99 !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 1.3 !important;
}

.mg-pagos-support-item p {
    grid-column: 2 !important;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.65 !important;
}

.mg-pagos-support-link {
    grid-column: 2 !important;

    display: inline-block;

    width: fit-content;

    margin-top: 6px;

    color: #0055b8 !important;

    font-size: 13.5px;
    font-weight: 700;

    text-decoration: none !important;
}

.mg-pagos-support-link:hover {
    color: #003e99 !important;

    text-decoration: underline !important;
}


/* =========================================================
   ATENCIÓN AL USUARIO — FRANJA ABIERTA
   ========================================================= */

.mg-pagos-contact {
    position: relative;
    z-index: 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 32px;

    width: 100%;
    max-width: 1140px;

    margin: 0 auto;

    padding: 36px 0;

    isolation: isolate;
}

.mg-pagos-contact::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(231,163,62,.12),
            transparent 27%
        ),
        linear-gradient(
            120deg,
            #fff8ec 0%,
            #fffdf8 48%,
            #ffffff 100%
        );

    border-top: 1px solid #ead9b8;
    border-bottom: 1px solid #ead9b8;

    pointer-events: none;
}

.mg-pagos-contact-copy {
    width: 100%;
    max-width: 760px;
}

.mg-pagos-contact h2 {
    margin: 0 0 9px !important;

    color: #163d76 !important;

    font-size: 27px !important;
    font-weight: 700 !important;

    line-height: 1.18 !important;
}

.mg-pagos-contact p {
    max-width: 680px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.68 !important;
}


/* =========================================================
   BOTÓN PQR
   ========================================================= */

.mg-pagos-btn-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 44px;

    padding: 0 20px;

    background: #e7a33e;

    border: 1px solid #e7a33e;

    border-radius: 999px;

    color: #002554 !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;

    box-shadow:
        0 5px 14px rgba(231,163,62,.16);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.mg-pagos-btn-secondary:hover {
    transform: translateY(-2px);

    background: #f0b454;

    border-color: #f0b454;

    color: #002554 !important;

    box-shadow:
        0 8px 18px rgba(231,163,62,.22);

    text-decoration: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
    (min-width: 769px)
    and
    (max-width: 1024px) {

    .mg-pagos-page {
        padding-left: 24px;
        padding-right: 24px;
    }

    .mg-pagos-title {
        font-size: 40px !important;
    }

    .mg-pagos-main {
        grid-template-columns:
            minmax(330px,.9fr)
            minmax(0,1.1fr) !important;
    }

    .mg-pagos-main-content {
        padding:
            38px
            34px !important;
    }

    .mg-pagos-step {
        padding:
            28px
            23px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .mg-pagos-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    /* HERO */

    .mg-pagos-hero {
        padding:
            40px
            6px
            43px;
    }

    .mg-pagos-hero::after {
        left: 6px;

        width: 64px;
    }

    .mg-pagos-title {
        font-size: 32px !important;
    }

    .mg-pagos-intro {
        font-size: 15px !important;
    }

    .mg-pagos-hero-tags {
        margin-top: 19px;

        gap: 7px;
    }


    /* PAGO PRINCIPAL */

    .mg-pagos-main {
        grid-template-columns:
            1fr !important;

        min-height: 0;

        margin:
            34px
            auto
            40px !important;
    }

    .mg-pagos-main-media {
        min-height: 245px;
    }

    .mg-pagos-main-content {
        padding:
            28px
            22px
            30px !important;
    }

    .mg-pagos-main-content h2 {
        font-size: 25px !important;
    }

    .mg-pagos-btn-primary {
        width: 100% !important;

        align-self: stretch;
    }


    /* TÍTULOS */

    .mg-pagos-section-head {
        margin-bottom: 23px;
    }

    .mg-pagos-section-head h2 {
        font-size: 26px !important;
    }


    /* RECOMENDACIONES */

    .mg-pagos-steps {
        grid-template-columns:
            1fr !important;
    }

    .mg-pagos-step {
        min-height: 0;

        padding:
            25px
            20px;
    }

    .mg-pagos-step +
    .mg-pagos-step {
        border-left: 0;

        border-top:
            1px solid #dde6ef;
    }


    /* SEGURIDAD */

    .mg-pagos-security {
        padding:
            29px
            6px;

        margin-bottom: 40px;
    }

    .mg-pagos-security-inner {
        grid-template-columns:
            50px
            minmax(0,1fr);

        gap: 15px;
    }

    .mg-pagos-security-icon {
        width: 46px;
        height: 46px;
    }

    .mg-pagos-security-copy h2 {
        font-size: 21px !important;
    }


    /* AYUDA */

    .mg-pagos-help {
        padding-bottom: 38px;
    }

    .mg-pagos-support-grid {
        grid-template-columns:
            1fr !important;
    }

    .mg-pagos-support-item {
        padding:
            25px
            20px;
    }

    .mg-pagos-support-item +
    .mg-pagos-support-item {
        border-left: 0;

        border-top:
            1px solid #dde6ef;
    }


    /* ATENCIÓN */

    .mg-pagos-contact {
        flex-direction: column;

        align-items: flex-start;

        gap: 21px;

        padding:
            29px
            6px;
    }

    .mg-pagos-btn-secondary {
        width: 100%;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .mg-pagos-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mg-pagos-title {
        font-size: 29px !important;
    }

    .mg-pagos-hero-tags {
        flex-direction: column;

        align-items: flex-start;
    }

    .mg-pagos-main-content {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .mg-pagos-security-inner {
        grid-template-columns: 1fr;
    }

    .mg-pagos-support-item {
        grid-template-columns:
            38px
            minmax(0,1fr) !important;

        column-gap: 12px;

        padding-left: 12px;
        padding-right: 12px;
    }

    .mg-pagos-support-icon {
        width: 36px;
        height: 36px;
    }

    .mg-pagos-contact h2 {
        font-size: 22px !important;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-pagos-btn-primary,
    .mg-pagos-btn-secondary {
        transition: none !important;
    }

    .mg-pagos-btn-primary::after {
        transition: none !important;
    }

    .mg-pagos-btn-primary:hover,
    .mg-pagos-btn-secondary:hover,
    .mg-pagos-btn-primary:hover::after {
        transform: none !important;
    }

}


















/* =========================================================
   19. MOVILLGAS — FORMULARIO PQR / CONTACT FORM 7
   VERSIÓN COMPACTA TIPO TARJETA
   ========================================================= */


/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.mg-pqr-form {
    width: calc(100% - 48px);
    max-width: 980px;

    margin:
        34px
        auto
        42px;

    padding:
        34px
        38px
        32px;

    background: #ffffff;

    border:
        1px solid #e5ebf1;

    border-radius: 16px;

    box-shadow:
        0 12px 34px rgba(0,37,84,.06);

    box-sizing: border-box;
}

.mg-pqr-form,
.mg-pqr-form *,
.mg-pqr-form *::before,
.mg-pqr-form *::after {
    box-sizing: border-box;
}


/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.mg-pqr-form-intro {
    width: 100%;
    max-width: 760px;

    margin:
        0
        0
        22px;
}

.mg-pqr-form-kicker {
    display: inline-block;

    margin:
        0
        0
        7px;

    color: #0055b8;

    font-size: 10px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.mg-pqr-form-intro h2 {
    margin:
        0
        0
        8px !important;

    color: #163d76 !important;

    font-size: 33px !important;
    font-weight: 700 !important;

    line-height: 1.14 !important;

    letter-spacing: -.35px;
}

.mg-pqr-form-intro p {
    max-width: 690px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.6 !important;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.mg-pqr-form-section {
    width: 100%;

    margin:
        0
        0
        14px;

    padding:
        20px
        22px
        18px;

    background:
        #fbfcfe;

    border: 0;

    border-radius: 11px;
}

.mg-pqr-form-section:last-of-type {
    margin-bottom: 0;

    border-bottom: 0;
}


/* =========================================================
   CABECERA DE SECCIÓN
   ========================================================= */

.mg-pqr-form-section-head {
    display: grid;

    grid-template-columns:
        36px
        minmax(0,1fr);

    align-items: start;

    gap: 10px;

    width: 100%;

    margin:
        0
        0
        14px;
}

.mg-pqr-form-section-head > span {
    display: grid;

    place-items: center;

    width: 32px;
    height: 32px;

    margin: 0;

    background:
        #eef5fc;

    border:
        1px solid #d8e6f3;

    border-radius: 50%;

    color: #0055b8;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;
}

.mg-pqr-form-section-head h3 {
    margin:
        0
        0
        2px !important;

    color: #163d76 !important;

    font-size: 18.5px !important;
    font-weight: 700 !important;

    line-height: 1.23 !important;
}

.mg-pqr-form-section-head p {
    max-width: 660px;

    margin: 0 !important;

    color: #718096 !important;

    font-size: 12px !important;

    line-height: 1.48 !important;
}


/* =========================================================
   FILAS Y COLUMNAS
   ========================================================= */

.mg-pqr-form-row {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 12px;

    width: 100%;
}

.mg-pqr-form-col,
.mg-pqr-form-field {
    min-width: 0;

    margin:
        0
        0
        11px;
}

.mg-pqr-form-section > .mg-pqr-form-field:last-child,
.mg-pqr-form-section > .mg-pqr-form-row:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LABELS
   ========================================================= */

.mg-pqr-form label {
    display: block;

    width: 100%;

    margin: 0 !important;

    color: #31577f !important;

    font-size: 12.5px !important;
    font-weight: 700 !important;

    line-height: 1.35 !important;
}

.mg-pqr-form label > strong {
    margin-left: 2px;

    color: #d98b17;

    font-weight: 800;
}

.mg-pqr-form label > small {
    display: inline-block;

    margin-left: 5px;

    color: #8996a6;

    font-size: 9.5px;

    font-weight: 600;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.mg-pqr-form input[type="text"],
.mg-pqr-form input[type="number"],
.mg-pqr-form input[type="email"],
.mg-pqr-form input[type="tel"],
.mg-pqr-form select,
.mg-pqr-form textarea {
    display: block;

    width: 100% !important;

    margin:
        5px
        0
        0 !important;

    padding:
        9px
        11px !important;

    background:
        #ffffff !important;

    border:
        1px solid #d5e0e9 !important;

    border-radius:
        7px !important;

    color:
        #334155 !important;

    font-family:
        inherit !important;

    font-size:
        13.5px !important;

    font-weight:
        400 !important;

    line-height:
        1.4 !important;

    box-shadow:
        none !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


/* =========================================================
   ALTURA DE INPUTS
   ========================================================= */

.mg-pqr-form input[type="text"],
.mg-pqr-form input[type="number"],
.mg-pqr-form input[type="email"],
.mg-pqr-form input[type="tel"],
.mg-pqr-form select {
    min-height: 40px;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.mg-pqr-form textarea {
    min-height: 115px;

    resize: vertical;
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.mg-pqr-form input::placeholder,
.mg-pqr-form textarea::placeholder {
    color:
        #9aa6b2;

    opacity: 1;
}


/* =========================================================
   FOCUS
   ========================================================= */

.mg-pqr-form input[type="text"]:focus,
.mg-pqr-form input[type="number"]:focus,
.mg-pqr-form input[type="email"]:focus,
.mg-pqr-form input[type="tel"]:focus,
.mg-pqr-form select:focus,
.mg-pqr-form textarea:focus {
    outline: none !important;

    border-color:
        #0055b8 !important;

    box-shadow:
        0 0 0 2px rgba(0,85,184,.07) !important;

    background:
        #ffffff !important;
}


/* =========================================================
   TEXTO DE AYUDA
   ========================================================= */

.mg-pqr-form-help {
    display: block;

    margin-top: 3px;

    color:
        #8290a0;

    font-size:
        10.5px;

    line-height:
        1.4;
}


/* =========================================================
   ARCHIVO
   ========================================================= */

.mg-pqr-form input[type="file"] {
    display: block;

    width: 100%;

    margin-top: 6px;

    padding:
        7px
        9px;

    background:
        #ffffff;

    border:
        1px dashed #ccd9e5;

    border-radius:
        7px;

    color:
        #4f6073;

    font-family:
        inherit;

    font-size:
        12px;

    cursor: pointer;
}

.mg-pqr-form input[type="file"]::file-selector-button {
    margin-right:
        10px;

    padding:
        6px
        10px;

    background:
        #eef5fc;

    border:
        1px solid #d5e3ef;

    border-radius:
        5px;

    color:
        #0055b8;

    font-family:
        inherit;

    font-size:
        11px;

    font-weight:
        700;

    cursor: pointer;
}


/* =========================================================
   CONSENTIMIENTO
   ========================================================= */

.mg-pqr-form-section-consent {
    padding-bottom:
        18px;
}

.mg-pqr-form-consent {
    width: 100%;

    margin: 0;

    padding:
        12px
        14px;

    background:
        #f3f8fc;

    border: 0;

    border-left:
        3px solid #0055b8;

    border-radius:
        0
        7px
        7px
        0;
}

.mg-pqr-form-consent .wpcf7-form-control-wrap {
    display: block;
}

.mg-pqr-form-consent .wpcf7-list-item {
    display: block;

    margin:
        0 !important;
}

.mg-pqr-form-consent .wpcf7-list-item label {
    display: grid !important;

    grid-template-columns:
        18px
        minmax(0,1fr);

    align-items: start;

    gap:
        8px;

    color:
        #475569 !important;

    font-size:
        12px !important;

    font-weight:
        600 !important;

    line-height:
        1.5 !important;
}

.mg-pqr-form-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;

    margin:
        2px
        0
        0;

    accent-color:
        #0055b8;

    cursor: pointer;
}

.mg-pqr-form-consent .wpcf7-list-item-label {
    display: block;

    min-width: 0;
}

.mg-pqr-form-consent p {
    margin:
        5px
        0
        0
        26px !important;

    color:
        #64748b !important;

    font-size:
        11px !important;

    line-height:
        1.45 !important;
}

.mg-pqr-form-consent a {
    color:
        #0055b8 !important;

    font-weight:
        700;

    text-decoration:
        none !important;
}

.mg-pqr-form-consent a:hover {
    text-decoration:
        underline !important;
}


/* =========================================================
   ÁREA FINAL
   ========================================================= */

.mg-pqr-form-submit-area {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    align-items: center;

    gap:
        20px;

    width: 100%;

    margin-top:
        15px;

    padding:
        17px
        2px
        0;
}

.mg-pqr-form-submit-copy {
    max-width:
        600px;
}

.mg-pqr-form-submit-copy strong {
    display: block;

    margin-bottom:
        3px;

    color:
        #163d76;

    font-size:
        13.5px;

    font-weight:
        700;

    line-height:
        1.3;
}

.mg-pqr-form-submit-copy p {
    margin:
        0 !important;

    color:
        #64748b !important;

    font-size:
        12px !important;

    line-height:
        1.5 !important;
}


/* =========================================================
   BOTÓN
   ========================================================= */

.mg-pqr-form-submit {
    display: flex;

    align-items: center;
    justify-content: flex-end;
}

.mg-pqr-form-submit input[type="submit"] {
    display:
        inline-flex !important;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        43px;

    margin:
        0 !important;

    padding:
        0
        20px !important;

    background:
        #e7a33e !important;

    border:
        1px solid #e7a33e !important;

    border-radius:
        999px !important;

    color:
        #002554 !important;

    font-family:
        inherit !important;

    font-size:
        12.5px !important;

    font-weight:
        800 !important;

    line-height:
        1 !important;

    cursor:
        pointer !important;

    box-shadow:
        0 5px 13px rgba(231,163,62,.16) !important;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease !important;
}

.mg-pqr-form-submit input[type="submit"]:hover {
    transform:
        translateY(-1px);

    background:
        #f0b454 !important;

    border-color:
        #f0b454 !important;

    box-shadow:
        0 7px 16px rgba(231,163,62,.22) !important;
}


/* =========================================================
   SPINNER
   ========================================================= */

.mg-pqr-form .wpcf7-spinner {
    margin:
        0
        0
        0
        8px;
}


/* =========================================================
   VALIDACIÓN
   ========================================================= */

.mg-pqr-form .wpcf7-not-valid {
    border-color:
        #c75b5b !important;
}

.mg-pqr-form .wpcf7-not-valid-tip {
    display:
        block;

    margin-top:
        4px;

    color:
        #b42318 !important;

    font-size:
        10.5px !important;

    line-height:
        1.4 !important;
}


/* =========================================================
   MENSAJES CF7
   ========================================================= */

.mg-pqr-form + .wpcf7-response-output,
.mg-pqr-form .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
    margin:
        15px
        0
        0 !important;

    padding:
        10px
        13px !important;

    border-radius:
        7px !important;

    font-size:
        12px !important;

    line-height:
        1.5 !important;
}


/* ÉXITO */

.wpcf7 form.sent .wpcf7-response-output {
    background:
        #f0f8f4;

    border:
        1px solid #badbc8 !important;

    color:
        #245f3c;
}


/* VALIDACIÓN */

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    background:
        #fff8ed;

    border:
        1px solid #e6c78f !important;

    color:
        #7b5614;
}


/* ERROR */

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background:
        #fff4f4;

    border:
        1px solid #e0aaaa !important;

    color:
        #9c2d2d;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
    (min-width:769px)
    and
    (max-width:1024px) {

    .mg-pqr-form {
        width:
            calc(100% - 36px);

        max-width:
            920px;

        padding:
            30px
            28px;
    }

    .mg-pqr-form-intro h2 {
        font-size:
            30px !important;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width:768px) {

    .mg-pqr-form {
        width:
            calc(100% - 24px);

        margin:
            20px
            auto
            30px;

        padding:
            24px
            18px;

        border-radius:
            12px;
    }


    .mg-pqr-form-intro {
        margin-bottom:
            18px;
    }

    .mg-pqr-form-intro h2 {
        font-size:
            27px !important;
    }

    .mg-pqr-form-intro p {
        font-size:
            13.5px !important;
    }


    .mg-pqr-form-section {
        margin-bottom:
            11px;

        padding:
            17px
            15px;
    }


    .mg-pqr-form-section-head {
        grid-template-columns:
            34px
            minmax(0,1fr);

        gap:
            8px;

        margin-bottom:
            11px;
    }

    .mg-pqr-form-section-head > span {
        width:
            30px;

        height:
            30px;
    }

    .mg-pqr-form-section-head h3 {
        font-size:
            17.5px !important;
    }


    .mg-pqr-form-row {
        grid-template-columns:
            1fr;

        gap:
            0;
    }


    .mg-pqr-form-col,
    .mg-pqr-form-field {
        margin-bottom:
            9px;
    }


    .mg-pqr-form-consent {
        padding:
            11px
            12px;
    }


    .mg-pqr-form-submit-area {
        grid-template-columns:
            1fr;

        gap:
            13px;

        margin-top:
            12px;

        padding-top:
            13px;
    }

    .mg-pqr-form-submit {
        justify-content:
            stretch;
    }

    .mg-pqr-form-submit input[type="submit"] {
        width:
            100%;

        min-height:
            44px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width:480px) {

    .mg-pqr-form {
        width:
            calc(100% - 16px);

        padding:
            20px
            13px;
    }

    .mg-pqr-form-intro h2 {
        font-size:
            25px !important;
    }

    .mg-pqr-form-section {
        padding:
            15px
            12px;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-pqr-form input,
    .mg-pqr-form select,
    .mg-pqr-form textarea,
    .mg-pqr-form-submit input[type="submit"] {
        transition:
            none !important;
    }

    .mg-pqr-form-submit input[type="submit"]:hover {
        transform:
            none !important;
    }

}














/* =========================================================
   AJUSTE FINO FINAL — PÁGINA PAGOS
   Agregar al final del CSS actual
   ========================================================= */

/* CONTENEDOR GENERAL */
.mg-pagos-page {
    padding-bottom: 44px;
}

/* =========================================================
   HERO SUPERIOR
   ========================================================= */

.mg-pagos-hero {
    padding-top: 52px !important;
    padding-bottom: 46px !important;
}

.mg-pagos-hero-content {
    max-width: 760px;
}

.mg-pagos-title {
    margin-bottom: 14px !important;
}

.mg-pagos-intro {
    max-width: 620px;
    margin-bottom: 18px !important;
}

.mg-pagos-hero-tags,
.mg-pagos-hero-chips,
.mg-pagos-hero-pills {
    margin-top: 14px !important;
    gap: 8px !important;
}

/* Si los chips son enlaces o spans */
.mg-pagos-hero-tags a,
.mg-pagos-hero-tags span,
.mg-pagos-hero-chips a,
.mg-pagos-hero-chips span,
.mg-pagos-hero-pills a,
.mg-pagos-hero-pills span {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
}

/* =========================================================
   BLOQUE PRINCIPAL — IMAGEN + CONTENIDO
   ========================================================= */

.mg-pagos-main {
    align-items: center !important;
    margin-top: 26px !important;
    margin-bottom: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.mg-pagos-main-media {
    min-height: 320px !important;
}

.mg-pagos-main-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.mg-pagos-main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 30px !important;
}

.mg-pagos-main-content h2 {
    margin: 0 0 12px 0 !important;
    line-height: 1.18 !important;
}

.mg-pagos-main-content > p {
    margin: 0 0 18px 0 !important;
    max-width: 520px;
}

.mg-pagos-btn-primary {
    align-self: flex-start;
    margin-bottom: 16px !important;
}

.mg-pagos-external-note,
.mg-pagos-main-note {
    margin-top: 0 !important;
    padding-top: 12px !important;
}

/* =========================================================
   SECCIÓN: ANTES DE PAGAR
   ========================================================= */

.mg-pagos-steps-section,
.mg-pagos-process,
.mg-pagos-recommendations {
    padding-top: 12px !important;
    padding-bottom: 28px !important;
}

.mg-pagos-section-head {
    margin-bottom: 24px !important;
}

.mg-pagos-section-head h2 {
    margin-bottom: 10px !important;
    line-height: 1.16 !important;
}

.mg-pagos-section-head p {
    max-width: 520px;
    margin: 0 auto !important;
}

/* Grid de pasos */
.mg-pagos-steps,
.mg-pagos-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 !important;
    align-items: start !important;
    border-top: 1px solid #e3eaf2;
    border-bottom: 1px solid #e3eaf2;
}

.mg-pagos-step,
.mg-pagos-step-card {
    min-height: 0 !important;
    padding: 18px 18px 18px !important;
}

.mg-pagos-step + .mg-pagos-step,
.mg-pagos-step-card + .mg-pagos-step-card {
    border-left: 1px solid #e3eaf2;
}

.mg-pagos-step-icon,
.mg-pagos-step-orb {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 12px !important;
}

.mg-pagos-step-number {
    top: 18px !important;
    right: 16px !important;
    font-size: 10px !important;
}

.mg-pagos-step h3,
.mg-pagos-step-card h3 {
    margin: 0 0 8px 0 !important;
    font-size: 15px !important;
    line-height: 1.28 !important;
}

.mg-pagos-step p,
.mg-pagos-step-card p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

/* =========================================================
   BLOQUE SEGURIDAD
   ========================================================= */

.mg-pagos-security {
    margin-top: 28px !important;
    margin-bottom: 34px !important;
    padding-top: 26px !important;
    padding-bottom: 26px !important;
}

.mg-pagos-security-inner,
.mg-pagos-security-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.mg-pagos-security-icon {
    flex: 0 0 42px;
    width: 42px !important;
    height: 42px !important;
    margin-top: 2px;
}

.mg-pagos-security h2,
.mg-pagos-security h3 {
    margin: 0 0 8px 0 !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
}

.mg-pagos-security p {
    margin: 0 !important;
    max-width: 560px;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}

/* =========================================================
   AYUDA
   ========================================================= */

.mg-pagos-help {
    padding-top: 6px !important;
    padding-bottom: 22px !important;
}

.mg-pagos-help .mg-pagos-section-head {
    margin-bottom: 22px !important;
}

.mg-pagos-support-grid,
.mg-pagos-help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 !important;
    border-top: 1px solid #e3eaf2;
    border-bottom: 1px solid #e3eaf2;
}

.mg-pagos-support-card,
.mg-pagos-help-card {
    min-height: 0 !important;
    padding: 18px 18px 18px !important;
}

.mg-pagos-support-card + .mg-pagos-support-card,
.mg-pagos-help-card + .mg-pagos-help-card {
    border-left: 1px solid #e3eaf2;
}

.mg-pagos-support-icon,
.mg-pagos-help-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 10px !important;
}

.mg-pagos-support-card h3,
.mg-pagos-help-card h3 {
    margin: 0 0 8px 0 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
}

.mg-pagos-support-card p,
.mg-pagos-help-card p {
    margin: 0 0 10px 0 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

/* =========================================================
   FRANJA FINAL — PQR
   ========================================================= */

.mg-pagos-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

.mg-pagos-contact > div {
    max-width: 700px;
}

.mg-pagos-contact h2 {
    margin: 0 0 10px 0 !important;
    line-height: 1.18 !important;
}

.mg-pagos-contact p {
    margin: 0 !important;
    max-width: 540px;
}

.mg-pagos-btn-secondary {
    flex-shrink: 0;
    align-self: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {
    .mg-pagos-main {
        grid-template-columns: 1fr !important;
    }

    .mg-pagos-main-media {
        min-height: 280px !important;
    }

    .mg-pagos-main-content {
        padding: 24px 22px !important;
    }

    .mg-pagos-steps,
    .mg-pagos-steps-grid,
    .mg-pagos-support-grid,
    .mg-pagos-help-grid {
        grid-template-columns: 1fr !important;
    }

    .mg-pagos-step + .mg-pagos-step,
    .mg-pagos-step-card + .mg-pagos-step-card,
    .mg-pagos-support-card + .mg-pagos-support-card,
    .mg-pagos-help-card + .mg-pagos-help-card {
        border-left: 0 !important;
        border-top: 1px solid #e3eaf2;
    }

    .mg-pagos-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .mg-pagos-btn-secondary {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .mg-pagos-hero {
        padding-top: 38px !important;
        padding-bottom: 36px !important;
    }

    .mg-pagos-title {
        font-size: 34px !important;
    }

    .mg-pagos-main-content,
    .mg-pagos-step,
    .mg-pagos-step-card,
    .mg-pagos-support-card,
    .mg-pagos-help-card {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}












/* =========================================================
   20. MOVILLGAS — FORMULARIO SOLICITUD VISITA TÉCNICA
   CONTACT FORM 7
   ========================================================= */


/* =========================================================
   CONTENEDOR
   ========================================================= */

.mg-visit-form {
    width: calc(100% - 48px);
    max-width: 920px;

    margin:
        34px
        auto
        42px;

    padding:
        32px
        36px
        30px;

    background: #ffffff;

    border:
        1px solid #e5ebf1;

    border-radius: 16px;

    box-shadow:
        0 12px 34px rgba(0,37,84,.06);

    box-sizing: border-box;
}

.mg-visit-form,
.mg-visit-form *,
.mg-visit-form *::before,
.mg-visit-form *::after {
    box-sizing: border-box;
}


/* =========================================================
   INTRO
   ========================================================= */

.mg-visit-form-intro {
    max-width: 720px;

    margin:
        0
        0
        21px;
}

.mg-visit-form-kicker {
    display: inline-block;

    margin-bottom: 7px;

    color: #0055b8;

    font-size: 10px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.mg-visit-form-intro h2 {
    margin:
        0
        0
        8px !important;

    color: #163d76 !important;

    font-size: 33px !important;
    font-weight: 700 !important;

    line-height: 1.14 !important;

    letter-spacing: -.35px;
}

.mg-visit-form-intro p {
    max-width: 680px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.6 !important;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.mg-visit-form-section {
    width: 100%;

    margin-bottom: 14px;

    padding:
        19px
        21px
        18px;

    background: #fbfcfe;

    border: 0;

    border-radius: 11px;
}

.mg-visit-form-section:last-of-type {
    margin-bottom: 0;
}


/* =========================================================
   CABECERAS
   ========================================================= */

.mg-visit-form-section-head {
    display: grid;

    grid-template-columns:
        36px
        minmax(0,1fr);

    align-items: start;

    gap: 10px;

    margin-bottom: 14px;
}

.mg-visit-form-section-head > span {
    display: grid;

    place-items: center;

    width: 32px;
    height: 32px;

    background: #eef5fc;

    border:
        1px solid #d8e6f3;

    border-radius: 50%;

    color: #0055b8;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;
}

.mg-visit-form-section-head h3 {
    margin:
        0
        0
        2px !important;

    color: #163d76 !important;

    font-size: 18.5px !important;
    font-weight: 700 !important;

    line-height: 1.23 !important;
}

.mg-visit-form-section-head p {
    max-width: 630px;

    margin: 0 !important;

    color: #718096 !important;

    font-size: 12px !important;

    line-height: 1.48 !important;
}


/* =========================================================
   FILAS
   ========================================================= */

.mg-visit-form-row {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 12px;
}

.mg-visit-form-col,
.mg-visit-form-field {
    min-width: 0;

    margin-bottom: 11px;
}

.mg-visit-form-section > .mg-visit-form-field:last-child,
.mg-visit-form-section > .mg-visit-form-row:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LABELS
   ========================================================= */

.mg-visit-form label {
    display: block;

    width: 100%;

    margin: 0 !important;

    color: #31577f !important;

    font-size: 12.5px !important;
    font-weight: 700 !important;

    line-height: 1.35 !important;
}

.mg-visit-form label > strong {
    margin-left: 2px;

    color: #d98b17;

    font-weight: 800;
}

.mg-visit-form label > small {
    display: inline-block;

    margin-left: 5px;

    color: #8996a6;

    font-size: 9.5px;

    font-weight: 600;
}


/* =========================================================
   CAMPOS
   ========================================================= */

.mg-visit-form input[type="text"],
.mg-visit-form input[type="number"],
.mg-visit-form input[type="email"],
.mg-visit-form input[type="tel"],
.mg-visit-form select,
.mg-visit-form textarea {
    display: block;

    width: 100% !important;

    margin:
        5px
        0
        0 !important;

    padding:
        9px
        11px !important;

    background: #ffffff !important;

    border:
        1px solid #d5e0e9 !important;

    border-radius:
        7px !important;

    color: #334155 !important;

    font-family: inherit !important;

    font-size: 13.5px !important;

    line-height: 1.4 !important;

    box-shadow: none !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.mg-visit-form input[type="text"],
.mg-visit-form input[type="number"],
.mg-visit-form input[type="email"],
.mg-visit-form input[type="tel"],
.mg-visit-form select {
    min-height: 40px;
}

.mg-visit-form textarea {
    min-height: 120px;

    resize: vertical;
}

.mg-visit-form input::placeholder,
.mg-visit-form textarea::placeholder {
    color: #9aa6b2;

    opacity: 1;
}


/* =========================================================
   FOCUS
   ========================================================= */

.mg-visit-form input[type="text"]:focus,
.mg-visit-form input[type="number"]:focus,
.mg-visit-form input[type="email"]:focus,
.mg-visit-form input[type="tel"]:focus,
.mg-visit-form select:focus,
.mg-visit-form textarea:focus {
    outline: none !important;

    border-color:
        #0055b8 !important;

    box-shadow:
        0 0 0 2px rgba(0,85,184,.07) !important;
}


/* =========================================================
   AYUDA
   ========================================================= */

.mg-visit-form-help {
    display: block;

    margin-top: 3px;

    color: #8290a0;

    font-size: 10.5px;

    line-height: 1.4;
}


/* =========================================================
   ARCHIVO
   ========================================================= */

.mg-visit-form input[type="file"] {
    display: block;

    width: 100%;

    margin-top: 6px;

    padding:
        7px
        9px;

    background: #ffffff;

    border:
        1px dashed #ccd9e5;

    border-radius: 7px;

    color: #4f6073;

    font-size: 12px;

    cursor: pointer;
}

.mg-visit-form input[type="file"]::file-selector-button {
    margin-right: 10px;

    padding:
        6px
        10px;

    background: #eef5fc;

    border:
        1px solid #d5e3ef;

    border-radius: 5px;

    color: #0055b8;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   CONSENTIMIENTO
   ========================================================= */

.mg-visit-form-consent {
    width: 100%;

    padding:
        12px
        14px;

    background: #f3f8fc;

    border-left:
        3px solid #0055b8;

    border-radius:
        0
        7px
        7px
        0;
}

.mg-visit-form-consent .wpcf7-list-item {
    display: block;

    margin: 0 !important;
}

.mg-visit-form-consent .wpcf7-list-item label {
    display: grid !important;

    grid-template-columns:
        18px
        minmax(0,1fr);

    align-items: start;

    gap: 8px;

    color: #475569 !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    line-height: 1.5 !important;
}

.mg-visit-form-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;

    margin-top: 2px;

    accent-color: #0055b8;
}

.mg-visit-form-consent p {
    margin:
        5px
        0
        0
        26px !important;

    color: #64748b !important;

    font-size: 11px !important;

    line-height: 1.45 !important;
}

.mg-visit-form-consent a {
    color: #0055b8 !important;

    font-weight: 700;

    text-decoration: none !important;
}

.mg-visit-form-consent a:hover {
    text-decoration: underline !important;
}


/* =========================================================
   ÁREA FINAL
   ========================================================= */

.mg-visit-form-submit-area {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 20px;

    margin-top: 15px;

    padding:
        17px
        2px
        0;
}

.mg-visit-form-submit-copy {
    max-width: 590px;
}

.mg-visit-form-submit-copy strong {
    display: block;

    margin-bottom: 3px;

    color: #163d76;

    font-size: 13.5px;
    font-weight: 700;
}

.mg-visit-form-submit-copy p {
    margin: 0 !important;

    color: #64748b !important;

    font-size: 12px !important;

    line-height: 1.5 !important;
}


/* =========================================================
   BOTÓN
   ========================================================= */

.mg-visit-form-submit {
    display: flex;

    justify-content: flex-end;
}

.mg-visit-form-submit input[type="submit"] {
    min-height: 43px;

    margin: 0 !important;

    padding:
        0
        20px !important;

    background: #e7a33e !important;

    border:
        1px solid #e7a33e !important;

    border-radius:
        999px !important;

    color: #002554 !important;

    font-size: 12.5px !important;
    font-weight: 800 !important;

    cursor: pointer !important;

    box-shadow:
        0 5px 13px rgba(231,163,62,.16) !important;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease !important;
}

.mg-visit-form-submit input[type="submit"]:hover {
    transform:
        translateY(-1px);

    background:
        #f0b454 !important;

    border-color:
        #f0b454 !important;
}


/* =========================================================
   VALIDACIÓN
   ========================================================= */

.mg-visit-form .wpcf7-not-valid {
    border-color:
        #c75b5b !important;
}

.mg-visit-form .wpcf7-not-valid-tip {
    margin-top: 4px;

    color: #b42318 !important;

    font-size: 10.5px !important;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width:768px) {

    .mg-visit-form {
        width:
            calc(100% - 24px);

        margin:
            20px
            auto
            30px;

        padding:
            24px
            18px;

        border-radius:
            12px;
    }

    .mg-visit-form-intro h2 {
        font-size:
            27px !important;
    }

    .mg-visit-form-section {
        margin-bottom:
            11px;

        padding:
            17px
            15px;
    }

    .mg-visit-form-row {
        grid-template-columns:
            1fr;

        gap: 0;
    }

    .mg-visit-form-submit-area {
        grid-template-columns:
            1fr;

        gap:
            13px;

        margin-top:
            12px;
    }

    .mg-visit-form-submit {
        justify-content:
            stretch;
    }

    .mg-visit-form-submit input[type="submit"] {
        width:
            100%;
    }

}














/* =========================================================
   19. MOVILLGAS — ATENCIÓN AL USUARIO
   LANDING PRINCIPAL
   ========================================================= */


/* =========================================================
   WORDPRESS / GENERATEPRESS
   ========================================================= */

body:has(.mg-atencion-page) {
    overflow-x: clip;
    background: #ffffff !important;
}


body:has(.mg-atencion-page) .site-content,
body:has(.mg-atencion-page) .content-area,
body:has(.mg-atencion-page) .site-main,
body:has(.mg-atencion-page) .inside-article,
body:has(.mg-atencion-page) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;

    background: #ffffff !important;
}


body:has(.mg-atencion-page) .entry-header,
body:has(.mg-atencion-page) .entry-title {
    display: none !important;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.mg-atencion-page {
    position: relative;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 0 34px;

    background: #ffffff;

    box-sizing: border-box;
}


.mg-atencion-page,
.mg-atencion-page *,
.mg-atencion-page *::before,
.mg-atencion-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.mg-atencion-hero {
    position: relative;
    z-index: 0;

    width: 100%;

    padding: 58px 0 58px;

    isolation: isolate;
}


.mg-atencion-hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(0, 85, 184, .11),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 84%,
            rgba(231, 163, 62, .09),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #f7fafe 0%,
            #eef5fc 100%
        );

    border-bottom:
        1px solid #dde7f1;

    pointer-events: none;
}


.mg-atencion-hero::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 78px;
    height: 4px;

    background: #e7a33e;

    border-radius:
        0 0 4px 4px;
}


.mg-atencion-hero-content {
    width: 100%;
    max-width: 830px;
}


.mg-atencion-eyebrow,
.mg-atencion-section-kicker {
    display: inline-block;

    margin: 0 0 10px;

    color: #0055b8;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.mg-atencion-title {
    max-width: 780px;

    margin: 0 0 16px !important;

    color: #163d76 !important;

    font-size: 46px !important;
    font-weight: 700 !important;

    line-height: 1.07 !important;

    letter-spacing: -.7px;
}


.mg-atencion-intro {
    max-width: 720px;

    margin: 0 !important;

    color: #5f6f82 !important;

    font-size: 17px !important;

    line-height: 1.72 !important;
}


.mg-atencion-hero-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}


.mg-atencion-hero-tags span {
    display: inline-flex;

    align-items: center;

    min-height: 32px;

    padding: 0 12px;

    background:
        rgba(255,255,255,.72);

    border:
        1px solid rgba(197,215,232,.92);

    border-radius: 999px;

    color: #31577f;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   CABECERAS DE SECCIÓN
   ========================================================= */

.mg-atencion-section-head {
    width: 100%;
    max-width: 760px;

    margin: 0 auto 28px;

    text-align: center;
}


.mg-atencion-section-head h2 {
    margin: 0 0 10px !important;

    color: #163d76 !important;

    font-size: 32px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    letter-spacing: -.35px;
}


.mg-atencion-section-head p {
    max-width: 660px;

    margin: 0 auto !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   ACCESOS RÁPIDOS
   ========================================================= */

.mg-atencion-actions {
    padding: 46px 0 54px;
}


.mg-atencion-actions-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    width: 100%;
    max-width: 1160px;

    margin: 0 auto;

    border-top:
        1px solid #dde6ef;

    border-bottom:
        1px solid #dde6ef;
}


.mg-atencion-action {
    display: grid;

    grid-template-columns:
        50px
        minmax(0, 1fr);

    column-gap: 17px;

    min-width: 0;

    padding: 27px 30px;

    color: inherit !important;

    text-decoration: none !important;

    background: transparent;

    transition:
        background .2s ease;
}


.mg-atencion-action:nth-child(even) {
    border-left:
        1px solid #dde6ef;
}


.mg-atencion-action:nth-child(n+3) {
    border-top:
        1px solid #dde6ef;
}


.mg-atencion-action:hover {
    background: #fafcff;
}


.mg-atencion-action-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    background: #eef5fc;

    border:
        1px solid #d7e5f2;

    border-radius: 50%;

    color: #0055b8;

    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;

    line-height: 1;
}


.mg-atencion-action-number {
    display: block;

    margin-bottom: 5px;

    color: #a66a00;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.3px;
}


.mg-atencion-action h3 {
    margin: 0 0 7px !important;

    color: #003e99 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 1.28 !important;
}


.mg-atencion-action p {
    max-width: 410px;

    margin: 0 0 10px !important;

    color: #64748b !important;

    font-size: 13.5px !important;

    line-height: 1.6 !important;
}


.mg-atencion-action strong {
    color: #0055b8;

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   CANALES DE ATENCIÓN — FRANJA CORPORATIVA
   ========================================================= */

.mg-atencion-channels {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);

    align-items: center;

    gap: 58px;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 50px 0;

    isolation: isolate;
}


.mg-atencion-channels::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(0,85,184,.20),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #002554 0%,
            #00356f 58%,
            #003e7f 100%
        );

    pointer-events: none;
}


.mg-atencion-channels
.mg-atencion-section-kicker {
    color: #f2c878;
}


.mg-atencion-channels-copy h2 {
    max-width: 480px;

    margin: 0 0 12px !important;

    color: #ffffff !important;

    font-size: 33px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;
}


.mg-atencion-channels-copy p {
    max-width: 500px;

    margin: 0 !important;

    color:
        rgba(255,255,255,.78) !important;

    font-size: 15px !important;

    line-height: 1.72 !important;
}


.mg-atencion-channel-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 0;
}


.mg-atencion-channel {
    min-width: 0;

    padding: 18px 20px;

    border-top:
        1px solid rgba(255,255,255,.17);
}


.mg-atencion-channel:nth-child(even) {
    border-left:
        1px solid rgba(255,255,255,.17);
}


.mg-atencion-channel:nth-child(n+3) {
    border-bottom:
        1px solid rgba(255,255,255,.17);
}


.mg-atencion-channel > span {
    display: block;

    margin-bottom: 5px;

    color: rgba(255,255,255,.68);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .7px;

    text-transform: uppercase;
}


.mg-atencion-channel strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    overflow-wrap: anywhere;
}


.mg-atencion-channel p {
    margin: 0 !important;

    color:
        rgba(255,255,255,.68) !important;

    font-size: 12.5px !important;

    line-height: 1.55 !important;
}


.mg-atencion-channel-emergency strong {
    color: #f2c878;
}


/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */

.mg-atencion-faq {
    width: 100%;
    max-width: 1050px;

    margin: 0 auto;

    padding: 50px 0 52px;
}


.mg-atencion-faq-list {
    border-top:
        1px solid #dce6ef;
}


.mg-atencion-faq-item {
    margin: 0;

    background: transparent;

    border: 0;
    border-bottom:
        1px solid #dce6ef;
}


.mg-atencion-faq-item summary {
    position: relative;

    display: block;

    padding:
        20px
        54px
        20px
        6px;

    color: #163d76;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.4;

    cursor: pointer;

    list-style: none;
}


.mg-atencion-faq-item summary::-webkit-details-marker {
    display: none;
}


.mg-atencion-faq-item summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    transform: translateY(-50%);

    background: #eef5fc;

    border:
        1px solid #d7e5f2;

    border-radius: 50%;

    color: #0055b8;

    font-size: 19px;
    font-weight: 400;

    line-height: 1;
}


.mg-atencion-faq-item[open]
summary::after {
    content: "−";
}


.mg-atencion-faq-body {
    max-width: 820px;

    padding:
        0
        52px
        20px
        6px;
}


.mg-atencion-faq-body p {
    margin: 0 0 9px !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.68 !important;
}


.mg-atencion-faq-body a {
    color: #0055b8 !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


/* =========================================================
   EMERGENCIAS
   ========================================================= */

.mg-atencion-emergency {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        54px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 22px;

    width: 100%;
    max-width: 1140px;

    margin: 0 auto;

    padding: 34px 0;

    isolation: isolate;
}


.mg-atencion-emergency::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        linear-gradient(
            120deg,
            #fff6e6 0%,
            #fffaf2 55%,
            #ffffff 100%
        );

    border-top:
        1px solid #ead4a8;

    border-bottom:
        1px solid #ead4a8;

    pointer-events: none;
}


.mg-atencion-emergency-marker {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    background: #e7a33e;

    border-radius: 50%;

    color: #002554;

    font-family: Arial, sans-serif;

    font-size: 22px;
    font-weight: 800;
}


.mg-atencion-emergency-kicker {
    display: block;

    margin-bottom: 6px;

    color: #a66a00;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.mg-atencion-emergency h2 {
    margin: 0 0 7px !important;

    color: #163d76 !important;

    font-size: 25px !important;
    font-weight: 700 !important;

    line-height: 1.2 !important;
}


.mg-atencion-emergency-copy p {
    max-width: 640px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.62 !important;
}


.mg-atencion-emergency-contact {
    min-width: 180px;

    text-align: right;
}


.mg-atencion-emergency-contact span {
    display: block;

    margin-bottom: 4px;

    color: #7b6a4a;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}


.mg-atencion-emergency-contact a {
    color: #003e99 !important;

    font-size: 20px;
    font-weight: 800;

    text-decoration: none !important;

    white-space: nowrap;
}


/* =========================================================
   MÁS INFORMACIÓN
   ========================================================= */

.mg-atencion-more {
    display: grid;

    grid-template-columns:
        minmax(0,.9fr)
        minmax(0,1.1fr);

    align-items: center;

    gap: 54px;

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;

    padding: 48px 0 52px;
}


.mg-atencion-more-copy h2 {
    max-width: 510px;

    margin: 0 0 10px !important;

    color: #163d76 !important;

    font-size: 29px !important;
    font-weight: 700 !important;

    line-height: 1.17 !important;
}


.mg-atencion-more-copy p {
    max-width: 510px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.68 !important;
}


.mg-atencion-more-links {
    display: flex;

    flex-direction: column;

    border-top:
        1px solid #dce6ef;
}


.mg-atencion-more-links a {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 56px;

    padding: 0 6px;

    border-bottom:
        1px solid #dce6ef;

    color: #163d76 !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        padding .2s ease,
        color .2s ease,
        background .2s ease;
}


.mg-atencion-more-links a:hover {
    padding-left: 12px;
    padding-right: 12px;

    background: #fafcff;

    color: #0055b8 !important;
}


.mg-atencion-more-links strong {
    color: #e7a33e;

    font-size: 18px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
    (min-width:769px)
    and
    (max-width:1024px) {

    .mg-atencion-page {
        padding-left: 24px;
        padding-right: 24px;
    }


    .mg-atencion-title {
        font-size: 40px !important;
    }


    .mg-atencion-channels {
        gap: 36px;
    }


    .mg-atencion-action {
        padding:
            25px
            22px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width:768px) {

    .mg-atencion-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    /* HERO */

    .mg-atencion-hero {
        padding:
            40px
            6px
            42px;
    }


    .mg-atencion-hero::after {
        left: 6px;

        width: 64px;
    }


    .mg-atencion-title {
        font-size: 32px !important;
    }


    .mg-atencion-intro {
        font-size: 15px !important;
    }


    /* CABECERAS */

    .mg-atencion-section-head {
        margin-bottom: 23px;
    }


    .mg-atencion-section-head h2 {
        font-size: 26px !important;
    }


    /* ACCESOS */

    .mg-atencion-actions {
        padding:
            36px
            0
            40px;
    }


    .mg-atencion-actions-grid {
        grid-template-columns: 1fr;
    }


    .mg-atencion-action:nth-child(even) {
        border-left: 0;
    }


    .mg-atencion-action +
    .mg-atencion-action {
        border-top:
            1px solid #dde6ef;
    }


    .mg-atencion-action {
        padding:
            23px
            10px;
    }


    /* CANALES */

    .mg-atencion-channels {
        grid-template-columns: 1fr;

        gap: 27px;

        padding:
            38px
            6px;
    }


    .mg-atencion-channels-copy h2 {
        font-size: 27px !important;
    }


    .mg-atencion-channel-list {
        grid-template-columns: 1fr;
    }


    .mg-atencion-channel,
    .mg-atencion-channel:nth-child(even),
    .mg-atencion-channel:nth-child(n+3) {
        border-left: 0;
        border-bottom: 0;

        border-top:
            1px solid rgba(255,255,255,.18);
    }


    .mg-atencion-channel:last-child {
        border-bottom:
            1px solid rgba(255,255,255,.18);
    }


    /* FAQ */

    .mg-atencion-faq {
        padding:
            38px
            0
            40px;
    }


    .mg-atencion-faq-item summary {
        padding-left: 2px;
    }


    .mg-atencion-faq-body {
        padding-left: 2px;
    }


    /* EMERGENCIA */

    .mg-atencion-emergency {
        grid-template-columns:
            48px
            minmax(0,1fr);

        gap: 16px;

        padding:
            30px
            6px;
    }


    .mg-atencion-emergency-contact {
        grid-column:
            1 / -1;

        width: 100%;

        padding-left: 64px;

        text-align: left;
    }


    /* MÁS INFORMACIÓN */

    .mg-atencion-more {
        grid-template-columns: 1fr;

        gap: 26px;

        padding:
            38px
            0
            42px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width:480px) {

    .mg-atencion-page {
        padding-left: 10px;
        padding-right: 10px;
    }


    .mg-atencion-title {
        font-size: 29px !important;
    }


    .mg-atencion-hero-tags {
        gap: 6px;
    }


    .mg-atencion-action {
        grid-template-columns:
            42px
            minmax(0,1fr);

        column-gap: 12px;
    }


    .mg-atencion-action-icon {
        width: 38px;
        height: 38px;
    }


    .mg-atencion-emergency {
        grid-template-columns: 1fr;
    }


    .mg-atencion-emergency-contact {
        grid-column: auto;

        padding-left: 0;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-atencion-action,
    .mg-atencion-more-links a {
        transition: none !important;
    }

}














/* =========================================================
   20. MOVILLGAS — PQRS
   CENTRO DE RADICACIÓN Y ORIENTACIÓN
   ========================================================= */


/* =========================================================
   WORDPRESS / GENERATEPRESS
   ========================================================= */

body:has(.mg-pqrs-page) {
    overflow-x: clip;
    background: #ffffff !important;
}


body:has(.mg-pqrs-page) .site-content,
body:has(.mg-pqrs-page) .content-area,
body:has(.mg-pqrs-page) .site-main,
body:has(.mg-pqrs-page) .inside-article,
body:has(.mg-pqrs-page) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;

    background: #ffffff !important;
}


body:has(.mg-pqrs-page) .entry-header,
body:has(.mg-pqrs-page) .entry-title {
    display: none !important;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.mg-pqrs-page {
    position: relative;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 0 34px;

    background: #ffffff;

    box-sizing: border-box;
}


.mg-pqrs-page,
.mg-pqrs-page *,
.mg-pqrs-page *::before,
.mg-pqrs-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.mg-pqrs-hero {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(280px,.55fr);

    align-items: center;

    gap: 50px;

    width: 100%;

    padding: 58px 0;

    isolation: isolate;
}


.mg-pqrs-hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 87% 18%,
            rgba(0,85,184,.13),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 84%,
            rgba(231,163,62,.09),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #f7fafe 0%,
            #eef5fc 100%
        );

    border-bottom:
        1px solid #dde7f1;

    pointer-events: none;
}


.mg-pqrs-hero::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 78px;
    height: 4px;

    background: #e7a33e;

    border-radius:
        0 0 4px 4px;
}


.mg-pqrs-hero-content {
    width: 100%;
    max-width: 820px;
}


.mg-pqrs-eyebrow,
.mg-pqrs-section-kicker {
    display: inline-block;

    margin: 0 0 10px;

    color: #0055b8;

    font-size: 12px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.mg-pqrs-title {
    max-width: 780px;

    margin: 0 0 16px !important;

    color: #163d76 !important;

    font-size: 46px !important;
    font-weight: 700 !important;

    line-height: 1.07 !important;

    letter-spacing: -.7px;
}


.mg-pqrs-intro {
    max-width: 700px;

    margin: 0 !important;

    color: #5f6f82 !important;

    font-size: 17px !important;

    line-height: 1.72 !important;
}


/* HERO ACCIONES */

.mg-pqrs-hero-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 16px;

    margin-top: 24px;
}


.mg-pqrs-hero-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 21px;

    background: #e7a33e;

    border: 1px solid #e7a33e;

    border-radius: 999px;

    color: #002554 !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;

    box-shadow:
        0 6px 16px rgba(231,163,62,.20);
}


.mg-pqrs-hero-link {
    color: #0055b8 !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


.mg-pqrs-hero-link:hover {
    text-decoration: underline !important;
}


/* PANEL DERECHO DEL HERO */

.mg-pqrs-hero-reference {
    position: relative;

    padding:
        23px
        0
        23px
        23px;

    border-left:
        3px solid #e7a33e;
}


.mg-pqrs-hero-reference span {
    display: block;

    margin-bottom: 7px;

    color: #5f6f82;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.mg-pqrs-hero-reference strong {
    display: block;

    max-width: 280px;

    color: #163d76;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.45;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.mg-pqrs-section-head {
    width: 100%;
    max-width: 760px;

    margin: 0 auto 28px;

    text-align: center;
}


.mg-pqrs-section-head h2 {
    margin: 0 0 10px !important;

    color: #163d76 !important;

    font-size: 32px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    letter-spacing: -.35px;
}


.mg-pqrs-section-head p {
    max-width: 660px;

    margin: 0 auto !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.65 !important;
}


/* =========================================================
   PROCESO 01 / 02 / 03
   ========================================================= */

.mg-pqrs-process {
    padding:
        46px
        0
        50px;
}


.mg-pqrs-process-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    border-top:
        1px solid #dde6ef;

    border-bottom:
        1px solid #dde6ef;
}


.mg-pqrs-process-item {
    position: relative;

    min-width: 0;

    padding:
        29px
        30px
        30px;
}


.mg-pqrs-process-item +
.mg-pqrs-process-item {
    border-left:
        1px solid #dde6ef;
}


.mg-pqrs-process-number {
    position: absolute;

    top: 28px;
    right: 27px;

    color: #a66a00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}


/* =========================================================
   ICONOS DE PROCESO — CENTRADO ÓPTICO
   ========================================================= */

.mg-pqrs-process-icon {
    display: grid;

    place-items: center;

    width: 48px;
    height: 48px;

    margin-bottom: 16px;

    padding: 0;

    background: #eef5fc;

    border: 1px solid #d7e5f2;

    border-radius: 50%;

    color: #0055b8;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 18px;
    font-weight: 700;

    line-height: 1;

    text-align: center;

    overflow: hidden;
}
.mg-pqrs-process-icon {
    transform: translateZ(0);
}

.mg-pqrs-process-item:nth-child(1) .mg-pqrs-process-icon {
    padding-bottom: 1px;
}

.mg-pqrs-process-item:nth-child(2) .mg-pqrs-process-icon {
    padding-bottom: 2px;
}

.mg-pqrs-process-item:nth-child(3) .mg-pqrs-process-icon {
    padding-bottom: 2px;
}


.mg-pqrs-process-item h3 {
    margin:
        0
        0
        8px !important;

    color: #003e99 !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 1.3 !important;
}


.mg-pqrs-process-item p {
    max-width: 300px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 13.5px !important;

    line-height: 1.62 !important;
}


/* =========================================================
   TIPOS DE SOLICITUD
   ========================================================= */

.mg-pqrs-types {
    display: grid;

    grid-template-columns:
        minmax(0,.8fr)
        minmax(0,1.2fr);

    align-items: center;

    gap: 54px;

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;

    padding:
        14px
        0
        52px;
}


.mg-pqrs-types-copy h2 {
    margin:
        0
        0
        11px !important;

    color: #163d76 !important;

    font-size: 29px !important;
    font-weight: 700 !important;

    line-height: 1.18 !important;
}


.mg-pqrs-types-copy p {
    max-width: 480px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.68 !important;
}


.mg-pqrs-types-list {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    border-top:
        1px solid #dce6ef;
}


.mg-pqrs-type {
    display: grid;

    grid-template-columns:
        38px
        minmax(0,1fr);

    gap: 13px;

    padding:
        18px
        16px;

    border-bottom:
        1px solid #dce6ef;
}


.mg-pqrs-type:nth-child(even) {
    border-left:
        1px solid #dce6ef;
}


.mg-pqrs-type > span {
    display: grid;

    place-items: center;

    width: 38px;
    height: 38px;

    padding: 0;

    background: #eef5fc;

    border: 1px solid #d7e5f2;

    border-radius: 50%;

    color: #0055b8;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;
    font-weight: 800;

    line-height: 1;

    text-align: center;
}ont-weight: 800;
}


.mg-pqrs-type h3 {
    margin:
        0
        0
        4px !important;

    color: #003e99 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
}


.mg-pqrs-type p {
    margin: 0 !important;

    color: #64748b !important;

    font-size: 12.5px !important;

    line-height: 1.55 !important;
}


/* =========================================================
   RADICACIÓN PRINCIPAL
   ========================================================= */

.mg-pqrs-primary {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        110px
        minmax(0,1fr)
        minmax(220px,.55fr);

    align-items: center;

    gap: 34px;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding:
        45px
        0;

    color: #ffffff;

    isolation: isolate;
}


.mg-pqrs-primary::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 91% 18%,
            rgba(0,85,184,.23),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            #002554 0%,
            #00356f 58%,
            #003e7f 100%
        );

    pointer-events: none;
}


.mg-pqrs-primary-marker {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 96px;
    height: 96px;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.20);

    border-radius: 50%;

    color: #f2c878;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: 1px;
}


.mg-pqrs-primary-kicker {
    display: block;

    margin-bottom: 7px;

    color: #f2c878;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.mg-pqrs-primary h2 {
    margin:
        0
        0
        10px !important;

    color: #ffffff !important;

    font-size: 36px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;
}


.mg-pqrs-primary-copy p {
    max-width: 600px;

    margin:
        0
        0
        20px !important;

    color:
        rgba(255,255,255,.78) !important;

    font-size: 14.5px !important;

    line-height: 1.7 !important;
}


.mg-pqrs-primary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 19px;

    background: #e7a33e;

    border:
        1px solid #e7a33e;

    border-radius: 999px;

    color: #002554 !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;
}


.mg-pqrs-primary-note {
    padding-left: 23px;

    border-left:
        1px solid rgba(255,255,255,.22);
}


.mg-pqrs-primary-note span {
    display: block;

    margin-bottom: 6px;

    color: #f2c878;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}


.mg-pqrs-primary-note p {
    margin: 0 !important;

    color:
        rgba(255,255,255,.72) !important;

    font-size: 12.5px !important;

    line-height: 1.6 !important;
}


/* =========================================================
   VISITA TÉCNICA
   ========================================================= */

.mg-pqrs-technical {
    grid-template-columns: 1fr;

    margin:
        38px
        auto;
}


.mg-pqrs-technical-media {
    min-height: 240px;
}


.mg-pqrs-technical-media img {
    min-height: 240px;
}


.mg-pqrs-technical-content {
    padding:
        29px
        20px
        32px;
}


.mg-pqrs-technical h2 {
    font-size: 27px !important;
}


.mg-pqrs-technical-btn {
    width: 100%;
}

/* =========================================================
   ATENCIÓN TÉCNICA — SECCIÓN EDITORIAL CON IMAGEN
   ========================================================= */

.mg-pqrs-technical {
    display: grid;

    grid-template-columns:
        minmax(360px, .92fr)
        minmax(0, 1.08fr);

    align-items: stretch;

    width: 100%;
    max-width: 1180px;

    margin: 54px auto;

    background: #ffffff;

    border-top: 1px solid #dce6ef;
    border-bottom: 1px solid #dce6ef;

    overflow: hidden;
}


.mg-pqrs-technical-media {
    position: relative;

    min-height: 360px;

    overflow: hidden;

    background: #e8eef5;
}


.mg-pqrs-technical-media::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,37,84,.04) 0%,
            rgba(0,37,84,0) 70%
        );

    pointer-events: none;
}


.mg-pqrs-technical-media img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 360px;

    object-fit: cover;

    object-position: center center;
}


.mg-pqrs-technical-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

    padding: 48px 52px;
}


.mg-pqrs-technical h2 {
    max-width: 560px;

    margin:
        0
        0
        15px !important;

    color: #163d76 !important;

    font-size: 34px !important;
    font-weight: 700 !important;

    line-height: 1.13 !important;

    letter-spacing: -.35px;
}


.mg-pqrs-technical p {
    max-width: 590px;

    margin:
        0
        0
        24px !important;

    color: #64748b !important;

    font-size: 15.5px !important;

    line-height: 1.75 !important;
}


.mg-pqrs-technical-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-height: 44px;

    padding:
        0
        20px;

    background: #e7a33e;

    border: 1px solid #e7a33e;

    border-radius: 999px;

    color: #002554 !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;

    box-shadow:
        0 5px 14px rgba(231,163,62,.16);

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.mg-pqrs-technical-btn:hover {
    transform: translateY(-2px);

    background: #f0b454;

    color: #002554 !important;

    box-shadow:
        0 8px 18px rgba(231,163,62,.22);
}


/* =========================================================
   INFORMACIÓN DEL TRÁMITE — COMPOSICIÓN EDITORIAL
   ========================================================= */

.mg-pqrs-info {
    position: relative;

    padding:
        40px
        0
        44px;
}


.mg-pqrs-info .mg-pqrs-section-head {
    max-width: 820px;

    margin-bottom: 38px;
}


.mg-pqrs-info .mg-pqrs-section-head h2 {
    font-size: 36px !important;

    letter-spacing: -.45px;
}


.mg-pqrs-info .mg-pqrs-section-head p {
    font-size: 15.5px !important;
}


.mg-pqrs-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    border-top:
        1px solid #dce6ef;

    border-bottom:
        1px solid #dce6ef;
}


.mg-pqrs-info-item {
    position: relative;

    min-height: 250px;

    padding:
        37px
        34px
        34px;

    overflow: hidden;
}


.mg-pqrs-info-item +
.mg-pqrs-info-item {
    border-left:
        1px solid #dce6ef;
}


/* número decorativo grande */

.mg-pqrs-info-item > span {
    position: absolute;

    top: 14px;
    right: 20px;

    margin: 0;

    color:
        rgba(0,85,184,.065);

    font-size: 74px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -4px;

    pointer-events: none;
}


.mg-pqrs-info-item h3 {
    position: relative;

    z-index: 2;

    max-width: 250px;

    margin:
        58px
        0
        12px !important;

    color: #163d76 !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    line-height: 1.25 !important;
}


.mg-pqrs-info-item p {
    position: relative;

    z-index: 2;

    max-width: 290px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.68 !important;
}


/* =========================================================
   DERECHOS / CANALES
   ========================================================= */

.mg-pqrs-legal {
    position: relative;
    z-index: 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;

    width: 100%;
    max-width: 1140px;

    margin: 0 auto;

    padding:
        35px
        0;

    isolation: isolate;
}


.mg-pqrs-legal::before {
    content: "";

    position: absolute;
    z-index: -1;

    inset-block: 0;

    left: 50%;

    width: 100vw;

    transform:
        translateX(-50%);

    background:
        #f5f9fd;

    border-top:
        1px solid #dde7f1;

    border-bottom:
        1px solid #dde7f1;

    pointer-events: none;
}


.mg-pqrs-legal > div {
    max-width: 740px;
}


.mg-pqrs-legal h2 {
    margin:
        0
        0
        8px !important;

    color: #163d76 !important;

    font-size: 24px !important;
    font-weight: 700 !important;

    line-height: 1.22 !important;
}


.mg-pqrs-legal p {
    margin: 0 !important;

    color: #64748b !important;

    font-size: 13.5px !important;

    line-height: 1.65 !important;
}


.mg-pqrs-legal-link {
    flex-shrink: 0;

    color: #0055b8 !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


/* =========================================================
   EMERGENCIA
   ========================================================= */

.mg-pqrs-emergency {
    display: grid;

    grid-template-columns:
        50px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 20px;

    width: 100%;
    max-width: 1140px;

    margin: 0 auto;

    padding:
        34px
        0
        38px;
}


.mg-pqrs-emergency-icon {
    display: grid;

    place-items: center;

    width: 50px;
    height: 50px;

    padding: 0;

    background: #fff2d8;

    border: 1px solid #efd4a0;

    border-radius: 50%;

    color: #a66a00;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 20px;
    font-weight: 800;

    line-height: 1;
}


.mg-pqrs-emergency-copy > span {
    display: block;

    margin-bottom: 5px;

    color: #a66a00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.mg-pqrs-emergency h2 {
    margin:
        0
        0
        6px !important;

    color: #163d76 !important;

    font-size: 23px !important;
    font-weight: 700 !important;
}


.mg-pqrs-emergency p {
    max-width: 630px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 13.5px !important;

    line-height: 1.6 !important;
}


.mg-pqrs-emergency > a {
    color: #003e99 !important;

    font-size: 19px;
    font-weight: 800;

    text-decoration: none !important;

    white-space: nowrap;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
    (min-width:769px)
    and
    (max-width:1024px) {

    .mg-pqrs-page {
        padding-left: 24px;
        padding-right: 24px;
    }


    .mg-pqrs-title {
        font-size: 40px !important;
    }


    .mg-pqrs-primary {
        grid-template-columns:
            85px
            minmax(0,1fr);

        gap: 28px;
    }


    .mg-pqrs-primary-note {
        grid-column:
            2;

        padding-left: 0;

        border-left: 0;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width:768px) {

    .mg-pqrs-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    .mg-pqrs-hero {
        grid-template-columns: 1fr;

        gap: 24px;

        padding:
            40px
            6px
            42px;
    }


    .mg-pqrs-hero::after {
        left: 6px;

        width: 64px;
    }


    .mg-pqrs-title {
        font-size: 32px !important;
    }


    .mg-pqrs-intro {
        font-size: 15px !important;
    }


    .mg-pqrs-hero-reference {
        padding:
            16px
            0
            16px
            18px;
    }


    .mg-pqrs-section-head h2 {
        font-size: 26px !important;
    }


    /* PROCESO */

    .mg-pqrs-process {
        padding:
            36px
            0
            40px;
    }


    .mg-pqrs-process-grid {
        grid-template-columns: 1fr;
    }


    .mg-pqrs-process-item +
    .mg-pqrs-process-item {
        border-left: 0;

        border-top:
            1px solid #dde6ef;
    }


    .mg-pqrs-process-item {
        padding:
            24px
            18px;
    }


    /* TIPOS */

    .mg-pqrs-types {
        grid-template-columns: 1fr;

        gap: 24px;

        padding-bottom: 40px;
    }


    .mg-pqrs-types-list {
        grid-template-columns: 1fr;
    }


    .mg-pqrs-type:nth-child(even) {
        border-left: 0;
    }


    /* PRINCIPAL */

    .mg-pqrs-primary {
        grid-template-columns: 1fr;

        gap: 22px;

        padding:
            37px
            6px;
    }


    .mg-pqrs-primary-marker {
        width: 72px;
        height: 72px;

        font-size: 17px;
    }


    .mg-pqrs-primary h2 {
        font-size: 27px !important;
    }


    .mg-pqrs-primary-note {
        padding:
            18px
            0
            0;

        border-left: 0;

        border-top:
            1px solid rgba(255,255,255,.20);
    }





    .mg-pqrs-technical-btn {
        width: 100%;
    }


    /* INFORMACIÓN */

    .mg-pqrs-info-grid {
        grid-template-columns: 1fr;
    }


    .mg-pqrs-info-item +
    .mg-pqrs-info-item {
        border-left: 0;

        border-top:
            1px solid #dde6ef;
    }


    /* LEGAL */

    .mg-pqrs-legal {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;

        padding:
            29px
            6px;
    }


    /* EMERGENCIAS */

    .mg-pqrs-emergency {
        grid-template-columns:
            46px
            minmax(0,1fr);

        padding:
            29px
            0
            34px;
    }


    .mg-pqrs-emergency > a {
        grid-column:
            1 / -1;

        padding-left: 66px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width:480px) {

    .mg-pqrs-page {
        padding-left: 10px;
        padding-right: 10px;
    }


    .mg-pqrs-title {
        font-size: 29px !important;
    }


    .mg-pqrs-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .mg-pqrs-hero-btn {
        width: 100%;
    }


    .mg-pqrs-emergency {
        grid-template-columns: 1fr;
    }


    .mg-pqrs-emergency > a {
        grid-column: auto;

        padding-left: 0;
    }

}














/* =========================================================
   22. MOVILGAS — MÓDULO DE CONTACTO (.mg-contacto-page)
   ========================================================= */

.mg-contacto-page {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 10px 20px 45px !important;
    box-sizing: border-box !important;
}

.mg-contacto-page *,
.mg-contacto-page *::before,
.mg-contacto-page *::after {
    box-sizing: border-box !important;
}

/* ENCABEZADO DE SECCIÓN */
.mg-contacto-header {
    text-align: center !important;
    padding: 10px 20px 30px !important;
}

.mg-contacto-eyebrow {
    display: inline-block !important;
    margin-bottom: 12px !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    border: 1px solid #d8e7ff !important;
    color: #0055ff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

.mg-contacto-title {
    margin: 6px 0 12px 0 !important;
    color: #003e99 !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.mg-contacto-intro {
    max-width: 730px !important;
    margin: 0 auto !important;
    color: #64748b !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* ESTRUCTURA FLEXBOX EN 3 COLUMNAS HORIZONTALES (1X3) */
.mg-contacto-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 20px !important;
    width: 100% !important;
    margin-bottom: 35px !important;
}

.mg-contacto-card {
    flex: 1 1 calc(33.333% - 14px) !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 32px 22px 28px !important;
    text-align: center !important;
    box-shadow: 0 4px 18px rgba(0, 30, 80, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.mg-contacto-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(0, 62, 153, 0.12) !important;
}

.mg-contacto-emergency {
    border-top: 5px solid #d97706 !important;
}

.mg-contacto-card-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.mg-contacto-icon-circle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 68px !important;
    height: 68px !important;
    margin-bottom: 18px !important;
    background: #eef5ff !important;
    border: 1px solid #d8e7ff !important;
    border-radius: 50% !important;
    font-size: 30px !important;
}

.mg-icon-emergency {
    background: #fffcf5 !important;
    border-color: #fef3c7 !important;
}

.mg-contacto-card h2 {
    color: #003e99 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
}

.mg-contacto-card p {
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* BOTONES DE ENLACE DIRECTO (ACCION FOOTER) */
.mg-contacto-card-footer {
    width: 100% !important;
    margin-top: auto !important;
}

.mg-contacto-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 11px 13px !important;
    background: #003e99 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.mg-contacto-btn:hover {
    background: #0055ff !important;
    transform: translateY(-2px) !important;
}

.mg-btn-emergency {
    background: #d97706 !important;
}

.mg-btn-emergency:hover {
    background: #b45309 !important;
}

.mg-contacto-btn .mg-arrow {
    transition: transform 0.2s ease !important;
}

.mg-contacto-btn:hover .mg-arrow {
    transform: translateX(4px) !important;
}

/* BLOQUE DE INFORMACIÓN COMPLEMENTARIA */
.mg-contacto-info-box {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 25px 20px !important;
    text-align: center !important;
}

.mg-info-item h3 {
    color: #003e99 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
}

.mg-info-item p {
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* RESPONSIVE PARA DISPOSITIVOS MÓVILES */
@media (max-width: 850px) {
    .mg-contacto-grid {
        flex-direction: column !important;
        gap: 18px !important;
    }

    .mg-contacto-card {
        flex: 1 1 100% !important;
        width: 100% !important;
    }

    .mg-contacto-info-box {
        grid-template-columns: 1fr !important;
    }

    .mg-contacto-title {
        font-size: 28px !important;
    }
}















/* =========================================================
   21. MOVILLGAS — CONTÁCTENOS
   VERSIÓN CORPORATIVA CONSOLIDADA V3
   ========================================================= */


/* =========================================================
   WORDPRESS / GENERATEPRESS
   ========================================================= */

body:has(.mg-contacto-page) {
    overflow-x: clip;
    background: #ffffff !important;
}


body:has(.mg-contacto-page) .site-content,
body:has(.mg-contacto-page) .content-area,
body:has(.mg-contacto-page) .site-main,
body:has(.mg-contacto-page) .inside-article,
body:has(.mg-contacto-page) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
}


body:has(.mg-contacto-page) .entry-header,
body:has(.mg-contacto-page) .entry-title {
    display: none !important;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.mg-contacto-page {
    position: relative;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 0 34px;

    background: #ffffff;

    box-sizing: border-box;
}


.mg-contacto-page,
.mg-contacto-page *,
.mg-contacto-page *::before,
.mg-contacto-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.mg-contacto-hero {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, .48fr);

    align-items: center;

    gap: 70px;

    width: 100%;

    padding:
        66px
        0
        68px;

    isolation: isolate;
}


.mg-contacto-hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 87% 18%,
            rgba(0,85,184,.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 84%,
            rgba(231,163,62,.09),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #f7fafe 0%,
            #eef5fc 100%
        );

    border-bottom:
        1px solid #dde7f1;

    pointer-events: none;
}


.mg-contacto-hero::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 82px;
    height: 4px;

    background: #e7a33e;

    border-radius:
        0 0 4px 4px;
}


.mg-contacto-hero-content {
    width: 100%;
    max-width: 860px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.mg-contacto-eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 31px;

    margin:
        0
        0
        18px;

    padding:
        0
        13px;

    background: #eef5fc;

    border:
        1px solid #dae7f3;

    border-radius: 999px;

    color: #0055b8;

    font-size: 10.5px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.mg-contacto-section-kicker {
    display: inline-block;

    margin:
        0
        0
        11px;

    color: #0055b8;

    font-size: 11.5px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.55px;

    text-transform: uppercase;
}


.mg-contacto-title {
    max-width: 830px;

    margin:
        0
        0
        18px !important;

    color: #163d76 !important;

    font-size: 50px !important;
    font-weight: 700 !important;

    line-height: 1.05 !important;

    letter-spacing: -.9px;
}


.mg-contacto-intro {
    max-width: 730px;

    margin: 0 !important;

    color: #5f6f82 !important;

    font-size: 17px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   BOTONES HERO
   ========================================================= */

.mg-contacto-hero-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin-top: 27px;
}


.mg-contacto-hero-primary,
.mg-contacto-hero-secondary {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 50px;

    margin: 0 !important;

    padding:
        0
        21px !important;

    border-radius: 999px;

    font-family: inherit;

    font-size: 13px !important;
    font-weight: 800 !important;

    line-height: 1 !important;

    text-decoration: none !important;

    white-space: nowrap;

    vertical-align: middle;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.mg-contacto-hero-primary {
    background: #e7a33e;

    border:
        1px solid #e7a33e;

    color: #002554 !important;

    box-shadow:
        0 6px 16px rgba(231,163,62,.18);
}


.mg-contacto-hero-primary:hover {
    transform:
        translateY(-2px);

    background: #f0b454;

    border-color: #f0b454;

    color: #002554 !important;
}


.mg-contacto-hero-secondary {
    gap: 10px;

    background:
        rgba(255,255,255,.76);

    border:
        1px solid #d3e0ed;

    color: #003e99 !important;
}


.mg-contacto-hero-secondary::after {
    content: "→";

    display: inline-block;

    position: static;

    width: auto;
    height: auto;

    margin: 0;

    padding: 0;

    background: transparent;

    color: #e7a33e;

    font-size: 17px;
    font-weight: 800;

    line-height: 1;

    transform: translateY(-1px);
}


.mg-contacto-hero-secondary:hover {
    transform:
        translateY(-2px);

    background: #ffffff;

    border-color: #bfd0df;

    color: #003e99 !important;
}


/* =========================================================
   REFERENCIA HERO
   ========================================================= */

.mg-contacto-hero-reference {
    padding:
        28px
        0
        28px
        28px;

    border-left:
        3px solid #e7a33e;
}


.mg-contacto-hero-reference > span {
    display: block;

    margin-bottom: 9px;

    color: #5f6f82;

    font-size: 10.5px;
    font-weight: 800;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}


.mg-contacto-hero-reference strong {
    display: block;

    max-width: 310px;

    color: #163d76;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.4;
}


.mg-contacto-hero-reference p {
    max-width: 300px;

    margin:
        11px
        0
        0 !important;

    color: #64748b !important;

    font-size: 13px !important;

    line-height: 1.6 !important;
}


/* =========================================================
   EMERGENCIAS
   ========================================================= */

.mg-contacto-emergency {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        64px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 27px;

    width: 100%;
    max-width: 1160px;

    margin: 0 auto;

    padding:
        43px
        0;

    isolation: isolate;
}


.mg-contacto-emergency::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(231,163,62,.13),
            transparent 27%
        ),
        linear-gradient(
            120deg,
            #fff6e6 0%,
            #fffaf2 56%,
            #ffffff 100%
        );

    border-top:
        1px solid #ead4a8;

    border-bottom:
        1px solid #ead4a8;

    pointer-events: none;
}


.mg-contacto-emergency-icon {
    display: grid;

    place-items: center;

    width: 58px;
    height: 58px;

    padding: 0;

    background: #e7a33e;

    border-radius: 50%;

    color: #002554;

    overflow: hidden;
}


.mg-contacto-emergency-icon span {
    display: block;

    margin: 0;
    padding: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 24px;
    font-weight: 800;

    line-height: 1;

    transform:
        translateY(-1px);
}


.mg-contacto-emergency-kicker {
    display: block;

    margin-bottom: 6px;

    color: #9c6300;

    font-size: 10.5px;
    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.mg-contacto-emergency h2 {
    margin:
        0
        0
        8px !important;

    color: #163d76 !important;

    font-size: 31px !important;
    font-weight: 700 !important;

    line-height: 1.14 !important;
}


.mg-contacto-emergency-copy p {
    max-width: 650px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.67 !important;
}


.mg-contacto-emergency-call {
    min-width: 220px;

    padding-left: 28px;

    border-left:
        1px solid #ead4a8;

    text-align: right;
}


.mg-contacto-emergency-call > span {
    display: block;

    margin-bottom: 7px;

    color: #806d4b;

    font-size: 10.5px;
    font-weight: 800;

    letter-spacing: .8px;

    text-transform: uppercase;
}


.mg-contacto-emergency-call a {
    display: block;

    color: #003e99 !important;

    font-size: 24px;
    font-weight: 800;

    line-height: 1.2;

    text-decoration: none !important;

    white-space: nowrap;
}


.mg-contacto-emergency-call small {
    display: block;

    margin-top: 7px;

    color: #7a6e5a;

    font-size: 11.5px;
}


/* =========================================================
   CABECERA CANALES
   ========================================================= */

.mg-contacto-section-head {
    width: 100%;
    max-width: 820px;

    margin:
        0
        auto
        36px;

    text-align: center;
}


.mg-contacto-section-head h2 {
    margin:
        0
        0
        12px !important;

    color: #163d76 !important;

    font-size: 37px !important;
    font-weight: 700 !important;

    line-height: 1.12 !important;

    letter-spacing: -.5px;
}


.mg-contacto-section-head p {
    max-width: 680px;

    margin:
        0 auto !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.7 !important;
}


/* =========================================================
   CANALES DE ATENCIÓN
   ========================================================= */

.mg-contacto-channels {
    padding:
        58px
        0
        62px;
}


.mg-contacto-channels-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    width: 100%;
    max-width: 1160px;

    margin: 0 auto;

    border-top:
        1px solid #dde6ef;

    border-bottom:
        1px solid #dde6ef;
}


.mg-contacto-channel {
    display: grid;

    grid-template-columns:
        52px
        minmax(0,1fr);

    gap: 19px;

    min-width: 0;

    padding:
        32px
        34px
        33px;
}


.mg-contacto-channel:nth-child(even) {
    border-left:
        1px solid #dde6ef;
}


.mg-contacto-channel:nth-child(n+3) {
    border-top:
        1px solid #dde6ef;
}


/* =========================================================
   CÍRCULOS — CENTRADO DEFINITIVO
   ========================================================= */

.mg-contacto-channel-icon {
    display: grid;

    place-items: center;

    width: 48px;
    height: 48px;

    margin: 0;
    padding: 0;

    background: #eef5fc;

    border:
        1px solid #d7e5f2;

    border-radius: 50%;

    color: #0055b8;

    overflow: hidden;
}


.mg-contacto-icon-glyph {
    display: block;

    margin: 0;
    padding: 0;

    color: inherit;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 18px;
    font-weight: 700;

    line-height: 1;

    text-align: center;

    transform:
        translateY(-1px);
}


/* =========================================================
   NÚMEROS 01 / 02 / 03 / 04
   ========================================================= */

.mg-contacto-channel-number {
    display: block;

    margin:
        0
        0
        8px;

    color: #a66a00;

    font-size: 15px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: .7px;
}


.mg-contacto-channel h3 {
    margin:
        0
        0
        10px !important;

    color: #163d76 !important;

    font-size: 21px !important;
    font-weight: 700 !important;

    line-height: 1.25 !important;
}


.mg-contacto-channel p {
    max-width: 430px;

    margin:
        0
        0
        14px !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.67 !important;
}


/* =========================================================
   ENLACES DE CANALES
   ========================================================= */

.mg-contacto-channel-link {
    display: inline-flex !important;

    align-items: center !important;

    gap: 8px;

    width: fit-content;

    margin: 0 !important;

    padding:
        6px
        0 !important;

    color: #0055b8 !important;

    font-size: 13.5px !important;
    font-weight: 700 !important;

    line-height: 1.3 !important;

    overflow-wrap: anywhere;

    text-decoration: none !important;
}


.mg-contacto-channel-link::after {
    content: "→";

    display: inline-block;

    color: #e7a33e;

    font-size: 16px;
    font-weight: 800;

    line-height: 1;

    transform:
        translateY(-1px);
}


/* =========================================================
   INFORMACIÓN INSTITUCIONAL
   ========================================================= */

.mg-contacto-location {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        minmax(0,.8fr)
        minmax(0,1.2fr);

    align-items: center;

    gap: 72px;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding:
        62px
        0;

    color: #ffffff;

    isolation: isolate;
}


.mg-contacto-location::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(0,85,184,.23),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #002554 0%,
            #00356f 55%,
            #003e7f 100%
        );

    pointer-events: none;
}


.mg-contacto-location
.mg-contacto-section-kicker {
    color: #f2c878;
}


.mg-contacto-location-heading h2 {
    max-width: 530px;

    margin:
        0
        0
        16px !important;

    color: #ffffff !important;

    font-size: 39px !important;
    font-weight: 700 !important;

    line-height: 1.11 !important;

    letter-spacing: -.5px;
}


.mg-contacto-location-heading p {
    max-width: 520px;

    margin: 0 !important;

    color:
        rgba(255,255,255,.78) !important;

    font-size: 15px !important;

    line-height: 1.75 !important;
}


/* =========================================================
   RETÍCULA INFORMACIÓN INSTITUCIONAL
   ========================================================= */

.mg-contacto-location-data {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    width: 100%;

    border-top:
        1px solid rgba(255,255,255,.19);

    border-bottom:
        1px solid rgba(255,255,255,.19);
}


.mg-contacto-location-item {
    min-width: 0;

    padding:
        24px
        25px
        25px;
}


.mg-contacto-location-item:nth-child(even) {
    border-left:
        1px solid rgba(255,255,255,.19);
}


.mg-contacto-location-item:nth-child(n+3) {
    border-top:
        1px solid rgba(255,255,255,.19);
}


.mg-contacto-location-item > span {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255,255,255,.60);

    font-size: 10.5px;
    font-weight: 800;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}


.mg-contacto-location-item strong {
    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.3;
}


.mg-contacto-location-item p {
    max-width: 310px;

    margin: 0 !important;

    color:
        rgba(255,255,255,.73) !important;

    font-size: 13px !important;

    line-height: 1.6 !important;
}


/* =========================================================
   INFORMACIÓN ADICIONAL / ENLACES ÚTILES
   ========================================================= */

.mg-contacto-extra {
    display: grid;

    grid-template-columns:
        minmax(0,.78fr)
        minmax(0,1.22fr);

    align-items: center;

    gap: 70px;

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;

    padding:
        55px
        0
        60px;
}


.mg-contacto-extra-copy {
    max-width: 480px;
}


.mg-contacto-extra-copy h2 {
    margin:
        0
        0
        12px !important;

    color: #163d76 !important;

    font-size: 31px !important;
    font-weight: 700 !important;

    line-height: 1.16 !important;

    letter-spacing: -.35px;
}


.mg-contacto-extra-copy p {
    max-width: 450px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.68 !important;
}


/* =========================================================
   LISTA SIMPLE — SIN TARJETAS
   ========================================================= */

.mg-contacto-extra-links {
    display: flex;

    flex-direction: column;

    width: 100%;

    border-top:
        1px solid #dce6ef;
}


.mg-contacto-extra-links a {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    align-items: center;

    column-gap: 18px;

    min-height: 66px;

    padding:
        12px
        38px
        12px
        5px;

    border-bottom:
        1px solid #dce6ef;

    color: inherit !important;

    text-decoration: none !important;

    transition:
        padding .2s ease,
        background .2s ease;
}


.mg-contacto-extra-links a::after {
    content: "→";

    position: absolute;

    right: 7px;
    top: 50%;

    color: #e7a33e;

    font-size: 20px;
    font-weight: 700;

    line-height: 1;

    transform:
        translateY(-52%);
}


.mg-contacto-extra-links a:hover {
    padding-left: 11px;

    background: #fafcff;
}


.mg-contacto-extra-links a span {
    grid-column: 1;

    display: block;

    margin-bottom: 3px;

    color: #163d76;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.3;
}


.mg-contacto-extra-links a small {
    grid-column: 1;

    display: block;

    color: #718096;

    font-size: 12.5px;

    line-height: 1.45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
    (min-width:769px)
    and
    (max-width:1024px) {

    .mg-contacto-page {
        padding-left: 24px;
        padding-right: 24px;
    }


    .mg-contacto-hero {
        gap: 42px;
    }


    .mg-contacto-title {
        font-size: 42px !important;
    }


    .mg-contacto-location {
        gap: 42px;
    }


    .mg-contacto-location-item {
        padding:
            21px
            18px;
    }


    .mg-contacto-extra {
        gap: 40px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width:768px) {

    .mg-contacto-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    /* HERO */

    .mg-contacto-hero {
        grid-template-columns: 1fr;

        gap: 25px;

        padding:
            42px
            6px
            45px;
    }


    .mg-contacto-hero::after {
        left: 6px;

        width: 64px;
    }


    .mg-contacto-title {
        font-size: 34px !important;
    }


    .mg-contacto-intro {
        font-size: 15.5px !important;
    }


    .mg-contacto-hero-reference {
        padding:
            18px
            0
            18px
            19px;
    }


    /* EMERGENCIAS */

    .mg-contacto-emergency {
        grid-template-columns:
            52px
            minmax(0,1fr);

        gap: 17px;

        padding:
            34px
            6px;
    }


    .mg-contacto-emergency-call {
        grid-column:
            1 / -1;

        width: 100%;

        margin-top: 5px;

        padding:
            18px
            0
            0
            69px;

        border-left: 0;

        border-top:
            1px solid #ead4a8;

        text-align: left;
    }


    .mg-contacto-emergency h2 {
        font-size: 26px !important;
    }


    /* CANALES */

    .mg-contacto-section-head {
        margin-bottom: 27px;
    }


    .mg-contacto-section-head h2 {
        font-size: 29px !important;
    }


    .mg-contacto-channels {
        padding:
            43px
            0
            47px;
    }


    .mg-contacto-channels-grid {
        grid-template-columns: 1fr;
    }


    .mg-contacto-channel:nth-child(even) {
        border-left: 0;
    }


    .mg-contacto-channel +
    .mg-contacto-channel {
        border-top:
            1px solid #dde6ef;
    }


    .mg-contacto-channel {
        padding:
            27px
            10px;
    }


    /* INSTITUCIONAL */

    .mg-contacto-location {
        grid-template-columns: 1fr;

        gap: 32px;

        padding:
            44px
            6px;
    }


    .mg-contacto-location-heading h2 {
        font-size: 30px !important;
    }


    .mg-contacto-location-data {
        grid-template-columns: 1fr;
    }


    .mg-contacto-location-item:nth-child(even) {
        border-left: 0;
    }


    .mg-contacto-location-item +
    .mg-contacto-location-item {
        border-top:
            1px solid rgba(255,255,255,.19);
    }


    .mg-contacto-location-item {
        padding:
            20px
            4px;
    }


    /* ENLACES ÚTILES */

    .mg-contacto-extra {
        grid-template-columns: 1fr;

        gap: 27px;

        padding:
            42px
            0
            48px;
    }


    .mg-contacto-extra-copy h2 {
        font-size: 27px !important;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width:480px) {

    .mg-contacto-page {
        padding-left: 10px;
        padding-right: 10px;
    }


    .mg-contacto-title {
        font-size: 30px !important;
    }


    .mg-contacto-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .mg-contacto-hero-primary,
    .mg-contacto-hero-secondary {
        width: 100%;

        justify-content: center !important;

        white-space: normal;

        text-align: center;
    }


    .mg-contacto-emergency {
        grid-template-columns: 1fr;
    }


    .mg-contacto-emergency-call {
        grid-column: auto;

        padding-left: 0;
    }


    .mg-contacto-channel {
        grid-template-columns:
            42px
            minmax(0,1fr);

        gap: 13px;
    }


    .mg-contacto-channel-icon {
        width: 40px;
        height: 40px;
    }


    .mg-contacto-icon-glyph {
        font-size: 16px;
    }


    .mg-contacto-channel-number {
        font-size: 14px;
    }


    .mg-contacto-extra-links a {
        min-height: 64px;

        padding-right: 32px;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-contacto-hero-primary,
    .mg-contacto-hero-secondary,
    .mg-contacto-extra-links a {
        transition: none !important;
    }


    .mg-contacto-hero-primary:hover,
    .mg-contacto-hero-secondary:hover {
        transform: none !important;
    }

}














/* =========================================================
   23. MOVILGAS — MÓDULO NUESTROS USUARIOS (ELIMINACIÓN DE ESPACIOS)
   ========================================================= */

/* 1. LIBERACIÓN PROFUNDA DEL CONTENEDOR GENERATEPRESS EN ESTA PÁGINA */
.mg-usuarios-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: -40px auto 0 auto !important; /* Fuerza a toda la sección a subir pegada al menú */
    padding: 0 15px 10px !important;      /* Elimina el espacio blanco superior e inferior */
    box-sizing: border-box !important;
}

.mg-usuarios-container *,
.mg-usuarios-container *::before,
.mg-usuarios-container *::after {
    box-sizing: border-box !important;
}

/* 2. ENCABEZADO "NUESTROS USUARIOS" COMPACTO */
.mg-usuarios-header {
    text-align: center !important;
    padding: 0 10px 10px !important; /* Quita el relleno blanco que empuja el título hacia abajo */
    margin-bottom: 5px !important;
}

.mg-usuarios-eyebrow {
    display: inline-block !important;
    margin-bottom: 2px !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    border: 1px solid #d8e7ff !important;
    color: #0055ff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.mg-usuarios-title {
    margin: 0 0 4px 0 !important;
    color: #003e99 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.mg-usuarios-intro {
    max-width: 750px !important;
    margin: 0 auto !important;
    color: #64748b !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* 3. JUNTA LOS DEPARTAMENTOS (ANTIOQUIA, CUNDINAMARCA, TOLIMA) */
.mg-usuarios-deptos {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important; /* Reduce drásticamente la separación vertical entre departamentos */
}

.mg-depto-group {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 15px !important; /* Achica los márgenes internos vacíos de las cajas */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.mg-depto-title {
    color: #003e99 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important; /* Acerca el título del departamento a sus tarjetas */
    padding-bottom: 4px !important;
    border-bottom: 2px solid #eef5ff !important;
}

/* 4. RETÍCULA Y TARJETAS DE MUNICIPIOS (TAMAÑO MANTENIDO AL 100%) */
.mg-depto-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.map-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 14px 12px !important; /* Mantiene la dimensión exacta de tus tarjetas */
    color: #003e99 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.map-card:hover {
    background: #003e99 !important;
    color: #ffffff !important;
    border-color: #003e99 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(0, 62, 153, 0.18) !important;
}

/* 5. POPUPS Y MODALES DE MAPA DE GOOGLE */
.popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 24, 60, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.popup-content {
    background: #ffffff !important;
    padding: 25px 20px 20px !important;
    width: min(750px, 100%) !important;
    max-height: 90vh !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.popup-content h3 {
    color: #003e99 !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
}

.popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 18px !important;
    font-size: 26px !important;
    color: #64748b !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

.popup-close:hover {
    color: #003e99 !important;
}

.popup-content iframe {
    border-radius: 8px !important;
}

/* 6. RESPONSIVE MÓVIL Y TABLET */
@media (max-width: 992px) {
    .mg-depto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .mg-depto-grid {
        grid-template-columns: 1fr !important;
    }

    .mg-usuarios-title {
        font-size: 26px !important;
    }
}









/* =========================================================
   24. MOVILGAS — BOTÓN FLOTANTE DE WHATSAPP (INFERIOR DERECHA)
   ========================================================= */

.mg-whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 25px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 30px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
}

.mg-whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px) !important;
    background-color: #20ba5a !important;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45) !important;
}

.mg-whatsapp-icon {
    line-height: 1 !important;
}

.mg-whatsapp-tooltip {
    position: absolute !important;
    right: 72px !important;
    background-color: #003e99 !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease !important;
    transform: translateX(10px) !important;
    pointer-events: none !important;
}

.mg-whatsapp-float:hover .mg-whatsapp-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

@media (max-width: 600px) {
    .mg-whatsapp-float {
        bottom: 18px !important;
        right: 18px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 26px !important;
    }

    .mg-whatsapp-tooltip {
        display: none !important;
    }
}

/* =========================================================
   25. ELIMINACIÓN DE FRANJA BLANCA Y FOOTER DUPLICADO
   ========================================================= */






















/* =========================================================
   26. PIE DE PÁGINA CORPORATIVO E.S.P. — MOVILGAS S.A.S. E.S.P.
   ========================================================= */



















@media (max-width: 900px) {
    
}

@media (max-width: 600px) {
    

    
}














/* =========================================================
   26. MOVILLGAS — NORMATIVIDAD Y TARIFAS
   DISEÑO DOCUMENTAL VERTICAL / ESCALONADO
   ========================================================= */


/* =========================================================
   GENERATEPRESS
   ========================================================= */

body:has(.mg-normativa-page) {
    overflow-x: clip;
    background: #ffffff !important;
}


body:has(.mg-normativa-page) .site-content,
body:has(.mg-normativa-page) .content-area,
body:has(.mg-normativa-page) .site-main,
body:has(.mg-normativa-page) .inside-article,
body:has(.mg-normativa-page) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
}


body:has(.mg-normativa-page) .entry-header,
body:has(.mg-normativa-page) .entry-title {
    display: none !important;
}


/* =========================================================
   BASE
   ========================================================= */

.mg-normativa-page {
    position: relative;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;

    padding: 0 34px;

    background: #ffffff;

    box-sizing: border-box;
}


.mg-normativa-page,
.mg-normativa-page *,
.mg-normativa-page *::before,
.mg-normativa-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
   ========================================================= */

.mg-normativa-hero {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        360px;

    align-items: center;

    column-gap: 72px;

    width: 100%;

    padding:
        58px
        0
        60px;

    isolation: isolate;
}


.mg-normativa-hero::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(0,85,184,.11),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 84%,
            rgba(231,163,62,.08),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #f7fafe 0%,
            #eef5fc 100%
        );

    border-bottom:
        1px solid #dce6ef;

    pointer-events: none;
}


.mg-normativa-hero::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 82px;
    height: 4px;

    background: #e7a33e;
}


.mg-normativa-hero-content {
    width: 100%;
    max-width: 820px;
    min-width: 0;
}


.mg-normativa-eyebrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 31px;

    margin:
        0
        0
        18px;

    padding:
        0
        13px;

    background: #eef5fc;

    border:
        1px solid #dae7f3;

    border-radius: 999px;

    color: #0055b8;

    font-size: 10.5px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}


.mg-normativa-title {
    max-width: 760px;

    margin:
        0
        0
        18px !important;

    color: #163d76 !important;

    font-size: 48px !important;
    font-weight: 700 !important;

    line-height: 1.07 !important;

    letter-spacing: -.75px;
}

.mg-normativa-intro {
    max-width: 720px;

    margin: 0 !important;

    color: #5f6f82 !important;

    font-size: 17px !important;

    line-height: 1.72 !important;
}


/* =========================================================
   HERO BOTONES
   ========================================================= */

.mg-normativa-hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 27px;
}


.mg-normativa-btn-primary,
.mg-normativa-btn-secondary {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 50px;

    margin: 0 !important;

    padding:
        0
        21px !important;

    border-radius: 999px;

    font-size: 13px !important;
    font-weight: 800 !important;

    line-height: 1 !important;

    text-decoration: none !important;
}


.mg-normativa-btn-primary {
    background: #e7a33e;

    border:
        1px solid #e7a33e;

    color: #002554 !important;
}


.mg-normativa-btn-secondary {
    background: rgba(255,255,255,.78);

    border:
        1px solid #d3e0ed;

    color: #003e99 !important;
}


.mg-normativa-btn-primary::after,
.mg-normativa-btn-secondary::after {
    content: "→";

    margin-left: 10px;

    color: inherit;

    font-size: 16px;

    line-height: 1;

    transform:
        translateY(-1px);
}


/* =========================================================
   HERO ÍNDICE
   ========================================================= */

.mg-normativa-hero-index {
    padding-left: 28px;

    border-left:
        3px solid #e7a33e;
}


.mg-normativa-hero-index-row {
    display: grid !important;

    grid-template-columns:
        42px
        minmax(0, 1fr) !important;

    align-items: center;

    column-gap: 14px;

    width: 100% !important;
    min-width: 0;

    padding:
        14px
        0;

    border-top:
        1px solid rgba(0,62,153,.11);
}


.mg-normativa-hero-index-row {
    display: grid;

    grid-template-columns:
        32px
        minmax(0,1fr);

    gap: 11px;

    align-items: center;

    padding:
        9px
        0;

    border-top:
        1px solid rgba(0,62,153,.10);
}


.mg-normativa-hero-index-row:last-child {
    border-bottom:
        1px solid rgba(0,62,153,.11);
}


.mg-normativa-hero-index-row strong {
    color: #e7a33e;

    font-size: 13px;
    font-weight: 800;
}


.mg-normativa-hero-index-row p {
    display: block !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #31577f !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    line-height: 1.4 !important;

    white-space: normal !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}


/* =========================================================
   KICKERS
   ========================================================= */

.mg-normativa-section-kicker {
    display: block;

    margin-bottom: 10px;

    color: #0055b8;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* =========================================================
   CAPÍTULOS VERTICALES
   ========================================================= */

.mg-normativa-chapter {
    position: relative;

    display: grid;

    grid-template-columns:
        110px
        minmax(0,1fr)
        minmax(250px,.55fr);

    align-items: center;

    gap: 38px;

    width: 100%;
    max-width: 1160px;

    margin: 0 auto;

    padding:
        64px
        0;

    border-bottom:
        1px solid #dce6ef;
}


.mg-normativa-chapter-left {
    transform:
        translateX(-34px);
}


.mg-normativa-chapter-right {
    transform:
        translateX(34px);
}


.mg-normativa-chapter-marker {
    align-self: start;

    color: rgba(0,85,184,.11);

    font-size: 82px;
    font-weight: 800;

    line-height: .9;

    letter-spacing: -5px;
}


.mg-normativa-chapter-copy {
    max-width: 600px;
}


.mg-normativa-chapter-copy h2 {
    margin:
        0
        0
        15px !important;

    color: #163d76 !important;

    font-size: 38px !important;
    font-weight: 700 !important;

    line-height: 1.12 !important;

    letter-spacing: -.45px;
}


.mg-normativa-chapter-copy p {
    max-width: 570px;

    margin:
        0
        0
        21px !important;

    color: #64748b !important;

    font-size: 15px !important;

    line-height: 1.72 !important;
}


.mg-normativa-chapter-link {
    display: inline-flex;

    align-items: center;

    color: #0055b8 !important;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none !important;
}


.mg-normativa-chapter-link::after {
    content: "→";

    margin-left: 9px;

    color: #e7a33e;

    font-size: 18px;
}


.mg-normativa-chapter-aside {
    padding:
        22px
        0
        22px
        24px;

    border-left:
        1px solid #d7e2ed;
}


.mg-normativa-chapter-aside > span {
    display: block;

    margin-bottom: 6px;

    color: #718096;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.mg-normativa-chapter-aside strong {
    display: block;

    margin-bottom: 7px;

    color: #163d76;

    font-size: 18px;
    font-weight: 700;
}


.mg-normativa-chapter-aside p {
    max-width: 280px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 12.5px !important;

    line-height: 1.6 !important;
}


/* =========================================================
   DOCUMENTOS — CAPÍTULO 03
   ========================================================= */

.mg-normativa-documents {
    display: grid;

    grid-template-columns:
        minmax(340px,.72fr)
        minmax(0,1.28fr);

    align-items: start;

    gap: 72px;

    width: 100%;
    max-width: 1160px;

    margin:
        20px
        auto
        0;

    padding:
        70px
        0
        72px;
}


.mg-normativa-documents-heading {
    position: relative;

    padding-top: 75px;
}


.mg-normativa-documents-number {
    position: absolute;

    top: 0;
    left: 0;

    color: rgba(0,85,184,.10);

    font-size: 82px;
    font-weight: 800;

    line-height: .9;

    letter-spacing: -5px;
}


.mg-normativa-documents-heading h2 {
    max-width: 470px;

    margin:
        0
        0
        15px !important;

    color: #163d76 !important;

    font-size: 36px !important;
    font-weight: 700 !important;

    line-height: 1.13 !important;

    letter-spacing: -.4px;
}


.mg-normativa-documents-heading p {
    max-width: 455px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14.5px !important;

    line-height: 1.72 !important;
}


.mg-normativa-documents-list {
    width: 100%;

    border-top:
        1px solid #dce6ef;
}


/* =========================================================
   LISTADO DOCUMENTAL
   Filas informativas + acción independiente
   ========================================================= */

.mg-normativa-documents-list {
    width: 100%;

    margin: 0;
    padding: 0;

    border-top: 1px solid #dce6ef;
}


/* FILA */

.mg-normativa-document {
    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr)
        auto;

    align-items: center;

    column-gap: 20px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 26px 4px;

    background: transparent;

    border: 0;
    border-bottom: 1px solid #dce6ef;

    color: inherit;

    text-decoration: none;
}


/* NÚMERO */

.mg-normativa-document-index {
    display: grid;

    place-items: center;

    width: 40px;
    height: 40px;

    margin: 0;
    padding: 0;

    background: #eef5fc;

    border: 1px solid #d7e5f2;
    border-radius: 50%;

    color: #0055b8;

    font-size: 11px;
    font-weight: 800;

    line-height: 1;
}


/* CONTENIDO */

.mg-normativa-document-copy {
    min-width: 0;

    margin: 0;
    padding: 0;
}


.mg-normativa-document-type {
    display: block;

    margin: 0 0 5px;

    color: #718096;

    font-size: 10px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.mg-normativa-document h3 {
    margin:
        0
        0
        7px !important;

    padding: 0 !important;

    color: #163d76 !important;

    font-size: 19px !important;
    font-weight: 700 !important;

    line-height: 1.28 !important;
}


.mg-normativa-document p {
    max-width: 560px;

    margin: 0 !important;
    padding: 0 !important;

    color: #64748b !important;

    font-size: 13.5px !important;

    line-height: 1.62 !important;
}


/* =========================================================
   ÚNICO ELEMENTO CLICABLE
   ========================================================= */

.mg-normativa-document-action {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-width: 104px;
    min-height: 38px;

    margin: 0 !important;

    padding:
        0
        14px !important;

    background: transparent;

    border: 1px solid #d7e3ee;
    border-radius: 999px;

    color: #0055b8 !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    line-height: 1 !important;

    white-space: nowrap;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}


.mg-normativa-document-action:hover {
    background: #eef5fc;

    border-color: #c5d8e9;

    color: #003e99 !important;

    text-decoration: none !important;
}


/* =========================================================
   MARCO INSTITUCIONAL — CAPÍTULO 04
   ========================================================= */

.mg-normativa-framework {
    position: relative;
    z-index: 0;

    display: grid;

    grid-template-columns:
        minmax(0,.82fr)
        minmax(0,1.18fr);

    align-items: center;

    gap: 72px;

    width: 100%;
    max-width: 1160px;

    margin: 0 auto;

    padding:
        68px
        0;

    color: #ffffff;

    isolation: isolate;
}


.mg-normativa-framework::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform:
        translateX(-50%);

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(0,85,184,.22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #002554 0%,
            #00356f 56%,
            #003e7f 100%
        );

    pointer-events: none;
}


.mg-normativa-framework-heading {
    position: relative;

    padding-top: 70px;
}


.mg-normativa-framework-number {
    position: absolute;

    top: 0;
    left: 0;

    color: rgba(255,255,255,.10);

    font-size: 82px;
    font-weight: 800;

    line-height: .9;

    letter-spacing: -5px;
}


.mg-normativa-framework-kicker {
    display: block;

    margin-bottom: 10px;

    color: #f2c878;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.mg-normativa-framework h2 {
    max-width: 520px;

    margin:
        0
        0
        15px !important;

    color: #ffffff !important;

    font-size: 37px !important;
    font-weight: 700 !important;

    line-height: 1.12 !important;
}


.mg-normativa-framework-heading p {
    max-width: 510px;

    margin: 0 !important;

    color:
        rgba(255,255,255,.77) !important;

    font-size: 14.5px !important;

    line-height: 1.72 !important;
}


.mg-normativa-framework-list {
    border-top:
        1px solid rgba(255,255,255,.19);
}


.mg-normativa-framework-item {
    display: grid;

    grid-template-columns:
        150px
        minmax(0,1fr);

    column-gap: 24px;

    padding:
        21px
        0;

    border-bottom:
        1px solid rgba(255,255,255,.19);
}


.mg-normativa-framework-item > span {
    color:
        rgba(255,255,255,.57);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .8px;

    text-transform: uppercase;
}


.mg-normativa-framework-item strong {
    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;
}


.mg-normativa-framework-item p {
    grid-column: 2;

    margin: 0 !important;

    color:
        rgba(255,255,255,.70) !important;

    font-size: 12.5px !important;

    line-height: 1.55 !important;
}


/* =========================================================
   INFORMACIÓN RELACIONADA — CAPÍTULO 05
   ========================================================= */

.mg-normativa-related {
    display: grid;

    grid-template-columns:
        92px
        minmax(0,.85fr)
        minmax(0,1.15fr);

    align-items: center;

    gap: 34px;

    width: 100%;
    max-width: 1080px;

    margin: 0 auto;

    padding:
        48px
        0
        56px;
}


.mg-normativa-related-number {
    align-self: start;

    color: rgba(0,85,184,.10);

    font-size: 70px;
    font-weight: 800;

    line-height: .9;

    letter-spacing: -4px;
}


.mg-normativa-related-copy h2 {
    margin:
        0
        0
        10px !important;

    color: #163d76 !important;

    font-size: 28px !important;
    font-weight: 700 !important;

    line-height: 1.17 !important;
}


.mg-normativa-related-copy p {
    max-width: 450px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 13.5px !important;

    line-height: 1.65 !important;
}


.mg-normativa-related-links {
    border-top:
        1px solid #dce6ef;
}


.mg-normativa-related-links a {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 58px;

    padding:
        0
        6px;

    border-bottom:
        1px solid #dce6ef;

    color: #163d76 !important;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;
}


.mg-normativa-related-links strong {
    color: #e7a33e;

    font-size: 18px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
    (min-width:769px)
    and
    (max-width:1024px) {

    .mg-normativa-page {
        padding-left: 24px;
        padding-right: 24px;
    }


    .mg-normativa-title {
        font-size: 42px !important;
    }


    .mg-normativa-chapter-left,
    .mg-normativa-chapter-right {
        transform: none;
    }


    .mg-normativa-chapter {
        grid-template-columns:
            90px
            minmax(0,1fr)
            220px;

        gap: 27px;
    }


    .mg-normativa-documents,
    .mg-normativa-framework {
        gap: 44px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width:768px) {

    .mg-normativa-page {
        padding-left: 14px;
        padding-right: 14px;
    }


    /* HERO */

    .mg-normativa-hero {
        grid-template-columns: 1fr;

        gap: 26px;

        padding:
            42px
            6px
            45px;
    }


    .mg-normativa-hero::after {
        left: 6px;

        width: 64px;
    }


    .mg-normativa-title {
        font-size: 34px !important;
    }


    .mg-normativa-intro {
        font-size: 15.5px !important;
    }


    .mg-normativa-hero-index {
        padding-left: 19px;
    }


    /* CAPÍTULOS */

    .mg-normativa-chapter,
    .mg-normativa-chapter-left,
    .mg-normativa-chapter-right {
        grid-template-columns: 1fr;

        gap: 17px;

        transform: none;

        padding:
            43px
            0;
    }


    .mg-normativa-chapter-marker {
        font-size: 62px;
    }


    .mg-normativa-chapter-copy h2 {
        font-size: 30px !important;
    }


    .mg-normativa-chapter-aside {
        padding:
            17px
            0
            0;

        border-left: 0;

        border-top:
            1px solid #d7e2ed;
    }


    /* DOCUMENTOS */

    .mg-normativa-documents {
        grid-template-columns: 1fr;

        gap: 30px;

        padding:
            48px
            0;
    }


    .mg-normativa-documents-heading {
        padding-top: 62px;
    }


    .mg-normativa-documents-number {
        font-size: 64px;
    }


    .mg-normativa-documents-heading h2 {
        font-size: 30px !important;
    }


    /* MARCO */

    .mg-normativa-framework {
        grid-template-columns: 1fr;

        gap: 32px;

        padding:
            48px
            6px;
    }


    .mg-normativa-framework h2 {
        font-size: 30px !important;
    }


    .mg-normativa-framework-item {
        grid-template-columns: 1fr;

        row-gap: 6px;
    }


    .mg-normativa-framework-item p {
        grid-column: 1;
    }


    /* RELACIONADA */

    .mg-normativa-related {
        grid-template-columns: 1fr;

        gap: 19px;

        padding:
            39px
            0
            45px;
    }


    .mg-normativa-related-number {
        font-size: 58px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width:480px) {

    .mg-normativa-page {
        padding-left: 10px;
        padding-right: 10px;
    }


    .mg-normativa-title {
        font-size: 30px !important;
    }


    .mg-normativa-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .mg-normativa-btn-primary,
    .mg-normativa-btn-secondary {
        width: 100%;
    }


    .mg-normativa-document {
        grid-template-columns:
            36px
            minmax(0,1fr);

        gap: 12px;
    }


    .mg-normativa-document-action {
        grid-column: 2;

        margin-top: 5px;
    }

}


/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mg-normativa-document {
        transition: none !important;
    }

}













/* ==========================================================================
   CONFIGURACIÓN DE ESTILOS CSS — TARIFAS POR PERÍODO (MOVILGAS S.A.S. E.S.P.)
   ========================================================================== */

.mv-simple {
  --brand-blue: #003e99;
  --brand-accent: #0055ff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --bg-card: #ffffff;
  
  max-width: 1100px;
  margin: 1.5rem auto;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}

.mv-simple h2 {
  margin: 0 0 1.2rem;
  font-size: 1.5rem;
  color: var(--brand-blue);
  font-weight: 700;
  border-bottom: 2px solid var(--brand-accent);
  padding-bottom: 8px;
  display: inline-block;
}

/* Tarjeta principal por Mes (Accordion Details) */
.mv-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mv-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 62, 153, 0.08);
}

.mv-card summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1.1rem;
  background-color: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.mv-card summary::-webkit-details-marker {
  display: none;
}

.mv-card summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: var(--brand-accent);
  transition: transform 0.2s ease;
}

.mv-card[open] summary::after {
  transform: rotate(180deg);
}

.mv-card[open] summary {
  border-bottom: 1px solid var(--border-color);
  background-color: #eef5ff;
}

/* Flexbox contenedor de departamentos */
.mv-flex {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
}

/* Subtarjeta por Departamento */
.mv-subcard {
  flex: 1 1 280px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  background-color: #f8fafc;
}

.mv-subcard h4 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: var(--brand-blue);
  font-weight: 600;
  border-left: 3px solid var(--brand-accent);
  padding-left: 8px;
}

.mv-subcard ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

/* Enlaces descargables de archivos PDF */
.mv-subcard a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none !important;
  color: var(--text-main);
  background-color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mv-subcard a::after {
  content: "📄 PDF";
  font-size: 0.75rem;
  font-weight: 700;
  color: #28a745;
  background-color: #eefdf2;
  padding: 2px 6px;
  border-radius: 4px;
}

.mv-subcard a:hover {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 85, 255, 0.1);
}

/* Ajuste para pantallas móviles */
@media (max-width: 600px) {
  .mv-flex {
    padding: 12px;
    gap: 12px;
  }
  
  .mv-subcard {
    flex: 1 1 100%;
  }
}















/* ==========================================================================
   CONFIGURACIÓN DE ESTILOS CSS — RESOLUCIÓN TARIFARIA (MOVILGAS S.A.S. E.S.P.)
   ========================================================================== */

/* Contenedor principal de Resoluciones */
.resolution-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 15px 40px;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}

.resolution-main-title {
  text-align: center;
  color: #003e99;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 35px;
  position: relative;
}

.resolution-main-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0055ff;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Grupos por Departamento (Tolima, Cundinamarca, Antioquia) */
.resolution-group {
  margin-bottom: 40px;
}

.resolution-group h3 {
  border-left: 5px solid #0055ff;
  padding-left: 14px;
  margin-bottom: 20px;
  color: #003e99;
  font-size: 1.35rem;
  font-weight: 700;
}

/* Grilla de Tarjetas */
.resolution-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
}

.resolution-card {
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  flex: 1 1 300px;
  min-width: 0;
  box-sizing: border-box;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.resolution-card::after {
  content: "➔";
  font-size: 0.85rem;
  color: #0055ff;
  margin-left: 10px;
  transition: transform 0.2s ease;
}

.resolution-card:hover {
  transform: translateY(-4px);
  border-color: #bfd5f5;
  box-shadow: 0 8px 20px rgba(0, 62, 153, 0.1);
}

.resolution-card:hover::after {
  transform: translateX(4px);
}

/* Ventana Emergente (Popup Overlay & Content) */
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 999999;
  background: rgba(0, 24, 60, 0.75);
  backdrop-filter: blur(4px);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.popup-content {
  background: #ffffff;
  padding: 35px 30px;
  max-width: 520px;
  width: 100%;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.25s ease-out;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-sizing: border-box;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  cursor: pointer;
  color: #64748b;
  width: 36px;
  height: 36px;
  line-height: 34px;
  border-radius: 50%;
  background-color: #f1f5f9;
  transition: background 0.2s ease, color 0.2s ease;
}

.popup-close:hover {
  background-color: #e2e8f0;
  color: #003e99;
}

.popup-content h3 {
  margin: 0 0 10px 0;
  color: #003e99;
  font-size: 1.4rem;
  font-weight: 700;
}

.popup-content p {
  margin: 0 0 25px 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Botón de Descarga PDF en Popup */
.popup-btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #28a745;
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.popup-btn-download:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Ajustes Responsive */
@media (max-width: 600px) {
  .resolution-card {
    flex: 1 1 100%;
  }
  
  .popup-content {
    padding: 30px 20px 25px;
  }
}













/* =========================================================
   MOVILLGAS — POLÍTICA DE TRATAMIENTO DE DATOS PERSONALES
   DOCUMENTO LEGAL AMPLIO Y CENTRADO
   ========================================================= */


/* =========================================================
   GENERATEPRESS
   ========================================================= */

body:has(.mg-legal-page) {
    overflow-x: clip;
    background: #ffffff !important;
}

body:has(.mg-legal-page) .site-content,
body:has(.mg-legal-page) .content-area,
body:has(.mg-legal-page) .site-main,
body:has(.mg-legal-page) .inside-article,
body:has(.mg-legal-page) .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
}

body:has(.mg-legal-page) .entry-header,
body:has(.mg-legal-page) .entry-title {
    display: none !important;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */

.mg-legal-page {
    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    padding:
        54px
        42px
        60px;

    box-sizing: border-box;
}

.mg-legal-page,
.mg-legal-page *,
.mg-legal-page *::before,
.mg-legal-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.mg-legal-header {
    width: 100%;
    max-width: 1120px;

    margin: 0 auto;

    padding:
        0
        0
        34px;

    border-bottom:
        1px solid #dce6ef;
}

.mg-legal-eyebrow {
    display: block;

    margin-bottom: 16px;

    color: #0055b8;

    font-size: 11px;
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.mg-legal-title {
    max-width: 1000px;

    margin:
        0
        0
        17px !important;

    color: #163d76 !important;

    font-size: 42px !important;
    font-weight: 700 !important;

    line-height: 1.1 !important;

    letter-spacing: -.55px;
}

.mg-legal-subtitle {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap:
        8px
        18px;

    margin: 0 !important;

    color: #64748b !important;

    font-size: 14px !important;

    line-height: 1.5 !important;
}

.mg-legal-subtitle strong {
    color: #31577f;
}

.mg-legal-subtitle span {
    position: relative;

    padding-left: 18px;
}

.mg-legal-subtitle span::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 4px;
    height: 4px;

    transform: translateY(-50%);

    background: #e7a33e;

    border-radius: 50%;
}


/* =========================================================
   CONTENIDO PRINCIPAL
   ========================================================= */

.mg-legal-content {
    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
}

.mg-legal-section {
    width: 100%;

    padding:
        38px
        0;

    border-bottom:
        1px solid #e3e9ef;
}

.mg-legal-section:last-child {
    border-bottom: 0;
}


/* =========================================================
   TÍTULOS DE SECCIÓN
   ========================================================= */

.mg-legal-section h2 {
    max-width: 1000px;

    margin:
        0
        0
        16px !important;

    color: #163d76 !important;

    font-size: 24px !important;
    font-weight: 700 !important;

    line-height: 1.25 !important;
}


/* =========================================================
   TEXTO GENERAL
   ========================================================= */

.mg-legal-section > p {
    width: 100%;
    max-width: 1000px;

    margin:
        0
        0
        16px !important;

    color: #4f6073 !important;

    font-size: 15.5px !important;

    line-height: 1.78 !important;
}

.mg-legal-section > p:last-child {
    margin-bottom: 0 !important;
}


/* =========================================================
   LISTAS
   ========================================================= */

.mg-legal-list {
    width: 100%;
    max-width: 1000px;

    margin:
        19px
        0
        0;

    padding-left: 24px;
}

.mg-legal-list li {
    margin-bottom: 10px;

    padding-left: 6px;

    color: #4f6073;

    font-size: 15px;

    line-height: 1.72;
}

.mg-legal-list li:last-child {
    margin-bottom: 0;
}

.mg-legal-list li::marker {
    color: #0055b8;
}


/* =========================================================
   CAJAS DE INFORMACIÓN
   ========================================================= */

.mg-legal-box {
    width: 80Z%;
    max-width: 1040px;

    margin-top: 20px;

    padding:
        0
        28px;

    background: #f8fbfe;

    border-left:
        3px solid #0055b8;

    border-top:
        1px solid #e1e9f1;

    border-bottom:
        1px solid #e1e9f1;
}


/* =========================================================
   FILAS DE DATOS
   ========================================================= */

.mg-legal-data-row {
    display: grid;

    grid-template-columns:
        210px
        minmax(0,1fr);

    gap: 2px;

    align-items: center;

    width: 100%;

    min-height: 58px;

    padding:
        15px
        0;

    border-bottom:
        1px solid #e1e9f1;
}

.mg-legal-data-row:last-child {
    border-bottom: 0;
}

.mg-legal-data-row > span {
    color: #718096;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .55px;

    text-transform: uppercase;
}

.mg-legal-data-row strong,
.mg-legal-data-row a {
    color: #31577f !important;

    font-size: 14.5px;
    font-weight: 600;

    line-height: 1.5;

    overflow-wrap: anywhere;
}

.mg-legal-data-row a {
    color: #0055b8 !important;

    text-decoration: none !important;
}

.mg-legal-data-row a:hover {
    text-decoration: underline !important;
}


/* =========================================================
   PIE INTERNO
   ========================================================= */

.mg-legal-footer-text {
    width: 100%;
    max-width: 1120px;

    margin:
        18px
        auto
        0;

    padding-top: 23px;

    border-top:
        1px solid #dce6ef;

    color: #7a8796;

    font-size: 11.5px;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
    (min-width:769px)
    and
    (max-width:1024px) {

    .mg-legal-page {
        max-width: 100%;

        padding:
            46px
            30px
            52px;
    }

    .mg-legal-title {
        font-size: 36px !important;
    }

    .mg-legal-data-row {
        grid-template-columns:
            180px
            minmax(0,1fr);

        gap: 22px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width:768px) {

    .mg-legal-page {
        max-width: 100%;

        padding:
            36px
            16px
            44px;
    }


    .mg-legal-header {
        padding-bottom: 26px;
    }


    .mg-legal-title {
        font-size: 30px !important;
    }


    .mg-legal-subtitle {
        flex-direction: column;

        align-items: flex-start;

        gap: 4px;
    }


    .mg-legal-subtitle span {
        padding-left: 0;
    }


    .mg-legal-subtitle span::before {
        display: none;
    }


    .mg-legal-section {
        padding:
            29px
            0;
    }


    .mg-legal-section h2 {
        font-size: 21px !important;
    }


    .mg-legal-section > p {
        max-width: none;

        font-size: 14.5px !important;

        line-height: 1.72 !important;
    }


    .mg-legal-list {
        max-width: none;
    }


    .mg-legal-box {
        max-width: none;

        padding:
            0
            16px;
    }


    .mg-legal-data-row {
        grid-template-columns: 1fr;

        gap: 5px;

        min-height: 0;

        padding:
            14px
            0;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width:480px) {

    .mg-legal-page {
        padding-left: 12px;
        padding-right: 12px;
    }


    .mg-legal-title {
        font-size: 27px !important;
    }


    .mg-legal-list {
        padding-left: 20px;
    }

}













/* =========================================================
   MOVILGAS — HEADER CORPORATIVO Y BARRA SUPERIOR AZUL
   ========================================================= */


/* =========================================================
   1. RESET Y CONFIGURACIÓN BASE
   ========================================================= */

.mg-site-header,
.mg-site-header *,
.mg-site-header *::before,
.mg-site-header *::after {
    box-sizing: border-box;
}

.mg-site-header {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
    font-family: inherit;
    background: #ffffff;
}

.mg-site-header h1,
.mg-site-header h2,
.mg-site-header h3,
.mg-site-header p,
.mg-site-header ul,
.mg-site-header ol {
    margin: 0;
    padding: 0;
}

/* Ocultar contenedores personalizados viejos y mostrar navegación nativa GP */
.mg-header-main {
    display: none !important;
}

header.site-header,
nav.main-navigation {
    display: block !important;
	
}















/* =========================================================
   BARRA AZUL — REFINAMIENTO VISUAL
   ========================================================= */

.mg-topbar {
    width: 100% !important;
    min-height: 42px !important;
    background: #002b63 !important;
    position: relative !important;
    z-index: 1001 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.mg-topbar-inner {
    width: 100% !important;
    max-width: 1250px !important;
    min-height: 42px !important;
    margin: 0 auto !important;
    padding: 0 18px !important;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    align-items: center !important;
    justify-content: space-between !important;
}

.mg-topbar-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;

    height: 42px !important;
    min-height: 42px !important;

    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   3. ENLACES Y BOTONES DE LA BARRA SUPERIOR
   ========================================================= */

.mg-topbar-link {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    height: 30px !important;
    min-height: 30px !important;

    margin: 0 !important;

    padding: 0 10px !important;

    gap: 7px !important;

    border-radius: 6px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    line-height: 1 !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    border: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease !important;
}


/* Enlaces normales: Emergencias / Atención al usuario */

.mg-topbar-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;

    color: #ffffff !important;
}


/* =========================================================
   PAGAR FACTURA — ACCIÓN PRINCIPAL
   ========================================================= */

.mg-topbar-payment {
    height: 30px !important;
    min-height: 30px !important;

    padding: 0 16px !important;

    background: #e7a33e !important;

    border: 1px solid #e7a33e !important;

    border-radius: 6px !important;

    color: #002554 !important;

    font-weight: 700 !important;

    box-shadow:
        0 3px 10px rgba(231, 163, 62, 0.20) !important;
}

.mg-topbar-payment:hover {
    background: #f0b454 !important;

    border-color: #f0b454 !important;

    color: #002554 !important;

    transform: translateY(-1px);

    box-shadow:
        0 5px 14px rgba(231, 163, 62, 0.26) !important;
}


/* =========================================================
   RADICAR PQR — ACCIÓN SECUNDARIA
   ========================================================= */

.mg-topbar-secondary {
    height: 30px !important;
    min-height: 30px !important;

    padding: 0 14px !important;

    background:
        rgba(231, 163, 62, 0.06) !important;

    border:
        1px solid rgba(231, 163, 62, 0.68) !important;

    border-radius: 6px !important;

    color: #f2c878 !important;

    font-weight: 700 !important;

    box-shadow: none !important;
}

.mg-topbar-secondary:hover {
    background: #e7a33e !important;

    border-color: #e7a33e !important;

    color: #002554 !important;

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px rgba(231, 163, 62, 0.18) !important;
}


/* =========================================================
   ICONO DE EMERGENCIAS
   ========================================================= */

.mg-topbar-icon {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: 16px !important;
    height: 16px !important;

    font-size: 11px !important;
    font-weight: 700 !important;

    line-height: 1 !important;
}

.mg-emergency-link {
    color: #ffffff !important;

    font-weight: 700 !important;
}
.mg-topbar-group:first-child::after {
    content: "";
    display: block;
    width: 1px;
    height: 16px;
    margin-left: 4px;
    background: rgba(255, 255, 255, 0.18);
}


/* =========================================================
   BUSCADOR INTEGRADO EN LA BARRA AZUL
   ========================================================= */

.mg-topbar-search {
    display: inline-flex !important;
    align-items: center !important;

    width: 210px !important;
    max-width: 210px !important;

    height: 30px !important;
    min-height: 30px !important;

    margin: 0 !important;
    padding: 0 6px 0 12px !important;

    background: rgba(255, 255, 255, 0.10) !important;

    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-radius: 999px !important;

    overflow: hidden !important;

    box-shadow: none !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease !important;
}


/* Estado activo al escribir */

.mg-topbar-search:focus-within {
    background: #ffffff !important;

    border-color: #ffffff !important;

    box-shadow:
        0 3px 10px rgba(0, 37, 84, 0.10) !important;
}


/* =========================================================
   CAMPO DE BÚSQUEDA
   ========================================================= */

.mg-topbar-search input[type="search"] {
    flex: 1 1 auto !important;

    width: 100% !important;
    min-width: 0 !important;

    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;

    color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 400 !important;

    line-height: 1 !important;

    box-shadow: none !important;
}


/* Texto al enfocar */

.mg-topbar-search:focus-within input[type="search"] {
    color: #1e293b !important;
}


/* Placeholder */

.mg-topbar-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.76) !important;

    opacity: 1 !important;
}

.mg-topbar-search:focus-within
input[type="search"]::placeholder {
    color: #64748b !important;
}


/* =========================================================
   BOTÓN / ICONO DE BÚSQUEDA
   ========================================================= */

.mg-topbar-search button {
    flex: 0 0 30px !important;

    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;

    border: 0 !important;

    color: #ffffff !important;

    cursor: pointer !important;

    box-shadow: none !important;
}

.mg-topbar-search:focus-within button {
    color: #0055b8 !important;
}

.mg-topbar-search button svg {
    display: block !important;

    width: 15px !important;
    height: 15px !important;

    max-width: 15px !important;
    max-height: 15px !important;
}


/* =========================================================
   LABEL ACCESIBLE OCULTO VISUALMENTE
   ========================================================= */

.mg-search-label {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================================
   5. RESPONSIVO DE LA BARRA AZUL
   ========================================================= */

@media (max-width: 768px) {

    .mg-topbar {
        min-height: 0 !important;
        height: auto !important;
    }

    .mg-topbar-inner {
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;

        padding: 5px 12px !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: stretch !important;
        justify-content: center !important;

        gap: 4px !important;
    }

    .mg-topbar-group {
        width: 100% !important;

        height: 28px !important;
        min-height: 28px !important;

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: center !important;
        justify-content: center !important;

        gap: 10px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .mg-topbar-link {
        height: 28px !important;
        min-height: 28px !important;

        font-size: 11.5px !important;

        white-space: nowrap !important;
    }

    .mg-topbar-search {
        height: 28px !important;

        flex: 1 1 auto !important;

        min-width: 0 !important;
        max-width: 180px !important;

        margin: 0 !important;
    }

    .mg-topbar-search input[type="search"] {
        width: 100% !important;
        min-width: 0 !important;

        font-size: 11px !important;
    }

    .mg-topbar-payment {
        flex: 0 0 auto !important;

        height: 28px !important;

        padding: 0 10px !important;

        font-size: 11.5px !important;
    }
}













/* =========================================================
   CABECERA NATIVA GENERATEPRESS
   ========================================================= */

header.site-header .inside-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 10px 20px !important;
}


/* =========================================================
   ESCRITORIO — MENÚ HORIZONTAL
   ========================================================= */

/* =========================================================
   HEADER PRINCIPAL GENERATEPRESS
   ========================================================= */

header.site-header {
    position: relative;

    z-index: 2000;

    box-shadow:
        0 1px 0 rgba(0, 37, 84, 0.06),
        0 4px 12px rgba(0, 37, 84, 0.025);
}

header.site-header .inside-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 769px) and (max-width: 992px) {

    nav.main-navigation .main-nav > ul > li > a {
        padding-left: 8px !important;
        padding-right: 8px !important;

        font-size: 13.5px !important;
    }
}


/* =========================================================
   MÓVIL — DEJAR FUNCIONALIDAD NATIVA DE GENERATEPRESS
   ========================================================= */

@media (max-width: 768px) {

    header.site-header .inside-header {
        width: 100% !important;
        max-width: none !important;

        padding: 8px 15px !important;

        flex-wrap: wrap !important;
    }

    /*
     * IMPORTANTE:
     * No definir display:block ni display:flex
     * sobre .main-nav > ul en móvil.
     *
     * GeneratePress se encarga de ocultarlo
     * y mostrarlo al pulsar el botón hamburguesa.
     */

    nav.main-navigation .main-nav > ul > li > a {
        white-space: normal !important;
    }
}
/* =========================================================
   PRIORIDAD DE CAPAS — MENÚ DESPLEGABLE GENERATEPRESS
   ========================================================= */

header.site-header,
nav.main-navigation {
    position: relative !important;
    z-index: 2000 !important;
    overflow: visible !important;
}

nav.main-navigation .main-nav,
nav.main-navigation .main-nav > ul,
nav.main-navigation .main-nav > ul > li {
    overflow: visible !important;
}

nav.main-navigation .main-nav ul ul {
    position: absolute;
    z-index: 3000 !important;
}






























/* =========================================================
   ESTANDARIZACIÓN GENERAL DE TÍTULOS Y ENCABEZADOS EN PÁGINAS
   ========================================================= */

/* 1. Ocultar los títulos H1 automáticos en negro de WordPress/GeneratePress */
.page .entry-header,
.page h1.entry-title {
    display: none !important;
}

/* 2. Estilo universal centrado para encabezados institucionales (.mg-page-title) */
.mg-page-title {
    color: #003e99 !important;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.3px !important;
}

/* 3. Subtítulo o texto introductorio centrado (.mg-page-subtitle) */
.mg-page-subtitle {
    color: #4c5866 !important;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    max-width: 750px !important;
    margin: 0 auto 25px auto !important;
}














/* =========================================================
   CORRECCIÓN MÓVIL — SECCIÓN INSTITUCIONAL / STORY
   ========================================================= */

@media (max-width: 768px) {

    .mg-story-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .mg-story-row {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;

        width: 100% !important;
        min-height: 0 !important;

        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .mg-story-copy {
        order: 2 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        padding: 22px 18px 24px !important;
        box-sizing: border-box !important;
    }

    .mg-story-copy h4 {
        margin: 0 0 10px 0 !important;

        font-size: 22px !important;
        line-height: 1.25 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .mg-story-copy p {
        max-width: 100% !important;
        margin: 0 !important;

        font-size: 14px !important;
        line-height: 1.6 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }

    .mg-story-number {
        margin-bottom: 8px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .mg-story-media {
        order: 1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        height: 210px !important;
        min-height: 210px !important;
    }

    .mg-story-image {
        display: block !important;

        width: 100% !important;
        height: 210px !important;
        min-height: 210px !important;

        object-fit: cover !important;
        object-position: center center !important;
    }
}














/* ===== MOVILLGAS LOTE 02 INICIO — BASE VISUAL v1 =====
   Agregar UNA vez al final de Apariencia > Personalizar > CSS adicional.
   Mantener el CSS anterior. Reversión: retirar este bloque completo.
   Alcance: botones de contenido, títulos principales y formularios.
   !important se limita a propiedades que deben superar la cascada heredada.
*/

:root {
    --mg-ui-azul: #1a1d56;
    --mg-ui-celeste: #5fc3e2;
    --mg-ui-naranja: #e7a33e;
    --mg-ui-naranja-hover: #f0b454;
    --mg-ui-blanco: #ffffff;
    --mg-ui-texto: #334155;
    --mg-ui-secundario: #475569;
    --mg-ui-error: #b42318;
    --mg-ui-radio-control: 8px;
}

/* Títulos de página existentes: mantener sus márgenes y alineación. */
body.page :is(
    .mg-nosotros-hero-title, .mg-servicios-title, .mg-atencion-title,
    .mg-contacto-title, .mg-factura-title, .mg-pagos-title,
    .mg-pqrs-title, .mg-normativa-title, .mg-legal-title
) {
    color: var(--mg-ui-azul) !important;
    font-size: clamp(30px, 3.6vw, 44px) !important;
    line-height: 1.18 !important;
    overflow-wrap: break-word;
}

/* Botones de contenido. No incluye barra superior ni emergencias. */
body :is(
    .mg-nosotros-btn, .mg-servicios-btn,
    .mg-factura-btn-primary, .mg-factura-btn-secondary,
    .mg-pagos-btn-primary, .mg-pagos-btn-secondary,
    .mg-pqrs-hero-btn, .mg-pqrs-primary-btn, .mg-pqrs-technical-btn,
    .mg-normativa-btn-primary, .mg-normativa-btn-secondary,
    .mg-pqr-form-submit input[type="submit"],
    .mg-visit-form-submit input[type="submit"]
) {
    box-sizing: border-box;
    min-height: 44px !important;
    height: auto !important;
    max-width: 100%;
    padding: 12px 20px !important;
    border-radius: var(--mg-ui-radio-control) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center;
    white-space: normal !important;
    overflow-wrap: break-word;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease !important;
}

/* Naranja reservado para acciones principales ya identificadas. */
body :is(
    .mg-nosotros-btn-primary, .mg-servicios-btn-primary,
    .mg-factura-btn-primary, .mg-pagos-btn-primary,
    .mg-pqrs-hero-btn, .mg-pqrs-primary-btn, .mg-normativa-btn-primary,
    .mg-pqr-form-submit input[type="submit"],
    .mg-visit-form-submit input[type="submit"]
) {
    background: var(--mg-ui-naranja) !important;
    border: 1px solid var(--mg-ui-naranja) !important;
    color: var(--mg-ui-azul) !important;
}

body :is(
    .mg-nosotros-btn-primary, .mg-servicios-btn-primary,
    .mg-factura-btn-primary, .mg-pagos-btn-primary,
    .mg-pqrs-hero-btn, .mg-pqrs-primary-btn, .mg-normativa-btn-primary,
    .mg-pqr-form-submit input[type="submit"],
    .mg-visit-form-submit input[type="submit"]
):hover:not(:disabled):not([aria-disabled="true"]) {
    background: var(--mg-ui-naranja-hover) !important;
    border-color: var(--mg-ui-naranja-hover) !important;
    color: var(--mg-ui-azul) !important;
    transform: none !important;
}

body :is(
    .mg-nosotros-btn-secondary, .mg-servicios-btn-secondary,
    .mg-factura-btn-secondary, .mg-pagos-btn-secondary,
    .mg-pqrs-technical-btn, .mg-normativa-btn-secondary
) {
    background: var(--mg-ui-blanco) !important;
    border: 1px solid var(--mg-ui-azul) !important;
    color: var(--mg-ui-azul) !important;
}

body :is(
    .mg-nosotros-btn-secondary, .mg-servicios-btn-secondary,
    .mg-factura-btn-secondary, .mg-pagos-btn-secondary,
    .mg-pqrs-technical-btn, .mg-normativa-btn-secondary
):hover {
    background: var(--mg-ui-azul) !important;
    border-color: var(--mg-ui-azul) !important;
    color: var(--mg-ui-blanco) !important;
    transform: none !important;
}

/* Campos: no cambiar checkboxes, adjuntos ni campos ocultos. */
body :is(.mg-pqr-form, .mg-visit-form) :is(
    input[type="text"], input[type="number"], input[type="email"],
    input[type="tel"], select, textarea
) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: 44px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: var(--mg-ui-texto) !important;
    border: 1px solid #64748b !important;
    border-radius: var(--mg-ui-radio-control) !important;
}

body :is(.mg-pqr-form, .mg-visit-form) label {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

body :is(.mg-pqr-form, .mg-visit-form) label > strong {
    color: var(--mg-ui-error) !important;
}

body :is(.mg-pqr-form, .mg-visit-form) :is(
    label > small, .mg-pqr-form-help, .mg-visit-form-help,
    .wpcf7-list-item-label
) {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--mg-ui-secundario) !important;
}

body :is(.mg-pqr-form, .mg-visit-form) :is(input, textarea)::placeholder {
    color: var(--mg-ui-secundario) !important;
    opacity: 1;
}

body :is(.mg-pqr-form, .mg-visit-form) .wpcf7-not-valid-tip {
    color: var(--mg-ui-error) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-top: 8px !important;
}

body.page :is(.mg-pqr-form, .mg-visit-form) :is(.wpcf7-not-valid, [aria-invalid="true"]) {
    border-color: var(--mg-ui-error) !important;
}

body :is(.mg-pqr-form, .mg-visit-form) a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

body :is(.mg-pqr-form-submit, .mg-visit-form-submit) input[type="submit"]:disabled {
    background: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
    color: var(--mg-ui-secundario) !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Anillo doble visible sobre superficies claras y oscuras.
   :focus-visible no altera la navegación ni oculta el foco del tema fuera del alcance. */
body.page :is(
    .mg-home, .mg-nosotros-v2, .mg-servicios-page, .mg-factura-page,
    .mg-pagos-page, .mg-atencion-page, .mg-contacto-page, .mg-pqrs-page,
    .mg-normativa-page, .mg-legal-page, .mg-pqr-form, .mg-visit-form
) :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid var(--mg-ui-azul) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 3px var(--mg-ui-blanco) !important;
}

@media (prefers-reduced-motion: reduce) {
    body :is(.mg-pqr-form, .mg-visit-form) :is(input, select, textarea),
    body :is(
        .mg-nosotros-btn, .mg-servicios-btn,
        .mg-factura-btn-primary, .mg-factura-btn-secondary,
        .mg-pagos-btn-primary, .mg-pagos-btn-secondary,
        .mg-pqrs-hero-btn, .mg-pqrs-primary-btn, .mg-pqrs-technical-btn,
        .mg-normativa-btn-primary, .mg-normativa-btn-secondary
    ) {
        transition: none !important;
    }
}

/* ===== MOVILLGAS LOTE 02 FIN — BASE VISUAL v1 ===== */














/* ===== MOVILLGAS LOTE 03 INICIO — CABECERA Y PORTADA v1 =====
   Agregar al final del CSS adicional, después del lote 02.
   Los selectores mg3- pertenecen al nuevo bloque de Inicio.
   No altera la apertura/cierre del menú nativo de GeneratePress.
*/
body .mg-topbar, body .mg-topbar * { box-sizing: border-box; }
body .mg-topbar { background: #1a1d56 !important; }
body .mg-topbar .mg-topbar-inner { max-width: 1240px !important; width:100% !important; min-height: 52px !important; padding: 6px 20px !important; gap: 12px !important; flex-wrap: wrap !important; }
body .mg-topbar .mg-topbar-group { height:auto !important; min-height:44px !important; gap:8px !important; min-width:0; }
body .mg-topbar .mg-topbar-link { height:auto !important; min-height:44px !important; font-size:13px !important; line-height:1.35 !important; padding:8px 12px !important; white-space:normal !important; text-align:center; }
body .mg-topbar .mg-emergency-link { text-align:left; }
body .mg-topbar .mg-emergency-link strong { white-space:nowrap; }
body .mg-topbar .mg-topbar-payment { background:#e7a33e !important; color:#1a1d56 !important; box-shadow:none !important; }
body .mg-topbar .mg-topbar-payment:hover { background:#f0b454 !important; }
body .mg-topbar .mg-topbar-secondary { border:1px solid #5fc3e2 !important; color:#fff !important; }
body .mg-topbar .mg-topbar-search { flex:1 1 220px !important; width:230px !important; max-width:230px !important; min-width:0 !important; height:46px !important; border:1px solid #8f9bb5 !important; }
body .mg-topbar .mg-topbar-search input[type="search"] { height:44px !important; min-height:44px !important; font-size:16px !important; min-width:0 !important; width:100% !important; padding:0 !important; }
body .mg-topbar .mg-topbar-search button { flex:0 0 44px !important; width:44px !important; min-width:44px !important; height:44px !important; }
body .mg-topbar :is(a,input,button):focus-visible { outline:3px solid #fff !important; outline-offset:2px !important; }
body .mg-topbar .mg-topbar-search:focus-within { outline:2px solid #fff; outline-offset:3px; }
body .mg-topbar .mg-topbar-search :is(input,button):focus-visible { outline:2px solid #1a1d56 !important; outline-offset:-3px !important; }
body header.site-header .inside-header { max-width:1240px !important; padding:14px 20px !important; box-sizing:border-box; gap:16px; }
body header.site-header .site-branding-container { min-width:0; gap:12px; }
body header.site-header .site-logo img { width:60px; height:60px; object-fit:contain; }
body header.site-header .main-title { font-size:25px; line-height:1.2; }
body header.site-header .main-title a { color:#1a1d56; }
body header.site-header .main-navigation .main-nav > ul > li > a { font-size:14px !important; padding-left:12px !important; padding-right:12px !important; }
body header.site-header :is(a,button):focus-visible { outline:3px solid #1a1d56 !important; outline-offset:2px !important; box-shadow:0 0 0 2px #fff !important; }
body header.site-header .menu-toggle { min-width:44px; min-height:44px; }
@media(min-width:769px) and (max-width:1100px) {
    body header.site-header .inside-header { flex-wrap:wrap !important; }
    body header.site-header #site-navigation { flex-basis:100%; margin-left:0; }
}
@media(max-width:900px) {
    body .mg-topbar .mg-topbar-inner { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:4px !important; }
    body .mg-topbar .mg-topbar-group { width:100% !important; justify-content:space-between !important; flex-wrap:wrap !important; }
    body .mg-topbar .mg-topbar-group:last-child { display:grid !important; grid-template-columns:minmax(0,1fr) auto auto !important; }
    body .mg-topbar .mg-topbar-search { max-width:none !important; width:100% !important; }
}
@media(max-width:600px) {
    body .mg-topbar .mg-topbar-inner { padding:6px 12px !important; }
    body .mg-topbar .mg-topbar-link { padding:8px !important; font-size:12px !important; }
    body .mg-topbar .mg-topbar-group:last-child { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:6px !important; }
    body .mg-topbar .mg-topbar-search { grid-column:1 / -1; order:3; }
    body header.site-header .inside-header { padding:10px 16px !important; }
    body header.site-header .site-logo img { width:48px; height:48px; }
    body header.site-header .main-title { font-size:22px; }
}

/* Portada acotada a su contenido; sin anchos 100vw ni márgenes negativos. */
body.home:has(.mg3-home) .inside-article { padding:0 !important; }
body.home:has(.mg3-home) .entry-content { margin-top:0 !important; }
body .mg3-home, body .mg3-home * { box-sizing:border-box; }
body .mg3-home { --mg3-ink:#1a1d56; --mg3-muted:#475569; --mg3-line:#dbe3eb; width:100%; max-width:1240px; margin:0 auto; padding:24px 20px 64px; color:var(--mg3-ink); font-family:Arial,Helvetica,sans-serif; }
body .mg3-home :is(h1,h2,h3,p,figure,dl,dd) { margin:0; }
body .mg3-home h1 { color:var(--mg3-ink); font-size:clamp(32px,3.8vw,50px); line-height:1.12; font-weight:700; letter-spacing:-1.2px; }
body .mg3-home h2 { color:var(--mg3-ink); font-size:clamp(25px,2.6vw,34px); line-height:1.2; font-weight:700; letter-spacing:-.6px; }
body .mg3-home h3 { color:var(--mg3-ink); font-size:19px; line-height:1.3; font-weight:700; }
body .mg3-home p { font-size:16px; line-height:1.65; color:var(--mg3-muted); }
body .mg3-home a { color:var(--mg3-ink); }
body .mg3-home .mg3-kicker { color:var(--mg3-ink); font-size:12px; font-weight:700; line-height:1.5; letter-spacing:1.2px; text-transform:uppercase; margin-bottom:14px; }
body .mg3-home .mg3-hero { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; padding:28px 0 32px; }
body .mg3-home .mg3-hero-copy { min-width:0; }
body .mg3-home .mg3-lead { margin-top:20px; max-width:53ch; }
body .mg3-home .mg3-hero-media { min-width:0; height:350px; border-radius:4px; overflow:hidden; background:#edf4f7; }
body .mg3-home .mg3-hero-media img { display:block; width:100%; height:100%; object-fit:cover; object-position:68% center; }
body .mg3-home .mg3-actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-top:26px; }
body .mg3-home .mg3-button { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:46px; padding:12px 18px; border:1px solid transparent; border-radius:8px; font-size:15px; line-height:1.4; font-weight:700; text-decoration:none; }
body .mg3-home .mg3-primary { background:#e7a33e; color:var(--mg3-ink); }
body .mg3-home .mg3-primary:hover { background:#f0b454; }
body .mg3-home .mg3-secondary { background:white; border-color:var(--mg3-ink); }
body .mg3-home .mg3-secondary:hover { background:var(--mg3-ink); color:white; }
body .mg3-home .mg3-text-link { display:inline-flex; align-items:center; gap:12px; min-height:44px; font-size:15px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
body .mg3-home :is(a,button):focus-visible { outline:3px solid #1a1d56 !important; outline-offset:4px !important; box-shadow:0 0 0 3px white !important; }
body .mg3-home .mg3-section-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:16px; margin-bottom:24px; }
body .mg3-home .mg3-services { padding:28px 0 44px; border-top:1px solid var(--mg3-line); }
body .mg3-home .mg3-service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--mg3-line); border-bottom:1px solid var(--mg3-line); }
body .mg3-home .mg3-service { display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:24px; text-decoration:none; border-right:1px solid var(--mg3-line); min-width:0; }
body .mg3-home .mg3-service:last-child { border-right:0; }
body .mg3-home .mg3-service:hover { background:#f1f7fa; }
body .mg3-home .mg3-service svg { width:28px; height:28px; flex-shrink:0; margin-bottom:4px; }
body .mg3-home .mg3-service p { font-size:15px; line-height:1.55; }
body .mg3-home .mg3-service-action { margin-top:auto; padding-top:8px; font-size:14px; font-weight:700; }
body .mg3-home .mg3-services-note { margin-top:16px; font-size:14px; }
body .mg3-home .mg3-services-note a { text-decoration:underline; text-underline-offset:3px; }
body .mg3-home .mg3-company { display:grid; grid-template-columns:1fr 1fr; gap:72px; padding:40px 0 56px; }
body .mg3-home .mg3-company h2 { margin-bottom:20px; }
body .mg3-home .mg3-company p + a { margin-top:16px; }
body .mg3-home .mg3-principles > div { padding:18px 0; border-bottom:1px solid var(--mg3-line); }
body .mg3-home .mg3-principles > div:first-child { padding-top:0; }
body .mg3-home .mg3-principles dt { font-size:19px; font-weight:700; }
body .mg3-home .mg3-principles dt span { color:#475569; margin-right:16px; font-size:12px; }
body .mg3-home .mg3-principles dd { padding-left:34px; margin-top:8px; color:var(--mg3-muted); font-size:15px; line-height:1.6; }
body .mg3-home .mg3-coverage { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:28px; padding:32px; background:#edf6f9; border-left:4px solid #5fc3e2; }
body .mg3-home .mg3-coverage > div { flex:1 1 400px; }
body .mg3-home .mg3-coverage h2 { font-size:28px; margin-bottom:12px; }
body .mg3-home .mg3-help { display:grid; grid-template-columns:1.3fr 1fr; gap:64px; align-items:center; padding:56px 0; }
body .mg3-home .mg3-help h2 { margin-bottom:16px; }
body .mg3-home .mg3-help p + a { margin-top:12px; }
body .mg3-home .mg3-emergency { border-left:3px solid #e7a33e; padding:20px 24px; background:#fafbfc; }
body .mg3-home .mg3-emergency p { color:var(--mg3-ink); font-weight:700; }
body .mg3-home .mg3-emergency a { display:inline-block; font-size:clamp(25px,2.4vw,32px); font-weight:700; line-height:1.5; margin:8px 0; text-decoration:underline; text-underline-offset:5px; }
body .mg3-home .mg3-emergency > span { display:block; color:var(--mg3-muted); font-size:14px; line-height:1.5; }
body .mg3-home .mg3-documents { border-top:1px solid var(--mg3-line); padding-top:32px; }
body .mg3-home .mg3-document-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
body .mg3-home .mg3-document-links a { display:flex; flex-direction:column; gap:10px; padding:16px 0; text-decoration:none; border-bottom:1px solid var(--mg3-line); }
body .mg3-home .mg3-document-links strong { font-size:18px; }
body .mg3-home .mg3-document-links span { font-size:14px; color:var(--mg3-muted); }
body .mg3-home .mg3-document-links a:hover strong { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:900px) {
    body .mg3-home .mg3-hero { gap:24px; }
    body .mg3-home .mg3-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    body .mg3-home .mg3-service:nth-child(2) { border-right:0; }
    body .mg3-home .mg3-service:nth-child(-n+2) { border-bottom:1px solid var(--mg3-line); }
    body .mg3-home .mg3-company, body .mg3-home .mg3-help { gap:32px; }
}
@media(max-width:650px) {
    body .mg3-home { padding:16px 16px 40px; }
    body .mg3-home .mg3-hero { grid-template-columns:minmax(0,1fr); padding:20px 0 28px; }
    body .mg3-home h1 { letter-spacing:-.7px; }
    body .mg3-home .mg3-hero-media { height:200px; }
    body .mg3-home .mg3-actions { gap:12px; margin-top:20px; }
    body .mg3-home .mg3-service { padding:20px 12px; }
    body .mg3-home .mg3-service h3 { font-size:17px; }
    body .mg3-home .mg3-company, body .mg3-home .mg3-help { grid-template-columns:minmax(0,1fr); padding:32px 0; gap:28px; }
    body .mg3-home .mg3-coverage { padding:24px 20px; }
    body .mg3-home .mg3-coverage h2 { font-size:25px; }
    body .mg3-home .mg3-document-links { grid-template-columns:minmax(0,1fr); gap:8px; }
}
/* ===== MOVILLGAS LOTE 03 FIN — CABECERA Y PORTADA v1 ===== */














/* ===== MOVILLGAS LOTE 03 INICIO — CABECERA Y PORTADA v1 =====
   Agregar al final del CSS adicional, después del lote 02.
   Los selectores mg3- pertenecen al nuevo bloque de Inicio.
   No altera la apertura/cierre del menú nativo de GeneratePress.
*/
body .mg-topbar, body .mg-topbar * { box-sizing: border-box; }
body .mg-topbar { background: #1a1d56 !important; }
body .mg-topbar .mg-topbar-inner { max-width: 1240px !important; width:100% !important; min-height: 52px !important; padding: 6px 20px !important; gap: 12px !important; flex-wrap: wrap !important; }
body .mg-topbar .mg-topbar-group { height:auto !important; min-height:44px !important; gap:8px !important; min-width:0; }
body .mg-topbar .mg-topbar-link { height:auto !important; min-height:44px !important; font-size:13px !important; line-height:1.35 !important; padding:8px 12px !important; white-space:normal !important; text-align:center; }
body .mg-topbar .mg-emergency-link { text-align:left; }
body .mg-topbar .mg-emergency-link strong { white-space:nowrap; }
body .mg-topbar .mg-topbar-payment { background:#e7a33e !important; color:#1a1d56 !important; box-shadow:none !important; }
body .mg-topbar .mg-topbar-payment:hover { background:#f0b454 !important; }
body .mg-topbar .mg-topbar-secondary { border:1px solid #5fc3e2 !important; color:#fff !important; }
body .mg-topbar .mg-topbar-search { flex:1 1 220px !important; width:230px !important; max-width:230px !important; min-width:0 !important; height:46px !important; border:1px solid #8f9bb5 !important; }
body .mg-topbar .mg-topbar-search input[type="search"] { height:44px !important; min-height:44px !important; font-size:16px !important; min-width:0 !important; width:100% !important; padding:0 !important; }
body .mg-topbar .mg-topbar-search button { flex:0 0 44px !important; width:44px !important; min-width:44px !important; height:44px !important; }
body .mg-topbar :is(a,input,button):focus-visible { outline:3px solid #fff !important; outline-offset:2px !important; }
body .mg-topbar .mg-topbar-search:focus-within { outline:2px solid #fff; outline-offset:3px; }
body .mg-topbar .mg-topbar-search :is(input,button):focus-visible { outline:2px solid #1a1d56 !important; outline-offset:-3px !important; }
body header.site-header .inside-header { max-width:1240px !important; padding:14px 20px !important; box-sizing:border-box; gap:16px; }
body header.site-header .site-branding-container { min-width:0; gap:12px; }
body header.site-header .site-logo img { width:60px; height:60px; object-fit:contain; }
body header.site-header .main-title { font-size:25px; line-height:1.2; }
body header.site-header .main-title a { color:#1a1d56; }
body header.site-header .main-navigation .main-nav > ul > li > a { font-size:14px !important; padding-left:12px !important; padding-right:12px !important; }
body header.site-header :is(a,button):focus-visible { outline:3px solid #1a1d56 !important; outline-offset:2px !important; box-shadow:0 0 0 2px #fff !important; }
body header.site-header .menu-toggle { min-width:44px; min-height:44px; }
@media(min-width:769px) and (max-width:1100px) {
    body header.site-header .inside-header { flex-wrap:wrap !important; }
    body header.site-header #site-navigation { flex-basis:100%; margin-left:0; }
}
@media(max-width:900px) {
    body .mg-topbar .mg-topbar-inner { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:4px !important; }
    body .mg-topbar .mg-topbar-group { width:100% !important; justify-content:space-between !important; flex-wrap:wrap !important; }
    body .mg-topbar .mg-topbar-group:last-child { display:grid !important; grid-template-columns:minmax(0,1fr) auto auto !important; }
    body .mg-topbar .mg-topbar-search { max-width:none !important; width:100% !important; }
}
@media(max-width:600px) {
    body .mg-topbar .mg-topbar-inner { padding:6px 12px !important; }
    body .mg-topbar .mg-topbar-link { padding:8px !important; font-size:12px !important; }
    body .mg-topbar .mg-topbar-group:last-child { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:6px !important; }
    body .mg-topbar .mg-topbar-search { grid-column:1 / -1; order:3; }
    body header.site-header .inside-header { padding:10px 16px !important; }
    body header.site-header .site-logo img { width:48px; height:48px; }
    body header.site-header .main-title { font-size:22px; }
}

/* Portada acotada a su contenido; sin anchos 100vw ni márgenes negativos. */
body.home:has(.mg3-home) .inside-article { padding:0 !important; }
body.home:has(.mg3-home) .entry-content { margin-top:0 !important; }
body .mg3-home, body .mg3-home * { box-sizing:border-box; }
body .mg3-home { --mg3-ink:#1a1d56; --mg3-muted:#475569; --mg3-line:#dbe3eb; width:100%; max-width:1240px; margin:0 auto; padding:24px 20px 64px; color:var(--mg3-ink); font-family:Arial,Helvetica,sans-serif; }
body .mg3-home :is(h1,h2,h3,p,figure,dl,dd) { margin:0; }
body .mg3-home h1 { color:var(--mg3-ink); font-size:clamp(32px,3.8vw,50px); line-height:1.12; font-weight:700; letter-spacing:-1.2px; }
body .mg3-home h2 { color:var(--mg3-ink); font-size:clamp(25px,2.6vw,34px); line-height:1.2; font-weight:700; letter-spacing:-.6px; }
body .mg3-home h3 { color:var(--mg3-ink); font-size:19px; line-height:1.3; font-weight:700; }
body .mg3-home p { font-size:16px; line-height:1.65; color:var(--mg3-muted); }
body .mg3-home a { color:var(--mg3-ink); }
body .mg3-home .mg3-kicker { color:var(--mg3-ink); font-size:12px; font-weight:700; line-height:1.5; letter-spacing:1.2px; text-transform:uppercase; margin-bottom:14px; }
body .mg3-home .mg3-hero { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; padding:28px 0 32px; }
body .mg3-home .mg3-hero-copy { min-width:0; }
body .mg3-home .mg3-lead { margin-top:20px; max-width:53ch; }
body .mg3-home .mg3-hero-media { min-width:0; height:350px; border-radius:4px; overflow:hidden; background:#edf4f7; }
body .mg3-home .mg3-hero-media img { display:block; width:100%; height:100%; object-fit:cover; object-position:68% center; }
body .mg3-home .mg3-actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-top:26px; }
body .mg3-home .mg3-button { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:46px; padding:12px 18px; border:1px solid transparent; border-radius:8px; font-size:15px; line-height:1.4; font-weight:700; text-decoration:none; }
body .mg3-home .mg3-primary { background:#e7a33e; color:var(--mg3-ink); }
body .mg3-home .mg3-primary:hover { background:#f0b454; }
body .mg3-home .mg3-secondary { background:white; border-color:var(--mg3-ink); }
body .mg3-home .mg3-secondary:hover { background:var(--mg3-ink); color:white; }
body .mg3-home .mg3-text-link { display:inline-flex; align-items:center; gap:12px; min-height:44px; font-size:15px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
body .mg3-home :is(a,button):focus-visible { outline:3px solid #1a1d56 !important; outline-offset:4px !important; box-shadow:0 0 0 3px white !important; }
body .mg3-home .mg3-section-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:16px; margin-bottom:24px; }
body .mg3-home .mg3-services { padding:28px 0 44px; border-top:1px solid var(--mg3-line); }
body .mg3-home .mg3-service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid var(--mg3-line); border-bottom:1px solid var(--mg3-line); }
body .mg3-home .mg3-service { display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:24px; text-decoration:none; border-right:1px solid var(--mg3-line); min-width:0; }
body .mg3-home .mg3-service:last-child { border-right:0; }
body .mg3-home .mg3-service:hover { background:#f1f7fa; }
body .mg3-home .mg3-service svg { width:28px; height:28px; flex-shrink:0; margin-bottom:4px; }
body .mg3-home .mg3-service p { font-size:15px; line-height:1.55; }
body .mg3-home .mg3-service-action { margin-top:auto; padding-top:8px; font-size:14px; font-weight:700; }
body .mg3-home .mg3-services-note { margin-top:16px; font-size:14px; }
body .mg3-home .mg3-services-note a { text-decoration:underline; text-underline-offset:3px; }
body .mg3-home .mg3-company { display:grid; grid-template-columns:1fr 1fr; gap:72px; padding:40px 0 56px; }
body .mg3-home .mg3-company h2 { margin-bottom:20px; }
body .mg3-home .mg3-company p + a { margin-top:16px; }
body .mg3-home .mg3-principles > div { padding:18px 0; border-bottom:1px solid var(--mg3-line); }
body .mg3-home .mg3-principles > div:first-child { padding-top:0; }
body .mg3-home .mg3-principles dt { font-size:19px; font-weight:700; }
body .mg3-home .mg3-principles dt span { color:#475569; margin-right:16px; font-size:12px; }
body .mg3-home .mg3-principles dd { padding-left:34px; margin-top:8px; color:var(--mg3-muted); font-size:15px; line-height:1.6; }
body .mg3-home .mg3-coverage { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:28px; padding:32px; background:#edf6f9; border-left:4px solid #5fc3e2; }
body .mg3-home .mg3-coverage > div { flex:1 1 400px; }
body .mg3-home .mg3-coverage h2 { font-size:28px; margin-bottom:12px; }
body .mg3-home .mg3-help { display:grid; grid-template-columns:1.3fr 1fr; gap:64px; align-items:center; padding:56px 0; }
body .mg3-home .mg3-help h2 { margin-bottom:16px; }
body .mg3-home .mg3-help p + a { margin-top:12px; }
body .mg3-home .mg3-emergency { border-left:3px solid #e7a33e; padding:20px 24px; background:#fafbfc; }
body .mg3-home .mg3-emergency p { color:var(--mg3-ink); font-weight:700; }
body .mg3-home .mg3-emergency a { display:inline-block; font-size:clamp(25px,2.4vw,32px); font-weight:700; line-height:1.5; margin:8px 0; text-decoration:underline; text-underline-offset:5px; }
body .mg3-home .mg3-emergency > span { display:block; color:var(--mg3-muted); font-size:14px; line-height:1.5; }
body .mg3-home .mg3-documents { border-top:1px solid var(--mg3-line); padding-top:32px; }
body .mg3-home .mg3-document-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
body .mg3-home .mg3-document-links a { display:flex; flex-direction:column; gap:10px; padding:16px 0; text-decoration:none; border-bottom:1px solid var(--mg3-line); }
body .mg3-home .mg3-document-links strong { font-size:18px; }
body .mg3-home .mg3-document-links span { font-size:14px; color:var(--mg3-muted); }
body .mg3-home .mg3-document-links a:hover strong { text-decoration:underline; text-underline-offset:4px; }
@media(max-width:900px) {
    body .mg3-home .mg3-hero { gap:24px; }
    body .mg3-home .mg3-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    body .mg3-home .mg3-service:nth-child(2) { border-right:0; }
    body .mg3-home .mg3-service:nth-child(-n+2) { border-bottom:1px solid var(--mg3-line); }
    body .mg3-home .mg3-company, body .mg3-home .mg3-help { gap:32px; }
}
@media(max-width:650px) {
    body .mg3-home { padding:16px 16px 40px; }
    body .mg3-home .mg3-hero { grid-template-columns:minmax(0,1fr); padding:20px 0 28px; }
    body .mg3-home h1 { letter-spacing:-.7px; }
    body .mg3-home .mg3-hero-media { height:200px; }
    body .mg3-home .mg3-actions { gap:12px; margin-top:20px; }
    body .mg3-home .mg3-service { padding:20px 12px; }
    body .mg3-home .mg3-service h3 { font-size:17px; }
    body .mg3-home .mg3-company, body .mg3-home .mg3-help { grid-template-columns:minmax(0,1fr); padding:32px 0; gap:28px; }
    body .mg3-home .mg3-coverage { padding:24px 20px; }
    body .mg3-home .mg3-coverage h2 { font-size:25px; }
    body .mg3-home .mg3-document-links { grid-template-columns:minmax(0,1fr); gap:8px; }
}
/* ===== MOVILLGAS LOTE 03 FIN — CABECERA Y PORTADA v1 ===== */









/* ===== MOVILLGAS LOTE 03 INICIO — CABECERA Y PORTADA v1 =====
   Agregar al final del CSS adicional, después del lote 02.
   Los selectores mg3- pertenecen al nuevo bloque de Inicio.
   No altera la apertura/cierre del menú nativo de GeneratePress.
*/

/* =========================================================
   BARRA SUPERIOR
   ========================================================= */

body .mg-topbar,
body .mg-topbar * {
    box-sizing: border-box;
}

body .mg-topbar {
    background: #1a1d56 !important;
}

body .mg-topbar .mg-topbar-inner {
    width: 100% !important;
    max-width: 1240px !important;
    min-height: 52px !important;
    padding: 6px 20px !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

body .mg-topbar .mg-topbar-group {
    min-width: 0;
    height: auto !important;
    min-height: 44px !important;
    gap: 8px !important;
}

body .mg-topbar .mg-topbar-link {
    height: auto !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: center;
    white-space: normal !important;
}

body .mg-topbar .mg-emergency-link {
    text-align: left;
}

body .mg-topbar .mg-emergency-link strong {
    white-space: nowrap;
}

body .mg-topbar .mg-topbar-payment {
    background: #e7a33e !important;
    color: #1a1d56 !important;
    box-shadow: none !important;
}

body .mg-topbar .mg-topbar-payment:hover {
    background: #f0b454 !important;
}

body .mg-topbar .mg-topbar-secondary {
    border: 1px solid #5fc3e2 !important;
    color: #ffffff !important;
}

body .mg-topbar .mg-topbar-search {
    flex: 1 1 220px !important;
    width: 230px !important;
    max-width: 230px !important;
    min-width: 0 !important;
    height: 46px !important;
    border: 1px solid #8f9bb5 !important;
}

body .mg-topbar .mg-topbar-search input[type="search"] {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    font-size: 16px !important;
}

body .mg-topbar .mg-topbar-search button {
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
}

body .mg-topbar :is(a, input, button):focus-visible {
    outline: 3px solid #ffffff !important;
    outline-offset: 2px !important;
}

body .mg-topbar .mg-topbar-search:focus-within {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

body .mg-topbar .mg-topbar-search :is(input, button):focus-visible {
    outline: 2px solid #1a1d56 !important;
    outline-offset: -3px !important;
}

/* =========================================================
   CABECERA NATIVA DE GENERATEPRESS
   ========================================================= */

body header.site-header .inside-header {
    box-sizing: border-box;
    max-width: 1240px !important;
    padding: 14px 20px !important;
    gap: 16px;
}

body header.site-header .site-branding-container {
    min-width: 0;
    gap: 12px;
}

body header.site-header .site-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

body header.site-header .main-title {
    font-size: 25px;
    line-height: 1.2;
}

body header.site-header .main-title a {
    color: #1a1d56;
}

body header.site-header .main-navigation .main-nav > ul > li > a {
    padding-right: 12px !important;
    padding-left: 12px !important;
    font-size: 14px !important;
}

body header.site-header :is(a, button):focus-visible {
    outline: 3px solid #1a1d56 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 2px #ffffff !important;
}

body header.site-header .menu-toggle {
    min-width: 44px;
    min-height: 44px;
}

@media (min-width: 769px) and (max-width: 1100px) {
    body header.site-header .inside-header {
        flex-wrap: wrap !important;
    }

    body header.site-header #site-navigation {
        flex-basis: 100%;
        margin-left: 0;
    }
}

@media (max-width: 900px) {
    body .mg-topbar .mg-topbar-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 4px !important;
    }

    body .mg-topbar .mg-topbar-group {
        width: 100% !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
    }

    body .mg-topbar .mg-topbar-group:last-child {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
    }

    body .mg-topbar .mg-topbar-search {
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 600px) {
    body .mg-topbar .mg-topbar-inner {
        padding: 6px 12px !important;
    }

    body .mg-topbar .mg-topbar-link {
        padding: 8px !important;
        font-size: 12px !important;
    }

    body .mg-topbar .mg-topbar-group:last-child {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    body .mg-topbar .mg-topbar-search {
        grid-column: 1 / -1;
        order: 3;
    }

    body header.site-header .inside-header {
        padding: 10px 16px !important;
    }

    body header.site-header .site-logo img {
        width: 48px;
        height: 48px;
    }

    body header.site-header .main-title {
        font-size: 22px;
    }
}

/* =========================================================
   CONTENEDOR DE LA PORTADA
   ========================================================= */

body.home:has(.mg3-home) .inside-article {
    padding: 0 !important;
}

body.home:has(.mg3-home) .entry-content {
    margin-top: 0 !important;
}

body .mg3-home,
body .mg3-home * {
    box-sizing: border-box;
}

body .mg3-home {
    --mg3-ink: #1a1d56;
    --mg3-muted: #475569;
    --mg3-line: #dbe3eb;

    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    color: var(--mg3-ink);
    font-family: Arial, Helvetica, sans-serif;
}

body .mg3-home :is(h1, h2, h3, p, figure, dl, dd) {
    margin: 0;
}

body .mg3-home h1 {
    color: var(--mg3-ink);
    font-size: clamp(32px, 3.8vw, 50px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -1.2px;
}

body .mg3-home h2 {
    color: var(--mg3-ink);
    font-size: clamp(25px, 2.6vw, 34px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.6px;
}

body .mg3-home h3 {
    color: var(--mg3-ink);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

body .mg3-home p {
    color: var(--mg3-muted);
    font-size: 16px;
    line-height: 1.65;
}

body .mg3-home a {
    color: var(--mg3-ink);
}

body .mg3-home .mg3-kicker {
    margin-bottom: 14px;
    color: var(--mg3-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* =========================================================
   PORTADA PRINCIPAL
   ========================================================= */

body .mg3-home .mg3-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 28px 0 32px;
}

body .mg3-home .mg3-hero-copy {
    min-width: 0;
}

body .mg3-home .mg3-lead {
    max-width: 53ch;
    margin-top: 20px;
}

body .mg3-home .mg3-hero-media {
    min-width: 0;
    height: 350px;
    overflow: hidden;
    background: #edf4f7;
    border-radius: 4px;
}

body .mg3-home .mg3-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% center;
}

body .mg3-home .mg3-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
}

/* =========================================================
   BOTONES Y ENLACES
   ========================================================= */

body .mg3-home .mg3-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
}

body .mg3-home .mg3-primary {
    background: #e7a33e;
    color: var(--mg3-ink);
}

body .mg3-home .mg3-primary:hover {
    background: #f0b454;
}

body .mg3-home .mg3-secondary {
    background: #ffffff;
    border-color: var(--mg3-ink);
}

body .mg3-home .mg3-secondary:hover {
    background: var(--mg3-ink);
    color: #ffffff;
}

body .mg3-home .mg3-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body .mg3-home :is(a, button):focus-visible {
    outline: 3px solid #1a1d56 !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 3px #ffffff !important;
}

/* =========================================================
   ENCABEZADOS DE SECCIÓN
   ========================================================= */

body .mg3-home .mg3-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

/* =========================================================
   SERVICIOS Y TRÁMITES
   ========================================================= */

body .mg3-home .mg3-services {
    padding: 28px 0 44px;
    border-top: 1px solid var(--mg3-line);
}

body .mg3-home .mg3-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--mg3-line);
    border-bottom: 1px solid var(--mg3-line);
}

body .mg3-home .mg3-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 24px;
    border-right: 1px solid var(--mg3-line);
    text-decoration: none;
}

body .mg3-home .mg3-service:last-child {
    border-right: 0;
}

body .mg3-home .mg3-service:hover {
    background: #f1f7fa;
}

body .mg3-home .mg3-service svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

body .mg3-home .mg3-service p {
    font-size: 15px;
    line-height: 1.55;
}

body .mg3-home .mg3-service-action {
    margin-top: auto;
    padding-top: 8px;
    font-size: 14px;
    font-weight: 700;
}

body .mg3-home .mg3-services-note {
    margin-top: 16px;
    font-size: 14px;
}

body .mg3-home .mg3-services-note a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
   EMPRESA Y PRINCIPIOS
   ========================================================= */

body .mg3-home .mg3-company {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    padding: 40px 0 56px;
}

body .mg3-home .mg3-company h2 {
    margin-bottom: 20px;
}

body .mg3-home .mg3-company p + a {
    margin-top: 16px;
}

body .mg3-home .mg3-principles > div {
    padding: 18px 0;
    border-bottom: 1px solid var(--mg3-line);
}

body .mg3-home .mg3-principles > div:first-child {
    padding-top: 0;
}

body .mg3-home .mg3-principles dt {
    font-size: 19px;
    font-weight: 700;
}

body .mg3-home .mg3-principles dt span {
    margin-right: 16px;
    color: #475569;
    font-size: 12px;
}

body .mg3-home .mg3-principles dd {
    margin-top: 8px;
    padding-left: 34px;
    color: var(--mg3-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* =========================================================
   COBERTURA
   ========================================================= */

body .mg3-home .mg3-coverage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 28px;
    padding: 32px;
    background: #edf6f9;
    border-left: 4px solid #5fc3e2;
}

body .mg3-home .mg3-coverage > div {
    flex: 1 1 400px;
}

body .mg3-home .mg3-coverage h2 {
    margin-bottom: 12px;
    font-size: 28px;
}

/* =========================================================
   ATENCIÓN Y EMERGENCIAS
   ========================================================= */

body .mg3-home .mg3-help {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
}

body .mg3-home .mg3-help h2 {
    margin-bottom: 16px;
}

body .mg3-home .mg3-help p + a {
    margin-top: 12px;
}

body .mg3-home .mg3-emergency {
    padding: 20px 24px;
    background: #fafbfc;
    border-left: 3px solid #e7a33e;
}

body .mg3-home .mg3-emergency p {
    color: var(--mg3-ink);
    font-weight: 700;
}

body .mg3-home .mg3-emergency a {
    display: inline-block;
    margin: 8px 0;
    font-size: clamp(25px, 2.4vw, 32px);
    font-weight: 700;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 5px;
}

body .mg3-home .mg3-emergency > span {
    display: block;
    color: var(--mg3-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   TARIFAS Y DOCUMENTOS
   ========================================================= */

body .mg3-home .mg3-documents {
    padding-top: 32px;
    border-top: 1px solid var(--mg3-line);
}

body .mg3-home .mg3-document-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

body .mg3-home .mg3-document-links a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid var(--mg3-line);
    text-decoration: none;
}

body .mg3-home .mg3-document-links strong {
    font-size: 18px;
}

body .mg3-home .mg3-document-links span {
    color: var(--mg3-muted);
    font-size: 14px;
}

body .mg3-home .mg3-document-links a:hover strong {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    body .mg3-home .mg3-hero {
        gap: 24px;
    }

    body .mg3-home .mg3-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .mg3-home .mg3-service:nth-child(2) {
        border-right: 0;
    }

    body .mg3-home .mg3-service:nth-child(-n + 2) {
        border-bottom: 1px solid var(--mg3-line);
    }

    body .mg3-home .mg3-company,
    body .mg3-home .mg3-help {
        gap: 32px;
    }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 650px) {
    body .mg3-home {
        padding: 16px 16px 40px;
    }

    body .mg3-home .mg3-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 20px 0 28px;
    }

    body .mg3-home h1 {
        letter-spacing: -0.7px;
    }

    body .mg3-home .mg3-hero-media {
        height: 200px;
    }

    body .mg3-home .mg3-actions {
        gap: 12px;
        margin-top: 20px;
    }

    body .mg3-home .mg3-service {
        padding: 20px 12px;
    }

    body .mg3-home .mg3-service h3 {
        font-size: 17px;
    }

    body .mg3-home .mg3-company,
    body .mg3-home .mg3-help {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 32px 0;
    }

    body .mg3-home .mg3-coverage {
        padding: 24px 20px;
    }

    body .mg3-home .mg3-coverage h2 {
        font-size: 25px;
    }

    body .mg3-home .mg3-document-links {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
}

/* ===== MOVILLGAS LOTE 03 FIN — CABECERA Y PORTADA v1 ===== */
/* Iteración 02 — cabecera compartida. No controla el estado del menú GP.
   Los !important de este módulo son puentes a declaraciones importantes
   de 21 y 25–27. Retirarlos junto con sus antecedentes, no por separado. */
:root {
    --mg-brand-navy: #002554;
    --mg-brand-blue: #003e99;
    --mg-brand-link: #0055b8;
    --mg-brand-ice: #eef5fc;
    --mg-brand-amber: #e7a33e;
    --mg-brand-text: #35465b;
    --mg-brand-line: #d9e3ed;
}

body .mg-topbar { background: var(--mg-brand-navy) !important; }
body .mg-topbar .mg-topbar-inner {
    max-width: 1240px !important;
    padding: 6px 24px !important;
}
body .mg-topbar .mg-topbar-group:first-child::after { content: none; }
body .mg-topbar .mg-topbar-link { border-radius: 2px !important; }
body .mg-topbar .mg-topbar-link:hover {
    background: #ffffff12 !important;
    transform: none;
}
body .mg-topbar .mg-topbar-payment {
    background: var(--mg-brand-amber) !important;
    color: var(--mg-brand-navy) !important;
}
body .mg-topbar .mg-topbar-payment:hover { background: #f0b454 !important; }
body .mg-topbar .mg-topbar-secondary { border-color: #9cb9d8 !important; }
body .mg-topbar .mg-topbar-search {
    border-radius: 2px !important;
    background: #ffffff0d !important;
    box-shadow: none;
}
body .mg-topbar .mg-topbar-search:focus-within { background: #fff !important; }
body .mg-topbar .mg-topbar-search:focus-within input[type="search"],
body .mg-topbar .mg-topbar-search:focus-within button { color: var(--mg-brand-navy) !important; }
body .mg-topbar .mg-topbar-search:focus-within input::placeholder { color: #52657b !important; }

body header.site-header {
    background: #fff;
    border-bottom: 3px solid var(--mg-brand-navy);
    box-shadow: none;
}
body header.site-header .inside-header { padding: 14px 32px !important; }
body header.site-header .site-logo img { width: 64px; height: 64px; }
body header.site-header .main-title { font-size: 29px; letter-spacing: -1px; }
body header.site-header .main-title a { color: var(--mg-brand-navy); }
body header.site-header .main-navigation { background: #fff; }
body header.site-header .main-navigation .main-nav > ul > li > a {
    color: var(--mg-brand-navy);
    font-weight: 600;
    text-underline-offset: 5px;
    transition: color .18s ease, box-shadow .18s ease;
}
body header.site-header .main-navigation .main-nav > ul > li > a:hover,
body header.site-header .main-navigation .main-nav > ul > li.current-menu-item > a {
    color: var(--mg-brand-link);
    background: transparent;
    box-shadow: inset 0 -2px var(--mg-brand-amber);
}
body header.site-header .main-navigation .main-nav ul ul {
    background: #fff;
    border-top: 3px solid var(--mg-brand-amber);
    box-shadow: 0 12px 28px #00255412;
}
body header.site-header .main-navigation .main-nav ul ul a {
    color: var(--mg-brand-navy);
    line-height: 1.5;
}
body header.site-header .main-navigation .main-nav ul ul a:hover { background: var(--mg-brand-ice); }
body header.site-header .menu-toggle { color: var(--mg-brand-navy); border-radius: 2px; }
body header.site-header :is(a, button):focus-visible { outline-color: var(--mg-brand-navy) !important; }

@media (max-width: 600px) {
    body .mg-topbar .mg-topbar-inner { padding: 6px 16px !important; }
    body .mg-topbar .mg-topbar-group { gap: 4px !important; }
    body .mg-topbar .mg-topbar-link { padding: 8px 6px !important; }
    body .mg-topbar .mg-topbar-group:last-child {
        /* Dos acciones y buscador completo: no ocultar utilidades. */
        gap: 6px !important;
    }
    body .mg-topbar .mg-topbar-search { height: 44px !important; }
    body .mg-topbar .mg-topbar-search input[type="search"] { height: 42px !important; }
    body .mg-topbar .mg-topbar-search button { height: 42px !important; }
    body header.site-header .inside-header { padding: 9px 16px !important; }
    body header.site-header .site-logo img { width: 44px; height: 44px; }
    body header.site-header .main-title { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
 body header.site-header .main-navigation a, body .mg-topbar .mg-topbar-link { transition: none; }
}

/* V3 — Territorio conectado. Servicios y compromiso viven ahora en módulos de componente.
   Las únicas excepciones !important neutralizan el carrusel histórico de 01. */
.home:has(.mg-corp) .inside-article { padding-block: 0; }
.home:has(.mg-corp) .entry-content { margin-top: 0; }
.mg-home.mg-corp { max-width: none; padding: 0; color: var(--mg-brand-navy); font-family: inherit; background: #fff; --mg-paper: #f5f3ed; --mg-space: clamp(56px, 7vw, 100px); }
.mg-corp *, .mg-corp *::before, .mg-corp *::after { box-sizing: border-box; }
.mg-corp :is(h1,h2,h3,p,figure) { margin: 0; }
.mg-corp :is(h1,h2,h3) { color: var(--mg-brand-navy); font-weight: 700; }
.mg-corp h2 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -.045em; }
.mg-corp h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.mg-corp p { color: var(--mg-brand-text); font-size: 17px; line-height: 1.7; }
.mg-corp a { color: var(--mg-brand-blue); }
.mg-corp :is(a,button):focus-visible { outline: 3px solid var(--mg-brand-link); outline-offset: 5px; }
.mg-corp .mg-corp-inner { width: min(100%,1280px); margin-inline: auto; padding-inline: 40px; }
.mg-corp .mg-corp-eyebrow { display: block; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; color: var(--mg-brand-link); }
/* Una sola escena: el velo protege el mensaje, sin separar la imagen en una tarjeta. */
.mg-territory { isolation: isolate; position: relative; background: var(--mg-brand-navy); overflow: hidden; }
.mg-territory-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 56%; z-index: -3; }
.mg-territory-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,24,55,.96),rgba(0,24,55,.84) 36%,rgba(0,24,55,.2) 78%),linear-gradient(0deg,rgba(0,24,55,.5),transparent 45%); z-index: -2; }
.mg-network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; stroke: var(--mg-brand-amber); stroke-width: 1; opacity: .5; pointer-events: none; }
.mg-network circle { fill: var(--mg-brand-amber); }
.mg-corp .mg-territory-content { padding-block: clamp(60px,7vw,100px) 105px; }
.mg-corp .mg-territory .mg-corp-eyebrow { color: #f3bb69; margin-bottom: 28px; }
.mg-corp .mg-territory h1 { max-width: 14ch; color: #fff; font-size: clamp(44px,5.4vw,78px); line-height: 1.02; letter-spacing: -.05em; }
.mg-territory h1 span { font-weight: 400; }
.mg-corp .mg-territory p { max-width: 44ch; color: #e2eaf3; margin-top: 26px; font-size: 17px; }
.mg-corp .mg-territory-link { display: inline-flex; gap: 34px; align-items: center; min-height: 48px; margin-top: 25px; border-bottom: 1px solid #e7a33e; color: #fff; text-decoration: none; font-weight: 600; }
.mg-territory-link span { color: #f3bb69; font-size: 24px; }
.mg-corp .mg-territory-link:hover { color: #f3bb69; }
.mg-corp .mg-territory-link:focus-visible { outline-color: #fff; }
.mg-territory-caption { position: absolute; bottom: 32px; right: max(40px,calc((100vw - 1200px)/2)); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.mg-territory-caption > span { display: block; width: 36px; height: 2px; background: var(--mg-brand-amber); }
/* Directorio: factura en superficie azul; tres filas de acceso, sin cuatro tarjetas. */
.mg-service-hub { padding-block: 42px 56px; background: var(--mg-paper); border-bottom: 1px solid #e1e2dc; }
.mg-service-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; margin-bottom: 28px; }
.mg-service-heading .mg-corp-eyebrow { grid-column: 1/-1; }
.mg-corp .mg-service-heading h2 { font-size: clamp(28px,3vw,40px); }
.mg-corp .mg-service-heading p { font-size: 14px; }
/* Relato institucional: manifiesto, compromiso y dos ritmos fotográficos. */
.mg-editorial { padding-top: var(--mg-space); }
.mg-editorial-intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px 80px; align-items: end; }
.mg-editorial-intro .mg-corp-eyebrow { grid-column: 1/-1; }
.mg-editorial-intro h2 { max-width: 15ch; }
.mg-story { display: grid; align-items: center; grid-template-columns: 1.6fr 1fr; gap: 64px; }
.mg-story figure { aspect-ratio: 1.45; overflow: hidden; background: #e9eef2; }
.mg-story img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; display: block; }
.mg-story-copy { max-width: 34ch; padding-block: 32px; }
.mg-story-number { display: block; font-size: 12px; color: var(--mg-brand-link); letter-spacing: .12em; margin-bottom: 22px; }
.mg-corp .mg-story p { margin-top: 20px; }
.mg-story-line { display: block; height: 2px; width: 72px; background: var(--mg-brand-amber); margin-top: 34px; position: relative; }
.mg-story-line::after { content: ''; width: 8px; height: 8px; border: 2px solid var(--mg-brand-amber); border-radius: 50%; position: absolute; right: -8px; top: -3px; }
.mg-story-quality { grid-template-columns: 1fr 1.25fr; margin: 64px 0 var(--mg-space) 10%; gap: 64px; }
.mg-story-quality figure { aspect-ratio: 1.7; }
.mg-community { position: relative; isolation: isolate; min-height: 390px; display: grid; align-items: center; overflow: hidden; background: var(--mg-brand-navy); }
.mg-community > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; z-index: -2; }
.mg-community::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,25,56,.94),rgba(0,25,56,.7) 40%,rgba(0,25,56,.05)); z-index: -1; }
.mg-community-copy { max-width: 42ch; padding-block: 64px; }
.mg-corp .mg-community h3 { color: #fff; font-size: clamp(38px,5vw,64px); }
.mg-corp .mg-community p { color: #e2eaf3; margin-top: 22px; }
.mg-community .mg-story-number { color: #f3bb69; }
/* Carrusel intacto: panel editorial a izquierda, banners íntegros a derecha.
   Los tiempos, transform y controles siguen a cargo de Carrusel.js. */
.mg-corp .mg-news-section { width: 100%; margin-inline: 0; padding: var(--mg-space) 40px; background: var(--mg-paper); border: 0; }
.mg-corp .mg-news-inner { max-width: 1200px; display: grid; grid-template-columns: .7fr 1.3fr; column-gap: 64px; margin-inline: auto; }
.mg-corp .mg-news-heading { grid-row: 1/4; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; margin: 0 !important; }
.mg-corp .mg-news-heading > div:first-child { display: block; }
.mg-corp .mg-news-eyebrow { color: var(--mg-brand-link); margin-bottom: 18px !important; }
.mg-corp .mg-news-title { color: var(--mg-brand-navy) !important; font-size: clamp(32px,3.6vw,48px) !important; line-height: 1.08; text-align: left; }
.mg-corp .mg-editorial-news-intro { margin-top: 22px; font-size: 16px; max-width: 32ch; }
.mg-corp .mg-news-viewport { min-width: 0; width: 100%; border-radius: 0; box-shadow: none; }
.mg-corp .mg-news-card { height: auto; min-height: 0; aspect-ratio: 1672/941; border-radius: 0; background-size: contain; background-color: var(--mg-brand-navy); }
.mg-corp .mg-news-card:nth-child(1) { background-image: url('https://www.movillgas.com/wp-content/uploads/2026/09/inicio_principal.png'); }
.mg-corp .mg-news-card:nth-child(2) { background-image: url('https://www.movillgas.com/wp-content/uploads/2026/09/inicio_primera_img.png'); }
.mg-corp .mg-news-card:nth-child(3) { background-image: url('https://www.movillgas.com/wp-content/uploads/2026/09/inicio_segunda_img.png'); }
.mg-corp .mg-news-prev, .mg-corp .mg-news-next { width: 48px; height: 48px; border-radius: 50%; box-shadow: none; color: var(--mg-brand-navy); background: transparent; border-color: #a9bbc9; }
.mg-corp .mg-news-prev:hover, .mg-corp .mg-news-next:hover { background: var(--mg-brand-navy); color: #fff; }
.mg-corp .mg-news-dots { margin-top: 16px !important; }
.mg-corp .mg-news-dot { min-width: 28px; min-height: 28px; border: 8px solid var(--mg-paper); background: #64748b; }
.mg-corp .mg-news-dot.is-active { background: var(--mg-brand-blue); }
.mg-corp .mg-corp-news-note { margin-top: 12px; font-size: 12px; }
@media (max-width: 1000px) {
 .mg-editorial-intro, .mg-story, .mg-story-quality { gap: 32px; }
 .mg-corp .mg-news-inner { column-gap: 32px; }
}
@media (max-width: 700px) {
 .mg-corp .mg-corp-inner { padding-inline: 22px; }
 .mg-corp .mg-territory-content { padding-block: 46px 160px; }
 .mg-corp .mg-territory h1 { max-width: 13ch; font-size: clamp(42px,10vw,62px); }
 .mg-corp .mg-territory .mg-corp-eyebrow { font-size: 10px; max-width: 30ch; margin-bottom: 22px; }
 .mg-corp .mg-territory p { font-size: 15px; max-width: 36ch; }
 .mg-territory-photo { object-position: 66% bottom; }
 .mg-territory-shade { background: linear-gradient(180deg,rgba(0,24,55,.98),rgba(0,24,55,.84) 54%,rgba(0,24,55,.15)); }
 .mg-territory-caption { left: 22px; right: 22px; bottom: 24px; font-size: 9px; letter-spacing: .06em; }
 .mg-network { width: 180%; left: -80%; }
 .mg-service-hub { padding-block: 30px 36px; }
 .mg-service-heading { display: block; }
 .mg-service-heading h2 { margin-top: 10px; }
 .mg-service-heading p { margin-top: 10px; }
 .mg-editorial-intro { display: block; }
 .mg-editorial-intro h2 { margin-top: 18px; }
 .mg-editorial-intro p { margin-top: 24px; }
 .mg-story { grid-template-columns: minmax(0,1fr); gap: 0; }
 .mg-story figure { aspect-ratio: 1.25; }
 .mg-story-copy { padding: 24px 0 0 28px; border-left: 1px solid #cad2d8; max-width: 40ch; }
 .mg-story-number { margin-bottom: 12px; }
 .mg-story-line { margin-top: 22px; }
 .mg-story-quality { margin: 44px 0 56px; }
 .mg-story-quality figure { grid-row: 1; margin-left: 40px; aspect-ratio: 1.15; }
 .mg-community { min-height: 400px; align-items: end; }
 .mg-community-copy { padding-block: 140px 34px; max-width: 34ch; }
 .mg-community::after { background: linear-gradient(0deg,rgba(0,24,55,.96),rgba(0,24,55,.68) 55%,rgba(0,24,55,.08)); }
 .mg-corp .mg-news-section { padding-inline: 22px; }
 .mg-corp .mg-news-inner { display: block; }
 .mg-corp .mg-news-heading { flex-direction: row; align-items: end; gap: 16px; margin-bottom: 24px !important; }
 .mg-corp .mg-news-title { font-size: 30px !important; }
 .mg-corp .mg-editorial-news-intro { font-size: 14px; }
 .mg-corp .mg-news-controls { gap: 6px; flex-shrink: 0; }
 .mg-corp .mg-news-prev, .mg-corp .mg-news-next { width: 44px; height: 44px; }
 .mg-corp .mg-news-placeholder-content { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 20px !important; overflow: visible !important; clip: auto !important; clip-path: none !important; white-space: normal !important; background: #fff; }
 .mg-corp .mg-news-card { aspect-ratio: auto; padding-top: 56.28% !important; background-size: 100% auto; background-position: center top; }
 .mg-corp .mg-news-card h3 { font-size: 22px; }
 .mg-corp .mg-news-card p { margin-top: 10px; font-size: 15px; }
 .mg-corp .mg-news-tag { display: block; margin-bottom: 10px; color: var(--mg-brand-link); font-size: 11px; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
 .mg-corp .mg-news-track, .mg-corp .mg-home-reveal, .mg-corp .mg-about-reveal { transition: none; animation: none; }
}

/* V2 — Pie compartido. Conserva literalmente el widget existente.
   Puentes !important limitados a las propiedades bloqueadas por 15–16. */












@media (max-width: 800px) {
 
 
 
}
@media (max-width: 500px) {
 
 
 
}
/* V3: componente aislado. Reemplaza la retícula anidada de servicios V2. */
.mg-access-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.4fr); gap: 32px; align-items: stretch; }
.mg-access-list { display: flex; flex-direction: column; min-width: 0; }
.mg-corp .mg-access-link { display: flex; align-items: center; gap: 22px; min-width: 0; width: 100%; padding: 24px 0; border-bottom: 1px solid #c9d3db; color: var(--mg-brand-navy); text-decoration: none; }
.mg-access-top { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.mg-access-number { font-size: 11px; color: #536574; }
.mg-access-icon { display: flex; width: 30px; height: 30px; color: var(--mg-brand-link); }
.mg-access-icon svg { display: block; width: 100%; height: 100%; }
.mg-access-copy { flex: 1 1 0; min-width: 0; }
.mg-corp .mg-access-copy h3 { font-size: clamp(21px,2vw,26px); line-height: 1.2; letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; }
.mg-corp .mg-access-copy p { font-size: 14px; line-height: 1.6; margin-top: 8px; overflow-wrap: normal; word-break: normal; }
.mg-access-action { display: flex; gap: 12px; align-items: center; flex: 0 0 auto; font-size: 0; }
.mg-ui-arrow { width: 24px; height: 24px; flex: 0 0 24px; transition: transform .2s ease; }
.mg-corp .mg-access-primary { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 26px; padding: 32px; background: var(--mg-brand-navy); color: #fff; border-bottom: 3px solid var(--mg-brand-amber); }
.mg-access-primary .mg-access-top { justify-content: space-between; }
.mg-access-primary .mg-access-number { color: #d3e3f4; }
.mg-access-primary .mg-access-icon { color: var(--mg-brand-amber); width: 36px; height: 36px; }
.mg-corp .mg-access-primary h3 { font-size: clamp(28px,3vw,40px); color: #fff; max-width: 12ch; }
.mg-corp .mg-access-primary p { color: #d3e3f4; max-width: 32ch; }
.mg-access-primary .mg-access-action { font-size: 15px; justify-content: space-between; color: #f3bb69; border-top: 1px solid #ffffff40; padding-top: 18px; }
.mg-corp .mg-access-link:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.mg-access-link:hover .mg-ui-arrow, .mg-territory-link:hover .mg-ui-arrow { transform: translateX(4px); }
.mg-corp .mg-access-primary:focus-visible { outline-offset: -8px; outline-color: #fff; }
/* Compromiso: fotografía y mensaje institucional en una superficie continua. */
.mg-pledge { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); margin-block: 60px 72px; background: var(--mg-brand-navy); color: #fff; overflow: hidden; }
.mg-pledge-media { min-width: 0; min-height: 300px; }
.mg-pledge-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.mg-pledge-copy { padding: clamp(30px,4vw,58px); align-self: center; }
.mg-corp .mg-pledge .mg-corp-eyebrow { color: #f3bb69; margin-bottom: 24px; }
.mg-corp .mg-pledge h3 { color: #fff; font-size: clamp(30px,3.7vw,52px); line-height: 1.08; }
.mg-corp .mg-pledge p { color: #dbe7f2; margin-top: 24px; font-size: 16px; }
.mg-pledge-connection { display: flex; align-items: center; gap: 8px; margin-top: 32px; color: #e7a33e; }
.mg-pledge-connection span { width: 64px; height: 1px; background: currentColor; transform-origin: left center; }
.mg-pledge-connection i { width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
@media (max-width: 900px) {
 .mg-access-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .mg-corp .mg-access-primary { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 26px; }
 .mg-access-primary .mg-access-top { grid-column: 2; grid-row: 1; align-self: start; }
 .mg-access-primary .mg-access-number { display: none; }
 .mg-access-primary .mg-access-copy { grid-column: 1; grid-row: 1; }
 .mg-corp .mg-access-primary h3 { max-width: none; }
 .mg-access-primary .mg-access-action { grid-column: 1/-1; }
 .mg-access-primary .mg-access-copy p { max-width: 58ch; }
 .mg-pledge { grid-template-columns: minmax(0,1fr); }
 .mg-pledge-media { min-height: 0; aspect-ratio: 2; }
}
@media (max-width: 480px) {
 .mg-corp .mg-access-link { gap: 14px; }
 .mg-access-number { display: none; }
 .mg-access-top { align-self: flex-start; }
 .mg-access-icon { width: 24px; height: 24px; }
 .mg-corp .mg-access-copy h3 { font-size: 21px; }
 .mg-corp .mg-access-primary h3 { font-size: 29px; }
 .mg-access-primary .mg-access-icon { width: 28px; height: 28px; }
 .mg-pledge { margin-block: 36px 48px; }
 .mg-pledge-media { aspect-ratio: 1.5; }
 .mg-pledge-copy { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { .mg-ui-arrow { transition: none; transform: none; } }
/* V3: presencia territorial. SVG real, sin rellenos que impliquen cobertura. */
.mg-presence { padding-block: var(--mg-space); background: #edf3f7; border-bottom: 1px solid #cbd9e4; }
.mg-presence-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 20px 60px; align-items: end; }
.mg-presence-heading .mg-corp-eyebrow { grid-column: 1/-1; }
.mg-corp .mg-presence-heading h2 { font-size: clamp(34px,4vw,56px); }
.mg-corp .mg-presence-heading p { font-size: 15px; }
.mg-presence-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 64px; margin-top: 44px; align-items: start; }
.mg-presence-map { min-width: 0; }
.mg-map-canvas { position: relative; max-width: 480px; aspect-ratio: 480/580; margin-inline: auto; }
.mg-presence-svg { display: block; width: 100%; height: 100%; }
.mg-map-pins { position: absolute; inset: 0; pointer-events: none; }
.mg-corp .mg-map-pin { position: absolute; width: 44px; height: 44px; padding: 0; transform: translate(-50%,-50%); border: 0; background: transparent; color: #002554; cursor: pointer; pointer-events: auto; display: grid; place-items: center; }
.mg-map-pin span { display: grid; place-items: center; width: 20px; height: 20px; background: #e7a33e; border: 2px solid #002554; border-radius: 50%; font-size: 11px; font-weight: 700; }
.mg-map-pin:hover span, .mg-map-pin[aria-pressed="true"] span { box-shadow: 0 0 0 6px #e7a33e55; }
.mg-map-pin:focus-visible { outline: 2px solid #002554; outline-offset: 1px; border-radius: 50%; }
.mg-corp .mg-map-caption, .mg-corp .mg-map-status { font-size: 12px; line-height: 1.6; margin-top: 12px; max-width: 60ch; }
.mg-corp .mg-map-status { padding-left: 14px; border-left: 2px solid #e7a33e; }
.mg-presence-controls label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.mg-presence-controls select { width: 100%; min-width: 0; max-width: 100%; min-height: 48px; padding: 12px; color: #002554; background: #fff; border: 1px solid #96adc0; font-size: 16px; }
.mg-corp .mg-presence-controls select:focus-visible { outline: 3px solid #0055b8; outline-offset: 3px; }
.mg-presence-panel { margin-top: 24px; padding: 32px; background: #fff; border-top: 3px solid #e7a33e; }
.mg-corp .mg-presence-type { font-size: 11px; color: #0055b8; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.mg-corp .mg-presence-name { font-size: 32px; overflow-wrap: break-word; }
.mg-corp .mg-presence-place { font-size: 15px; font-weight: 600; margin-top: 12px; }
.mg-corp .mg-presence-description { margin-top: 20px; font-size: 15px; }
.mg-presence-photo { margin-top: 24px; }
.mg-presence-photo img { width: 100%; height: auto; aspect-ratio: 8/5; object-fit: cover; }
.mg-corp .mg-presence-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; text-underline-offset: 5px; font-weight: 600; }
.mg-presence-fallback { margin-top: 22px; font-size: 14px; border-block: 1px solid #cbd9e4; padding-block: 14px; }
.mg-presence-fallback summary { min-height: 44px; cursor: pointer; padding-block: 10px; }
.mg-presence-fallback h4 { margin: 20px 0 12px; }
.mg-presence-fallback ul { margin: 0 0 20px 20px; }
.mg-presence-fallback li { margin-bottom: 8px; }
.mg-presence [hidden] { display: none; }
@media (max-width: 800px) {
 .mg-presence-heading { display: block; }
 .mg-presence-heading h2 { margin-block: 18px 24px; }
 .mg-presence-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .mg-map-canvas { max-width: 330px; }
 .mg-presence-panel { padding: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
 .mg-map-pin:hover span, .mg-map-pin:focus-visible span { animation: mg-pin-light 1s ease-out 2; }
 @keyframes mg-pin-light { 0% { box-shadow: 0 0 0 0 #e7a33e80; } 100% { box-shadow: 0 0 0 9px #e7a33e00; } }
}
