/* ============================================
   林森耐水中山杉 - 企业官网样式表 v2
   重庆市林森耐水中山杉研发有限公司
   ============================================ */

/* ========== 基础变量 ========== */
:root {
    --primary: #2E7D32;       /* 森林绿 - 主色 */
    --primary-dark: #1B5E20; /* 深森林绿 */
    --primary-light: #43A047; /* 亮绿 */
    --accent: #6D4C41;        /* 棕 - 稳重辅助色 */
    --accent-light: #8D6E63;  /* 浅棕 */
    --text: #263238;          /* 深炭灰 - 正文 */
    --text-light: #546E7A;    /* 中灰 - 辅助文字 */
    --text-lighter: #90A4AE;  /* 浅灰 */
    --bg: #FAFDF7;            /* 暖白底 */
    --bg-alt: #F1F8E9;        /* 淡绿灰底 */
    --bg-card: #FFFFFF;       /* 卡片白 */
    --border: #C8E6C9;        /* 淡绿边框 */
    --shadow: 0 2px 16px rgba(27,94,32,0.08);
    --shadow-hover: 0 8px 32px rgba(27,94,32,0.16);
    --shadow-card: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(27,94,32,0.06);
    --radius: 16px;          /* 大圆角 */
    --radius-sm: 10px;        /* 小圆角 */
    --max-width: 1200px;
    --header-height: 68px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.75;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ========== 滚动条 ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ========== 头部导航 ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(250,253,247,0.96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    transition: var(--transition);
}

.header .inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--primary); flex-shrink: 0;
}

.logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 22px; font-weight: 800;
    box-shadow: 0 2px 8px rgba(27,94,32,0.3);
}

.logo-text { display: flex; flex-direction: column; }
.logo-text strong { font-size: 16px; font-weight: 700; color: var(--primary-dark); letter-spacing: 0.5px; }
.logo-text span { font-size: 11px; color: var(--text-lighter); letter-spacing: 0.5px; }

/* 导航 */
.nav { display: flex; align-items: center; gap: 2px; }

.nav a {
    padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
    color: var(--text); text-decoration: none; transition: var(--transition);
    position: relative;
}

.nav a:hover { background: var(--bg-alt); color: var(--primary); }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 18px; height: 2.5px; background: var(--accent); border-radius: 2px;
}

.nav-phone {
    margin-left: 12px; display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white !important; padding: 8px 18px !important; border-radius: 20px !important;
    font-size: 13px !important; font-weight: 700 !important;
    box-shadow: 0 2px 12px rgba(245,127,23,0.3);
    transition: var(--transition);
}
.nav-phone:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(245,127,23,0.4); }

/* 汉堡 */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ========== 英雄横幅 ========== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden; background: var(--primary-dark);
}

.hero-bg {
    position: absolute; inset: 0;
    background: url('images/精美图片/精美中山杉图片3.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27,94,32,0.82) 0%,
        rgba(27,94,32,0.55) 50%,
        rgba(46,125,50,0.40) 100%
    );
}

.hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0;
    line-height: 0; overflow: hidden;
}

.hero-wave svg { display: block; width: 100%; }

.hero .inner {
    position: relative; z-index: 2;
    max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
    padding-top: var(--header-height);
    padding-bottom: 120px; width: 100%;
}

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 16px; border-radius: 20px; color: white;
    font-size: 13px; font-weight: 500; margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-eyebrow .dot {
    width: 6px; height: 6px; background: var(--accent-light); border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; color: white;
    line-height: 1.2; margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 .accent { color: #FFD400; } /* 纯黄，深绿背景上视觉冲击强 */

.hero-sub {
    font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,0.88);
    line-height: 1.8; margin-bottom: 40px; max-width: 580px;
}

/* 数据卡片 */
.hero-stats {
    display: flex; gap: 0; margin-bottom: 40px;
    background: rgba(255,255,255,0.12); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius);
    overflow: hidden; width: fit-content;
}

.hero-stats .stat {
    padding: 20px 36px; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat:last-child { border-right: none; }

.hero-stats .stat-num {
    font-size: 28px; font-weight: 800; color: white; line-height: 1.1;
}
.hero-stats .stat-num .unit { font-size: 16px; font-weight: 500; opacity: 0.8; }

.hero-stats .stat-label { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* 按钮 */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius-sm); font-size: 15px;
    font-weight: 600; text-decoration: none; transition: var(--transition);
    border: none; cursor: pointer; white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white; box-shadow: 0 4px 16px rgba(245,127,23,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,127,23,0.45);
}

.btn-white {
    background: rgba(255,255,255,0.15); color: white;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
}
.btn-white:hover { background: rgba(255,255,255,0.25); }

.btn-outline {
    background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

/* ========== 通用区块 ========== */
.section { padding: 90px 24px; }
.section .inner { max-width: var(--max-width); margin: 0 auto; }
.section-alt { background: var(--bg-alt); }

.section-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.section-label::before {
    content: ''; width: 20px; height: 2px; background: var(--accent);
    border-radius: 1px;
}

.section-header { margin-bottom: 52px; }
.section-header h2 {
    font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
    color: var(--primary-dark); line-height: 1.25; margin-bottom: 12px;
}
.section-header .section-sub {
    font-size: 16px; color: var(--text-light); max-width: 520px;
}

/* ========== 核心业务卡片 ========== */
.card-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.card {
    background: var(--bg-card); border-radius: var(--radius);
    padding: 30px 26px; border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative; overflow: hidden;
}

.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0; transition: var(--transition);
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card:hover::before { opacity: 1; }

.card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 18px;
}

.card h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.card-link {
    display: inline-flex; align-items: center; gap: 4px; margin-top: 16px;
    color: var(--primary); font-size: 13px; font-weight: 600; text-decoration: none;
    transition: var(--transition);
}
.card-link:hover { gap: 8px; color: var(--accent); }

/* ========== 应用场景 ========== */
.scene-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

.scene-card {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-card); border: 1px solid var(--border);
    transition: var(--transition); background: var(--bg-card);
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.scene-img {
    height: 240px; overflow: hidden; position: relative;
}
.scene-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.scene-card:hover .scene-img img { transform: scale(1.06); }

.scene-badge {
    position: absolute; top: 16px; left: 16px;
    background: rgba(27,94,32,0.85); backdrop-filter: blur(8px);
    color: white; padding: 5px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
}

.scene-info { padding: 22px 24px; }
.scene-info h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.scene-info p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }

.scene-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.scene-tag {
    padding: 3px 10px; border-radius: 20px;
    background: var(--bg-alt); color: var(--primary);
    font-size: 11px; font-weight: 600; border: 1px solid var(--border);
}

/* ========== 优势三栏 ========== */
.advantage-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.advantage-card {
    text-align: center; padding: 40px 24px; border-radius: var(--radius);
    background: var(--bg-card); border: 1px solid var(--border);
    box-shadow: var(--shadow-card); transition: var(--transition);
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.advantage-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-alt), var(--border));
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; margin: 0 auto 20px;
}

.advantage-card h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ========== 新闻列表 ========== */
.news-list { display: flex; flex-direction: column; gap: 16px; }

.news-item {
    display: flex; gap: 20px; padding: 22px;
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid var(--border); box-shadow: var(--shadow-card);
    transition: var(--transition); align-items: flex-start;
}
.news-item:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }

.news-date {
    flex-shrink: 0; width: 72px; text-align: center;
    background: var(--bg-alt); border-radius: var(--radius-sm);
    padding: 10px 8px; border: 1px solid var(--border);
}
.news-date .day { font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1; }
.news-date .month { font-size: 12px; color: var(--text-light); font-weight: 500; }

.news-body h3 { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.news-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ========== 联系横幅 ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius); padding: 60px 48px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; position: relative; overflow: hidden;
}

.cta-banner::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.cta-banner h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: white; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 15px; }

.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ========== 页脚 ========== */
.footer {
    background: var(--primary-dark); color: rgba(255,255,255,0.85);
    padding: 64px 24px 28px;
}

.footer .inner { max-width: var(--max-width); margin: 0 auto; }

.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .logo-icon { background: rgba(255,255,255,0.15); }
.footer-brand .logo-text strong { color: white; font-size: 16px; }
.footer-brand .logo-text span { color: rgba(255,255,255,0.6); }
.footer-brand p { margin-top: 16px; font-size: 13px; line-height: 1.8; opacity: 0.7; }

.footer-col h4 {
    color: white; font-size: 14px; font-weight: 700; margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.footer-col a {
    display: block; color: rgba(255,255,255,0.65); text-decoration: none;
    font-size: 13px; padding: 3px 0; transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-light); padding-left: 4px; }

.footer-col .contact-item {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; margin-bottom: 12px; opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px; display: flex; justify-content: space-between;
    font-size: 12px; opacity: 0.5; align-items: center;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero-stats { flex-wrap: wrap; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav {
        position: fixed; top: var(--header-height); left: 0; right: 0;
        flex-direction: column; background: rgba(250,253,247,0.98);
        backdrop-filter: blur(16px); padding: 12px 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%); opacity: 0;
        transition: var(--transition); pointer-events: none; z-index: 999;
    }
    .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav a { padding: 12px 8px; width: 100%; border-radius: 8px; border-bottom: 1px solid var(--border); }
    .nav-phone { margin: 8px 0 0; justify-content: center; border-radius: 8px !important; }
    .hero .inner { padding-bottom: 80px; }
    .hero-stats { flex-direction: column; width: 100%; }
    .hero-stats .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 16px 24px; }
    .hero-actions { flex-direction: column; }
    .card-grid, .scene-grid, .advantage-grid { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section { padding: 60px 20px; }
    .news-item { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
    .header .inner { padding: 0 16px; }
    .logo-text span { display: none; }
    .section-header h2 { font-size: 24px; }
}

/* ========== 新增组件（v3 多页重构） ========== */
:root {
    --earth: #6D4C41;        /* 棕 - 稳重辅助色 */
    --earth-light: #A1887F;  /* 浅棕 */
    --brown-soft: #EFEBE9;   /* 淡棕底 */
}

/* 子页 hero */
.page-hero {
    position: relative; min-height: 46vh; display: flex; align-items: flex-end;
    overflow: hidden; background: var(--primary-dark); padding-bottom: 56px; margin-top: 72px;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background: url('../images/图片展示/精美图片/精美中山杉图片3.png') center/cover no-repeat;
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(27,94,32,0.88), rgba(46,125,50,0.55));
}
.page-hero-inner {
    position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto;
    padding: 0 32px; width: 100%;
}
.page-hero-inner h1 {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: white; line-height: 1.2; margin: 14px 0 10px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.page-hero-inner p { color: rgba(255,255,255,0.85); font-size: 16px; max-width: 640px; }

/* 文章正文 */
.article p { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 16px; }

/* 基地实力 */
.base-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.base-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.base-card img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.5s ease; }
.base-card:hover img { transform: scale(1.06); }

/* 资质证照 */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-card); transition: var(--transition); }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cert-card img { width: 100%; height: 220px; object-fit: contain; background: #fff; }

/* 产品 */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.product-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-head h3 { font-size: 24px; color: var(--primary-dark); font-weight: 800; }
.product-badge { background: var(--primary); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.product-badge.accent { background: var(--accent); }
.product-desc { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 18px; }
.product-spec { list-style: none; }
.product-spec li { font-size: 14px; color: var(--text); padding: 9px 0; border-bottom: 1px dashed var(--border); line-height: 1.6; }
.product-spec li b { color: var(--primary); }
.note-box { margin-top: 28px; background: var(--bg-alt); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 14px; color: var(--text-light); line-height: 1.8; }
.note-box a { color: var(--primary); font-weight: 600; }

/* 项目案例 */
.case-list { display: flex; flex-direction: column; gap: 28px; }
.case-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-card); }
.case-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.case-no { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.case-head h3 { font-size: 19px; color: var(--primary-dark); font-weight: 700; }
.case-loc { font-size: 13px; color: var(--earth-light); }
.case-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.case-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius-sm); transition: transform 0.4s ease; }
.case-gallery img:hover { transform: scale(1.04); }
.case-desc { font-size: 14px; color: var(--text-light); line-height: 1.85; }

/* 资讯分类标签 */
.news-cat { align-self: center; flex-shrink: 0; background: var(--brown-soft); color: var(--earth); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.news-item { display: flex; gap: 16px; }
.news-body h3 { font-size: 16px; }

/* 图片展示 */
.gallery-section { margin-bottom: 44px; }
.gallery-title { font-size: 22px; color: var(--primary-dark); font-weight: 700; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-sm); transition: transform 0.4s ease; cursor: pointer; }
.gallery-grid img:hover { transform: scale(1.04); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.video-grid video { width: 100%; border-radius: var(--radius-sm); background: #000; aspect-ratio: 16/9; }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.contact-info { padding: 8px 4px; }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-row b { color: var(--primary-dark); font-size: 15px; }
.contact-row div { font-size: 14px; color: var(--text); line-height: 1.7; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.contact-map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.15); }
.map-note { padding: 12px 16px; background: var(--bg-alt); font-size: 13px; color: var(--text-light); }
.map-note a { color: var(--primary); font-weight: 600; }

/* ========== 新增响应式 ========== */
@media (max-width: 1024px) {
    .base-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .case-gallery { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .base-grid, .cert-grid, .case-gallery, .gallery-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero { min-height: 38vh; }
    .contact-map iframe { height: 320px; }
    .news-item { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .gallery-grid, .video-grid { grid-template-columns: 1fr; }
    .case-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* 首页 hero 主按钮：深绿底上用白底绿字保证对比度 */
.hero .btn-primary {
    background: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}
.hero .btn-primary:hover {
    background: var(--bg-alt);
    transform: translateY(-2px);
}
