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

.site-header {

    width: 100%;

    height: 90px;

    background: var(--navy);

    color: var(--white);

}


/* ==========================================================
   CONTENEDOR DEL HEADER
========================================================== */

.site-header-inner {

    width: 65%;

    max-width: 1200px;

    height: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

}


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

.logo {

    width: 210px;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    flex-shrink: 0;

}


.logo img {

    display: block;

    width: 190px;

    height: auto;

    max-height: 60px;

    object-fit: contain;

}


/* ==========================================================
   NAVIGATION
========================================================== */

.main-nav {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 30px;

    flex: 1;

}


.main-nav a {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    font-size: 11px;

    font-weight: 500;

    white-space: nowrap;

    color: var(--white);

    transition: color 0.25s ease;

}


.main-nav a:hover {

    color: var(--gold-light);

}


.main-nav a.active {

    color: var(--gold-light);

}


.main-nav a.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 14px;

    height: 2px;

    background: var(--gold);

}


/* ==========================================================
   RESPONSIVE - TABLET
========================================================== */

@media (max-width: 1000px) {

    .site-header-inner {

        width: 90%;

        gap: 30px;

    }


    .logo {

        width: 180px;

    }


    .logo img {

        width: 165px;

        max-height: 55px;

    }


    .main-nav {

        gap: 20px;

    }


    .main-nav a {

        font-size: 10px;

    }

}


/* ==========================================================
   RESPONSIVE - MÓVIL
========================================================== */

@media (max-width: 700px) {

    .site-header {

        height: auto;

    }


    .site-header-inner {

        width: 100%;

        min-height: 130px;

        height: auto;

        padding: 14px 15px 10px;

        flex-direction: column;

        gap: 12px;

    }


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

    .logo {

        width: 100%;

        height: auto;

        display: flex;

        align-items: center;

        justify-content: center;

    }


    .logo img {

        width: 220px;

        max-width: 80vw;

        max-height: 70px;

        object-fit: contain;

    }


    /* ======================================================
       NAVEGACIÓN
    ====================================================== */

    .main-nav {

        width: 100%;

        height: 42px;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 22px;

        overflow-x: auto;

        overflow-y: hidden;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

        flex: none;

    }


    .main-nav::-webkit-scrollbar {

        display: none;

    }


    .main-nav a {

        height: 42px;

        display: flex;

        align-items: center;

        justify-content: center;

        flex-shrink: 0;

        font-size: 9px;

        white-space: nowrap;

    }


    .main-nav a.active::after {

        bottom: 3px;

    }

}