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

.site-header {
    position: sticky;
    top: 0;
    z-index: 5000;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* =========================================================
   CONTAINER
   ========================================================= */

.site-header .page-container {
    padding-top: 0;
    padding-bottom: 0;
}

/* =========================================================
   INNER
   ========================================================= */

.header-inner {
    width: 100%;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

.site-header.is-scrolled .header-inner {
}

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

.header-logo img {
    height: 64px;
    display: block;
    transition: height 0.3s ease;
}

.site-header.is-scrolled .header-logo img {
    height: 40px;
}

/* =========================================================
   DESKTOP NAV
   ========================================================= */

.header-nav--desktop {

    display: flex;

    align-items: center;

    gap: 30px;

}
.header-nav--desktop > ul {

    display: flex;

    align-items: center;

    gap: 28px;

    margin: 0;

    padding: 0;

}

/* =========================================================
   MENU ROOT
   ========================================================= */

.main-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

/* =========================================================
   MENU ITEM
   ========================================================= */

.main-menu-item {
    position: relative;
}

.main-menu-item > a {
    text-decoration: none;
    font-weight: 500;
    color: #111111;
    transition: color 0.2s ease;
    display: inline-block;
    padding: 10px 0;
    white-space: nowrap;
}

.main-menu-item > a:hover {
    color: #276890;
}

/* =========================================================
   ALL DROPDOWNS
   ========================================================= */

.dropdown-menu {
    position: absolute;

    top: 100%;
    left: 0;

    min-width: 240px;

    background: #ffffff;

    border: 1px solid #e5e5e5;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.08);

    padding: 12px 0;

    margin: 0;

    list-style: none;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 9999;
}

/* =========================================================
   FIRST LEVEL SHOW
   ========================================================= */

.main-menu-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================================
   NESTED DROPDOWNS
   ========================================================= */

.dropdown-menu .dropdown-menu {
    top: -12px;
    left: 100%;
    margin-left: 0;

    transform:
        translateX(10px);

    opacity: 0;
    visibility: hidden;
}

/* =========================================================
   NESTED SHOW
   ========================================================= */

.dropdown-menu li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(0);
}

/* =========================================================
   DROPDOWN ITEMS
   ========================================================= */

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

.dropdown-menu li a {

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 12px 18px;

    text-decoration: none;

    color: #111111;

    font-size: 0.95rem;

    transition:
        background 0.2s ease,
        color 0.2s ease;

    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #276890;
}

/* =========================================================
   HAS CHILDREN ARROW
   ========================================================= */

.has-dropdown > a::after {
    content: "▾";
    margin-left: 8px;
    font-size: 0.7rem;
}

.dropdown-menu .has-dropdown > a::after {
    content: "▸";
}

/* =========================================================
   HAMBURGER
   ========================================================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111111;
    margin: 5px 0;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* =========================================================
   MOBILE NAV
   ========================================================= */

.header-nav--mobile {
    position: fixed;
    inset: 0;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 80px 24px;
    overflow-y: auto;
    z-index: 99999;
}

.header-nav--mobile.is-open {
    transform: translateX(0);
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin-bottom: 20px;
}

.mobile-menu-item > a {
    text-decoration: none;
    font-size: 1.2rem;
    color: #111111;
    display: block;
}

/* =========================================================
   MOBILE SUBMENU
   ========================================================= */

.mobile-submenu {
    list-style: none;
    margin: 12px 0 0 18px;
    padding: 0;
}

.mobile-submenu li {
    margin-bottom: 10px;
}

.mobile-submenu a {
    text-decoration: none;
    color: #666666;
    font-size: 1rem;
}

/* =========================================================
   MOBILE CLOSE
   ========================================================= */

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

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

.header-social {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 24px;
}

.header-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;

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

    text-decoration: none;

    color: #111111;

    background: rgba(0,0,0,0.04);

    transition: 0.2s;

    font-size: 16px;
}

.header-social a:hover {
    transform: translateY(-2px);
    background: #111111;
    color: white;
}

/* =========================================================
   MOBILE SOCIAL
   ========================================================= */

.mobile-social {
    display: flex;
    gap: 14px;
    margin-top: 40px;
}

.mobile-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;

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

    text-decoration: none;

    background: #f3f4f6;

    color: #111111;

    font-size: 18px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

    .atlas-language-dropdown {

        position: relative;

        margin-left: 20px;

        flex-shrink: 0;

    }