/* ============================================================
   RuiFeng Machinery — B2B Blown Film & Bag Making Machinery
   style.css — 整站样式（响应式 / 多语言 / RTL 支持）
   ============================================================ */

:root {
  --primary: #0a4d8c;
  --primary-dark: #073a6b;
  --primary-light: #1565b8;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #0f2438;
  --gray-900: #1a2733;
  --gray-700: #3d4b5c;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --bg: #f6f8fb;
  --white: #ffffff;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 36, 56, 0.08);
  --shadow: 0 6px 24px rgba(15, 36, 56, 0.09);
  --shadow-lg: 0 16px 48px rgba(15, 36, 56, 0.16);
  --maxw: 1200px;
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", sans-serif, "Apple Color Emoji";
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

/* ---------- 中文排版微调（切换到简体中文时自动生效） ---------- */
html[lang="zh"] body { line-height: 1.78; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3, html[lang="zh"] h4 { letter-spacing: 0; }
html[lang="zh"] .brand-name, html[lang="zh"] .hero h1, html[lang="zh"] .footer-col h4 { letter-spacing: 0; }
html[lang="zh"] .brand-name small { letter-spacing: 1px; }
html[lang="zh"] .section-head .eyebrow, html[lang="zh"] .hero-badge { letter-spacing: .5px; }
html[lang="zh"] .hero h1 { line-height: 1.28; }
/* 中文品牌名「瑞丰」两字放进方形 logo 徽标，略缩字号避免拥挤 */
html[lang="zh"] .brand-logo { font-size: 16px; letter-spacing: 0; }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--dark); font-weight: 700; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius); font-weight: 600;
  font-size: 15px; cursor: pointer; border: 2px solid transparent;
  transition: all .2s ease; line-height: 1.2; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #241a02; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--gray-200); background: #fff; color: var(--gray-700); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--gray-100); color: var(--primary-dark); transform: translateY(-2px); }
.btn-white-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-white-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }

.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 14px;
}
.section-head .eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--gray-500); font-size: 17px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--dark); color: #cbd5e1; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #cbd5e1; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }

/* ---------- 语言切换 ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; background: transparent;
  border: 1px solid rgba(255,255,255,.25); color: #e2e8f0; padding: 5px 12px;
  border-radius: 20px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.lang-btn:hover { border-color: #fff; color: #fff; }
.lang-btn svg { width: 14px; height: 14px; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px;
  min-width: 150px; z-index: 1001; display: none; border: 1px solid var(--gray-200);
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px;
  background: transparent; border: 0; border-radius: 8px; cursor: pointer;
  font-size: 14px; color: var(--gray-900); font-family: inherit; text-align: start;
}
.lang-menu button:hover { background: var(--gray-100); }
.lang-menu button.active { background: var(--primary); color: #fff; }
.lang-menu .flag { font-size: 17px; }

/* ---------- 主导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900; background: #fff;
  box-shadow: 0 1px 0 var(--gray-200);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-weight: 800; font-size: 19px; letter-spacing: -.5px;
}
.brand-name { font-size: 19px; font-weight: 800; color: var(--dark); line-height: 1.15; letter-spacing: .2px; }
.brand-name small { display: block; font-size: 10.5px; font-weight: 600; color: var(--gray-400); letter-spacing: 2.4px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  display: block; padding: 10px 15px; color: var(--gray-700); font-weight: 600;
  font-size: 15px; border-radius: 8px; transition: all .18s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: var(--gray-100); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--gray-200);
  border-radius: 10px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--dark); }

/* 移动端抽屉菜单 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
}
.mobile-menu .mm-mask {
  position: absolute; inset: 0; background: rgba(15,36,56,.5); opacity: 0; transition: opacity .25s;
}
.mobile-menu .mm-panel {
  position: absolute; top: 0; inset-inline-end: 0; width: min(84vw, 340px); height: 100%;
  background: #fff; transform: translateX(100%); transition: transform .28s ease;
  padding: 20px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
html[dir="rtl"] .mobile-menu .mm-panel { transform: translateX(-100%); }
.mobile-menu.open { pointer-events: auto; }
.mobile-menu.open .mm-mask { opacity: 1; }
.mobile-menu.open .mm-panel,
html[dir="rtl"] .mobile-menu.open .mm-panel { transform: translateX(0); }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mm-close { width: 40px; height: 40px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mm-close svg { width: 20px; height: 20px; }
.mobile-menu nav a {
  display: block; padding: 14px 12px; font-weight: 600; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100); border-radius: 8px;
}
.mobile-menu nav a.active { color: var(--primary); background: var(--gray-100); }
.mobile-menu .mm-lang { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-menu .mm-lang button {
  padding: 10px; border: 1px solid var(--gray-200); border-radius: 8px; background: #fff;
  font-family: inherit; font-size: 14px; cursor: pointer; color: var(--gray-700);
}
.mobile-menu .mm-lang button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,26,44,.94) 8%, rgba(7,26,44,.72) 45%, rgba(10,77,140,.28) 100%);
}
.hero-inner { position: relative; padding: 108px 0 120px; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); padding: 7px 16px; border-radius: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .6px; margin-bottom: 24px; color: #e2e8f0;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.25); }
.hero h1 { color: #fff; font-size: clamp(32px, 5.4vw, 54px); margin-bottom: 20px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(16px, 2vw, 19px); color: #c7d3e0; margin-bottom: 34px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero 下方统计条 */
.stats-band {
  position: relative; margin-top: -52px; z-index: 5;
}
.stats-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.stat { padding: 28px 20px; text-align: center; border-inline-start: 1px solid var(--gray-100); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-size: clamp(26px, 3.4vw, 38px); color: var(--primary); font-weight: 800; line-height: 1.1; }
.stat span { font-size: 13.5px; color: var(--gray-500); font-weight: 600; }

/* ---------- 产品卡片 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: all .25s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-thumb { position: relative; aspect-ratio: 16/10.5; overflow: hidden; background: var(--gray-100); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(10,77,140,.92);
  color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
  letter-spacing: .4px; backdrop-filter: blur(4px);
}
.product-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 18px; margin-bottom: 9px; }
.product-body h3 a { color: var(--dark); }
.product-body h3 a:hover { color: var(--primary); }
.product-body p { font-size: 14.5px; color: var(--gray-500); margin-bottom: 16px; flex: 1; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product-meta span {
  font-size: 12.5px; background: var(--gray-100); color: var(--gray-700);
  padding: 4px 11px; border-radius: 6px; font-weight: 600;
}
.product-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--primary); }
.product-more svg { width: 16px; height: 16px; transition: transform .2s; }
html[dir="rtl"] .product-more svg { transform: scaleX(-1); }
.product-card:hover .product-more svg { transform: translateX(4px); }
html[dir="rtl"] .product-card:hover .product-more svg { transform: scaleX(-1) translateX(4px); }

/* 分类筛选 */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-tabs button {
  padding: 10px 22px; border-radius: 30px; border: 1px solid var(--gray-200);
  background: #fff; font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--gray-700); cursor: pointer; transition: all .18s;
}
.filter-tabs button:hover { border-color: var(--primary); color: var(--primary); }
.filter-tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- 特性 / 优势 ---------- */
.feature-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: all .22s; height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; background: linear-gradient(135deg, rgba(10,77,140,.1), rgba(21,101,184,.16));
  color: var(--primary); margin-bottom: 20px;
}
.feature-icon svg { width: 27px; height: 27px; }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--gray-500); }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.split-media .float-badge {
  position: absolute; bottom: -22px; inset-inline-end: -14px; background: var(--primary);
  color: #fff; border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--shadow-lg);
  text-align: center;
}
.split-media .float-badge b { display: block; font-size: 30px; font-weight: 800; line-height: 1; }
.split-media .float-badge span { font-size: 12.5px; opacity: .85; }
.check-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--gray-700); }
.check-list .ck {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--green);
  display: flex; align-items: center; justify-content: center; flex: none; margin-top: 2px;
}
.check-list .ck svg { width: 13px; height: 13px; }

/* ---------- 市场 ---------- */
.market-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 210px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
}
.market-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.market-card:hover img { transform: scale(1.06); }
.market-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,44,.15) 30%, rgba(7,26,44,.88) 100%); }
.market-card .mc-body { position: relative; z-index: 2; padding: 22px; }
.market-card h3 { color: #fff; font-size: 18px; margin-bottom: 5px; }
.market-card p { font-size: 13.5px; color: #cbd5e1; }

/* ---------- 流程 ---------- */
.process-band { background: var(--dark); color: #fff; }
.process-band h2 { color: #fff; }
.process-band .section-head p { color: #94a3b8; }
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.process-step { text-align: center; padding: 10px 6px; position: relative; }
.process-num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; color: var(--accent);
}
.process-step h4 { color: #fff; font-size: 15.5px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: #94a3b8; line-height: 1.5; }

/* ---------- 评价 ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px;
}
.quote-stars { color: var(--accent); display: flex; gap: 3px; }
.quote-stars svg { width: 17px; height: 17px; }
.quote-card p { font-size: 15px; color: var(--gray-700); font-style: italic; flex: 1; }
.quote-author { display: flex; align-items: center; gap: 13px; }
.quote-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none;
}
.quote-author b { display: block; font-size: 14.5px; color: var(--dark); }
.quote-author span { font-size: 13px; color: var(--gray-500); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: start;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--dark);
}
.faq-q .faq-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--gray-100); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .25s; }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a > div { padding: 0 24px 22px; color: var(--gray-500); font-size: 15px; }
.faq-item.open .faq-a { max-height: 420px; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 65%, var(--primary-light));
  border-radius: var(--radius-lg); color: #fff; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.06); top: -210px; inset-inline-end: -120px;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.cta-band p { color: #cfe0f2; font-size: 16px; max-width: 560px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--gray-700); }
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); background: #fff; color: var(--gray-900); transition: border-color .18s, box-shadow .18s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10,77,140,.1);
}
.form-field .err { font-size: 12.5px; color: var(--red); display: none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: var(--red); }
.form-field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--gray-500); display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--green); }
.form-status { border-radius: var(--radius); padding: 14px 18px; font-size: 14.5px; display: none; margin-top: 18px; }
.form-status.ok { display: block; background: rgba(22,163,74,.1); color: #166534; border: 1px solid rgba(22,163,74,.35); }
.form-status.fail { display: block; background: rgba(220,38,38,.08); color: #991b1b; border: 1px solid rgba(220,38,38,.3); }

/* ---------- 联系信息卡 ---------- */
.contact-info-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 26px; display: flex; gap: 16px; align-items: flex-start;
}
.contact-info-card .ci-ico {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(10,77,140,.09);
  color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none;
}
.contact-info-card .ci-ico svg { width: 23px; height: 23px; }
.contact-info-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: 14.5px; color: var(--gray-500); word-break: break-word; }

/* ---------- 页面 Hero（内页） ---------- */
.page-hero { background: linear-gradient(115deg, var(--dark) 0%, var(--primary-dark) 60%, var(--primary) 100%); color: #fff; padding: 66px 0 62px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: rgba(255,255,255,.05); bottom: -300px; inset-inline-end: -80px;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; position: relative; }
.page-hero .ph-sub { color: #b9c9da; font-size: 17px; max-width: 680px; position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; margin-bottom: 18px; color: #9fb3c8; position: relative; flex-wrap: wrap; }
.breadcrumb a { color: #cdd9e5; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- 产品详情页 ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.product-gallery .pg-main {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200);
  background: #fff; box-shadow: var(--shadow-sm); aspect-ratio: 16/10.5;
}
.product-gallery .pg-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .pg-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product-gallery .pg-thumb {
  width: 84px; height: 62px; padding: 0; border: 2px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: #fff; transition: border-color .15s ease, transform .15s ease;
}
.product-gallery .pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery .pg-thumb:hover { transform: translateY(-2px); }
.product-gallery .pg-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(10,77,140,.15); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table caption { text-align: start; font-weight: 700; font-size: 17px; color: var(--dark); padding: 0 0 14px; }
.spec-table th, .spec-table td { padding: 13px 18px; font-size: 14.5px; text-align: start; border-bottom: 1px solid var(--gray-100); }
.spec-table th { background: var(--gray-100); color: var(--gray-700); font-weight: 600; width: 42%; }
.spec-table tr:last-child td { border-bottom: 0; }
.pd-section { padding: 64px 0; }
.pd-section h2 { font-size: 26px; margin-bottom: 24px; }
.pd-desc { color: var(--gray-700); font-size: 15.5px; }
.pd-desc p { margin-bottom: 14px; }
.pd-side-card { background: var(--gray-100); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--gray-200); }
.pd-side-card h3 { font-size: 18px; margin-bottom: 8px; }
.pd-side-card > p { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.pd-contact-line { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; font-size: 14.5px; }
.pd-contact-line a { display: inline-flex; gap: 9px; align-items: center; color: var(--gray-700); font-weight: 600; }
.pd-contact-line a:hover { color: var(--primary); }
.pd-contact-line svg { width: 17px; height: 17px; color: var(--primary); flex: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #93a6ba; margin-top: 90px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 64px 0 48px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; margin: 18px 0 22px; max-width: 320px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center; color: #cbd5e1;
}
.social-row a:hover { background: var(--primary); color: #fff; }
.social-row svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: .4px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #93a6ba; font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-bottom a { color: #93a6ba; }

/* WhatsApp 浮动按钮 */
.wa-float {
  position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 26px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* 返回顶部 */
.to-top {
  position: fixed; bottom: 96px; inset-inline-end: 30px; z-index: 790; width: 44px; height: 44px;
  border-radius: 12px; background: #fff; border: 1px solid var(--gray-200); color: var(--gray-700);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; pointer-events: none; transition: all .25s; box-shadow: var(--shadow-sm);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: var(--primary); border-color: var(--primary); }
.to-top svg { width: 19px; height: 19px; }

/* 进场动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RTL 微调 ---------- */
html[dir="rtl"] .hero-bg::after { background: linear-gradient(-100deg, rgba(7,26,44,.94) 8%, rgba(7,26,44,.72) 45%, rgba(10,77,140,.28) 100%); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .topbar-left span.tb-hide { display: none; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat { border-top: 1px solid var(--gray-100); }
  .stat:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { padding: 72px 0 92px; }
  .hero-actions .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  .cta-band { padding: 38px 26px; }
  .form-card { padding: 24px 20px; }
  .topbar .container { justify-content: center; }
  .topbar-left { display: none; }
  .stats-band { margin-top: -40px; }
  .wa-float { width: 52px; height: 52px; bottom: 18px; inset-inline-end: 18px; }
  .to-top { bottom: 80px; inset-inline-end: 22px; }
}

/* 打印与无障碍细节 */
:focus-visible { outline: 3px solid rgba(10,77,140,.55); outline-offset: 2px; }
.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0; background: var(--primary); color: #fff;
  padding: 10px 18px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { inset-inline-start: 0; }
