/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ===== Variables ===== */
:root {
    --primary: #1A3C7A;
    --primary-dark: #0F2955;
    --primary-light: #E8EEF8;
    --primary-bright: #1A5FAA;
    --gold: #C8A45C;
    --gold-light: #F5ECD7;
    --gold-dark: #A07830;
    --blue: #1A6FB5;
    --sky: #E3F0FA;
    --dark: #1A1A2E;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-500: #6C757D;
    --gray-700: #495057;
    --white: #FFFFFF;
    --red: #E53935;
    --green: #2E8B57;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    letter-spacing: 1px;
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-img { height: 50px; width: auto; }

/* ===== Search Box ===== */
.nav-search {
    display: flex;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
}
.nav-search-form {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    overflow: hidden;
    height: 34px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.nav-search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,60,122,0.08);
    background: #fff;
}
.nav-search-input {
    border: none;
    background: transparent;
    padding: 0 12px;
    font-size: 13px;
    color: var(--dark);
    outline: none;
    width: 160px;
}
.nav-search-input::placeholder { color: var(--gray-500); }
.nav-search-btn {
    background: var(--primary);
    border: none;
    height: 34px;
    width: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    flex-shrink: 0;
}
.nav-search-btn:hover { background: var(--primary-dark); }
.nav-search-btn svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 2; fill: none; }

/* ===== Navigation ===== */
.nav-center-wrap {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.nav { display: flex; align-items: center; height: 100%; }
.nav > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.nav > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s;
    letter-spacing: 1px;
    white-space: nowrap;
}
.nav > li > a:hover,
.nav > li:hover > a { color: var(--primary); }
.nav > li.active > a { color: var(--primary); }
.nav > li.active > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}
.nav > li > a .arrow {
    margin-left: 4px;
    font-size: 10px;
    transition: transform 0.3s;
}
.nav > li:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown L2 */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 140px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}
.nav > li:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 5px);
}
.dropdown li { position: relative; }
.dropdown li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 22px;
    font-size: 13px;
    color: var(--gray-700);
    white-space: nowrap;
    transition: all 0.2s;
}
.dropdown li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}
.dropdown li a .sub-arrow { font-size: 10px; margin-left: 10px; }

/* Dropdown L3 */
.dropdown .dropdown-l3 {
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 140px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.dropdown li:hover > .dropdown-l3 {
    opacity: 1;
    visibility: visible;
    left: calc(100% + 5px);
}

/* ===== Banner ===== */
.banner {
    margin-top: 116px;
    position: relative;
    width: 100%;
    height: 680px;
    overflow: hidden;
}
.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.42) 0%, rgba(0,0,0,.22) 50%, rgba(0,0,0,.10) 100%);
}
.banner-text {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    pointer-events: none;
    width: 90%;
}
.banner-slogan-main {
    font-size: 68px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 16px;
    line-height: 1.15;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}
.banner-slogan-main em {
    color: var(--gold);
    font-style: normal;
}
.banner-slogan-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 20px;
    border-radius: 2px;
}
.banner-slogan-sub {
    font-size: 22px;
    color: rgba(255,255,255,0.90);
    letter-spacing: 8px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background: #F8F9FA;
    border-bottom: 1px solid #E9ECEF;
    padding: 14px 0;
}
.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6C757D;
}
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-inner .sep { color: #DEE2E6; }
.breadcrumb-inner .current { color: var(--primary); font-weight: 500; }

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}
.section-tag {
    display: inline-block;
    background: var(--gold-light);
    color: var(--gold-dark);
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 12px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 600;
}
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 5px;
    margin-bottom: 10px;
}
.section-line {
    width: 70px;
    height: 2px;
    background: var(--gold);
    margin: 14px auto 0;
    border-radius: 1px;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, #1A3C7A 0%, #0F2955 100%);
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
}
.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { max-width: 360px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo img { height: 40px; }
.footer-slogan { font-size: 13px; line-height: 1.9; margin-bottom: 18px; }
.footer-hotline .label { font-size: 12px; opacity: 0.6; margin-bottom: 4px; }
.footer-hotline .phone { font-size: 26px; font-weight: 700; color: var(--gold); }
.footer-addr { margin-top: 14px; font-size: 13px; line-height: 1.8; }
.footer-qr-area { display: flex; gap: 24px; }
.footer-qr-item { text-align: center; }
.footer-qr-box {
    width: 100px; height: 100px;
    background: #fff;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 6px;
    margin-bottom: 8px;
}
.footer-qr-box img { width: 100%; height: 100%; object-fit: contain; }
.footer-qr-label { font-size: 12px; opacity: 0.8; }
.footer-links { display: flex; gap: 50px; }
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.58); transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 40px;
    font-size: 12px;
    opacity: 0.5;
    text-align: center;
    background: rgba(0,0,0,0.15);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ===== Floating Sidebar ===== */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.float-item {
    width: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 11px 0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.float-item:hover { background: var(--primary); color: #fff; }
.float-item-icon { width: 20px; height: 20px; margin-bottom: 3px; display: flex; align-items: center; justify-content: center; }
.float-item-icon svg { width: 18px; height: 18px; stroke: var(--primary); stroke-width: 1.8; fill: none; transition: stroke 0.3s; }
.float-item:hover .float-item-icon svg { stroke: #fff; }
.float-item-text { font-size: 10px; white-space: nowrap; }
.float-item:hover .float-item-text { color: #fff; }
.float-divider { width: 32px; height: 1px; background: var(--gray-200); margin: 0 auto; }
.float-qr-popup {
    position: absolute; right: 62px; top: 50%;
    transform: translateY(-50%);
    background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
    padding: 16px; text-align: center; display: none; z-index: 1000; min-width: 140px;
}
.float-item:hover .float-qr-popup { display: block; }
.float-qr-popup::after {
    content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    border-left: 6px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.float-qr-popup img { width: 110px; height: 110px; margin-bottom: 6px; }
.float-qr-popup .qr-title { font-size: 11px; color: var(--gray-700); }

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.show { display: flex; }
.lightbox-content {
    display: block;
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    object-fit: contain;
    animation: lbFadeIn 0.28s ease;
}
@keyframes lbFadeIn {
    from { opacity: 0; transform: scale(0.93); }
    to   { opacity: 1; transform: scale(1); }
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.35); }

/* ===== Utility ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: all 0.65s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Mobile Menu ===== */
.mobile-menu-btn { display: none; }
.mobile-nav-overlay { display: none; }
.mobile-nav-panel { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .header-main { padding: 0 20px; }
    .nav > li > a { padding: 0 10px; font-size: 13px; }
    .footer-main { padding: 0 30px 40px; gap: 24px; }
    .footer-links { gap: 30px; }
    .nav-search-input { width: 120px; }
}
@media (max-width: 900px) {
    .banner { height: 480px; margin-top: 104px; }
    .banner-slogan-main { font-size: 46px; letter-spacing: 8px; }
    .banner-slogan-sub { font-size: 16px; letter-spacing: 4px; }
    .footer-main { flex-wrap: wrap; }
    .footer-links { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 768px) {
    .header-top { height: auto; padding: 7px 12px; font-size: 11px; line-height: 1.5; text-align: center; white-space: normal; }
    .header-main { height: 60px; padding: 0 16px; }
    .logo-img { height: 36px; }
    .nav-center-wrap { display: none !important; }
    .nav-search { display: none; }

    .mobile-menu-btn {
        display: flex; align-items: center; justify-content: center;
        width: 40px; height: 40px; cursor: pointer; background: none; border: none; padding: 8px; z-index: 1002;
    }
    .mobile-menu-btn span {
        display: block; width: 22px; height: 2px; background: var(--primary); position: relative; transition: all 0.3s;
    }
    .mobile-menu-btn span::before,
    .mobile-menu-btn span::after {
        content: ''; position: absolute; width: 22px; height: 2px; background: var(--primary); transition: all 0.3s;
    }
    .mobile-menu-btn span::before { top: -7px; }
    .mobile-menu-btn span::after  { bottom: -7px; }
    .mobile-menu-btn.active span { background: transparent; }
    .mobile-menu-btn.active span::before { top: 0; transform: rotate(45deg); }
    .mobile-menu-btn.active span::after  { bottom: 0; transform: rotate(-45deg); }

    .mobile-nav-overlay {
        display: block; position: fixed; inset: 0;
        background: rgba(0,0,0,0.5); z-index: 1999;
        opacity: 0; visibility: hidden; transition: all 0.3s;
    }
    .mobile-nav-overlay.show { opacity: 1; visibility: visible; }
    .mobile-nav-panel {
        display: block; position: fixed; top: 0; right: -300px;
        width: 280px; max-width: 80vw; height: 100vh;
        background: #fff; z-index: 2000; transition: right 0.35s;
        overflow-y: auto; box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    }
    .mobile-nav-panel.open { right: 0; }
    .mobile-nav-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 14px 18px; border-bottom: 1px solid #eee; background: var(--primary);
    }
    .mobile-nav-header img { height: 30px; }
    .mobile-nav-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
    .mobile-nav > ul > li { border-bottom: 1px solid #f2f2f2; }
    .mobile-nav > ul > li > a {
        display: flex; justify-content: space-between; align-items: center;
        padding: 13px 18px; font-size: 14px; color: var(--primary); font-weight: 500;
    }
    .mobile-nav-toggle .arrow { font-size: 11px; color: #999; transition: transform 0.3s; }
    .mobile-nav-toggle.active .arrow { transform: rotate(90deg); }
    .mobile-submenu { list-style: none; padding: 0; background: #f9f9f9; display: none; }
    .mobile-submenu.open { display: block; }
    .mobile-submenu li a {
        display: block; padding: 10px 18px 10px 30px; font-size: 13px;
        color: #555; border-top: 1px solid #f0f0f0;
    }
    .mobile-submenu li a:hover { color: var(--primary); background: #f0f4fa; }

    .banner { height: 280px; margin-top: 97px; }
    .banner-slogan-main { font-size: 28px; letter-spacing: 4px; }
    .banner-slogan-sub { font-size: 13px; letter-spacing: 2px; }

    .footer-main { flex-direction: column; padding: 30px 16px 36px; gap: 24px; }
    .footer-brand { max-width: 100%; }
    .footer-links { flex-direction: column; gap: 20px; }
    .footer-qr-area { justify-content: center; }
    .footer-bottom { padding: 14px 16px; }

    .floating-sidebar { right: 6px; bottom: 60px; top: auto; transform: none; }
    .float-item-text { display: none; }
    .float-item { width: 44px; padding: 10px 0; }
}
@media (max-width: 480px) {
    .banner { height: 220px; }
    .banner-slogan-main { font-size: 22px; letter-spacing: 2px; }
    .section-title { font-size: 26px; letter-spacing: 2px; }
    .footer-qr-box { width: 80px; height: 80px; }
}
