/* ============================================
   ??????? - ??????????? (?????)
   ============================================ */

/* ===== ????????? ===== */
.top-bar {
    background: linear-gradient(135deg, #1a3a5c 0%, #028DC1 100%);
    color: #fff;
    height: 38px;
    line-height: 38px;
    font-size: 12px;
    position: relative;
    overflow: hidden;
}
.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.06));
    pointer-events: none;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
.top-bar a { color: rgba(255,255,255,.9); }
.top-bar a:hover { color: #fff; }
.top-bar .lang a {
    margin: 0 6px;
    padding: 0 4px;
}
.top-bar .lang a:last-child { border-right: 0; }
.top-bar .lang .active { font-weight: bold; color: #fff; }
.top-bar .tel {
    display: flex;
    align-items: center;
    gap: 18px;
}
.top-bar .tel-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.top-bar .tel i {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("../pic/icon-phone.png") no-repeat center;
    vertical-align: middle;
}

/* ===== ?????? ===== */
.main-header {
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all .3s ease;
}
.main-header.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* ===== Logo ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all .3s;
    position: relative;
}
.logo img {
    height: 90px;
    width: auto;
}
.logo h1 {
    font-size: 22px;
    color: #1a3a5c;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a3a5c, #028DC1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo .slogan {
    font-size: 12px;
    color: #8898a8;
    margin-top: 4px;
    letter-spacing: 1px;
}

/* ===== ??????? ===== */
.main-nav ul {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
}
.main-nav > ul > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.main-nav > ul > li > a {
    display: block;
    padding: 0 24px;
    height: 100%;
    line-height: 90px;
    font-size: 15px;
    color: #2c3e50;
    font-weight: 500;
    position: relative;
    transition: color .25s;
}
.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 26px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #028DC1, #026d97);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    transform: translateX(-50%);
    border-radius: 1px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
    color: #028DC1;
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.active > a::after {
    width: 60%;
}

/* ===== ???? ===== */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    min-width: 200px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    border-top: 3px solid #028DC1;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 99;
    overflow: hidden;
}
.main-nav > ul > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.sub-menu li a {
    display: block;
    padding: 13px 22px;
    color: #5a6c7d;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    transition: all .2s;
    position: relative;
}
.sub-menu li:last-child a { border-bottom: 0; }
.sub-menu li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(2,141,193,.08), transparent);
    transition: width .3s;
}
.sub-menu li a:hover {
    color: #028DC1;
    padding-left: 30px;
}
.sub-menu li a:hover::before { width: 100%; }

/* ===== ?????????? ===== */
.kefu-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 60px;
    z-index: 99;
}
.kefu-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #028DC1, #026d97);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(2,141,193,.4);
    transition: all .3s;
}
.kefu-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 30px rgba(2,141,193,.5);
}
.kefu-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    padding: 20px;
    transition: all .3s;
    transform-origin: bottom right;
    opacity: 1;
}
.kefu-panel.collapsed {
    opacity: 0;
    visibility: hidden;
    transform: scale(.85);
}
.kefu-panel h4 {
    color: #1a3a5c;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #028DC1;
    font-size: 15px;
}
.kefu-panel p {
    font-size: 13px;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 6px;
}
.kefu-panel strong { color: #028DC1; }