@charset "utf-8";
/* ===========================================================
   锦亚国际生殖 · 官网样式
   配色：午夜蓝 #0B1F3D 铺底 + 玫红 #D6336C 点睛 + 香槟金 #CBA96A 收边
   单一主题（已锁定，无切换器）
   =========================================================== */

:root {
  /* ---- 主色：玫红（按钮 / 链接 / 强调） ---- */
  --brand: #D6336C;
  --brand-600: #C2265E;
  --brand-700: #9C1A49;
  --brand-050: #FDEEF3;
  --brand-soft: #F6B4CB;
  --rgb-brand: 214, 51, 108;

  /* ---- 中性：深蓝灰阶 ---- */
  --ink: #12233D;
  --ink-2: #43536B;
  --muted: #7C869B;
  --line: #DFE4EC;
  --bg: #FFFFFF;
  --bg-soft: #F3F6FA;
  --red: #C0442F;

  /* ---- 香槟金（点缀：细线 / 图标 / 标签） ---- */
  --gold: #CBA96A;
  --gold-deep: #A9884B;
  --gold-line: #E5DCC3;

  /* ---- 结构色：午夜蓝 ---- */
  --topbar-bg: #071632;
  --topbar-fg: #C9D4E6;
  --topbar-line: #071632;
  --header-bg: rgba(255, 255, 255, .96);
  --nav-fg: #2A3B57;
  --hero-bg: #0B1F3D;
  --cta-bg: #0B1F3D;
  --cta-fg: #FFFFFF;
  --cta-sub: #B9C6DC;
  --footer-bg: #071632;
  --footer-fg: #A9B6CB;
  --footer-h: #FFFFFF;
  --footer-muted: #93A1B9;
  --footer-tel: #E0C68C;
  --footer-line: #16294A;

  --art-tint: 214, 51, 108;
  --art-warm: 40, 74, 122;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 61, .07);
  --shadow: 0 10px 32px rgba(11, 31, 61, .12);
  --shadow-lg: 0 20px 54px rgba(11, 31, 61, .16);
  --max: 1200px;
  --header-h: 72px;
}

/* ---------- 兼容旧命名 ---------- */
:root {
  --sky: var(--brand);
  --sky-600: var(--brand-600);
  --sky-700: var(--brand-700);
  --sky-050: var(--brand-050);
  --pink: var(--brand);
  --pink-soft: var(--brand-soft);
  --pink-050: var(--brand-050);
}

/* ===========================================================
   午夜蓝铺底（顶栏 / 首屏 / 页头 / CTA / 页脚）
   玫红点睛（按钮 / 强调 / 图形），香槟金拉出贵气
   =========================================================== */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; letter-spacing: .3px; }
p { margin: 0; }

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

/* ---------- 可访问性 ---------- */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===================== 顶部 ===================== */
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-fg);
  border-bottom: 1px solid var(--topbar-line);
  font-size: 13px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; gap: 16px; flex-wrap: wrap;
}
.topbar a:hover { color: var(--brand); }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar .tel { color: #D9BE7E; font-weight: 700; letter-spacing: .5px; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gold-line);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header .container {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-img { height: 46px; width: auto; display: block; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: 17px; letter-spacing: -1px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 18px; letter-spacing: 1.5px; color: var(--ink); font-weight: 700; }
.logo-text span { font-size: 11px; color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 16px; font-size: 15px; color: var(--nav-fg);
  border-radius: 8px; position: relative; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-050); }
.nav a.active { color: var(--brand); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

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

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s, color .2s;
  font-family: inherit; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(var(--rgb-brand), .28); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 10px 26px rgba(var(--rgb-brand), .36); }
.btn-pink, .btn-gold {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #fff; box-shadow: 0 6px 18px rgba(var(--rgb-brand), .3);
}
.btn-pink:hover, .btn-gold:hover { filter: brightness(.94); box-shadow: 0 10px 26px rgba(var(--rgb-brand), .38); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #BC3833; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-050); }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- 汉堡菜单 ---------- */
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  margin: 4px auto; border-radius: 2px; transition: .25s;
}

/* ===================== Hero ===================== */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; background: var(--hero-bg); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.is-active { opacity: 1; }
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero-content { max-width: 640px; color: var(--ink); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(var(--rgb-brand), .28);
  color: var(--brand-700); font-weight: 500; margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(var(--rgb-brand), .1);
}
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 700; letter-spacing: 1px; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 560px; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 34px; left: 0; right: 0; z-index: 3; }
.hero-dots .container { display: flex; gap: 10px; padding-top: 0; padding-bottom: 0; }
.hero-dot {
  width: 30px; height: 3px; border-radius: 3px; border: 0; padding: 0;
  background: rgba(var(--rgb-brand), .22); cursor: pointer; transition: .3s;
}
.hero-dot.is-active { background: var(--gold); width: 54px; }

/* ---------- 无图片版式：艺术化渐变占位（零版权风险、加载更快） ---------- */
.svc-thumb-art { width: 100%; height: 100%; }
.svc-thumb-art[data-tone="0"] {
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, .95) 0 12%, transparent 13%),
    radial-gradient(circle at 68% 62%, rgba(var(--art-tint), .35) 0 30%, transparent 31%),
    linear-gradient(135deg, #FFFFFF 0%, var(--brand-050) 55%, var(--brand-soft) 160%);
}
.svc-thumb-art[data-tone="1"] {
  background:
    radial-gradient(circle at 74% 26%, rgba(255, 255, 255, .92) 0 10%, transparent 11%),
    radial-gradient(circle at 30% 70%, rgba(var(--art-warm), .8) 0 26%, transparent 27%),
    linear-gradient(135deg, #FFFFFF 0%, var(--brand-050) 50%, var(--brand-soft) 170%);
}
.svc-thumb-art[data-tone="2"] {
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, .9) 0 9%, transparent 10%),
    radial-gradient(circle at 80% 78%, rgba(var(--art-tint), .5) 0 28%, transparent 29%),
    linear-gradient(135deg, #FFFFFF 0%, var(--brand-050) 55%, var(--brand-soft) 180%);
}
.svc-thumb-art[data-tone="3"] {
  background:
    radial-gradient(circle at 60% 24%, rgba(255, 255, 255, .92) 0 11%, transparent 12%),
    radial-gradient(circle at 24% 74%, rgba(var(--art-warm), .75) 0 24%, transparent 25%),
    linear-gradient(135deg, #FFFFFF 0%, var(--brand-050) 50%, var(--brand-soft) 175%);
}

/* Hero 艺术背景 */
.hero-art { position: absolute; inset: 0; }
.hero-art.a1 {
  background:
    radial-gradient(circle at 78% 26%, rgba(var(--art-tint), .5) 0 20%, transparent 48%),
    radial-gradient(circle at 88% 74%, rgba(var(--art-warm), .75) 0 20%, transparent 46%),
    linear-gradient(115deg, #FFFFFF 0%, #FFFFFF 40%, var(--brand-050) 100%);
}
.hero-art.a2 {
  background:
    radial-gradient(circle at 26% 66%, rgba(var(--art-warm), .8) 0 20%, transparent 50%),
    radial-gradient(circle at 72% 22%, rgba(var(--art-tint), .48) 0 18%, transparent 44%),
    linear-gradient(115deg, #FFFFFF 0%, var(--brand-050) 55%, #FFFFFF 100%);
}
.hero-art.a3 {
  background:
    radial-gradient(circle at 62% 60%, rgba(var(--art-tint), .45) 0 22%, transparent 52%),
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, .9) 0 14%, transparent 38%),
    linear-gradient(115deg, #FFFFFF 0%, var(--bg-soft) 45%, var(--brand-050) 100%);
}
/* 细腻网格纹理，增加质感 */
.hero-art::after {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image:
    linear-gradient(rgba(var(--rgb-brand), .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--rgb-brand), .09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
}

/* 页面头图艺术背景 */
.page-art { position: absolute; inset: 0; }
.page-art.p1 {
  background:
    radial-gradient(circle at 78% 30%, rgba(var(--art-tint), .5) 0 22%, transparent 50%),
    linear-gradient(115deg, #FFFFFF 0%, #FFFFFF 50%, var(--brand-050) 100%);
}
.page-art.p2 {
  background:
    radial-gradient(circle at 22% 62%, rgba(var(--art-warm), .8) 0 20%, transparent 48%),
    linear-gradient(115deg, #FFFFFF 0%, var(--brand-050) 60%, #FFFFFF 100%);
}
.page-art.p3 {
  background:
    radial-gradient(circle at 62% 26%, rgba(var(--art-tint), .45) 0 16%, transparent 44%),
    linear-gradient(115deg, #FFFFFF 0%, var(--bg-soft) 55%, var(--brand-050) 100%);
}

/* 世界地图抽象插画 */
.world-art { width: 100%; height: auto; display: block; }

/* ---------- 数据条 ---------- */
.stats { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 34px 16px; text-align: center; border-right: 1px solid var(--gold-line); }
.stat-item:last-child { border-right: 0; }
.stat-num { font-size: 34px; font-weight: 700; color: var(--brand); letter-spacing: .5px; }
.stat-num small { font-size: 16px; font-weight: 500; margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ===================== 版块通用 ===================== */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; letter-spacing: 1px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }
.section-head::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 22px auto 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-soft)); border-radius: 3px;
}

/* ---------- 服务卡片 ---------- */
.card-grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-soft); }
.svc-thumb { height: 190px; background: linear-gradient(135deg, #FFFFFF, var(--brand-050)); position: relative; overflow: hidden; }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-thumb .flag {
  position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, .94);
  color: var(--brand-700); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}
.svc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 19px; }
.svc-body .sub { color: var(--brand); font-size: 14px; margin-top: 4px; }
.svc-body .desc { color: var(--muted); font-size: 14.5px; margin-top: 12px; flex: 1; }
.svc-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.svc-meta span { background: var(--bg-soft); padding: 4px 10px; border-radius: 6px; }
.svc-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags i {
  font-style: normal; font-size: 12.5px; color: var(--gold-deep);
  background: #FBF6EA; padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--gold-line);
}
.svc-link { margin-top: 18px; color: var(--brand); font-size: 14.5px; font-weight: 500; }
.svc-link:hover { text-decoration: underline; }

/* ---------- 优势 ---------- */
.adv-item { text-align: center; padding: 30px 20px; }
.adv-icon {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 18px;
  background: var(--brand-050); color: var(--brand);
  display: grid; place-items: center;
}
.adv-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.adv-item h3 { font-size: 18px; }
.adv-item p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ---------- 海外中心 ---------- */
.center-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.center-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.center-flag { height: 5px; background: linear-gradient(90deg, var(--brand), var(--brand-soft)); }
.center-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.center-body .loc { font-size: 13px; color: var(--brand); font-weight: 600; letter-spacing: 1px; }
.center-body h3 { font-size: 19px; margin-top: 6px; }
.center-body .feat { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.center-body .intro { margin-top: 10px; font-size: 14px; color: var(--muted); flex: 1; }
.center-body .cert { margin-top: 16px; font-size: 12.5px; color: var(--brand-700); background: var(--brand-050); padding: 8px 12px; border-radius: 8px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.step { text-align: center; padding: 0 14px; position: relative; }
.step::before {
  content: ""; position: absolute; top: 27px; left: 50%; right: -50%;
  height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold); color: var(--brand);
  box-shadow: 0 0 0 4px #FBF6EA;
  display: grid; place-items: center; font-weight: 700; font-size: 18px; position: relative; z-index: 2;
}
.step h3 { font-size: 16px; }
.step p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---------- 专家 ---------- */
.expert {
  display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; height: 100%;
  transition: box-shadow .25s;
}
.expert:hover { box-shadow: var(--shadow-sm); }
.expert-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #0B1F3D, #CBA96A); color: #fff;
  display: grid; place-items: center; font-size: 18px; font-weight: 600;
}
.expert h3 { font-size: 17px; }
.expert .role { color: var(--brand); font-size: 13.5px; margin-top: 2px; }
.expert .spec { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }
.expert .intro { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

/* ---------- 资讯 ---------- */
.news-list { display: grid; gap: 0; }
.news-item {
  display: flex; gap: 24px; align-items: flex-start; padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.news-item:last-child { border-bottom: 0; }
.news-body { flex: 1; min-width: 0; }
/* 兜底：资讯中心一律不显示日期；万一有旧代码渲染出日期块，直接隐藏 */
.news-date, .news-time, .pub-date { display: none !important; }
.news-item h3 { font-size: 17px; }
.news-item h3 a:hover { color: var(--brand); }
.news-item p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.news-meta { font-size: 12.5px; color: var(--muted); margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.news-meta .tag {
  color: var(--brand); background: var(--brand-050); border: 1px solid var(--brand-soft);
  padding: 2px 10px; border-radius: 999px; font-size: 12px;
}
.news-meta .hot { color: var(--gold-deep); font-weight: 600; }

/* ===================== 关于页 ===================== */
.page-hero {
  position: relative; height: 320px; display: flex; align-items: center;
  background: #FFFFFF; color: var(--ink); overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(var(--art-tint), .4), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 38px; letter-spacing: 1px; }
.page-hero p { margin-top: 12px; color: var(--ink-2); max-width: 620px; }
.page-hero.with-photo { background-size: cover; background-position: center; }
.page-hero.with-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7));
}
.page-hero.with-photo .container { z-index: 3; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a:hover { color: var(--brand); }

.lead { font-size: 17px; color: var(--ink-2); line-height: 1.9; }
.text-block p + p { margin-top: 16px; }

.about-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; }

.milestone { border-left: 2px solid var(--line); padding-left: 26px; position: relative; }
.milestone-item { position: relative; padding-bottom: 28px; }
.milestone-item::before {
  content: ""; position: absolute; left: -33px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--brand-050);
}
.milestone-item .year { color: var(--brand); font-weight: 700; font-size: 15px; }
.milestone-item h3 { font-size: 17px; margin-top: 2px; }
.milestone-item p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

.value-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.value-item h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.value-item h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-soft); flex: none;
}
.value-item p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ===================== 联系页 ===================== */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.info-card {
  display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; margin-bottom: 16px;
}
.info-card .ic {
  width: 46px; height: 46px; border-radius: 12px; flex: none; background: var(--brand-050);
  color: var(--brand); display: grid; place-items: center;
}
.info-card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.info-card h3 { font-size: 16px; }
.info-card p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.info-card .strong { color: var(--ink); font-weight: 600; font-size: 16px; }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 21px; }
.form-card .tip { color: var(--muted); font-size: 14px; margin-top: 6px; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 7px; font-weight: 500; }
.field label .req { color: var(--red); margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050);
}
.field textarea { min-height: 108px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { color: #C9302C; font-size: 13px; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error select { border-color: #D9534F; }
.field.has-error .field-error { display: block; }

.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.7; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14.5px; display: none; }
.form-status.ok { display: block; background: #FDEEF3; color: #9C1A49; border: 1px solid #F6B4CB; }
.form-status.err { display: block; background: #FDEDEC; color: #B33A3A; border: 1px solid #F5CFCF; }

/* ===================== 会员中心 ===================== */
.member-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.member-side { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.member-user { padding: 26px 22px; background: linear-gradient(135deg, #0B1F3D, #D6336C); color: #fff; }
.member-avatar {
  width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .22);
  display: grid; place-items: center; font-size: 20px; font-weight: 600; margin-bottom: 12px;
}
.member-user .nm { font-size: 17px; font-weight: 600; }
.member-user .sub { font-size: 12.5px; color: rgba(255, 255, 255, .85); margin-top: 2px; word-break: break-all; }
.member-menu { padding: 10px; }
.member-menu button {
  width: 100%; text-align: left; padding: 11px 14px; border: 0; background: transparent;
  font-size: 15px; font-family: inherit; color: var(--ink-2); border-radius: 8px; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
}
.member-menu button:hover { background: var(--bg-soft); }
.member-menu button.active { background: var(--brand-050); color: var(--brand); font-weight: 600; }

.member-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 30px; }
.member-panel h2 { font-size: 21px; margin-bottom: 4px; }
.member-panel .ph { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

.rec-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 14px;
}
.rec-item .top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.rec-item h4 { font-size: 16px; font-weight: 600; }
.badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--brand-050); color: var(--brand-700); }
.badge.done { background: #FBF6EA; color: #A9884B; }
.badge.wait { background: var(--brand-050); color: var(--brand); }
.rec-item .meta { font-size: 13.5px; color: var(--muted); margin-top: 6px; display: flex; gap: 16px; flex-wrap: wrap; }
.rec-item .msg { font-size: 14px; color: var(--ink-2); margin-top: 10px; background: var(--bg-soft); padding: 10px 12px; border-radius: 8px; }

.file-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.file-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-050); color: var(--brand); display: grid; place-items: center; flex: none; }
.file-ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.file-meta { flex: 1; min-width: 0; }
.file-meta .fn { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta .fs { font-size: 12.5px; color: var(--muted); }
.file-ops { display: flex; gap: 8px; flex: none; }

.upload-zone {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center;
  background: var(--bg-soft); cursor: pointer; transition: border-color .2s, background .2s;
}
.upload-zone:hover, .upload-zone.is-drag { border-color: var(--brand); background: var(--brand-050); }
.upload-zone svg { width: 38px; height: 38px; stroke: var(--brand); fill: none; stroke-width: 1.4; }
.upload-zone p { font-size: 14.5px; color: var(--muted); margin-top: 10px; }

.empty { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty svg { width: 52px; height: 52px; stroke: var(--line); fill: none; stroke-width: 1.4; margin-bottom: 12px; }

/* ===================== 登录弹窗 ===================== */
.modal-mask {
  position: fixed; inset: 0; background: rgba(7, 22, 50, .5); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-mask.is-open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .22s ease;
  max-height: 90vh; overflow-y: auto;
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head {
  padding: 26px 28px 18px; display: flex; justify-content: space-between; align-items: flex-start;
  background: linear-gradient(135deg, #0B1F3D, #D6336C); color: #fff;
}
.modal-head h3 { font-size: 21px; }
.modal-head p { font-size: 13.5px; color: rgba(255, 255, 255, .88); margin-top: 4px; }
.modal-close {
  border: 0; background: rgba(255, 255, 255, .22); color: #fff; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; flex: none;
}
.modal-close:hover { background: rgba(255, 255, 255, .4); }
.modal-body { padding: 24px 28px 28px; }
.tabs { display: flex; gap: 6px; background: var(--bg-soft); border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.tabs button {
  flex: 1; padding: 9px; border: 0; background: transparent; border-radius: 8px;
  font-size: 14.5px; font-family: inherit; color: var(--ink-2); cursor: pointer;
}
.tabs button.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow-sm); }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.code-row .btn { flex: none; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ===================== CTA 条 ===================== */
.cta-band {
  background: var(--cta-bg);
  color: var(--cta-fg); padding: 60px 0; position: relative; overflow: hidden;
  border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
}
.cta-band::before {
  content: ""; position: absolute; left: -60px; bottom: -120px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(var(--art-tint), .3), transparent 65%);
}
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 28px; }
.cta-band p { color: var(--cta-sub); margin-top: 8px; }

/* ===================== 页脚 ===================== */
.footer { background: var(--footer-bg); color: var(--footer-fg); padding: 60px 0 0; font-size: 14.5px; border-top: 1px solid var(--gold-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: var(--footer-h); font-size: 16px; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer li a { color: var(--footer-muted); }
.footer li a:hover { color: var(--gold-deep); }
.footer .f-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .f-logo b { color: var(--footer-h); font-size: 18px; letter-spacing: 1.5px; }
.footer .f-desc { line-height: 1.85; }
.footer .f-contact { margin-top: 16px; }
.footer .f-contact .tel {
  color: var(--footer-tel); font-size: 22px; font-weight: 700; letter-spacing: .5px;
  display: inline-block; margin-bottom: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--footer-line); padding: 18px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
.disclaimer {
  background: #040D1E; border-top: 1px solid var(--line);
  padding: 18px 0; font-size: 12.5px; line-height: 1.8; color: var(--muted);
}

/* ===================== 移动端悬浮条 ===================== */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0, 0, 0, .06);
}
.mobile-bar .inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 9px 0; font-size: 11.5px; color: var(--muted);
}
.mobile-bar a svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.mobile-bar a.hot { color: var(--red); }



/* ===================== 管理后台 ===================== */
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.adm-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; border-left: 4px solid var(--brand);
}
.adm-stat b { display: block; font-size: 27px; color: var(--ink); line-height: 1.25; }
.adm-stat span { font-size: 13px; color: var(--muted); }

.adm-toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-bottom: 18px;
}
.adm-toolbar input, .adm-toolbar select {
  padding: 9px 13px; font-size: 14.5px; font-family: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.adm-toolbar input:focus, .adm-toolbar select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050); }

.adm-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; }
table.adm { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
table.adm th {
  text-align: left; padding: 13px 16px; background: var(--bg-soft);
  color: var(--ink-2); font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--line);
}
table.adm td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.adm tr:last-child td { border-bottom: 0; }
table.adm tr:hover td { background: var(--bg-soft); }
table.adm .tstrong { color: var(--ink); font-weight: 600; }
table.adm .tsub { color: var(--muted); font-size: 12.5px; }
table.adm a.tel { color: var(--red); font-weight: 600; white-space: nowrap; }
.ops { display: flex; gap: 6px; flex-wrap: wrap; }
.ops button {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 5px 11px; border-radius: 7px; font-size: 12.5px; cursor: pointer; font-family: inherit;
}
.ops button:hover { border-color: var(--brand); color: var(--brand); }
.pill { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill.pending { background: var(--brand-050); color: var(--brand); }
.pill.contacted { background: #E7EDF7; color: #2E4F80; }
.pill.closed { background: #FBF6EA; color: #A9884B; }
.pill.invalid { background: #EDF1F7; color: var(--muted); }

/* ===================== 响应式 ===================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 26px 0; }
  .step::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .member-wrap { grid-template-columns: 1fr; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; top: calc(var(--header-h) + 38px); left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s;
    max-height: calc(100dvh - var(--header-h) - 38px); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a.active::after { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-text { display: none; }
  .topbar-right .hide-sm { display: none; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15.5px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .page-hero { height: 250px; }
  .page-hero h1 { font-size: 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: block; }
  body { padding-bottom: 62px; }
  .form-card { padding: 24px 20px; }
  .member-panel { padding: 22px 18px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 27px; }
  .hero-actions .btn { flex: 1; }
  .stat-num { font-size: 27px; }
  .field-row { grid-template-columns: 1fr; }
  .rec-item .top { flex-direction: column; }
  .adm-stats { grid-template-columns: 1fr; }
  .logo-img { height: 38px; }
}

/* ---------- 打印 ---------- */
@media print {
  .header, .topbar, .mobile-bar, .cta-band, .footer { display: none !important; }
}

/* ===================== SEO 专题：对比表 / 关键词标签 ===================== */
.cmp-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
table.cmp th {
  background: var(--brand-050); color: var(--brand-700); font-weight: 600;
  padding: 13px 16px; border-bottom: 1px solid var(--gold-line); text-align: left; white-space: nowrap;
}
table.cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); line-height: 1.7; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover td { background: var(--bg-soft); }
table.cmp td a { color: var(--brand); font-weight: 600; }

.f-tags { margin-top: 30px; padding-top: 22px; border-top: 1px dashed rgba(203, 169, 106, .28); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.f-tags-label { color: #7E8CA6; font-size: 13px; margin-right: 2px; }
.f-tags a {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 13px;
  color: #A9B6CB; background: rgba(255,255,255,.5); border: 1px solid rgba(203, 169, 106, .3); text-decoration: none;
}
.f-tags a:hover { color: var(--brand-700); border-color: var(--brand-soft); background: var(--brand-050); }
.value-item h3 a { color: var(--ink); }
.value-item h3 a:hover { color: var(--brand); }

/* ===========================================================
   午夜蓝主题 · 组件覆写（深蓝铺底 + 玫红点睛）
   =========================================================== */

/* 深蓝首屏：白字 + 玫红点缀 */
.hero-content, .hero h1, .hero-sub { color: #FFFFFF; }
.hero h1 em { color: #F6B4CB; }
.hero-sub { color: #C3CFE2; }
.hero-eyebrow {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(214, 51, 108, .55);
  color: #F6B4CB; box-shadow: none; backdrop-filter: blur(4px);
}
.hero-dot { background: rgba(255, 255, 255, .28); }
.hero-dot.is-active { background: #F6B4CB; width: 54px; }
.hero .btn-outline {
  border-color: rgba(255, 255, 255, .45); color: #FFFFFF; background: rgba(255, 255, 255, .06);
}
.hero .btn-outline:hover { border-color: #F6B4CB; color: #F6B4CB; background: rgba(214, 51, 108, .18); }
.hero-art.a1 {
  background:
    radial-gradient(circle at 78% 24%, rgba(214, 51, 108, .3) 0 18%, transparent 46%),
    radial-gradient(circle at 88% 76%, rgba(40, 74, 122, .75) 0 20%, transparent 48%),
    linear-gradient(115deg, #0A1B37 0%, #0F2A50 60%, #163A63 100%);
}
.hero-art.a2 {
  background:
    radial-gradient(circle at 24% 68%, rgba(40, 74, 122, .8) 0 22%, transparent 52%),
    radial-gradient(circle at 72% 22%, rgba(214, 51, 108, .28) 0 18%, transparent 44%),
    linear-gradient(115deg, #0B1F3D 0%, #133356 55%, #0B1F3D 100%);
}
.hero-art.a3 {
  background:
    radial-gradient(circle at 62% 58%, rgba(214, 51, 108, .26) 0 20%, transparent 50%),
    radial-gradient(circle at 20% 24%, rgba(203, 169, 106, .28) 0 14%, transparent 38%),
    linear-gradient(115deg, #0A1B37 0%, #102B4E 45%, #0B1F3D 100%);
}
.hero-art::after { opacity: .32; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); }

/* 深蓝页头 */
.page-hero { background: #0B1F3D; color: #FFFFFF; border-bottom: 0; }
.page-hero h1 { color: #FFFFFF; }
.page-hero p { color: #BFCCE1; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #8FA0BC; }
.page-hero .breadcrumb a:hover { color: #F6B4CB; }
.page-hero::before { background: radial-gradient(circle, rgba(214, 51, 108, .3), transparent 65%); }
.page-art.p1 { background: linear-gradient(115deg, #0A1B37 0%, #0F2A50 55%, #163A63 100%); }
.page-art.p2 { background: radial-gradient(circle at 22% 62%, rgba(40, 74, 122, .7) 0 20%, transparent 48%), linear-gradient(115deg, #0B1F3D 0%, #133356 60%, #0B1F3D 100%); }
.page-art.p3 { background: radial-gradient(circle at 62% 26%, rgba(203, 169, 106, .22) 0 16%, transparent 44%), linear-gradient(115deg, #0A1B37 0%, #102B4E 55%, #0B1F3D 100%); }

.section-head::after { background: linear-gradient(90deg, #D6336C, #CBA96A); }
.section-tag { letter-spacing: 3.5px; }
.cta-band { border-top: 1px solid rgba(203, 169, 106, .35); border-bottom: 1px solid rgba(203, 169, 106, .35); }
.topbar .tel { color: #E0C68C; }
.stat-num { color: #0B1F3D; }
.step-num { color: #D6336C; box-shadow: 0 0 0 4px #FBF6EA; }

.f-tags { border-top-color: rgba(203, 169, 106, .28); }
.f-tags-label { color: #7E8CA6; }
.f-tags a { color: #A9B6CB; background: rgba(255, 255, 255, .04); border-color: rgba(203, 169, 106, .3); }
.f-tags a:hover { color: #FFFFFF; border-color: #CBA96A; background: rgba(203, 169, 106, .14); }
.disclaimer { background: #040D1E; border-top: 1px solid #16294A; color: #7F8DA6; }
.footer { color: var(--footer-fg); }
.footer h4 { color: #FFFFFF; }
