/* Шрифт Geologica — локально (Google Fonts недоступен в Китае) */
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/geologica-cyrillic-ext-300-normal.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/geologica-cyrillic-300-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/geologica-latin-300-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/geologica-cyrillic-ext-400-normal.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/geologica-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/geologica-latin-400-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/geologica-cyrillic-ext-500-normal.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/geologica-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/geologica-latin-500-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   DMD99 — стили сайта
   Палитра «мокрый асфальт»: холодные серые тона, светлая плашка,
   белые узлы сети маршрутов.
   ============================================================ */

:root {
  --paper: #ecedee; /* светлый фон, холодный серый */
  --white: #ffffff;
  --ink: #15181b; /* основной текст */
  --muted: #4f555b; /* второстепенный текст */
  --asphalt: #2e3338; /* мокрый асфальт: кнопки, блок принципов */
  --asphalt-2: #202428; /* темнее: подвал, наведение на кнопки */
  --line: #cbced2;
  --on-dark: #d2d6da; /* текст на тёмном */
  --radius: 28px;
  --font: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-zh:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="zh-CN"] body {
  font-family: var(--font), var(--font-zh);
  font-weight: 400;
  letter-spacing: 0.02em;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn-solid {
  background: var(--asphalt);
  color: var(--white);
}
.btn-solid:hover {
  background: var(--asphalt-2);
}
.btn-line {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Шапка ---------- */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  padding-top: env(safe-area-inset-top);
  transition:
    background-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.bar.is-solid {
  background: rgba(236, 237, 238, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.logo-mark {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 12px;
  font-weight: 300;
  margin-top: 3px;
  opacity: 0.85;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 400;
}
.nav > a:not(.btn) {
  text-decoration: none;
  position: relative;
  padding: 6px 0;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav > a:not(.btn):hover::after {
  transform: scaleX(1);
}
.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 999px;
  border-color: color-mix(in srgb, currentColor 35%, transparent);
}
.lang button {
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  min-height: 30px;
}
.lang button[aria-pressed="true"] {
  background: var(--white);
  color: var(--asphalt);
}
.bar.is-solid .lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.bar-cta {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.bar:not(.is-solid) .bar-cta {
  background: var(--white);
  color: var(--asphalt);
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.burger i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.25s,
    top 0.25s;
}
.burger i:nth-of-type(1) {
  top: 17px;
}
.burger i:nth-of-type(2) {
  top: 26px;
}
.burger[aria-expanded="true"] i:nth-of-type(1) {
  top: 21.5px;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] i:nth-of-type(2) {
  top: 21.5px;
  transform: rotate(-45deg);
}

@media (max-width: 980px) {
  .burger {
    display: block;
  }
  .nav {
    position: fixed;
    inset: calc(76px + env(safe-area-inset-top)) 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 28px;
    background: var(--paper);
    color: var(--ink);
    box-shadow:
      0 1px 0 var(--line),
      0 24px 40px rgba(21, 24, 27, 0.12);
    font-size: 20px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0s 0.2s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition:
      opacity 0.2s,
      transform 0.2s;
  }
  .nav > a:not(.btn) {
    padding: 10px 0;
  }
  .nav .lang {
    margin: 12px 0 8px;
  }
  .nav .lang button[aria-pressed="true"] {
    background: var(--ink);
    color: var(--paper);
  }
  .nav .bar-cta,
  .bar:not(.is-solid) .nav .bar-cta {
    background: var(--asphalt);
    color: var(--white);
    width: 100%;
    min-height: 52px;
  }
  .bar.menu-open {
    background: var(--paper);
    color: var(--ink);
  }
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: flex;
  align-items: flex-end;
  color: var(--ink);
  background: var(--asphalt-2);
}
.hero-photo,
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo img {
  filter: saturate(0.55) contrast(1.05);
} /* приглушаем зелень фото под серую палитру; удалите строку, чтобы вернуть исходные цвета */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 200px;
  z-index: 1;
  background: linear-gradient(rgba(14, 16, 18, 0.55), rgba(14, 16, 18, 0));
}
.hero-in {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
  padding-top: 140px;
}
.hero-panel {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 44px 48px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.hero-panel > p {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
  }
  .hero-photo {
    position: relative;
    display: block;
    height: 62svh;
    min-height: 380px;
  }
  .hero-photo img {
    position: absolute;
  }
  .hero-in {
    margin-top: -64px;
    padding-top: 0;
    padding-bottom: 24px;
  }
  .hero-panel {
    padding: 30px 24px;
  }
  .actions .btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-panel {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
  }
}

/* ---------- Заголовки секций ---------- */
section h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---------- О компании ---------- */
.about {
  padding: 120px 0;
}
.about-in {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--muted);
  max-width: 760px;
}
.about-lead {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}
@media (max-width: 820px) {
  .about {
    padding: 80px 0;
  }
  .about-in {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Принципы: сеть узлов ---------- */
.net {
  background: var(--asphalt);
  color: var(--white);
  padding: 110px 0 120px;
  overflow: hidden;
}
.net h2 {
  max-width: 760px;
}
.net-stage {
  position: relative;
  height: 540px;
  margin-top: 40px;
}
.net-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.net-lines line {
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.net-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.net-nodes li {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: min(240px, 22%);
  padding: 22px 0 0 0;
}
.net-nodes li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.12),
    0 0 28px 8px rgba(255, 255, 255, 0.45);
}
.net-nodes h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.net-nodes p {
  font-size: 15px;
  color: var(--on-dark);
}
@media (max-width: 900px) {
  .net {
    padding: 80px 0;
  }
  .net-stage {
    height: auto;
    margin-top: 40px;
  }
  .net-lines {
    display: none;
  }
  .net-nodes {
    position: relative;
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 36px;
  }
  .net-nodes::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(255, 255, 255, 0.38);
  }
  .net-nodes li {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 0;
  }
  .net-nodes li::before {
    left: -36px;
    top: 6px;
  }
}

/* ---------- Как проходит перевозка ---------- */
.process {
  padding: 120px 0;
}
.route {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  position: relative;
  counter-reset: step;
}
.route::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 0;
  top: 8px;
  height: 1px;
  background: var(--ink);
}
.route::after {
  content: "";
  position: absolute;
  right: 0;
  top: 3px;
  border: 5px solid transparent;
  border-left: 9px solid var(--ink);
  border-right: 0;
}
.route li {
  position: relative;
  padding-top: 44px;
  counter-increment: step;
}
.stop {
  position: absolute;
  left: 0;
  top: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.route li:first-child .stop {
  background: var(--ink);
}
.route li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: -2px;
  padding: 0 8px;
  background: var(--paper);
  font-size: 13px;
  line-height: 21px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.route h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.route p {
  color: var(--muted);
  max-width: 280px;
}
@media (max-width: 820px) {
  .process {
    padding: 80px 0;
  }
  .route {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 40px;
    padding-left: 36px;
  }
  .route::before {
    left: 8px;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 1px;
    height: auto;
  }
  .route::after {
    display: none;
  }
  .route li {
    padding-top: 0;
  }
  .stop {
    left: -36px;
  }
  .route li::before {
    position: static;
    display: block;
    margin-bottom: 6px;
    padding: 0;
    background: none;
  }
}

/* ---------- Миссия ---------- */
.mission {
  padding: 0 0 120px;
}
.mission-in {
  border-top: 1px solid var(--line);
  padding-top: 64px;
}
.mission blockquote {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
  gap: 48px;
  align-items: end;
}
.mission blockquote p {
  font-size: clamp(1.5rem, 2.9vw, 2.4rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.mission footer {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  color: var(--muted);
}
.mission footer span:last-child {
  color: var(--ink);
  font-weight: 400;
}
@media (max-width: 820px) {
  .mission {
    padding-bottom: 80px;
  }
  .mission blockquote {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- Заявка ---------- */
.request {
  background: var(--white);
  padding: 120px 0;
}
.request-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
}
.request-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.request-info > p {
  color: var(--muted);
  max-width: 420px;
}
.contacts {
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contacts dt {
  font-size: 13px;
  color: var(--muted);
}
.contacts dd {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}
.contacts a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100%/0 1px no-repeat;
  transition: background-size 0.25s;
}
.contacts a:hover {
  background-size: 100% 1px;
}
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 14px;
  font-weight: 400;
}
.field input {
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  min-height: 48px;
  transition: border-color 0.2s;
}
.field input::placeholder {
  color: #8d9298;
}
.field input:focus {
  outline: 0;
  border-bottom-color: var(--asphalt);
  box-shadow: 0 1px 0 var(--asphalt);
}
.err {
  display: none;
  font-size: 13px;
  color: #a03a1f;
}
.field.is-invalid input {
  border-bottom-color: #a03a1f;
}
.field.is-invalid .err {
  display: block;
}
.form-foot {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 12px;
}
.form-foot p {
  font-size: 14px;
  color: var(--muted);
  flex: 1 1 220px;
}
@media (max-width: 900px) {
  .request {
    padding: 80px 0;
  }
  .request-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .form {
    grid-template-columns: 1fr;
  }
  .form-foot .btn {
    width: 100%;
  }
}

/* ---------- Подвал ---------- */
.foot {
  background: var(--asphalt-2);
  color: var(--on-dark);
  padding-bottom: env(safe-area-inset-bottom);
}
.foot-in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.logo-foot {
  color: var(--white);
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
  font-size: 15px;
}
.foot-nav a {
  text-decoration: none;
}
.foot-nav a:hover {
  color: var(--white);
}
.foot-copy {
  font-size: 14px;
}
@media (max-width: 820px) {
  .foot-in {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .foot-nav {
    justify-content: flex-start;
  }
}

/* ---------- Форма: согласие, статус ---------- */
.consent-field {
  grid-column: 1/-1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}
.consent-field input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--asphalt);
}
.consent-field label {
  flex: 1;
  font-size: 14px;
  color: var(--muted);
}
.consent-field .err {
  flex-basis: 100%;
  padding-left: 32px;
}
.form-status {
  flex-basis: 100%;
  font-size: 15px;
  font-weight: 400;
  color: var(--asphalt);
}
.form-status:empty {
  display: none;
}
.js-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ---------- Внутренние страницы: 404, политика ---------- */
.page {
  background: var(--paper);
}
.page-bar {
  border-bottom: 1px solid var(--line);
}
.page-bar .wrap {
  display: flex;
  align-items: center;
  height: 76px;
}
.page-bar .logo {
  color: var(--ink);
}
.page-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding-top: 48px;
  padding-bottom: 96px;
}
.page-404 h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
}
.page-404 p {
  color: var(--muted);
}
.page-404 .btn {
  margin-top: 12px;
}
.page-code {
  font-size: 15px;
  letter-spacing: 0.04em;
}
.prose {
  max-width: 760px;
  padding-top: 72px;
  padding-bottom: 96px;
}
.prose h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}
.prose-meta {
  color: var(--muted);
  margin-top: 8px;
}
.prose h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.prose p {
  color: var(--muted);
  margin-bottom: 12px;
}
.prose p a:not(.btn) {
  color: var(--asphalt);
}
.prose .btn {
  margin-top: 32px;
}

/* ---------- Плавающая кнопка WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: var(--asphalt);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(21, 24, 27, 0.28);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s,
    background-color 0.2s;
}
.wa-float.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wa-float:hover {
  background: var(--asphalt-2);
}
@media (max-width: 480px) {
  .wa-float {
    left: 16px;
    right: 16px;
    justify-content: center;
  }
}

/* ---------- Анимация сети принципов ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-anim .net-lines line {
    opacity: 0;
    transition: opacity 0.7s ease;
  }
  .js-anim .net-nodes li {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }
  .js-anim .net.is-in .net-lines line {
    opacity: 1;
  }
  .js-anim .net.is-in .net-nodes li {
    opacity: 1;
    transform: none;
  }
  .net-nodes li::before {
    animation: node-pulse 3.6s ease-in-out infinite;
  }
  .net-nodes li:nth-child(2)::before {
    animation-delay: 0.9s;
  }
  .net-nodes li:nth-child(3)::before {
    animation-delay: 1.8s;
  }
  .net-nodes li:nth-child(4)::before {
    animation-delay: 2.7s;
  }
  @keyframes node-pulse {
    50% {
      box-shadow:
        0 0 0 10px rgba(255, 255, 255, 0.06),
        0 0 40px 12px rgba(255, 255, 255, 0.6);
    }
  }
}
