/* ============================================================
   交通人 · jiaotongren.com 临时主页样式
   设计方向：深藏青（可信、路网） + 琥珀色（道路标线 / 信号灯）
   零外部依赖：系统字体栈 + 内联 SVG，适配桌面 / 平板 / 手机
   ============================================================ */

/* ---------- 设计令牌（改色 / 改字号只需调整这里） ---------- */
:root {
  --navy: #0b1d33;          /* 主深色：Hero、深色卡片 */
  --navy-deep: #081626;     /* 页脚等更深区域 */
  --navy-soft: #12294a;     /* 深色面板过渡色 */
  --amber: #f7a823;         /* 主强调色：信号灯琥珀 */
  --amber-light: #ffd27a;   /* 渐变末端 */
  --amber-soft: #fdf4e3;    /* 琥珀浅底 */
  --ink: #16263a;           /* 正文标题 */
  --muted: #5b6b7d;         /* 次要文字 */
  --line: #e3e9f0;          /* 浅边框 */
  --bg: #ffffff;
  --bg-soft: #f4f7fa;       /* 浅灰区块底 */
  --white-70: rgba(255, 255, 255, 0.72);
  --white-45: rgba(255, 255, 255, 0.45);

  --radius: 16px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px rgba(13, 35, 62, 0.08);
  --shadow-card-hover: 0 18px 44px rgba(13, 35, 62, 0.14);
  --container: 1120px;
  --header-h: 68px;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 锚点定位时为固定导航留出空间 */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* 键盘焦点可见性 */
a:focus-visible,
button:focus-visible {
  outline: 2.5px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ============================================================
   顶部导航
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

/* 滚动后 / 移动端菜单展开时：白底深字 */
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(13, 35, 62, 0.06);
  color: var(--ink);
}

.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-mark-bg {
  fill: var(--navy);
}

.brand-mark-line {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.6;
  stroke-linecap: round;
}

.brand-mark-dot {
  fill: var(--amber);
}

/* 白底状态下品牌图标底色加深（与白底区分） */
.scrolled .brand-mark-bg,
.menu-open .brand-mark-bg {
  fill: var(--navy-deep);
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text small {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--white-45);
}

.scrolled .brand-text small,
.menu-open .brand-text small {
  color: #8a99a9;
}

/* 桌面导航链接 */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.scrolled .nav-link,
.menu-open .nav-link {
  color: var(--muted);
}

.scrolled .nav-link:hover,
.menu-open .nav-link:hover {
  color: var(--ink);
}

.nav-link.is-active {
  color: var(--amber);
  font-weight: 700;
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

/* 汉堡按钮（仅移动端显示） */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  border-radius: 10px;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* ============================================================
   Hero 首屏
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  /* 两层极淡光晕，压在角落而非居中装饰，避免廉价的渐变球感 */
  background-image:
    radial-gradient(620px 420px at 86% 8%, rgba(247, 168, 35, 0.10), transparent 62%),
    radial-gradient(720px 520px at 0% 100%, rgba(56, 112, 196, 0.16), transparent 60%);
  color: #fff;
  padding: calc(var(--header-h) + 72px) 0 104px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--amber-light);
  background: rgba(247, 168, 35, 0.12);
  border: 1px solid rgba(247, 168, 35, 0.32);
  padding: 7px 15px;
  border-radius: 999px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 1.8s ease-in-out infinite;
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(3.4rem, 8.4vw, 6.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0.06em;
}

.hero-en {
  margin-top: 14px;
  color: var(--amber);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hero-desc {
  margin-top: 22px;
  max-width: 540px;
  color: var(--white-70);
  font-size: 1.0625rem;
  line-height: 1.95;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease,
    background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy-deep);
  box-shadow: 0 8px 22px rgba(247, 168, 35, 0.28);
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(247, 168, 35, 0.36);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* 四种交通方式标签 */
.hero-modes {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-modes li {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--white-70);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 16px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-modes li:hover {
  border-color: rgba(247, 168, 35, 0.6);
  color: var(--amber-light);
}

/* Hero 右侧线路图 */
.hero-visual {
  justify-self: end;
  width: 100%;
  max-width: 470px;
}

.route-map {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.35));
}

.route-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 10;
  stroke-linecap: round;
}

.route-flow {
  fill: none;
  stroke: url(#routeFlow);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 16 20;
  animation: dashFlow 1.35s linear infinite;
}

.station-ring {
  fill: rgba(247, 168, 35, 0.22);
  animation: ringBreathe 2.8s ease-in-out infinite;
}

.station-dot {
  fill: var(--amber);
  stroke: #fff6e6;
  stroke-width: 2;
}

.station-label {
  fill: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-anchor: middle;
  font-family: var(--font-stack);
}

.station-label-top {
  dominant-baseline: auto;
}

.map-note {
  fill: rgba(255, 255, 255, 0.34);
  font-size: 11px;
  letter-spacing: 3px;
  font-family: var(--font-stack);
}

.compass-circle {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.2;
}

.compass-needle {
  fill: var(--amber);
}

.compass-n {
  fill: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  text-anchor: middle;
  font-family: var(--font-stack);
}

/* 向下滚动提示（仅 ≥960px 显示） */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--white-45);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.scroll-hint-arrow {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--amber), transparent);
  animation: scrollDrop 1.8s var(--ease-out) infinite;
  transform-origin: top;
}

/* ============================================================
   通用区块
   ============================================================ */
.section {
  padding: 96px 0;
}

.section-head {
  margin-bottom: 52px;
}

.section-eyebrow {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.section-sub {
  margin-top: 14px;
  max-width: 660px;
  color: var(--muted);
  font-size: 1rem;
}

/* ============================================================
   关于
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  color: #3d4d5f;
  font-size: 1.02rem;
  line-height: 2.05;
}

.about-text p + p {
  margin-top: 20px;
}

.about-card {
  background: var(--navy);
  background-image: radial-gradient(
    420px 260px at 100% 0%,
    rgba(247, 168, 35, 0.12),
    transparent 60%
  );
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-card);
}

.about-card h3 {
  font-size: 1.125rem;
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

.keyword-list div + div {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.keyword-list dt {
  color: var(--amber);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.keyword-list dd {
  color: var(--white-70);
  font-size: 0.92rem;
}

/* ============================================================
   关注领域
   ============================================================ */
.fields {
  background: var(--bg-soft);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.field-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease,
    border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}

.field-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(247, 168, 35, 0.55);
}

.field-icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #c97f0a;
  margin-bottom: 20px;
}

.field-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.field-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

/* 第四张：差异化的“建设中”深色卡片 */
.field-card--building {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.field-card--building:hover {
  border-color: var(--amber);
}

.field-card--building p {
  color: var(--white-70);
}

.building-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
  background: var(--amber);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 20px;
}

.building-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-deep);
  animation: blink 1.4s ease-in-out infinite;
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease, gap 0.2s ease;
}

.card-link:hover {
  color: var(--amber-light);
}

/* ============================================================
   建设进度
   ============================================================ */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 横向连接线 */
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line);
}

.step {
  position: relative;
  text-align: center;
}

.step-marker {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
}

.step-marker svg {
  width: 20px;
  height: 20px;
}

.step--done .step-marker {
  background: var(--navy);
  color: #fff;
}

.step--active .step-marker {
  background: var(--amber-soft);
  border: 2px solid var(--amber);
}

.step-pulse {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
}

.step-pulse::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  animation: ping 1.8s var(--ease-out) infinite;
}

.step--todo .step-marker {
  background: #fff;
  border: 2px solid #cfd8e2;
  color: #93a2b2;
}

.step h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.step--todo h3 {
  color: #7c8b9c;
}

.step p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 230px;
  margin: 0 auto;
}

.step--todo p {
  color: #93a2b2;
}

/* ============================================================
   联系 CTA
   ============================================================ */
.contact {
  background: var(--bg-soft);
  padding-top: 40px;
}

.contact-panel {
  background: var(--navy);
  background-image: radial-gradient(
    560px 300px at 50% -20%,
    rgba(247, 168, 35, 0.14),
    transparent 65%
  );
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
}

.contact-panel h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.03em;
}

.contact-panel p {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--white-70);
  line-height: 1.9;
}

.contact-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-note {
  margin-top: 22px;
  font-size: 0.8rem;
  color: var(--white-45) !important;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 30px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 8px;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.25);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-copy a:hover {
  color: var(--amber);
}

/* ============================================================
   滚动显现动画（JS 加载后才启用，无 JS 时内容直接可见）
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* 网格内卡片依次出现 */
.field-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.field-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.field-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   关键帧
   ============================================================ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -36; }
}

@keyframes ringBreathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.12; }
}

@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* 向下滚动提示仅在桌面端显示，避免挤占移动端首屏空间 */
@media (min-width: 961px) {
  .scroll-hint {
    display: flex;
  }
}

/* ============================================================
   响应式：平板
   ============================================================ */
@media (max-width: 960px) {
  .hero {
    padding: calc(var(--header-h) + 48px) 0 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-modes {
    justify-content: center;
  }

  .hero-visual {
    justify-self: center;
    max-width: 400px;
  }

  /* 移动端导航抽屉 */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 8px 20px 16px;
    box-shadow: 0 18px 30px rgba(13, 35, 62, 0.12);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links .nav-link {
    color: var(--ink);
    padding: 14px 10px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .nav-link::after {
    display: none;
  }

  .nav-links .nav-link.is-active {
    color: #c97f0a;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 进度步骤改为纵向 */
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps::before {
    top: 22px;
    bottom: 22px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 18px;
    text-align: left;
    padding-bottom: 34px;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step-marker {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .step p {
    margin: 0;
    max-width: none;
  }
}

/* ============================================================
   响应式：手机
   ============================================================ */
@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero-title {
    letter-spacing: 0.08em;
  }

  .hero-desc {
    font-size: 0.98rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    max-width: 340px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 44px 22px;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* ============================================================
   无障碍：尊重“减少动态效果”系统偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* 确保显现动画在降级环境下直接展示内容 */
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
