/* ============================================================
   FORMENO 外贸独立站 · 全局样式
   定位: B2B 转化导向(信任感 + 清晰 CTA + 移动端优先)
   ============================================================ */

:root {
  --color-primary: #0F2A43;        /* 主色: 深海军蓝(信任/专业) */
  --color-primary-light: #1C4260;
  --color-primary-dark: #0A1D2E;
  --color-accent: #B08D57;         /* 强调色: 橙(CTA/行动点) */
  --color-accent-dark: #96753F;
  --color-whatsapp: #25d366;
  --color-text: #24303d;
  --color-text-light: #64748b;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7fa;
  --color-border: #e4e9ef;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(14, 47, 78, 0.08);
  --shadow-lg: 0 16px 44px rgba(14, 47, 78, 0.14);
  --container: 1200px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.text-center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(176, 141, 87, 0.35); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(255, 255, 255, 0.65); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--color-primary); border-color: #fff; }
.btn-outline-dark { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 顶部信息条（浅色麻质底色，对齐参考图） ---------- */
.topbar { background: #F5F1EA; color: #3A352E; font-size: 13px; padding: 9px 0; border-bottom: 1px solid #E8E1D5; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-contact { display: flex; flex-wrap: wrap; }
.topbar-contact a, .topbar-contact span { display: inline-flex; align-items: center; gap: 6px; margin-right: 20px; color: rgba(58, 53, 46, 0.72); }
.topbar-contact a:hover { color: var(--color-primary); }
.topbar-contact svg { width: 14px; height: 14px; color: var(--color-accent); }
.topbar-right { display: flex; align-items: center; gap: 16px; }

/* ---------- 语言选择器（参考图样式） ---------- */
.lang-slot { position: relative; }
.lang-select { position: relative; }
.lang-select-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: #3A352E; padding: 6px 2px; }
.lang-select-btn svg { width: 14px; height: 14px; transition: transform 0.25s; }
.lang-select.open .lang-select-btn svg { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: calc(100% + 10px); right: 0; min-width: 150px; background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(34, 31, 27, 0.16); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.22s, transform 0.22s, visibility 0.22s; z-index: 400; }
.lang-select.open .lang-dropdown { opacity: 1; visibility: visible; transform: none; }
.lang-option { display: block; width: 100%; text-align: left; padding: 11px 16px; border: none; background: none; font-family: inherit; font-size: 15px; color: #3A352E; border-radius: 9px; cursor: pointer; transition: background 0.18s; }
.lang-option:hover { background: #F7F3EC; }
.lang-option.active { background: #EAE3D7; font-weight: 600; }
.topbar .lang-switch b { color: #fff; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(14, 47, 78, 0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.logo { font-size: 26px; font-weight: 800; color: var(--color-primary); letter-spacing: -0.5px; display: inline-flex; align-items: center; gap: 9px; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--color-accent), #C9A86F); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 800; }
.logo-dot { color: var(--color-accent); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--color-text); position: relative; padding: 6px 0; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--color-accent); transition: width 0.25s; }
.nav a:hover { color: var(--color-primary); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--color-primary); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; place-items: center; color: var(--color-primary); }
.nav-toggle svg { width: 22px; height: 22px; }

/* 移动端抽屉 */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: #fff; z-index: 320; transform: translateX(105%);
  transition: transform 0.35s ease; display: flex; flex-direction: column;
  padding: 26px 24px; box-shadow: -12px 0 44px rgba(11, 35, 56, 0.18);
}
.mobile-nav.open { transform: none; }
.mobile-nav .mobile-logo { font-size: 22px; font-weight: 800; color: var(--color-primary); margin-bottom: 22px; }
.mobile-nav a { padding: 14px 2px; border-bottom: 1px solid var(--color-border); font-size: 16px; font-weight: 600; color: var(--color-text); }
.mobile-nav a.active { color: var(--color-accent); }
.mobile-nav .btn { margin-top: 22px; }
.mobile-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: none; background: var(--color-bg-soft); border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--color-primary); }
.mask { position: fixed; inset: 0; background: rgba(11, 35, 56, 0.5); z-index: 310; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mask.show { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(720px 420px at 88% 12%, rgba(176, 141, 87, 0.22), transparent 60%),
    linear-gradient(135deg, #0A1D2E 0%, #0F2A43 45%, #1C4260 100%);
  padding: 72px 0 64px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 82% 18%, rgba(176, 141, 87, 0.13), transparent 62%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px; border-radius: 99px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.2px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.3); }
.hero h1 { font-size: 52px; line-height: 1.14; font-weight: 800; margin: 22px 0 18px; letter-spacing: -0.8px; }
.hero h1 em { font-style: normal; color: #D9BE8A; }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, 0.85); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual .img-ph { border-radius: 18px; box-shadow: var(--shadow-lg); }
/* ===== Banner 背景图版：暖调产品图铺满 + 象牙白渐变薄纱 + 深咖文字（与图片底色自然融合） ===== */
.hero-banner {
  background:
    linear-gradient(100deg, rgba(250, 246, 240, 0.95) 0%, rgba(250, 246, 240, 0.9) 34%, rgba(250, 246, 240, 0.58) 58%, rgba(250, 246, 240, 0.16) 80%, rgba(250, 246, 240, 0) 100%),
    url("../images/banner/hero-banner.jpg") center 26% / cover no-repeat;
  padding: 104px 0 92px;
}
.hero-banner::before { display: none; }
.hero-banner .hero-grid { grid-template-columns: 1fr; max-width: 660px; margin: 0; text-align: left; justify-items: start; }
.hero-banner .hero-sub { margin-left: 0; margin-right: auto; }
.hero-banner .hero-cta { justify-content: flex-start; }
/* 浅色蒙版上的文字配色（深咖 + 金，替代原白字） */
.hero-banner .hero-badge { background: rgba(51, 38, 31, 0.07); border-color: rgba(51, 38, 31, 0.2); color: #33261F; }
.hero-banner h1 { color: #2E241D; }
.hero-banner h1 em { color: #A87C4B; }
.hero-banner .hero-sub { color: rgba(46, 36, 29, 0.82); }
.hero-banner .btn-outline { border-color: rgba(51, 38, 31, 0.4); color: #33261F; }
.hero-banner .btn-outline:hover { background: #33261F; border-color: #33261F; color: #fff; }
/* Banner 底部视觉带（移动端展示；桌面端图片已作背景故隐藏） */
.hero-banner-img { margin-top: 48px; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.hero-banner-img img { width: 100%; height: auto; display: block; }
.hero-banner .hero-banner-img { display: none; }

/* ---------- 通用 Section ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-head { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.section-tag { display: inline-block; color: var(--color-accent); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 12.5px; margin-bottom: 10px; }
.section-head h2 { font-size: 36px; line-height: 1.25; color: var(--color-primary); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.section-head p { color: var(--color-text-light); font-size: 16.5px; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 卡片 ---------- */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-body { padding: 26px; }
.card h3 { font-size: 19px; color: var(--color-primary); margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--color-text-light); }
.icon-box { width: 56px; height: 56px; border-radius: 15px; background: rgba(176, 141, 87, 0.1); color: var(--color-accent); display: grid; place-items: center; margin-bottom: 18px; }
.icon-box svg { width: 28px; height: 28px; }
.icon-box.blue { background: rgba(14, 47, 78, 0.08); color: var(--color-primary); }

/* 图片占位 */
.img-ph {
  position: relative; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, #edf1f6, #edf1f6 14px, #e3eaf2 14px, #e3eaf2 28px);
  color: #7d8fa1; font-size: 13.5px; font-weight: 600; border-radius: var(--radius-sm);
}
.img-ph span { padding: 9px 16px; background: rgba(255, 255, 255, 0.85); border-radius: 7px; box-shadow: 0 1px 4px rgba(14, 47, 78, 0.08); }
.img-ph-16-9 { aspect-ratio: 16 / 9; }
.img-ph-4-3 { aspect-ratio: 4 / 3; }
.img-ph-1-1 { aspect-ratio: 1 / 1; }
.img-ph-tall { aspect-ratio: 3 / 4; }

/* ---------- 产品卡片 ---------- */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .img-ph { border-radius: 0; }
.product-tag { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--color-primary); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 99px; }
.product-card .card-body { display: flex; flex-direction: column; flex: 1; }
.product-card .specs { font-size: 13.5px; color: var(--color-text-light); margin-bottom: 14px; min-height: 42px; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--color-text-light); border-top: 1px solid var(--color-border); padding-top: 13px; margin-top: auto; margin-bottom: 15px; }
.product-meta b { color: var(--color-text); font-weight: 600; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--color-accent); font-weight: 600; font-size: 14.5px; }
.card-link svg { width: 15px; height: 15px; transition: transform 0.25s; }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- 行业方案卡 ---------- */
.industry-card { padding: 28px; }
.industry-card ul { margin: 12px 0 16px; }
.industry-card li { font-size: 14px; color: var(--color-text-light); padding-left: 22px; position: relative; margin-bottom: 6px; }
.industry-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--color-accent); }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 30px 22px; text-align: center; position: relative; transition: transform 0.3s, box-shadow 0.3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .num { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-size: 17px; display: grid; place-items: center; }
.step:nth-child(odd) .num { background: var(--color-accent); }
.step h4 { font-size: 16.5px; color: var(--color-primary); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--color-text-light); }

/* ---------- 数据/认证条 ---------- */
.cert-strip { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.cert-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 14px 22px; font-weight: 700; color: var(--color-primary); font-size: 15px; box-shadow: 0 2px 8px rgba(14, 47, 78, 0.05); }
.cert-chip svg { width: 22px; height: 22px; color: var(--color-accent); }

/* ---------- 客户评价 ---------- */
.quote-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 28px; position: relative; }
.quote-card::before { content: "\201C"; position: absolute; top: 8px; left: 20px; font-size: 64px; line-height: 1; color: rgba(176, 141, 87, 0.18); font-family: Georgia, serif; }
.quote-text { font-size: 14.5px; color: var(--color-text); margin: 18px 0 20px; font-style: italic; }
.quote-author { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--color-border); padding-top: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.quote-author b { display: block; font-size: 14.5px; color: var(--color-primary); }
.quote-author span { font-size: 12.5px; color: var(--color-text-light); }
.stars { color: #B08D57; letter-spacing: 2px; font-size: 13px; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; transition: box-shadow 0.25s, border-color 0.25s; }
.faq-item.open { border-color: var(--color-accent); box-shadow: 0 6px 20px rgba(176, 141, 87, 0.1); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 16px; background: none; border: none; cursor: pointer; text-align: left; color: var(--color-primary); }
.faq-q .faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--color-bg-soft); display: grid; place-items: center; transition: transform 0.3s, background 0.3s; color: var(--color-primary); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--color-accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14.5px; color: var(--color-text-light); }

/* ---------- CTA 横幅 ---------- */
.cta-section { padding: 40px 0 90px; }
.cta-banner {
  position: relative; overflow: hidden; border-radius: 22px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(120deg, #0A1D2E, #0F2A43 55%, #1C4260);
  padding: 66px 40px;
}
.cta-banner h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.82); max-width: 620px; margin: 0 auto 30px; font-size: 16.5px; }
.cta-banner .cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-note { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* ---------- 内页页头 ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 74px 0 62px;
  background:
    radial-gradient(640px 340px at 90% 15%, rgba(176, 141, 87, 0.2), transparent 60%),
    linear-gradient(130deg, #0A1D2E, #1C4260);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 85% 20%, rgba(176, 141, 87, 0.11), transparent 60%); }
.breadcrumb { position: relative; font-size: 13.5px; color: rgba(255, 255, 255, 0.72); margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; color: rgba(255, 255, 255, 0.45); }
.page-hero h1 { position: relative; font-size: 40px; font-weight: 800; letter-spacing: -0.6px; }
.page-hero .page-hero-sub { position: relative; color: rgba(255, 255, 255, 0.85); margin-top: 14px; max-width: 660px; font-size: 16.5px; }

/* ---------- 筛选 chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 9px 20px; border-radius: 99px; border: 1px solid var(--color-border); background: #fff; font-size: 14px; font-weight: 600; color: var(--color-text-light); cursor: pointer; transition: all 0.25s; }
.chip:hover, .chip.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ---------- 产品详情 ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-info .pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-info h1 { font-size: 32px; color: var(--color-primary); font-weight: 800; letter-spacing: -0.5px; line-height: 1.25; }
.pd-info .pd-desc { color: var(--color-text-light); margin: 14px 0 22px; font-size: 15.5px; }
.pd-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.pd-fact { background: var(--color-bg-soft); border-radius: 12px; padding: 14px 16px; }
.pd-fact span { display: block; font-size: 12.5px; color: var(--color-text-light); margin-bottom: 3px; }
.pd-fact b { font-size: 15px; color: var(--color-primary); }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs .img-ph { aspect-ratio: 1 / 1; cursor: pointer; }
.thumbs .img-ph:hover { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* 选项卡 */
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--color-border); margin-bottom: 34px; flex-wrap: wrap; }
.tab-btn { padding: 12px 22px; background: none; border: none; font-size: 15.5px; font-weight: 600; color: var(--color-text-light); cursor: pointer; position: relative; transition: color 0.2s; }
.tab-btn:hover { color: var(--color-primary); }
.tab-btn.active { color: var(--color-primary); }
.tab-btn.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; background: var(--color-accent); border-radius: 2px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 规格表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 13px 18px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.spec-table th { background: var(--color-bg-soft); width: 230px; font-weight: 600; color: var(--color-primary); }
.spec-table tr:nth-child(even) td { background: #fafbfd; }

/* 定制选项 */
.opt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.opt-item { border: 1px dashed var(--color-border); border-radius: 12px; padding: 16px; text-align: center; font-size: 14px; color: var(--color-text-light); }
.opt-item b { display: block; color: var(--color-primary); font-size: 15px; margin-bottom: 4px; }

/* ---------- 时间线(关于我们) ---------- */
.timeline { position: relative; padding-left: 36px; max-width: 720px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--color-border); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -33px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--color-accent); }
.timeline-item .year { font-size: 20px; font-weight: 800; color: var(--color-accent); }
.timeline-item h4 { font-size: 17px; color: var(--color-primary); margin: 4px 0 6px; }
.timeline-item p { font-size: 14.5px; color: var(--color-text-light); }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 38px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--color-primary); }
.form-group label .req { color: #e11d48; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 15px; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--color-text); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.14);
}
.form-group textarea { min-height: 132px; resize: vertical; }
.form-note { font-size: 13px; color: var(--color-text-light); }
.form-success { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 15px 18px; border-radius: 11px; margin-bottom: 18px; font-size: 14.5px; }
.form-success.show { display: block; animation: fadeUp 0.35s ease; }
.field-error { color: #e11d48; font-size: 12.5px; display: none; }
.form-group.invalid input, .form-group.invalid textarea, .form-group.invalid select { border-color: #e11d48; }
.form-group.invalid .field-error { display: block; }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--color-text-light); }
.checkbox-line input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--color-accent); flex-shrink: 0; }

/* 联系卡片 */
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 24px; transition: transform 0.3s, box-shadow 0.3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 13px; background: rgba(14, 47, 78, 0.07); color: var(--color-primary); display: grid; place-items: center; flex-shrink: 0; }
.contact-card .ic svg { width: 23px; height: 23px; }
.contact-card .ic.green { background: rgba(37, 211, 102, 0.12); color: var(--color-whatsapp); }
.contact-card b { display: block; font-size: 15.5px; color: var(--color-primary); margin-bottom: 3px; }
.contact-card span, .contact-card a { font-size: 14px; color: var(--color-text-light); word-break: break-word; }
.contact-card a:hover { color: var(--color-accent); }

/* ---------- 博客 ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .img-ph { border-radius: 0; }
.post-cat { position: absolute; top: 14px; left: 14px; background: var(--color-accent); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 13px; border-radius: 99px; }
.post-card .card-body { display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--color-text-light); margin-bottom: 8px; display: flex; gap: 14px; }
.post-card h3 { font-size: 17.5px; line-height: 1.4; flex: 1; }
.post-card h3 a:hover { color: var(--color-accent); }
.featured-post { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; align-items: stretch; margin-bottom: 46px; }
.featured-post .img-ph { height: 100%; min-height: 300px; border-radius: 0; }
.featured-post .card-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-post h3 { font-size: 26px; line-height: 1.3; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255, 255, 255, 0.72); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 52px; padding-bottom: 58px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.75; margin-bottom: 8px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 22px; font-weight: 700; }
.footer-links a { display: block; padding: 7px 0; font-size: 14.5px; transition: color 0.2s, padding-left 0.2s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 17px; font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--color-accent); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-response { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, 0.62); margin-top: 18px; }
.footer-response svg { width: 16px; height: 16px; color: var(--color-accent); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 24px 0 28px; font-size: 13.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 悬浮按钮 ---------- */
.floats { position: fixed; right: 20px; bottom: 24px; z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wa-float { display: flex; align-items: center; gap: 10px; }
.wa-float .wa-tip { background: #fff; color: var(--color-text); font-size: 12.5px; font-weight: 600; padding: 9px 14px; border-radius: 9px; box-shadow: var(--shadow); white-space: nowrap; }
.wa-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--color-whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(37, 211, 102, 0.42); transition: transform 0.25s; flex-shrink: 0; }
.wa-btn:hover { transform: scale(1.1); }
.wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.55); animation: wa-pulse 2.2s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-btn::after { animation: none; } }
.wa-btn svg { width: 29px; height: 29px; }
.back-top { width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--color-border); color: var(--color-primary); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.25s; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 19px; height: 19px; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 产品线标题 ---------- */
.line-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.line-head .line-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--color-primary); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.line-head .line-icon svg { width: 30px; height: 30px; }
.line-head.accent .line-icon { background: var(--color-accent); }
.line-head h2 { font-size: 30px; color: var(--color-primary); font-weight: 800; letter-spacing: -0.5px; }
.line-head p { color: var(--color-text-light); font-size: 15px; margin-top: 2px; }
.line-head .line-count { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--color-accent); background: rgba(176, 141, 87, 0.1); padding: 7px 16px; border-radius: 99px; white-space: nowrap; }

/* ---------- 分类卡 ---------- */
.cat-card { position: relative; display: flex; flex-direction: column; }
.cat-card .img-ph { border-radius: 0; }
.cat-card .card-body { display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { font-size: 18px; }
.cat-card h3 a { color: var(--color-primary); transition: color 0.2s; }
.cat-card h3 a:hover { color: var(--color-accent); }
.cat-card .specs { font-size: 13.5px; color: var(--color-text-light); margin-bottom: 14px; flex: 1; }
.cat-card > a > img { transition: transform 0.4s ease; }
.cat-card:hover > a > img { transform: scale(1.04); }

/* ---------- 分类二级页 ---------- */
.cat-layout { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 46px; align-items: start; }
.spec-list li { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--color-border); font-size: 14.5px; color: var(--color-text); }
.spec-list li:last-child { border-bottom: none; }
.spec-list li::before { content: "✓"; color: var(--color-accent); font-weight: 800; flex-shrink: 0; }

/* ---------- 照片画廊 ---------- */
.gallery { margin-top: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border); background: #fff; cursor: zoom-in; aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .gi-badge { position: absolute; bottom: 8px; left: 8px; background: rgba(14, 47, 78, 0.78); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; letter-spacing: 0.3px; }
.gallery-item .gi-zoom { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; opacity: 0; transition: opacity 0.25s; color: var(--color-primary); }
.gallery-item .gi-zoom svg { width: 15px; height: 15px; }
.gallery-item:hover .gi-zoom { opacity: 1; }
.gallery-empty { padding: 40px; text-align: center; color: var(--color-text-light); }

/* ---------- 灯箱 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(8, 20, 33, 0.93); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 680px); max-height: 84vh; border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); }
.lightbox .lb-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.25s; }
.lightbox .lb-close:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox .lb-close svg { width: 20px; height: 20px; }
.lightbox .lb-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.85); font-size: 14px; background: rgba(255, 255, 255, 0.1); padding: 8px 18px; border-radius: 99px; white-space: nowrap; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background 0.25s; }
.lightbox .lb-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox .lb-prev { left: 18px; }
.lightbox .lb-next { right: 18px; }
.lightbox .lb-nav svg { width: 22px; height: 22px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: 42px; }
  /* 移动/平板：暖调浅色底 + 文字居中 + 图片以下方视觉带展示 */
  .hero-banner { background: linear-gradient(135deg, #FAF6F0 0%, #F3EBE2 55%, #EDE2D6 100%); padding: 56px 0 52px; }
  .hero-banner .hero-grid { max-width: 820px; margin: 0 auto; text-align: center; justify-items: center; }
  .hero-banner .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-banner .hero-cta { justify-content: center; }
  .hero-banner .hero-banner-img { display: block; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pd-layout { grid-template-columns: 1fr; gap: 34px; }
  .featured-post { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .opt-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-layout { grid-template-columns: 1fr; gap: 30px; }
  .line-head .line-count { display: none; }
}
@media (max-width: 768px) {
  .nav, .site-header .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .topbar-contact { display: none; }
  .topbar-inner { justify-content: center; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 28px; }
  .hero h1 { font-size: 34px; }
  .hero-banner-img { margin-top: 32px; border-radius: 14px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 30px; }
  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 26px; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .pd-facts { grid-template-columns: 1fr; }
  .pd-info h1 { font-size: 26px; }
  .floats { right: 14px; bottom: 16px; }
  .wa-float .wa-tip { display: none; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: 12px; padding: 18px 0; }
  .footer-bottom .links { justify-content: center; gap: 7px 16px; }
  .spec-table th { width: 130px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox .lb-nav { width: 40px; height: 40px; }
}
