/* =========================================================
 * WCH 品牌官网主样式表
 * 主色：#BF3325    辅色：#1a1a1a (黑色)
 * 背景：暖白色系    字体：Calibri
 * ========================================================= */

/* ---------- CSS 变量 ---------- */
:root {
    --primary: #BF3325;
    --primary-dark: #9a2920;
    --primary-soft: #fdf2f0;
    --secondary: #1a1a1a;
    --bg: #faf8f5;
    --bg-soft: #f3efe9;
    --card-bg: #ffffff;
    --text: #1a1a1a;
    --text-soft: #595959;
    --text-muted: #999;
    --border: #e8e4df;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 6px;
}

/* ---------- 全局重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Calibri, "Segoe UI", Tahoma, Geneva, Verdana, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
html, body { max-width: 100%; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ---------- 布局容器 ---------- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(16px, 2.4vw, 24px);
}

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(191, 51, 37, 0.28);
}
.btn-outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--secondary);
}
.btn-outline:hover { background: var(--secondary); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 112px;   /* 导航栏加高，适配放大后的 logo */
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--secondary);
    text-transform: uppercase;
}
.logo img { height: 88px; width: auto; }  /* logo 放大 2 倍 */
.logo-text { color: var(--primary); }
.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    color: var(--text);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link.active { color: var(--primary); }
.nav-cta {
    margin-left: 8px;
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
}
.nav-cta:hover { background: var(--primary-dark); }
.mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--secondary);
}

/* ---------- Hero 首屏（海报定高裁切 + 文字悬浮） ---------- */
.hero {
    position: relative;
    min-height: 0;
    display: block;
    overflow: hidden;
}
/* 海报：真实 img 元素，按 1920×650 原比例完整显示 */
.hero-media {
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.hero-media-img {
    width: 100%;
    height: auto;
    display: block;
}
.hero::before {
    content: none;
}
.hero-grid {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-text { max-width: min(660px, calc(100% - 96px)); }
.hero-tag {
    display: inline-block;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 1px;
}
.hero h1 {
    font-size: clamp(32px, 4.4vw, 58px);
    line-height: 1.08;
    font-weight: bold;
    margin-bottom: 22px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--primary); }
.hero h2 {
    font-size: clamp(28px, 3.6vw, 48px);
    line-height: 1.1;
    font-weight: bold;
    margin-bottom: 22px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}
.hero h2 .accent { color: var(--primary); }
.hero p.lead {
    font-size: clamp(15px, 1.5vw, 19px);
    color: rgba(26, 26, 26, 0.88);
    margin-bottom: 36px;
    max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { color: #1a1a1a; border-color: #1a1a1a; }
.hero .btn-outline:hover { background: #1a1a1a; color: #fff; }

/* 海报图覆盖裁切：用于非横幅比例的图片按 banner 高度显示 */
.hero-img-cover {
    height: 560px;
    object-fit: cover;
    object-position: center 40%;
}
@media (max-width: 768px) { .hero-img-cover { height: 420px; } }
@media (min-width: 1400px) { .hero-img-cover { height: 640px; } }


/* ---------- Hero 轮播 ---------- */
/* 轮播高度 = 海报按原图比例（约 2757:850）等比缩放，不锁高、不裁切，任何设备下整幅完整显示 */
.hero-carousel { position: relative; width: 100%; overflow: hidden; }
.hero-carousel-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.hero-slide { min-width: 100%; position: relative; }
.hero-slide .hero-media-img { width: 100%; height: auto; display: block; object-fit: initial; }
.hero-slide-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    padding: 40px 30px 30px;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.hero-slide:hover .hero-slide-overlay { opacity: 1; }
.hero-slide-text {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    max-width: 600px;
    line-height: 1.45;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.hero-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    color: #1a1a1a;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s;
}
.hero-carousel-arrow:hover { background: var(--primary); color: #fff; }
.hero-carousel-prev { left: clamp(16px, 4vw, 48px); }
.hero-carousel-next { right: clamp(16px, 4vw, 48px); }
@media (max-width: 768px) {
    .hero-carousel-arrow { width: 34px; height: 34px; font-size: 20px; }
    .hero-carousel-prev { left: 12px; }
    .hero-carousel-next { right: 12px; }
    .hero-slide-overlay { opacity: 1; padding: 25px 20px 20px; }
    .hero-slide-text { font-size: 15px; }
}
/* ---------- 分区通用 ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-bg { background: #fff; }
.section-soft { background: var(--bg-soft); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}
.section-tag {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: bold;
    margin-bottom: 14px;
    color: var(--secondary);
    letter-spacing: -0.4px;
}
.section-head p {
    font-size: 17px;
    color: var(--text-soft);
}

/* 长标题（如 "Inside WCH"、"Why WCH"）：宽容器内单行显示，桌面端不折行 */
.section-head-wide {
    max-width: 1180px;
}
.section-head-wide h2 {
    white-space: nowrap;
}
@media (max-width: 900px) {
    .section-head-wide {
        max-width: 720px;
    }
    .section-head-wide h2 {
        white-space: normal;
        font-size: clamp(20px, 3.6vw, 28px);
    }
}

/* ---------- 类别卡片（首页三个核心类别） ---------- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.cat-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.cat-cover {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--primary-soft) 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* 类别卡片图填满 */
.cat-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.cat-card:hover .cat-img { transform: scale(1.05); }
.cat-body { padding: 28px; }
.cat-body h3 { font-size: 20px; font-weight: bold; margin-bottom: 10px; }
.cat-body p { color: var(--text-soft); font-size: 15px; }
.cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}
.cat-link:hover { gap: 10px; }

/* ---------- 优势三栏 ---------- */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.adv-card {
    text-align: center;
    padding: 12px 8px;
}
.adv-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 32px;
}
.adv-card h3 { font-size: 19px; font-weight: bold; margin-bottom: 8px; }
.adv-card p { color: var(--text-soft); font-size: 15px; max-width: 280px; margin: 0 auto; }

/* ---------- 产品网格 ---------- */
.product-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.product-tab {
    padding: 10px 22px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-soft);
    cursor: pointer;
    transition: var(--transition);
}
.product-tab.active,
.product-tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.product-image {
    aspect-ratio: 1 / 1;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(0, 0, 0, 0.04));
}
.product-image svg { width: 50%; position: relative; }
/* 产品图填满正方形容器 */
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img { transform: scale(1.05); }
.product-info { padding: 20px 22px; }
.product-info h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.product-info p { font-size: 14px; color: var(--text-soft); }
.product-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    background: var(--primary-soft);
    color: var(--primary-dark);
    margin-bottom: 8px;
}

/* ---------- 数据统计 ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item {
    border-right: 1px solid var(--border);
    padding: 8px 12px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.stat-label {
    color: var(--text-soft);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ---------- 内页 banner ---------- */
.page-header {
    background:
        radial-gradient(700px 280px at 50% 0%, rgba(191, 51, 37, 0.12), transparent 70%),
        linear-gradient(135deg, #fdf3f0 0%, #faf8f5 100%);
    padding: 90px 0 70px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: bold;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.page-header h1 .accent { color: var(--primary); }
.page-header p {
    font-size: 17px;
    color: var(--text-soft);
    max-width: 720px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- 关于我们 ---------- */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}
.about-text p {
    color: var(--text-soft);
    margin-bottom: 16px;
    font-size: 16px;
}
.about-visual {
    aspect-ratio: 5 / 4;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-soft) 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.about-visual .about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sub-card {
    padding: 36px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.sub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.sub-card .sub-img {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--bg-soft);
}
.sub-card .sub-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 专利证书等透明/超长图用 contain 完整显示 */
.sub-card .sub-img-contain img { object-fit: contain; }
.sub-card .ic {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.sub-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}
.sub-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 16px; }
.sub-card .placeholder-note {
    margin-top: 14px;
    padding: 12px 14px;
    background: var(--bg-soft);
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
}
.form-group label .req { color: var(--primary); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    background: #fff;
    transition: var(--transition);
    color: var(--text);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(191, 51, 37, 0.12);
}
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- 联系页布局 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: start;
}
.contact-info {
    background: var(--secondary);
    color: #fff;
    border-radius: 10px;
    padding: 44px;
}
.contact-info h2 { font-size: 28px; margin-bottom: 12px; }
.contact-info > p { color: rgba(255, 255, 255, 0.7); margin-bottom: 28px; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-item .ic {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}
.contact-item .label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}
.contact-item .val { color: #fff; font-size: 15px; line-height: 1.55; }

.contact-form-card {
    background: #fff;
    border-radius: 10px;
    padding: 44px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.contact-form-card h2 { font-size: 28px; margin-bottom: 8px; }
.contact-form-card > p { color: var(--text-soft); margin-bottom: 28px; }

/* ---------- 历史询盘记录 ---------- */
.history-section {
    background: var(--bg-soft);
}
.history-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}
.history-toolbar h3 { font-size: 22px; font-weight: bold; }
.history-toolbar h3 small {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 8px;
}
.history-list { display: flex; flex-direction: column; gap: 12px; }
.history-item {
    background: #fff;
    padding: 18px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1.2fr 2fr 110px;
    gap: 18px;
    align-items: center;
    font-size: 14px;
    transition: var(--transition);
}
.history-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.history-item .field-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.history-item .field-val { color: var(--text); }
.history-empty {
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 50px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
}
.history-empty svg { margin-bottom: 12px; opacity: 0.4; }

/* ---------- 弹窗 ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}
.modal {
    background: #fff;
    border-radius: 10px;
    padding: 48px 40px;
    max-width: 420px;
    width: 92%;
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.3s;
}
.modal-backdrop.show .modal { transform: scale(1); }
.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
}
.modal h3 { font-size: 22px; font-weight: bold; margin-bottom: 10px; }
.modal p { color: var(--text-soft); margin-bottom: 26px; font-size: 15px; }

/* ---------- 定制流程 ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.process-step {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
}
.process-step .num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.process-step h3 { font-size: 18px; font-weight: bold; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-soft); }

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.cap-card {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cap-card .ic {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}
.cap-card h3 { font-size: 18px; font-weight: bold; margin-bottom: 8px; }
.cap-card p { font-size: 14px; color: var(--text-soft); }

/* ---------- CTA 区块 ---------- */
.cta-band {
    background: var(--secondary);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.cta-band h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: bold;
    margin-bottom: 14px;
}
.cta-band h2 .accent { color: var(--primary-light); }
.cta-band p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 17px;
}


/* ---------- 品牌横幅海报（全屏展示） ---------- */
.brand-banner {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: none;
}
.brand-banner-media {
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.brand-banner-media img {
    width: 100%;
    height: auto;
    display: block;
}


/* ---------- 工厂全景海报（内容两端对齐统计区块） ---------- */
.factory-banner {
    line-height: 0;
    overflow: hidden;
    background: #fff;
    margin-top: 64px;      /* 与上方统计板块之间留空隙 */
    /* 上下左右留白一致，图片在区域内居中 */
    padding: clamp(16px, 2.4vw, 24px);
}
.factory-banner-img {
    width: 100%;
    height: auto;
    display: block;
}
/* ---------- 页脚 ---------- */
.site-footer {
    background: #0f0f0f;
    color: rgba(255, 255, 255, 0.65);
    padding: 64px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 44px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-social { margin-top: 20px; }
.footer-social-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
}
.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.social-links svg { width: 17px; height: 17px; fill: currentColor; }
.footer-grid h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.footer-grid ul li { padding: 6px 0; }
.footer-grid ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.25s;
}
.footer-grid ul li a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-row {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
}
.footer-contact-row .label {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
    width: 50px;
    font-size: 12px;
    text-transform: uppercase;
    padding-top: 2px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- 响应式（自适应全设备：台式/笔记本/平板/手机） ---------- */
@media (max-width: 1200px) {
    .header-inner { height: 96px; }
    .logo img { height: 72px; }
    .logo span { display: none; }
    .nav { gap: 22px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-item { border-right: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .header-inner { height: 88px; }
    .logo img { height: 60px; }
    .nav, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .nav.open {
        display: flex;
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--border);
        gap: 18px;
        align-items: flex-start;
    }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-info { padding: 16px 16px; }
    /* 悬浮文字的横幅：窄屏定高 + cover 裁切，保证文字不溢出图外 */
    .about-hero-media { height: clamp(340px, 52vw, 480px); }
    .about-hero-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .hero-media > .hero-media-img {
        width: 100% !important;
        height: clamp(300px, 48vw, 460px) !important;
        object-fit: cover !important;
    }
}

@media (max-width: 768px) {
    .hero { padding: 0; min-height: 0; }
    .hero-grid { display: flex; align-items: center; }
    .section { padding: 64px 0; }
    .factory-banner { margin-top: 40px; }
    .section-head { margin-bottom: 40px; }
    .cat-grid, .adv-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .about-intro { grid-template-columns: 1fr; gap: 32px; }
    .sub-grid, .cap-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .contact-info, .contact-form-card { padding: 30px 24px; }
    .history-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .history-item .field-label { margin-bottom: 0; }
    .page-header { padding: 60px 0 50px; }
    .cta-band { padding: 56px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .header-inner { height: 76px; }
    .logo img { height: 48px; }
    .nav.open { top: 76px; }
    .stats { gap: 16px; }
    .process-grid { grid-template-columns: 1fr; }
    .history-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
    .history-toolbar .btn { width: 100%; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .modal { padding: 36px 20px; }
}

/* ---------- About 页面全屏海报（文字悬浮） ---------- */
.about-hero {
    position: relative;
    min-height: 0;
    display: block;
    overflow: hidden;
    padding: 0;
}
.about-hero-media {
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.about-hero-img {
    width: 100%;
    height: auto;
    display: block;
}
/* 不叠加黑色遮罩，海报保持原色；文字改用深色保证可读 */
.about-hero-grid {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 50px;
}
.about-hero-text {
    max-width: 1200px;
    width: 100%;
    color: #1f1f1f;
    background: transparent;
    padding: 24px 32px;
    border-radius: 8px;
}
.about-hero-text h2 {
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #1f1f1f;
}
.about-hero-text p {
    color: rgba(0,0,0,0.82);
    margin-bottom: 16px;
    font-size: 16px;
}
.about-hero-text .btn-primary {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .about-hero-grid { padding-top: 40px; }
    .about-hero-text { max-width: 100%; padding: 16px; }
    .about-hero-text p { font-size: 15px; }
}
