/* ==========================================================================
   MdProduction · 企业官网样式
   零依赖、无外部字体、无追踪脚本 —— 加载快，对 Meta 爬虫友好。

   配色取自品牌 logo：亮绿 #5CD749 + 深墨紫 #211E39
   ========================================================================== */

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  /* 品牌墨紫（由 logo 采样得出）—— 深色背景、标题、主按钮 */
  --ink-900: #15132a;
  --ink-800: #211e39;
  --ink-700: #2e2a4a;
  --ink-600: #453f66;

  /* 品牌亮绿 —— 强调色，仅用于点缀 / 深底上的文字 / 图表 */
  --green-600: #4cc23a;
  --green-500: #5cd749;
  --green-400: #7ee270;
  --green-100: #dcf7d8;
  --green-50: #f0fbf0;

  /* 语义色 */
  --amber-600: #b8860b;
  --amber-50: #fffbeb;

  /* 中性文字（在墨紫底上要够亮） */
  --text-strong: #12102a;
  --text: #3d3858;
  --text-muted: #6b6585;
  --text-faint: #948ead;
  --text-on-dark: #f4f2ff;
  --text-on-dark-muted: rgba(226, 222, 255, 0.78);

  --line: #e6e3ef;
  --line-soft: #f2f0f8;
  --line-dark: rgba(255, 255, 255, 0.14);

  --bg: #ffffff;
  --bg-soft: #fafafd;
  --bg-tint: #f6f5fb;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(21, 19, 42, 0.06);
  --shadow: 0 4px 16px rgba(21, 19, 42, 0.09);
  --shadow-lg: 0 14px 36px rgba(21, 19, 42, 0.16);

  --container: 1160px;
  --header-h: 68px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC",
    "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 长英文词（WhatsApp / fulfilment 等）不撑破容器 */
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: var(--ink-800); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--text-strong);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

:focus-visible {
  outline: 3px solid var(--ink-700);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Layout ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 4vw, 60px);
  text-align: center;
}
.section__head p { color: var(--text-muted); font-size: 1.06rem; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-800);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 999px;
}

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

@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink-800);
  color: #fff;
  box-shadow: 0 2px 8px rgba(33, 30, 57, 0.24);
}
.btn--primary:hover { background: var(--ink-900); }

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

.btn--outline {
  background: #fff;
  color: var(--ink-800);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: var(--ink-700); color: var(--ink-800); }

.btn--sm { padding: 9px 18px; font-size: 0.9rem; }

/* ── Header ────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-strong);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

/* 品牌标识 —— 使用真实 logo（横版透明底）*/
.brand__logo {
  display: block;
  height: 34px;
  width: auto;
}

/* logo 旁的公司法定名称：让访客一眼看到运营主体 */
.brand__legal {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}
.nav__list li { margin: 0; }

.nav__link {
  display: block;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.nav__link:hover {
  background: var(--bg-soft);
  color: var(--ink-800);
  text-decoration: none;
}
.nav__link[aria-current="page"] {
  color: var(--ink-800);
  font-weight: 600;
  background: var(--green-50);
}

.nav__cta { margin-left: 8px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  margin-left: 14px;
  flex-shrink: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-switch a {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.lang-switch a:hover { color: var(--ink-800); text-decoration: none; }
.lang-switch a[aria-current="true"] {
  background: #fff;
  color: var(--ink-800);
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
}
.nav-toggle svg { display: block; margin: 0 auto; }

/* 中等屏幕：logo 旁的公司名收起，语言切换移到导航内 */
@media (max-width: 1180px) {
  .brand__legal { display: none; }
  .nav__link { padding: 8px 9px; font-size: 0.88rem; }
  .nav__list { gap: 0; }
}

@media (max-width: 1120px) {
  .header__inner { gap: 16px; }
  .nav__cta { display: none; }   /* CTA 按钮让位，页内已有多个 CTA */
  .lang-switch { margin-left: 10px; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; flex-wrap: wrap; }
  .nav__link { padding: 11px 12px; font-size: 0.95rem; }
  .nav__cta { display: block; margin: 10px 0 0; }
  .nav__cta .btn { width: 100%; }

  /* 语言切换器留在 header 内，紧邻汉堡按钮，不再撑满整行 */
  .header__inner > .lang-switch { margin-left: auto; }
  .nav-toggle { margin-left: 8px; }
  .lang-switch { margin-left: 0; }
}

@media (max-width: 520px) {
  .brand__logo { height: 28px; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(900px 460px at 80% -10%, rgba(92, 215, 73, 0.13), transparent 60%),
    radial-gradient(700px 420px at 6% 4%, rgba(126, 226, 112, 0.07), transparent 58%),
    linear-gradient(160deg, #0e0c1f 0%, var(--ink-900) 45%, #1d1a33 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 25%, transparent 72%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--green-500), var(--green-400));
  filter: brightness(1.15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.16rem);
  color: rgba(240, 238, 255, 0.9);
  max-width: 58ch;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
  margin: 0;
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(240, 238, 255, 0.82);
}
.hero__meta svg { flex-shrink: 0; color: var(--green-500); }

/* Hero 侧边卡片 */
.hero__cards { display: grid; gap: 14px; }

.hero-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.hero-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
}

.hero-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(92, 215, 73, 0.18);
  color: var(--green-400);
}
.hero-card h3 { font-size: 1.02rem; color: #fff; margin: 0 0 4px; }
.hero-card p { font-size: 0.88rem; color: rgba(240, 238, 255, 0.76); margin: 0; }

/* ── Page hero（内页）─────────────────────────────────────────────────── */
.page-hero {
  padding: clamp(52px, 6vw, 84px) 0 clamp(44px, 5vw, 68px);
  background:
    radial-gradient(900px 440px at 82% -12%, rgba(92, 215, 73, 0.20), transparent 60%),
    linear-gradient(160deg, var(--ink-900), var(--ink-800));
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero__lead {
  font-size: 1.08rem;
  color: rgba(240, 238, 255, 0.86);
  max-width: 68ch;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: rgba(240, 238, 255, 0.62);
}
.breadcrumb li { display: flex; align-items: center; margin: 0; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}
.breadcrumb a { color: rgba(240, 238, 255, 0.86); }
.breadcrumb a:hover { color: #fff; }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--green-100);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--green-50);
  color: var(--ink-800);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* 带编号的流程 */
.step { position: relative; padding: 26px 24px; }
.step__num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: var(--ink-800);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

/* ── 业务线大卡 ────────────────────────────────────────────────────────── */
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) {
  .solution { grid-template-columns: 1fr; }
}

.solution--flip .solution__body { order: 2; }
@media (max-width: 900px) {
  .solution--flip .solution__body { order: 0; }
}

.solution__body h2 { margin-bottom: 14px; }
.solution__body > p { color: var(--text-muted); font-size: 1.02rem; }

.solution__features {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}
.solution__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.95rem;
}
.solution__features svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--green-600);
}

.solution__panel {
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-tint), #fff);
  border: 1px solid var(--green-100);
}
.solution--flip .solution__panel { order: 1; }
.solution__panel h3 { font-size: 1rem; margin-bottom: 16px; }
.solution__panel ol,
.solution__panel ul { margin: 0; padding-left: 1.15em; }
.solution__panel li { font-size: 0.92rem; margin-bottom: 8px; }

/* ── 数据条 ────────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
  padding: 30px 24px;
  text-align: center;
  background: #fff;
}
.stat__value {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem);
  font-weight: 800;
  color: var(--ink-800);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.stat__label { font-size: 0.88rem; color: var(--text-muted); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq details[open] { border-color: var(--green-100); box-shadow: var(--shadow-sm); }

.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }

.faq__body {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── 联系 ──────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { margin: 0; }

.contact-item {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease;
}
.contact-item:hover { border-color: var(--green-100); }

.contact-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--ink-800);
}
.contact-item dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.contact-item dd {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-strong);
  word-break: break-word;
}
.contact-item dd a { color: var(--text-strong); }
.contact-item dd a:hover { color: var(--ink-800); }

/* 公司信息卡 */
.info-card {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.info-card h2 { font-size: 1.2rem; margin-bottom: 6px; }
.info-card__legal { font-size: 0.86rem; color: var(--text-faint); margin-bottom: 20px; }
.info-card dl { margin: 0; display: grid; gap: 14px; }
.info-card dt {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.info-card dd { margin: 0; color: var(--text-strong); font-weight: 500; }

/* ── CTA ───────────────────────────────────────────────────────────────── */
.cta {
  padding: clamp(40px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 300px at 88% 0%, rgba(92, 215, 73, 0.15), transparent 60%),
    linear-gradient(140deg, var(--ink-900), #342f56);
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { color: rgba(240, 238, 255, 0.84); max-width: 60ch; margin-inline: auto; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* ── 法律页 ────────────────────────────────────────────────────────────── */
.legal { max-width: 780px; }
.legal h2 {
  margin-top: 44px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 1.32rem;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: 26px; font-size: 1.05rem; }
.legal p, .legal li { color: var(--text-muted); font-size: 0.96rem; }
.legal ul { padding-left: 1.3em; }
.legal strong { color: var(--text-strong); }

.updated-note {
  display: inline-block;
  margin-bottom: 34px;
  padding: 7px 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  padding: clamp(48px, 5vw, 72px) 0 28px;
  background: var(--ink-900);
  color: rgba(240, 238, 255, 0.72);
  font-size: 0.92rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand {
  color: #fff;
  margin-bottom: 14px;
}
.footer__brand .brand__logo { height: 32px; }
.footer__desc { margin-bottom: 0; max-width: 40ch; }

.footer h4 {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
}

.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(240, 238, 255, 0.72); }
.footer a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.85rem;
}
.footer__legal { color: rgba(240, 238, 255, 0.56); }

.icp-link { color: rgba(240, 238, 255, 0.56); }
.icp-link:hover { color: rgba(240, 238, 255, 0.9); }

/* ── 提示条（仅开发预览时出现，正式站点会移除）───────────────────────── */
.build-warning {
  display: none;
  padding: 14px 24px;
  background: #fef3c7;
  border-bottom: 1px solid #fcd34d;
  color: #78350f;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}
.build-warning.is-visible { display: block; }

/* ── 咨询留言表单 ─────────────────────────────────────────────────────── */
.inquiry {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(28px, 3.5vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
}
.field__label .req { color: var(--green-600); margin-left: 3px; }

.field__input,
.field__textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-strong);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field__input::placeholder,
.field__textarea::placeholder { color: var(--text-faint); }

.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--ink-700);
  box-shadow: 0 0 0 3px rgba(46, 42, 74, 0.1);
}
.field__textarea { min-height: 150px; resize: vertical; }

.field__input[aria-invalid="true"],
.field__textarea[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.field__error {
  display: none;
  font-size: 0.84rem;
  color: #dc2626;
}
.field.has-error .field__error { display: block; }

/* 主题 chips —— 单选 */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip span {
  display: inline-block;
  padding: 9px 20px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
  user-select: none;
}
.chip span:hover { border-color: var(--ink-700); color: var(--text-strong); }
.chip input:checked + span {
  background: var(--ink-800);
  border-color: var(--ink-800);
  color: #fff;
  font-weight: 600;
}
.chip input:focus-visible + span {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
}

.form__consent {
  margin: 26px 0 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form__submit {
  width: 100%;
  padding: 15px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  background: var(--ink-800);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}
.form__submit:hover:not(:disabled) { background: var(--ink-900); transform: translateY(-1px); }
.form__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* 提交结果 */
.form-status { display: none; }
.form-status.is-visible { display: block; }

.form-status__box {
  padding: 30px 28px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--green-100);
  background: var(--green-50);
}
.form-status__box h3 { color: var(--text-strong); margin-bottom: 8px; }
.form-status__box p { color: var(--text-muted); margin-bottom: 0; }
.form-status__uid {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  color: var(--ink-800);
  background: #fff;
  border: 1px solid var(--green-100);
  border-radius: 999px;
}
.form-status__box.is-error {
  border-color: #fecaca;
  background: #fef2f2;
}
.form-status__again {
  margin-top: 20px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-800);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.form-status__again:hover { border-color: var(--ink-700); }

/* 无 JS 时的降级提示 */
.form-noscript {
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--amber-600);
  background: var(--amber-50);
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
}

/* ── Utility ───────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 24px; }

/* ── 打印 ──────────────────────────────────────────────────────────────── */
@media print {
  .header, .footer, .nav, .btn { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
  body { color: #000; }
}