/*
 * The public company website. One stylesheet, no build step.
 *
 * Colours are tokens on :root and are redefined once for a dark system
 * preference; nothing below names a colour that has to change between themes.
 * The brand is #14418a on light and #2f74d8 on dark — the same pair the office
 * and the cabinet use — with a warm amber as the only accent.
 */

/* ── Tokens ─────────────────────────────────────────────────────────────── */

:root {
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --container: 1240px;      /* including the side padding */
  --gutter: 24px;
  --header-h: 72px;
  --cab-h: 44px;
  --cab-w: 184px;           /* measured and overwritten by site.js */
  --cab-gap: 16px;          /* the least room between the header and it */

  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --text: #0d1a30;
  --text-2: #33425c;
  --text-3: #5b6a83;
  --border: #e1e8f2;
  --border-strong: #cdd8e7;

  --brand: #14418a;
  --brand-strong: #0f3470;
  --brand-soft: #eff4fb;
  --brand-border: #c2d5ef;
  --brand-ink: #14418a;      /* brand-coloured text: legible on --bg */
  --icon-bg: #eff4fb;        /* the tile behind an outline icon */
  --placeholder: #8894a9;

  --accent: #f5a524;
  --accent-soft: #fff4de;
  --accent-ink: #8a5300;
  --highlight: rgba(245, 165, 36, .34);

  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --warn: #b45309;
  --warn-soft: #fff3e2;

  --focus: #2f74d8;
  --grid-dot: #c3d2e8;
  --geo-halo: #f4f7fc;
  --header-bg: rgba(255, 255, 255, .86);
  --hero-glow-1: rgba(47, 116, 216, .15);
  --hero-glow-2: rgba(245, 165, 36, .10);
  --stats-bg: #14418a;
  --biz-bg-1: #133c7e;
  --biz-bg-2: #0b2350;
  --mock-bg: #ffffff;
  --mock-text: #0d1a30;
  --mock-muted: #5b6a83;
  --mock-border: #e8edf5;
  --mock-track: #e6ecf5;
  --pay-dark: #0f1f3a;
  --pay-dark-border: #0f1f3a;

  --shadow-sm: 0 1px 2px rgba(13, 26, 48, .06), 0 1px 1px rgba(13, 26, 48, .03);
  --shadow: 0 10px 24px -12px rgba(13, 26, 48, .18), 0 2px 6px rgba(13, 26, 48, .05);
  --shadow-lg: 0 30px 60px -24px rgba(13, 26, 48, .28), 0 8px 18px -10px rgba(13, 26, 48, .12);
  --shadow-brand: 0 10px 24px -10px rgba(20, 65, 138, .55);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1322;
    --bg-alt: #0e182a;
    --surface: #111c2f;
    --surface-2: #16233a;
    --text: #e8eef8;
    --text-2: #bac7db;
    --text-3: #8d9cb4;
    --border: #1f2e47;
    --border-strong: #2b3d5c;

    --brand: #2f74d8;
    --brand-strong: #4a89e4;
    --brand-soft: #101c30;
    --brand-border: #24406e;
    --brand-ink: #86b5f5;
    --icon-bg: #182b4b;
    --placeholder: #66758e;

    --accent: #f7b541;
    --accent-soft: #231c0e;
    --accent-ink: #f5c46a;
    --highlight: rgba(247, 181, 65, .26);

    --ok: #4ade80;
    --ok-soft: #0f2a1a;
    --warn: #fbbf24;
    --warn-soft: #2a200c;

    --focus: #86b5f5;
    --grid-dot: #253a5d;
    --geo-halo: #0f1a2d;
    --header-bg: rgba(11, 19, 34, .84);
    --hero-glow-1: rgba(47, 116, 216, .24);
    --hero-glow-2: rgba(247, 181, 65, .06);
    --stats-bg: #12284d;
    --biz-bg-1: #10294f;
    --biz-bg-2: #091833;
    --mock-bg: #111c2f;
    --mock-text: #e8eef8;
    --mock-muted: #8d9cb4;
    --mock-border: #1f2e47;
    --mock-track: #1f2e47;
    --pay-dark: #08111f;
    --pay-dark-border: #2b3d5c;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow: 0 12px 26px -12px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 8px 18px -10px rgba(0, 0, 0, .45);
    --shadow-brand: 0 10px 24px -10px rgba(47, 116, 216, .6);
  }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 64px; }
}
@media (max-width: 399px) {
  :root { --cab-h: 40px; --cab-gap: 8px; }
}

/* ── Base ───────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] { display: none !important; }

img, svg { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--brand-ink); }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
main:focus { outline: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; border-radius: 14px; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-strong); }

.btn--secondary { background: var(--surface); color: var(--brand-ink); border-color: var(--brand-border); }
.btn--secondary:hover { background: var(--brand-soft); border-color: var(--brand-ink); }

.btn--light { background: #fff; color: #14418a; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.btn--light:hover { background: #e9f1fc; }

.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .42); background: transparent; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.section--business :focus-visible,
.cabinet-card :focus-visible,
.stats :focus-visible { outline-color: #fff; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .2s, box-shadow .2s;
}
.hdr.is-scrolled,
.hdr.is-open {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

/* The fixed «Личный кабинет» button sits over the header's right end. The
   header keeps its content clear of it: on a wide screen the container's own
   margin already leaves the room, on a narrow one the padding grows. */
.hdr__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: max(
    var(--gutter),
    calc(var(--cab-w) + var(--gutter) + var(--cab-gap) - max(0px, (100vw - var(--container)) / 2))
  );
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
}
.brand__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  box-shadow: var(--shadow-brand);
}
.brand__name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hdr__burger {
  display: none;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.hdr__burger .icon { width: 22px; height: 22px; grid-area: 1 / 1; }
.hdr__burger .icon:last-child { display: none; }
.hdr.is-open .hdr__burger .icon:first-child { display: none; }
.hdr.is-open .hdr__burger .icon:last-child { display: block; }

.hdr__nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr__links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hdr__links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.hdr__links a:hover { background: var(--brand-soft); color: var(--brand-ink); }

/* Language switch: a segmented control, three copies (header, menu, footer). */
.lang {
  display: inline-flex;
  flex: none;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
}
.lang__btn {
  min-height: 32px;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text-3);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--brand-ink);
  box-shadow: var(--shadow-sm);
}
@media (prefers-color-scheme: dark) {
  .lang__btn[aria-pressed="true"] { background: #22324d; }
}
.lang--header { margin-left: 12px; }
.lang--menu { display: none; }

/* The corner button. */
.cab-btn {
  position: fixed;
  z-index: 70;
  top: calc((var(--header-h) - var(--cab-h)) / 2);
  right: max(var(--gutter), env(safe-area-inset-right));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--cab-h);
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: var(--shadow-brand), 0 0 0 3px rgba(255, 255, 255, .0);
  transition: background-color .18s, transform .18s;
}
.cab-btn:hover { background: var(--brand-strong); }
.cab-btn:active { transform: translateY(1px); }
.cab-btn .icon { width: 19px; height: 19px; }

@media (max-width: 1099px) {
  .hdr__burger { display: inline-grid; }
  .hdr__nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 10px var(--gutter) 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .18s, transform .18s, visibility 0s linear .18s;
  }
  .hdr.is-open .hdr__nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .18s, transform .18s;
  }
  .hdr__links { flex-direction: column; }
  .hdr__links a { padding: 13px 12px; font-size: 17px; }
  .lang--header { margin-left: auto; }
}
@media (max-width: 519px) {
  .lang--header { display: none; }
  .lang--menu { display: inline-flex; align-self: flex-start; }
}
@media (max-width: 399px) {
  .hdr__inner { gap: 10px; }
  .hdr__burger { width: 40px; height: 40px; }
  .hdr .brand__mark { display: none; }
  .hdr .brand__name { font-size: 16px; }
  .cab-btn { padding: 0 13px; font-size: 13.5px; }
  .cab-btn .icon { display: none; }
}

/* ── Shared section furniture ──────────────────────────────────────────── */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow--pill {
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--brand-border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .18);
}
.eyebrow--on-dark { color: #9cc4ff; }

.section__title {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 1.25rem + 2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.section__title--sm { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); }
.section__lead {
  max-width: 40em;
  color: var(--text-2);
  font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(28px, 6vw, 72px)) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 620px at 88% -8%, var(--hero-glow-1), transparent 62%),
    radial-gradient(800px 480px at -8% 18%, var(--hero-glow-2), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--grid-dot) 1.1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 72% 34%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 55% at 72% 34%, #000 10%, transparent 72%);
  opacity: .8;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  margin: 18px 0 20px;
  font-size: clamp(2.3rem, 1.2rem + 4.1vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--brand-ink);
  background-image: linear-gradient(var(--highlight), var(--highlight));
  background-repeat: no-repeat;
  background-size: 100% .2em;
  background-position: 0 90%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead {
  max-width: 34em;
  color: var(--text-2);
  font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 14.5px;
  font-weight: 650;
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }

.hero__side { position: relative; }
.hero__art { max-width: 520px; margin: 0 auto; }
.hero__art img { display: block; width: 100%; height: auto; }

/* ── Tracking ──────────────────────────────────────────────────────────── */

.track {
  position: relative;
  margin-top: -84px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.track__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.track__title .icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: var(--icon-bg);
  color: var(--brand-ink);
  stroke-width: 2.2;
}
.track__label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 700;
}
.track__row { display: flex; flex-wrap: wrap; gap: 10px; }
.track__input {
  flex: 1 1 220px;
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  font: 650 16px/1.2 var(--font);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.track__input::placeholder { color: var(--placeholder); font-weight: 500; opacity: 1; }
.track__input:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(47, 116, 216, .2);
}
.track__submit { flex: 0 0 auto; min-width: 140px; min-height: 54px; }
.track__hint { margin-top: 10px; color: var(--text-3); font-size: 13.5px; }
.track__result:empty { display: none; }
.track__result { margin-top: 18px; }

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.track.is-loading .spinner { display: inline-block; }
.track.is-loading .track__submit { pointer-events: none; opacity: .9; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Messages under the box */
.tr-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 14.5px;
}
.tr-msg .icon { margin-top: 1px; color: var(--brand-ink); }
.tr-msg--warn { background: var(--warn-soft); color: var(--text); }
.tr-msg--warn .icon { color: var(--warn); }
.tr-msg .spinner { display: inline-block; flex: none; margin-top: 3px; border-color: var(--brand-border); border-top-color: var(--brand); }

/* The result */
.tr { border-top: 1px dashed var(--border-strong); padding-top: 18px; }
.tr__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.tr__label { display: block; color: var(--text-3); font-size: 12.5px; font-weight: 700; }
.tr__number {
  display: block;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-weight: 750;
  font-size: 14px;
  line-height: 1.3;
}
.status__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status--ok { background: var(--ok-soft); color: var(--ok); }
.status--warn { background: var(--warn-soft); color: var(--warn); }

.tr__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 14px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
}
.tr__route .icon { color: var(--text-3); }

.tr__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 16px 0 4px;
  padding: 0;
  list-style: none;
}
.tr__steps li {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.tr__steps li::before {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: var(--border);
}
.tr__steps li.is-done::before { background: var(--brand); }
.tr__steps li.is-current { color: var(--text); }
.tr__steps li.is-current::before { background: var(--brand); box-shadow: 0 0 0 3px rgba(47, 116, 216, .22); }
.tr__steps--warn li.is-current::before { background: var(--warn); box-shadow: 0 0 0 3px rgba(217, 119, 6, .22); }

.tr__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px 16px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-2);
}
.tr__meta dt { color: var(--text-3); font-size: 12.5px; font-weight: 700; }
.tr__meta dd { margin: 0; font-weight: 750; font-size: 14.5px; }

.tr__subtitle { margin: 18px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }

.tr__events { position: relative; margin: 0; padding: 0; list-style: none; }
.ev { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
.ev:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.ev__dot {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--border-strong);
  box-shadow: 0 0 0 1.5px var(--border-strong);
}
.ev:first-child .ev__dot { background: var(--brand); box-shadow: 0 0 0 1.5px var(--brand); }
.ev--warn .ev__dot, .ev--warn:first-child .ev__dot { background: var(--warn); box-shadow: 0 0 0 1.5px var(--warn); }
.ev__name { font-weight: 750; font-size: 14.5px; line-height: 1.4; }
.ev__meta { color: var(--text-3); font-size: 13px; }
.ev__note { color: var(--warn); font-size: 13px; font-weight: 600; }

.link-btn {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--brand-ink);
  font-weight: 750;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
}
.link-btn:hover { text-decoration: underline; }
.tr__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 2px; }

/* ── Key numbers ───────────────────────────────────────────────────────── */

.stats { background: var(--stats-bg); color: #fff; }
.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: clamp(28px, 4vw, 40px) 0;
  list-style: none;
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.stats__item:first-child { padding-left: 0; border-left: 0; }
.stats__value {
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.stats__label { color: rgba(255, 255, 255, .8); font-size: 15px; font-weight: 550; }

/* ── Services ──────────────────────────────────────────────────────────── */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, opacity .6s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-border); }
.service__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--brand-ink);
}
.service__icon .icon { width: 26px; height: 26px; }
.service__title { margin-top: 6px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.service__text { flex: 1; color: var(--text-2); }

/* ── How it works ──────────────────────────────────────────────────────── */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  right: calc((100% - 3 * 24px) / 4 - 30px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-border) 0 8px, transparent 8px 16px);
}
.step { position: relative; }
.step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 8px var(--bg-alt), var(--shadow-brand);
}
.step__icon .icon { width: 26px; height: 26px; }
.step__num {
  position: absolute;
  z-index: 2;
  top: -9px;
  left: 44px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 3px solid var(--bg-alt);
  border-radius: 50%;
  background: var(--accent);
  color: #1d1406;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1;
}
.step__title { margin: 24px 0 8px; font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.step__text { color: var(--text-2); }

/* ── Geography ─────────────────────────────────────────────────────────── */

.geo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.geo__map {
  padding: clamp(10px, 2vw, 24px);
  border-radius: 24px;
  background: linear-gradient(180deg, var(--brand-soft), var(--surface));
}
.geo__map svg { display: block; width: 100%; height: auto; }
.geo-dot { fill: var(--grid-dot); }
.geo-glow-a { stop-color: var(--brand); stop-opacity: .2; }
.geo-glow-b { stop-color: var(--brand); stop-opacity: 0; }
.geo-routes path {
  fill: none;
  stroke: var(--brand);
  stroke-opacity: .55;
  stroke-width: 2;
  stroke-dasharray: 5 6;
  stroke-linecap: round;
}
.geo-nodes circle { fill: var(--surface); stroke: var(--brand); stroke-width: 3; }
.geo-hub { fill: var(--brand); stroke: var(--surface); stroke-width: 3; }
.geo-hub-pulse { fill: var(--brand); opacity: .16; transform-box: fill-box; transform-origin: center; }
.geo-label {
  font: 700 13px var(--font);
  fill: var(--text-2);
  paint-order: stroke;
  stroke: var(--geo-halo);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.geo-label--hub { font-size: 15px; font-weight: 800; fill: var(--text); }

@media (prefers-reduced-motion: no-preference) {
  .geo-routes path { animation: flow 1.4s linear infinite; }
  .geo-hub-pulse { animation: pulse 2.6s ease-out infinite; }
}
@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes pulse {
  from { transform: scale(.6); opacity: .35; }
  to { transform: scale(2.2); opacity: 0; }
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 14.5px;
}
.chip .icon { width: 17px; height: 17px; color: var(--brand-ink); }
.chip--hub { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip--hub .icon { color: #fff; }
.geo__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--text-2);
  font-size: 15px;
}
.geo__note .icon { margin-top: 2px; color: var(--accent-ink); }

/* ── For business ──────────────────────────────────────────────────────── */

.section--business {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 92% -6%, rgba(47, 116, 216, .5), transparent 62%),
    radial-gradient(700px 420px at -6% 104%, rgba(245, 165, 36, .14), transparent 60%),
    linear-gradient(160deg, var(--biz-bg-1), var(--biz-bg-2));
}
.section--business .section__title { color: #fff; }
.section--business .section__lead { color: rgba(255, 255, 255, .82); }

.biz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.biz__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.mock {
  max-width: 440px;
  margin-left: auto;
  padding: 18px 22px 22px;
  border-radius: 22px;
  background: var(--mock-bg);
  color: var(--mock-text);
  box-shadow: 0 34px 64px -24px rgba(0, 0, 0, .55);
  transform: rotate(-1.5deg);
}
.mock__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--mock-border);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mock-track); }
.mock__title { margin-left: 8px; font-weight: 800; font-size: 14px; }
.mock__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mock-border);
}
.mock__row--stack { flex-direction: column; align-items: stretch; gap: 8px; }
.mock__label { color: var(--mock-muted); font-size: 13.5px; font-weight: 650; }
.mock__value { font-weight: 800; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mock__value small { color: var(--mock-muted); font-size: 12px; font-weight: 700; }
.mock__badge {
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 11.5px;
  font-weight: 800;
  vertical-align: 2px;
}
.mock__bar { display: block; height: 8px; border-radius: 4px; background: var(--mock-track); overflow: hidden; }
.mock__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2f74d8, #14418a); }
.mock__hint { color: var(--mock-muted); font-size: 12.5px; font-weight: 650; }
.mock__spark { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 18px; }
.mock__spark span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #86b5f5, #2f74d8); }
.mock__spark span:last-child { background: linear-gradient(180deg, #f7c56b, #f5a524); }

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
}
.feature__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.feature__title { margin: 2px 0 6px; color: #fff; font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.feature__text { color: rgba(255, 255, 255, .78); font-size: 15px; }

/* ── Payment methods ───────────────────────────────────────────────────── */

.pay {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.pay__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pay__tile {
  display: grid;
  place-items: center;
  height: 84px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.pay__tile img { display: block; width: auto; height: auto; max-width: 100%; max-height: 40px; }
.pay__tile--dark { background: var(--pay-dark); border-color: var(--pay-dark-border); }

/* ── Telegram ──────────────────────────────────────────────────────────── */

.tg {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--brand-soft), var(--surface) 70%);
  overflow: hidden;
}
.tg__art img { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; }
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.checks .icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  stroke-width: 2.6;
}
.tg__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.tg__handle { color: var(--text-3); font-weight: 700; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] { border-color: var(--brand-border); box-shadow: var(--shadow); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.faq__item summary:hover { color: var(--brand-ink); }
.faq__item summary .icon { width: 22px; height: 22px; color: var(--brand-ink); transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 22px 22px; color: var(--text-2); }

/* ── Contacts ──────────────────────────────────────────────────────────── */

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}
.contacts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  font-style: normal;
}
.contact {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  min-width: 0;
}
.contact > div { min-width: 0; }
.contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--brand-ink);
}
.contact__label { display: block; margin-bottom: 2px; color: var(--text-3); font-size: 13px; font-weight: 700; }
.contact__value {
  display: block;
  color: var(--text);
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.contact__value:hover { color: var(--brand-ink); text-decoration: underline; }
.contact__note { display: block; margin-top: 2px; color: var(--text-3); font-size: 13.5px; }

.cabinet-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(134, 181, 245, .38), transparent 62%),
    linear-gradient(150deg, #1b4f9f, #0e2d63);
  box-shadow: var(--shadow-lg);
}
.cabinet-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
}
.cabinet-card__icon .icon { width: 26px; height: 26px; }
.cabinet-card__title { margin: 20px 0 10px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.cabinet-card__text { margin-bottom: 24px; color: rgba(255, 255, 255, .84); }

/* ── Footer ────────────────────────────────────────────────────────────── */

.footer { padding-top: 48px; border-top: 1px solid var(--border); background: var(--bg-alt); color: var(--text-2); }
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) auto;
  gap: 32px;
  align-items: start;
  padding-bottom: 36px;
}
.footer__tagline { max-width: 30em; margin-top: 14px; color: var(--text-3); font-size: 15px; }
.footer__nav ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.footer__nav a { color: var(--text-2); font-weight: 650; text-decoration: none; }
.footer__nav a:hover { color: var(--brand-ink); text-decoration: underline; }
.lang--footer { justify-self: start; align-self: start; }
.footer__bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 14px; }

/* ── Scroll reveal (only with motion allowed, only once the script runs) ── */

@media (prefers-reduced-motion: no-preference) {
  .reveal [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .7s var(--ease);
  }
  .reveal [data-reveal].is-in { opacity: 1; transform: none; }
  .reveal .service[data-reveal].is-in:hover { transform: translateY(-3px); }
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__side { width: 100%; max-width: 640px; margin-inline: auto; }
  .hero__art { max-width: 420px; }
  .track { margin-top: -64px; }

  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 959px) {
  .geo { grid-template-columns: minmax(0, 1fr); }
  .geo__text { order: -1; }
  .biz { grid-template-columns: minmax(0, 1fr); }
  .mock { margin-inline: 0; }
  .pay { grid-template-columns: minmax(0, 1fr); }
  .contacts { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 899px) {
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .stats__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .tg { grid-template-columns: minmax(0, 1fr); }
  .tg__art img { max-width: 240px; }
}

@media (max-width: 639px) {
  .services { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 22px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .contacts__list { grid-template-columns: minmax(0, 1fr); }
  .pay__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay__tile { height: 76px; padding: 14px; }
  .mock { transform: none; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .steps::before {
    display: block;
    top: 30px;
    bottom: 30px;
    left: 29px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--brand-border) 0 8px, transparent 8px 16px);
  }
  .step { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; }
  .step__icon { grid-row: span 2; }
  .step__title { margin: 4px 0 6px; }
}

@media (max-width: 559px) {
  .hero__art { max-width: 320px; }
  .track { margin-top: -40px; padding: 18px; border-radius: 20px; }
  .track__submit { flex: 1 1 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .biz__ctas .btn { flex: 1 1 100%; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .tg__cta .btn { flex: 1 1 100%; }
  .stats__label { font-size: 14px; }
  .tr__steps li { font-size: 11px; }
}
