/* ============================================================
   头部导航 & 页脚组件样式
   品牌色: 背景#FFFFFF | 主绿#224C74 | 深蓝#224C74
   ============================================================ */

/* ----------------------------------------------------------
   主导航栏
   ---------------------------------------------------------- */
.main-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e8edf5;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(34, 76, 116, 0.1);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
    gap: 20px;
}

/* Logo */
.navbar-brand {
    flex-shrink: 0;
}

.brand-link {
    display: block;
    line-height: 0;
}

.brand-logo {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

/* 主导航菜单 */
.main-navigation {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 34px 18px;
    color: #1a2340;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #224C74;
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #224C74;
    text-decoration: none;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* Contact链接 - 与其他导航项样式一致 */

/* 导航箭头 */
.nav-arrow {
    transition: transform 0.25s ease;
    opacity: 0.7;
}

.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    background: #ffffff;
    min-width: 210px;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(34, 76, 116, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 1010;
    list-style: none;
    margin: 0;
    padding: 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f4f8;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-item {
    display: block;
    padding: 11px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f0f8f4;
    color: #224C74;
    padding-left: 26px;
    text-decoration: none;
}

/* 搜索框 */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.navbar-search {
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f0f4f8;
    border: 1.5px solid transparent;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.search-form:focus-within {
    background: #fff;
    border-color: #224C74;
    box-shadow: 0 0 0 3px rgba(34, 76, 116, 0.15);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    padding: 9px 14px;
    color: #1a2340;
    font-size: 13px;
    width: 170px;
    transition: width 0.3s ease;
}

.search-input::placeholder {
    color: #9eaab5;
}

.search-btn {
    background: transparent;
    border: none;
    padding: 9px 14px 9px 6px;
    color: #9eaab5;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.search-btn:hover,
.search-form:focus-within .search-btn {
    color: #224C74;
}

/* 语言切换（桌面端，靠搜索框右侧） */
.navbar-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    margin-left: 8px;
    border-left: 1px solid #e2e8f0;
}
.navbar-lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 6px 14px;
    min-width: 44px;
    box-sizing: border-box;
    border-radius: 999px;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #5c6678;
    border: 1.5px solid transparent;
    background: #f3f6fa;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.navbar-lang-link:hover {
    color: #224C74;
    background: #e9f0f8;
    text-decoration: none;
}
.navbar-lang-link.is-active {
    color: #3d4a5c;
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
.navbar-lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.navbar-lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.navbar-lang-txt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

/* 移动端汉堡按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: #f0f4f8;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #224C74;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ----------------------------------------------------------
   移动端侧边导航
   ---------------------------------------------------------- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(34, 76, 116, 0.45);
    backdrop-filter: blur(2px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-navigation {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100dvh;
    background: #ffffff;
    z-index: 1999;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(34, 76, 116, 0.15);
}

.mobile-navigation.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #eef2f7;
    background: #f8faff;
    flex-shrink: 0;
}

.mobile-nav-logo {
    height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f0f4f8;
    border: none;
    border-radius: 50%;
    color: #1a2340;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-nav-close:hover {
    background: #224C74;
    color: #fff;
}

/* 移动端搜索 */
.mobile-search-wrap {
    padding: 16px 20px;
    border-bottom: 1px solid #eef2f7;
    flex-shrink: 0;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    background: #f0f4f8;
    border: 1.5px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.mobile-search-form:focus-within {
    border-color: #224C74;
    background: #fff;
}

.mobile-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    color: #1a2340;
}

.mobile-search-input::placeholder {
    color: #9eaab5;
}

.mobile-search-btn {
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: #9eaab5;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.mobile-search-btn:hover {
    color: #224C74;
}

.mobile-lang {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}
.mobile-lang-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: #4a5568;
    text-align: center;
    text-decoration: none;
    background: #f3f6fa;
    border: 1.5px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.mobile-lang-link img {
    display: none !important;
}
.mobile-lang-link:hover {
    color: #224C74;
    background: #e9f0f8;
    text-decoration: none;
}
.mobile-lang-link.is-active {
    color: #3d4a5c;
    background: #fff;
    border-color: #d1d5db;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* 移动端菜单列表 */
.mobile-nav-content {
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f4f8;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #1a2340;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mobile-nav-link:hover,
.mobile-nav-link.mobile-nav-link-contact {
    text-decoration: none;
}

.mobile-nav-link:hover {
    background: #f8faff;
    color: #224C74;
    padding-left: 26px;
}

.mobile-nav-parent.mobile-nav-link:hover {
    padding-left: 44px;
    padding-right: 44px;
}

.mobile-nav-link svg {
    flex-shrink: 0;
    color: #224C74;
}

.mobile-nav-link-contact {
    background: #224C74;
    color: #fff !important;
    border-radius: 0;
    margin: 10px 16px;
    border-radius: 8px;
    justify-content: center;
    padding: 14px 20px !important;
}

.mobile-nav-link-contact svg {
    color: rgba(255,255,255,0.8) !important;
}

.mobile-nav-link-contact:hover {
    background: #224C74 !important;
    padding-left: 20px !important;
}

/* 纯文字条目（无左侧图标）：保持左右对称 */
.mobile-nav-link.mobile-nav-link-text-only:not(.mobile-nav-parent) {
    gap: 0;
}
.mobile-nav-link.mobile-nav-link-text-only:not(.mobile-nav-parent):hover {
    padding-left: 20px;
}

.mobile-nav-parent {
    position: relative;
    justify-content: center;
    padding-left: 44px;
    padding-right: 44px;
    box-sizing: border-box;
}

/* 下拉箭头不参与 flex 占位，PRODUCTS 可真正水平居中 */
.mobile-nav-parent .submenu-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-nav-item.open .mobile-nav-parent .submenu-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-nav-link-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.submenu-arrow {
    transition: transform 0.3s ease, color 0.2s ease;
    color: #9eaab5;
    flex-shrink: 0;
}

.mobile-nav-view-all {
    display: none;
    padding: 10px 20px 10px 48px;
    font-size: 13px;
    color: #224C74;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-view-all:hover {
    color: #224C74;
}

/* 移动端子菜单 */
.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8faff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-submenu-item {
    border-top: 1px solid #eef2f7;
}

.mobile-submenu-link {
    display: block;
    padding: 11px 20px 11px 48px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.mobile-submenu-link:hover {
    color: #224C74;
    background: #f0f8f4;
    padding-left: 54px;
    text-decoration: none;
}

/* 移动端底部联系 */
.mobile-contact-footer {
    padding: 16px 20px;
    background: #f8faff;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-contact-item svg {
    color: #224C74;
    flex-shrink: 0;
}

.mobile-contact-item:hover {
    color: #224C74;
}

/* 响应式断点 */
@media (max-width: 1100px) {
    .nav-link {
        padding: 32px 12px;
        font-size: 13px;
    }
    .navbar-content {
        min-height: 96px;
    }
}

@media (max-width: 900px) {
    .main-navigation,
    .navbar-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-content {
        min-height: 78px;
        padding: 0 4px;
    }

    .brand-logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .mobile-navigation {
        width: 290px;
        right: -290px;
    }

    .navbar-content {
        min-height: 68px;
    }

    .brand-logo {
        height: 42px;
    }
}

/* ----------------------------------------------------------
   页脚 - Footer
   ---------------------------------------------------------- */
.site-footer {
    background: #224C74;
    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, #224C74, #224C74, #224C74);
}

/* 页脚背景装饰 */
.site-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 76, 116,0.06) 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: #224C74;
    color: #fff;
    border-color: #224C74;
    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(34, 76, 116, 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: #224C74;
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
    text-decoration: none;
}

.footer-links a:hover::before {
    opacity: 1;
    background: #ffffff;
}

/* 联系信息 */
.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(34, 76, 116, 0.18);
    border-radius: 6px;
    color: #224C74;
    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: #ffffff;
}

/* 页脚底部版权栏 */
.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: #ffffff;
}

/* ----------------------------------------------------------
   移动端底部导航栏
   ---------------------------------------------------------- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #224C74;
    border-top: none;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 56px;
}

.mobile-bottom-nav-list > li {
    flex: 1;
    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: 4px;
    width: 100%;
    height: 100%;
    padding: 6px 4px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
    position: relative;
    background: transparent;
}

.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item:active {
    color: #224C74;
    text-decoration: none !important;
    background: transparent;
}

.mobile-bottom-nav-item span {
    color: inherit;
    line-height: 1;
}

.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: rgba(255, 255, 255, 0.65);
}

.mobile-bottom-nav-highlight:hover,
.mobile-bottom-nav-highlight:active {
    color: #224C74;
}

/* ----------------------------------------------------------
   浮动客服按钮
   ---------------------------------------------------------- */
.kefu-container {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 800;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.kefu-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #224C74;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(34, 76, 116, 0.35);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.kefu-toggle:hover {
    background: #224C74;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(34, 76, 116, 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: #224C74; }
.kefu-youtube  { background: #FF0000; }
.kefu-facebook { background: #1877F2; }
.kefu-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.kefu-tiktok    { background: #000000; }
.kefu-linkedin  { background: #0A66C2; }

.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: 24px;
    bottom: 148px;
    width: 40px;
    height: 40px;
    background: rgba(34, 76, 116, 0.15);
    border: 1.5px solid rgba(34, 76, 116, 0.2);
    border-radius: 8px;
    color: #224C74;
    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: #224C74;
    color: #fff;
    border-color: #224C74;
    transform: translateY(-2px);
}

/* ----------------------------------------------------------
   响应式：页脚
   ---------------------------------------------------------- */
@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;
    }

    /* 移动端显示底部导航，隐藏PC端底部 */
    .mobile-bottom-nav {
        display: block;
    }

    .site-footer {
        display: none;
    }

    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    .kefu-container {
        bottom: 80px;
        right: 16px;
    }

    .scroll-top-btn {
        bottom: 140px;
        right: 16px;
    }
}

@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: #224C74;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #224C74;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.btn:hover {
    background: #224C74;
    border-color: #224C74;
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(34, 76, 116, 0.3);
}

.btn-outline {
    background: transparent;
    color: #224C74;
}

.btn-outline:hover {
    background: #224C74;
    color: #fff;
}

.btn-primary {
    background: #224C74;
    border-color: #224C74;
}

.btn-primary:hover {
    background: #224C74;
    border-color: #224C74;
    box-shadow: 0 6px 20px rgba(34, 76, 116, 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: #224C74;
    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(34, 76, 116, 0.06);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(34, 76, 116, 0.12);
    border-color: #224C74;
}

.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: #224C74;
}

.product-model {
    color: #224C74;
    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(34, 76, 116, 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(34, 76, 116, 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: #224C74;
    border-color: #224C74;
    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: #224C74;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(34, 76, 116, 0.7);
}

/* 关于我们 */
.section-about {
    background: linear-gradient(rgba(34, 76, 116,0.75), rgba(34, 76, 116,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: #224C74;
    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(34, 76, 116, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8edf5;
}

.news-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(34, 76, 116, 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: #224C74; }

.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: #224C74;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s ease;
}

.news-read-more:hover { color: #224C74; }

.news-list-section {
    background: #fff;
    border-radius: 10px;
    padding: 24px 22px;
    box-shadow: 0 3px 16px rgba(34, 76, 116, 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 #224C74;
}

.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: #224C74; }

.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: #224C74;
    border: 2px solid #224C74;
}

.news-more-btn:hover {
    background: #224C74;
    color: #fff;
    border-color: #224C74;
}

/* 联系页面 */
.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 #224C74;
}

.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: #224C74;
    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(34, 76, 116, 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: #224C74;
    box-shadow: 0 0 0 3px rgba(34, 76, 116, 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: #224C74; }

.form-actions { margin-top: 24px; }

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #224C74;
    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: #224C74;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 76, 116, 0.3);
}

.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; }
}
