body #header {
    --mobile-header-height: 64px;
    position: relative;
    z-index: 2200;
}


body #header .sc_header_top {
    position: relative;
    z-index: 2300;
    background:
        linear-gradient(135deg, #0f2741 0%, #183e63 45%, #225c85 100%);
    color: #f4f8fb;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body #header .sc_header_top .row_pc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px 18px;
    padding: 10px 0;
}

body #header .recommended_trip {
    width: auto;
    float: none;
    margin: 0 6px 0 0;
    color: rgba(244, 248, 251, .78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body #header .list_link_ft {
    display: flex;
    align-items: center;
    gap: 8px;
    float: none;
    margin: 0;
    justify-content: flex-start;
}

body #header .sc_header_top .row_pc > .pull-right {
    margin-left: auto;
}

body #header .TA_socialButtonBubbles {
    width: auto;
    margin: 0;
}

body #header .list_link_ft > a,
body #header .list_link_ft > img,
body #header .list_link_ft > a img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

body #header .list_link_ft > a.fa {
    font-size: 15px;
    line-height: 1;
}

body #header .list_link_ft > a img {
    width: 18px;
    height: 18px;
    border-radius: 0;
    background: transparent;
}

body #header .list_link_ft > a:hover,
body #header .list_link_ft > a:focus {
    background: rgba(255, 255, 255, .24);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
}

body #header .pull-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 16px;
}

body #header .add_hd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 0;
}

body #header .add_hd:after {
    display: none;
}

body #header .header-contact-text,
body #header .header-mail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 500;
    opacity: .95;
}

body #header .header-contact-text i.fa,
body #header .header-mail-link i.fa {
    flex: 0 0 16px;
    width: 16px;
    color: #9fd7ff;
    text-align: center;
    font-size: 14px;
    line-height: 1;
}

body #header .header-mail-link:hover,
body #header .header-mail-link:focus {
    color: #fff;
    opacity: 1;
    text-decoration: none;
}

body #header .lag_hd {
    position: relative;
    z-index: 2400;
    float: none;
}

body #header .header-flags {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

body #header .header-language-list {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body #header .header-language-list--list_vertical {
    align-items: flex-start;
    flex-direction: column;
}

body #header .header-language-select {
    min-width: 120px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 4px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 13px;
    padding: 0 8px;
}

body #header .header-language-select option {
    color: #173e66;
}

body #header .header-language-dropdown {
    position: relative;
    display: inline-flex;
    z-index: 2500;
}

body #header .header-language-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 42px;
    height: 34px;
    padding: 0 9px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

body #header .header-language-dropdown-toggle img {
    width: 22px;
    height: 14px;
    border-radius: 3px;
}

body #header .header-language-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 2600;
    display: none;
    min-width: 130px;
    padding: 6px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 31, 61, .18);
}

body #header .header-language-dropdown:hover .header-language-dropdown-menu,
body #header .header-language-dropdown:focus-within .header-language-dropdown-menu {
    display: grid;
    gap: 4px;
}

body #header .header-language-dropdown-menu .item-language {
    width: 100%;
    justify-content: flex-start;
    border-radius: 4px;
    background: transparent;
    color: #173e66;
}

body #header .header-language-dropdown-menu .item-language:hover,
body #header .header-language-dropdown-menu .item-language:focus,
body #header .header-language-dropdown-menu .item-language.is-active {
    background: #eef6fc;
    transform: none;
}

body #header .item-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    gap: 6px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

body #header .item-language:hover,
body #header .item-language:focus {
    background: rgba(255, 255, 255, .24);
    transform: translateY(-1px);
}

body #header .item-language img {
    width: 22px;
    height: 14px;
    border-radius: 3px;
}

body #header .header-language-label--text .item-language,
body #header .header-language-label--image_text .item-language,
body #header .header-language-list--list_vertical .item-language {
    border-radius: 5px;
    height: 30px;
}

body #header .header-language-code,
body #header .header-language-text {
    display: inline-block;
    line-height: 1;
}


body #header .logo_pc {
    display: flex;
    align-items: center;
    margin: 0;
    max-width: 100%;
}

body #header .logo_pc a {
    position: static;
    display: inline-flex;
    align-items: center;
    float: none;
}

body #header .logo_pc img {
    width: auto;
    max-width: 240px;
    height: 60px;
    max-height: 68px;
}

@keyframes headerFadeIn {
    from {
        opacity: .92;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199px) {
    body #header .sc_header_top .row_pc {
        gap: 10px 12px;
    }

}


@media (max-width: 991px) {

    body #header .mobile-header-actions {
        position: relative;
        z-index: 2;
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    body #header .mobile-language-switcher {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

    body #header .mobile-language-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-width: 50px;
        height: 44px;
        padding: 0 9px;
        border: 1px solid #cfe0f2;
        border-radius: 14px;
        background: #f5f9ff;
        color: #173b63;
        font-weight: 800;
        line-height: 1;
        text-transform: uppercase;
        box-shadow: none;
    }

    body #header .mobile-language-toggle i.fa {
        font-size: 14px;
        line-height: 1;
    }

    body #header .mobile-language-toggle .fa-angle-down {
        font-size: 12px;
        opacity: .72;
    }

    body #header .mobile-language-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 100000;
        display: none;
        min-width: 150px;
        padding: 8px;
        border: 1px solid #dbe6ef;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 16px 34px rgba(16, 41, 65, .16);
    }

    body #header .mobile-language-switcher.is-open .mobile-language-menu {
        display: block;
    }

    body #header .mobile-language-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 9px;
        border-radius: 12px;
        color: #173b63;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }

    body #header .mobile-language-link:hover,
    body #header .mobile-language-link:focus {
        background: #f5f9ff;
        color: #0f68c8;
        text-decoration: none;
    }

    body #header .mobile-language-link img {
        width: 25px;
        height: 16px;
        border-radius: 3px;
    }
}

@media (max-width: 767px) {

    body #header .mobile-language-toggle {
        min-width: 46px;
        padding: 0 8px;
    }

    body #header .mobile-language-toggle span {
        font-size: 12px;
    }
}

/* Header polish: keep layout clean and light. */
body #header .sc_header_top {
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
}

body #header .recommended_trip {
    opacity: .82;
}

body #header .logo_pc a {
    padding: 4px 0;
}


/* Modern public header layout. */
body.modern-public #header .sc_header_top {
    background: linear-gradient(135deg, #0a4c83 0%, #005999 100%) !important;
}

body.modern-public #header .header-topbar-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
}

body.modern-public #header .header-topbar-left,
body.modern-public #header .header-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

body.modern-public #header .recommended_trip {
    margin: 0;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}

body.modern-public #header .header-topbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.modern-public #header .header-topbar-social a {
    width: 34px;
    height: 34px;
    line-height: 34px;
    margin: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 14px;
    transition: all .2s ease;
}

body.modern-public #header .header-topbar-social a:hover {
    background: #fff;
    border-color: #fff;
    color: #005999;
}

body.modern-public #header .header-topbar-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: #fff;
    float: none;
    padding: 0;
}

body.modern-public #header .header-topbar-meta i.fa {
    color: #fff;
    margin-right: 7px;
}

body.modern-public #header .header-top-contact-text,
body.modern-public #header .header-top-contact-link {
    color: #fff;
    white-space: nowrap;
}

body.modern-public #header .header-topbar-language,
body.modern-public #header .header-top-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    float: none;
}

body.modern-public #header .header-top-flag-link,
body.modern-public #header .en-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
}

body.modern-public #header .header-top-flag img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}


body.modern-public #header .header-mainbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    min-height: 70px;
}

body.modern-public #header .header-mainbar-brand {
    flex: 0 0 270px;
    max-width: 270px;
}

body.modern-public #header .logo_pc {
    display: block;
    margin: 0;
    max-width: none;
    height: auto;
}

body.modern-public #header .logo_pc a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
}

body.modern-public #header .logo_pc img {
    width: auto;
    max-width: 240px;
    height: 60px;
    max-height: 68px;
}


@media (max-width: 991px) {
    body.modern-public #header .header-topbar-inner,
    body.modern-public #header .header-topbar-left,
    body.modern-public #header .header-topbar-right,
    body.modern-public #header .header-topbar-meta {
        flex-wrap: wrap;
    }

    body.modern-public #header .header-mainbar {
        min-height: 76px;
    }

    body.modern-public #header .header-mainbar-brand {
        flex-basis: 220px;
        max-width: 220px;
    }
}

@media (max-width: 767px) {
    body.modern-public #header .sc_header_top {
        display: none;
    }
}
