* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f7fa;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 导航栏核心样式（合并冲突代码） */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    height: 70px;
}

/* 滚动后导航栏样式 */
.nav.scrolled {
    background-color: #fff;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 导航栏容器：强制logo左、菜单右 */
.nav .container {
    max-width: 1980px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* 关键：菜单回右 */
    gap: 60px;
}

/* Logo容器：和98.svg尺寸完全一致（80px×28px），作为重叠定位框 */
.nav-logo {
    position: relative;
    width: 240px;
    height: 84px;
    flex-shrink: 0;
}

/* 两个logo强制重叠+尺寸一致 */
.nav-logo .logo-default,
.nav-logo .logo-white {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* 保证图片不拉伸 */
}

/* 覆盖逻辑：初始98.svg在顶层 */
.nav-logo .logo-default {
    z-index: 1;
}
.nav-logo .logo-white {
    z-index: 2;
}

/* 滚动后切换层级：显示原logo */
.nav.scrolled .nav-logo .logo-default {
    z-index: 2;
}
.nav.scrolled .nav-logo .logo-white {
    z-index: 1;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* 菜单样式（回右） */
.nav-menu {
    display: flex;
    justify-content: flex-end;
    margin-right: 120px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li {
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.nav li {
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav li.active {
    color: #0066cc;
}

.nav li.active::after {
    width: 100%;
}

.nav li:hover {
    color: #0066cc;
}

.nav li::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: width 0.3s;
}

.nav li:hover::after {
    width: 100%;
}

/* 滚动后子元素颜色调整 */
.nav.scrolled .nav-logo-text {
    color: #333;
}
.nav.scrolled .nav-menu li {
    color: #333;
}
.nav.scrolled .nav li {
    color: #333;
}
.nav.scrolled .nav-tel {
    color: #333;
}
.nav.scrolled .phone-toggle {
    color: #333;
}

/* 以下保留你原本的其他样式（phone-container、banner等，无修改） */
.phone-container {
    position: relative;
    margin-left: 20px;
}

.phone-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    transition: transform 0.3s ease;
}

.phone-toggle.active .phone-arrow {
    transform: rotate(180deg);
}

.phone-popup {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 4px;
    margin-top: 5px;
    min-width: 150px;
    text-align: center;
    display: none;
    z-index: 1001;
}

.phone-popup.show {
    display: block;
}

.phone-number {
    color: #0066cc;
    font-weight: bold;
    font-size: 16px;
}

.nav-tel {
    position: absolute;
    right: max(40px, 10%);
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #fff;
    white-space: nowrap;
}

.nav-tel span {
    color: #0066cc;
    font-weight: bold;
}

.banner {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.carousel-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(to left,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0) 20%,
            rgba(0, 0, 0, 0) 80%,
            rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.banner-text {
    position: absolute;
    top: 30%;
    left: 8%;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.8s ease-out 0.3s;
}

#slide1:checked~.carousel-slides .carousel-slide:nth-child(1) .banner-text,
#slide2:checked~.carousel-slides .carousel-slide:nth-child(2) .banner-text,
#slide3:checked~.carousel-slides .carousel-slide:nth-child(3) .banner-text {
    opacity: 1;
}

.text-title {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9);
}

.text-desc {
    font-size: 22px;
    color: #FFFFFF;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 40px;
}

.banner-btn {
    padding: 14px 32px;
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-btn:hover {
    background: #FFFFFF;
    color: #000;
}

.carousel-indicators {
    position: absolute;
    top: 62%;
    left: 20%;
    display: flex;
    gap: 12px;
    z-index: 10;
}

#slide1:checked~.carousel-slides .carousel-slide:nth-child(1),
#slide2:checked~.carousel-slides .carousel-slide:nth-child(2),
#slide3:checked~.carousel-slides .carousel-slide:nth-child(3) {
    opacity: 1;
    z-index: 5;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

#slide1:checked~.carousel-indicators label[for="slide1"],
#slide2:checked~.carousel-indicators label[for="slide2"],
#slide3:checked~.carousel-indicators label[for="slide3"] {
    background-color: #3b82f6;
    border-color: #ffffff;
    transform: scale(1.2);
    width: 24px;
    border-radius: 6px;
}

#slide1:checked~.carousel-indicators label[for="slide1"] {
    background-color: #0066cc;
    width: 24px;
    border-radius: 6px;
}

.contact-overview {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.overview-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-5px);
}

.overview-icon {
    width: 60px;
    height: 60px;
    background-color: #e8f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 24px;
    margin: 0 auto 20px;
}

.overview-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.overview-content {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.main-content {
    max-width: 1600px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
    display: inline-block;
}

.pre-sales {
    margin-bottom: 60px;
}

.pre-sales-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.pre-sales-left {
    flex: 1;
    padding-right: 30px;
}

.pre-sales-left .title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
}

.pre-sales-left .tel {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #0066cc;
    font-size: 18px;
    font-weight: bold;
}

.pre-sales-left .desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.pre-sales-right {
    flex: 1;
    text-align: right;
    padding-left: 30px;
    border-left: 1px solid #f0f0f0;
}

.pre-sales-right .desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.pre-sales-right .btn {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pre-sales-right .btn:hover {
    background-color: #0055bb;
}

.after-sales {
    margin-bottom: 60px;
}

.after-sales-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #0066cc;
}

.service-item .icon {
    width: 50px;
    height: 50px;
    background-color: #e8f3ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.contact-form-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e5e5e5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 12px 0;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0055bb;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    border: 1px solid #e5e5e5;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-align: center;
    padding: 20px;
}

.map-placeholder img {
    max-width: 100px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.faq-section {
    margin-bottom: 60px;
}

.faq-list {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 18px 25px;
    background-color: #fff;
    border: none;
    text-align: left;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:after {
    content: '+';
    font-size: 20px;
    color: #0066cc;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
}

.faq-item.active .faq-answer {
    padding: 15px 25px 25px;
    max-height: 200px;
}

.faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.footer-section {
    background-color: #fff;
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
    margin-top: 0px;
    color: #333;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 25px;
    color: #222;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
    display: inline-block;
}

.footer-col p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.footer-col a {
    color: #0066cc;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-qrcode {
    width: 150px;
    height: 150px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #fff;
    margin-bottom: 15px;
}

.footer-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.copyright-bar {
    max-width: 100%;
    margin: 30px auto 0;
    padding: 15px 20px;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #e5e5e5;
    text-align: center;
    background-color: #fff;
}

.copyright-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.police-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
}

.copyright-text {
    font-size: 12px;
    color: #666;
    font-weight: 300;
    line-height: 1;
    text-align: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.modal .subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s ease;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.modal-form textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-form .submit-btn {
    width: 100%;
    padding: 12px 0;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-form .submit-btn:hover {
    background-color: #0055bb;
}

.jd-contact {
    position: fixed;
    right: 30px;
    bottom: 140px;
    z-index: 9999;
    font-family: "Microsoft YaHei", sans-serif;
}

.jd-contact .contact-btn {
    width: 50px;
    height: 150px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0, 102, 204, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.jd-contact .contact-btn:hover {
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.25);
}

.jd-contact .btn-icon {
    width: 22px;
    height: 22px;
    background: url("/images/ke2.png") no-repeat center center;
    background-size: 100% 100%;
}

.jd-contact .btn-text {
    font-size: 14px;
    color: #0066cc;
    writing-mode: vertical-rl;
    letter-spacing: 2px;
    font-weight: 500;
}

.jd-contact .contact-panel {
    position: absolute;
    right: 60px;
    bottom: 20px;
    width: 280px;
    height: auto;
    min-height: 160px;
    background: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 18px 15px;
    display: none;
    box-sizing: border-box !important;
    overflow: hidden;
}

.jd-contact .panel-title {
    font-size: 16px;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.jd-contact .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jd-contact .contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.jd-contact .contact-list li:last-child {
    border-bottom: none;
}

.jd-contact .contact-list li:hover {
    background-color: #f9fbff;
}

.jd-contact .list-icon {
    width: 20px;
    height: 20px;
}

.icon-phone {
    background: url("/images/dian2.png") no-repeat center center;
    background-size: 100% 100%;
}

.icon-chat {
    background: url("/images/lianxi.png")no-repeat center center;
    background-size: 100% 100%;
}

.icon-plan {
    background: url("/images/shu.png") no-repeat center center;
    background-size: 100% 100%;
}

.jd-contact .list-text {
    flex: 1;
}

.jd-contact .list-text .text-main {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 2px;
}

.jd-contact .list-text .text-sub {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

.jd-contact .list-arrow {
    width: 12px;
    height: 12px;
    border-top: 1px solid #e63946;
    border-right: 1px solid #e63946;
    transform: rotate(45deg);
}