/*
 * Header GOLDEN CARGO — chế độ BÁM SÁT.
 * Chỉ chứa CSS cho topbar, navigation, dropdown dịch vụ và drawer mobile.
 */

.gc-site-header {
    position: relative;
    z-index: 100;
    color: var(--project-color-text);
    background: var(--project-color-background);
}

.gc-header-topbar {
    height: 34px;
    background: var(--project-color-tertiary);
}

.gc-header-topbar__inner {
    display: flex;
    height: 34px;
    align-items: center;
    justify-content: space-between;
    padding-right: 50px;
    padding-left: 50px;
}

.gc-header-contact {
    display: flex;
    align-items: center;
    gap: 28px;
}

.gc-header-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #555555;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.gc-header-contact a:hover,
.gc-header-contact a:focus-visible {
    color: var(--project-color-text);
}

.gc-header-contact i {
    color: #111111;
    font-size: 14px;
}

.gc-header-languages {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gc-header-languages a {
    display: block;
    opacity: 0.9;
    transition: opacity var(--project-transition);
}

.gc-header-languages a:hover,
.gc-header-languages a:focus-visible,
.gc-header-languages a.is-active {
    opacity: 1;
}

.gc-header-languages img {
    display: block;
    width: 30px;
    height: 20px;
    object-fit: cover;
}

.gc-header-main-slot,
.gc-header-main,
.gc-header-main__inner {
    height: 80px;
}

.gc-site-header #menu_top.gc-header-main {
    position: relative;
    z-index: 999;
    width: 100%;
    background: var(--project-color-background);
}

.gc-site-header #menu_top.gc-header-main.fixed {
    background: var(--project-color-background);
    box-shadow: var(--project-shadow-header);
}

.gc-header-main__inner {
    display: flex;
    align-items: center;
    padding-right: 50px;
    padding-left: 50px;
}

.gc-header-logo {
    flex: 0 0 auto;
}

.gc-header-logo img {
    display: block;
    width: auto;
    max-width: 260px;
    max-height: 68px;
    object-fit: contain;
}

.gc-header-nav {
    min-width: 0;
    flex: 1 1 auto;
    align-self: flex-start;
    margin-top: 10px;
    margin-left: 40px;
}

.gc-site-header .gc-header-nav.menu > .menu_cap_cha {
    display: flex;
    width: 100%;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gc-site-header .gc-header-nav.menu > .menu_cap_cha > .menulicha {
    position: relative;
    flex: 0 0 auto;
}

.gc-site-header .gc-header-nav.menu > .menu_cap_cha > .menulicha > a {
    display: flex;
    height: 50px;
    align-items: center;
    padding: 0 10px;
    color: #777777;
    background: transparent;
    font-size: 14px;
    font-weight: var(--project-font-weight-regular);
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--project-transition);
}

.gc-site-header .gc-header-nav.menu > .menu_cap_cha > .menulicha.active > a {
    color: #777777;
    background: transparent;
}

.gc-site-header .gc-header-nav.menu > .menu_cap_cha > .menulicha > a:hover,
.gc-site-header .gc-header-nav.menu > .menu_cap_cha > .menulicha > a:focus-visible {
    color: var(--project-color-text);
    background: transparent;
}

.gc-site-header .gc-header-nav.menu > .menu_cap_cha > .menulicha > a:focus-visible {
    outline: 2px solid var(--project-color-primary);
    outline-offset: -6px;
}

.gc-nav-caret {
    margin-left: 6px;
    color: currentColor;
    font-size: 10px;
}

.gc-service-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block;
    width: 260px;
    margin: 0;
    padding: 0;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    background: #f9f9f9;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(8px);
    transition:
        opacity var(--project-transition),
        visibility var(--project-transition),
        transform var(--project-transition);
    pointer-events: none;
}

.gc-nav-service:hover > .gc-service-dropdown,
.gc-nav-service:focus-within > .gc-service-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gc-service-dropdown li {
    position: relative;
    margin: 0;
    padding: 0;
}

.gc-service-dropdown li + li {
    border-top: 1px solid #e5e5e5;
}

.gc-service-dropdown a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 12px 16px;
    color: #000000;
    background: #f9f9f9;
    font-size: 13px;
    font-weight: var(--project-font-weight-regular);
    line-height: 1.45;
    text-decoration: none;
    transition:
        color var(--project-transition),
        background-color var(--project-transition);
}

.gc-service-dropdown a:hover,
.gc-service-dropdown a:focus-visible {
    color: #fff;
    background: var(--project-color-primary);
}

.gc-header-mobile-actions,
.gc-header-mobile-languages {
    display: none;
}

.gc-mobile-toggle {
    padding: 0;
    border: 0;
    color: #666666;
    background: transparent;
    font: inherit;
}

.gc-mobile-menu-brand,
.gc-mobile-menu-contact {
    display: none;
}

body.gc-mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .gc-header-logo img {
        max-width: 210px;
        max-height: 62px;
    }

    .gc-header-nav {
        margin-top: 10px;
        margin-left: 30px;
    }

    .gc-site-header .gc-header-nav.menu > .menu_cap_cha > .menulicha > a {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .gc-header-topbar,
    .gc-header-nav {
        display: none;
    }

    .gc-header-main-slot,
    .gc-header-main,
    .gc-header-main__inner {
        height: 78px;
    }

    .gc-header-main__inner {
        position: relative;
        padding-right: var(--project-gutter);
        padding-left: var(--project-gutter);
    }

    .gc-header-logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .gc-header-logo img {
        max-width: 240px;
        max-height: 62px;
    }

    .gc-header-mobile-actions.menu_mobi {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        margin-right: auto;
        border: 1px solid #d8d8d8;
        border-radius: 4px;
        color: #666666;
        background: #ffffff;
        line-height: 1;
    }

    .gc-mobile-toggle {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        color: inherit;
        cursor: pointer;
    }

    .gc-mobile-toggle i {
        font-size: 20px;
    }

    .gc-header-mobile-languages {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }

    .gc-header-mobile-languages a {
        display: block;
        opacity: 0.82;
        transition: opacity var(--project-transition);
    }

    .gc-header-mobile-languages a:hover,
    .gc-header-mobile-languages a:focus-visible,
    .gc-header-mobile-languages a.is-active {
        opacity: 1;
    }

    .gc-header-mobile-languages a:focus-visible {
        outline: 2px solid var(--project-color-primary);
        outline-offset: 2px;
    }

    .gc-header-mobile-languages img {
        display: block;
        width: 30px;
        height: 20px;
        object-fit: cover;
    }

    div.menu_mobi_add#gc-mobile-menu {
        display: flex;
        width: 85%;
        max-width: 440px;
        min-width: 280px;
        flex-direction: column;
        padding: 62px 0 24px;
        background: #ffffff;
        box-shadow: 4px 0 18px rgba(0, 0, 0, 0.22);
    }

    div.menu_mobi_add#gc-mobile-menu.menu_mobi_active {
        left: 0;
    }

    #gc-mobile-menu .close_menu {
        top: 14px;
        right: 16px;
        width: 36px;
        height: 36px;
        border: 1px solid #d8d8d8;
        border-radius: 4px;
        color: #555555;
        background: #ffffff;
        font-size: 0;
        line-height: 34px;
        cursor: pointer;
    }

    #gc-mobile-menu .close_menu::before {
        content: "\00d7";
        font-size: 26px;
        font-weight: var(--project-font-weight-regular);
    }

    .gc-mobile-menu-brand {
        display: block;
        order: 1;
        padding: 0 20px 20px;
        border-bottom: 1px solid #e5e5e5;
    }

    .gc-mobile-menu-brand img {
        display: block;
        width: auto;
        max-width: 230px;
        max-height: 62px;
    }

    #gc-mobile-menu > ul {
        order: 2;
        width: 100%;
        margin: 0;
        padding: 8px 0;
        list-style: none;
    }

    #gc-mobile-menu ul li {
        position: relative;
        width: 100%;
        margin: 0;
    }

    #gc-mobile-menu ul li a {
        display: block;
        min-height: 46px;
        padding: 12px 48px 12px 20px;
        border-bottom: 1px solid #ececec;
        color: #333333;
        background: #ffffff;
        font-size: 14px;
        font-weight: var(--project-font-weight-medium);
        line-height: 1.5;
        text-decoration: none;
    }

    #gc-mobile-menu ul li a:hover,
    #gc-mobile-menu ul li a:focus-visible,
    #gc-mobile-menu ul li a.active2 {
        color: var(--project-color-primary);
        background: #f7f7f7;
    }

    #gc-mobile-menu .gc-service-dropdown {
        position: static;
        width: 100%;
        visibility: visible;
        opacity: 1;
        background: #f7f7f7;
        box-shadow: none;
        transform: none;
        transition: none;
        pointer-events: auto;
    }

    #gc-mobile-menu .gc-service-dropdown a {
        padding-left: 36px;
        background: #f7f7f7;
        font-size: 13px;
        font-weight: var(--project-font-weight-regular);
    }

    #gc-mobile-menu .gc-nav-caret {
        display: none;
    }

    #gc-mobile-menu .base-submenu-toggle {
        display: block;
    }

    .gc-mobile-menu-contact {
        display: grid;
        order: 3;
        gap: 10px;
        padding: 18px 20px 0;
    }

    .gc-mobile-menu-contact a {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        color: #555555;
        font-size: 13px;
        line-height: 1.5;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    .gc-mobile-menu-contact i {
        color: #111111;
        text-align: center;
    }

    .menu_baophu {
        z-index: 9998;
    }
}

@media (max-width: 575px) {
    .gc-header-main-slot,
    .gc-header-main,
    .gc-header-main__inner {
        height: 72px;
    }

    .gc-header-logo img {
        max-width: 190px;
        max-height: 56px;
    }

    .gc-header-mobile-actions.menu_mobi {
        width: 42px;
        height: 42px;
    }

    div.menu_mobi_add#gc-mobile-menu {
        width: 88%;
        min-width: 0;
    }
}

@media (max-width: 359px) {
    .gc-header-main__inner {
        padding-right: 12px;
        padding-left: 12px;
    }

    .gc-header-logo img {
        max-width: 155px;
        max-height: 50px;
    }

    .gc-header-mobile-actions.menu_mobi {
        width: 40px;
        height: 40px;
    }

    .gc-header-mobile-languages {
        gap: 6px;
    }

    .gc-header-mobile-languages img {
        width: 24px;
        height: 16px;
    }
}
