/* ============================================================
   郑州软文信息科技有限公司 — 官网样式
   明亮商务风 / 单页滚动 / 纯 CSS 无外部依赖
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-footer: #eef1f7;
  --bg-card: #ffffff;
  --bg-card-hover: #fbfcff;

  --brand: #2563eb;
  --brand-2: #0e7490;
  --accent: #7c3aed;

  --text: #0f172a;
  --text-dim: #475569;
  --text-faint: #5c6b7f;

  --border: rgba(15, 23, 42, 0.1);
  --border-hover: rgba(37, 99, 235, 0.4);

  --tint-brand: rgba(37, 99, 235, 0.09);
  --tint-brand-line: rgba(37, 99, 235, 0.2);
  --tint-accent: rgba(124, 58, 237, 0.09);
  --tint-accent-line: rgba(124, 58, 237, 0.22);
  --tint-neutral: rgba(15, 23, 42, 0.045);
  --grid-line: rgba(15, 23, 42, 0.05);

  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  --grad-text: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --pill: 999px;

  --container: 1200px;
  --nav-h: 72px;
  --section-y: 96px;

  --shadow-glow: 0 10px 28px -10px rgba(37, 99, 235, 0.5);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 26px -18px rgba(15, 23, 42, 0.22);
  --shadow-card-hover: 0 20px 44px -20px rgba(15, 23, 42, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* 固定导航高度补偿，锚点跳转后标题不被遮挡 */
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 移动端菜单展开时锁定滚动 */
body.nav-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: rgba(37, 99, 235, 0.85);
  color: #fff;
}

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

/* ---------- 3. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 16px;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(37, 99, 235, 0.55);
}

.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: var(--tint-brand);
  color: var(--brand);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -16px rgba(15, 23, 42, 0.4);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 15px;
  color: var(--text-dim);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--tint-neutral);
}

.nav-links a.active {
  color: var(--brand-2);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(
      620px 440px at 16% 20%,
      rgba(37, 99, 235, 0.13),
      transparent 68%
    ),
    radial-gradient(
      560px 400px at 86% 70%,
      rgba(14, 116, 144, 0.11),
      transparent 70%
    ),
    radial-gradient(
      480px 360px at 62% 6%,
      rgba(124, 58, 237, 0.07),
      transparent 70%
    );
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
  mask-image: radial-gradient(
    ellipse 100% 78% at 50% 40%,
    #000 40%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 100% 78% at 50% 40%,
    #000 40%,
    transparent 100%
  );
}

.hero-inner {
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 116, 144, 0.45);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(14, 116, 144, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 116, 144, 0);
  }
}

.hero-title {
  font-size: clamp(36px, 6.4vw, 68px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 15em;
}

.hero-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-dim);
  max-width: 40em;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 760px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  font-size: 14px;
  color: var(--text-dim);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.hero-tag:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

.hero-tag svg {
  width: 15px;
  height: 15px;
  color: var(--brand-2);
}

.hero-domain {
  position: absolute;
  right: 24px;
  bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

/* ---------- 7. 核心业务 ---------- */
.services {
  background: var(--bg-soft);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--card-grad, var(--grad));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--card-glow, rgba(37, 99, 235, 0.13));
  filter: blur(46px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--card-border, var(--border-hover));
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card.accent {
  --card-grad: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  --card-glow: rgba(124, 58, 237, 0.12);
  --card-border: rgba(124, 58, 237, 0.42);
}

.service-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tint-brand);
  border: 1px solid var(--tint-brand-line);
  color: var(--brand);
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease);
}

.service-card.accent .service-icon {
  background: var(--tint-accent);
  border-color: var(--tint-accent-line);
  color: var(--accent);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
  position: relative;
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  position: relative;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 22px;
  flex-grow: 1;
}

.tech-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tech-tags li {
  padding: 4px 11px;
  border-radius: var(--pill);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- 8. 公司简介 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 18px;
  font-size: 15.5px;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

.about-meta {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 14px;
}

.about-meta > div {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
}

.about-meta dt {
  color: var(--text-faint);
  min-width: 5.5em;
  flex-shrink: 0;
}

.about-meta dd {
  color: var(--text);
}

.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.advantage {
  padding: 24px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.advantage:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.advantage-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--tint-brand);
  color: var(--brand);
  margin-bottom: 14px;
}

.advantage-icon svg {
  width: 20px;
  height: 20px;
}

.advantage h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.advantage p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---------- 9. 联系我们 ---------- */
.contact {
  background: var(--bg-soft);
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

a.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint-brand);
  color: var(--brand);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
}

.contact-label {
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.contact-hint {
  font-size: 12.5px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

a.contact-card .contact-hint {
  color: var(--brand-2);
}

.contact-hint svg {
  width: 13px;
  height: 13px;
}

.contact-note {
  margin-top: 40px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.08),
    rgba(14, 116, 144, 0.06)
  );
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-note p {
  font-size: 15.5px;
}

.contact-note strong {
  color: var(--text);
}

.contact-note span {
  display: block;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ---------- 10. 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-footer);
  padding-top: 64px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 18px;
  max-width: 34em;
}

.footer-col h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a,
.footer-col li {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--brand-2);
}

.footer-contact li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--text-faint);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-bottom a {
  color: var(--text-faint);
  transition: color 0.25s var(--ease);
}

.footer-bottom a:hover {
  color: var(--brand-2);
}

/* ---------- 11. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.35);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--border-hover);
  color: var(--brand-2);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- 12. 滚动淡入动画 ---------- */
/* 仅在 JS 可用（html 带 .js 类）时隐藏，无 JS 环境下内容默认可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

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

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1024px) {
  :root {
    --section-y: 80px;
  }

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

  .about-grid {
    gap: 44px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --section-y: 64px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 28px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.3s var(--ease),
      visibility 0.35s;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
  }

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

  .nav-links a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius-sm);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links a.active {
    background: var(--tint-brand);
  }

  /* 移动端顶栏只保留图标按钮，节省横向空间 */
  .nav-cta .btn-label {
    display: none;
  }

  .nav-cta .btn {
    padding: 11px 13px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 56px);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-domain {
    position: static;
    margin-top: 32px;
    text-align: center;
  }

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

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

  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-note {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
  }

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

  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 18px;
  }

  .hero-eyebrow {
    font-size: 12.5px;
    padding: 6px 13px;
  }

  .services-grid,
  .advantages {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 26px 22px 24px;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    padding: 13px 22px;
    font-size: 14.5px;
  }

  .about-meta > div {
    flex-direction: column;
    gap: 2px;
  }

  .about-meta dt {
    min-width: 0;
  }
}

/* ---------- 14. 动画降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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