/* =========================================
   HEADER
========================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: white;
}


/* =========================================
   HEADER SUPERIOR DESKTOP
========================================= */

.header-top {
    position: relative;
    width: 100%;
    height: 140px;
    max-width: 1500px;
    margin: 0 auto;

    padding:
        18px
        48px
        14px;

    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: center;
}


/* =========================================
   LOGO DESKTOP
========================================= */

.logo,
.logo:link,
.logo:visited {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    justify-self: center;

    color: white;
    text-decoration: none;
}


.logo-main {
    color: var(--gold);

    font-size: 54px;
    font-weight: 800;

    line-height: .95;

    letter-spacing: 2px;
}


.logo-sub {
    margin-top: 10px;
    padding-bottom: 8px;

    color: white;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;

    white-space: nowrap;

    border-bottom:
        2px solid
        var(--gold);
}


/* =========================================
   WHATSAPP DESKTOP
========================================= */

.header-action {
    justify-self: end;
}


.header-whatsapp,
.header-whatsapp:link,
.header-whatsapp:visited {
    min-width: 142px;
    height: 46px;

    padding:
        0
        19px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 999px;

    background: #25D366;

    color: white;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0
        8px
        24px
        rgba(0,0,0,.25);

    transition:
        transform .2s ease,
        filter .2s ease;
}


.header-whatsapp:hover {
    transform: translateY(-2px);

    filter: brightness(1.06);
}


.header-whatsapp svg {
    width: 22px;
    height: 22px;

    fill: currentColor;
}


/* =========================================
   MENÚ DESKTOP
========================================= */

.header-nav-row {
    width: 100%;

    min-height: 72px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(5,5,5,.78);

    border-top:
        1px solid
        rgba(255,255,255,.025);

    border-bottom:
        1px solid
        rgba(255,255,255,.04);
}


.header .nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 72px;

    white-space: nowrap;
}


.header .nav a,
.header .nav a:link,
.header .nav a:visited,
.header .nav a:active {
    color: white !important;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    transition:
        color .2s ease,
        transform .2s ease;
}


.header .nav a:hover {
    color: var(--gold-light) !important;

    transform: translateY(-1px);
}


/* =========================================
   HEADER MÓVIL OCULTO EN DESKTOP
========================================= */

.header-mobile {
    display: none;
}


/* =========================================
   BACKDROP
========================================= */

.menu-backdrop {
    position: fixed;

    inset: 0;

    z-index: 1900;

    background:
        rgba(0,0,0,.76);

    backdrop-filter: blur(4px);

    -webkit-backdrop-filter: blur(4px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}


.menu-backdrop.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================
   MENÚ MÓVIL
========================================= */

.mobile-menu {
    position: fixed;

    top: 0;
    right: 0;

    width:
        min(
            86vw,
            360px
        );

    height: 100vh;
    height: 100dvh;

    z-index: 2000;

    padding:
        78px
        28px
        40px;

    background:
        linear-gradient(
            180deg,
            #101010,
            #060606
        );

    transform: translateX(105%);

    transition: transform .3s ease;

    display: flex;

    flex-direction: column;

    box-shadow:
        -20px
        0
        50px
        rgba(0,0,0,.45);

    overflow-y: auto;
}


.mobile-menu.active {
    transform: translateX(0);
}


/* =========================================
   BOTÓN CERRAR
========================================= */

.close-menu {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    border:
        1px solid
        var(--gold);

    background:
        rgba(201,152,59,.08);

    cursor: pointer;
}


.close-menu span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 20px;
    height: 2px;

    background: white;
}


.close-menu span:first-child {
    transform:
        translate(-50%,-50%)
        rotate(45deg);
}


.close-menu span:last-child {
    transform:
        translate(-50%,-50%)
        rotate(-45deg);
}


/* =========================================
   MARCA MENÚ MÓVIL
========================================= */

.mobile-menu-brand {
    display: flex;

    flex-direction: column;

    align-items: center;

    margin-bottom: 23px;
}


.mobile-menu-brand span {
    color: var(--gold);

    font-size: 38px;
    font-weight: 800;

    line-height: 1;
}


.mobile-menu-brand small {
    margin-top: 7px;

    color: white;

    font-size: 6px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================
   LINKS MENÚ MÓVIL
========================================= */

.mobile-menu-links {
    display: flex;

    flex-direction: column;
}


.mobile-menu-links a,
.mobile-menu-links a:link,
.mobile-menu-links a:visited,
.mobile-menu-links a:active {
    display: block;

    padding:
        18px
        4px;

    color: white !important;

    text-decoration: none !important;

    font-size: 17px;
    font-weight: 600;

    border-bottom:
        1px solid
        rgba(255,255,255,.09);
}


.mobile-menu-links a:hover {
    color: var(--gold-light) !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .header .nav {
        gap: 38px;
    }


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


    .logo-main {
        font-size: 48px;
    }

}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 800px) {

    .header-top,
    .header-nav-row {
        display: none;
    }


    .header-mobile {
        width: 100%;

        min-height: 112px;

        padding:
            13px
            20px;

        display: grid;

        grid-template-columns:
            52px
            1fr
            52px;

        align-items: center;

        background:
            rgba(5,5,5,.88);

        border-top:
            2px solid
            var(--gold);
    }


    .mobile-header-spacer {
        grid-column: 1;

        width: 46px;
        height: 46px;
    }


    .mobile-logo {
        grid-column: 2;

        justify-self: center;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        color: white;

        text-decoration: none;
    }


    .mobile-logo-main {
        color: var(--gold);

        font-size: 42px;
        font-weight: 800;

        line-height: .95;

        letter-spacing: 1px;
    }


    .mobile-logo-sub {
        margin-top: 8px;

        padding-bottom: 6px;

        color: white;

        font-size: 7px;
        font-weight: 700;

        letter-spacing: 1.7px;

        white-space: nowrap;

        border-bottom:
            1px solid
            var(--gold);
    }


    .menu-button {
        grid-column: 3;

        justify-self: end;

        width: 46px;
        height: 46px;

        padding: 0;

        border: 0;

        background: transparent;

        cursor: pointer;

        display: flex;

        align-items: center;
        justify-content: center;

        flex-direction: column;

        gap: 6px;
    }


    .menu-button span {
        display: block;

        width: 25px;
        height: 3px;

        border-radius: 3px;

        background:
            var(--gold-light);
    }

}


/* =========================================
   CELULARES PEQUEÑOS
========================================= */

@media (max-width: 420px) {

    .header-mobile {
        min-height: 105px;

        padding:
            10px
            15px;
    }


    .mobile-logo-main {
        font-size: 37px;
    }


    .mobile-logo-sub {
        font-size: 6px;

        letter-spacing: 1.35px;
    }

}