/* =========================================================
   MOTOGRAPHIX V9
   SERVICES PAGE
   ========================================================= */

.mgx-services-page {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(227,6,19,.10), transparent 30%), linear-gradient(180deg,#050507 0%,#010102 52%,#000 100%);
    padding: 18px 0 112px;
}


.mgx-services-container {
    width: min(1280px, calc(100% - 48px));

    margin: 0 auto;
}


/* =========================================================
   HERO SERVICIOS
   ========================================================= */

.mgx-services-hero {
    position: relative;

    width: 100%;

    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;
    padding: 58px 0 54px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}


/* 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;
}

.mgx-services-hero .mgx-services-container {
    padding: 34px 38px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 32px;
    background: linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.025)),rgba(8,8,11,.56);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 28px 70px rgba(0,0,0,.32);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
}



/* =========================================================
   HERO — TEXTO
   ========================================================= */

.mgx-services-kicker {
    display: inline-block;

    margin-bottom: 14px;

    color: #E30613;

    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.4px;
}


.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;

    line-height: 1.7;
    font-weight: 500;
    color: rgba(255,255,255,.72);
    font-size: 16px;
}


/* =========================================================
   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;

    color: #FFFFFF;
    border-radius: 999px;

    font-size: 13px;
    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;
    background: linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.035)),rgba(10,10,13,.54);
    border: 1px solid rgba(255,255,255,.14);
    font-weight: 600;
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}


.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;

    overflow: hidden;
    background: linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.018)),rgba(12,12,16,.58);
    border: 1px solid rgba(255,255,255,.115);
    border-radius: 30px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 26px 70px rgba(0,0,0,.28);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    backdrop-filter: blur(22px) saturate(145%);
}


.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;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 22px 50px rgba(0,0,0,.30);
}


.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;
    letter-spacing: 1.4px;

    text-transform: uppercase;
    font-weight: 700;
}


.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;

    font-size: 16px;

    line-height: 1.75;
    font-weight: 500;
    color: rgba(255,255,255,.70);
}


/* =========================================================
   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;

    font-size: 15px;

    line-height: 1.6;
    font-weight: 500;
    color: rgba(255,255,255,.70);
}


.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;
    letter-spacing: 0.6px;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.2s ease,
        filter 0.2s ease,
        box-shadow 0.2s ease;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18),0 12px 30px rgba(227,6,19,.20);
}


.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
   ========================================================= */

@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;
    }

}

