/* ============================================================
   康曙医疗官网 · 「曙光」设计系统
   瓷白纸面 / 深墨文字 / 陶土曙光主色（WCAG AA 全达标）
   动效令牌遵循 ease-out 家族；交互细节见各组件
   ============================================================ */

/* ---- 设计令牌 ---- */
:root {
  /* 色彩 */
  --ink: #2C2823;          /* 标题墨色 */
  --body: #524941;         /* 正文 */
  --muted: #6B6057;        /* 次要文字 5.96:1 */
  --accent: #9A6A3E;       /* 曙光陶土 · 按钮/图标（白字 4.66:1） */
  --accent-deep: #7E5630;  /* 曙光深 · 小号文字/悬停 6.28:1 */
  --accent-soft: #F6EBDD;  /* 曙光浅染 */
  --porcelain: #FDFCFA;    /* 瓷白纸面 */
  --mist: #F6F2EC;         /* 暖雾分区 */
  --line: #E8E2D9;         /* 发丝线 */
  --footer-bg: #262220;
  --footer-text: #C9C0B5;  /* 8.78:1 */
  --footer-link: #E8DCCF;  /* 11.69:1 */
  --white: #FFFFFF;

  /* 字体：系统栈 + 中文回退，无衬线无斜体 */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;

  /* 字号阶梯 */
  --fs-display: clamp(34px, 5vw, 54px);
  --fs-h2: clamp(26px, 3.6vw, 38px);
  --fs-h3: 19px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-label: 13px;

  /* 圆角 */
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* 间距 */
  --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-14: 56px; --sp-20: 80px;

  /* 动效令牌（emil-design-eng 标准曲线） */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 120ms;
  --t-fast: 200ms;
  --t-std: 240ms;
  --t-reveal: 500ms;

  --container: 1120px;
  --header-h: 72px;

  /* 曙光渐变（仅用于大面留白的轻染，不用于文字） */
  --dawn: linear-gradient(160deg, #F8EBDA 0%, #FAF5EC 55%, #FDFCFA 100%);
  --shadow-sm: 0 1px 2px rgba(44, 40, 35, 0.05);
  --shadow-md: 0 6px 24px -8px rgba(44, 40, 35, 0.14);
  --shadow-lg: 0 24px 48px -16px rgba(44, 40, 35, 0.18);
}

/* ---- 基础 ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--body);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

h1, h2, h3 { color: var(--ink); font-weight: 600; }
h1 { font-size: var(--fs-display); letter-spacing: -0.015em; line-height: 1.18; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; line-height: 1.28; }
h3 { font-size: var(--fs-h3); letter-spacing: 0; line-height: 1.4; }

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

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-full);
  background: var(--ink); color: #fff; font-size: var(--fs-small);
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---- 布局工具 ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(72px, 9vw, 116px) 0; }
.section--mist { background: var(--mist); }

.section-head { max-width: 640px; margin-bottom: var(--sp-14); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: var(--sp-3) 0 var(--sp-4); }
.section-head p { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.08em; color: var(--accent-deep);
}
.eyebrow::before {
  content: ""; width: 20px; height: 1.5px; background: var(--accent);
}
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow {
  padding: 6px 14px; border-radius: var(--r-full);
  background: var(--accent-soft);
}

/* ---- 按钮（按压 120ms 收缩，松开 240ms 回弹） ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform var(--t-std) var(--ease-out),
              background-color var(--t-fast) ease,
              color var(--t-fast) ease,
              box-shadow var(--t-std) var(--ease-out);
}
.btn:active { transform: scale(0.97); transition: transform var(--t-press) var(--ease-out); }
.btn svg { transition: transform var(--t-std) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ---- 顶栏：瓷白材质，毛玻璃 ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253, 252, 250, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-std) ease,
              border-color var(--t-std) ease,
              box-shadow var(--t-std) ease;
}
.header.is-scrolled {
  background: rgba(253, 252, 250, 0.88);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.logo-text small {
  display: block; font-size: 11px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.06em; line-height: 1.3;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  position: relative; padding: 8px 2px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color var(--t-fast) ease;
}
.nav-link:hover, .nav-link:active { color: var(--accent-deep); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-std) var(--ease-out);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: inline-flex; }
.nav-drawer-cta { display: none; }
.header-right { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border-radius: var(--r-md);
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t-std) var(--ease-out), opacity var(--t-fast) ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none; position: fixed; inset: var(--header-h) 0 0; z-index: 98;
  background: rgba(38, 34, 32, 0.32);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-std) ease, visibility var(--t-std) ease;
}
.nav-backdrop.is-visible { opacity: 1; visibility: visible; }

/* ---- 首屏 ---- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(56px, 7vw, 88px);
}
.hero::before {  /* 曙光轻染：左上暖、右下净 */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--dawn);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.hero h1 { margin: var(--sp-5) 0 var(--sp-5); }
.hero h1 em { font-style: normal; color: var(--accent-deep); }
.hero-lead { max-width: 480px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-8); }
.hero-note { margin-top: var(--sp-6); font-size: var(--fs-small); color: var(--muted); }
.hero-note strong { color: var(--ink); font-weight: 600; }

.hero-figure { position: relative; }
.hero-figure::before {  /* 曙光底衬，错位呼应主图 */
  content: ""; position: absolute; inset: 24px -20px -20px 24px;
  border-radius: var(--r-xl); background: var(--accent-soft); z-index: -1;
}
.hero-figure img {
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%;
}
.hero-chip {
  position: absolute; right: -8px; bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.hero-chip strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.3; }
.hero-chip span { font-size: 12px; color: var(--muted); }

/* ---- 数据带 ---- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
}
.stat { padding: 36px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.stat b i { font-style: normal; font-size: 0.55em; color: var(--accent-deep); margin-left: 2px; }
.stat span { font-size: var(--fs-small); color: var(--muted); }

/* ---- 卡片体系 ---- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform var(--t-std) var(--ease-out),
              box-shadow var(--t-std) var(--ease-out),
              border-color var(--t-fast) ease;
}
.card:active { transform: scale(0.985); transition: transform var(--t-press) var(--ease-out); }

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

.icon-tile {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent-deep);
  margin-bottom: var(--sp-5);
}

.feature-card { padding: var(--sp-8); }
.feature-card h3 { margin-bottom: var(--sp-3); }
.feature-card p { font-size: 15px; color: var(--muted); margin-bottom: var(--sp-5); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 12px; border-radius: var(--r-full);
  background: var(--mist); color: var(--accent-deep);
  font-size: var(--fs-label); font-weight: 500;
}

/* 编号价值观卡 */
.value-card { padding: var(--sp-8); position: relative; }
.value-card .num {
  font-size: 15px; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums; margin-bottom: var(--sp-4);
}
.value-card h3 { margin-bottom: var(--sp-2); }
.value-card p { font-size: 15px; color: var(--muted); }

/* 团队卡 */
.team-card { padding: var(--sp-8); text-align: center; }
.team-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; margin: 0 auto var(--sp-5);
  border-radius: var(--r-full);
  background: linear-gradient(150deg, #C08552, var(--accent));
  color: #FFF8F0; font-size: 26px; font-weight: 600;
}
.team-card h3 { margin-bottom: 4px; }
.team-role { font-size: var(--fs-label); font-weight: 600; color: var(--accent-deep); margin-bottom: var(--sp-3); }
.team-card p { font-size: var(--fs-small); color: var(--muted); }

/* 愿景使命双面板 */
.vm-card { padding: clamp(28px, 4vw, 48px); }
.vm-card .icon-tile { margin-bottom: var(--sp-4); }
.vm-card h3 { font-size: 22px; margin-bottom: var(--sp-4); }
.vm-card p { color: var(--muted); }

/* 服务大卡（服务页） */
.service-panel { padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 64px 1fr 1.1fr; gap: var(--sp-8); align-items: start; }
.service-panel .icon-tile { width: 64px; height: 64px; margin: 0; }
.service-panel h3 { font-size: 22px; margin-bottom: var(--sp-3); }
.service-panel > div > p { color: var(--muted); font-size: 15px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.service-tags .tag { font-size: 14px; padding: 8px 16px; background: var(--mist); }

/* 案例卡（浏览器窗口式配图） */
.case-card { overflow: hidden; display: flex; flex-direction: column; }
.case-media { position: relative; background: var(--mist); border-bottom: 1px solid var(--line); }
.case-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #F4EFE8; border-bottom: 1px solid var(--line);
}
.case-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D8CFC2; }
.case-bar i:first-child { background: #DCA97B; }
.case-bar span {
  flex: 1; margin-left: 8px; padding: 3px 12px;
  background: #FFF; border-radius: 6px; border: 1px solid var(--line);
  font-size: 11px; color: var(--muted); line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.case-media img { width: 100%; aspect-ratio: 1440 / 700; object-fit: cover; object-position: top; }
.case-body { padding: var(--sp-6) var(--sp-8) var(--sp-8); display: flex; flex-direction: column; flex: 1; }
.case-body h3 { margin-bottom: var(--sp-2); }
.case-body > p { font-size: 15px; color: var(--muted); margin-bottom: var(--sp-5); }
.case-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.case-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-small); font-weight: 600; color: var(--accent-deep);
  transition: color var(--t-fast) ease;
}
.case-link:hover { color: var(--ink); }
.case-link svg { transition: transform var(--t-std) var(--ease-out); }
.case-link:hover svg { transform: translate(2px, -2px); }

/* 联系信息卡 */
.info-card { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-5) var(--sp-6); }
.info-card .icon-tile { width: 44px; height: 44px; margin: 0; flex-shrink: 0; border-radius: var(--r-md); }
.info-card h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 16px; font-weight: 600; color: var(--ink); }
.info-card a:hover { color: var(--accent-deep); }

/* ---- 内页首屏 ---- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 88px)) 0 clamp(40px, 5vw, 64px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--dawn); }
.page-hero h1 { max-width: 720px; margin: var(--sp-4) 0 var(--sp-4); }
.page-hero .lead { max-width: 560px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }

/* ---- 行动带 ---- */
.cta-band {
  max-width: var(--container); margin: 0 auto; padding: 0 32px;
}
.cta-panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px);
  background: var(--dawn); text-align: center;
}
.cta-panel h2 { margin-bottom: var(--sp-4); }
.cta-panel p { color: var(--muted); max-width: 520px; margin: 0 auto var(--sp-8); }
.cta-panel::after {  /* 一抹曙光弧线 */
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: var(--r-full);
  background: radial-gradient(circle, rgba(192, 133, 82, 0.18), transparent 70%);
}

/* ---- 表单 ---- */
.form-card { padding: clamp(28px, 4vw, 48px); }
.form-card h2 { font-size: 24px; margin-bottom: var(--sp-6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.form-field { margin-bottom: var(--sp-5); }
.form-field label {
  display: block; font-size: var(--fs-small); font-weight: 600;
  color: var(--ink); margin-bottom: var(--sp-2);
}
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--porcelain); color: var(--ink); font-size: 15px;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154, 106, 62, 0.16);
}
.form-field textarea { min-height: 132px; resize: vertical; }
.form-success {
  display: flex; align-items: center; gap: 10px; margin-top: var(--sp-5);
  padding: 14px 18px; border-radius: var(--r-md);
  background: #EDF5EE; color: #3D6B4A; font-size: var(--fs-small); font-weight: 500;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
@starting-style { .form-success { opacity: 0; transform: translateY(4px); } }

/* ---- 页脚 ---- */
.footer { background: var(--footer-bg); color: var(--footer-text); }
.footer-main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-10); padding: clamp(48px, 6vw, 72px) 0 var(--sp-10);
}
.footer .logo-text { color: #fff; }
.footer .logo-text small { color: var(--footer-text); }
.footer-desc { font-size: var(--fs-small); line-height: 1.9; margin-top: var(--sp-5); max-width: 300px; }
.footer h4 {
  color: #fff; font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.08em; margin-bottom: var(--sp-5);
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: var(--fs-small); color: var(--footer-link); transition: color var(--t-fast) ease; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: var(--fs-small); }
.footer-bottom {
  display: flex; flex-wrap: nowrap; gap: var(--sp-4); align-items: center; justify-content: space-between;
  padding: var(--sp-5) 0; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-label); color: #9C9285;
}
.footer-bottom p, .footer-bottom a { white-space: nowrap; }
.footer-bottom a { color: #9C9285; text-decoration: underline dotted; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--footer-link); }

/* ---- 滚动显现（渐进增强：仅 JS 可用时隐藏，无 JS/爬虫直接可见） ---- */
.js .fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--t-reveal) var(--ease-out),
              transform var(--t-reveal) var(--ease-out);
}
.js .fade-in.is-visible { opacity: 1; transform: none; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero-figure { max-width: 560px; }
  .service-panel { grid-template-columns: 64px 1fr; }
  .service-tags { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .container, .header-inner, .stats-grid, .cta-band { padding-left: 20px; padding-right: 20px; }
  .section { padding: 64px 0; }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--porcelain);
    padding: var(--sp-4) 0 var(--sp-6);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: transform var(--t-std) var(--ease-drawer),
                opacity var(--t-std) ease, visibility var(--t-std) ease;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { padding: 16px 24px; font-size: 17px; border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { background: var(--mist); }
  .nav-link[aria-current="page"]::after { display: none; }
  .nav-cta { display: none; }
  .nav-drawer-cta { display: inline-flex; margin: var(--sp-4) 24px 0; }
  .menu-toggle { display: flex; }
  .nav-backdrop { display: block; }

  .hero-figure::before { inset: 16px -12px -12px 16px; }
  .hero-chip { right: 8px; bottom: 16px; padding: 10px 14px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-bottom { justify-content: center; font-size: 11px; gap: 8px; }
}

/* ---- 触屏：禁用位移类悬停（粘滞悬停修复），保留变色 ---- */
@media (hover: none), (pointer: coarse) {
  .card:hover { transform: none; }
  .btn:hover svg { transform: none; }
}

/* ---- 减弱动态效果：保留淡入与变色，去掉位移与级联延迟 ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in {
    transform: none;
    transition: opacity 300ms ease;
    transition-delay: 0s !important;
  }
  .card, .btn, .nav-link, .header, .nav, .hero-chip,
  .menu-toggle span, .nav-backdrop, .form-field input, .form-field textarea {
    transition-duration: 0.01ms !important;
  }
  .card:active, .btn:active { transform: none; }
}

/* 公安备案图标 */
.beian-icon { display: inline-block; width: 14px; height: 15px; vertical-align: -3px; margin-right: 5px; }
