@charset "UTF-8";
/**
 * 上海鹰繁达实业有限责任公司 - 网站主样式
 * 主色：#165DFF 深蓝
 * 响应式、现代化设计
 */

/* ====== 基础重置 ====== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #165DFF;
    --primary-dark: #0E4ED6;
    --primary-light: #E8F0FF;
    --secondary: #0FC6C2;
    --text-dark: #1D2129;
    --text-body: #4E5969;
    --text-light: #86909C;
    --bg-light: #F7F8FA;
    --bg-white: #FFFFFF;
    --border: #E5E6EB;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

ul,
ol {
    list-style: none;
}

/* ====== 布局容器 ====== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 70px 0;
}

.section-light {
    background-color: var(--bg-light);
}

.section-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

/* ====== 区块标题 ====== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-primary .section-title h2 {
    color: #fff;
}

.section-title p {
    font-size: 1rem;
    color: var(--text-light);
}

.section-primary .section-title p {
    color: rgba(255, 255, 255, 0.85);
}

.section-title .title-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-primary .section-title .title-line {
    background: #fff;
}

/* ====== 按钮 ====== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background-color: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-white:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.05rem;
}

/* ====== 头部导航 ====== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.header-top {
    background-color: var(--primary);
    color: #fff;
    font-size: 0.85rem;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}

.header-top span {
    opacity: 0.95;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-wechat-icon {
    color: #fff;
    opacity: 0.9;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-wechat-icon:hover {
    opacity: 1;
    color: #fff;
    transform: scale(1.1);
}

/* 滚动缩小效果 */
.header.scrolled .header-top {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.header.scrolled .header-main {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled .header-inner {
    height: 56px;
    transition: height 0.3s ease;
}

.header.scrolled .logo-text {
    font-size: 1.05rem;
    transition: font-size 0.3s ease;
}

.header.scrolled .logo-tagline {
    font-size: 0.65rem;
    transition: font-size 0.3s ease;
}

.header-top {
    transition: height 0.3s ease;
}

.header-inner {
    transition: height 0.3s ease;
}

.header-main {
    background: #fff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo-text {
    color: var(--primary);
    font-size: 1.2rem;
    line-height: 1.3;
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav a {
    display: block;
    padding: 8px 18px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ====== 面包屑 ====== */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 18px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--primary);
}

/* ====== 面包屑下页面标题区 ====== */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ====== 英雄轮播 ====== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #000;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: none;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.hero-slide-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    padding: 80px 0 50px;
}

.hero-slide-caption .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-slide-caption h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-slide-caption p {
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dots .dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 5;
    transition: var(--transition);
    border: none;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.hero-arrow.prev {
    left: 24px;
}

.hero-arrow.next {
    right: 24px;
}

/* ====== 公司简介区块 ====== */
.intro-section {
    display: flex;
    align-items: center;
    gap: 50px;
}

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

.intro-section .intro-text h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.intro-section .intro-text p {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.8;
}

.intro-section .intro-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.intro-section .intro-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* ====== 核心业务卡片 ====== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.business-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.business-card .icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.business-card:hover .icon {
    background: var(--primary);
    color: #fff;
}

.business-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.business-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ====== 产品网格 ====== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-card .product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card .product-info {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-category {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.product-card h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.5;
}

.product-card .product-model {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-card .product-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-link {
    margin-top: 16px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ====== 筛选栏 ====== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-bar a {
    display: inline-block;
    padding: 10px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text-body);
    background: #fff;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.filter-bar a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-bar a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ====== 企业优势 ====== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 36px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.section:not(.section-primary) .advantage-item {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.advantage-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.18);
}

.section:not(.section-primary) .advantage-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.advantage-item .icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.section:not(.section-primary) .advantage-item .icon {
    background: var(--primary-light);
    color: var(--primary);
}

.advantage-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
}

.section:not(.section-primary) .advantage-item h3 {
    color: var(--text-dark);
}

.advantage-item p {
    font-size: 0.88rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
}

.section:not(.section-primary) .advantage-item p {
    color: var(--text-light);
}

/* ====== 新闻列表 ====== */
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.news-card .news-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

.news-card .news-info {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .news-date {
    font-size: 0.82rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.news-card h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-summary {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 单列新闻列表（新闻页用） */
.news-list-single {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-list-single .news-item {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.news-list-single .news-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.news-list-single .news-item .news-image {
    width: 280px;
    min-width: 280px;
    height: 180px;
}

.news-list-single .news-item .news-info {
    padding: 24px 24px 24px 0;
    flex: 1;
}

/* ====== CTA 联系区块 ====== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* ====== 案例展示 ====== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.case-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.case-card .case-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--bg-light);
}

.case-card .case-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.06);
}

.case-card .case-info {
    padding: 22px 24px;
}

.case-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.case-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ====== 关于我们 ====== */
.about-intro {
    display: flex;
    gap: 50px;
    align-items: center;
}

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

.about-intro .about-text h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-intro .about-text p {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-intro .about-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

/* 发展历程时间轴 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-light);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item .timeline-dot {
    position: absolute;
    top: 28px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-light);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-item .timeline-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.timeline-item .timeline-year {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.timeline-item .timeline-content h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.timeline-item .timeline-content p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* 资质证书画廊 */
.certificate-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.certificate-item {
    flex: 0 1 420px;
    max-width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    background: #fff;
}

.certificate-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.certificate-item img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 12px;
    box-sizing: border-box;
}

.certificate-item .cert-info {
    padding: 14px 16px;
    text-align: center;
}

.certificate-item .cert-info p {
    font-size: 0.88rem;
    color: var(--text-body);
    font-weight: 500;
}

/* ====== 产品详情 ====== */
.detail-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.detail-gallery {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}

.detail-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.detail-info {
    flex: 1;
}

.detail-info .detail-category {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.detail-info h1 {
    font-size: 1.7rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.detail-info .detail-model {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.detail-info .detail-model span {
    color: var(--text-dark);
    font-weight: 500;
}

.detail-specs {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.detail-specs h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 14px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.detail-specs ul {
    list-style: none;
}

.detail-specs li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-body);
    border-bottom: 1px dashed var(--border);
    padding-left: 18px;
    position: relative;
}

.detail-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.detail-desc {
    margin-top: 40px;
}

.detail-desc h2 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    font-weight: 700;
}

.detail-desc .desc-body {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.9;
    white-space: pre-line;
}

.detail-contact-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}

.detail-contact-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.detail-contact-box p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* ====== 新闻详情 ====== */
.news-detail-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.news-detail-wrap .news-detail-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.news-detail-wrap .news-detail-header h1 {
    font-size: 1.9rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.news-detail-wrap .news-meta {
    font-size: 0.88rem;
    color: var(--text-light);
}

.news-detail-wrap .news-meta span {
    margin: 0 10px;
}

.news-detail-wrap .news-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}

.news-detail-wrap .news-detail-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.news-detail-wrap .news-detail-body {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 2;
    white-space: pre-line;
}

.news-detail-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.news-detail-footer a {
    color: var(--primary);
    font-size: 0.92rem;
}

/* ====== 联系我们 ====== */
.contact-wrap {
    display: flex;
    gap: 40px;
}

.contact-info-col {
    flex: 1;
}

.contact-form-col {
    flex: 1;
}

.contact-info-list {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-info-item .info-text h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-info-item .info-text p {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

.map-box {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.map-box .map-link,
.map-box a {
    display: block;
    text-decoration: none;
}

.map-box .map-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.map-box a:hover .map-img {
    transform: scale(1.02);
}

.map-box .map-caption {
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-light);
    margin: 0;
}

/* 联系表单 */
.contact-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    font-size: 0.92rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label .required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

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

.form-message {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.form-message.success {
    background: #e6ffed;
    color: #1a7327;
    border: 1px solid #b7eb8f;
}

.form-message.error {
    background: #fff2f0;
    color: #cf1322;
    border: 1px solid #ffccc7;
}

/* ====== 留言回复展示区 ====== */
.message-board {
    max-width: 800px;
    margin: 0 auto;
}

.message-item {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 24px;
    overflow: hidden;
}

.message-question {
    padding: 24px;
    display: flex;
    gap: 16px;
}

.message-answer {
    padding: 24px;
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #F0F7FF 0%, #F5FFF0 100%);
    border-top: 1px solid var(--border);
}

.message-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.message-avatar.admin {
    background: #E8FFEA;
    color: #00B42A;
}

.message-body {
    flex: 1;
    min-width: 0;
}

.message-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.message-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.message-author.admin {
    color: #00B42A;
}

.message-date {
    font-size: 0.82rem;
    color: var(--text-light);
}

.message-text {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-all;
}

/* ====== 悬浮咨询按钮 ====== */
.float-wechat {
    position: fixed;
    right: 24px;
    bottom: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(22, 93, 255, 0.4);
    z-index: 900;
    transition: var(--transition);
    font-size: 0.85rem;
}

.float-wechat:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: scale(1.08);
}

/* ====== 底部 ====== */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.88rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: #fff;
}

.footer-tagline {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.92rem !important;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.footer-col-qr {
    text-align: center;
}

.footer-qr {
    display: flex;
    justify-content: center;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
}

.qr-placeholder p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 2px 0;
}

/* ====== 空状态 ====== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state p {
    font-size: 1rem;
}

/* ====== 产品无图片占位 ====== */
.product-image-empty {
    width: 100%;
    height: 220px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
    opacity: 0.4;
}

/* ====== 分页 ====== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ====== 淡入动画 ====== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== 响应式 ====== */
@media (max-width: 992px) {
    .business-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .detail-wrap {
        flex-direction: column;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        right: auto;
    }
}

/* ====== 首页封面（设备截图 + 介绍并排） ====== */
.hero-cover {
    background: linear-gradient(135deg, #0a1628 0%, #132744 100%);
    padding: 60px 0;
    overflow: hidden;
}

.hero-cover-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-cover-image {
    flex: 1;
    min-width: 0;
}

.hero-cover-image img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.hero-cover-text {
    flex: 1;
    min-width: 0;
}

.hero-cover-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-cover-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-cover-desc {
    margin-bottom: 32px;
}

.hero-cover-desc > p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 16px;
}

.hero-cover-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-cover-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.hero-cover-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(22, 93, 255, 0.6);
}

.hero-cover-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ====== 光学产品首页预览模块 ====== */
.optical-promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.optical-promo-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.optical-promo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.optical-promo-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: var(--bg-light);
}

.optical-promo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}

.optical-promo-card:hover .optical-promo-image img {
    transform: scale(1.05);
}

.optical-promo-info {
    padding: 24px 28px 28px;
}

.optical-promo-info h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.optical-promo-info p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ====== 光学产品详情页列表 ====== */
.optical-products {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.optical-product-card {
    display: flex;
    gap: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.optical-product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.optical-product-image {
    flex: 0 0 380px;
    overflow: hidden;
    background: var(--bg-light);
}

.optical-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
}

.optical-product-info {
    flex: 1;
    padding: 36px 36px 36px 0;
}

.optical-product-info .product-category {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.optical-product-info h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.optical-product-info .product-model {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.optical-product-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
}

.optical-product-specs h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 14px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.optical-product-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.optical-product-specs li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

.optical-product-specs li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ====== 光学产品特点列表（详情页） ====== */
.optical-product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.optical-product-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

.optical-product-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ====== 光学产品特点列表（首页） ====== */
.optical-promo-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.optical-promo-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
}

.optical-promo-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .nav {
        position: fixed;
        top: 110px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav.open {
        transform: translateY(0);
    }

    .nav a {
        padding: 14px 24px;
        border-radius: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .header-top .header-email {
        display: none;
    }

    .hero-slide img {
        height: 320px;
    }

    .hero-slide-caption {
        padding: 50px 0 36px;
    }

    .hero-slide-caption h2 {
        font-size: 1.5rem;
    }

    .hero-slide-caption p {
        font-size: 0.95rem;
    }

    .hero-arrow {
        display: none;
    }

    .business-grid,
    .advantages-grid,
    .products-grid,
    .news-list {
        grid-template-columns: 1fr;
    }

    .certificate-item img {
        height: 240px;
    }

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

    .news-list-single .news-item {
        flex-direction: column;
    }

    .news-list-single .news-item .news-image {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .news-list-single .news-item .news-info {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .page-banner h1 {
        font-size: 1.7rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    /* ====== 首页封面响应式 ====== */
    .hero-cover {
        padding: 40px 0;
    }

    .hero-cover-inner {
        flex-direction: column;
        gap: 30px;
    }

    .hero-cover-image img {
        max-height: 320px;
    }

    .hero-cover-title {
        font-size: 1.6rem;
    }

    .hero-cover-subtitle {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .hero-cover-desc > p {
        font-size: 0.95rem;
    }

    .hero-cover-features li {
        font-size: 0.85rem;
    }

    .hero-cover-actions .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    /* ====== 光学产品首页预览响应式 ====== */
    .optical-promo-grid {
        grid-template-columns: 1fr;
    }

    /* ====== 光学产品详情页响应式 ====== */
    .optical-product-card {
        flex-direction: column;
        gap: 0;
    }

    .optical-product-image {
        flex: 0 0 auto;
        height: 280px;
    }

    .optical-product-image img {
        padding: 20px;
    }

    .optical-product-info {
        padding: 24px;
    }
}
