﻿/* ========================================
   鼎硕仪器 - 全站样式表 V2.0
   ======================================== */

/* ---------- CSS Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border: none;
}

/* ---------- 通用容器 ---------- */
.container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* ---------- 通用标题 ---------- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.section-title .title-line {
    width: 60px;
    height: 3px;
    background: #0040C0;
    margin: 0 auto;
}

/* ========================================
   顶部信息栏
   ======================================== */
.top-bar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar-logo img {
    height: 60px;
    width: auto;
}

.top-bar-slogan {
    border-left: 2px solid #ddd;
    padding-left: 20px;
}

.top-bar-slogan p {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

.top-bar-slogan p:last-child {
    font-size: 13px;
    color: #888;
    font-weight: normal;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-right .phone-icon {
    width: 48px;
    height: 48px;
    border: 2px solid #0040C0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar-right .phone-icon svg {
    width: 24px;
    height: 24px;
    fill: #0040C0;
}

.top-bar-right .phone-info p {
    font-size: 13px;
    color: #666;
}

.top-bar-right .phone-info .phone-number {
    font-size: 22px;
    font-weight: bold;
    color: #0040C0;
    letter-spacing: 1px;
}

/* ========================================
   主导航栏（含下拉菜单）
   ======================================== */
.main-nav {
    background: #0040C0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.main-nav > .container > ul {
    display: flex;
}

.main-nav ul li {
    position: relative;
}

.main-nav > .container > ul > li > a {
    display: block;
    padding: 16px 40px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}

.main-nav > .container > ul > li > a:hover,
.main-nav > .container > ul > li.active > a {
    background: #002B80;
    color: #fff;
}

/* 下拉菜单 */
.main-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 3px solid #0040C0;
}

.main-nav > .container > ul > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown li {
    border-bottom: 1px solid #f0f0f0;
}

.main-nav .dropdown li:last-child {
    border-bottom: none;
}

.main-nav .dropdown li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #555;
    transition: all 0.2s ease;
}

.main-nav .dropdown li a:hover {
    background: #f0f5ff;
    color: #0040C0;
    padding-left: 28px;
}

/* ========================================
   Banner 轮播（全宽背景图，无右侧小图）
   ======================================== */
.banner {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Banner 背景 - 蓝色科技渐变 */
.banner-slide.slide-1 {
    background: url("../images/banner1.png") center center / cover no-repeat;
}
.banner-slide.slide-2 {
    background: url("../images/banner2.png") center center / cover no-repeat;
}
.banner-slide.slide-3 {
    background: url("../images/banner3.png") center center / cover no-repeat;
}

/* 科技感网格背景 */
/* banner背景已使用图片 */

/* 光点装饰 */


.banner-content {
    position: relative;
    z-index: 2;
    width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

.banner-text {
    color: #fff;
}

.banner-text h1 {
    font-size: 52px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 4px;
}

.banner-text h1 span {
    display: block;
}

.banner-text .sub-title {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 300;
    letter-spacing: 2px;
}

.banner-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.banner-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    background: #fff;
    color: #0040C0;
}

/* 轮播指示器 */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dots .dot {
    width: 40px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.banner-dots .dot.active {
    background: #fff;
    width: 60px;
}

/* 轮播箭头 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-arrow.prev {
    left: 30px;
}

.banner-arrow.next {
    right: 30px;
}

/* ========================================
   产品展示区（含分类标签切换）
   ======================================== */
.products-section {
    padding: 70px 0;
    background: #fff;
}

/* 产品分类标签 */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.product-tabs .tab-btn {
    padding: 10px 30px;
    font-size: 15px;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.product-tabs .tab-btn:hover {
    color: #0040C0;
    border-color: #0040C0;
}

.product-tabs .tab-btn.active {
    background: #0040C0;
    color: #fff;
    border-color: #0040C0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.product-card:hover {
    border-color: #0040C0;
    box-shadow: 0 8px 25px rgba(0, 64, 192, 0.15);
    transform: translateY(-5px);
}

/* 鼠标触发事件文字字体色变成深蓝色 */
.product-card:hover .product-info h3,
.product-card:hover .product-info p {
    color: #0040C0;
}

.product-card .product-img {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    overflow: hidden;
}

.product-card .product-img img {
    max-width: 90%;
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 18px 15px;
    text-align: center;
    border-top: 1px solid #eee;
}

.product-card .product-info .product-line {
    width: 40px;
    height: 2px;
    background: #0040C0;
    margin: 0 auto 12px;
    transition: width 0.3s ease;
}

.product-card:hover .product-info .product-line {
    width: 60px;
}

.product-card .product-info h3 {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card .product-info p {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
    transition: color 0.3s ease;
}

/* 产品卡片隐藏/显示动画 */
.product-card.hide {
    display: none;
}

.product-card.show {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   产品轮播（首页产品展示自动切换）
   ======================================== */
.product-carousel {
    position: relative;
    overflow: hidden;
}

.product-carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.product-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 轮播箭头 */
.carousel-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 64, 192, 0.1);
    border: 1px solid #ddd;
    color: #0040C0;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.carousel-arrow:hover {
    background: #0040C0;
    color: #fff;
    border-color: #0040C0;
}

.carousel-arrow.prev {
    left: -10px;
}

.carousel-arrow.next {
    right: -10px;
}

/* 轮播指示器 */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dots .cdot {
    width: 30px;
    height: 4px;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dots .cdot.active {
    background: #0040C0;
    width: 50px;
}

/* ========================================
   灰色CTA背景区（客户合作下方）
   ======================================== */
.cta-gray-section {
    background: #e8e8e8;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-gray-section h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 2px;
}

.cta-gray-section p {
    font-size: 16px;
    color: #666;
    letter-spacing: 1px;
}

.cta-gray-section .cta-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 40px;
    background: #0040C0;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.cta-gray-section .cta-btn:hover {
    background: #002B80;
}

/* ========================================
   公司宣传标语区
   ======================================== */
.slogan-section {
    position: relative;
    background: linear-gradient(135deg, #0040C0 0%, #002B80 100%);
    padding: 60px 0;
    overflow: hidden;
}

.slogan-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/slogan-device.png') no-repeat right center;
    background-size: contain;
    opacity: 0.25;
    pointer-events: none;
}

.slogan-section .container {
    position: relative;
    z-index: 2;
}

.slogan-text h2 {
    font-size: 36px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.slogan-text .slogan-phone {
    font-size: 28px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
}

/* ========================================
   六大优势区
   ======================================== */
.advantages-section {
    padding: 70px 0;
    background: #f8f9fb;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.advantage-item:hover {
    box-shadow: 0 10px 30px rgba(0, 64, 192, 0.12);
    transform: translateY(-5px);
    border-color: #0040C0;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0040C0, #0066FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

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

.advantage-item p {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

/* ========================================
   客户合作区（两排LOGO滚动）
   ======================================== */
.clients-section {
    padding: 70px 0;
    background: #fff;
}

.clients-scroll-wrapper {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

/* 两排滚动容器 */
.clients-scroll-row {
    display: flex;
    gap: 25px;
    width: max-content;
    margin-bottom: 25px;
}

.clients-scroll-row:last-child {
    margin-bottom: 0;
}

/* 第一排正向滚动 */
.clients-scroll-row.row-1 {
    animation: scrollLeft 30s linear infinite;
}

/* 第二排反向滚动 */
.clients-scroll-row.row-2 {
    animation: scrollRight 30s linear infinite;
}

.clients-scroll-wrapper:hover .clients-scroll-row {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.client-logo {
    flex: 0 0 220px;
    height: 100px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-logo:hover {
    border-color: #0040C0;
    box-shadow: 0 5px 15px rgba(0, 64, 192, 0.1);
    background: #fff;
}

.client-logo span {
    font-size: 16px;
    color: #999;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ========================================
   分页样式
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination .page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination .page-btn:hover {
    color: #0040C0;
    border-color: #0040C0;
}

.pagination .page-btn.active {
    background: #0040C0;
    color: #fff;
    border-color: #0040C0;
}

.pagination .page-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
}

.pagination .page-info {
    font-size: 14px;
    color: #999;
    margin: 0 10px;
}

/* ========================================
   底部 Footer
   ======================================== */
.footer {
    background: #2B2B2B;
    color: #ccc;
    padding: 50px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand .footer-phone {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
}

.footer-brand .footer-phone strong {
    font-size: 32px;
    font-weight: bold;
    margin-left: 10px;
    letter-spacing: 1px;
}

.footer-contact p {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-title {
    font-size: 16px;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-links .footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 13px;
    color: #aaa;
}

.footer-links ul li a:hover {
    color: #fff;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode .qrcode-box {
    width: 110px;
    height: 110px;
    background: #fff;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-qrcode .qrcode-box span {
    font-size: 12px;
    color: #999;
}

.footer-qrcode p {
    font-size: 12px;
    color: #888;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #888;
}

/* ========================================
   产品页 - 内页Banner
   ======================================== */
.page-banner {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, #0A1A4A 0%, #0040C0 60%, #0066FF 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-banner-text h1 {
    font-size: 42px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.page-banner-text p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.page-banner-device img {
    max-height: 260px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

/* ========================================
   产品页 - 主体布局
   ======================================== */
.products-main {
    padding: 50px 0;
    background: #fff;
}

.products-layout {
    display: flex;
    gap: 30px;
}

/* 左侧分类 */
.product-sidebar {
    flex: 0 0 240px;
}

.sidebar-title {
    background: #0040C0;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 18px 0;
    letter-spacing: 2px;
}

.sidebar-menu {
    border: 1px solid #e0e0e0;
    border-top: none;
    background: #fafafa;
}

.sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background: #0040C0;
    color: #fff;
}

.sidebar-menu li a::after {
    content: ">";
    font-size: 12px;
    color: #999;
    transition: color 0.3s ease;
}

.sidebar-menu li a:hover::after,
.sidebar-menu li.active a::after {
    color: #fff;
}

/* 右侧产品列表 */
.product-list-area {
    flex: 1;
}

.product-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-list-grid .product-card .product-img {
    height: 220px;
}

/* ========================================
   关于我们页
   ======================================== */
.about-section {
    padding: 60px 0;
    background: #fff;
}

.about-intro {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-intro-text {
    flex: 1;
}

.about-intro-text h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-intro-text p {
    font-size: 14px;
    color: #666;
    line-height: 2;
    margin-bottom: 15px;
    text-align: justify;
}

.about-intro-img {
    flex: 0 0 450px;
    height: 320px;
    background: linear-gradient(135deg, #0040C0, #0066FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    overflow: hidden;
}

.about-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fb;
    border-radius: 4px;
}

.stat-item .stat-number {
    font-size: 42px;
    font-weight: bold;
    color: #0040C0;
    margin-bottom: 8px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: #666;
}

.about-culture {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.culture-item {
    padding: 35px 30px;
    background: #f8f9fb;
    border-left: 4px solid #0040C0;
}

.culture-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.culture-item p {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
}

/* 公司环境版块 */
.env-section {
    padding-top: 20px;
}

.env-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.env-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.env-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.env-item:hover img {
    transform: scale(1.08);
}

.env-item .env-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.env-item .env-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.env-item .env-overlay p {
    font-size: 13px;
    opacity: 0.85;
}

/* ========================================
   联系我们页
   ======================================== */
.contact-section {
    padding: 60px 0;
    background: #fff;
}

.contact-layout {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 0 0 400px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

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

.contact-icon {
    flex: 0 0 55px;
    height: 55px;
    background: #0040C0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.contact-info-text h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-info-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 地图区域 */
.contact-map-area {
    flex: 1;
}

.contact-map-area h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.map-container {
    width: 100%;
    height: 480px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: #e8f0fe;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fe 0%, #d0e0ff 100%);
    position: relative;
}

.map-placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 64, 192, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 64, 192, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-pin {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
}

.map-pin svg {
    width: 50px;
    height: 50px;
    fill: #0040C0;
    animation: mapBounce 2s ease-in-out infinite;
}

@keyframes mapBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-placeholder h3 {
    position: relative;
    z-index: 2;
    font-size: 20px;
    color: #0040C0;
    margin-bottom: 8px;
}

.map-placeholder p {
    position: relative;
    z-index: 2;
    font-size: 14px;
    color: #666;
    text-align: center;
    max-width: 300px;
}

/* ========================================
   产品详情页
   ======================================== */
.detail-section {
    padding: 50px 0;
    background: #fff;
}

/* 面包屑 */
.breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
}

.breadcrumb a {
    color: #0040C0;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span.sep {
    margin: 0 8px;
    color: #ccc;
}

/* 主内容：左图右文 */
.detail-main {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.detail-gallery {
    flex: 0 0 500px;
}

.detail-main-img {
    width: 100%;
    height: 400px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.detail-main-img img {
    max-width: 90%;
    max-height: 380px;
    object-fit: contain;
}

/* 缩略图列表 */
.detail-thumbs {
    display: flex;
    gap: 10px;
}

.detail-thumbs .thumb {
    flex: 0 0 80px;
    height: 80px;
    border: 2px solid #e0e0e0;
    background: #fafafa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.detail-thumbs .thumb.active {
    border-color: #0040C0;
}

.detail-thumbs .thumb img {
    max-width: 90%;
    max-height: 75px;
    object-fit: contain;
}

/* 右侧信息 */
.detail-info {
    flex: 1;
}

.detail-info h1 {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.detail-model {
    font-size: 16px;
    color: #0040C0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.detail-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.detail-meta {
    background: #f8f9fb;
    padding: 20px;
    margin-bottom: 25px;
}

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

.detail-meta p strong {
    color: #333;
    margin-right: 10px;
}

.detail-actions {
    display: flex;
    gap: 15px;
}

.detail-actions .btn {
    display: inline-block;
    padding: 12px 35px;
    font-size: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.detail-actions .btn-primary {
    background: #0040C0;
    color: #fff;
}

.detail-actions .btn-primary:hover {
    background: #002B80;
}

.detail-actions .btn-outline {
    border: 1px solid #0040C0;
    color: #0040C0;
}

.detail-actions .btn-outline:hover {
    background: #0040C0;
    color: #fff;
}

/* 详情介绍 & 参数 */
.detail-block {
    margin-bottom: 50px;
}

.detail-block h2 {
    font-size: 22px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #0040C0;
}

.detail-block p {
    font-size: 14px;
    color: #666;
    line-height: 2;
    margin-bottom: 12px;
    text-align: justify;
}

/* 参数表格 */
.params-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.params-table th,
.params-table td {
    padding: 12px 18px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    text-align: left;
}

.params-table th {
    background: #f8f9fb;
    color: #333;
    font-weight: 600;
    width: 30%;
}

.params-table td {
    color: #666;
}

/* 多角度图 */
.detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.detail-gallery-grid .gallery-item {
    height: 220px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-gallery-grid .gallery-item:hover {
    border-color: #0040C0;
    box-shadow: 0 5px 15px rgba(0, 64, 192, 0.1);
}

.detail-gallery-grid .gallery-item img {
    max-width: 90%;
    max-height: 200px;
    object-fit: contain;
}

/* 上一个/下一个产品 */
.detail-nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.detail-nav a {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.detail-nav a:hover {
    color: #0040C0;
}

.detail-nav a span {
    color: #999;
    margin-right: 5px;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1240px) {
    .container {
        width: 96%;
    }

    .banner-content {
        width: 96%;
    }
}

@media (max-width: 992px) {
    .top-bar .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .top-bar-slogan {
        display: none;
    }

    .main-nav > .container > ul > li > a {
        padding: 14px 24px;
        font-size: 14px;
    }

    /* 移动端下拉菜单改为点击 */
    .main-nav .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }

    .main-nav > .container > ul > li.open .dropdown {
        display: block;
    }

    .banner {
        height: 420px;
    }

    .banner-text h1 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .products-layout {
        flex-direction: column;
    }

    .product-sidebar {
        flex: none;
        width: 100%;
    }

    .product-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-intro {
        flex-direction: column;
    }

    .about-intro-img {
        flex: none;
        width: 100%;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-culture {
        grid-template-columns: 1fr;
    }

    .env-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        flex-direction: column;
    }

    .contact-info {
        flex: none;
        width: 100%;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .top-bar-left {
        gap: 15px;
    }

    .top-bar-logo img {
        height: 45px;
    }

    .top-bar-right .phone-info .phone-number {
        font-size: 18px;
    }

    .main-nav > .container > ul {
        flex-wrap: wrap;
    }

    .main-nav > .container > ul > li > a {
        padding: 12px 16px;
        font-size: 13px;
    }

    .banner {
        height: 350px;
    }

    .banner-text h1 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .banner-text .sub-title {
        font-size: 16px;
    }

    .banner-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .product-tabs {
        flex-wrap: wrap;
    }

    .product-tabs .tab-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .product-list-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .slogan-text h2 {
        font-size: 24px;
    }

    .slogan-text .slogan-phone {
        font-size: 20px;
    }

    .client-logo {
        flex: 0 0 160px;
        height: 80px;
    }
}
