/* ============================================================
   贵州隆实锂电新能源有限公司 - 官网样式
   设计系统：品牌深绿 + 中性灰绿，圆角体系统一（卡片16/按钮胶囊/输入框10）
   ============================================================ */

/* ---------- Reset & Tokens ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* 锚点跳转时为固定导航预留空间 */
[id] {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

:root {
    /* 品牌色（取自 logo 深绿） */
    --brand: #0e5e3a;
    --brand-deep: #093d26;
    --accent: #1b9e63;
    --accent-soft: #e6f4ec;

    /* 中性色（微绿调灰，全站统一） */
    --ink: #12211a;
    --text: #3d4a43;
    --muted: #6b7670;
    --bg: #f6f9f7;
    --surface: #ffffff;
    --border: #e2eae5;
    --footer-bg: #0c1712;

    /* 阴影（带品牌色倾向，避免纯黑投影） */
    --shadow-soft: 0 8px 24px -8px rgba(14, 94, 58, 0.10);
    --shadow-strong: 0 20px 40px -12px rgba(9, 61, 38, 0.18);

    /* 圆角体系（偏利落的工业感） */
    --radius-card: 12px;
    --radius-input: 8px;

    --header-h: 72px;
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.75;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* ---------- 滚动显现动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

/* ---------- 布局工具 ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 112px 0;
    position: relative;
}

.section-bg {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.04em;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 14px auto 0;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block;
    padding: 15px 42px;
    background: linear-gradient(135deg, var(--accent), var(--brand));
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px -6px rgba(14, 94, 58, 0.45);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -6px rgba(14, 94, 58, 0.55);
    color: #fff;
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 1.5px solid var(--brand);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px -8px rgba(14, 94, 58, 0.5);
}

/* ---------- 头部导航 ---------- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 234, 229, 0.7);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 24px rgba(9, 61, 38, 0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
    transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 滚动后导航收缩，更紧凑 */
header.scrolled .navbar {
    height: 60px;
}

/* 导航右侧：联系电话 + CTA 按钮 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.nav-phone i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.nav-phone:hover {
    color: var(--accent);
}

.btn-nav {
    padding: 10px 26px;
    font-size: 0.92rem;
    box-shadow: none;
    white-space: nowrap;
}

.btn-nav:hover {
    box-shadow: 0 8px 18px -6px rgba(14, 94, 58, 0.45);
}

/* 桌面端导航里隐藏"联系我们"文字链（由右侧 CTA 按钮承担），移动端菜单里恢复显示 */
.nav-contact-item {
    display: none;
}

.logo img {
    height: 44px;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -2px;
    width: 0;
    height: 2px;
    border-radius: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--brand);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: var(--ink);
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero 轮播 ---------- */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 620px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.06);
    transition: opacity 1.2s ease, transform 7s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(9, 30, 20, 0.55) 0%,
        rgba(9, 30, 20, 0.35) 45%,
        rgba(9, 30, 20, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    max-width: 980px;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    margin-bottom: 22px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-content p {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 400;
    opacity: 0.92;
    margin-bottom: 36px;
}

/* 仅在当前幻灯片上播放入场动画 */
.slide.active .hero-content h1 {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.slide.active .hero-content p {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.slide.active .hero-content .btn {
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

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

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

.hero-dot {
    position: relative;
    overflow: hidden;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}

/* 当前指示点：进度条填充表示自动切换进行中（时长与 main.js 的 INTERVAL 一致） */
.hero-dot.active {
    width: 26px;
    background: rgba(255, 255, 255, 0.35);
}

.hero-dot.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: inherit;
    background: #fff;
    animation: dotProgress 6s linear forwards;
}

@keyframes dotProgress {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ---------- 核心业务（非对称卡片） ---------- */
.features-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 40px 36px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
}

.feature-card--lead {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    border: none;
    background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: rgba(255, 255, 255, 0.82);
}

/* 右下角大号水印图标，充实主打卡视觉 */
.feature-card--lead::after {
    content: '\f2f1';
    font: var(--fa-font-solid);
    position: absolute;
    right: 16px;
    bottom: -28px;
    font-size: 11rem;
    color: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

/* 选择器优先级需高于 Font Awesome 的 .fas 规则，否则图标失去居中 */
.feature-card .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--brand);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-card--lead .feature-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    margin-bottom: 0;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

/* 主打卡：图标置顶，标题与正文沉底 */
.feature-card--lead h3 {
    color: #fff;
    font-size: 1.7rem;
    margin-top: auto;
}

.feature-card p {
    color: var(--muted);
}

.feature-card--lead p {
    color: rgba(255, 255, 255, 0.78);
    max-width: 36ch;
}

/* 右侧小卡：图标与标题同行，内容垂直居中 */
.feature-card:not(.feature-card--lead) {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
    align-items: center;
    align-content: center;
}

.feature-card:not(.feature-card--lead) .feature-icon {
    margin-bottom: 0;
}

.feature-card:not(.feature-card--lead) h3 {
    margin-bottom: 0;
}

.feature-card:not(.feature-card--lead) p {
    grid-column: 1 / -1;
    margin-top: 16px;
}

/* ---------- 关于我们预览 ---------- */
.about-preview {
    display: flex;
    align-items: center;
    gap: 64px;
}

.about-image {
    position: relative;
    flex: 1;
}

.about-image img {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-strong);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.03em;
    margin-bottom: 22px;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 16px;
}

.about-text p {
    font-size: 1.02rem;
    color: var(--muted);
}

.about-text p + p {
    margin-top: 14px;
}

/* 经营理念标签 */
.value-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.value-chip {
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.about-text .btn {
    margin-top: 32px;
}

/* ---------- 产品卡片 ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
}

.product-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 61, 38, 0.35), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.product-card:hover .product-img::after {
    opacity: 1;
}

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

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

.product-info {
    padding: 22px 24px 26px;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.product-info p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ---------- 内页页头 ---------- */
.page-header {
    margin-top: var(--header-h);
    height: 340px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* 左侧深色渐变压图，右侧保留图片细节 */
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(9, 23, 18, 0.94) 0%, rgba(9, 30, 20, 0.78) 45%, rgba(9, 30, 20, 0.42) 100%);
}

/* 与深色区块一致的蓝图网格纹理 */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.page-header h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.page-header h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--accent);
    margin-top: 18px;
    border-radius: 2px;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb i {
    font-size: 0.65rem;
    color: var(--accent);
}

.breadcrumb > span:last-child {
    color: rgba(255, 255, 255, 0.88);
}

.page-header--sm {
    height: 240px;
    padding-bottom: 56px;
}

/* ---------- 关于我们页 ---------- */
.content-block {
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    margin-bottom: 32px;
}

.content-block h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--accent);
}

.content-block p {
    color: var(--text);
}

.content-block p + p {
    margin-top: 12px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.culture-item {
    padding: 28px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.culture-item:hover {
    background: var(--accent-soft);
    border-color: transparent;
    transform: translateY(-4px);
}

.culture-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--brand);
    font-size: 1.4rem;
    margin: 0 auto 16px;
}

.culture-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
}

.culture-item p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- 产品筛选与图片弹窗 ---------- */
.filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.filter-btn {
    padding: 9px 24px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.filter-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.product-card.is-hidden {
    display: none;
}

.products-page .product-card {
    cursor: zoom-in;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 80px 20px 40px;
    overflow: auto;
    background: rgba(8, 16, 12, 0.92);
}

.modal.open {
    display: block;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 760px;
    width: 100%;
    border-radius: var(--radius-card);
    animation: modalZoom 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-caption {
    margin: 16px auto 0;
    max-width: 760px;
    text-align: center;
    color: #cbd5d0;
    font-size: 0.95rem;
}

@keyframes modalZoom {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #f1f1f1;
    font-size: 2.2rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

/* ---------- 新闻列表 ---------- */
.news-list {
    max-width: 860px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 24px;
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
}

.news-date {
    background: linear-gradient(160deg, var(--accent), var(--brand));
    color: #fff;
    padding: 20px;
    min-width: 104px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.news-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.news-date .year-month {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 6px;
}

.news-content {
    padding: 26px 28px;
    flex: 1;
}

.news-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}

.news-content h3 a:hover {
    color: var(--brand);
}

.news-content p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-weight: 500;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--accent);
    gap: 10px;
}

/* ---------- 新闻详情 ---------- */
.news-detail-container {
    max-width: 800px;
    margin: -60px auto 0;
    background: var(--surface);
    padding: 48px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
    position: relative;
    z-index: 10;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta i {
    color: var(--accent);
}

.news-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
    margin-bottom: 20px;
}

.news-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

.news-body p {
    margin-bottom: 18px;
}

.news-body h4 {
    color: var(--ink);
    font-size: 1.2rem;
    margin: 32px 0 14px;
    padding-left: 14px;
    position: relative;
}

.news-body h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--accent);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 500;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--accent);
    transform: translateX(-4px);
}

.error-message {
    text-align: center;
    padding: 48px 24px;
    color: var(--muted);
}

/* ---------- 联系我们页 ---------- */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.contact-info-box,
.contact-form-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 44px;
}

.contact-info-box > h3,
.contact-form-box > h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.contact-info-box > p {
    color: var(--muted);
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    margin-bottom: 26px;
}

.info-item:last-child {
    margin-bottom: 0;
}

/* 选择器优先级需高于 Font Awesome 的 .fas 规则，否则图标失去居中 */
.info-item .info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 18px;
}

.info-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.info-content p {
    color: var(--muted);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--ink);
}

.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-input);
    background: #fbfdfc;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    transition: var(--transition);
}

.form-control::placeholder {
    color: #9aa8a0;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(27, 158, 99, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* ---------- 页脚（由 js/site-footer.js 统一渲染） ---------- */
footer {
    background: var(--footer-bg);
    color: #9db0a6;
    padding-top: 72px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 22px;
    padding-bottom: 14px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-col ul li i {
    color: var(--accent);
    margin-right: 10px;
    width: 14px;
    text-align: center;
}

.footer-col ul li a:hover {
    color: #d1fae5;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    font-size: 0.875rem;
    color: #74867c;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 18px;
}

.copyright .filings {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 18px;
}

.copyright a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.copyright a img {
    height: 15px;
    width: auto;
    display: inline-block;
}

.copyright a:hover {
    color: #d1fae5;
}

/* ---------- 返回顶部 ---------- */
#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(9, 61, 38, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

#back-to-top:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .slide {
        transform: none;
    }
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .feature-card--lead {
        grid-row: auto;
    }

    .about-preview {
        flex-direction: column;
        gap: 48px;
    }

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

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

    .section-title {
        margin-bottom: 40px;
    }

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

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 8px 24px 16px;
        box-shadow: 0 20px 30px rgba(9, 61, 38, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: var(--transition);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

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

    .nav-links li a {
        display: block;
        padding: 14px 0;
    }

    .nav-links li a::after {
        display: none;
    }

    /* 移动端隐藏电话与 CTA，菜单中显示"联系我们"链接 */
    .nav-right {
        display: none;
    }

    .nav-links li.nav-contact-item {
        display: block;
    }

    header.scrolled .nav-links {
        top: 60px;
    }

    .hero {
        min-height: 540px;
    }

    .hero-content h1 {
        letter-spacing: 0.02em;
    }

    .page-header {
        height: 240px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header--sm {
        height: 180px;
    }

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

    .news-date {
        flex-direction: row;
        gap: 10px;
        padding: 12px 20px;
        min-width: 0;
    }

    .news-date .day {
        font-size: 1.4rem;
    }

    .news-date .year-month {
        margin-top: 0;
    }

    .news-detail-container {
        padding: 32px 22px;
        margin-top: -40px;
    }

    .news-title {
        font-size: 1.45rem;
    }

    .content-block,
    .contact-info-box,
    .contact-form-box {
        padding: 28px 22px;
    }
}

/* ---------- 工业感辅助纹理（浅色蓝图网格） ---------- */
.bg-grid {
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(14, 94, 58, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 94, 58, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
}

/* ---------- 企业实力数据条 ---------- */
.stats-bar {
    background: var(--footer-bg);
    color: #fff;
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 40px 24px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:first-child {
    border-left: none;
}

.stat-item .num {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.stat-item .num .unit {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
    margin-left: 4px;
    letter-spacing: 0;
}

.stat-item .label {
    color: #8fa89a;
    font-size: 0.9rem;
    margin-top: 10px;
    letter-spacing: 0.08em;
}

/* ---------- 智能设备制造（深色工业模块） ---------- */
.section-dark {
    background: var(--footer-bg);
    color: #b9c8bf;
    position: relative;
    overflow: hidden;
}

/* 深色蓝图网格纹理 */
.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.section-dark > .container {
    position: relative;
    z-index: 1;
}

.mfg-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: center;
}

.mfg-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.4);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 22px;
}

.mfg-grid h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}

.mfg-desc {
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 54ch;
}

.mfg-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.mfg-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.mfg-point i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(27, 158, 99, 0.16);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.mfg-point h4 {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.mfg-point p {
    font-size: 0.88rem;
    color: #8fa89a;
    line-height: 1.7;
}

.mfg-media {
    position: relative;
}

.mfg-media img {
    border-radius: var(--radius-card);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

/* 工业风角标框（共享类，用于 mfg-media、about-image 等图片容器） */
.frame-ticks {
    position: relative;
}

.frame-ticks::before,
.frame-ticks::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    z-index: 2;
    pointer-events: none;
}

.frame-ticks::before {
    top: -14px;
    left: -14px;
    border-top: 3px solid var(--accent);
    border-left: 3px solid var(--accent);
}

.frame-ticks::after {
    bottom: -14px;
    right: -14px;
    border-bottom: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
}

.mfg-stat {
    position: absolute;
    left: -28px;
    bottom: -28px;
    background: #fff;
    border-radius: var(--radius-card);
    padding: 20px 28px;
    box-shadow: var(--shadow-strong);
    z-index: 3;
}

.mfg-stat .num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1.1;
}

.mfg-stat .txt {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 6px;
}

/* 工艺流程条 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 88px;
    padding-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process-step .step-no {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.process-step h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 10px 0 6px;
}

.process-step p {
    font-size: 0.88rem;
    color: #8fa89a;
    line-height: 1.7;
}

/* ---------- 新模块响应式 ---------- */
@media (max-width: 992px) {
    .stats-bar .container {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 28px 16px;
    }

    .stat-item:nth-child(-n + 2) {
        border-top: none;
    }

    .mfg-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .mfg-media {
        margin: 0 14px 28px;
    }

    .mfg-stat {
        left: 16px;
        bottom: -20px;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
        margin-top: 72px;
    }
}

@media (max-width: 768px) {
    .mfg-grid h2 {
        font-size: 1.7rem;
        letter-spacing: 0.02em;
    }

    .mfg-points {
        grid-template-columns: 1fr;
    }

    .stat-item .num {
        font-size: 1.9rem;
    }
}

/* ---------- 首页热门产品（大图沉浸卡） ---------- */
.product-card--overlay {
    height: 420px;
    border: none;
}

.product-card--overlay .product-img {
    position: absolute;
    inset: 0;
    height: 100%;
}

.product-card--overlay .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 渐变压暗常显，保证底部文字可读 */
.product-card--overlay .product-img::after {
    opacity: 1;
    background: linear-gradient(to top, rgba(9, 23, 18, 0.88) 0%, rgba(9, 23, 18, 0.25) 45%, transparent 70%);
}

.product-card--overlay .product-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 28px;
}

.product-card--overlay .product-info h3 {
    color: #fff;
    font-size: 1.3rem;
}

.product-card--overlay .product-info p {
    color: rgba(255, 255, 255, 0.78);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 悬浮时底部绿色强调线展开 */
.product-card--overlay::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    transition: width 0.4s ease;
    z-index: 2;
}

.product-card--overlay:hover::before {
    width: 100%;
}

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

@media (max-width: 768px) {
    .product-card--overlay {
        height: 340px;
    }
}

/* 中屏幕隐藏导航电话，保留 CTA */
@media (max-width: 1200px) {
    .nav-phone {
        display: none;
    }
}

/* ---------- 全局细节打磨 ---------- */
::selection {
    background: rgba(27, 158, 99, 0.25);
    color: var(--ink);
}

/* 品牌色滚动条 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: #c3d2c9;
    border-radius: 5px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* 键盘焦点可见性 */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* 数字等宽，滚动递增时不抖动 */
.stat-item .num,
.news-date .day,
.mfg-stat .num {
    font-variant-numeric: tabular-nums;
}

/* 内容卡片悬浮反馈 */
.content-block {
    transition: var(--transition);
}

.content-block:hover {
    border-color: rgba(27, 158, 99, 0.35);
    box-shadow: var(--shadow-strong);
}

/* 页脚链接滑动反馈 */
.footer-col ul li a {
    display: inline-block;
}

.footer-col ul li a:hover {
    transform: translateX(4px);
}
