/* ==========================================================================
   月下长川科技 · 门户站点样式
   Design tokens: 极简排版 + 网格秩序 + 单一强调色（蓝→青渐变）
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: rgba(30, 94, 255, .16); }

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0f19;
  --ink-2: #1a2130;
  --muted: #6b7480;
  --muted-2: #8b939f;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --soft-2: #eef2f8;
  --line: #e7eaf0;
  --line-strong: #d6dce6;
  --accent: #1e5eff;
  --accent-2: #00c2ff;
  --accent-soft: rgba(30, 94, 255, .08);
  --grad: linear-gradient(100deg, #1e5eff 0%, #00c2ff 100%);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Consolas,
    "Liberation Mono", Menlo, monospace;

  --wrap: 1200px;
  --gap: 24px;
  --radius: 14px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
}

.section { padding: 112px 0; }
.section--tight { padding: 80px 0; }
.section--soft { background: var(--soft); }
.section--ink { background: var(--ink); color: #fff; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* 版式小元件：编号标签 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.section--ink .eyebrow { color: rgba(255, 255, 255, .6); }

.h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-top: 18px;
}
.lead {
  margin-top: 20px;
  max-width: 620px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.85;
}
.section--ink .lead { color: rgba(255, 255, 255, .62); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: var(--grad);
  opacity: .9;
  clip-path: polygon(0 62%, 100% 30%, 100% 46%, 0 78%);
}
.brand__mark svg { position: relative; z-index: 1; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__cn {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
}
.brand__en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--accent); background: var(--accent-soft); }
.nav__link.is-active { color: var(--accent); font-weight: 500; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  background: var(--grad);
  border-radius: 2px;
}

.nav__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav__cta svg { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  width: 780px;
  height: 780px;
  right: -220px;
  top: -320px;
  background: radial-gradient(circle, rgba(30, 94, 255, .5), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__glow--2 {
  right: auto;
  left: -260px;
  top: auto;
  bottom: -420px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 194, 255, .26), transparent 64%);
}

.hero__inner {
  padding-block: 132px 104px;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .04);
}
.hero__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35e0a1;
  box-shadow: 0 0 0 3px rgba(53, 224, 161, .18);
}
.hero h1 {
  margin-top: 30px;
  font-size: clamp(34px, 5.6vw, 66px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.035em;
  max-width: 16em;
}
.hero__sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .62);
}
.hero__actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
    border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 15px; height: 15px; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(30, 94, 255, .8);
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); background: var(--accent); }
.btn--line { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--ink); }

/* Hero 数据条 */
.hero__stats {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero__stat {
  padding: 28px 0 0;
  position: relative;
}
.hero__stat + .hero__stat { padding-left: 32px; }
.hero__stat + .hero__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, .12);
}
.hero__stat dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.hero__stat dd {
  margin: 10px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .92);
  letter-spacing: .01em;
}

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: start;
}
.cap-list { margin-top: 8px; border-top: 1px solid var(--line); }
.cap-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cap-list span:first-child {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-2);
  flex: 0 0 34px;
}
.cap-list strong { font-weight: 500; font-size: 15.5px; }
.cap-list em {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  margin-left: auto;
  text-align: right;
}

/* ---------- 业务卡片 ---------- */
.cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  background: var(--paper);
  padding: 38px 32px 36px;
  position: relative;
  transition: background .3s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover { background: #fbfcfe; }
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 24px;
}
.card__icon svg { width: 21px; height: 21px; }
.card__no {
  position: absolute;
  top: 34px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: .1em;
}
.card h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.005em; }
.card p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}
.card__tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: var(--soft);
}

/* ---------- 流程 ---------- */
.flow {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.flow__item { position: relative; padding-top: 26px; }
.flow__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 32px;
  height: 1px;
  background: var(--line-strong);
}
.flow__item::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  transition: border-color .3s, background .3s;
}
.flow__item:hover::after { border-color: var(--accent); background: var(--accent); }
.flow__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--accent);
}
.flow__item h3 { margin-top: 12px; font-size: 16.5px; font-weight: 600; }
.flow__item p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--muted); }

/* ---------- 优势 ---------- */
.why {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
}
.why__item {
  background: var(--ink);
  padding: 40px 36px;
}
.why__item h3 {
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.why__item h3 svg { width: 18px; height: 18px; color: var(--accent-2); flex: 0 0 auto; }
.why__item p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .58);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 72px 64px;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(30, 94, 255, .45), transparent 55%),
    radial-gradient(circle at 12% 90%, rgba(0, 194, 255, .22), transparent 52%);
}
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.cta p { margin-top: 14px; color: rgba(255, 255, 255, .6); font-size: 15px; }

/* ---------- 页头（子页） ---------- */
.page-hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.page-hero__inner { padding-block: 84px 76px; position: relative; }
.page-hero h1 {
  margin-top: 22px;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.page-hero p {
  margin-top: 18px;
  max-width: 600px;
  color: rgba(255, 255, 255, .62);
  font-size: 16px;
  line-height: 1.85;
}
.crumb {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .38);
  text-transform: uppercase;
}
.crumb a:hover { color: rgba(255, 255, 255, .8); }
.crumb span { margin: 0 8px; opacity: .5; }

/* ---------- 正文排版 ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.prose h3 { margin-top: 40px; font-size: 18px; font-weight: 600; }
.prose p { margin-top: 18px; color: var(--muted); line-height: 1.9; }
.prose p strong { color: var(--ink); font-weight: 500; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.fact-list { border-top: 1px solid var(--line); }
.fact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.fact-list dt { color: var(--muted); flex: 0 0 auto; }
.fact-list dd { margin: 0; text-align: right; }

/* 业务详情块 */
.svc {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__head { position: sticky; top: 104px; align-self: start; }
.svc__no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--muted-2);
}
.svc__head h2 { margin-top: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.svc__body p { color: var(--muted); line-height: 1.9; font-size: 15px; }
.svc__body p + p { margin-top: 14px; }
.svc__points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
}
.svc__points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.svc__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.svc__deliver {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 2px solid var(--accent);
  background: var(--soft);
  font-size: 13.5px;
  color: var(--muted);
  border-radius: 0 8px 8px 0;
}
.svc__deliver b { color: var(--ink); font-weight: 500; }

/* ---------- 联系 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.info-list { border-top: 1px solid var(--line); margin-top: 36px; }
.info-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-list dt,
.info-list .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.info-list .v { margin-top: 8px; font-size: 15.5px; }
.info-list .v a:hover { color: var(--accent); }

.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  background: #fff;
}
.form h2 { font-size: 20px; font-weight: 600; }
.form p.hint { margin-top: 8px; font-size: 13.5px; color: var(--muted-2); }
.field { margin-top: 22px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7480' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 94, 255, .12);
}
.field textarea { min-height: 128px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  padding: 72px 0 34px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand__mark { background: rgba(255, 255, 255, .08); }
.footer-brand .brand__cn { color: #fff; }
.footer-brand .brand__en { color: rgba(255, 255, 255, .4); }
.footer-brand p {
  margin-top: 20px;
  max-width: 300px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .5);
  font-size: 13.5px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
  font-weight: 400;
}
.footer-col ul { margin-top: 18px; display: grid; gap: 11px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .38);
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .wrap { padding-inline: 24px; }
  .section { padding: 88px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
  .svc__head { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat + .hero__stat:nth-child(3) { padding-left: 0; }
  .hero__stat + .hero__stat:nth-child(3)::before { display: none; }
  .hero__stat:nth-child(n + 3) { margin-top: 26px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(11, 15, 25, .35);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding: 14px 4px; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--soft-2); }
  .nav__link.is-active::after { display: none; }
  .nav__cta { display: none; }
  .nav-toggle { display: grid; margin-left: auto; }

  .hero__inner { padding-block: 84px 72px; }
  .hero__sub { font-size: 15.5px; }
  .hero__stats { margin-top: 56px; }
  .hero__stat + .hero__stat { padding-left: 20px; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; margin-top: 44px; }
  .why { grid-template-columns: 1fr; }
  .cta { padding: 48px 28px; border-radius: 16px; }
  .page-hero__inner { padding-block: 56px 52px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .svc__points { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat + .hero__stat { padding-left: 0; margin-top: 22px; }
  .hero__stat + .hero__stat::before { display: none; }
  .btn { width: 100%; justify-content: center; }
  .flow { grid-template-columns: 1fr; }
}
