/* ============================================================
   S-PACK · Фулфилмент-склад для маркетплейсов
   Дизайн-система · корпоративный цвет: сиреневый / лиловый
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --violet-700: #5226e0;
  --violet-600: #6d4aff;
  --violet-500: #8b6cff;
  --violet-400: #a78bfa;
  --lilac-300: #c8bcff;
  --lilac-200: #e1dbff;
  --lilac-100: #efebff;
  --lilac-50:  #f7f5ff;

  --ink:    #17122e;
  --ink-2:  #221c44;
  --text:   #2d2850;
  --muted:  #6f698c;
  --line:   rgba(109, 74, 255, .14);
  --white:  #ffffff;

  --grad: linear-gradient(135deg, #8b6cff 0%, #6d4aff 55%, #5226e0 100%);
  --grad-soft: linear-gradient(135deg, #f4f1ff 0%, #ece6ff 100%);

  --shadow-sm: 0 4px 14px rgba(40, 21, 110, .07);
  --shadow:    0 18px 44px -18px rgba(50, 26, 130, .26);
  --shadow-lg: 0 40px 80px -28px rgba(48, 24, 120, .42);
  --shadow-violet: 0 18px 40px -12px rgba(109, 74, 255, .55);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Unbounded', 'Manrope', sans-serif;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -.012em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--violet-400); color: #fff; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--violet-600); color: #fff;
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  z-index: 200; transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

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

.section {
  padding: clamp(64px, 9vw, 124px) 0;
  position: relative;
}
.section--tint { background: var(--grad-soft); }
.section[id], .hero[id] { scroll-margin-top: 86px; }

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 68px);
  text-align: center;
}
.section__tag {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-600);
  background: var(--lilac-100);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section__tag--light { background: rgba(255,255,255,.12); color: var(--lilac-200); }
.section__tag--brand {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -.01em;
  font-size: 13px;
}
.section__title { font-size: clamp(28px, 4vw, 46px); }
.section__sub {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18.5px);
}
.section__head--light .section__title { color: #fff; }
.section__head--light .section__sub { color: rgba(255,255,255,.74); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--violet-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: 11px 20px; font-size: 14.5px; }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-violet);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -12px rgba(109, 74, 255, .62);
}
.btn--ghost {
  background: transparent;
  border-color: var(--lilac-300);
  color: var(--violet-700);
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--violet-500);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(-1px) scale(.99); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.header.is-scrolled {
  box-shadow: 0 10px 34px -20px rgba(40, 21, 110, .4);
  border-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark {
  display: grid; place-items: center;
  filter: drop-shadow(0 6px 14px rgba(109, 74, 255, .4));
  transition: transform .3s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--ink);
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo__text small {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--violet-500);
}
.logo--light .logo__text { color: #fff; }

.nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav a {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
  padding: 9px 14px;
  border-radius: 999px;
  position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--violet-700); background: var(--lilac-100); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__phone {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.header__phone:hover { color: var(--violet-600); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: none; background: var(--lilac-100);
  border-radius: 13px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 21px; height: 2.4px;
  background: var(--violet-700);
  border-radius: 3px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 9vw, 120px);
  background: linear-gradient(180deg, var(--lilac-50) 0%, #fff 78%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.blob--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #a78bfa, transparent 68%);
  top: -160px; right: -120px;
}
.blob--2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #c8bcff, transparent 68%);
  bottom: -180px; left: -140px;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(109,74,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,74,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 35%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--violet-700);
  margin-bottom: 24px;
}
.eyebrow__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--violet-500);
  box-shadow: 0 0 0 4px rgba(139, 108, 255, .22);
}

.hero__title {
  font-size: clamp(33px, 5vw, 60px);
  font-weight: 800;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 540px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.hero__trust svg { color: var(--violet-600); flex-shrink: 0; }

/* Hero visual */
.hero__visual { position: relative; }
.hero__photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(109, 74, 255, .3), rgba(109, 74, 255, 0) 48%),
    linear-gradient(0deg, rgba(23, 18, 46, .42), transparent 40%);
}

.hcard {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.badge--live { background: rgba(34, 197, 94, .14); color: #15803d; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hcard__route {
  display: flex;
  align-items: center;
  margin: 13px 0;
}
.route__node {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--lilac-200);
  flex-shrink: 0;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 1.5px var(--lilac-200);
}
.route__node.done { background: var(--violet-600); box-shadow: 0 0 0 1.5px var(--violet-600); }
.route__node.now {
  background: var(--violet-500);
  box-shadow: 0 0 0 1.5px var(--violet-500), 0 0 0 5px rgba(139, 108, 255, .22);
}
.route__line { flex: 1; height: 3px; background: var(--lilac-200); }
.route__line.done { background: var(--violet-600); }

.hcard--float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
}
.hcard--mp {
  top: 26px; left: -38px;
  padding: 13px 17px;
  animation: floaty 6s ease-in-out infinite;
}
.hcard--mp .mp-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 12.5px;
  color: #fff;
  border: 2.5px solid #fff;
  margin-right: -12px;
}
.mp-dot--wb { background: linear-gradient(135deg, #cb11ab, #7a1fa2); }
.mp-dot--oz { background: linear-gradient(135deg, #3a7dff, #0a4fd6); }
.mp-dot--ya { background: linear-gradient(135deg, #ffcc00, #ff9000); color: #3a2a00; }
.hcard--mp__text {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-left: 20px;
}
.hcard--ship {
  flex-direction: column;
  align-items: stretch;
  left: 7%; right: 7%;
  bottom: -32px;
  padding: 15px 18px;
  animation: floaty 7s ease-in-out infinite .7s;
}
.hcard--ship__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hcard--ship__id {
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.hcard--ship__step {
  font-size: 13px;
  font-weight: 700;
  color: var(--violet-700);
}
@keyframes floaty {
  50% { transform: translateY(-13px); }
}

/* ---------- Marketplaces strip ---------- */
.mp-strip {
  background: var(--ink);
  padding: 38px 0 84px;
}
.mp-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.mp-strip__label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  max-width: 230px;
}
.mp-strip__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  flex-wrap: wrap;
}
.mp-logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,.46);
  letter-spacing: -.01em;
  transition: color .25s var(--ease), transform .25s var(--ease);
  cursor: default;
}
.mp-logo:hover { transform: translateY(-2px); }
.mp-logo--wb:hover { color: #d670ff; }
.mp-logo--oz:hover { color: #5b95ff; }
.mp-logo--ya:hover { color: #ffd23f; }
.mp-logo--mm:hover { color: #4be0a0; }

/* ---------- Stats ---------- */
.stats {
  margin-top: -56px;
  position: relative;
  z-index: 5;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px);
}
.stat { text-align: center; position: relative; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px; top: 12%;
  height: 76%; width: 1px;
  background: var(--line);
}
.stat__num {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 50px);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--lilac-300);
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--grad-soft);
  color: var(--violet-600);
  margin-bottom: 20px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card:hover .service-card__icon {
  background: var(--grad);
  color: #fff;
}
.service-card h3 { font-size: 19px; margin-bottom: 9px; }
.service-card p { font-size: 14.7px; color: var(--muted); }

.service-card--accent {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.service-card--accent h3 { color: #fff; }
.service-card--accent p { color: rgba(255,255,255,.82); }
.service-card--accent .service-card__icon {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.service-card--accent:hover .service-card__icon { background: rgba(255,255,255,.24); }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
}
.service-card__link svg { transition: transform .2s var(--ease); }
.service-card__link:hover svg { transform: translateX(4px); }

/* ---------- Advantages ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.adv-card--wide { grid-column: span 2; }
.adv-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.adv-card__num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--violet-500);
  background: var(--lilac-100);
  border-radius: 10px;
  padding: 6px 11px;
  display: inline-block;
}
.adv-card:not(.adv-card--wide) .adv-card__num { margin-bottom: 14px; }
.adv-card h3 { font-size: 20px; }
.adv-card p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.adv-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.adv-card__chips span {
  font-size: 13px;
  font-weight: 600;
  color: var(--violet-700);
  background: var(--lilac-50);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
}

/* ---------- Warehouse gallery (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.bento__tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bento__tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento__tile--xl { grid-column: span 2; grid-row: span 2; }
.bento__tile--wide { grid-column: span 2; }
.bento__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.bento__tile:hover img { transform: scale(1.07); }
.bento__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 18, 46, 0) 42%, rgba(23, 18, 46, .82));
}
.bento__tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 20px;
}
.bento__cap-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(109, 74, 255, .92);
  padding: 6px 13px;
  border-radius: 999px;
}
.bento__cap-text {
  color: #fff;
  font-weight: 700;
  font-size: clamp(14.5px, 1.5vw, 17.5px);
  line-height: 1.32;
  max-width: 340px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

@media (max-width: 820px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 186px; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 224px; }
  .bento__tile--xl,
  .bento__tile--wide { grid-column: span 1; }
  .bento__tile--xl { grid-row: span 1; }
}

/* ---------- Statement band (parallax) ---------- */
.band {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.band__bg {
  position: absolute;
  inset: 0;
  background: url("../img/band-logistics.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
.band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(34, 21, 90, .84), rgba(23, 18, 46, .9));
}
.band__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(72px, 12vw, 148px) 24px;
}
.band__title {
  color: #fff;
  font-size: clamp(27px, 4vw, 46px);
  margin: 16px 0;
}
.band__text {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(16px, 1.7vw, 18.5px);
}
@media (hover: none), (max-width: 820px) {
  .band__bg { background-attachment: scroll; }
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process__step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.process__step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px; right: -13px;
  width: 26px; height: 2px;
  background: var(--lilac-300);
  z-index: 2;
}
.process__num {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 21px;
  box-shadow: var(--shadow-violet);
  margin-bottom: 18px;
}
.process__step h3 { font-size: 17.5px; margin-bottom: 7px; }
.process__step p { font-size: 14px; color: var(--muted); }

/* ---------- Pricing (dark) ---------- */
.section--dark {
  background:
    radial-gradient(900px 420px at 85% -5%, rgba(139,108,255,.34), transparent 60%),
    radial-gradient(700px 380px at 5% 105%, rgba(82,38,224,.4), transparent 60%),
    var(--ink);
}
.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  position: relative;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease);
}
.price-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.08);
  border-color: rgba(167,139,250,.5);
}
.price-card__icon { font-size: 30px; }
.price-card h3 { color: #fff; font-size: 19px; margin: 14px 0 12px; }
.price-card__value {
  font-size: 15px;
  color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.price-card__value b {
  font-family: 'Unbounded', sans-serif;
  font-size: 30px;
  color: #fff;
}
.price-card__value span { display: block; margin-top: 2px; }
.price-card p { font-size: 14px; color: rgba(255,255,255,.62); }

.price-card--featured {
  background: linear-gradient(180deg, rgba(139,108,255,.28), rgba(139,108,255,.06));
  border-color: rgba(167,139,250,.55);
}
.price-card__badge {
  position: absolute;
  top: -13px; left: 26px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-violet);
}
.pricing__cta {
  margin-top: 44px;
  text-align: center;
}
.pricing__cta p {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---------- Reviews ---------- */
.reviews {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 4px 20px;
  margin-inline: -4px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--violet-400) var(--lilac-200);
  -webkit-overflow-scrolling: touch;
}
.reviews.is-dragging { cursor: grabbing; user-select: none; }
.reviews::-webkit-scrollbar { height: 8px; }
.reviews::-webkit-scrollbar-track {
  background: var(--lilac-200);
  border-radius: 999px;
}
.reviews::-webkit-scrollbar-thumb {
  background: var(--violet-400);
  border-radius: 999px;
}
.reviews::-webkit-scrollbar-thumb:hover { background: var(--violet-500); }
.review {
  flex: 0 0 clamp(280px, 80vw, 358px);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review__stars { color: #ffb020; font-size: 17px; letter-spacing: 2px; }
.review blockquote {
  margin: 16px 0 22px;
  font-size: 15.5px;
  color: var(--text);
  flex: 1;
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  flex-shrink: 0;
}
.review__person { display: flex; flex-direction: column; line-height: 1.4; }
.review__person b { color: var(--ink); font-size: 15.5px; }
.review__person small { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq__layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.faq__intro { position: sticky; top: 104px; }
.faq__intro .section__tag { margin-bottom: 14px; }
.faq__intro .section__title { font-size: clamp(26px, 3.4vw, 38px); }
.faq__intro .section__sub { margin-bottom: 24px; }

.faq__list { display: grid; gap: 13px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] {
  border-color: var(--lilac-300);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  background: var(--violet-600);
  border-radius: 2px;
  transition: transform .28s var(--ease);
}
.faq__plus::before { top: 10px; left: 3px; width: 16px; height: 2.6px; }
.faq__plus::after  { top: 3px; left: 10px; width: 2.6px; height: 16px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__answer {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease);
}
.faq__item[open] .faq__answer { grid-template-rows: 1fr; }
.faq__answer > p {
  min-height: 0;
  padding: 0 22px 21px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- CTA / Contacts ---------- */
.section--cta {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(139,108,255,.4), transparent 60%),
    var(--ink-2);
}
.cta__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.cta__info .section__title { color: #fff; font-size: clamp(26px, 3.6vw, 40px); }
.cta__text {
  margin: 18px 0 28px;
  color: rgba(255,255,255,.74);
  font-size: 16.5px;
}
.cta__contacts { display: grid; gap: 14px; }
.cta__contacts li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cta__ic {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255,255,255,.08);
  color: var(--lilac-200);
  flex-shrink: 0;
}
.cta__contacts small {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.cta__contacts a {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  transition: color .2s var(--ease);
}
.cta__contacts a:hover { color: var(--lilac-300); }

.cta__form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-lg);
}
.cta__form-title { font-size: 23px; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}
.field__opt { color: var(--muted); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--lilac-50);
  font-size: 15.5px;
  transition: border-color .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #a59fbd; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(139,108,255,.14);
}
.field input.is-error,
.field select.is-error { border-color: #e5484d; background: #fff5f5; }

.cta__form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
.cta__form-success {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(34,197,94,.12);
  color: #15803d;
  font-weight: 700;
  font-size: 14.5px;
  text-align: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding: clamp(48px, 6vw, 76px) 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer__brand p {
  margin-top: 16px;
  font-size: 14.5px;
  max-width: 320px;
}
.footer__col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14.5px;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--lilac-300); }
.footer__addr { font-size: 14px; margin-top: 4px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13.5px;
}
.footer__made { color: rgba(255,255,255,.4); }

/* ---------- Floating buttons ---------- */
.float-tg {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #37bbfe, #007dbb);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(0, 125, 187, .7);
  z-index: 90;
  transition: transform .25s var(--ease);
  animation: floaty 5s ease-in-out infinite;
}
.float-tg:hover { transform: scale(1.1); }

.to-top {
  position: fixed;
  right: 24px; bottom: 92px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--violet-700);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease),
              visibility .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--violet-600); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Mobile nav panel ---------- */
@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    padding: 18px 24px 26px;
    box-shadow: 0 24px 40px -20px rgba(40,21,110,.4);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    margin-left: 0;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 14px; font-size: 16.5px; }
  .burger { display: flex; margin-left: auto; }
  .header__actions .btn { display: none; }
  .header__phone { font-size: 14.5px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .pricing  { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card--wide { grid-column: span 2; }
  .process  { grid-template-columns: repeat(2, 1fr); }
  .process__step:not(:last-child)::after { display: none; }
}

@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 460px; margin: 16px auto 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat:nth-child(2)::after { display: none; }
  .faq__layout { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .cta__layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .services, .pricing, .adv-grid, .process { grid-template-columns: 1fr; }
  .adv-card--wide { grid-column: span 1; }
  .stats { margin-top: -40px; }
  .stat:nth-child(odd)::after { display: none; }
  .mp-strip__inner { justify-content: center; text-align: center; }
  .mp-strip__label { max-width: none; }
  .hcard--mp { left: -6px; top: 14px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .section__head { margin-bottom: 38px; }
}

@media (max-width: 420px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .hero__trust { gap: 8px 14px; }
  .btn--lg { padding: 15px 24px; }
}

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

/* ---------- Print ---------- */
@media print {
  .header, .burger, .float-tg, .to-top, .hero__bg { display: none !important; }
}
