/* ---------- 基础 ---------- */
:root {
  --ink: #150a0c;
  --ink-soft: #131c26;
  --body: #5b5352;
  --muted: #8f8783;
  --line: #ebe4e3;
  --bg: #ffffff;
  --bg-soft: #faf7f6;
  --accent: #c1121f;
  --radius: 14px;
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
em { font-style: normal; }
dl, dd, dt { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--ink);
  transition: background .35s var(--ease), box-shadow .35s var(--ease),
    color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}

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

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.brand-mark { width: 26px; height: 26px; color: var(--accent); }
.brand-text em {
  font-style: normal;
  font-weight: 400;
  opacity: .62;
  margin-left: 6px;
  font-size: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
}
.nav > a {
  position: relative;
  color: inherit;
  opacity: .78;
  transition: opacity .25s var(--ease);
}
.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav > a:hover { opacity: 1; }
.nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  opacity: 1;
  padding: 9px 20px;
  border: 1px solid rgba(28, 18, 20, .16);
  border-radius: 999px;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.site-header.is-scrolled .brand-mark { color: var(--accent); }
.site-header.is-scrolled .nav-cta { border-color: rgba(28, 18, 20, .16); }
.site-header.is-scrolled .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  opacity: .85;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 23px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100vh, 880px);
  min-height: min(92svh, 880px);
  background: linear-gradient(180deg, #fff6f4 0%, #ffffff 58%, #ffffff 100%);
  color: var(--ink);
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(64px, 8vw, 112px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1180px 660px at 92% -12%, rgba(255, 92, 70, .14), transparent 66%),
    radial-gradient(900px 560px at -6% 104%, rgba(255, 92, 70, .07), transparent 68%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(193, 18, 31, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193, 18, 31, .05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(72% 62% at 42% 34%, #000 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(72% 62% at 42% 34%, #000 10%, transparent 76%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.16;
}
.hero h1 .accent { color: var(--accent); }

.lead {
  margin-top: 26px;
  max-width: 34em;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--body);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease),
    color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary {
  background: #d7262e;
  color: #ffffff;
}
.btn-primary:hover { transform: translateY(-2px); background: #e8402f; }
.btn-ghost {
  border: 1px solid rgba(28, 18, 20, .18);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: rgba(28, 18, 20, .42);
  background: rgba(193, 18, 31, .04);
  transform: translateY(-2px);
}

.hero-facts {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 28px 44px;
  justify-content: start;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-facts dt {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 7px;
}
.hero-facts dd { font-size: 14.5px; color: var(--ink); }

.hero-visual { position: relative; }
.orbit { width: 100%; max-width: 470px; margin-inline: auto; }
.orbit-spin {
  transform-origin: 210px 210px;
  animation: spin 34s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.hero-tags li {
  font-size: 12.5px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(193, 18, 31, .2);
  color: var(--accent);
  background: rgba(193, 18, 31, .05);
}

/* ---------- 通用版块 ---------- */
.section { padding: clamp(64px, 8.5vw, 118px) 0; }
.section-soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-dark {
  background:
    radial-gradient(1040px 580px at 96% -12%, rgba(255, 92, 70, .13), transparent 68%),
    linear-gradient(180deg, #fff6f4 0%, #fffdfd 100%);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.idx {
  display: block;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-dark .idx { color: var(--accent); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2, .about-copy h2, .contact-inner h2 {
  font-size: clamp(26px, 3.3vw, 40px);
}
.section-head p {
  margin-top: 18px;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.9;
}

/* ---------- 业务卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  background: var(--bg);
  padding: clamp(26px, 2.6vw, 38px);
  transition: background .3s var(--ease);
}
.card:hover { background: #fdfaf9; }

.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(193, 18, 31, .07);
  color: var(--accent);
  margin-bottom: 22px;
}
.card-ico svg { width: 21px; height: 21px; }

.card h3 { font-size: 17.5px; margin-bottom: 12px; }
.card p { color: var(--body); font-size: 14.5px; line-height: 1.85; }

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.about-copy p {
  margin-top: 20px;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.95;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid rgba(193, 18, 31, .28);
  padding-bottom: 3px;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: 14px; border-color: var(--accent); }

.about-facts {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 34px);
}
.about-facts h3 {
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 22px;
}
.about-facts dl > div {
  display: grid;
  grid-template-columns: 9.5em minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.about-facts dl > div:first-child { border-top: 0; padding-top: 0; }
.about-facts dt { color: var(--muted); }
.about-facts dd { color: var(--ink); }
.facts-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--ink);
}
.step-no {
  position: absolute;
  top: -1px;
  left: 0;
  transform: translateY(-50%);
  padding-right: 10px;
  background: var(--bg);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--accent);
}
.steps h3 { font-size: 17px; margin-bottom: 10px; }
.steps p { color: var(--body); font-size: 14.5px; line-height: 1.85; }

/* ---------- 联系 ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.contact-lead {
  margin-top: 20px;
  max-width: 26em;
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.9;
}

.contact-qr {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding: 12px 20px 12px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.contact-qr img {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 8px;
}
.contact-qr p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--body);
}

.contact-mail {
  display: block;
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}
.contact-mail span {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 12px;
}
.contact-mail strong {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--accent);
  transition: opacity .25s var(--ease);
  word-break: break-all;
}
.contact-mail:hover strong { opacity: .78; }

.contact-list dl { margin-top: 8px; }
.contact-list dl > div {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.contact-list dt { color: var(--muted); }
.contact-list dd { color: var(--ink); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 28px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer-links a { transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--accent); }

/* ---------- 滚动渐入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .hero-facts { gap: 22px 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 44px); }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    z-index: 1;
    inset: 0 0 auto 0;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: calc(var(--header-h) + 40px) 32px 32px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: var(--ink);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(28, 18, 20, .09);
    opacity: .9;
  }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav > a.nav-cta {
    margin-top: 28px;
    text-align: center;
    border-color: rgba(193, 18, 31, .45);
    color: var(--accent);
  }
  .nav > a.nav-cta:hover { background: #d7262e; border-color: #d7262e; color: #ffffff; }

  body.nav-open { overflow: hidden; }
  .site-header.nav-open { background: transparent; border-bottom-color: transparent; color: var(--ink); }

  .site-header.nav-open .nav-toggle span:first-child { transform: translateX(-50%) translateY(3px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:last-child { transform: translateX(-50%) translateY(-3px) rotate(-45deg); }

  .hero {
    display: block;
    min-height: 0;
    padding-top: calc(var(--header-h) + 44px);
  }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 260px; margin: 6px auto 0; width: 100%; }
  .hero-facts { margin-top: 40px; }

  .about-grid, .contact-inner { grid-template-columns: 1fr; }
  .contact-mail { padding-top: 22px; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  body { font-size: 15.5px; }

  .brand { font-size: 16px; }
  .brand-text em { display: none; }

  .hero h1 { font-size: clamp(30px, 9vw, 38px); }
  .hero-actions { gap: 10px; }
  .btn { flex: 1 1 auto; padding: 13px 18px; font-size: 14.5px; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; margin-top: 38px; }
  .hero-facts > div { display: flex; align-items: baseline; gap: 14px; }
  .hero-facts dt { margin: 0; width: 5.5em; flex-shrink: 0; }
  .hero-facts dd { font-size: 14px; }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .about-facts dl > div { grid-template-columns: 1fr; gap: 3px; }
  .about-facts dt { font-size: 12.5px; }
  .contact-list dl > div { grid-template-columns: 1fr; gap: 3px; }
  .contact-list dt { font-size: 12.5px; }
  .contact-qr { display: flex; width: 100%; margin-top: 26px; padding: 12px 16px 12px 12px; }
  .contact-qr img { width: 108px; height: 108px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 380px) {
  .hero-tags, .hero-visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header { position: static; color: #000; background: none; }
  .nav-toggle, .hero-visual, .hero-tags { display: none; }
  .reveal { opacity: 1; transform: none; }
  .section-dark, .hero { background: #fff; color: #000; }
}
