:root {
  --bg: #0a0a0c;
  --bg-soft: #101013;
  --bg-cool: #0d0f13;
  --card: #15151a;
  --card-border: rgba(234, 140, 47, 0.30);
  --text: #f3efe9;
  --muted: #9c958c;
  --orange: #f0962f;
  --yellow: #f2ab3c;
  --dark-yellow: #c2780a;
  --accent-soft: #f5c76a;
  --accent-bg: rgba(234, 140, 47, 0.14);
  --accent-bg-strong: rgba(234, 140, 47, 0.24);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(234, 140, 47, 0.12);
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 16px 40px rgba(234, 140, 47, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
  background:
    radial-gradient(circle at 12% 0%, rgba(234, 140, 47, 0.11), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(96, 145, 210, 0.08), transparent 28rem),
    radial-gradient(circle at 50% 100%, rgba(234, 140, 47, 0.05), transparent 40rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.section-pad.compact {
  padding: 30px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1160px) / 2));
  padding-top: max(18px, env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 15, 0.82);
  backdrop-filter: blur(18px);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(12, 12, 15, 0.94);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  display: block;
  width: auto;
  height: 58px;
  filter: drop-shadow(0 4px 14px rgba(234, 140, 47, 0.18));
}

.logo-footer .logo-image {
  height: 52px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.footer-links a {
  transition: color 0.2s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--yellow);
}

.nav a.is-active {
  color: var(--text);
  font-weight: 700;
}

.header-cta {
  padding: 12px 18px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  background: var(--accent-bg);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.header-cta:hover {
  background: var(--accent-bg-strong);
  border-color: rgba(234, 140, 47, 0.32);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}

.hero.has-section-deco .hero-bg,
.hero.has-section-deco .container {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(234, 140, 47, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 140, 47, 0.06) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 7px 14px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--accent-bg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.hero-text,
.muted,
.card p,
.step p,
.delivery-card p,
.footer p,
.final-card p {
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fffaf2;
  background: linear-gradient(135deg, var(--orange), var(--dark-yellow));
  box-shadow: var(--shadow-accent);
}

.button.secondary {
  border: 1px solid var(--card-border);
  color: var(--text);
  background: var(--surface);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.hero-stats strong {
  display: block;
  font-size: 26px;
  color: var(--yellow);
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 12px;
  color: var(--yellow);
  background: var(--accent-bg);
}

.stat-icon .ico {
  width: 20px;
  height: 20px;
}

.hero-card {
  position: relative;
}

.hero-card::before {
  position: absolute;
  inset: -28px;
  content: "";
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(234, 140, 47, 0.14), rgba(96, 145, 210, 0.08));
  filter: blur(16px);
}

.route-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--card-border);
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(234, 140, 47, 0.06)),
    var(--card);
  box-shadow: var(--shadow);
}

.route-card::after {
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  content: "";
  border-radius: 50%;
  background: rgba(234, 140, 47, 0.12);
  filter: blur(6px);
}

.logistics-stage {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 220px;
  margin: 0 0 22px;
  border: 1px solid rgba(234, 140, 47, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 16%, rgba(234, 140, 47, 0.16), transparent 15rem),
    radial-gradient(circle at 18% 84%, rgba(96, 145, 210, 0.12), transparent 14rem),
    linear-gradient(160deg, #17171c, #0e0f13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  isolation: isolate;
  contain: layout style;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 140, 47, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 140, 47, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.truck-road {
  position: absolute;
  right: 0;
  bottom: 52px;
  left: 0;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(234, 140, 47, 0.12), rgba(234, 140, 47, 0.38), rgba(96, 145, 210, 0.12));
}

.road-markings {
  position: absolute;
  inset: -7px 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 28px,
    rgba(234, 140, 47, 0.55) 28px 42px,
    transparent 42px 70px
  );
  animation: roadMove 0.9s linear infinite;
}

.premium-truck {
  position: absolute;
  z-index: 2;
  bottom: 58px;
  left: -240px;
  width: 236px;
  height: 96px;
  animation: truckDriveLoop 6.5s linear infinite;
  animation-play-state: running;
  filter: drop-shadow(0 18px 28px rgba(234, 140, 47, 0.16));
  will-change: left;
}

.trailer {
  position: absolute;
  left: 0;
  bottom: 28px;
  display: grid;
  width: 150px;
  height: 58px;
  align-content: center;
  padding-left: 18px;
  border: 1px solid rgba(234, 140, 47, 0.22);
  border-radius: 12px 6px 6px 12px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(234, 140, 47, 0.08), transparent 42%),
    linear-gradient(160deg, #fffdf9, #fff4e6);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    0 14px 28px rgba(234, 140, 47, 0.1);
}

.trailer strong {
  color: var(--text);
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.trailer span {
  margin-top: 4px;
  color: var(--yellow);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.cab {
  position: absolute;
  right: 12px;
  bottom: 28px;
  width: 78px;
  height: 50px;
  border-radius: 8px 18px 8px 6px;
  border: 1px solid rgba(234, 140, 47, 0.35);
  background: linear-gradient(135deg, var(--accent-soft), var(--orange));
}

.cab::before {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 17px;
  content: "";
  border-radius: 4px;
  background: rgba(46, 43, 39, 0.72);
}

.cab i {
  position: absolute;
  right: -6px;
  bottom: 8px;
  width: 16px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.9);
}

.truck-base {
  position: absolute;
  right: 4px;
  bottom: 20px;
  left: -4px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4a4038, #2e2b27);
}

.truck-wheel {
  position: absolute;
  bottom: 3px;
  width: 30px;
  height: 30px;
  border: 8px solid #3d3832;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0 28%, #3d3832 30% 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.28);
  animation: wheelSpin 0.55s linear infinite;
}

.wheel-a {
  left: 26px;
}

.wheel-b {
  left: 152px;
}

.wheel-c {
  right: 20px;
}

.smoke {
  position: absolute;
  left: -18px;
  bottom: 12px;
  width: 24px;
  height: 14px;
  border-radius: 999px;
  background: rgba(234, 140, 47, 0.14);
  filter: blur(1px);
  animation: smokeTrail 1s ease-out infinite;
}

.smoke-two {
  animation-delay: 0.34s;
}

.road {
  position: relative;
  z-index: 1;
  height: 210px;
  margin: 80px 0 44px;
  border-bottom: 6px solid rgba(234, 140, 47, 0.18);
}

.road::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 4px;
  content: "";
  background: repeating-linear-gradient(
    90deg,
    rgba(234, 140, 47, 0.45) 0 42px,
    transparent 42px 74px
  );
  animation: roadMove 1.1s linear infinite;
}

.truck {
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 270px;
  height: 116px;
  animation: truckDrive 5.2s ease-in-out infinite;
}

.truck-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 18px 30px rgba(234, 140, 47, 0.12));
}

.svg-wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheelSpin 0.65s linear infinite;
}

.route-card p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.65;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.trust-strip span:hover {
  border-color: var(--card-border);
  color: var(--text);
  background: var(--accent-bg);
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card,
.delivery-card,
.review-link,
.payment-box,
.final-card,
.step {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(14px);
}

.card {
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border);
  box-shadow: 0 14px 36px rgba(234, 140, 47, 0.08);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 44px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  color: var(--yellow);
  background: var(--accent-bg);
}

.card-icon .ico {
  width: 22px;
  height: 22px;
}

.card h3,
.cargo-card strong,
.platform-card span,
.social-card strong {
  text-wrap: balance;
}

.cargo-grid,
.why-grid {
  display: grid;
  gap: 18px;
}

.cargo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cargo-card,
.why-grid div {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.cargo-card {
  display: grid;
  min-height: 250px;
  grid-template-rows: auto minmax(64px, auto) 1fr;
  padding: 26px;
}

.cargo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  color: var(--yellow);
  background: var(--accent-bg);
}

.cargo-icon .ico {
  width: 22px;
  height: 22px;
}

.cargo-card strong {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cargo-card p,
.why-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.why-box {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: start;
}

.why-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-grid div {
  padding: 26px;
}

.why-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  color: var(--yellow);
  background: var(--accent-bg);
}

.feature-icon .ico {
  width: 22px;
  height: 22px;
}

.alt {
  background:
    linear-gradient(180deg, rgba(234, 140, 47, 0.05), transparent),
    var(--bg-soft);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  display: grid;
  min-height: 260px;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border);
  background: var(--surface-hover);
}

.platform-card.featured {
  border-color: var(--card-border);
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 140, 47, 0.12), transparent 14rem),
    var(--accent-bg);
}

.platform-logo {
  display: grid;
  min-height: 72px;
  place-items: center;
  border: 1px solid rgba(234, 140, 47, 0.2);
  border-radius: 20px;
  color: #fffaf2;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--accent-soft), var(--orange));
  box-shadow: 0 16px 34px rgba(234, 140, 47, 0.16);
}

.platform-card span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.platform-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-hover);
  text-align: center;
}

.platform-note strong {
  color: var(--text);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

/* Левый блок-заголовок «Как проходит заказ» — прижат вверх и держится при скролле,
   чтобы не висел в пустоте напротив длинного списка шагов. */
.split > :first-child {
  position: sticky;
  top: 100px;
  align-self: start;
  max-width: 460px;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
}

.step-badge {
  display: grid;
  gap: 1px;
  width: 48px;
  height: 48px;
  place-items: center;
  align-content: center;
  border-radius: 14px;
  color: #fffaf2;
  background: linear-gradient(135deg, var(--accent-soft), var(--orange));
}

.step-badge em {
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.step-badge .ico {
  width: 16px;
  height: 16px;
  stroke: #fffaf2;
}

.step p {
  margin-bottom: 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.delivery-cards {
  display: grid;
  gap: 16px;
}

.delivery-card {
  display: grid;
  position: relative;
  overflow: hidden;
  grid-template-rows: auto auto 1fr;
  min-height: 196px;
  padding: 26px;
  border-radius: 28px;
}

.delivery-card.accent {
  border-color: var(--card-border);
  background: linear-gradient(135deg, var(--accent-bg-strong), rgba(96, 145, 210, 0.06));
}

.delivery-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.delivery-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 42px;
  letter-spacing: -0.05em;
}

.delivery-card p {
  margin-bottom: 0;
  text-wrap: pretty;
}

.rates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.rate-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rate-card,
.packing-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
}

.rate-card {
  display: grid;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  grid-template-rows: auto auto auto 1fr;
  padding: 28px;
}

.rate-card.featured {
  border-color: var(--card-border);
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 140, 47, 0.14), transparent 16rem),
    var(--accent-bg);
}

.packing-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  color: var(--yellow);
  background: var(--accent-bg);
}

.packing-icon .ico {
  width: 22px;
  height: 22px;
}

.rate-card span,
.packing-card > span:not(.packing-icon) {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.packing-card > span:not(.packing-icon) {
  display: block;
}

.rate-card strong {
  display: block;
  margin: 34px 0 8px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.rate-card small,
.cdek-table small {
  display: block;
  color: var(--yellow);
  font-weight: 800;
}

.rate-card small {
  min-height: 22px;
  margin-bottom: 30px;
  font-size: 15px;
}

.rate-card p,
.packing-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cdek-box {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
}

.cdek-box h3 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.cdek-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.cdek-table div {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  min-height: 150px;
  align-content: center;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: var(--surface-hover);
}

.cdek-table span,
.cdek-table strong,
.cdek-table small {
  text-wrap: balance;
}

.cdek-table div:last-child {
  border-right: 0;
}

.cdek-table .highlight {
  background: linear-gradient(135deg, rgba(234, 140, 47, 0.14), rgba(245, 199, 106, 0.08));
}

.cdek-table span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cdek-table strong {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.cdek-table small {
  font-size: 14px;
}

.packing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.packing-card {
  display: grid;
  min-height: 310px;
  grid-template-rows: auto minmax(72px, auto) 1fr auto;
  padding: 28px;
}

.packing-card h3 {
  align-self: start;
  margin: 20px 0 0;
  line-height: 1.12;
}

.packing-card > strong {
  display: block;
  margin-top: 24px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.packing-card > strong small {
  display: block;
  margin-top: 8px;
  color: var(--yellow);
  font-size: 15px;
  letter-spacing: 0;
}

.price-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.price-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.price-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.price-list strong {
  color: var(--text);
  font-size: 14px;
  white-space: nowrap;
}

.handling-box {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
}

.handling-box h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.handling-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.handling-table div {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 8px;
  min-height: 140px;
  align-content: center;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: var(--surface-hover);
}

.handling-table span,
.handling-table strong,
.handling-table small {
  text-wrap: balance;
}

.handling-table div:last-child {
  border-bottom: 0;
  border-right: 0;
}

.handling-table span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.handling-table strong {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.handling-table small {
  color: var(--muted);
  line-height: 1.45;
}

.payment-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 38px;
  border-radius: 34px;
}

.payment-list p {
  margin: 0;
  padding: 16px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.payment-list p:last-child {
  border-bottom: 0;
}

.payment-list strong {
  color: var(--text);
}

.reviews {
  text-align: center;
}

.reviews .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.reviews .section-heading > * {
  margin: 0;
}

.reviews .section-heading h2 {
  line-height: 1.12;
  text-wrap: wrap;
}

.reviews .section-heading .muted {
  max-width: 36rem;
}

.review-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  width: min(100%, 860px);
}

.review-link {
  display: grid;
  grid-template-rows: auto auto minmax(72px, auto) auto;
  align-content: start;
  gap: 0;
  width: 100%;
  min-height: 196px;
  padding: 28px 26px;
  border-color: var(--card-border);
  border-radius: 30px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(234, 140, 47, 0.14), rgba(255, 255, 255, 0.04)),
    var(--card);
  transition: transform 0.2s ease;
}

.review-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.review-icon .ico {
  width: 28px;
  height: 28px;
  color: var(--yellow);
}

.review-link:hover {
  transform: translateY(-4px);
}

.review-link span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-link strong {
  display: block;
  margin: 14px 0 10px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: wrap;
}

.review-link em {
  color: var(--yellow);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.social-card {
  display: grid;
  grid-template-rows: auto minmax(72px, auto) 1fr;
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.social-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border);
  background: var(--surface-hover);
}

.social-card.main {
  border-color: var(--card-border);
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 140, 47, 0.12), transparent 16rem),
    var(--accent-bg);
}

.social-card span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-card strong {
  display: block;
  align-self: start;
  margin: 18px 0 0;
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.social-card p {
  align-self: start;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.final-cta {
  padding-top: 40px;
}

.final-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 44px;
  border-color: var(--card-border);
  border-radius: 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 140, 47, 0.14), transparent 22rem),
    linear-gradient(135deg, rgba(234, 140, 47, 0.08), rgba(96, 145, 210, 0.05));
}

.contact-actions {
  justify-content: flex-end;
}

.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft), #060607);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer p {
  max-width: 360px;
  margin: 18px 0 0;
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
  color: var(--muted);
}

.footer-links strong {
  color: var(--text);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico-xs {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.ico-sm {
  width: 18px;
  height: 18px;
}

.heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  color: var(--yellow);
  background: var(--accent-bg);
}

.heading-icon .ico {
  width: 24px;
  height: 24px;
}

.section-heading .heading-icon {
  margin-left: auto;
  margin-right: auto;
}

.section-heading.left .heading-icon {
  margin-left: 0;
}

.has-section-deco {
  position: relative;
  overflow: hidden;
}

.has-section-deco > .container,
.has-section-deco > .hero-bg {
  position: relative;
  z-index: 1;
}

.section-deco {
  position: absolute;
  z-index: 0;
  width: clamp(110px, 16vw, 190px);
  height: clamp(110px, 16vw, 190px);
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.09;
  pointer-events: none;
}

.section-deco--plane {
  top: 8%;
  right: 6%;
  transform: rotate(-12deg);
}

.section-deco--box {
  bottom: 10%;
  left: 4%;
  transform: rotate(8deg);
  opacity: 0.07;
}

.section-deco--truck {
  top: 12%;
  right: 5%;
  transform: rotate(6deg);
}

.section-deco--shield {
  bottom: 8%;
  right: 7%;
  transform: rotate(-6deg);
}

.section-deco--globe {
  top: 10%;
  left: 5%;
  transform: rotate(-10deg);
}

.section-deco--route {
  bottom: 12%;
  left: 6%;
  opacity: 0.08;
}

.section-deco--clock {
  top: 14%;
  right: 8%;
}

.section-deco--wallet {
  bottom: 10%;
  left: 5%;
}

.section-deco--tape {
  top: 8%;
  right: 6%;
}

.section-deco--star {
  top: 10%;
  left: 7%;
}

.section-deco--chat {
  bottom: 12%;
  right: 6%;
}

.card-deco {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.22;
  pointer-events: none;
}

/* Scroll reveal */
html.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

html.js-ready .reveal-up:not(.is-visible) {
  transform: translateY(28px);
}

html.js-ready .reveal-left:not(.is-visible) {
  transform: translateX(-32px);
}

html.js-ready .reveal-right:not(.is-visible) {
  transform: translateX(32px);
}

html.js-ready .reveal-scale:not(.is-visible) {
  transform: scale(0.94) translateY(20px);
}

html.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.js-ready .has-section-deco .section-deco {
  opacity: 0;
  scale: 0.88;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    scale 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .has-section-deco.is-section-visible .section-deco {
  opacity: 0.09;
  scale: 1;
}

html.js-ready .has-section-deco.is-section-visible .section-deco--box {
  opacity: 0.07;
}

html.js-ready .has-section-deco.is-section-visible .section-deco--route {
  opacity: 0.08;
}

html.js-ready .has-section-deco.is-section-visible .section-deco--plane {
  animation: decoFloat 7s ease-in-out infinite;
}

html.js-ready .has-section-deco.is-section-visible .section-deco--box {
  animation: decoFloat 8s ease-in-out infinite reverse;
}

html.js-ready .has-section-deco.is-section-visible .section-deco--truck {
  animation: decoFloat 6.5s ease-in-out infinite;
}

html.js-ready .has-section-deco.is-section-visible .section-deco--globe {
  animation: decoSpin 18s linear infinite;
}

html.js-ready .has-section-deco.is-section-visible .section-deco--route,
html.js-ready .has-section-deco.is-section-visible .section-deco--shield,
html.js-ready .has-section-deco.is-section-visible .section-deco--clock,
html.js-ready .has-section-deco.is-section-visible .section-deco--wallet,
html.js-ready .has-section-deco.is-section-visible .section-deco--tape,
html.js-ready .has-section-deco.is-section-visible .section-deco--star,
html.js-ready .has-section-deco.is-section-visible .section-deco--chat {
  animation: decoFloat 7.5s ease-in-out infinite;
}

.card:hover,
.platform-card:hover,
.social-card:hover,
.review-link:hover,
.cargo-card:hover,
.delivery-card:hover,
.rate-card:hover,
.packing-card:hover {
  box-shadow: 0 18px 44px rgba(234, 140, 47, 0.1);
}

@keyframes decoFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes decoSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js-ready .reveal:not(.is-visible),
  html.js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.js-ready .has-section-deco .section-deco,
  html.js-ready .has-section-deco.is-section-visible .section-deco {
    opacity: 0.09;
    transform: none;
    animation: none;
  }

  .card:hover,
  .platform-card:hover,
  .social-card:hover,
  .review-link:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logistics-stage .road-markings,
  .logistics-stage .truck-wheel,
  .logistics-stage .smoke {
    animation: none !important;
  }
}

@keyframes truckDrive {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  45% {
    transform: translateX(calc(min(320px, 100vw - 330px))) translateY(-2px);
  }
  50% {
    transform: translateX(calc(min(320px, 100vw - 330px))) translateY(0);
  }
}

@keyframes wheelSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes roadMove {
  to {
    background-position-x: -74px;
  }
}

@keyframes truckDriveLoop {
  0% {
    left: -240px;
  }
  100% {
    left: 105%;
  }
}

@keyframes smokeTrail {
  0% {
    opacity: 0;
    transform: translateX(0) scale(0.5);
  }
  20% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateX(-28px) translateY(-10px) scale(1.6);
  }
}

@media (max-width: 980px) {
  html {
    scroll-behavior: auto;
  }

  body {
    background: var(--bg);
  }

  html.js-ready .reveal,
  html.js-ready .reveal:not(.is-visible),
  html.js-ready .reveal.is-visible,
  html.js-ready .reveal-scale:not(.is-visible),
  html.js-ready .reveal-up:not(.is-visible),
  html.js-ready .reveal-left:not(.is-visible),
  html.js-ready .reveal-right:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  html.js-ready .has-section-deco .section-deco,
  html.js-ready .has-section-deco.is-section-visible .section-deco,
  .section-deco {
    display: none !important;
  }

  .has-section-deco {
    overflow: visible !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .card,
  .delivery-card,
  .review-link,
  .payment-box,
  .final-card,
  .step,
  .social-card,
  .platform-card,
  .cargo-card,
  .rate-card,
  .packing-card,
  .route-card,
  .site-header,
  .trust-strip span,
  .logo-image {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    contain: none;
  }

  .trust-strip span {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
    opacity: 1 !important;
  }

  h1,
  h2,
  .hero-text,
  .muted,
  .card p,
  .step p,
  .delivery-card p,
  .footer p,
  .final-card p,
  .platform-card p,
  .rate-card p,
  .packing-card p,
  .social-card p {
    text-wrap: wrap;
  }

  h1 {
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: -0.05em;
  }

  h2 {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.6;
  }

  #reviews.has-section-deco {
    overflow: visible;
  }

  .review-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: auto;
    padding: 24px 20px;
    transform: none !important;
  }

  .review-link strong {
    margin: 8px 0 6px;
    font-size: 22px;
  }

  .review-actions {
    gap: 14px;
  }

  .payment-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .hero {
    overflow: visible;
  }

  .hero-bg,
  .hero .section-deco {
    display: none;
  }

  .hero-card::before,
  .route-card::after {
    display: none;
  }

  .logistics-stage {
    display: none;
  }

  .route-card {
    min-height: auto;
    padding: 22px 20px;
  }

  .route-card p {
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    display: none;
  }

  .hero-grid,
  .split,
  .delivery-grid,
  .rates-grid,
  .cdek-box,
  .handling-box,
  .payment-box,
  .final-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cargo-grid,
  .why-box {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .packing-grid {
    grid-template-columns: 1fr;
  }

  .review-actions {
    grid-template-columns: 1fr;
  }

  .cdek-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cdek-table div:nth-child(2) {
    border-right: 0;
  }

  .cdek-table div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 56px 0;
  }

  .section-pad.compact {
    padding: 24px 0;
  }

  .site-header {
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top, 0px));
  }

  .logo-image {
    height: 46px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.04em;
  }

  h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .hero-text {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .trust-strip {
    gap: 8px;
  }

  .trust-strip span {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 13px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  /* На телефоне выравниваем все заголовки секций по центру (иначе часть слева, часть по центру — выглядит криво) */
  .section-heading.left {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .section-heading.left .heading-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .container {
    width: min(1160px, calc(100% - 24px));
  }

  .footer {
    padding-bottom: max(44px, calc(24px + env(safe-area-inset-bottom, 0px)));
  }

  .hero-stats,
  .cards-grid,
  .cargo-grid,
  .why-grid,
  .platform-grid,
  .rate-cards,
  .cdek-table,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .cdek-table div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cdek-table div:last-child {
    border-bottom: 0;
  }

  .handling-table {
    grid-template-columns: 1fr;
  }

  .handling-table div,
  .handling-table div:nth-child(2n),
  .handling-table div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .handling-table div:last-child {
    border-bottom: 0;
  }

  .route-card {
    min-height: 260px;
    padding: 22px;
  }

  .road {
    margin-top: 54px;
  }

  .truck {
    transform: scale(0.86);
    transform-origin: left bottom;
    animation-name: truckDriveMobile;
  }

  .logistics-stage {
    height: 200px;
  }

  .premium-truck {
    width: 214px;
    animation-duration: 5.5s;
  }

  @keyframes truckDriveLoop {
    0% {
      left: -220px;
    }
    100% {
      left: 105%;
    }
  }

  .button {
    width: 100%;
  }

  .payment-box,
  .final-card {
    padding: 26px;
  }
}

@keyframes truckDriveMobile {
  0%,
  100% {
    transform: scale(0.86) translateX(0);
  }
  45%,
  50% {
    transform: scale(0.86) translateX(calc(100vw - 330px));
  }
}
