/* ============================================================
   头部导航 & 页脚组件样式
   品牌主色: #003C96 | 辅助色: #0094DD
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

/* ---------- Site Header ---------- */
.site-header {
    --hdr-brand: #003C96;
    --hdr-brand-dark: #002a70;
    --hdr-brand-light: #0094DD;
    --hdr-text: #0f172a;
    --hdr-muted: #64748b;
    --hdr-border: rgba(0, 60, 150, 0.08);
    --hdr-shadow: 0 8px 32px rgba(0, 60, 150, 0.12);
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hdr-border);
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--hdr-shadow);
    background: rgba(255, 255, 255, 0.99);
}

.header-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--hdr-brand-dark) 0%, var(--hdr-brand) 40%, var(--hdr-brand-light) 100%);
}

.header-container {
    position: relative;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 88px;
    transition: min-height 0.3s ease;
}

.site-header.is-scrolled .header-inner {
    min-height: 72px;
}

/* Logo */
.header-brand {
    flex-shrink: 0;
}

.brand-link {
    display: block;
    line-height: 0;
}

.brand-logo {
    height: 52px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
}

.site-header.is-scrolled .brand-logo {
    height: 44px;
}

/* Desktop Nav */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    font-family: var(--font-family-nav);
}

.header-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.header-menu-item {
    position: relative;
}

.header-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    color: var(--hdr-text);
    text-decoration: none;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
}

.header-menu-link::before {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: var(--hdr-brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.header-menu-link:hover,
.header-menu-link:focus {
    color: var(--hdr-brand);
    text-decoration: none;
}

.header-menu-link:hover::before {
    transform: scaleX(1);
}

.menu-chevron {
    width: 14px;
    height: 14px;
    opacity: 0.55;
    transition: transform 0.25s ease;
}

.has-mega:hover .menu-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.header-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    z-index: 1200;
}

.has-mega:hover .header-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-panel {
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--hdr-border);
    box-shadow: 0 20px 50px rgba(0, 60, 150, 0.14);
    overflow: hidden;
}

.dropdown-panel--compact {
    min-width: 220px;
}

/* Products mega menu — 4 columns: image + title + product list */
.header-dropdown--products {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
}
.has-mega:hover .header-dropdown--products {
    transform: translateX(-50%) translateY(0);
}
.dropdown-panel--products {
    min-width: 0;
    width: min(1120px, calc(100vw - 40px));
    padding: 0;
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}
.dropdown-mega-row {
    list-style: none;
    margin: 0;
    padding: 22px 28px 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 32px;
    align-items: start;
}
.dropdown-mega-col {
    min-width: 0;
}
.dropdown-mega-media {
    display: block;
    margin: 0 0 14px;
    aspect-ratio: 500 / 368;
    background: #f7f8fa;
    border: 1px solid #ebecef;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
}
.dropdown-mega-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    box-sizing: border-box;
    transition: opacity 0.25s ease;
}
.dropdown-mega-media:hover img {
    opacity: 0.94;
}
.dropdown-mega-cat-title {
    display: block;
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.dropdown-mega-cat-title:hover {
    color: #003C96;
    text-decoration: none;
}
.dropdown-mega-products {
    list-style: none;
    margin: 0;
    padding: 0;
}
.dropdown-mega-products li {
    margin: 0 0 5px;
    padding: 0;
}
.dropdown-mega-products li:last-child {
    margin-bottom: 0;
}
.dropdown-mega-products a {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.18s ease;
}
.dropdown-mega-products a:hover {
    color: #111827;
    text-decoration: none;
}
@media (max-width: 1200px) {
    .dropdown-panel--products {
        width: min(960px, calc(100vw - 24px));
    }
    .dropdown-mega-row {
        gap: 20px 24px;
        padding: 18px 20px 22px;
    }
    .dropdown-mega-cat-title {
        font-size: 15px;
    }
    .dropdown-mega-products a {
        font-size: 12px;
    }
}

.dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f0f5fc 0%, #fff 100%);
    border-bottom: 1px solid var(--hdr-border);
}

.dropdown-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hdr-brand);
}

.dropdown-view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--hdr-brand-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dropdown-view-all:hover {
    color: var(--hdr-brand);
}

.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    color: var(--hdr-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-link svg {
    opacity: 0;
    color: var(--hdr-brand);
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.dropdown-link:hover {
    background: #f0f5fc;
    color: var(--hdr-brand);
    text-decoration: none;
    padding-left: 18px;
}

.dropdown-link:hover svg {
    opacity: 1;
    transform: translateX(2px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
}

/* Language Switcher */
.header-lang {
    position: relative;
}

.header-lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px 0 10px;
    border: 1px solid var(--hdr-border);
    border-radius: 10px;
    background: #fff;
    color: var(--hdr-text);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-family-nav);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.header-lang-toggle:hover,
.header-lang.is-open .header-lang-toggle {
    background: #f0f5fc;
    border-color: rgba(0, 60, 150, 0.2);
    color: var(--hdr-brand);
}

.header-lang-flag {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.header-lang-label {
    line-height: 1;
}

.header-lang-chevron {
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.header-lang.is-open .header-lang-chevron {
    transform: rotate(180deg);
    color: var(--hdr-brand);
}

.header-lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 196px;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(0, 60, 150, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1310;
}

.header-lang-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 28px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(0, 60, 150, 0.1);
    border-top: 1px solid rgba(0, 60, 150, 0.1);
    transform: rotate(45deg);
}

.header-lang.is-open .header-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--hdr-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-lang-option img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.header-lang-option:hover {
    background: #f1f5f9;
    color: var(--hdr-brand);
}

.header-lang-option.is-active {
    background: #eef4fc;
    color: var(--hdr-brand);
}

.header-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hdr-border);
    border-radius: 10px;
    background: #fff;
    color: var(--hdr-brand);
    cursor: pointer;
    transition: all 0.25s ease;
}

.header-search-toggle:hover {
    background: #f0f5fc;
    border-color: rgba(0, 60, 150, 0.2);
}

.header-search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.28s ease;
    z-index: 1300;
}

.header-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid var(--hdr-border);
    border-radius: 12px;
    box-shadow: var(--hdr-shadow);
    overflow: hidden;
}

.header-search-form:focus-within {
    border-color: var(--hdr-brand);
    box-shadow: 0 0 0 3px rgba(0, 60, 150, 0.12);
}

.header-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--hdr-text);
    background: transparent;
}

.header-search-input::placeholder {
    color: var(--hdr-muted);
}

.header-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: none;
    background: var(--hdr-brand);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.header-search-submit:hover {
    background: var(--hdr-brand-dark);
}

.header-social {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 6px;
    border-left: 1px solid var(--hdr-border);
    margin-left: 4px;
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: var(--hdr-muted);
    background: transparent;
    transition: all 0.25s ease;
}

.header-social-link:hover {
    color: #fff;
    background: var(--hdr-brand);
    transform: translateY(-2px);
}

.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    margin-left: 6px;
    background: var(--brand-gradient, linear-gradient(135deg, #003C96 0%, #0094DD 100%));
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 60, 150, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.header-cta-btn:hover {
    background: var(--brand-gradient-hover, linear-gradient(135deg, #002a70 0%, #0077b0 100%));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 60, 150, 0.4);
    color: #fff !important;
}

.header-cta-btn svg {
    transition: transform 0.25s ease;
}

.header-cta-btn:hover svg {
    transform: translateX(3px);
}

.header-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--hdr-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.header-mobile-toggle:hover {
    background: #f0f5fc;
}

.toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--hdr-brand);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 60, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 92vw);
    height: 100dvh;
    background: #fff;
    z-index: 1999;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 48px rgba(0, 60, 150, 0.18);
    overflow: hidden;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
}

.mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 1025px) {
    .mobile-drawer,
    .drawer-overlay {
        display: none !important;
    }
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    background: linear-gradient(135deg, #003C96 0%, #0094DD 100%);
    flex-shrink: 0;
}

.drawer-logo {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.drawer-search {
    padding: 16px 20px;
    border-bottom: 1px solid var(--hdr-border);
    flex-shrink: 0;
}

.drawer-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px 4px 14px;
    background: #f4f7fb;
    border: 1.5px solid var(--hdr-border);
    border-radius: 10px;
}

.drawer-search-form:focus-within {
    border-color: #003C96;
    background: #fff;
}

.drawer-search-form svg {
    color: #64748b;
    flex-shrink: 0;
}

.drawer-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--hdr-text);
    padding: 8px 0;
}

.drawer-search-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #003C96 0%, #0094DD 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.drawer-search-btn:hover {
    background: linear-gradient(135deg, #002a70 0%, #0077b0 100%);
    box-shadow: 0 4px 14px rgba(0, 60, 150, 0.3);
}

/* Mobile Language */
.drawer-lang {
    display: none;
    padding: 14px 20px 6px;
    border-bottom: 1px solid var(--hdr-border);
    flex-shrink: 0;
}

.drawer-lang-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.drawer-lang-head svg {
    color: #003C96;
}

.drawer-lang-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.drawer-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1.5px solid var(--hdr-border);
    border-radius: 10px;
    background: #fff;
    color: var(--hdr-text);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.drawer-lang-item img {
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.drawer-lang-item span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drawer-lang-check {
    opacity: 0;
    color: #003C96;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.drawer-lang-item.is-active {
    border-color: rgba(0, 60, 150, 0.35);
    background: linear-gradient(135deg, rgba(0, 60, 150, 0.06) 0%, rgba(0, 148, 221, 0.08) 100%);
    color: #003C96;
    box-shadow: 0 2px 8px rgba(0, 60, 150, 0.08);
}

.drawer-lang-item.is-active .drawer-lang-check {
    opacity: 1;
}

.drawer-lang-item:not(.is-active):hover {
    border-color: rgba(0, 60, 150, 0.2);
    background: #f8fafc;
}

.drawer-nav {
    font-family: var(--font-family-nav);
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0 12px;
}

.drawer-item {
    margin-bottom: 4px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: transparent;
    color: var(--hdr-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease;
}

.drawer-link:hover {
    background: #f0f5fc;
    color: #003C96;
    text-decoration: none;
}

.drawer-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f0f5fc;
    color: #003C96;
    flex-shrink: 0;
}

.drawer-link--cta {
    margin-top: 8px;
    background: linear-gradient(135deg, #003C96, #0094DD) !important;
    color: #fff !important;
    justify-content: center;
}

.drawer-link--cta .drawer-link-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.drawer-link--cta:hover {
    color: #fff !important;
    opacity: 0.95;
}

.drawer-chevron {
    margin-left: auto;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.drawer-item.is-open .drawer-chevron {
    transform: rotate(180deg);
}

.drawer-sub {
    list-style: none;
    margin: 0;
    padding: 0 8px 8px 56px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.drawer-sub-link {
    display: block;
    padding: 10px 12px;
    color: var(--hdr-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.drawer-sub-link--all {
    font-weight: 700;
    color: #003C96;
}

.drawer-sub-link:hover {
    color: #003C96;
    background: #f0f5fc;
    text-decoration: none;
}

.drawer-footer {
    padding: 20px 22px;
    background: #f8fafc;
    border-top: 1px solid var(--hdr-border);
    flex-shrink: 0;
}

.drawer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--hdr-text);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.drawer-contact svg {
    color: #003C96;
    flex-shrink: 0;
}

.drawer-contact:hover {
    color: #003C96;
}

.drawer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--hdr-border);
}

.drawer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    color: #003C96;
    border: 1px solid var(--hdr-border);
    transition: all 0.25s ease;
}

.drawer-social a:hover {
    background: #003C96;
    color: #fff;
    border-color: #003C96;
}

/* Header Responsive */
@media (max-width: 1200px) {
    .header-menu-link {
        padding: 10px 14px;
        font-size: 15px;
    }

    .header-lang-label {
        display: none;
    }

    .header-lang-toggle {
        padding: 0 10px;
        gap: 6px;
    }

    .header-social {
        display: none;
    }
}

@media (max-width: 1024px) {
    .header-nav,
    .header-lang,
    .header-search-toggle,
    .header-search-panel,
    .header-social,
    .header-cta-btn {
        display: none;
    }

    .drawer-lang {
        display: block;
    }

    .header-mobile-toggle {
        display: flex;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-logo {
        height: 44px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        min-height: 64px;
    }

    .brand-logo {
        height: 38px;
    }
}

/* ----------------------------------------------------------
   页脚 - Footer
   ---------------------------------------------------------- */
.site-footer {
    background: #003C96;
    color: rgba(255,255,255,0.88);
    position: relative;
    overflow: hidden;
}

/* 页脚顶部品牌渐变装饰线 */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003C96, #0094DD, #003C96);
}

/* 页脚背景装饰 */
.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 148, 221, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-main {
    padding: 60px 0 50px;
    position: relative;
    z-index: 1;
}

/* 页脚4列网格 */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 48px;
    align-items: flex-start;
}

/* 品牌列 */
.footer-col-brand {
    padding-right: 10px;
}

.footer-brand-link {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo {
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.92;
    transition: opacity 0.25s ease;
}

.footer-brand-link:hover .footer-logo {
    opacity: 1;
}

.footer-company-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

/* 社交图标 */
.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-social-link:hover {
    background: #0094DD;
    color: #fff;
    border-color: #0094DD;
    transform: translateY(-2px);
}

/* 页脚列标题 */
.footer-col-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 22px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 148, 221, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* 页脚链接列表 */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0094DD;
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    color: #0094DD;
    padding-left: 6px;
    text-decoration: none;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* 联系信息 */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(0, 148, 221, 0.18);
    border-radius: 6px;
    color: #0094DD;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-text {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-text strong {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-text a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-text a:hover {
    color: #0094DD;
}

/* 页脚底部版权栏 */
.footer-bottom {
    background: rgba(0,0,0,0.25);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-nav a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-nav a:hover {
    color: #0094DD;
}

/* ----------------------------------------------------------
   移动端底部导航栏
   ---------------------------------------------------------- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(90deg, #003C96 0%, #0094DD 100%);
    border-top: none;
    box-shadow: 0 -4px 20px rgba(0, 60, 150, 0.35);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;
}

.mobile-bottom-nav-list {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    height: 56px;
    box-sizing: border-box;
}

.mobile-bottom-nav-list > li {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    padding: 6px 2px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    transition: color 0.2s ease;
    position: relative;
    background: transparent;
    box-sizing: border-box;
}

.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item:active {
    color: #fff;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.12);
}

.mobile-bottom-nav-item span {
    color: inherit;
    line-height: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-bottom-nav-item svg {
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
    color: inherit;
}

.mobile-bottom-nav-item:active svg {
    transform: translateY(-2px) scale(1.1);
}

/* WhatsApp 居中强调 */
.mobile-bottom-nav-highlight {
    color: #fff;
}

.mobile-bottom-nav-highlight:hover,
.mobile-bottom-nav-highlight:active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* ----------------------------------------------------------
   浮动客服按钮
   ---------------------------------------------------------- */
.kefu-container {
    position: fixed;
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: 88px;
    z-index: 800;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    max-width: calc(100% - 32px);
    pointer-events: none;
}

.kefu-container > * {
    pointer-events: auto;
}

.kefu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #003C96;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 60, 150, 0.35);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.kefu-toggle:hover {
    background: #0094DD;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 148, 221, 0.4);
}

.kefu-icon-open,
.kefu-icon-close {
    position: absolute;
    transition: all 0.3s ease;
}

.kefu-icon-close {
    opacity: 0;
    transform: rotate(90deg);
}

.kefu-container.open .kefu-icon-open {
    opacity: 0;
    transform: rotate(-90deg);
}

.kefu-container.open .kefu-icon-close {
    opacity: 1;
    transform: rotate(0);
}

.kefu-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kefu-container.open .kefu-buttons {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.kefu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
    transition: all 0.25s ease;
    position: relative;
}

.kefu-btn:hover {
    transform: scale(1.12) translateX(-4px);
    text-decoration: none;
}

.kefu-whatsapp { background: #25D366; }
.kefu-email    { background: #003C96; }
.kefu-youtube  { background: #FF0000; }
.kefu-facebook { background: #1877F2; }

.kefu-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 20, 50, 0.85);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.kefu-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(10, 20, 50, 0.85);
}

.kefu-btn:hover .kefu-tooltip {
    opacity: 1;
}

/* ----------------------------------------------------------
   返回顶部按钮
   ---------------------------------------------------------- */
.scroll-top-btn {
    position: fixed;
    right: max(24px, env(safe-area-inset-right, 0px));
    bottom: 148px;
    width: 40px;
    height: 40px;
    background: rgba(0, 60, 150, 0.15);
    border: 1.5px solid rgba(0, 60, 150, 0.2);
    border-radius: 8px;
    color: #003C96;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 799;
    backdrop-filter: blur(4px);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #003C96 0%, #0094DD 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 60, 150, 0.3);
}

/* ----------------------------------------------------------
   响应式：页脚
   ---------------------------------------------------------- */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 36px;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0 30px;
        align-items: start;
    }

    .footer-brand-link {
        grid-row: 1 / 3;
    }

    .footer-company-name {
        margin-top: 4px;
    }

    .footer-tagline {
        margin-bottom: 0;
    }

    .footer-social {
        grid-column: 1 / -1;
        margin-top: 16px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 48px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        max-width: 100%;
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    /* 移动端显示底部导航，隐藏PC端底部 */
    .mobile-bottom-nav {
        display: block;
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }

    .site-footer {
        display: none;
    }

    .kefu-container {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        right: max(12px, env(safe-area-inset-right, 0px));
        z-index: 9998;
    }

    .scroll-top-btn {
        bottom: calc(132px + env(safe-area-inset-bottom, 0px));
        right: max(12px, env(safe-area-inset-right, 0px));
        z-index: 9997;
    }
}

@media (max-width: 380px) {
    .mobile-bottom-nav-item {
        font-size: 9px;
        padding: 6px 1px;
        gap: 2px;
    }

    .mobile-bottom-nav-item svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-main {
        padding: 36px 0 32px;
    }

    .footer-col-title {
        font-size: 14px;
    }
}

/* ----------------------------------------------------------
   组件通用样式（按钮 / 标题等）
   保留原有 Index 页面等组件使用的样式
   ---------------------------------------------------------- */

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #0094DD;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #0094DD;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn:hover {
    background: #0077b0;
    border-color: #0077b0;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 148, 221, 0.3);
}

.btn-outline {
    background: transparent;
    color: #0094DD;
}

.btn-outline:hover {
    background: #0094DD;
    color: #fff;
}

.btn-primary {
    background: #003C96;
    border-color: #003C96;
}

.btn-primary:hover {
    background: #052878;
    border-color: #052878;
    box-shadow: 0 6px 20px rgba(0, 60, 150, 0.3);
}

/* 区块标题 */
.section {
    padding: 70px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    text-align: left;
    margin-bottom: 50px;
    position: relative;
}

.section-title span {
    font-size: 34px;
    font-weight: 700;
    color: #1a2340;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #0094DD;
    border-radius: 3px;
}

/* 产品卡片 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8edf5;
    box-shadow: 0 2px 12px rgba(0, 60, 150, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 60, 150, 0.12);
    border-color: #0094DD;
}

.product-image-wrapper {
    position: relative;
    padding-top: 72%;
    overflow: hidden;
    background: #f8faff;
}

.product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-content {
    padding: 16px 20px 18px;
}

.product-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a2340;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: #003C96;
}

.product-model {
    color: #0094DD;
    font-size: 13px;
    margin: 0;
}

/* 轮播Banner */
.hero-banner {
    position: relative;
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: #f4f8ff;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-text {
    position: absolute;
    z-index: 10;
}

.banner-text-bottom-right {
    bottom: 80px;
    right: 280px;
    text-align: right;
    width: 1200px;
    max-width: 1200px;
}

.banner-text-top-left {
    top: 120px;
    left: 200px;
    text-align: left;
}

.banner-slogan {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 60, 150, 0.5);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 轮播控制 */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    pointer-events: none;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: rgba(0, 60, 150, 0.7);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    font-size: 20px;
    backdrop-filter: blur(4px);
}

.carousel-btn:hover {
    background: #0094DD;
    border-color: #0094DD;
    transform: scale(1.1);
}

.carousel-prev::before { content: '‹'; }
.carousel-next::before { content: '›'; }

.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: #0094DD;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(0, 148, 221, 0.7);
}

/* 关于我们 */
.section-about {
    background: linear-gradient(rgba(6,49,144,0.75), rgba(6,49,144,0.6));
    color: #fff;
    position: relative;
}

.section-about .section-title { margin-top: 20px; }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 20px;
}

.about-text {
    z-index: 2;
    position: relative;
    background: #fff;
    padding: 32px 28px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.about-subtitle {
    font-size: 22px;
    color: #0094DD;
    margin: 0 0 16px;
    font-weight: 700;
}

.about-description {
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 24px;
    flex: 1;
    word-wrap: break-word;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
}

/* 新闻部分 */
.section-news {
    background: #f4f8ff;
}

.news-section-title { text-align: center; margin-bottom: 50px; }

.news-section-title h2 {
    font-size: 34px;
    color: #1a2340;
    margin-bottom: 12px;
    font-weight: 700;
}

.news-section-subtitle {
    font-size: 15px;
    color: #667;
    line-height: 1.6;
    text-align: center;
}

.news-main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.news-featured-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0, 60, 150, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8edf5;
}

.news-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 60, 150, 0.12);
}

.news-featured-image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.news-featured-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-featured-card:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured-content {
    padding: 26px 28px;
}

.news-featured-title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.news-featured-title a {
    color: #1a2340;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-featured-title a:hover { color: #003C96; }

.news-featured-description {
    color: #667;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 14px;
}

.news-featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.news-date { color: #9eaab5; font-size: 13px; }

.news-read-more {
    color: #0094DD;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s ease;
}

.news-read-more:hover { color: #003C96; }

.news-list-section {
    background: #fff;
    border-radius: 10px;
    padding: 24px 22px;
    box-shadow: 0 3px 16px rgba(0, 60, 150, 0.08);
    border: 1px solid #e8edf5;
}

.news-list-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2340;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #0094DD;
}

.news-simple-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 12px;
}

.news-simple-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-simple-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.news-simple-title a {
    color: #1a2340;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-simple-title a:hover { color: #003C96; }

.news-simple-description {
    color: #9eaab5;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 6px;
}

.news-simple-date { color: #9eaab5; font-size: 12px; }

.news-more-section { text-align: center; margin-top: 40px; }

.news-more-btn {
    padding: 13px 36px;
    font-size: 14px;
    background: transparent;
    color: #003C96;
    border: 2px solid #003C96;
}

.news-more-btn:hover {
    background: #003C96;
    color: #fff;
    border-color: #003C96;
}

/* 联系页面 */
.section-contact { background: #fff; }

.contact-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-main-title {
    font-size: 34px;
    color: #1a2340;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-subtitle {
    font-size: 15px;
    color: #667;
    line-height: 1.6;
}

.contact-main-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}

.contact-info-card {
    background: #f4f8ff;
    border-radius: 10px;
    padding: 36px 30px;
    border: 1px solid #e8edf5;
}

.contact-card-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #0094DD;
}

.contact-logo-wrapper { margin-bottom: 16px; }

.contact-company-logo { height: 52px; width: auto; }

.contact-company-name {
    font-size: 16px;
    color: #1a2340;
    margin: 12px 0 8px;
    font-weight: 700;
}

.contact-company-slogan {
    color: #667;
    font-size: 13px;
    margin: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.contact-icon-wrapper {
    width: 38px;
    height: 38px;
    background: #003C96;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon { width: 18px; height: 18px; color: #fff; }

.contact-info-content { flex: 1; }

.contact-info-label {
    display: block;
    font-size: 12px;
    color: #9eaab5;
    margin-bottom: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-value {
    display: block;
    font-size: 14px;
    color: #1a2340;
    line-height: 1.5;
}

.contact-form-card {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    padding: 32px 36px;
    box-shadow: 0 3px 16px rgba(0, 60, 150, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group { margin-bottom: 18px; }

.form-label {
    display: block;
    margin-bottom: 7px;
    color: #1a2340;
    font-weight: 600;
    font-size: 13px;
}

.required-mark { color: #dc3545; }

.input-wrapper,
.textarea-wrapper { position: relative; }

.form-input,
.form-textarea {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1.5px solid #d8e0eb;
    border-radius: 7px;
    font-size: 14px;
    transition: all 0.25s ease;
    background: #fff;
    color: #1a2340;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0094DD;
    box-shadow: 0 0 0 3px rgba(0, 148, 221, 0.12);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    padding-left: 14px;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #9eaab5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-wrapper {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.verify-wrapper .input-wrapper { flex: 1; }

.verify-image {
    width: 110px;
    height: 40px;
    border: 1.5px solid #d8e0eb;
    border-radius: 7px;
    cursor: pointer;
    transition: border-color 0.25s ease;
}

.verify-image:hover { border-color: #0094DD; }

.form-actions { margin-top: 24px; }

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #003C96 0%, #0094DD 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #002a70 0%, #0077b0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 60, 150, 0.35);
}

.btn-icon { width: 16px; height: 16px; }

.empty-state,
.news-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #9eaab5;
    font-size: 16px;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .about-content,
    .news-main-layout,
    .contact-main-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .hero-banner { height: 280px; }
    .carousel-controls { display: none; }

    .section { padding: 50px 0; }

    .section-title span { font-size: 26px; }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-content { grid-template-columns: 1fr; }

    .about-text {
        min-height: auto;
        padding: 24px 20px 32px;
    }

    .about-image img { min-height: 280px; }

    .news-main-layout { gap: 24px; }

    .contact-info-card,
    .contact-form-card {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .banner-text { width: 90%; max-width: none; }
    .banner-text-bottom-right { bottom: 30px; right: 16px; width: 75%; max-width: 75%; }
    .banner-text-top-left { top: 30px; left: 16px; width: 70%; }
    .banner-slogan { font-size: 28px; font-weight: 700; }
}

@media (max-width: 480px) {
    .hero-banner { height: 200px; }

    .section { padding: 36px 0; }

    .section-title span { font-size: 22px; }

    .product-grid { grid-template-columns: 1fr; }

    .about-image img { min-height: 240px; }

    .banner-text { width: 95%; padding: 0 12px; }
    .banner-text-bottom-right { bottom: 24px; right: 12px; width: 85%; max-width: 85%; }
    .banner-text-top-left { top: 24px; left: 12px; width: 80%; }
    .banner-slogan { font-size: 20px; letter-spacing: 0.3px; line-height: 1.3; }

    .news-featured-content,
    .news-list-section { padding: 18px 16px; }
}

/* ---------- 右侧展会漂浮窗 ---------- */
.ex-float {
    --ex-brand: #003C96;
    --ex-brand-dark: #002a70;
    --ex-brand-light: #0094DD;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(calc(-50% - 20px));
    z-index: 1080;
    pointer-events: none;
    font-family: var(--font-family-base);
}

/* 展开：[绿色竖条][白色面板] 整体贴右；收缩：仅竖条贴右 */
.ex-float-wrap {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: stretch;
    pointer-events: auto;
    filter: drop-shadow(0 12px 40px rgba(0, 30, 80, 0.15));
}

.ex-float-tab {
    flex-shrink: 0;
    align-self: stretch;
    z-index: 2;
    width: 42px;
    padding: 18px 8px;
    min-height: 120px;
    margin-right: -1px;
    box-sizing: border-box;
    border: none;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(180deg, var(--ex-brand) 0%, var(--ex-brand-dark) 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    transition: background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: -4px 0 16px rgba(0, 60, 150, 0.35);
}

.ex-float-tab:hover {
    background: linear-gradient(180deg, var(--ex-brand-light) 0%, var(--ex-brand) 100%);
}

.ex-float-tab-text {
    display: block;
}

.ex-float-panel {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    max-width: calc(100vw - 64px);
    background: #ffffff;
    border-radius: 0 14px 14px 0;
    border: 1px solid rgba(0, 60, 150, 0.1);
    border-left: none;
    overflow: hidden;
    transform: translateX(0);
    transform-origin: right center;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.35s ease,
        visibility 0.35s ease,
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        max-width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ex-float-map {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='180' viewBox='0 0 320 180'%3E%3Cg fill='%23003D96' fill-opacity='0.12'%3E%3Ccircle cx='40' cy='90' r='1.2'/%3E%3Ccircle cx='55' cy='75' r='1'/%3E%3Ccircle cx='70' cy='95' r='1.1'/%3E%3Ccircle cx='90' cy='70' r='1'/%3E%3Ccircle cx='110' cy='88' r='1.2'/%3E%3Ccircle cx='130' cy='72' r='1'/%3E%3Ccircle cx='150' cy='92' r='1.1'/%3E%3Ccircle cx='170' cy='68' r='1'/%3E%3Ccircle cx='190' cy='85' r='1.2'/%3E%3Ccircle cx='210' cy='100' r='1'/%3E%3Ccircle cx='230' cy='78' r='1.1'/%3E%3Ccircle cx='250' cy='95' r='1'/%3E%3Ccircle cx='270' cy='72' r='1.2'/%3E%3Ccircle cx='290' cy='88' r='1'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center bottom;
    pointer-events: none;
    mask-image: linear-gradient(180deg, transparent 0%, black 40%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 40%);
}

.ex-float-content {
    position: relative;
    z-index: 1;
    padding: 22px 20px 56px;
}

.ex-float-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--ex-brand);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ex-float-company {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ex-float-details {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ex-float-details li {
    font-size: 12px;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 6px;
}

.ex-float-details li:last-child {
    margin-bottom: 0;
}

.ex-float-label {
    font-weight: 700;
    color: #1e293b;
}

.ex-float-details a {
    color: var(--ex-brand);
    text-decoration: none;
    word-break: break-all;
}

.ex-float-details a:hover {
    text-decoration: underline;
}

.ex-float-collapse {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--ex-brand) 0%, var(--ex-brand-dark) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 60, 150, 0.35);
}

.ex-float-collapse:hover {
    transform: scale(1.06);
    background: linear-gradient(135deg, var(--ex-brand-light) 0%, var(--ex-brand) 100%);
    box-shadow: 0 6px 18px rgba(0, 60, 150, 0.45);
}

.ex-float-collapse-icon {
    transition: transform 0.35s ease;
}

/* 收缩：面板脱离文档流；竖条恢复固定高度，不铺满右侧 */
.ex-float.is-collapsed .ex-float-wrap {
    align-items: center;
}

.ex-float.is-collapsed .ex-float-tab {
    align-self: center;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 20px 10px;
}

.ex-float.is-collapsed .ex-float-panel {
    position: absolute;
    right: 42px;
    top: 50%;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0;
    margin: 0;
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
    visibility: hidden;
    border-width: 0;
    overflow: hidden;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .ex-float {
        display: none;
    }
}
