/* ============================================================
   东方毛绒 外贸展示站样式
   · 深绿 + 金色(阿拉伯商务风)
   · 全程使用 CSS 逻辑属性 —— RTL/LTR 自动镜像
   · AR 正文:Noto Naskh Arabic / 标题与按钮:Cairo
   ============================================================ */

/* ---------- 变量与基础 ---------- */
:root {
  --green-950: #071f17;
  --green-900: #0e3b2e;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #1d7a46;
  --green-100: #ddece3;
  --green-50:  #f1f7f3;
  --gold: #c9a227;
  --gold-light: #e6c86a;
  --ink: #1c2b27;
  --muted: #5b6b66;
  --line: #e3eae6;
  --bg: #ffffff;
  --bg-soft: #f4f8f5;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --danger: #c0453e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 59, 46, 0.10);
  --shadow-lg: 0 18px 50px rgba(14, 59, 46, 0.16);
  --header-h: 72px;
  --font-head: 'Cairo', 'Noto Naskh Arabic', Tahoma, sans-serif;
  --font-body: 'Noto Naskh Arabic', 'Cairo', Tahoma, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 17px;
  overflow-x: hidden;
}

/* 英文模式:全文用 Cairo(无衬线,更符合英文商务感) */
html[dir="ltr"] body { font-family: var(--font-head); letter-spacing: 0.1px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.4; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container-narrow { width: min(860px, 92%); margin-inline: auto; }

section { scroll-margin-top: calc(var(--header-h) + 12px); }

.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-lg { padding: 15px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-wa {
  background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

.inline-link { color: var(--green-700); font-weight: 700; border-bottom: 2px solid var(--gold-light); }

/* ---------- 中文参考标注(制作阶段) ---------- */
body.show-zh [data-zh]::after {
  content: attr(data-zh);
  display: inline-block;
  margin-inline-start: 8px;
  padding: 0 7px;
  border-radius: 6px;
  background: #fff7e0;
  color: #b07d10;
  border: 1px dashed #d9b44a;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 0.62em;
  font-weight: 400;
  line-height: 1.7;
  vertical-align: middle;
  white-space: normal;
  word-break: break-all;
  max-width: 100%;
  opacity: 0.95;
}
body.show-zh [data-zh-ph]::before,
body.show-zh input[data-zh-ph]::placeholder,
body.show-zh textarea[data-zh-ph]::placeholder { color: #b07d10; }
body.show-zh .zh-note-ok { display: inline; }

.zh-toggle {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 95;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px dashed #d9b44a;
  background: #fffdf4;
  color: #8a6207;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.zh-toggle.off { background: #f3f4f4; color: #8a938f; border-color: #b8c2bd; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(14, 59, 46, 0.12);
  color: var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-head); font-size: 1.22rem; font-weight: 800; }
.brand-text small { font-size: 0.68rem; opacity: 0.8; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.main-nav > a:not(.btn):hover { border-color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-btn {
  min-width: 52px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-light);
  background: transparent;
  color: inherit;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { background: var(--gold-light); color: var(--green-900); }

.site-header:not(.scrolled) .btn-wa { box-shadow: none; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  color: inherit;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-only { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(to top, rgba(7, 31, 23, 0.88), rgba(7, 31, 23, 0.25) 55%, rgba(7, 31, 23, 0.45)),
    url("../images/hero-bg.svg") center / cover no-repeat,
    linear-gradient(135deg, var(--green-900), var(--green-950));
  padding-block: calc(var(--header-h) + 40px) 60px;
}
.hero-content { max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(230, 200, 106, 0.14);
  border: 1px solid rgba(230, 200, 106, 0.45);
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 22px;
}
.hero h1 .hl { font-style: normal; color: var(--gold-light); }
.hero-sub {
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.2;
}
.stat span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }

/* ---------- 三段特性横幅 ---------- */
.banner {
  position: relative;
  min-height: clamp(430px, 72vh, 640px);
  display: flex;
  align-items: center;
  color: #fff;
  background-image:
    linear-gradient(to inline-start, rgba(10, 32, 24, 0.82), rgba(10, 32, 24, 0.28)),
    var(--bg, linear-gradient(135deg, var(--green-800), var(--green-950)));
  background-size: cover;
  background-position: center;
  padding-block: 70px;
}
.banner-inner { max-width: 620px; display: flex; flex-direction: column; }
.banner-inner.align-end { margin-inline-start: auto; text-align: start; }
.banner-tag {
  align-self: start;
  font-family: var(--font-head);
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.banner h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; margin-bottom: 14px; }
.banner p { font-size: 1.08rem; color: rgba(255, 255, 255, 0.88); }

/* ---------- 通用 Section ---------- */
.section { padding-block: 92px; }
.section-alt { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-600);
  letter-spacing: 1px;
  background: var(--green-100);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- 产品展示 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}
.chip {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--green-600); color: var(--green-700); }
.chip.active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
  box-shadow: 0 6px 16px rgba(20, 83, 45, 0.25);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card.hide { display: none; }
.product-card .img-wrap { aspect-ratio: 4 / 3; overflow: hidden; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover img { transform: scale(1.05); }
.product-card figcaption {
  padding: 15px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center;
  font-size: 1rem;
}
.products-note {
  margin-top: 38px;
  text-align: center;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.products-note .ic { color: var(--green-600); }

/* ---------- 成功案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-card .img-wrap { aspect-ratio: 16 / 10; overflow: hidden; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.case-card:hover img { transform: scale(1.04); }
.case-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-tag {
  align-self: start;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 4px 14px;
}
.case-body h3 { font-size: 1.22rem; font-weight: 800; }
.case-result {
  font-family: var(--font-head);
  font-weight: 700;
  color: #a07c10;
  background: linear-gradient(to inline-start, rgba(230, 200, 106, 0.22), rgba(230, 200, 106, 0.08));
  border-inline-start: 3px solid var(--gold);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
}
.link-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--green-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 6px 0;
}
.link-btn .arrow { transition: transform 0.25s; width: 1.1em; height: 1.1em; }
.link-btn:hover .arrow { transform: translateX(calc(4px * var(--flip, -1))); }
html[dir="rtl"] { --flip: -1; }
html[dir="ltr"] { --flip: 1; }

.cases-cta {
  margin-top: 46px;
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  box-shadow: var(--shadow-lg);
}
.cases-cta h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.cases-cta p { color: rgba(255, 255, 255, 0.85); }

/* ---------- 四大优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.adv-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  color: var(--green-700);
}
.adv-icon svg { width: 34px; height: 34px; }
.adv-card h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 8px; }
.adv-card p { color: var(--muted); font-size: 0.96rem; }

/* ---------- 打样流程 ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  position: absolute;
  inset-block-start: -14px;
  inset-inline-start: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-950);
  font-family: var(--font-head);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 14px;
  margin-inline-start: 34px;
}
.step-icon svg { width: 27px; height: 27px; }
.step-card h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }

.process-notes {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin-inline: auto;
}
.process-notes p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.process-notes .ic { color: var(--gold); margin-top: 5px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--green-100); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { color: var(--green-600); transition: transform 0.25s; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item > p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.99rem;
}

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.contact-form-wrap h3, .contact-direct h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > span { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; }
.field input, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  background: #fff;
}
.field input.invalid, .field textarea.invalid { border-color: var(--danger); background: #fdf6f5; }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); text-align: center; }

.contact-direct {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.channel:not(.static):hover { border-color: var(--green-600); background: var(--green-50); transform: translateX(0); }
.ch-icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  color: var(--green-700);
}
.ch-icon svg { width: 24px; height: 24px; }
.channel:first-of-type .ch-icon { background: rgba(37, 211, 102, 0.14); color: #159947; }
.ch-body { display: flex; flex-direction: column; line-height: 1.5; }
.ch-label { font-size: 0.82rem; color: var(--muted); }
.ch-body strong { font-family: var(--font-head); font-size: 1rem; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.f-brand .brand { color: #fff; margin-bottom: 18px; }
.f-brand p { font-size: 0.95rem; max-width: 300px; }
.f-col { display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.f-col h4 {
  color: var(--gold-light);
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.f-col a:not(.brand):hover { color: #fff; }
.f-col .inline-link { color: rgba(255, 255, 255, 0.85); border-bottom-color: rgba(230, 200, 106, 0.5); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  font-size: 0.88rem;
  text-align: center;
}

/* ---------- WhatsApp 悬浮按钮 ---------- */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 96;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
.fab-tip {
  position: absolute;
  inset-inline-end: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--green-950);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.wa-fab:hover .fab-tip { opacity: 1; }

/* ---------- 案例弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 31, 23, 0.66);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  max-width: 660px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: translateY(24px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(7, 31, 23, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(7, 31, 23, 0.8); }
.modal-close svg { width: 20px; height: 20px; }
.modal-img { aspect-ratio: 16 / 7; overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 28px 30px 30px; }
.modal-body h3 { font-size: 1.45rem; font-weight: 800; margin: 12px 0 18px; }
.modal-body h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--green-700);
  margin: 18px 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-body h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  flex: none;
}
.modal-body > p { color: var(--muted); font-size: 0.99rem; }
.modal-results { list-style: none; display: grid; gap: 8px; margin-top: 6px; }
.modal-results li {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.96rem;
  color: var(--green-800);
  display: flex;
  align-items: center;
  gap: 9px;
}
.modal-results li::before {
  content: "✓";
  color: var(--green-600);
  font-weight: 800;
  flex: none;
}
.modal-cmp {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fffaf0;
  border: 1px dashed #e2c56c;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.modal-cmp .cmp-label { font-weight: 800; font-family: var(--font-head); color: #a07c10; margin-inline-end: 8px; }
.modal-cmp em { font-style: normal; font-weight: 700; }
.modal-cta { margin-top: 20px; }

/* ---------- 入场动画 ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .wa-fab::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding-block: 68px; }

  .mobile-only { display: inline-flex; }
  .desktop-only { display: none; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-lg);
    padding: 10px 6%;
    margin-inline: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a:not(.btn) {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .main-nav > a:not(.btn):hover { border-bottom-color: var(--green-600); }
  .main-nav .btn { margin: 16px 0 10px; justify-content: center; }
  .site-header { color: var(--ink); background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); }
  .site-header:not(.scrolled) { color: #fff; background: transparent; backdrop-filter: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .banner-inner.align-end { margin-inline-start: 0; }
  .hero-ctas .btn { flex: 1 1 auto; }
}
@media (max-width: 560px) {
  .adv-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 14px 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card figcaption { font-size: 0.88rem; padding: 11px 8px; }
  .contact-form-wrap, .contact-direct { padding: 24px 20px; }
  .cases-cta { padding: 26px 22px; }
  .wa-fab { width: 54px; height: 54px; }
  .zh-toggle { bottom: 84px; }
}
