/* ================= 基础设定 ================= */
:root {
    --primary-green: #164C34; /* LOGO 默绿色 */
    --text-dark: #333333;
    --text-body: #666666;
    --bg-light: #F9F9F9;
    --bg-white: #FFFFFF;
    --font-sans: 'YouYuan', '幼圆', 'Microsoft JhengHei', 'PingFang HK', sans-serif;
    --container: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.8;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.5px;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5 { color: var(--text-dark); font-weight: 500; }

/* ================= 头部导航 (Header) ================= */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--bg-white); z-index: 1000;
    border-bottom: 1px solid #eee;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 85px; }
.logo img { height: 45px; width: auto; }
.logo-text-fallback { font-size: 1.6rem; font-weight: 700; color: var(--primary-green); line-height: 1.1; }

/* 主菜单 (横向排列) */
.main-nav > ul { display: flex; gap: 40px; height: 85px; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav a { font-size: 1rem; font-weight: 500; color: var(--text-dark); }
.main-nav > ul > li > a:hover { color: var(--primary-green); }

/* 下拉菜单 (Hover 显示) */
.dropdown {
    position: absolute; top: 85px; left: 50%; transform: translateX(-50%);
    background: #fff; width: 220px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    opacity: 0; visibility: hidden; transition: all 0.3s; border-top: 2px solid var(--primary-green);
    z-index: 100;
}
.main-nav li:hover .dropdown { opacity: 1; visibility: visible; }
.dropdown ul { padding: 10px 0; }
.dropdown a { display: block; padding: 10px 20px; font-size: 0.9rem; color: var(--text-body); }
.dropdown a:hover { color: var(--primary-green); background: #f5f5f5; }

/* 右侧搜索与语言 */
.header-right { display: flex; align-items: center; gap: 20px; }
.search-box { position: relative; display: flex; align-items: center; }
.search-box input {
    border: none; border-bottom: 1px solid #ccc; padding: 5px 25px 5px 0;
    font-family: var(--font-sans); font-size: 0.9rem; outline: none; width: 150px;
}
.search-box svg { position: absolute; right: 0; color: #999; }
.lang-switch { font-size: 0.9rem; font-weight: 600; color: #999; }
.lang-switch a { margin: 0 5px; }
.lang-switch a.active { color: var(--primary-green); }
.lang-switch a:hover { color: var(--primary-green); }

/* ================= Banner 轮播区 ================= */
.hero { margin-top: 85px; height: 70vh; position: relative; overflow: hidden; background: #eaeaea; }
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.hero-dots .dot {
    width: 10px; height: 10px; background: rgba(255,255,255,0.6); border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.hero-dots .dot.active { background: var(--primary-green); border: 2px solid #fff; transform: scale(1.2); }

/* ================= 通用区块 ================= */
.section { padding: 90px 0; }
.bg-light { background: var(--bg-light); }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; font-weight: 600; letter-spacing: 2px; }
.section-title-left { text-align: left; font-size: 2.2rem; margin-bottom: 40px; font-weight: 600; letter-spacing: 2px; color: var(--text-dark); }

/* ================= 关于鸿鼎 (左文右图) ================= */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-text h2 { font-size: 2.2rem; margin-bottom: 25px; letter-spacing: 1px; }
.intro-text p { margin-bottom: 20px; line-height: 2; color: var(--text-body); font-size: 1rem; }
.btn-outline-green { display: inline-block; padding: 10px 30px; border: 1px solid var(--primary-green); color: var(--primary-green); border-radius: 2px; margin-top: 10px; font-weight: 500; }
.btn-outline-green:hover { background: var(--primary-green); color: #fff; }

/* ================= 核心业务 ================= */
/* 3个绿框占位 */
.core-business-banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.banner-box {
    height: 250px;
    border: 1px solid var(--primary-green);
    background: #fff;
}

/* 8个产品类别网格 */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card { background: #fff; border: 1px solid #eee; transition: box-shadow 0.3s; overflow: hidden; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.p-img { height: 200px; background: #d1d1d1; }
.p-img img { width: 100%; height: 100%; object-fit: cover; }
.p-info { padding: 20px; flex: 1; }
.p-info h3 { color: var(--primary-green); font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; }
.p-info p { font-size: 0.85rem; color: var(--text-body); line-height: 1.6; }

/* ================= 品牌 Logo ================= */
.brand-section { 
    padding: 60px 0; 
    border-bottom: 1px solid #eee; 
    background: #fff;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* PC端每行6个 */
    gap: 20px;
    align-items: center;
}
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fcfcfa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    transition: all 0.3s ease;
    height: 100px; /* 固定高度，保持对齐 */
}
.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 保证不规则比例的LOGO不失真 */
    filter: grayscale(100%) opacity(0.7); /* 默认显示灰色，提升高级感 */
    transition: all 0.3s ease;
}
.brand-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}
.brand-item:hover img {
    filter: grayscale(0%) opacity(1); /* 鼠标悬停恢复彩色 */
}

/* 针对品牌区的响应式 */
@media (max-width: 1024px) {
    .brand-grid { grid-template-columns: repeat(4, 1fr); } /* 平板每行4个 */
}
@media (max-width: 768px) {
    .brand-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } /* 手机每行3个 */
    .brand-item { height: 70px; padding: 10px; }
}

/* ================= 物流优势 (3列并排) ================= */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.log-card {
    display: flex;
    flex-direction: column;
}
.log-img {
    width: 100%;
    height: 250px;
    background: #d1d1d1; /* 截图中的灰色 */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.log-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 2; 
}
.placeholder-text {
    color: #888;
    font-size: 1.2rem;
    z-index: 1;
}
.log-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 1px;
}
.log-card h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: normal;
}
.log-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ================= 底部 (Footer) ================= */
.site-footer { background: #fff; padding: 80px 0 30px; border-top: 1px solid #eee; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 20px; color: var(--text-dark); text-transform: uppercase; letter-spacing: 1px; }

/* 底部导航 */
.footer-nav > li { margin-bottom: 10px; }
.footer-nav a { color: var(--text-body); font-weight: 500; }
.footer-nav a:hover { color: var(--primary-green); }
.sub-menu { padding-left: 15px; margin-top: 5px; }
.sub-menu a { font-size: 0.85rem; font-weight: normal; color: #888; }

/* 底部地址 */
.loc-block { margin-bottom: 15px; }
.loc-block strong { display: block; color: var(--text-dark); margin-bottom: 5px; font-weight: 500; }
.loc-block p { color: var(--text-body); line-height: 1.6; }

/* 底部联系方式 */
.contact-num { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 10px; }
.contact-email a { color: var(--text-body); text-decoration: underline; }
.contact-email a:hover { color: var(--primary-green); }

.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons a { color: #999; }
.social-icons a:hover { color: var(--primary-green); }
.social-icons svg { width: 20px; height: 20px; }

.footer-bottom { border-top: 1px solid #eee; padding-top: 20px; text-align: right; color: #999; font-size: 0.8rem; }

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .core-business-banners { grid-template-columns: repeat(2, 1fr); }
    .logistics-grid { grid-template-columns: 1fr; }
    .intro-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .header-inner { flex-wrap: wrap; height: auto; padding: 15px; }
    .main-nav { display: none; /* 手机端隐藏，实际需写汉堡菜单 */ }
    .hero { margin-top: 70px; height: 40vh; }
    .product-grid { grid-template-columns: 1fr; }
    .core-business-banners { grid-template-columns: 1fr; }
    .banner-box { height: 180px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { text-align: left; }
    .section { padding: 50px 0; }
}

/* ================= 核心业务 (01/02/03 卡片样式) ================= */
.core-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-box {
    border: 1px solid #ddd;
    background: #fcfcfa; /* 极浅的米灰色背景 */
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: border-color 0.3s;
}
.service-box:hover {
    border-color: var(--primary-green);
}
.service-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 15px;
    line-height: 1;
}
.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 20px;
}
.service-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    flex-grow: 1; /* 让描述撑开，把链接推到最下面 */
    margin-bottom: 25px;
}
.service-link {
    font-size: 0.9rem;
    color: var(--primary-green);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.service-link:hover {
    color: #0d301f;
}

/* ================= 产品类别 (上图下文卡片样式) ================= */
.product-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.category-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    background: #fff;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.category-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-green);
}
.cat-img {
    width: 100%;
    height: 180px;
    background: #d1d1d1; /* 图片未加载时的灰色占位 */
    overflow: hidden;
}
.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.category-card:hover .cat-img img {
    transform: scale(1.05); /* 鼠标悬停图片轻微放大 */
}
.cat-info {
    padding: 25px 20px;
    background: #f7f7f7; /* 文字区的浅灰底色 */
    flex-grow: 1;
}
.cat-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
}
.cat-info p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ================= 响应式补充 ================= */
@media (max-width: 1024px) {
    .core-services-grid { grid-template-columns: 1fr; }
    .product-category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .product-category-grid { grid-template-columns: 1fr; }
}

/* ================= 关于鸿鼎页面高级视觉优化 ================= */

/* 1. 内页 Banner */
.inner-hero {
    margin-top: 85px;
    background: linear-gradient(rgba(11, 42, 74, 0.6), rgba(11, 42, 74, 0.8)), url('/public/images/demo_banner_01.jpg') center/cover;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}
.inner-hero h1 {
    font-size: 2.8rem;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 15px;
}
.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* 全局区块标题优化 */
.section-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}
.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

/* 2. 了解鸿鼎 */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.lead-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}
.about-feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.about-feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #555;
}
.about-feature-list li::before {
    content: '✓'; /* 使用对勾替代圆点更显专业 */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
}
.about-slogan {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
    background: #f4f7f5;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
}

/* 统一的高级图片阴影与圆角 */
.premium-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* 增加立体悬浮感 */
    transition: transform 0.4s ease;
}
.premium-img:hover {
    transform: translateY(-5px); /* 悬停上浮 */
}

/* 3. 核心优势 */
.advantages-list {
    margin-top: 60px;
}
.adv-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 90px; /* 增加区块间距，增加呼吸感 */
}
.adv-row:last-child {
    margin-bottom: 0;
}
.adv-img {
    flex: 0 0 42%; /* 略微加宽图片 */
    aspect-ratio: 1210 / 680;
    background: #e0e0e0;
    border-radius: 12px; /* 匹配圆角 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); /* 统一阴影 */
}
.img-placeholder {
    position: absolute;
    color: #999;
    font-size: 1.1rem;
    font-weight: 500;
    z-index: 1;
    letter-spacing: 2px;
}
.adv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    display: block;
    transition: transform 0.6s ease;
}
.adv-img:hover img {
    transform: scale(1.03); /* 悬停轻微放大 */
}
.adv-text {
    flex: 1;
}
.adv-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(22, 76, 52, 0.15); /* 浅绿色大数字，作为背景水印感 */
    line-height: 1;
    margin-bottom: -15px; /* 让数字靠上 */
}
.adv-text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.adv-text p {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    text-align: justify;
}

/* 4. 品质与环保双卡片 */
.quality-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}
.quality-card {
    background: #fcfcfa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: box-shadow 0.3s;
}
.quality-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.quality-icon {
    color: var(--primary-green);
    flex-shrink: 0;
}
.quality-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 15px;
}
.quality-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}
.quality-full-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* 5. 公司宗旨 */
.mission-section {
    background: #f4f7f5; /* 淡淡的绿灰底色 */
    border-top: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}
.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}
.quote-icon {
    font-size: 6rem;
    font-family: serif;
    color: rgba(22, 76, 52, 0.1);
    line-height: 0;
    margin-bottom: 30px;
}
.mission-desc {
    font-size: 1.15rem;
    line-height: 2.2;
    color: #444;
    margin-bottom: 40px;
    text-align: justify;
    text-align-last: center; /* 最后一行居中 */
}
.mission-slogan {
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 5px;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .adv-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    .adv-img {
        width: 100%;
        flex: none;
    }
    .quality-wrapper {
        grid-template-columns: 1fr;
    }
    .mission-desc {
        font-size: 1rem;
        text-align: left;
    }
    .mission-slogan {
        font-size: 1.5rem;
    }
}
/* ================= 聯絡我們頁面專屬樣式 ================= */

/* 布局：左侧信息，右侧表单 */
.contact-layout {
    display: grid;
    grid-template-columns: 4fr 5fr; /* 左侧略窄，右侧表单略宽 */
    gap: 60px;
    align-items: start;
}

/* 左侧服务范围 */
.contact-services {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 40px;
    padding: 15px 20px;
    background: #f4f7f5;
    border-left: 4px solid var(--primary-green);
    border-radius: 0 4px 4px 0;
}

/* 联络卡片 */
.contact-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s, transform 0.3s;
}
.contact-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #f4f7f5;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
}
.card-content .address {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}
.card-contact p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.card-contact strong {
    color: #333;
    min-width: 100px;
    display: inline-block;
}

/* 右侧表单 */
.contact-form-wrapper {
    background: #fff;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.form-header {
    margin-bottom: 35px;
}
.form-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 10px;
}
.form-header p {
    font-size: 0.9rem;
    color: #888;
}

/* 现代表单样式 */
.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.modern-form .form-group {
    margin-bottom: 25px;
}
.modern-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}
.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
    outline: none;
}
.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    border-color: var(--primary-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 76, 52, 0.1); /* 点击时出现淡淡的绿色光晕 */
}
.modern-form textarea {
    resize: vertical;
}

/* 按钮组 */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.btn-submit {
    background: var(--primary-green);
    color: #fff;
    padding: 14px 35px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit:hover {
    background: #0d301f;
}
.btn-reset {
    background: transparent;
    color: #777;
    padding: 14px 25px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-reset:hover {
    background: #f5f5f5;
    color: #333;
}


/* 响应式适配 */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-form-wrapper {
        padding: 30px;
    }
}
@media (max-width: 768px) {
    .modern-form .form-row {
        grid-template-columns: 1fr; /* 手机端表单变为单列 */
        gap: 0;
    }
    .card-contact strong {
        min-width: 90px;
    }
}
/* ================= 消息及活动 (News) 专属样式 ================= */

/* 面包屑导航 */
.breadcrumb-container {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}
.breadcrumb li { margin-right: 8px; }
.breadcrumb a { color: #888; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary-green); }
.breadcrumb .active { color: var(--primary-green); font-weight: 600; }

/* 列表页网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    transition: all 0.4s ease;
}
.news-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transform: translateY(-6px);
}
.news-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card:hover .news-img-box img {
    transform: scale(1.08);
}
.news-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-green);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    z-index: 2;
}
.news-content {
    padding: 25px;
}
.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 12px;
}
.news-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover .news-title {
    color: var(--primary-green);
}
.news-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-more .arrow {
    transition: transform 0.3s;
}
.news-card:hover .news-more .arrow {
    transform: translateX(5px);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #eee;
    color: #555;
    font-weight: 500;
    transition: all 0.3s;
}
.page-item:hover, .page-item.active {
    background: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}

/* 详情页布局 */
.news-detail-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 50px;
    align-items: start;
}
.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin-bottom: 20px;
}
.article-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}
.article-meta .admin { color: #555; font-weight: 500; }
.article-featured-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.article-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}
.article-body {
    font-size: 1.05rem;
    color: #444;
    line-height: 2;
}
.article-body p { margin-bottom: 20px; }
.article-body blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: #f4f7f5;
    border-left: 4px solid var(--primary-green);
    color: var(--primary-green);
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 0 8px 8px 0;
}
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}
.tags span {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 5px;
}
.share a {
    display: inline-block;
    margin-left: 10px;
    font-weight: 600;
    color: var(--primary-green);
}

/* 侧边栏 */
.widget {
    background: #fcfcfa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}
.widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.widget-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--primary-green);
}
.sidebar-search {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}
.sidebar-search input {
    width: 100%;
    border: none;
    padding: 10px 15px;
    outline: none;
}
.sidebar-search button {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}
.recent-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.recent-list li:last-child { margin-bottom: 0; padding-bottom: 0; border: none; }
.recent-thumb {
    width: 80px; height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.recent-text span { font-size: 0.8rem; color: #999; }
.widget-cta {
    background: var(--primary-green);
    border: none;
    color: #fff;
    text-align: center;
}
.widget-cta h3 { color: #fff; margin-bottom: 15px; }
.widget-cta p { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.btn-cta {
    display: inline-block;
    background: #fff;
    color: var(--primary-green);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    transition: background 0.3s;
}
.btn-cta:hover { background: #f0f0f0; }

/* 响应式 */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .article-title { font-size: 1.6rem; }
    .article-footer { flex-direction: column; align-items: flex-start; }
}
/* ================= 产品中心 (Products) 专属样式 ================= */

/* 列表页布局 */
.product-page-layout {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 40px;
    align-items: start;
}

/* 左侧分类菜单 */
.category-menu li {
    margin-bottom: 5px;
}
.category-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: #555;
    background: #fcfcfa;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}
.category-menu a:hover,
.category-menu li.active a {
    background: #f4f7f5;
    color: var(--primary-green);
    border-left-color: var(--primary-green);
    font-weight: 600;
}

/* 产品网格 */
.product-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    color: #888;
    font-size: 0.9rem;
}
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.product-card-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
}
.product-card-item:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}
.product-card-item .p-img-box {
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}
.product-card-item .p-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.product-card-item:hover .p-img-box img {
    transform: scale(1.08);
}
.p-info-box {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.p-cat-tag {
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.p-info-box h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.p-info-box h3 a {
    color: #222;
}
.p-info-box h3 a:hover {
    color: var(--primary-green);
}
.p-brands {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
}
.p-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.p-btn {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green);
    border-bottom: 1px solid var(--primary-green);
    padding-bottom: 2px;
    transition: opacity 0.3s;
}
.p-btn:hover { opacity: 0.7; }


/* ================= 产品详情页样式 ================= */

.product-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.product-gallery .main-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    background: #fff;
    border: 1px solid #eee;
}
.product-gallery .main-image img {
    width: 100%;
    height: auto;
    display: block;
}
.product-summary .prod-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin-bottom: 25px;
}
.prod-meta {
    background: #fcfcfa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}
.prod-meta p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.prod-meta p:last-child { margin-bottom: 0; }
.prod-meta strong {
    min-width: 100px;
    color: #333;
}
.prod-meta a {
    color: var(--primary-green);
    text-decoration: underline;
}
.brand-highlight {
    color: var(--primary-green);
    font-weight: 600;
}
.prod-short-desc {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 40px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-green);
}
.prod-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-primary-large {
    background: var(--primary-green);
    color: #fff;
    padding: 16px 40px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}
.btn-primary-large:hover {
    background: #0d301f;
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 16px 30px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background 0.3s, transform 0.2s;
}
.btn-whatsapp:hover {
    background: #1EBE5A;
    transform: translateY(-2px);
}

/* 底部详细与规格 */
.product-bottom-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 60px;
    border-top: 1px solid #eee;
    padding-top: 60px;
}
.detail-tabs {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.tab-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-green);
}
.desc-content p {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 20px;
    text-align: justify;
}

.spec-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 25px;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.spec-table th, .spec-table td {
    padding: 15px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.spec-table th {
    background: #fcfcfa;
    color: #333;
    font-weight: 600;
    width: 35%;
}
.spec-table td {
    color: #555;
}
.spec-table tr:last-child th, .spec-table tr:last-child td {
    border-bottom: none;
}
.spec-note {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* 响应式补充 */
@media (max-width: 1024px) {
    .product-page-layout { grid-template-columns: 1fr; }
    .product-list-grid { grid-template-columns: repeat(2, 1fr); }
    .product-top-grid { grid-template-columns: 1fr; gap: 40px; }
    .product-bottom-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
    .product-list-grid { grid-template-columns: 1fr; }
    .product-summary .prod-title { font-size: 1.8rem; }
    .prod-actions { flex-direction: column; }
    .btn-primary-large, .btn-whatsapp { text-align: center; justify-content: center; }
}
/* ================= 品质保证与绿色环保 区块专用样式 ================= */

/* 针对该区块大标题的特殊优化（可以加上绿色下划线） */
#quality .section-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}
#quality .section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

/* 富文本区域的整体排版 */
.rich-text-content p {
    font-size: 1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 25px; /* 增加两段之间的间距 */
    text-align: justify;
}

/* 将 <strong> 标签美化为小标题 */
.rich-text-content strong {
    display: block; /* 强制独占一行 */
    font-size: 1.1rem;
    color: #333; /* 深色字，比正文深一点，突出层级 */
    font-weight: 700;
    margin-bottom: 8px;
    border-left: 3px solid var(--primary-green); /* 左侧加一条绿色竖线点缀 */
    padding-left: 10px;
}