:root {
  --ink: #111;
  --bg: #F7F7F5;
  --lime: #C6F432;
  --muted: #555;
  --pad: 80px;
  --display: Unbounded, sans-serif;
  --text: Manrope, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--lime); }
.dot--glow { box-shadow: 0 0 0 3px rgba(198, 244, 50, .3); }

h2 { font: 700 52px/1.1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.lead { font: 500 21px/1.5 var(--text); color: #444; text-wrap: pretty; }

/* Buttons */
.btn {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 64px; padding: 0 32px; border-radius: 999px; background: var(--ink); color: #fff;
  font: 700 18px var(--text); transition: background .2s, color .2s;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn:hover { background: var(--lime); color: var(--ink); }
.btn--block { display: flex; align-self: stretch; height: 56px; gap: 10px; font-size: 15px; }
.btn--block svg { width: 18px; height: 18px; }
.btn--block:hover { background: #2a2a2a; color: #fff; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 20; height: 84px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 max(var(--pad), calc((100% - 1440px) / 2 + var(--pad)));
  background: rgba(247, 247, 245, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, .06);
}
.header__logo img { height: 28px; }
.header__nav { display: flex; gap: 40px; font: 600 16px var(--text); }
.header__nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.header__nav a:hover { border-bottom-color: var(--lime); }
.header__actions { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; gap: 4px; font: 700 13px var(--text); background: #ECECE8; border-radius: 999px; padding: 4px; }
.lang__item { padding: 6px 12px; border-radius: 999px; color: #666; }
.lang__item.is-active { background: var(--ink); color: #fff; }
.header__tg { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.header__tg svg { width: 22px; height: 22px; fill: #fff; transition: fill .2s; }
.header__tg:hover { background: var(--lime); }
.header__tg:hover svg { fill: var(--ink); }
.header__burger { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 120px; min-height: 820px; }
.hero__text { display: flex; flex-direction: column; gap: 40px; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; font: 600 14px var(--text); padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(17, 17, 17, .08); white-space: nowrap; }
h1 { font: 700 60px/1.1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.hero .lead { max-width: 560px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 32px; margin-top: 8px; border-top: 1px solid rgba(17, 17, 17, .1); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num { font: 700 32px/1 var(--display); white-space: nowrap; }
.stat__label { font: 500 15px/1.4 var(--text); color: var(--muted); }

.hero__visual { position: relative; height: 600px; }
.dash { position: absolute; inset: 40px 0 40px 40px; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(17, 17, 17, .18); padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.dash__head { display: flex; justify-content: space-between; align-items: center; }
.dash__title { font: 700 17px var(--text); }
.dash__sub { font: 500 13px var(--text); color: #888; margin-top: 4px; }
.seg { display: flex; gap: 4px; background: #F2F2EF; border-radius: 999px; padding: 4px; font: 600 12px var(--text); }
.seg span { padding: 6px 10px; color: #777; border-radius: 999px; }
.seg .is-active { background: var(--ink); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--bg); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.kpi__label { font: 500 12px var(--text); color: #777; }
.kpi__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; }
.kpi__val { font: 700 20px var(--display); white-space: nowrap; }
.kpi__delta { font: 700 12px var(--text); color: var(--muted); }
.kpi__delta--up { background: var(--lime); color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.chart { position: relative; flex: 1; min-height: 120px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart__dot { position: absolute; right: -9px; top: calc(26 / 220 * 100% - 9px); width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); }
.dash__dates { display: flex; justify-content: space-between; font: 500 12px var(--text); color: #999; }

.toast { position: absolute; width: 290px; border-radius: 16px; padding: 16px; display: flex; gap: 14px; align-items: center; }
.toast__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.toast__icon span { width: 12px; height: 12px; border-radius: 50%; }
.toast__title { font: 700 15px var(--text); }
.toast__sub { font: 500 13px var(--text); margin-top: 3px; }
.toast--light { left: -24px; top: 330px; background: #fff; box-shadow: 0 20px 50px -16px rgba(17, 17, 17, .25); }
.toast--light .toast__icon { background: var(--ink); }
.toast--light .toast__icon span { background: var(--lime); }
.toast--light .toast__sub { color: #777; }
.toast--dark { right: -28px; bottom: 0; background: var(--ink); color: #fff; box-shadow: 0 20px 50px -16px rgba(17, 17, 17, .35); }
.toast--dark .toast__icon { background: var(--lime); }
.toast--dark .toast__icon span { background: var(--ink); }
.toast--dark .toast__sub { color: #AAA; }

/* Sections */
.section { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.section h2 { max-width: 900px; }
.section--how { gap: 72px; }

/* Industry cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; height: 520px; border-radius: 20px; overflow: hidden; color: #fff; }
.card h3 { font: 700 24px var(--display); }
.card__body { position: absolute; left: 28px; right: 28px; bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.card__main { font: 600 15px/1.45 var(--text); }
.card__note { font: 500 14px/1.5 var(--text); color: #D8D8D4; }

/* Фото: положите img/realty.jpg и img/travel.jpg — пока их нет, виден тёмный фон */
.card--photo { background: #2A2A28 center / cover no-repeat; }
.card--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, .88) 78%); }
.card--realty { background-image: url(img/realty.jpg); }
.card--travel { background-image: url(img/travel.jpg); }

.card--finance { background: var(--ink); }
.card--finance .card__note { color: #BDBDB8; }
.card__chart { position: absolute; left: 0; top: 0; width: 100%; height: 58%; }

.card--more { background: var(--lime); color: var(--ink); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.card__plus { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; font: 700 26px var(--display); }
.card__more-body { display: flex; flex-direction: column; gap: 24px; }
.card__more-text { display: flex; flex-direction: column; gap: 14px; }
.card__more-text p { font: 500 15px/1.5 var(--text); color: #222; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 28px; padding-right: 28px; }
.step__mark { display: flex; align-items: center; }
.step__mark::after { content: ""; flex: 1; height: 2px; background: var(--ink); margin-right: -28px; }
.step__num { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--ink); color: var(--lime); display: flex; align-items: center; justify-content: center; font: 700 22px var(--display); }
.step--last { padding-right: 0; }
.step--last .step__mark::after { display: none; }
.step--last .step__num { background: var(--lime); color: var(--ink); }
.step__text { display: flex; flex-direction: column; gap: 12px; }
.step h3 { font: 700 20px/1.25 var(--display); }
.step p { font: 500 16px/1.5 var(--text); color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: #fff; padding-top: 140px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 80px; align-items: end; padding-bottom: 140px; }
.contact__text { display: flex; flex-direction: column; gap: 28px; }
.contact h2 { font-size: 64px; line-height: 1.08; }
.contact .lead { color: #CFCFCA; }
.contact__online { display: flex; align-items: center; gap: 10px; font: 600 16px var(--text); color: #CFCFCA; margin-top: 12px; }
.tg-card { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; height: 300px; padding: 36px; border-radius: 20px; background: var(--lime); color: var(--ink); transition: transform .25s; }
.tg-card:hover { transform: translateY(-4px); }
.tg-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.tg-card__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.tg-card__icon svg { width: 34px; height: 34px; fill: var(--lime); }
.tg-card__arrow { width: 40px; height: 40px; }
.tg-card__title { font: 700 32px/1.15 var(--display); }
.tg-card__handle { font: 600 18px var(--text); margin-top: 10px; }
.footer { display: flex; align-items: center; gap: 16px; padding: 32px 0; border-top: 1px solid rgba(255, 255, 255, .12); font: 500 15px var(--text); color: #9A9A95; }
.footer img { height: 22px; }

/* ---------- Tablet ---------- */
@media (max-width: 1200px) {
  :root { --pad: 48px; }
  h1 { font-size: 52px; }
  h2 { font-size: 44px; }
  .hero { grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; }
  .contact h2 { font-size: 52px; }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-bottom: 80px; }
  .hero__visual { max-width: 560px; width: 100%; justify-self: center; }
  .steps { grid-template-columns: 1fr; }
  .step { flex-direction: row; gap: 24px; padding-right: 0; }
  .step__mark { flex-direction: column; align-self: stretch; }
  .step__mark::after { width: 2px; height: auto; margin: 0; }
  .step__text { padding: 14px 0 40px; }
  .step--last .step__text { padding-bottom: 0; }
  .contact__grid { grid-template-columns: 1fr; align-items: stretch; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  :root { --pad: 20px; }
  html { scroll-padding-top: 64px; }

  .header { height: 64px; padding: 0 20px; }
  .header__logo img { height: 22px; }
  .header__actions { gap: 8px; }
  .lang { gap: 0; font-size: 12px; padding: 3px; }
  .lang__item { padding: 5px 9px; }
  .header__tg { width: 44px; height: 44px; }
  .header__tg svg { width: 20px; height: 20px; }
  .header__burger {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(17, 17, 17, .15); background: none; cursor: pointer;
  }
  .header__burger span { width: 16px; height: 2px; background: var(--ink); transition: transform .2s; }
  .header.is-open .header__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .header.is-open .header__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .header__nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 20px; background: var(--bg);
    border-bottom: 1px solid rgba(17, 17, 17, .06); font-size: 18px;
  }
  .header.is-open .header__nav { display: flex; }
  .header__nav a { padding: 14px 0; border-bottom: 1px solid rgba(17, 17, 17, .06); }
  .header__nav a:hover { border-bottom-color: rgba(17, 17, 17, .06); }

  h1 { font-size: 31px; line-height: 1.15; letter-spacing: -.01em; }
  h2 { font-size: 28px; line-height: 1.15; letter-spacing: 0; }
  .lead { font-size: 17px; }

  .hero { padding-top: 40px; padding-bottom: 64px; gap: 28px; }
  .hero__text { display: contents; }
  .badge { font-size: 13px; padding: 7px 12px; gap: 8px; }
  .badge .dot { width: 7px; height: 7px; }
  .btn { align-self: stretch; height: 58px; font-size: 17px; gap: 10px; }
  .btn svg { width: 20px; height: 20px; }
  .btn--block { height: 54px; font-size: 15px; }
  .btn--block svg { width: 18px; height: 18px; }

  /* Order: badge, h1, lead, button, visual, stats */
  .hero__visual { order: 1; height: auto; padding: 52px 0; margin-top: 12px; max-width: none; }
  .stats { order: 2; grid-template-columns: 1fr; gap: 20px; padding-top: 24px; margin-top: 0; }
  .stat { flex-direction: row; align-items: baseline; gap: 16px; }
  .stat__num { font-size: 28px; min-width: 130px; }
  .hide-m { display: none; }
  .stat:last-child { flex-direction: column; gap: 8px; }

  .dash { position: static; padding: 20px; gap: 16px; box-shadow: 0 24px 60px -28px rgba(17, 17, 17, .2); }
  .dash__title { font-size: 15px; }
  .dash__sub, .dash__dates, .chart__grid, .chart__prev { display: none; }
  .seg { background: none; padding: 0; font-size: 11px; }
  .seg span:not(.is-active) { display: none; }
  .seg .is-active { padding: 5px 9px; }
  .kpis { display: block; }
  .kpi { display: none; background: none; padding: 0; }
  .kpi:first-child { display: block; }
  .kpi__label { display: none; }
  .kpi__row { gap: 8px; }
  .kpi__val { font-size: 26px; }
  .chart { flex: none; height: 120px; min-height: 0; }
  .chart__dot { right: -7px; top: calc(26 / 220 * 100% - 7px); width: 14px; height: 14px; }

  .toast { padding: 12px; gap: 12px; border-radius: 14px; }
  .toast__icon { width: 36px; height: 36px; border-radius: 10px; }
  .toast__icon span { width: 10px; height: 10px; }
  .toast__title { font-size: 14px; }
  .toast__sub { font-size: 12px; margin-top: 2px; }
  .toast--light { left: auto; right: 16px; top: 0; width: 220px; }
  .toast--dark { right: -6px; bottom: 0; width: 240px; }

  .section { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .section--how { gap: 36px; }

  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { height: 340px; }
  .card h3 { font-size: 21px; }
  .card__body { left: 22px; right: 22px; bottom: 22px; gap: 10px; }
  .card--photo::before { background: linear-gradient(180deg, rgba(17, 17, 17, 0) 20%, rgba(17, 17, 17, .88) 75%); }
  .card__chart { height: 50%; }
  .card__chart g:first-child { display: none; }
  .card--more { height: auto; padding: 22px; gap: 20px; justify-content: flex-start; }
  .card__plus { width: 48px; height: 48px; font-size: 22px; }
  .card__more-body { gap: 20px; }
  .card__more-text { gap: 10px; }

  .step { gap: 18px; }
  .step__num { width: 48px; height: 48px; font-size: 16px; }
  .step__text { padding: 10px 0 32px; gap: 8px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; }

  .contact { padding-top: 72px; }
  .contact__grid { display: flex; flex-direction: column; gap: 28px; padding-bottom: 0; }
  .contact__text { display: contents; }
  .contact h2 { font-size: 31px; line-height: 1.15; }
  .contact__online { order: 1; font-size: 15px; margin-top: 0; }
  .tg-card { height: auto; gap: 36px; padding: 24px; }
  .tg-card__icon { width: 60px; height: 60px; }
  .tg-card__icon svg { width: 28px; height: 28px; }
  .tg-card__arrow { width: 32px; height: 32px; }
  .tg-card__title { font-size: 22px; line-height: 1.2; }
  .tg-card__handle { font-size: 16px; margin-top: 8px; }
  .footer { gap: 12px; padding: 24px 0; margin-top: 28px; font-size: 14px; }
  .footer img { height: 18px; }
}
