/* === 全局变量与重置 === */
:root {
    --primary: #fd3d02;          /* 仅用于悬停高亮 */
    --bg-light: #fdfcfa;         /* 主背景/业务模块背景 */
    --bg-cream: #f9f5ee;         /* Banner/次要背景 */
    --bg-hover: #f7f4e9;         /* 导航悬停背景 */
    --dark: #333333;
    --text: #4c4b4a;
    --text-light: #777777;
    --white: #ffffff;
    --black: #000000;
    --border-radius: 26px;       /* 按钮圆角 */
    --border-radius-sm: 8px;     /* 卡片圆角 */
    --underline-color: #f1efe6;  /* 业务卡片下划线 */
    --transition: all 0.3s ease;
    --progress-color: #ff0000;   /* 进度条颜色 */
    /* 新增系统字体栈 */
    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-zh: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", STHeiti, SimHei, sans-serif;
    --font-primary: var(--font-system), var(--font-zh);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-y: scroll;
    overflow-x: hidden;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 优化移动端容器内边距 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

section { padding: 80px 0; }

/* 优化移动端区块间距 */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
}

/* === 链接去下划线 === */
a {
    text-decoration: none;
}

/* === 按钮样式 (小圆角) === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: #e8e8e8;
    color: var(--dark);
    border-radius: var(--border-radius);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}
.btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-primary { 
    background-color: #f0f0f0;
    border: 2px solid transparent;
}

/* === 优化后的按钮样式 === */
.btn-outline-dark {
    background-color: transparent;
    color: var(--black);
    border: 1px solid #001730;
    border-radius: var(--border-radius);
    padding: 10px 20px;
    max-width: 245px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 300;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-outline-dark .btn-text {
    flex: 1;
    text-align: left;
    font-size: 1rem;
    position: relative;
    z-index: 3;
    transition: color 0.3s ease;
}

.btn-outline-dark .btn-arrow {
    width: 36px;
    height: 36px;
    background-color: #001730;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
}

.btn-outline-dark .btn-arrow::after {
    content: '→';
    font-weight: bold;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-dark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% - 28px - 18px);
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    pointer-events: none;
}

.btn-outline-dark:hover {
    background-color: #fd3d02;
    border-color: #fd3d02;
    transition: background-color 0.5s ease 0.1s;
}

.btn-outline-dark:hover::before {
    width: 400px;
    height: 400px;
    left: calc(100% - 28px - 18px);
    transform: translate(-50%, -50%);
    background-color: var(--primary);
    opacity: 0.9;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-outline-dark:not(:hover)::before {
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-outline-dark:hover .btn-arrow {
    background-color: transparent;
    transform: translateX(5px);
}

.btn-outline-dark:hover .btn-arrow::after {
    color: var(--white);
}

.btn-outline-dark:hover .btn-text {
    color: var(--white);
}

/* === 导航栏 (白色/黑色切换) === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
header.scrolled {
    background-color: var(--bg-light);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    position: relative;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
}
header.scrolled .logo { color: var(--dark); }
.logo-main { font-size: 1.8rem; }
.logo-domain {
    font-size: 0.9rem;
    position: relative;
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.8);
}
header.scrolled .logo-domain { color: var(--text-light); }
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    position: relative;
    margin-left: auto;
}
.nav-links li { 
    margin-left: 35px;
    display: flex;
    align-items: center;
    position: relative;
}
.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
}
header.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover {
    background-color: var(--bg-hover);
    color: var(--dark);
}

/* 免费诊断按钮样式 - 导航栏内 */
.nav-links .btn-primary {
    font-weight: 500;
    font-size: 14px;
    border: 2px solid var(--white);
    background-color: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
}
header.scrolled .nav-links .btn-primary {
    border-color: var(--dark);
    color: var(--dark);
    background-color: transparent;
}
.nav-links .btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* 二级菜单样式 - 修正定位 */
.submenu {
    position: absolute;
    top: calc(100% + 20px);
    left: auto;
    right: 0;
    width: 1350px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 40px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    display: flex;
    gap: 40px;
}

/* 优化移动端二级菜单宽度 */
@media (max-width: 1400px) {
    .submenu {
        width: 1200px;
    }
}

/* 当header滚动后的调整 */
header.scrolled .submenu {
    top: calc(100% + 15px);
}

/* 修正：让二级菜单在nav的最右侧 */
.nav-links > li.has-submenu {
    position: static;
}

.nav-links > li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu-columns {
    display: flex;
    flex: 1;
    gap: 40px;
}

.submenu-column {
    flex: 1;
    position: relative;
}

/* 仅作为三级标题的边界 */
.submenu-column:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -20px;
    height: calc(100% - 60px);
    width: 1px;
    background-color: #f0f0f0;
}

.submenu span {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: none;
    font-weight: 400;
}

/* === 二级菜单标题链接样式 === */
.submenu-column a.submenu-title-link {
    display: block;
    text-decoration: none;
    border-radius: 0;
    padding: 0;
    margin: 0 0 25px 0;
    background-color: transparent !important;
}

.submenu-column a.submenu-title-link span {
    color: var(--dark);
    transition: color 0.3s ease;
    font-weight: 400;
    margin: 0;
    padding: 0;
    border-bottom: none;
    background-color: transparent;
}

.submenu-column a.submenu-title-link:hover {
    background-color: transparent !important;
    border-radius: 0;
}

.submenu-column a.submenu-title-link:hover h4 {
    color: var(--primary) !important;
    background-color: transparent;
}

.submenu-links {
    list-style: none;
    margin-top: 15px;
}

/* 修正：标题链接颜色在li上，整个li有悬停效果 */
.submenu-links li {
    margin-left: 0;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submenu-links li:hover {
    background-color: #f7f4e9;
}

.submenu-links a {
    color: var(--text);
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 400;
    width: 100%;
}

/* 修正：箭头推进效果 */
.submenu-links a::after {
    content: '→';
    font-weight: bold;
    color: transparent;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.submenu-links li:hover a::after {
    color: var(--dark);
    transform: translateX(0);
}

/* 动态二级菜单特殊样式 - 修正布局 */
.submenu-news {
    width: 550px;
}

.submenu-news .submenu-columns {
    gap: 40px;
    flex-direction: row;
    width: 100%;
}

.submenu-news .submenu-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.submenu-news .submenu-column:not(:last-child)::after {
    display: none;
}

/* 修改：业务二级菜单图片调整 */
.submenu-image {
    width: 251px;
    height: 278px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

/* 修改：动态二级菜单图片更窄 */
.submenu-news .submenu-image {
    width: 220px;
    height: 248px;
}

.submenu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-toggle { 
    display: none;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
}

header.scrolled .mobile-toggle {
    color: var(--dark);
}

/* === Banner 文字和按钮基础样式 === */
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--white);
}

.banner-content h1 {
    margin-bottom: 25px;
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--white);
    font-weight: 600;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.banner-btns {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Banner按钮基础样式 */
.banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #001730;
    color: var(--white);
    border-radius: 50px;
    font-weight: 300;
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 180px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.banner-btn .btn-text {
    flex: 1;
    text-align: left;
    font-size: 1rem;
    position: relative;
    z-index: 3;
    transition: color 0.3s ease;
}

.banner-btn .btn-arrow {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
}

.banner-btn .btn-arrow::after {
    content: '→';
    font-weight: bold;
    color: #001730;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* 白色圆圈扩散效果部分 */
.banner-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% - 28px - 18px);
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    pointer-events: none;
}

.banner-btn:hover {
    background-color: #fd3d02;
    transition: background-color 0.5s ease 0.1s;
}

.banner-btn:hover::before {
    width: 400px;
    height: 400px;
    left: calc(100% - 28px - 18px);
    transform: translate(-50%, -50%);
    background-color: var(--primary);
    opacity: 0.9;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 新增：鼠标离开时的复位动画 */
.banner-btn:not(:hover)::before {
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.banner-btn:hover .btn-arrow {
    background-color: transparent;
    transform: translateX(5px);
}

.banner-btn:hover .btn-arrow::after {
    color: var(--white);
}

.banner-btn:hover .btn-text {
    color: var(--white);
}

/* 第二屏居中对齐样式 */
.banner-slide-2 .banner-content {
    text-align: center;
    margin: 0 auto;
}

.banner-slide-2 .banner-content h1,
.banner-slide-2 .banner-content p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.banner-slide-2 .banner-btns {
    justify-content: center;
}

/* === 资讯列表基本样式 === */
.related-news {
    background-color: #fcfbf8;
    padding: 80px 0;
}

.related-news h2 {
    font-size: 2.5rem;
    color: var(--dark);
    text-align: left;
    font-weight: 400;
}

.related-news .news-item {
    height: 100%;
}

.news-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 12px 28px;
    background-color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.news-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.news-tab.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 50px;
}

.news-item {
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    padding-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2b2b2b;
    font-weight: 400;
    flex-grow: 1;
}

.news-item h3 a {
    color: #2b2b2b;
}

.news-item h3 a:hover {
    color: var(--primary);
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    height: 30px;
    align-items: center;
}

/* 资讯卡片右下角加号图标样式 */
.news-plus-icon {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 24px;
    height: 24px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.news-plus-icon i {
    font-size: 12px;
    color: var(--dark);
    transition: var(--transition);
}

.news-item:hover .news-plus-icon {
    background-color: var(--primary);
}

.news-item:hover .news-plus-icon i {
    color: var(--white);
}

/* === 联系板块样式 === */
.contact-container {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    min-height: 400px;
}

.contact-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content h3 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 16px;
}

/* 修改：联系板块两栏布局 */
.contact-details {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.contact-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-column-left {
    justify-content: flex-start;
}

.contact-column-right {
    align-items: center;
    justify-content: flex-start;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.phone-icon {
    width: 50px;
    height: 50px;
    background-color: #f7f4e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

/* 新增：二维码样式 */
.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-label {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

/* === 底部样式 === */
footer {
    background-color: #fffdf8;
    color: #000000;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* 修改：底部标题样式 */
.footer-col h4 {
    color: #000000;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 400;
}

.footer-col h4:after {
    content: none;
}

/* 修改：底部链接和文本样式 */
.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #4c4b4a;
}

.footer-col a {
    color: #4c4b4a;
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--primary);
}

/* 修改：微信图标样式匹配 */
.footer-col .wechat-icon {
    width: 20px;
    height: 20px;
    background-color: #f7f4e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #333333;
    flex-shrink: 0;
}

footer .btn.btn-primary {
    background-color: #333;
    color: var(--white);
    border-color: #333;
}

footer .btn.btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    position: relative;
    font-size: 14px;
    color: #4c4b4a;
}

.footer-bottom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    background-color: #ddd;
}

.footer-bottom p {
    font-size: 14px;
    color: #4c4b4a;
    margin-bottom: 10px;
}

/* 修改：底部链接颜色 */
.footer-bottom a {
    color: #4c4b4a;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* 修改：图标垂直对齐 */
.footer-bottom .icon-align {
    vertical-align: middle;
    margin-right: 5px;
}

/* === 底部按钮样式 === */
.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #001730;
    color: var(--white);
    border-radius: 50px;
    font-weight: 300;
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 180px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 15px;
}

.footer-btn .btn-text {
    flex: 1;
    text-align: left;
    font-size: 1rem;
    position: relative;
    color: var(--white);
    z-index: 3;
    transition: color 0.3s ease;
}

.footer-btn .btn-arrow {
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
}

.footer-btn .btn-arrow::after {
    content: '→';
    font-weight: bold;
    color: #001730;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% - 28px - 18px);
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    pointer-events: none;
}

.footer-btn:hover {
    background-color: #fd3d02;
    transition: background-color 0.5s ease 0.1s;
}

.footer-btn:hover::before {
    width: 400px;
    height: 400px;
    left: calc(100% - 28px - 18px);
    transform: translate(-50%, -50%);
    background-color: var(--primary);
    opacity: 0.9;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-btn:not(:hover)::before {
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-btn:hover .btn-arrow {
    background-color: transparent;
    transform: translateX(5px);
}

.footer-btn:hover .btn-arrow::after {
    color: var(--white);
}

.footer-btn:hover .btn-text {
    color: var(--white);
}

/* === 动画 === */
@keyframes scrollAnimation {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes flipNumber {
    0% {
        transform: rotateX(0);
    }
    100% {
        transform: rotateX(360deg);
    }
}

/* === 讨论链接样式 === */
.discuss-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 10px;
}

.discuss-link-balck {
    color: #000000;
}

.discuss-link:hover {
    color: var(--primary);
}

.red-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}

.red-arrow::after {
    content: '➔';
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
    transform: rotate(-45deg);
    display: block;
}

/* === 快捷联系板块共用样式 === */
.quick-contact {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
        url('/wp-content/themes/geo-theme/img/geobj.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--white);
    text-align: center;
}

.quick-contact h4 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.quick-contact p {
    font-size: 16px;
    max-width: 760px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* 快捷联系按钮样式 */
.quick-contact-btn {
    border-color: var(--white);
    color: var(--white);
}

.quick-contact-btn .btn-arrow {
    background-color: var(--white);
}

.quick-contact-btn .btn-arrow::after {
    color: #001730;
}

.quick-contact-btn:hover {
    border-color: var(--primary);
    color: var(--white);
}

.quick-contact-btn:hover .btn-arrow {
    background-color: transparent;
}

.quick-contact-btn:hover .btn-arrow::after {
    color: var(--white);
}

.quick-contact-btn::before {
    background-color: var(--primary);
}

/* === 深色导航默认样式 === */
.dark-nav {
    transition: var(--transition);
}

.dark-nav .logo {
    color: var(--dark);
}

.dark-nav .logo-domain {
    color: var(--text-light);
}

.dark-nav .nav-links a {
    color: var(--dark);
}

.dark-nav .nav-links a:hover {
    background-color: var(--bg-hover);
    color: var(--dark);
}

.dark-nav .nav-links .btn-primary {
    border-color: var(--dark);
    color: var(--dark);
}

.dark-nav .nav-links .btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.dark-nav .mobile-toggle {
    color: var(--dark);
}

/* 二级菜单在深色导航下的位置调整 */
.dark-nav .submenu {
    top: calc(100% + 15px);
}

/* === 相关业务模块样式 === */
.related-services {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.services-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.services-row:first-child {
    justify-content: space-between;
}

.services-row:last-child {
    justify-content: center;
}

.service-button {
    background-color: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 54px;
    padding: 25px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    min-width: 180px;
    text-decoration: none;
}

.service-button:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    color: var(--primary);
}

/* === 相关案例板块样式（服务页面专用）=== */
.webpage-related-cases {
    padding: 100px 0 0 0;
    background-color: #fcfcfc;
}

.webpage-related-cases .cases-header {
    margin-bottom: 50px;
}

.webpage-related-cases .cases-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 400;
}

.webpage-related-cases .cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 外层容器 */
.webpage-related-cases .case-item-container {
    position: relative;
    height: 350px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.webpage-related-cases .case-item-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

/* 卡片主体链接 */
.webpage-related-cases .case-item-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
}

.webpage-related-cases .case-item-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.webpage-related-cases .case-item-link:hover img {
    transform: scale(1.05);
}

.webpage-related-cases .case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 1;
}

.webpage-related-cases .case-overlay h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
}

.webpage-related-cases .case-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;

}

.webpage-related-cases .case-item-container:hover .case-desc {
    max-height: 80px;
    opacity: 1;
}

/* 独立标签容器 */
.webpage-related-cases .case-tags-container {
    position: absolute;
    left: 15px;
    right: 15px;
    z-index: 20;
    bottom: 70px;
    pointer-events: none;
}

.webpage-related-cases .case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    pointer-events: none;
}

/* 标签按钮样式 */
.webpage-related-cases .case-tag {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    pointer-events: auto;
    cursor: pointer;
    margin: 2px;
}

.webpage-related-cases .case-tag:hover {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

/* === 响应式设计 - 公共部分 === */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 二级菜单响应式调整 */
    .submenu {
        width: 750px;
    }
    
    .submenu-news {
        width: 500px;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    /* 相关案例响应式 */
    .webpage-related-cases .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 相关业务响应式 */
    .services-row {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .service-button {
        flex: 0 0 calc(25% - 15px);
    }
    
    .services-row:first-child .service-button {
        flex: 0 0 calc(20% - 16px);
    }
    
    .services-row:last-child .service-button {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        height: auto;
        z-index: 999;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        justify-content: center;
        position: static;
    }
    
    .nav-links a {
        color: var(--dark);
    }
    
    /* 移动端二级菜单适配 */
    .submenu {
        position: static;
        width: 90%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 15px;
        margin: 10px auto 0;
        background-color: #f9f9f9;
        display: none;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links li.has-submenu:hover .submenu,
    .nav-links li.has-submenu.active .submenu {
        display: flex;
    }
    
    .submenu-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .submenu-column:not(:last-child)::after {
        display: none;
    }
    
    .submenu-image {
        width: 100%;
        height: 200px;
        order: -1;
    }
    
    /* 修改：联系板块两栏布局在平板端调整 */
    .contact-details {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-column-right {
        align-items: flex-start;
    }
    
    .qr-code {
        width: 140px;
        height: 140px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 相关业务响应式 */
    .service-button {
        flex: 0 0 calc(33.333% - 14px);
    }
    
    .services-row:first-child .service-button,
    .services-row:last-child .service-button {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .banner-btns {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .banner-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .contact-content {
        padding: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* 移动端调整资讯卡片图标大小 */
    .news-plus-icon {
        width: 20px;
        height: 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .news-plus-icon i {
        font-size: 10px;
    }
    
    /* 相关案例响应式 */
    .webpage-related-cases .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .webpage-related-cases .case-item-container {
        height: 300px;
    }
    
    /* 相关业务响应式 */
    .service-button {
        flex: 0 0 calc(50% - 10px);
        height: 54px;
        min-width: 140px;
    }
    
    .services-row:first-child .service-button,
    .services-row:last-child .service-button {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .news-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .news-tab {
        width: 100%;
        text-align: center;
    }
    
    .contact-content {
        padding: 30px;
    }
    
    .contact-content h3 {
        font-size: 1.8rem;
    }
    
    /* 修改：联系板块两栏布局在移动端调整 */
    .contact-details {
        gap: 20px;
    }
    
    .phone-number {
        font-size: 1.3rem;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
    
    /* 相关业务响应式 */
    .service-button {
        flex: 0 0 100%;
        height: 54px;
        font-size: 14px;
    }
    
    .services-row:first-child .service-button,
    .services-row:last-child .service-button {
        flex: 0 0 100%;
    }
    
    /* Banner标题优化 */
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .quick-contact h4 {
        font-size: 2rem;
    }
}

/* 优化小屏幕文字大小 */
@media (max-width: 400px) {
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .quick-contact h4 {
        font-size: 1.8rem;
    }
    
    .news-item h3 {
        font-size: 16px;
    }
    
    .news-date {
        font-size: 0.85rem;
    }
}

/* 添加触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .banner-btn:hover,
    .footer-btn:hover,
    .btn-outline-dark:hover {
        transform: none;
    }
    
    .nav-links li.has-submenu .submenu {
        display: none;
    }
    
    .nav-links li.has-submenu.active .submenu {
        display: flex;
    }
}