/* ========== logo ========== */
@font-face {
  font-family: "iconfont"; /* Project id 5160962 */
  src: url('../iconfont/iconfont.woff2?t=1777449352874') format('woff2'),
       url('../iconfont/iconfont.woff?t=1777449352874') format('woff'),
       url('../iconfont/iconfont.ttf?t=1777449352874') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-zu:before {
  content: "\e606";
}


/* ========== 公共 Header 样式 ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 64px; background: rgba(255, 255, 255, 1);
}
.header-inner {
    width: 80%; max-width: 1920px; margin: 0 auto;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-size: 18px; font-weight: 700;
    letter-spacing: -0.5px; flex-shrink: 0;
    display: flex; align-items: center; gap: 10px;
    color: #000000;
}
.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-mark i{
    font-size: 28px;
    color: #000000;
    font-weight: bold;
}
.nav {
    display: flex; align-items: center; gap: 2px;
    position: absolute; left: 50%; transform: translateX(-50%);
}
.nav a {
    padding: 8px 20px; font-size: 14px; font-weight: 500;
    color: #6e6e73; border-radius: 999px;
    transition: all 0.3s ease;
}
.nav a:hover, .nav a.active { color: #1d1d1f; background: #f5f5f7; }
.nav a.active { font-weight: 600; }
.actions {
    display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.btn {
    padding: 8px 20px; border-radius: 999px; font-size: 13px;
    font-weight: 600; cursor: pointer; border: none;
    transition: all 0.3s ease; white-space: nowrap; letter-spacing: 0.2px;
}
.btn-dark {background: rgb(6, 35, 123); color: #fff;}
.btn-dark:hover { background: #333; }
.btn-light { background: #f5f5f7; color: #1d1d1f; }
.btn-light:hover { background: #e8e8ed; }
.icon-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: #f5f5f7; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.icon-btn:hover { background: #e8e8ed; }
.icon-btn svg { width: 16px; height: 16px; color: #1d1d1f; }

/* ========== 联系我们弹层 ========== */
.contact-overlay {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.35s ease;
}
.contact-overlay.show { opacity: 1; visibility: visible; }
.contact-modal {
    width: 860px; max-width: 94vw;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 40px 80px rgba(0,0,0,0.25);
    transform: scale(0.95) translateY(20px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 90vh;
    position: relative;
}
.contact-overlay.show .contact-modal {
    transform: scale(1) translateY(0);
}
.contact-toolbar {
    height: 56px;
    background: #fff;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.contact-toolbar-title {
    font-size: 15px; font-weight: 700; color: #1d1d1f;
}
.contact-close-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: #f5f5f7; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.contact-close-btn:hover { background: #e8e8ed; }
.contact-close-btn svg { width: 16px; height: 16px; color: #333; }
.contact-body {
    display: flex; flex: 1; overflow: hidden;
}
/* 左侧信息栏 */
.contact-info {
    width: 300px;
    flex-shrink: 0;
    background: rgb(6, 35, 123);
    padding: 48px 36px;
    flex-direction: column;
    gap: 32px;
    overflow-y: auto;
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.contact-info-heading {
    font-size: 26px; font-weight: 800; color: #fff;
    line-height: 1.3; letter-spacing: -0.5px;
}
.contact-info-desc {
    font-size: 13px; color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-top: -16px;
}
.contact-info-items {
    display: flex; flex-direction: column; gap: 20px;
    padding-top: 4px;
}
.contact-info-item {
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 20%;
}
.contact-info-label {
    font-size: 11px; color: rgba(255,255,255,0.35);
    font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
}
.contact-ewm {
    width: 140px; height: 140px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    padding: 12px;
    background-color: #ffffff;
}
/* 右侧表单 */
.contact-form-wrap {
    flex: 1; padding: 48px 40px; overflow-y: auto;
    background: #fff;
}
.contact-form-heading {
    font-size: 20px; font-weight: 700; color: #1d1d1f;
    margin-bottom: 6px;
}
.contact-form-sub {
    font-size: 13px; color: #86868b; margin-bottom: 32px;
    line-height: 1.6;
}
.contact-form {
    display: flex; flex-direction: column; gap: 18px;
}
.contact-form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-field {
    display: flex; flex-direction: column; gap: 6px;
}
.contact-field label {
    font-size: 12px; font-weight: 600; color: #1d1d1f;
    letter-spacing: 0.2px;
}
.contact-field label span { color: #ff6161; margin-left: 2px; }
.contact-field input,
.contact-field select,
.contact-field textarea {
    padding: 11px 14px 11px 0px; border: none;
    border-radius: 0px; font-size: 14px; font-family: inherit;
    color: #1d1d1f; background: none; outline: none;
    border-bottom: 1px solid #00000017;
    transition: all 0.2s;
    -webkit-appearance: none;
    width: 100%;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    box-shadow: none;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #c7c7cc; }
.contact-field textarea { resize: none; min-height: 90px; }
.contact-field-full { grid-column: 1 / -1; }
.contact-submit-btn {
    width: 100%; padding: 14px;
    background: rgb(6, 35, 123); color: #fff;
    border: none; border-radius: 10px;
    font-size: 15px; font-weight: 700;
    cursor: pointer; letter-spacing: 0.3px;
    transition: all 0.25s;
    margin-top: 4px;
}
.contact-submit-btn:hover { background: #333; transform: translateY(-1px); }
@media (max-width: 700px) {
    .contact-body { flex-direction: column; }
    .contact-info { width: 100%; padding: 32px 24px; }
    .contact-form-wrap { padding: 28px 24px; }
    .contact-form-row { grid-template-columns: 1fr; }
}

/* ========== Header 移动端适配 ========== */
/* 桌面端隐藏汉堡按钮、按钮短文字 */
.hamburger-btn { display: none; }
.btn-text-short { display: none; }

@media (max-width: 768px) {
    .header-inner { width: 90%; }

    /* 按钮文字缩短 */
    .btn-text-full { display: none; }
    .btn-text-short { display: inline; }

    /* 按钮和间距缩小 */
    .btn { padding: 8px 14px; }
    .actions { gap: 6px; }

    /* 汉堡按钮 */
    .hamburger-btn {
        display: flex; flex-direction: column;
        justify-content: center; align-items: center;
        width: 36px; height: 36px;
        border: none; background: #f5f5f7;
        border-radius: 50%; cursor: pointer;
        gap: 4px; transition: all 0.3s;
        flex-shrink: 0;
    }
    .hamburger-btn span {
        display: block; width: 12px; height: 1px;
        background: #1d1d1f; border-radius: 2px;
        transition: all 0.3s;
    }
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    /* Nav 下拉菜单 */
    .nav {
        position: absolute;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        padding: 8px 0;
        gap: 0;
        transform: none;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: all 0.3s ease;
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
        border-radius: 0 0 16px 16px;
    }
    .nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav a {
        padding: 12px 24px;
        border-radius: 0;
        font-size: 15px;
    }
    .nav a:hover, .nav a.active {
        background: #f5f5f7;
    }
}


