/* ============================================================
   SALES WB·OZON — «тихая роскошь»: графит + золото/шампань,
   высококонтрастный сериф (Cormorant) + чистый Manrope.
   ============================================================ */

:root {
  --bg:        #0b0a09;
  --bg-2:      #100e0c;
  --surface:   rgba(255, 252, 245, .028);
  --surface-2: rgba(255, 252, 245, .05);
  --border:    rgba(201, 168, 106, .14);
  --border-2:  rgba(201, 168, 106, .30);

  --text:      #f3efe7;
  --muted:     #a9a294;
  --faint:     #79735f;

  --gold:      #c9a86a;
  --gold-lt:   #e7d2a6;
  --gold-dk:   #9c7b45;
  --champagne: #f6ecd6;

  /* фирменные цвета площадок (приглушённые) */
  --ozon:      #4d7cff;
  --wb:        #c65bb8;
  --ym:        #f5c542;

  --grad:      linear-gradient(118deg, #f6ecd6, #d8b878 38%, #c9a86a 60%, #9c7b45);
  --grad-soft: linear-gradient(135deg, #e7d2a6, #c9a86a 55%, #b08d4f);

  --radius:    18px;
  --shadow:    0 40px 90px -40px rgba(0, 0, 0, .8);

  --maxw:      1180px;
  --ease:      cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition: none !important; }
}

body {
  font-family: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ── фоновые слои ────────────────────────────────────────── */
#bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -3; pointer-events: none; opacity: .9;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(50vw 50vw at 16% -8%, rgba(201, 168, 106, .16), transparent 60%),
    radial-gradient(48vw 48vw at 92% 4%, rgba(201, 168, 106, .09), transparent 60%),
    radial-gradient(60vw 60vw at 78% 102%, rgba(156, 123, 69, .12), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ── типографика / утилиты ──────────────────────────────── */
h1, h2, h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500; line-height: 1.12; letter-spacing: .005em;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: sheen 9s ease-in-out infinite;
  font-style: italic;
}
@keyframes sheen { 0%, 100% { background-position: 0% center; } 50% { background-position: 200% center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .72rem/1 "Manrope", sans-serif;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

.section { max-width: var(--maxw); margin: 0 auto; padding: 130px 24px; }
.section--tight { padding-top: 50px; }
.section__head { max-width: 700px; margin-bottom: 64px; }
.section__head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section__head p { color: var(--muted); margin-top: 20px; font-size: 1.1rem; font-weight: 300; }

/* ── кнопки ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font: 600 .98rem "Manrope", sans-serif; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .35s, color .35s;
  white-space: nowrap;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  color: #1c160c; background: var(--grad-soft); background-size: 160% 160%;
  box-shadow: 0 14px 40px -14px rgba(201, 168, 106, .6), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 60px -16px rgba(201, 168, 106, .8); }
.btn--ghost { color: var(--gold-lt); background: transparent; border-color: var(--border-2); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--champagne); box-shadow: inset 0 0 0 1px rgba(201,168,106,.25); }
.btn--full { width: 100%; justify-content: center; margin-top: 6px; }

/* ── навигация ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; max-width: var(--maxw); margin: 0 auto;
  transition: padding .3s, background .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(11, 10, 9, .8); backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border); padding: 14px 28px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo__mark {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--gold); position: relative;
}
.logo__mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  background: var(--grad-soft);
}
.logo__text { font: 600 1.02rem "Manrope", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.logo__text b { font-weight: 700; color: var(--gold-lt); }

.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; letter-spacing: .02em; transition: color .25s; }
.nav__links a:hover { color: var(--champagne); }
.nav__cta {
  padding: 10px 22px; border-radius: 999px; color: var(--gold-lt) !important;
  border: 1px solid var(--border-2); letter-spacing: .03em;
}
.nav__cta:hover { border-color: var(--gold); color: var(--champagne) !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 1.5px; background: var(--gold-lt); border-radius: 2px; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 140px 24px 90px;
}
.hero__inner { width: 100%; max-width: 920px; }
.pill {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 20px; border-radius: 999px; margin-bottom: 34px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); backdrop-filter: blur(6px);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 var(--gold); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,168,106,.55); } 70% { box-shadow: 0 0 0 9px rgba(201,168,106,0); } 100% { box-shadow: 0 0 0 0 rgba(201,168,106,0); } }

.hero__title { font-size: clamp(3rem, 8.5vw, 6rem); font-weight: 500; margin-bottom: 28px; letter-spacing: .01em; }
.hero__title .grad { display: inline-block; }
.hero__lead { font-size: clamp(1.08rem, 2.1vw, 1.32rem); color: var(--muted); font-weight: 300; max-width: 620px; margin: 0 auto 44px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 84px; max-width: 800px; margin-inline: auto;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.hero__stats > div { padding: 28px 14px; position: relative; }
.hero__stats > div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--border); }
.hero__stats dt { font: 500 clamp(2rem, 4.4vw, 3rem)/1 "Cormorant Garamond", serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__stats dd { color: var(--faint); font-size: .78rem; margin-top: 10px; line-height: 1.35; letter-spacing: .04em; }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--border-2); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-hint span { width: 3px; height: 8px; border-radius: 2px; background: var(--gold); animation: scrolldot 1.9s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ── marquee ────────────────────────────────────────────── */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; background: rgba(201,168,106,.02); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; animation: marquee 44s linear infinite; will-change: transform; }
.marquee__track span { font: 500 .95rem "Manrope", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.marquee__track i { color: var(--gold); font-style: normal; font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── карточки услуг ─────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 38px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  overflow: hidden; transition: transform .5s var(--ease), border-color .5s, background .5s;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--grad); transition: width .6s var(--ease); }
.card:hover { transform: translateY(-6px); background: var(--surface-2); border-color: var(--border-2); }
.card:hover::after { width: 100%; }
.card__ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-2); margin-bottom: 24px; transition: border-color .5s, box-shadow .5s; }
.card:hover .card__ico { border-color: var(--gold); box-shadow: 0 0 24px -10px var(--gold); }
.card__ico::before { content: ""; width: 24px; height: 24px; background: var(--gold-lt); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.card__ico[data-i="chart"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 14l4-5 3 3 5-7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 14l4-5 3 3 5-7'/%3E%3C/svg%3E"); }
.card__ico[data-i="box"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5 9 5 9-5z'/%3E%3Cpath d='M3 8v8l9 5 9-5V8'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E"); }
.card__ico[data-i="tag"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12l-8 8-9-9V3h8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12l-8 8-9-9V3h8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.card__ico[data-i="image"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E"); }
.card__ico[data-i="radar"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 12l6-6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 12l6-6'/%3E%3C/svg%3E"); }
.card__ico[data-i="bolt"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h7l-1 8 10-12h-7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h7l-1 8 10-12h-7z'/%3E%3C/svg%3E"); }
.card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; font-weight: 300; }

/* ── metrics ────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric { padding: 44px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-align: center; transition: border-color .5s; }
.metric:hover { border-color: var(--border-2); }
.metric__num { font: 500 clamp(2.8rem, 5.5vw, 4rem)/1 "Cormorant Garamond", serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric__lbl { color: var(--muted); font-size: .9rem; font-weight: 300; margin-top: 14px; }

/* ── process ────────────────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 34px 28px 38px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .5s, transform .5s var(--ease); }
.step:hover { border-color: var(--border-2); transform: translateY(-4px); }
.step__n { font: 500 1.8rem "Cormorant Garamond", serif; color: var(--gold); font-style: italic; }
.step h3 { font-size: 1.55rem; margin: 12px 0 12px; }
.step p { color: var(--muted); font-size: .95rem; font-weight: 300; }

/* ── cases ──────────────────────────────────────────────── */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { padding: 36px 32px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); transition: transform .5s var(--ease), border-color .5s; }
.case:hover { transform: translateY(-6px); border-color: var(--border-2); }
.case header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.case__tag { font: 500 1.3rem "Cormorant Garamond", serif; color: var(--champagne); }
.case__plat { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.case__lead { color: var(--muted); font-size: .95rem; font-weight: 300; min-height: 72px; }
.case__res { list-style: none; margin-top: 20px; border-top: 1px solid var(--border); padding-top: 18px; display: grid; gap: 9px; }
.case__res li { font-size: .94rem; color: var(--muted); font-weight: 300; }
.case__res b { font: 500 1.25rem "Cormorant Garamond", serif; font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-right: 8px; }

/* ── platforms ──────────────────────────────────────────── */
.platforms { max-width: var(--maxw); margin: 0 auto; padding: 50px 24px 40px; text-align: center; }
.platforms h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--muted); font-weight: 500; font-style: italic; margin-bottom: 40px; }
.platforms__row { display: flex; flex-wrap: wrap; gap: clamp(24px, 6vw, 76px); justify-content: center; align-items: center; }
.plat { font: 700 clamp(1.5rem, 3.6vw, 2.3rem) "Manrope", sans-serif; letter-spacing: .01em; opacity: .7; transition: opacity .35s, transform .35s; }
.plat:hover { opacity: 1; transform: translateY(-2px); }
.plat--ozon { color: var(--ozon); }
.plat--wb { color: var(--wb); }
.plat--ym { color: var(--ym); }

/* ── contact ────────────────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__left h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.contact__left > p { color: var(--muted); font-weight: 300; margin: 20px 0 32px; font-size: 1.08rem; }
.contact__list { list-style: none; display: grid; gap: 14px; }
.contact__list a { display: inline-flex; align-items: center; gap: 13px; color: var(--text); text-decoration: none; font-weight: 400; transition: color .25s; }
.contact__list a svg { color: var(--gold); flex-shrink: 0; }
.contact__list a:hover { color: var(--gold-lt); }

.contact__form { padding: 42px 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow); }
.field { position: relative; margin-bottom: 20px; }
.field input, .field textarea {
  width: 100%; padding: 19px 16px 9px; border-radius: 12px; resize: vertical;
  background: rgba(0,0,0,.28); border: 1px solid var(--border); color: var(--text);
  font: 400 1rem "Manrope", sans-serif; transition: border-color .25s, box-shadow .25s;
}
.field textarea { padding-top: 24px; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,106,.12); }
.field label { position: absolute; left: 16px; top: 16px; color: var(--faint); font-size: 1rem; pointer-events: none; transition: .2s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 7px; font-size: .7rem; letter-spacing: .04em; color: var(--gold); text-transform: uppercase;
}
.field input:invalid.touched { border-color: #d98b6a; }
.form-note { font-size: .78rem; color: var(--faint); margin-top: 16px; line-height: 1.55; font-weight: 300; }
.form-status { margin-top: 14px; font-size: .95rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--gold-lt); }
.form-status.err { color: #d98b6a; }

/* ── footer ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); margin-top: 50px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 34px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.footer__brand p { color: var(--muted); font-size: .92rem; font-weight: 300; margin-top: 18px; max-width: 290px; }
.footer__nav, .footer__contacts { display: grid; gap: 13px; align-content: start; }
.footer__nav a, .footer__contacts a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 300; letter-spacing: .02em; transition: color .25s; }
.footer__nav a:hover, .footer__contacts a:hover { color: var(--gold-lt); }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; padding: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--faint); font-size: .82rem; letter-spacing: .03em; }

/* ── reveal-анимация ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .card:nth-child(2), .metrics .metric:nth-child(2), .steps .step:nth-child(2), .cases .case:nth-child(2) { transition-delay: .09s; }
.cards .card:nth-child(3), .metrics .metric:nth-child(3), .steps .step:nth-child(3), .cases .case:nth-child(3) { transition-delay: .18s; }
.cards .card:nth-child(4), .metrics .metric:nth-child(4), .steps .step:nth-child(4) { transition-delay: .27s; }
.cards .card:nth-child(5) { transition-delay: .13s; }
.cards .card:nth-child(6) { transition-delay: .22s; }

/* ── адаптив ────────────────────────────────────────────── */
@media (max-width: 920px) {
  .cards, .metrics, .steps, .cases { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links { position: fixed; inset: 0 0 auto; top: 0; flex-direction: column; gap: 24px; padding: 100px 28px 44px; background: rgba(11,10,9,.97); backdrop-filter: blur(20px); transform: translateY(-100%); transition: transform .5s var(--ease); height: auto; border-bottom: 1px solid var(--border); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { font-size: 1.25rem; }
  .burger { display: flex; z-index: 101; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .hero__stats > div:nth-child(3)::before, .hero__stats > div:nth-child(2) ~ div::before { display: none; }
  .section { padding: 90px 20px; }
}
@media (max-width: 520px) {
  .cards, .metrics, .steps, .cases { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__lead { font-size: 1.04rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__stats > div::before { display: none !important; }
  .footer__bottom { font-size: .78rem; }
  .case__lead { min-height: 0; }
}
