/* =========================================================
   MOTOGRAPHIX V9
   HEADER DESKTOP
   ========================================================= */

.mgx-header-desktop {
    position: relative;
    z-index: 1000;
    width: 100%;
    height: 90px;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* CONTENEDOR */

.mgx-header-desktop-inner {
    width: 100%;
    max-width: 1800px;
    height: 100%;
    margin: 0 auto;
    padding: 0 42px;

    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* LOGO */

.mgx-desktop-logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.mgx-desktop-logo img {
    display: block;
    width: 250px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

/* MENU CENTRAL */

.mgx-desktop-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.mgx-desktop-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 42px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.mgx-desktop-nav li {
    margin: 0;
    padding: 0;
}

.mgx-desktop-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 90px;

    color: #ffffff;
    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.mgx-desktop-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: #e30613;

    transition: width 0.25s ease;
}

.mgx-desktop-nav a:hover {
    color: #ffffff;
}

.mgx-desktop-nav a:hover::after {
    width: 100%;
}

/* ACCIONES DERECHA */

.mgx-desktop-actions {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 26px;
}

/* REDES */

.mgx-desktop-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mgx-desktop-social a {
    width: 24px;
    height: 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    text-decoration: none;

    font-size: 15px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.mgx-desktop-social a:hover {
    color: #e30613;
    transform: translateY(-2px);
}

/* WHATSAPP */

.mgx-desktop-whatsapp {
    min-width: 145px;
    height: 46px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background: #e30613;
    color: #ffffff;

    border-radius: 999px;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.3px;
    text-transform: uppercase;

    box-sizing: border-box;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.mgx-header-icon {
    width: 18px;
    height: 18px;

    display: block;

    flex: 0 0 18px;

    color: currentColor;

    fill: none;
    stroke: currentColor;

    pointer-events: none;
}

.mgx-desktop-social .mgx-header-icon {
    width: 21px;
    height: 21px;

    flex-basis: 21px;
}

.mgx-header-icon--whatsapp {
    width: 20px;
    height: 20px;

    flex-basis: 20px;
}

.mgx-desktop-whatsapp:hover {
    background: #ff1726;
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 6px 18px rgba(227, 6, 19, 0.25);
}

/* =========================================================
   TABLET / ESCRITORIO PEQUEÑO
   ========================================================= */

@media (max-width: 1200px) {

    .mgx-header-desktop-inner {
        padding: 0 28px;
    }

    .mgx-desktop-logo img {
        width: 215px;
    }

    .mgx-desktop-nav ul {
        gap: 28px;
    }

    .mgx-desktop-nav a {
        font-size: 13px;
    }

    .mgx-desktop-actions {
        gap: 18px;
    }

    .mgx-desktop-social {
        gap: 12px;
    }

    .mgx-desktop-whatsapp {
        min-width: 130px;
        padding: 0 18px;
    }
}

/* =========================================================
   OCULTAR DESKTOP EN MOVIL
   ========================================================= */

@media (max-width: 899px) {

    .mgx-header-desktop {
        display: none;
    }
}