/* =========================================================
   АДРЕСНЫЕ КОММУНИКАЦИИ — styles.css   (light theme, blue accent)
   ========================================================= */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:       #ffffff;
  --clr-surface:  #f4f7fd;
  --clr-surface2: #edf1fb;
  --clr-border:   #dde4f2;
  --clr-accent:   #1B54F8;   /* синий */
  --clr-accent2:  #e03030;   /* красный для «до» */
  --clr-text:     #0a0c14;
  --clr-muted:    #5a6480;
  --clr-white:    #ffffff;
  --clr-map:      #c8d8f4;   /* голубая карта */

  --font-main: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.22s ease;
  --shadow: 0 2px 16px rgba(27, 84, 248, 0.08);
  --shadow-hover: 0 6px 28px rgba(27, 84, 248, 0.15);

  --container: 1240px;
  --gap: clamp(16px, 3vw, 28px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { line-height: 1.1; font-weight: 900; letter-spacing: -0.02em; color: var(--clr-text); }

.section-title {
  font-size: clamp(28px, 4.5vw, 52px);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--clr-muted);
  margin-bottom: 32px;
}

.accent { color: var(--clr-accent); }
.text-center { text-align: center; }

.note {
  font-size: 13px;
  color: var(--clr-muted);
  margin-top: 16px;
  border-left: 3px solid var(--clr-accent);
  padding-left: 12px;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition),
              box-shadow var(--transition), transform var(--transition);
}

.btn--lg {
  background: var(--clr-accent);
  color: #fff;
  padding: 16px 36px;
  font-size: 15px;
  box-shadow: 0 4px 18px rgba(27,84,248,0.3);
}
.btn--lg:hover {
  background: #0f3dd4;
  box-shadow: 0 6px 24px rgba(27,84,248,0.4);
  transform: translateY(-2px);
}

.btn--sm {
  background: var(--clr-accent);
  color: #fff;
  padding: 10px 22px;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(27,84,248,0.25);
}
.btn--sm:hover { background: #0f3dd4; }

.btn--outline {
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.btn--outline:hover { background: var(--clr-accent); color: #fff; }
.btn--full { width: 100%; }

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--clr-border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-text {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: var(--clr-text);
}
.logo-text span {
  display: block;
  color: var(--clr-accent);
}

/* ── FOOTER BRAND LOGO ── */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand__icon {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
}
.footer-brand__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand__name {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: #fff;
}
.footer-brand__name span { display: block; color: var(--clr-accent); }

.nav { display: none; gap: 24px; margin-left: auto; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-muted);
  transition: color var(--transition);
}
.nav a:hover { color: var(--clr-text); }

.header .btn--sm { margin-left: auto; flex-shrink: 0; }

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 20px clamp(16px,4vw,40px);
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-muted);
}
.mobile-menu a:hover { color: var(--clr-text); }

@media (min-width: 900px) {
  .nav { display: flex; }
  .burger { display: none; }
  .header .btn--sm { margin-left: 0; }
}

/* ── HERO ── */
.hero {
  padding: clamp(56px,8vw,100px) 0 clamp(40px,6vw,60px);
  border-bottom: 1px solid var(--clr-border);
}

.hero__content { max-width: 820px; margin-bottom: 56px; }

.hero__title {
  font-size: clamp(36px, 5.5vw, 68px);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title .accent { color: var(--clr-accent); }

.hero__sub {
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--clr-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

/* ── COVERAGE BLOCK (карта + карточки) ── */
.coverage-block {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #eef3fc;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) clamp(28px, 4vw, 48px);
}

/* Фоновая карта */
.coverage-map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  z-index: 0;
}

/* Верхняя строка: заголовок + одна карточка */
.coverage-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.coverage-title__main {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}
.coverage-title__accent {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--clr-accent);
  margin-top: 4px;
}

/* Ряды карточек */
.coverage-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .coverage-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .coverage-row { grid-template-columns: repeat(2, 1fr); }
  .coverage-top { flex-direction: column; }
  .coverage-top .region-card { width: 100%; }
}

/* ── REGION CARD ── */
.region-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px 14px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.region-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

/* В coverage-top карточка чуть крупнее */
.coverage-top .region-card { min-width: 180px; }

.region-card__count {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: var(--clr-accent);
  line-height: 1.1;
  margin-bottom: 8px;
}
.region-card__name {
  font-size: 13px;
  color: var(--clr-text);
  font-weight: 500;
  line-height: 1.3;
}

/* ── LINK ARROW ── */
.link-arrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 12px;
}
.link-arrow:hover { text-decoration: underline; }

/* ── PAINS ── */
.pains {
  padding: clamp(56px,8vw,96px) 0;
  border-bottom: 1px solid var(--clr-border);
}
.pains .section-title { margin-bottom: 48px; }

.pains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.pain-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pain-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.pain-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.pain-card__icon svg { width: 26px; height: 26px; color: #fff; }
.pain-card h3 { font-size: 18px; margin-bottom: 10px; }
.pain-card p  { font-size: 14px; color: var(--clr-muted); }

/* ── FORM BLOCK ── */
.form-block {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  gap: 32px;
  margin-top: 40px;
}
@media (min-width: 700px) {
  .form-block { grid-template-columns: 1fr 1fr; align-items: center; }
}

.form-block--dark {
  background: var(--clr-surface2);
  border-color: rgba(27,84,248,0.15);
}
.form-block--light {
  background: rgba(27,84,248,0.04);
  border-color: rgba(27,84,248,0.2);
}
.form-block--white {
  background: #fff;
  border-color: var(--clr-border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 32px;
}
.form-block--white h3 { color: var(--clr-text); margin-bottom: 20px; }
.form-block--sm { margin-top: 20px; }

.form-block__text h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.form-block__text p { font-size: 15px; color: var(--clr-muted); }

/* ── LEAD FORM ── */
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.form-consent {
  font-size: 0.7rem;
  color: var(--clr-muted);
  opacity: 0.65;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}
.form-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.form-consent a:hover { color: var(--clr-accent); }

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-size: 15px;
  font-family: var(--font-main);
  transition: border-color var(--transition);
  appearance: none;
}
.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(27,84,248,0.1);
}
.lead-form input::placeholder { color: #aab2cc; }
.lead-form select option { background: #fff; color: var(--clr-text); }

.lead-form--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}
.lead-form--inline input,
.lead-form--inline select { flex: 1 1 200px; }
.lead-form--inline .btn { flex-shrink: 0; }

/* ── inline-валидация ── */
.lead-form input.is-invalid,
.lead-form select.is-invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.12);
}
.field-error {
  display: block;
  color: #e53935;
  font-size: 13px;
  margin-top: -4px;
  line-height: 1.3;
}
.lead-form--inline .field-error { flex-basis: 100%; margin-top: 0; }

/* ── модальное окно «Спасибо за заявку» ── */
.ty-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ty-overlay.on { opacity: 1; visibility: visible; }

.ty-modal {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ty-overlay.on .ty-modal { transform: translateY(0) scale(1); }

.ty-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: #9aa3b8;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.ty-close:hover { color: var(--clr-text); }

.ty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  color: var(--clr-accent);
}
.ty-icon svg { width: 100%; height: 100%; display: block; }

.ty-title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1.25;
}
.ty-text {
  margin: 0 0 26px;
  font-size: 15px;
  color: var(--clr-muted);
  line-height: 1.5;
}
.ty-ok { min-width: 160px; }

@media (max-width: 480px) {
  .ty-modal { padding: 32px 22px 24px; border-radius: 14px; }
  .ty-icon { width: 60px; height: 60px; margin-bottom: 14px; }
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: clamp(56px,8vw,96px) 0;
  border-bottom: 1px solid var(--clr-border);
}

.steps { margin: 48px 0; }

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 20px;
  border-top: 1px solid var(--clr-border);
  align-items: start;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.step:hover { background: var(--clr-surface); }
.step:last-child { border-bottom: 1px solid var(--clr-border); }
.step__connector { display: none; }

.step__num {
  font-size: 46px;
  font-weight: 900;
  color: var(--clr-accent);
  opacity: 0.25;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.step__icon {
  width: 28px;
  height: 28px;
  opacity: 1;
  color: var(--clr-accent);
}
.step__body h3 {
  font-size: clamp(17px, 2.2vw, 22px);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.step__body p { font-size: 15px; color: var(--clr-muted); }

/* ── DATABASE SECTION ── */
.database-section {
  position: relative;
  padding: clamp(56px,8vw,96px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-surface);
}

.database-section__bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}
.database-section__bg svg { width: 100%; height: 100%; }
.russia-shape-bg { fill: var(--clr-accent); }

.database-section__inner {
  display: grid;
  gap: var(--gap);
  align-items: start;
}
@media (min-width: 800px) {
  .database-section__inner { grid-template-columns: 1fr 1fr; }
}

.database-section__content { position: relative; }
.database-section__content .section-title { margin-bottom: 16px; }
.database-section__content p { color: var(--clr-muted); margin-bottom: 20px; }
.database-section__content .btn { margin-top: 8px; }

.database-section__regions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.region-card--dark {
  background: #fff;
  border: 1px solid rgba(27,84,248,0.15);
  box-shadow: 0 2px 10px rgba(27,84,248,0.07);
}

.scoring-model-title {
  grid-column: 1 / -1;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-top: 8px;
}

.scoring-model-img {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: contain;
  cursor: zoom-in;
}

.scoring-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.scoring-lightbox.active {
  display: flex;
}

.scoring-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  pointer-events: none;
}

/* ── CHECK LIST ── */
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--clr-accent);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-list--lg li { font-size: 17px; }

/* ── CASES ── */
.cases {
  padding: clamp(56px,8vw,96px) 0;
  border-bottom: 1px solid var(--clr-border);
}
.cases .section-title { margin-bottom: 48px; }

.case-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: clamp(24px,4vw,48px);
  margin-bottom: 28px;
  transition: box-shadow var(--transition);
  overflow: hidden;
}
.case-card:hover { box-shadow: var(--shadow-hover); }

.case-card__visual {
  margin: calc(-1 * clamp(24px,4vw,48px)) calc(-1 * clamp(24px,4vw,48px)) 32px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  height: clamp(180px, 28vw, 300px);
}
.case-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.case-card__header { margin-bottom: 28px; }
.case-tag {
  display: inline-block;
  background: var(--clr-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.case-card__header h3 {
  font-size: clamp(20px,2.8vw,28px);
  text-transform: uppercase;
}

.case-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.metric-group { flex: 1 1 240px; }
.metric-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-muted);
  margin-bottom: 12px;
}
.metric-label--after { color: var(--clr-accent); }

.metric-row { display: flex; gap: 16px; flex-wrap: nowrap; }
.metric { text-align: center; }
.metric__val {
  font-size: clamp(28px,3.5vw,42px);
  font-weight: 900;
  white-space: nowrap;
  line-height: 1;
  margin-bottom: 4px;
}
.metric__val--before { color: var(--clr-accent2); }
.metric__val--after  { color: var(--clr-accent); }
.metric__name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-muted);
}
.case-arrow {
  font-size: 36px;
  color: var(--clr-accent);
  font-weight: 900;
  flex-shrink: 0;
  opacity: 0.6;
}
.case-card__comment {
  font-size: 14px;
  color: var(--clr-muted);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3px solid var(--clr-accent);
}

/* ── BENEFITS ── */
.benefits {
  padding: clamp(40px,6vw,72px) 0;
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 600px) {
  .benefits__grid { grid-template-columns: 1fr; }
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.benefit-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(27,84,248,0.1);
  border: 1px solid rgba(27,84,248,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
}
.benefit-item__icon svg { width: 20px; height: 20px; }
.benefit-item__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 4px;
}
.benefit-item__text span {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.5;
}

/* ── STATEMENTS ── */
.statements {
  padding: clamp(48px,7vw,88px) 0;
  background: var(--clr-surface2);
  text-align: center;
}
.statement {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.4;
  margin: 0 auto 20px;
  max-width: 760px;
}
.statement--cta { color: var(--clr-muted); font-weight: 500; }
.statement__link {
  color: var(--clr-accent);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.statement__link:hover { text-decoration: underline; }

/* ── LEAD MAGNET ── */
.leadmagnet {
  padding: clamp(56px,8vw,96px) 0;
  background: var(--clr-surface2);
  border-bottom: 1px solid var(--clr-border);
}
.leadmagnet__inner {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
@media (min-width: 800px) {
  .leadmagnet__inner { grid-template-columns: 1fr 1fr; }
}
.leadmagnet__left .section-title { margin-bottom: 16px; }
.leadmagnet__left p { color: var(--clr-muted); }

/* ── BLOG ── */
.blog {
  padding: clamp(56px,8vw,96px) 0;
  border-bottom: 1px solid var(--clr-border);
}

.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.blog-tab {
  padding: 8px 18px;
  border: 1.5px solid var(--clr-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.blog-tab:hover,
.blog-tab.active {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.blog-card.hidden { display: none; }
.blog-card__header {
  margin: -24px -24px 16px;
  height: 110px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card__header svg { width: 44px; height: 44px; opacity: 0.9; }
.blog-card__header--strojka    { background: linear-gradient(135deg, #f97316, #fb923c); }
.blog-card__header--nedv       { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.blog-card__header--edtech     { background: linear-gradient(135deg, #059669, #34d399); }
.blog-card__header--medicina   { background: linear-gradient(135deg, #dc2626, #f87171); }

.blog-card__cat {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-accent);
}
.blog-card h3 { font-size: 18px; }
.blog-card p  { font-size: 14px; color: var(--clr-muted); flex: 1; }

/* ── ABOUT ── */
.about {
  padding: clamp(56px,8vw,96px) 0;
  border-bottom: 1px solid var(--clr-border);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 48px 0;
}
.about-stat {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.about-stat__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27,84,248,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.about-stat__icon svg { width: 26px; height: 26px; color: var(--clr-accent); }
.about-stat:hover { border-color: var(--clr-accent); box-shadow: var(--shadow-hover); }

.about-stat__num {
  font-size: clamp(38px,5.5vw,60px);
  font-weight: 900;
  color: var(--clr-accent);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}
.about-stat__num span {
  font-size: 0.45em;
  vertical-align: middle;
  color: var(--clr-muted);
}
.about-stat__desc { font-size: 14px; color: var(--clr-muted); }
.about__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.about__text {
  font-size: clamp(16px,1.8vw,19px);
  color: var(--clr-muted);
  line-height: 1.75;
}
.about__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(27,84,248,0.15);
}
.about__visual img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 760px) {
  .about__bottom { grid-template-columns: 1fr; }
  .about__visual { max-width: 480px; margin: 0 auto; }
}

/* ── PRICING ── */
.pricing {
  padding: clamp(56px,8vw,96px) 0;
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-surface);
}
.pricing__card {
  background: #fff;
  border: 1.5px solid rgba(27,84,248,0.2);
  border-radius: var(--radius);
  padding: clamp(28px,5vw,56px);
  max-width: 760px;
  margin: 48px 0;
  box-shadow: var(--shadow);
}
.pricing__price {
  font-size: clamp(38px,6vw,68px);
  font-weight: 900;
  color: var(--clr-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pricing__card h3 {
  font-size: clamp(17px,2.2vw,24px);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.pricing__card p { font-size: 15px; color: var(--clr-muted); margin-bottom: 16px; }
.pricing__card .btn { margin-top: 24px; }

/* ── FOOTER ── */
.footer {
  background: var(--clr-text);
  color: rgba(255,255,255,0.85);
  padding: clamp(48px,7vw,72px) 0 0;
}

.footer__inner {
  display: grid;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 700px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo span { color: var(--clr-accent); }
.footer__col--brand p { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 20px; }

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.footer__contacts a:hover { color: var(--clr-accent); }

.footer__form-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #fff;
}

.footer .lead-form input,
.footer .lead-form select {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.footer .lead-form input::placeholder { color: rgba(255,255,255,0.35); }
.footer .lead-form input:focus,
.footer .lead-form select:focus { border-color: var(--clr-accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer__links a:hover { color: rgba(255,255,255,0.8); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--clr-accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 15px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(27,84,248,0.35);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── MODAL (опрос, пока скрыт) ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,12,20,0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 20px;
  color: var(--clr-muted);
  cursor: pointer;
}
.modal__step h3 { font-size: 22px; margin-bottom: 24px; text-transform: uppercase; }
.survey-options { display: flex; flex-direction: column; gap: 10px; }
.survey-opt {
  padding: 14px 20px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  transition: border-color var(--transition), background var(--transition);
}
.survey-opt:hover { border-color: var(--clr-accent); background: rgba(27,84,248,0.04); }
.modal__step.hidden { display: none; }

/* ── AOS (кастомные анимации через IntersectionObserver) ── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos][data-aos-delay="50"]  { transition-delay: 50ms; }
[data-aos][data-aos-delay="60"]  { transition-delay: 60ms; }
[data-aos][data-aos-delay="80"]  { transition-delay: 80ms; }
[data-aos][data-aos-delay="100"] { transition-delay: 100ms; }
[data-aos][data-aos-delay="110"] { transition-delay: 110ms; }
[data-aos][data-aos-delay="140"] { transition-delay: 140ms; }
[data-aos][data-aos-delay="160"] { transition-delay: 160ms; }
[data-aos][data-aos-delay="170"] { transition-delay: 170ms; }
[data-aos][data-aos-delay="200"] { transition-delay: 200ms; }
[data-aos][data-aos-delay="220"] { transition-delay: 220ms; }
[data-aos][data-aos-delay="230"] { transition-delay: 230ms; }
[data-aos][data-aos-delay="240"] { transition-delay: 240ms; }
[data-aos][data-aos-delay="250"] { transition-delay: 250ms; }
[data-aos][data-aos-delay="260"] { transition-delay: 260ms; }
[data-aos][data-aos-delay="280"] { transition-delay: 280ms; }
[data-aos][data-aos-delay="290"] { transition-delay: 290ms; }
[data-aos][data-aos-delay="300"] { transition-delay: 300ms; }
[data-aos][data-aos-delay="310"] { transition-delay: 310ms; }
[data-aos][data-aos-delay="320"] { transition-delay: 320ms; }
[data-aos][data-aos-delay="340"] { transition-delay: 340ms; }
[data-aos][data-aos-delay="350"] { transition-delay: 350ms; }

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .metric-row { gap: 14px; }
  .case-card__metrics { flex-direction: column; gap: 16px; }
  .case-card__metrics .metric-group { flex: 0 0 auto; }
  .case-arrow { display: none; }
  .lead-form--inline { flex-direction: column; }
  .lead-form--inline input,
  .lead-form--inline select { flex: none; width: 100%; }
}

/* ── HOW WE KNOW ── */
.how-we-know {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--clr-surface);
  border-bottom: 1px solid var(--clr-border);
}

.how-we-know__flow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 48px;
}

.hwk-card {
  flex: 1 1 200px;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hwk-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(27, 84, 248, 0.08);
  border: 1px solid rgba(27, 84, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
}
.hwk-card__icon svg { width: 20px; height: 20px; max-width: none; flex-shrink: 0; }

.hwk-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  text-transform: none;
  margin: 0;
}

.hwk-card p {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.hwk-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-accent);
  padding: 0 8px;
  flex-shrink: 0;
}

.hwk-result {
  flex: 0 0 220px;
  background: var(--clr-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.hwk-result__label {
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hwk-result p { margin: 0; }

@media (max-width: 900px) {
  .hwk-arrow { display: none; }
  .how-we-know__flow { flex-direction: column; gap: 16px; }
  .hwk-result { flex: 1 1 auto; }
}

/* ── MOBILE FIXES ── */
@media (max-width: 600px) {
  /* Заголовки — меньше шрифт чтобы не обрезались */
  .hero__title {
    font-size: clamp(24px, 6.5vw, 36px);
  }
  .section-title {
    font-size: clamp(20px, 5.5vw, 30px);
  }

  /* Картинки кейсов — показывать целиком, не кропить */
  .case-card__visual {
    height: auto;
    aspect-ratio: 4 / 1;
  }
  .case-card__visual img {
    object-fit: contain;
    object-position: center center;
  }

  /* Скоринг-картинка — без отрицательных отступов */
  .scoring-model-img {
    width: 100%;
    margin-left: 0;
  }
}
