/* =========================================================================
   骏逸菲服饰（JUNFEEL）官网 · 设计系统 / 全局样式
   视觉语言：极地深蓝 × 冰川青（冷峻专业 · 国际户外科技感）
   说明：本文件为 4 个页面共用的设计 token 与组件库。
         AI 实景图位置统一用 .img-ph 渐变占位，data-img 标注应替换的真实图内容。
   ========================================================================= */

/* ---------- 1. 设计 Token ---------- */
:root {
  /* 品牌色 · 深蓝系 */
  --navy-900: #06203A;   /* 最深底（企业文化段） */
  --navy-800: #08233F;   /* 主深蓝（Hero / Footer / 数据墙） */
  --navy-700: #0B2A47;
  --navy-600: #0B3A5C;   /* 渐变终止 */
  --navy-500: #14375A;   /* 渐变终止 */

  /* 品牌色 · 冰川青系（强调） */
  --ice-500: #38C6E8;    /* 主强调 */
  --ice-400: #5FD2EC;
  --ice-300: #8FE0F2;    /* 浅强调 */
  --ice-100: #E2F6FC;

  /* 中性 / 表面 */
  --surface: #FFFFFF;
  --surface-soft: #F4F8FC;   /* 浅段背景 */
  --line: #E2E9F0;           /* 分割线 */
  --line-soft: #EDF2F8;

  /* 文本 */
  --text-strong: #0B2238;    /* 标题深蓝黑 */
  --text-body: #3D5266;      /* 正文 */
  --text-muted: #6B7C8D;     /* 次要 */
  --text-on-navy: #EAF3FB;   /* 深蓝底上的文字 */
  --text-on-navy-muted: #9FB6CC;

  /* 字体 */
  --font-cn: "Source Han Sans CN", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-en: "Montserrat", "Source Han Sans CN", system-ui, sans-serif;

  /* 字号（移动优先基准，桌面放大） */
  --fs-eyebrow: 13px;
  --fs-body: 15px;
  --fs-sm: 13px;
  --fs-h1: 34px;
  --fs-h2: 26px;
  --fs-h3: 19px;
  --fs-num: 38px;

  /* 间距（4px 基准） */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(8, 35, 63, 0.06);
  --shadow-md: 0 8px 24px rgba(8, 35, 63, 0.08);
  --shadow-lg: 0 16px 40px rgba(8, 35, 63, 0.12);
  --shadow-navy: 0 12px 30px rgba(6, 32, 58, 0.25);

  /* 容器 */
  --container: 1200px;
  --header-h: 68px;

  /* 过渡 */
  --t-fast: 150ms ease;
  --t: 280ms cubic-bezier(.2,.7,.3,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-cn);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ice-500); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.section { padding-block: var(--sp-16); }
.section--soft { background: var(--surface-soft); }
.section--navy { background: var(--navy-800); color: var(--text-on-navy); }
.section--navy-deep { background: var(--navy-900); color: var(--text-on-navy); }
.section--gradient {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  color: var(--text-on-navy);
}

/* ---------- 4. 排版工具 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-en);
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ice-500);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ice-500);
}
.section--navy .eyebrow, .section--gradient .eyebrow, .section--navy-deep .eyebrow { color: var(--ice-300); }
.section--navy .eyebrow::before, .section--gradient .eyebrow::before, .section--navy-deep .eyebrow::before { background: var(--ice-300); }

.h2 {
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.3;
  color: var(--text-strong); letter-spacing: -.01em;
}
.section--navy .h2, .section--gradient .h2, .section--navy-deep .h2 { color: #fff; }
.lead {
  font-size: 16px; color: var(--text-muted); margin-top: var(--sp-4);
  max-width: 640px;
}
.section--navy .lead, .section--gradient .lead, .section--navy-deep .lead { color: var(--text-on-navy-muted); }
.section-head { margin-bottom: var(--sp-10); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.num { font-family: var(--font-en); font-weight: 700; letter-spacing: -.02em; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 13px 26px; border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t), color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ice-500); color: var(--navy-900); box-shadow: 0 8px 20px rgba(56,198,232,.35); }
.btn--primary:hover { background: var(--ice-400); box-shadow: 0 12px 26px rgba(56,198,232,.45); }
.btn--ghost { background: transparent; color: var(--ice-300); border-color: rgba(143,224,242,.5); }
.btn--ghost:hover { background: rgba(143,224,242,.12); }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy-800); background: var(--surface-soft); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }

/* ---------- 6. 图片占位（替代 AI 实景图） ---------- */
.img-ph {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(56,198,232,.22), transparent 45%),
    radial-gradient(120% 120% at 90% 90%, rgba(8,35,63,.55), transparent 50%),
    linear-gradient(135deg, #0B3A5C, #08233F);
  display: flex; align-items: center; justify-content: center;
  color: rgba(234,243,251,.55); text-align: center;
  min-height: 220px;
}
.img-ph::after {
  content: attr(data-img);
  font-size: 13px; letter-spacing: .04em; padding: 0 var(--sp-5);
  max-width: 80%; line-height: 1.6;
}
.img-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-ph--tall { min-height: 440px; }
.img-ph--cover { background: linear-gradient(135deg, #0B3A5C, #06203A); }
/* 已填充真实图片的占位块：隐藏说明文字，仅显示 <img> */
.img-ph.is-filled::after { display: none; }
.img-ph.is-filled { color: transparent; }

/* ---------- 7. 卡片 ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ice-300); }
.card--navy { background: rgba(255,255,255,.06); border-color: rgba(143,224,242,.18); backdrop-filter: blur(4px); }
.card--navy:hover { border-color: rgba(143,224,242,.4); box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.card--soft { background: var(--surface-soft); border-color: var(--line-soft); }

/* ---------- 8. 徽章 / 标签 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  background: var(--ice-100); color: var(--navy-700);
}
.badge--outline { background: transparent; border: 1px solid var(--line); color: var(--text-muted); }
.badge--navy { background: rgba(143,224,242,.14); color: var(--ice-300); }

/* 顶部装饰条（认证卡） */
.accent-bar { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ice-500), var(--ice-300)); margin-bottom: var(--sp-5); }

/* ---------- 9. 网格工具 ---------- */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.split { display: grid; gap: var(--sp-10); grid-template-columns: 1fr; align-items: center; }

/* 统计数字墙 */
.stat-num { font-family: var(--font-en); font-size: var(--fs-num); font-weight: 700; color: var(--ice-300); line-height: 1; }
.stat-label { margin-top: var(--sp-2); font-size: 14px; color: var(--text-on-navy-muted); }

/* ---------- 10. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--navy-800); letter-spacing: .02em; }
.brand .brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-800), var(--ice-500));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-en); font-weight: 700; font-size: 15px;
}
.nav-links { display: none; align-items: center; gap: var(--sp-8); }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-body); transition: color var(--t-fast); }
.nav-links a:hover, .nav-links a.active { color: var(--navy-800); }
.nav-links a.active { color: var(--ice-500); }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: var(--t-fast); }
.mobile-menu { display: none; flex-direction: column; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5) var(--sp-6); border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 0; font-weight: 500; color: var(--text-body); border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: var(--sp-3); }

/* ---------- 11. Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-on-navy-muted); padding-block: var(--sp-16) var(--sp-8); }
.footer-grid { display: grid; gap: var(--sp-10); grid-template-columns: 1fr; }
.footer-brand .brand { color: #fff; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: var(--sp-5); font-weight: 600; }
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--text-on-navy-muted); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--ice-300); }
.footer-contact li { padding: 6px 0; font-size: 14px; }
.footer-contact .label { color: var(--ice-300); font-weight: 600; margin-right: 6px; }
.footer-bottom {
  margin-top: var(--sp-12); padding-top: var(--sp-6);
  border-top: 1px solid rgba(143,224,242,.15);
  display: flex; flex-direction: column; gap: var(--sp-3);
  font-size: 13px; color: var(--text-on-navy-muted);
}
.footer-bottom a { color: var(--text-on-navy-muted); text-decoration: underline; }

/* ---------- 12. 表单 ---------- */
.form-grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--text-strong); margin-bottom: var(--sp-2); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px;
  color: var(--text-strong); background: var(--surface-soft);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ice-500); box-shadow: 0 0 0 3px rgba(56,198,232,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.opt-row { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
.opt {
  padding: 12px; text-align: center; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-soft);
  color: var(--text-body); transition: var(--t-fast); cursor: pointer;
}
.opt.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.form-note { font-size: 13px; color: var(--text-muted); }
.form-ok { display: none; padding: 14px 16px; border-radius: var(--r-md); background: var(--ice-100); color: var(--navy-700); font-weight: 600; margin-top: var(--sp-4); }
.form-ok.show { display: block; }

/* ---------- 13. 流程步骤 ---------- */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(143,224,242,.15); border-radius: var(--r-lg); padding: var(--sp-6); }
.step .step-no { font-family: var(--font-en); font-size: 34px; font-weight: 700; color: var(--ice-300); line-height: 1; }
.step h4 { color: #fff; margin: var(--sp-3) 0 var(--sp-2); font-size: 17px; }
.step p { font-size: 14px; color: var(--text-on-navy-muted); }

/* ---------- 14. 面包屑 ---------- */
.crumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-muted); padding-block: var(--sp-5); }
.crumb a:hover { color: var(--navy-800); }
.crumb .sep { color: var(--line); }
.crumb .current { color: var(--ice-500); font-weight: 600; }

/* ---------- 15. CTA 段 ---------- */
.cta-center { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-center h2 { font-size: var(--fs-h2); color: #fff; margin-bottom: var(--sp-4); }
.cta-center p { color: var(--text-on-navy-muted); margin-bottom: var(--sp-6); }
.cta-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* ---------- 16. Hero ---------- */
.hero { background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%); color: var(--text-on-navy); padding-block: var(--sp-20); }
.hero-grid { display: grid; gap: var(--sp-12); grid-template-columns: 1fr; align-items: center; }
.hero h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.25; color: #fff; letter-spacing: -.01em; }
.hero .lead { color: var(--text-on-navy-muted); margin-top: var(--sp-5); font-size: 17px; }
.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-8); }
.hero-tags { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-8); }
.trust-bar { display: flex; gap: var(--sp-6); flex-wrap: wrap; margin-top: var(--sp-10); padding-top: var(--sp-6); border-top: 1px solid rgba(143,224,242,.18); }
.trust-bar span { font-family: var(--font-en); font-weight: 600; color: var(--ice-300); font-size: 14px; letter-spacing: .08em; }

/* ---------- 17. 响应式 ---------- */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .opt-row { grid-template-columns: repeat(4, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  :root { --fs-h1: 46px; --fs-h2: 32px; --fs-num: 44px; --fs-body: 16px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 1200px) {
  .container { padding-inline: 0; }
}

/* ---------- 18. 无障碍 / 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- 企业 Logo（真实 logo 图片） ---------- */
.brand-logo { height: 34px; width: auto; display: block; border-radius: 6px; }
.footer-brand .brand-logo { background: #fff; padding: 6px 10px; border-radius: 10px; height: 36px; box-sizing: content-box; }

/* ---------- 产品中心 5 列自适应网格（覆盖 .grid-4，置于响应式规则之后） ---------- */
.grid-products { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (min-width: 640px)  { .grid-products { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
@media (min-width: 900px)  { .grid-products { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }

/* ---------- 企业 Logo（图形标 + 中文字标 wordmark） ---------- */
.brand-text { font-weight: 700; font-size: 18px; letter-spacing: .02em; color: var(--navy-800); line-height: 1; white-space: nowrap; }
.footer-brand .brand-text { color: #fff; }

/* ---------- 来访指引 · 在线地图嵌入（OpenStreetMap 免 key） ---------- */
.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface-soft);
}
.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.map-caption strong { display: block; color: var(--text-strong); font-size: 15px; }
.map-caption span { display: block; color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.map-caption a {
  font-size: 13px; font-weight: 600; color: var(--navy-800);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 8px 14px; white-space: nowrap;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.map-caption a:hover { border-color: var(--ice-500); background: var(--ice-100); }
