/* =========================================================
   MOTOGRAPHIX V9
   SERVICES PAGE
   ========================================================= */

.mgx-services-page {
    position: relative;

    background: #000000;

    padding: 0 0 110px;
}


.mgx-services-container {
    width: min(1280px, calc(100% - 48px));

    margin: 0 auto;
}


/* =========================================================
   HERO SERVICIOS
   ========================================================= */

.mgx-services-hero {
    position: relative;

    width: 100%;

    padding: 48px 0 46px;

    overflow: hidden;

    background:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.22) 0%,
rgba(0, 0, 0, 0.14) 35%,
rgba(0, 0, 0, 0.10) 65%,
rgba(0, 0, 0, 0.22) 100%
        ),
        url('../images/services/services-bg.webp');

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


/* OVERLAY SUPERIOR / INFERIOR */

.mgx-services-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.02) 42%,
            rgba(0, 0, 0, 0.40) 100%
        );

    pointer-events: none;

    z-index: 1;
}


/* CONTENIDO SOBRE EL FONDO */

.mgx-services-hero .mgx-services-container {
    position: relative;

    z-index: 2;
}


/* =========================================================
   HERO — TEXTO
   ========================================================= */

.mgx-services-kicker {
    display: inline-block;

    margin-bottom: 14px;

    color: #E30613;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.6px;

    text-transform: uppercase;
}


.mgx-services-title {
    margin: 0;

    max-width: 920px;

    color: #FFFFFF;

    font-size: clamp(34px, 4vw, 58px);
    font-weight: 900;

    line-height: 0.95;

    letter-spacing: -1px;
}


.mgx-services-text {
    margin: 22px 0 0;

    max-width: 820px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 17px;
    font-weight: 700;

    line-height: 1.7;
}


/* =========================================================
   HERO — BOTONES / CHIPS
   ========================================================= */

.mgx-services-chips {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


.mgx-services-chips a {
    min-height: 42px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.54);

    color: #FFFFFF;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;

    backdrop-filter: blur(6px);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.4px;

    text-transform: uppercase;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.mgx-services-chips a:hover {
    background: #E30613;

    border-color: #E30613;

    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(227, 6, 19, 0.22);
}


/* =========================================================
   BLOQUES DE SERVICIOS
   ========================================================= */

.mgx-service-block {
    display: grid;

    grid-template-columns: 1.08fr 0.92fr;

    align-items: center;

    gap: 34px;

    padding: 42px;

    margin-top: 34px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.015)
        );

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 28px;

    overflow: hidden;
}


.mgx-service-block.is-reverse .mgx-service-media {
    order: 2;
}


.mgx-service-block.is-reverse .mgx-service-content {
    order: 1;
}


/* =========================================================
   IMAGEN SERVICIO — FORMATO 1:1
   ========================================================= */

.mgx-service-media {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    border-radius: 22px;

    background: #050505;
}


.mgx-service-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center center;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}


/* EFECTO SUTIL */

.mgx-service-block:hover .mgx-service-media img {
    transform: scale(1.025);

    filter: brightness(1.04);
}


/* =========================================================
   CONTENIDO SERVICIO
   ========================================================= */

.mgx-service-content {
    position: relative;
}


.mgx-service-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #E30613;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.mgx-service-content h2 {
    margin: 0 0 16px;

    color: #FFFFFF;

    font-size: clamp(28px, 3vw, 42px);
    font-weight: 900;

    line-height: 1.02;

    letter-spacing: -0.7px;
}


.mgx-service-content p {
    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    font-weight: 700;

    line-height: 1.75;
}


/* =========================================================
   LISTA SERVICIO
   ========================================================= */

.mgx-service-list {
    margin: 0 0 28px;

    padding: 0;

    list-style: none;

    display: grid;

    gap: 12px;
}


.mgx-service-list li {
    position: relative;

    padding-left: 20px;

    color: rgba(255, 255, 255, 0.86);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.6;
}


.mgx-service-list li::before {
    content: "";

    position: absolute;

    top: 10px;
    left: 0;

    width: 7px;
    height: 7px;

    border-radius: 999px;

    background: #E30613;
}


/* =========================================================
   BOTÓN COTIZAR
   ========================================================= */

.mgx-service-btn {
    min-width: 190px;
    height: 52px;

    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #FF1825 0%,
            #E30613 60%,
            #C8000C 100%
        );

    color: #FFFFFF;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.6px;

    text-decoration: none;
    text-transform: uppercase;

    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.35),
        0 8px 28px rgba(227, 6, 19, 0.20);

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
}


.mgx-service-btn:hover {
    transform: translateY(-2px);

    filter: brightness(1.05);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.40),
        0 9px 32px rgba(227, 6, 19, 0.28);
}


/* =========================================================
   MOBILE TEMPORAL
   ========================================================= */

@media (max-width: 899px) {

    .mgx-services-container {
        width: min(100%, calc(100% - 24px));
    }


    /* =====================================================
       HERO MOBILE
       ===================================================== */

    .mgx-services-hero {
        padding: 34px 0 32px;

        background-position: center center;
    }


    .mgx-services-kicker {
        display: block;

        width: 100%;

        margin-bottom: 12px;

        text-align: center;
    }


    .mgx-services-title {
        width: 100%;
        max-width: 100%;

        margin-left: auto;
        margin-right: auto;

        text-align: center;

        font-size: 34px;
        line-height: 0.98;
    }


    .mgx-services-text {
        width: 100%;
        max-width: 100%;

        margin-left: auto;
        margin-right: auto;

        text-align: center;

        font-size: 15px;
        line-height: 1.7;
    }


    /* =====================================================
       BOTONES SUPERIORES
       ===================================================== */

    .mgx-services-chips {
        width: 100%;

        justify-content: center;

        gap: 10px;
    }


    .mgx-services-chips a {
        width: 100%;

        justify-content: center;

        padding: 0 16px;

        text-align: center;
    }


    /* =====================================================
       BLOQUES DE SERVICIO
       ===================================================== */

    .mgx-service-block {
        grid-template-columns: 1fr;

        gap: 22px;

        padding: 18px;

        margin-top: 20px;

        border-radius: 20px;
    }


    .mgx-service-block.is-reverse .mgx-service-media,
    .mgx-service-block.is-reverse .mgx-service-content {
        order: initial;
    }


    /* =====================================================
       IMÁGENES
       ===================================================== */

    .mgx-service-media {
        width: 100%;

        aspect-ratio: 1 / 1;

        min-height: 0;

        border-radius: 16px;
    }


    /* =====================================================
       TEXTO DE CADA SERVICIO
       ===================================================== */

    .mgx-service-content h2 {
        font-size: 26px;
    }


    .mgx-service-content p {
        font-size: 14px;
    }


    .mgx-service-list li {
        font-size: 14px;
    }


    /* =====================================================
       BOTÓN COTIZAR
       ===================================================== */

    .mgx-service-btn {
        width: 100%;

        min-width: 100%;

        height: 50px;
    }

}

