/* ============ БАЗА — стили по макету Figma (1440) ============ */
:root {
  --accent: #0D29B2;
  --text: #1E1E1E;
  --text-2: #606060;
  --bg: #EFEFEF;
  --white: #FFFFFF;
  --card-border: #0F64FF;
  --radius: 24px;
  --container: 1328px;
  --font: 'Gilroy', 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-logo: 'Nasalization Rg', 'Nasalization', 'Gilroy', 'Manrope', sans-serif;
}

/* Фирменный шрифт Gilroy: положите файлы в assets/fonts/ — подхватятся автоматически.
   Пока файлов нет, используется Manrope (Google Fonts, ближайший аналог). */
@font-face {
  font-family: 'Gilroy';
  src: url('../assets/fonts/Gilroy-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../assets/fonts/Gilroy-SemiBold.woff') format('woff');
  font-weight: 600;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container { max-width: calc(var(--container) + 112px); margin: 0 auto; padding-left: 56px; padding-right: 56px; }

/* Заголовки 80/66 */
.h-xl {
  font-size: 80px;
  line-height: 66px;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: var(--text);
}

/* ============ Кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 12px 12px 12px 24px;
  border-radius: 51px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,41,178,.25); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--outline { border: 1px solid var(--text); color: var(--text); border-radius: 38px; }
.btn--white { background: #fff; color: var(--text); }
.btn--wide { min-width: 314px; justify-content: space-between; }
.btn__icon--b {
  width: 35px; height: 35px; flex: 0 0 35px;
  background: #fff; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-logo);
  font-size: 20px; color: var(--accent); text-transform: uppercase; font-weight: 400;
}
.btn__icon-svg { width: 35px; height: 35px; }
.btn__icon-svg.white { --ca-bg: #fff; --ca-fg: var(--accent); }
.rot90 { transform: rotate(90deg); width: 35px; height: 35px; }
.rot180 { transform: rotate(180deg); width: 35px; height: 35px; }

/* Теги-плашки */
.tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 55px; font-size: 16px; white-space: nowrap;
}
.tag--gray { border: 1px solid var(--text-2); color: var(--text); }
.tag--dark { border: 1px solid var(--text); color: #000; }
.tag--white { background: #fff; color: var(--text); border-radius: 45px; font-size: 16px; }

/* ============ Хедер ============ */
.header {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 56px;
}
.logo-svg { width: 81px; height: 22px; fill: var(--text); }
.header__right { display: flex; align-items: center; gap: 16px; }
.header__nav {
  display: flex; gap: 32px; align-items: center;
  background: #fff; border-radius: 12px; padding: 16px;
  font-size: 18px;
}
.header__nav a:hover { color: var(--accent); }
.header__cta {
  background: var(--accent); color: #fff; border-radius: 12px;
  padding: 16px; font-size: 18px; transition: background .2s;
}
.header__cta:hover { background: #0a1f8a; }
.header__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.header__burger span { width: 24px; height: 2px; background: var(--text); }

/* ============ Hero ============ */
.hero {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-top: 90px; gap: 24px;
}
.hero__content { max-width: 652px; padding-top: 28px; }
.hero__sub { margin-top: 24px; max-width: 396px; color: var(--text-2); font-size: 16px; }
.hero__actions { margin-top: 42px; display: flex; gap: 24px; flex-wrap: wrap; }

/* ============ Синий блоб-арт ============ */
.blob-art { position: relative; width: 651px; height: 492px; flex: 0 0 auto; }
.blob-art__blob {
  position: absolute; inset: -10% -6%;
  background: radial-gradient(50% 50% at 50% 50%,
    #2E63F0 0%, #3567f0 32%, #4a75ec 55%, rgba(94,124,228,.55) 74%, rgba(140,160,226,0) 100%);
  filter: blur(6px);
  border-radius: 50%;
}
.blob-art__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(239,239,239,.55) 0 0),
    linear-gradient(rgba(239,239,239,.55) 0 0);
  background-size: 0;
}
/* сетка плиток через repeating-gradient + маска скруглений имитируется линиями */
.blob-art__grid::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 2px, transparent 2px 106.5px, rgba(239,239,239,.9) 106.5px 108.5px),
    repeating-linear-gradient(0deg, transparent 0 2px, transparent 2px 80px, rgba(239,239,239,.9) 80px 82px);
  opacity: .5;
}
.blob-art__grid::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(225,225,225,0.06);
}
.blob-art__logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 255px; height: 65px; fill: #fff;
}
.blob-art__label {
  position: absolute; color: #fff; font-size: 12px; line-height: 14px;
}
.blob-art__label--tl { left: 225px; top: 92px; }
.blob-art__label--br { left: 333px; top: 358px; }
.blob-art__plus { position: absolute; width: 46px; height: 12px; color: #fff; opacity: .9; }
.blob-art__plus.vertical { transform: rotate(90deg); }
.blob-art__plus--1 { left: 121px; top: 388px; }
.blob-art__plus--2 { left: 486px; top: 92px; }
.blob-art__plus--3 { left: 514px; top: 354px; }
.blob-art__plus--4 { left: 114px; top: 92px; }

/* ============ Статистика ============ */
.stats {
  margin-top: 106px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat-card {
  position: relative; background: #fff; border-radius: var(--radius);
  min-height: 275px; padding: 24px 16px 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.stat-card__dot {
  position: absolute; right: 24px; top: 24px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
}
.stat-card__num { font-size: 80px; line-height: 66px; letter-spacing: -0.011em; }
.stat-card__label { margin-top: 8px; color: var(--text-2); font-size: 16px; }

/* ============ Работаем с компаниями ============ */
.industries { margin-top: 120px; }
.industries__box {
  position: relative;
  border: 0.5px solid var(--accent); border-radius: var(--radius);
  min-height: 538px; overflow: hidden;
  padding: 32px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 32px;
}
.industries__title { position: relative; z-index: 2; margin: 91px 0 0 51px; text-align: center; max-width: 539px; flex: 0 1 auto; }
.industries__art { position: absolute; left: -20px; bottom: -250px; z-index: 1; pointer-events: none; }
.industries__art .blob-art__blob { inset: -16% -12%; }
.blob-art__plus--i1 { left: 521px; top: 103px; color: var(--accent); }
.blob-art__plus--i2 { left: 225px; top: 215px; color: #fff; }
.industries__list {
  position: relative; z-index: 2; width: 422px; flex: 0 0 auto; margin-right: 54px;
  display: flex; flex-direction: column; gap: 16px;
}
.industries__list li {
  background: #fff; border-radius: 55px; padding: 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 18px; transition: transform .2s, border-radius .35s ease;
}
.industries__list li.open { border-radius: 22px; }
.industries__list li:hover { transform: translateX(4px); }
.ind-plus { width: 12px; height: 12px; color: var(--accent); }

/* ============ Проблемы ============ */
.problems { margin-top: 120px; background: #fff; }
.problems__inner { position: relative; padding-top: 56px; padding-bottom: 56px; }
.problems__inner .h-xl { max-width: 673px; }
.problems__decor {
  position: absolute; right: 56px; top: 56px;
  width: 125px; height: 33px; color: var(--accent); transform: rotate(180deg);
}
.problems__grid {
  margin-top: 106px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.problem-card {
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 16px; min-height: 164px;
}
.problem-card__num { font-size: 16px; font-weight: 600; color: var(--text-2); opacity: .7; }
.problem-card h3 { margin-top: 24px; font-size: 32px; line-height: 34px; font-weight: 400; }
.problem-card p { margin-top: 16px; color: var(--text-2); font-size: 16px; }
.problems .btn--wide { margin-top: 40px; }

/* ============ Услуги ============ */
.services { margin-top: 120px; }
.services__sub { margin-top: 28px; max-width: 314px; color: var(--text-2); font-size: 16px; }
.services__grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  position: relative; background: #fff; border-radius: var(--radius);
  min-height: 480px; padding: 32px 32px 160px; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card h3 { font-size: 32px; line-height: 34px; font-weight: 400; }
.service-card__top p { margin-top: 24px; font-size: 16px; max-width: 310px; }
.service-card__bottom {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.service-card__price { font-size: 32px; font-weight: 600; letter-spacing: -0.011em; }
.service-card__more:hover { opacity: .85; }
.service-card__tex {
  position: absolute; left: 0; right: 0; bottom: 0; height: 128px;
  border-radius: 0 0 var(--radius) var(--radius);
}
.services .btn--wide { margin-top: 40px; }

/* Текстура «жидкие блики» (селектор .tex.tex — приоритет над фонами карточек) */
.tex.tex {
  background:
    radial-gradient(120% 160% at 15% 110%, rgba(90,130,255,.55) 0%, rgba(90,130,255,0) 45%),
    radial-gradient(90% 140% at 80% -20%, rgba(70,110,240,.5) 0%, rgba(70,110,240,0) 50%),
    radial-gradient(60% 90% at 55% 60%, rgba(140,170,255,.35) 0%, rgba(140,170,255,0) 60%),
    #1830b8;
  background-blend-mode: screen, screen, screen, normal;
}
.tex::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background:
    radial-gradient(35% 45% at 25% 35%, rgba(255,255,255,.28) 0%, transparent 70%),
    radial-gradient(28% 40% at 65% 75%, rgba(200,220,255,.22) 0%, transparent 70%),
    radial-gradient(20% 30% at 85% 25%, rgba(255,255,255,.14) 0%, transparent 70%);
  filter: blur(2px);
  mix-blend-mode: screen;
}

/* ============ 4 шага ============ */
.steps {
  margin-top: 120px;
  display: flex; justify-content: space-between; gap: 24px;
}
.steps__left { max-width: 652px; padding-top: 172px; }
.steps__left .btn--wide { margin-top: 40px; }
.steps__list { width: 640px; display: flex; flex-direction: column; gap: 32px; }
.step {
  display: flex; gap: 56px; align-items: center;
  border-bottom: 1px solid var(--text); padding-bottom: 16px;
}
.step__num { font-size: 80px; line-height: 66px; flex: 0 0 96px; }
.step__body h3 { font-size: 32px; line-height: 34px; font-weight: 400; white-space: nowrap; }
.step__body p { margin-top: 16px; color: var(--text-2); font-size: 16px; max-width: 341px; }

/* ============ Кейсы ============ */
.cases { margin-top: 120px; }
.cases__head { display: flex; align-items: flex-start; justify-content: space-between; }
.slider-nav { display: flex; gap: 19px; }
.slider-nav__btn svg { width: 35px; height: 35px; }
.slider-nav__btn:disabled { opacity: .35; cursor: default; }
.cases__viewport { margin-top: 36px; overflow: hidden; }
.cases__track { display: flex; gap: 80px; transition: transform .5s ease; }
.case-slide { flex: 0 0 100%; max-width: 100%; display: flex; gap: 24px; }
.case-slide .tag { max-width: 100%; white-space: normal; }
.case-slide__main {
  flex: 0 0 56%; background: #fff; border-radius: var(--radius); padding: 32px;
}
.case-slide__desc { margin-top: 32px; font-size: 32px; line-height: 34px; max-width: 589px; }
.case-slide__side { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.case-note { background: #fff; border-radius: var(--radius); padding: 16px; }
.case-note__label { font-weight: 600; font-size: 16px; }
.case-note p + p, .case-note p:last-child:not(.case-note__label) { margin-top: 16px; font-size: 16px; }
.case-note--result { position: relative; color: #fff; border-radius: var(--radius); min-height: 144px; }
.cases .btn--wide { margin-top: 40px; }

/* ============ Оффер ============ */
.offer { margin-top: 120px; }
.offer__grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer-card {
  position: relative; border-radius: var(--radius); min-height: 454px;
  padding: 32px; color: #fff; overflow: hidden;
  background:
    radial-gradient(90% 110% at 88% 38%, #0b1f96 0%, rgba(11,31,150,0) 55%),
    radial-gradient(120% 130% at 15% 100%, #b6c4ee 0%, rgba(182,196,238,0) 55%),
    radial-gradient(100% 120% at 40% 60%, #4a6fd8 0%, rgba(127,151,221,0) 65%),
    linear-gradient(135deg, #2f62e8 0%, #3b63d8 50%, #4a6fd8 100%);
  display: flex; flex-direction: column; align-items: flex-start;
}
.offer-card h3 { margin-top: 12px; font-size: 32px; line-height: 34px; font-weight: 400; max-width: 395px; }
.offer-card p { margin: 24px 0 32px; font-size: 16px; max-width: 340px; }
.offer-card .btn { margin-top: auto; }
.offer-card .btn--white .btn__icon--b { background: var(--accent); color: #fff; }

/* ============ Отзывы ============ */
.reviews { margin-top: 120px; }
.reviews__head { display: flex; align-items: flex-start; justify-content: space-between; }
.reviews__head .h-xl { max-width: 676px; }
.reviews__viewport { margin-top: 60px; overflow: hidden; }
.reviews__track { display: flex; gap: 24px; transition: transform .5s ease; }
.review-card {
  flex: 0 0 calc(50% - 12px); background: #fff; border-radius: var(--radius);
  padding: 24px; min-height: 677px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.review-card__stars { display: flex; gap: 4px; }
.review-card__stars svg { width: 24px; height: 24px; fill: var(--accent); }
.review-card__top > .tag { margin-top: 24px; }
.review-card__text { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; color: #000; max-width: 448px; }
.review-card__result {
  margin-top: 32px; background: rgba(13,41,178,.7); border-radius: var(--radius);
  padding: 16px; color: #fff; font-size: 16px;
}
.review-card__result .rc-label { font-weight: 600; }
.review-card__result p + p { margin-top: 16px; }
.review-card__author { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 16px; }
.review-card__avatar {
  width: 32px; height: 32px; border-radius: 16px; background: var(--accent);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}

/* ============ FAQ ============ */
.faq { margin-top: 140px; }
.faq__inner { max-width: 765px; margin: 0 auto; padding: 0 24px; }
.faq__inner .h-xl { text-align: left; }
.faq__list { margin-top: 40px; display: flex; flex-direction: column; gap: 32px; }
.faq-item { border-bottom: 1px solid var(--text); padding-bottom: 24px; }
.faq-item summary {
  list-style: none; display: flex; align-items: center; gap: 24px; cursor: pointer;
  font-size: 32px; line-height: 34px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__num { flex: 0 0 auto; }
.faq-item__q { flex: 1; }
.faq-item__icon { width: 24px; height: 24px; color: var(--accent); transition: transform .3s; flex: 0 0 24px; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item p { margin-top: 24px; color: var(--text-2); font-size: 16px; }

/* ============ Прямые контакты ============ */
.lead { position: relative; margin-top: 140px; padding: 60px 24px 0; overflow: hidden; }
.lead__bg {
  position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%);
  width: 1476px; max-width: 110vw; pointer-events: none;
}
.lead__baza {
  width: 100%; height: 354px;
  fill: url(#lead-grad) #c6cef2;
  fill: #ccd4f4;
  opacity: .8;
}
.lead__card {
  position: relative; z-index: 2;
  width: 427px; max-width: 100%; margin: 0 auto;
  background: #fff; border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 33px; align-items: center;
  box-shadow: 0 24px 80px rgba(13,41,178,.10);
}
.lead__head { text-align: center; }
.lead__head h2 { font-size: 32px; line-height: 34px; font-weight: 400; }
.lead__head p { margin-top: 16px; color: var(--text-2); font-size: 16px; max-width: 313px; }
.lead__fields { width: 314px; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.lead__input, .lead__phone {
  background: var(--bg); border-radius: 61px; height: 39px;
  display: flex; align-items: center; justify-content: center;
}
.lead__input {
  border: 0; width: 100%; text-align: center; font: inherit; font-size: 16px; color: var(--text);
}
.lead__input:focus, .lead__phone:focus-within { outline: 2px solid var(--accent); }
.lead__phone { gap: 8px; padding: 0 12px; }
.lead__flag { width: 18px; height: 18px; flex: 0 0 18px; }
.lead__phone input {
  border: 0; background: none; font: inherit; font-size: 16px; color: var(--text);
  width: 160px; text-align: left; outline: none;
}
.lead__submit { margin-top: 16px; height: 45px; padding: 10px 12px; }
.lead__agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; max-width: 326px; cursor: pointer; }
.lead__agree input {
  appearance: none; width: 16px; height: 16px; border: 1px solid var(--text); flex: 0 0 16px; cursor: pointer;
}
.lead__agree input:checked { background: var(--accent); border-color: var(--accent); }

.contact-actions { display: flex; flex-direction: column; gap: 20px; }
.contact-actions__links {
  width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.contact-actions__link {
  min-height: 70px; padding: 15px 18px; border: 1px solid rgba(13,41,178,.24);
  border-radius: 18px; background: #f6f7fc; display: flex; flex-direction: column;
  justify-content: center; gap: 4px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.contact-actions__link:hover {
  transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 30px rgba(13,41,178,.12);
}
.contact-actions__link strong { font-size: 16px; font-weight: 600; }
.contact-actions__link span { font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; }
.contact-actions__link--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.contact-actions__link--primary span { color: rgba(255,255,255,.78); }
.contact-actions__link--wide { grid-column: 1 / -1; }
.lead__card.contact-actions { align-items: stretch; }
.lead__card.contact-actions .lead__head { align-self: center; }
.lead__card.contact-actions .lead__trust { margin: 0; text-align: center; color: var(--text-2); font-size: 13px; }

/* ============ Футер ============ */
.footer { margin-top: 140px; padding-bottom: 56px; }
.footer__box {
  position: relative; background: #fff; border-radius: var(--radius);
  height: 569px; overflow: hidden; padding: 40px;
}
.footer__top { position: relative; z-index: 2; display: flex; }
.footer__nav { display: flex; flex-direction: column; gap: 16px; font-size: 18px; }
.footer__nav a:hover { color: var(--accent); }
.footer__contacts { margin-left: 235px; }
.footer__label { font-size: 18px; }
.footer__big { display: block; margin-top: 22px; font-size: 42px; line-height: 34px; letter-spacing: -0.011em; }
.footer__big:hover { color: var(--accent); }
.footer__contacts .footer__label:nth-of-type(2) { margin-top: 40px; }
.footer__cta { margin-left: auto; width: 236px; }
.footer__cta p { font-size: 18px; }
.footer__cta .btn { margin-top: 24px; width: 100%; }
.footer__social { margin-top: 32px; display: flex; gap: 16px; justify-content: flex-end; }
.soc { width: 42px; height: 42px; fill: var(--accent); }
.footer__social a:hover .soc { opacity: .8; }

.footer__art {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 285px; width: 1133px; height: 816px; z-index: 1;
}
.footer__art .blob-art__blob { inset: -8% -6%; }
.footer__art .blob-art__logo { width: 378px; height: 96px; top: 24%; }
.blob-art__plus--f1 { left: 510px; top: 320px; color: #fff; }
.blob-art__plus--f2 { left: 340px; top: 322px; color: #fff; }

/* ============ Адаптив ============ */
@media (max-width: 1360px) {
  .h-xl { font-size: 64px; line-height: 56px; }
  .stat-card__num { font-size: 64px; line-height: 56px; }
  .step__num { font-size: 64px; line-height: 56px; flex-basis: 80px; }
  .steps__list { width: 55%; }
  .step__body h3 { white-space: normal; }
  .hero__art { width: 553px; }
  .industries__list { margin-right: 0; }
}

@media (max-width: 1100px) {
  .container { padding-left: 32px; padding-right: 32px; }
  .header__nav { gap: 20px; font-size: 16px; }
  .hero { flex-direction: column; }
  .hero__art { width: 100%; max-width: 651px; margin: 40px auto 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .industries__box { padding: 32px; min-height: 0; flex-direction: column; align-items: stretch; }
  .industries__title { margin: 0; text-align: left; }
  .industries__art { display: none; }
  .industries__list { position: static; width: 100%; margin-top: 32px; margin-right: 0; }
  .steps { flex-direction: column; }
  .steps__left { padding-top: 0; }
  .steps__list { width: 100%; }
  .case-slide { flex-direction: column; }
  .case-slide__main { flex: none; }
  .review-card { flex: 0 0 100%; }
  .footer__box { height: auto; padding-bottom: calc((100vw - 64px) * 0.2542 + 56px); }
  .footer__top { flex-wrap: wrap; gap: 40px; }
  .footer__contacts { margin-left: 0; }
  .footer__cta { margin-left: 0; }
  .footer__art { top: auto; bottom: -450px; }
}

@media (max-width: 760px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .h-xl { font-size: 40px; line-height: 38px; }
  .stat-card__num { font-size: 44px; line-height: 44px; }
  .header { padding-top: 24px; }
  .header__nav { display: none; }
  .header__nav.open {
    display: flex; position: absolute; top: 80px; right: 16px; z-index: 50;
    flex-direction: column; box-shadow: 0 12px 40px rgba(0,0,0,.12);
  }
  .header__burger { display: flex; }
  .hero { padding-top: 40px; }
  .blob-art__logo { width: 180px; height: 46px; }
  .stats { grid-template-columns: 1fr; margin-top: 56px; }
  .stat-card { min-height: 200px; }
  .industries, .problems, .services, .steps, .cases, .offer, .reviews { margin-top: 64px; }
  .problems__grid { grid-template-columns: 1fr; margin-top: 48px; }
  .problems__decor { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .offer__grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 0; }
  .cases__head, .reviews__head { flex-direction: column; gap: 24px; }
  .case-slide__desc { font-size: 22px; line-height: 26px; }
  .step { gap: 24px; }
  .step__body h3 { font-size: 24px; line-height: 26px; }
  .faq { margin-top: 80px; }
  .faq-item summary { font-size: 20px; line-height: 24px; gap: 12px; }
  .review-card { min-height: 0; }
  .footer__big { font-size: 26px; }
  .footer__contacts a[href^="mailto"].footer__big { font-size: 19px; }
  .footer__box { padding: 24px; padding-bottom: calc((100vw - 32px) * 0.2542 + 48px); }
  .footer__cta { width: 100%; }
  .footer__cta .btn { width: auto; }
  .footer__social { justify-content: flex-start; }
  .btn--wide { min-width: 0; width: 100%; }
  .lead__card { width: 100%; }
}

/* ============ ДОПОЛНЕНИЯ: анимации, аккордеоны, внутренние страницы ============ */

/* --- Появление при скролле --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* --- Дыхание блоба --- */
@keyframes blobBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
.blob-art__blob { animation: blobBreath 9s ease-in-out infinite; }

/* --- Парение плашек на блобе --- */
@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.blob-pill {
  position: absolute; z-index: 3;
  background: #fff; border-radius: 55px; padding: 12px 22px;
  font-size: 16px; color: var(--text); white-space: nowrap;
  box-shadow: 0 8px 30px rgba(13,41,178,.18);
  animation: pillFloat 6s ease-in-out infinite;
  animation-delay: var(--pd, 0s);
}

/* --- Живые ховеры карточек --- */
.stat-card, .problem-card, .service-card, .review-card, .case-note, .svc-card {
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.stat-card:hover, .problem-card:hover, .service-card:hover, .review-card:hover, .svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(13,41,178,.12);
}
.problem-card:hover { border-color: var(--accent); }

/* --- Аккордеон (общий) --- */
.acc-item { border-bottom: 1px solid var(--text); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: 24px;
  padding: 0 0 24px; text-align: left; cursor: pointer;
  font-size: 32px; line-height: 34px; color: var(--text);
}
.acc-head .acc-num { flex: 0 0 auto; }
.acc-head .acc-q { flex: 1; }
.acc-icon { width: 24px; height: 24px; color: var(--accent); flex: 0 0 24px; transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}
.acc-body > * { padding-bottom: 24px; color: var(--text-2); font-size: 16px; }
.acc-item.open .acc-body { opacity: 1; }
.acc-body::after { content: ""; display: block; height: 6px; }
.acc-body:has(> .btn:last-child)::after { height: 28px; }

/* --- Аккордеон отраслей (Работаем с компаниями) --- */
.industries__list li { flex-direction: column; align-items: stretch; }
.ind-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; font-size: 18px; cursor: pointer; padding: 18px 20px; color: var(--text);
}
.ind-plus { transition: transform .4s cubic-bezier(.22,.61,.36,1); }
li.open .ind-plus { transform: rotate(45deg); }
.ind-body {
  overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease;
}
.ind-body p { padding: 0 20px 18px; font-size: 14px; color: var(--text-2); }
li.open .ind-body { opacity: 1; }

/* --- Кнопки: волна при ховере --- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(100%); }

/* --- Внутренние страницы: hero --- */
.page-hero {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-top: 90px; gap: 24px;
}
.page-hero__content { max-width: 520px; padding-top: 100px; }
.page-hero__content .hero__sub { max-width: 428px; }
.page-hero__content .btn { margin-top: 42px; min-width: 314px; justify-content: space-between; }

/* --- Сетка карточек услуг --- */
.svc-title { text-align: center; margin-top: 120px; }
.svc-grid {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.svc-card {
  background: #fff; border-radius: var(--radius);
  padding: 24px; min-height: 411px;
  display: flex; flex-direction: column;
}
.svc-card h3 { font-size: 32px; line-height: 34px; font-weight: 400; max-width: 379px; }
.svc-card > p { margin-top: 16px; font-size: 14px; line-height: 1.35; color: var(--text-2); max-width: 347px; }
.svc-card__actions { margin-top: auto; padding-top: 24px; display: flex; gap: 33px; flex-wrap: wrap; }
.btn--sm { height: 52px; padding: 8px 8px 8px 24px; gap: 10px; }

/* --- Форма: доп. поля квалификации --- */
.lead__area {
  width: 100%; border: 0; background: var(--bg); border-radius: 20px;
  padding: 12px 16px; min-height: 92px; resize: vertical;
  font: inherit; font-size: 16px; color: var(--text);
}
.lead__area:focus { outline: 2px solid var(--accent); }
.lead__select {
  width: 100%; border: 0; background: var(--bg); border-radius: 61px;
  height: 39px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--text);
  appearance: none; cursor: pointer; text-align: center;
}
.lead__select:focus { outline: 2px solid var(--accent); }
.lead__note { font-size: 12px; color: var(--text-2); text-align: center; }

/* --- Активный пункт меню --- */
.header__nav a.active { color: var(--accent); }

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob-art__blob, .blob-pill { animation: none; }
  * { scroll-behavior: auto; }
}

/* --- Адаптив внутренних страниц --- */
@media (max-width: 1100px) {
  .page-hero { flex-direction: column; }
  .page-hero__content { padding-top: 0; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-title { margin-top: 64px; }
  .acc-head { font-size: 20px; line-height: 24px; gap: 12px; }
}

/* ============ Компоненты внутренних страниц ============ */

/* Чип-метка секции */
.chip {
  display: inline-flex; align-items: center;
  background: #fff; border-radius: 55px; padding: 10px 22px;
  font-size: 16px; color: var(--text);
}

/* Hero «О нас» / «Контакты» */
.split-hero { padding-top: 84px; }
.split-hero .chip { margin-bottom: 32px; }
.split-hero__row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.split-hero__row .h-xl { max-width: 852px; }
.split-hero__aside { max-width: 426px; }
.split-hero__aside p { font-size: 16px; color: var(--text-2); }
.split-hero__aside .btn { margin-top: 40px; min-width: 314px; justify-content: space-between; }
.note-plate {
  margin-top: 24px; background: var(--accent); color: #fff;
  border-radius: 12px; padding: 16px; font-size: 16px; line-height: 1.35;
}

/* Лента-слайдер карточек */
.strip { overflow: hidden; }
.strip__track { display: flex; gap: 24px; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.strip-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }

/* Карточки статистики «О нас» */
.about-stat {
  position: relative; flex: 0 0 314px; min-height: 232px;
  background: #fff; border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.about-stat::after {
  content: ""; position: absolute; right: 24px; top: 24px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
}
.about-stat__num { font-size: 64px; line-height: 66px; }
.about-stat__label { margin-top: 10px; font-size: 16px; color: var(--text-2); max-width: 266px; }

/* Чем занимаемся */
.about-intro { margin-top: 64px; }
.about-intro h2 { margin-top: 32px; font-size: 42px; line-height: 1.19; font-weight: 400; max-width: 1103px; }
.wwd-card {
  flex: 0 0 427px; min-height: 340px;
  background: #fff; border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
}
.wwd-card__icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.wwd-card__icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.6; }
.wwd-card h3 { margin-top: auto; padding-top: 24px; font-size: 32px; line-height: 34px; font-weight: 400; }
.wwd-card p { margin-top: 16px; font-size: 16px; color: var(--text-2); }

/* История */
.history { margin-top: 120px; display: flex; gap: 24px; }
.history__left { flex: 0 0 539px; }
.history__photo {
  position: relative; height: 280px; border-radius: var(--radius); overflow: hidden;
  background:
    radial-gradient(90% 120% at 80% 10%, #0b1f96 0%, rgba(11,31,150,0) 60%),
    linear-gradient(135deg, #2f62e8 0%, #6d8ce0 60%, #b6c4ee 100%);
  background-size: cover; background-position: center;
}
.history__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.history__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%;
  background: linear-gradient(180deg, rgba(13,20,60,0) 0%, rgba(10,15,45,.82) 100%);
}
.history__caption { position: absolute; left: 24px; bottom: 20px; z-index: 2; color: #fff; }
.history__caption strong { display: block; font-size: 32px; line-height: 34px; font-weight: 400; }
.history__caption span { display: block; margin-top: 4px; font-size: 14px; opacity: .85; }
.history__facts { margin-top: 32px; }
.history__facts li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(30,30,30,.25);
  font-size: 16px;
}
.history__facts li span:first-child { color: var(--text-2); }
.history__facts li span:last-child { font-weight: 600; }
.history__right { flex: 1; max-width: 652px; }
.history__right .chip { margin-bottom: 24px; }
.history__right h2 { font-size: 42px; line-height: 40px; font-weight: 400; }
.history__right p { margin-top: 24px; font-size: 16px; color: var(--text); }
.history__right p.muted { color: var(--text-2); }
.quote-plate {
  margin-top: 24px; background: var(--accent); color: #fff;
  border-radius: 16px; padding: 16px; font-size: 16px; line-height: 1.3;
}

/* Панель прямых контактов на внутренних страницах */
.lead-row { margin-top: 120px; }
.lead-row__box {
  background: #fff; border-radius: var(--radius); padding: 32px;
  display: flex; gap: 64px; align-items: center; justify-content: space-between;
  position: relative; overflow: hidden;
}
.lead-row__text h2 { font-size: 42px; line-height: 48px; font-weight: 400; }
.lead-row__text p { margin-top: 24px; font-size: 16px; color: var(--text-2); max-width: 528px; }
.lead-row__form { flex: 0 0 539px; display: flex; flex-direction: column; gap: 16px; }
.lead-row__form .field {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 43px; border: 1px solid #C9C9C9; border-radius: 61px; background: #fff;
  transition: border-color .25s ease;
}
.lead-row__form .field:focus-within { border-color: var(--accent); }
.lead-row__form input {
  border: 0; background: none; outline: none; font: inherit; font-size: 16px;
  color: var(--text); text-align: center; width: 100%;
}
.lead-row__form .field input { width: auto; min-width: 220px; }
.lead-row__form .btn { margin-top: 8px; width: 100%; }
.lead-row__form .lead__flag { width: 18px; height: 18px; }
.lead-row__note { font-size: 12px; color: var(--text-2); text-align: center; }
.lead-row__contacts { flex: 0 0 539px; }

/* Кейсы: фильтры и карточки */
.filter-bar { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }
.filter-bar button {
  padding: 10px 20px; border-radius: 55px; background: #fff;
  font-size: 16px; color: var(--text); border: 1px solid transparent;
  transition: all .3s ease;
}
.filter-bar button:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar button.active { background: var(--accent); color: #fff; }
.kcases { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kcase {
  background: #fff; border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.kcase:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(13,41,178,.12); }
.kcase__tags { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kcase__tag { border: 1px solid var(--text-2); border-radius: 55px; padding: 8px 16px; font-size: 14px; }
.kcase__cat { border: 1px solid var(--accent); color: var(--accent); border-radius: 55px; padding: 8px 16px; font-size: 14px; }
.kcase h3 { margin-top: 24px; font-size: 28px; line-height: 32px; font-weight: 400; }
.kcase > p { margin-top: 16px; font-size: 16px; color: var(--text-2); }
.kcase__result {
  margin-top: auto; margin-top: 24px; border-radius: 16px; padding: 16px; color: #fff;
}
.kcase__result strong { display: block; font-weight: 600; font-size: 16px; }
.kcase__result p { margin-top: 10px; font-size: 16px; }

/* Контакты */
.contact-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-grid .chip { margin-bottom: 16px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 40px; }
.contact-card h2 { font-size: 32px; line-height: 34px; font-weight: 400; }
.contact-card > p { margin-top: 16px; font-size: 16px; color: var(--text-2); }
.contact-card form { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-card .field {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border: 1px solid #C9C9C9; border-radius: 61px;
  transition: border-color .25s ease;
}
.contact-card .field:focus-within { border-color: var(--accent); }
.contact-card .field input, .contact-card .field textarea {
  border: 0; background: none; outline: none; font: inherit; font-size: 16px;
  color: var(--text); text-align: center; width: 90%;
}
.contact-card .field--area { border-radius: 24px; }
.contact-card .field--area textarea { min-height: 70px; padding: 12px 0; resize: vertical; }
.contact-card .btn { width: 100%; }
.contact-methods { border: 1px solid var(--accent); border-radius: var(--radius); padding: 40px; }
.contact-methods h2 { font-size: 32px; line-height: 34px; font-weight: 400; }
.method {
  margin-top: 16px; background: #fff; border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.method:first-of-type { margin-top: 32px; }
.method:hover { transform: translateX(6px); box-shadow: 0 10px 30px rgba(13,41,178,.12); }
.method__icon { width: 34px; height: 34px; fill: var(--accent); flex: 0 0 34px; }
.method__label { display: flex; flex-direction: column; }
.method__label strong { font-weight: 600; font-size: 16px; }
.method__label span { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.method__arrow { margin-left: auto; width: 28px; height: 14px; color: var(--accent); }
.contact-methods > p { margin-top: 32px; font-size: 16px; color: var(--text-2); }
.contact-grid--single { grid-template-columns: minmax(0, 880px); justify-content: center; }

/* ============ Детальные страницы услуг ============ */
.detail-hero { padding-top: 84px; display: flex; justify-content: space-between; gap: 24px; }
.detail-hero__main { max-width: 720px; }
.detail-hero__main h1 { font-size: 64px; line-height: 62px; font-weight: 400; }
.detail-hero__main .lead-time { margin-top: 24px; font-size: 20px; color: var(--text); }
.detail-hero__aside { max-width: 426px; }
.detail-hero__aside p { font-size: 16px; color: var(--text-2); }
.detail-hero__aside .btn { margin-top: 32px; min-width: 260px; justify-content: space-between; }

.what-box {
  margin-top: 84px; background: #fff; border-radius: var(--radius); padding: 32px;
  display: flex; gap: 48px; align-items: flex-start;
}
.what-box__text { flex: 0 0 46%; }
.what-box__text h2 { font-size: 32px; line-height: 34px; font-weight: 400; }
.what-box__text > p { margin-top: 24px; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.what-box__text .acc-item { border-color: rgba(30,30,30,.3); margin-top: 24px; }
.what-box__text .acc-head { font-size: 20px; line-height: 24px; padding-bottom: 14px; }
.what-box__text .acc-icon { width: 16px; height: 16px; flex-basis: 16px; }
.what-box__art {
  flex: 1; align-self: stretch; min-height: 300px; border-radius: 16px; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 90% at 70% 20%, rgba(46,99,240,.25) 0%, transparent 60%),
    radial-gradient(80% 90% at 25% 80%, rgba(46,99,240,.18) 0%, transparent 65%),
    #f4f6fd;
}
.what-box__art .blob-pill { box-shadow: 0 8px 24px rgba(13,41,178,.14); font-size: 14px; padding: 10px 18px; }

.when { margin-top: 120px; background: #fff; padding: 84px 0 64px; }
.when h2 { text-align: center; font-size: 56px; line-height: 56px; font-weight: 400; max-width: 900px; margin: 0 auto; }
.when__sub { margin: 24px auto 0; text-align: center; max-width: 430px; font-size: 14px; color: var(--text-2); }
.when .strip { margin-top: 48px; }
.when-card {
  flex: 0 0 314px; border: 1px solid var(--card-border); border-radius: 16px; padding: 16px; min-height: 110px;
}
.when-card span { font-size: 13px; font-weight: 600; color: var(--text-2); opacity: .7; }
.when-card p { margin-top: 12px; font-size: 16px; }

.how { margin-top: 120px; display: flex; gap: 48px; justify-content: space-between; }
.how__left { max-width: 480px; padding-top: 40px; }
.how__left .btn { margin-top: 40px; min-width: 260px; justify-content: space-between; }
.how__list { flex: 0 0 55%; }
.how__list .acc-item { border-color: rgba(30,30,30,.35); }
.how__list .acc-item + .acc-item { margin-top: 24px; }
.how__list .acc-head { font-size: 24px; line-height: 30px; padding-bottom: 18px; gap: 20px; }
.how__list .acc-num { font-size: 56px; line-height: 56px; color: var(--text); }
.how__list .acc-icon { width: 18px; height: 18px; flex-basis: 18px; }

.included { margin-top: 120px; background: #fff; border-radius: var(--radius); padding: 32px; display: flex; gap: 48px; }
.included__text { flex: 0 0 56%; }
.included__text h2 { font-size: 32px; line-height: 34px; font-weight: 400; }
.included__chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.included__chips span {
  border: 1px solid rgba(30,30,30,.4); border-radius: 55px; padding: 10px 16px; font-size: 14px;
  transition: all .3s ease;
}
.included__chips span:hover { border-color: var(--accent); color: var(--accent); }

.results { margin-top: 120px; background: #fff; padding: 64px 0 84px; }
.results h2 { font-size: 56px; line-height: 56px; font-weight: 400; }
.results .strip { margin-top: 40px; }
.results .btn { margin-top: 40px; min-width: 260px; justify-content: space-between; }

/* Адаптив компонентов */
@media (max-width: 1100px) {
  .split-hero__row, .history, .what-box, .how, .included, .lead-row__box { flex-direction: column; }
  .history__left, .lead-row__form, .lead-row__contacts { flex: none; width: 100%; }
  .kcases, .contact-grid { grid-template-columns: 1fr; }
  .detail-hero { flex-direction: column; }
  .detail-hero__main h1 { font-size: 44px; line-height: 46px; }
  .when h2, .results h2 { font-size: 40px; line-height: 42px; }
  .about-intro h2 { font-size: 30px; }
  .lead-row__form .field input { min-width: 0; }
}
@media (max-width: 760px) {
  .history__right h2, .lead-row__text h2 { font-size: 30px; line-height: 34px; }
  .how__list .acc-head { font-size: 18px; line-height: 22px; }
  .how__list .acc-num { font-size: 36px; line-height: 40px; }
  .wwd-card, .about-stat, .when-card { flex-basis: 260px; }
  .contact-card, .contact-methods { padding: 24px; }
  .contact-actions__links { grid-template-columns: 1fr; }
  .contact-actions__link--wide { grid-column: auto; }
}

/* ==================== POLISH FIX (градиенты + аккордеоны) ==================== */

/* 1. Сетка блоб-арта показывается только поверх синего свечения — без жёсткого
      прямоугольника, торчащего на белом фоне (маска мягко гасит края) */
.blob-art__grid::before {
  opacity: .42;
  -webkit-mask: radial-gradient(72% 78% at 52% 48%, #000 40%, rgba(0,0,0,0) 86%);
          mask: radial-gradient(72% 78% at 52% 48%, #000 40%, rgba(0,0,0,0) 86%);
}
.footer__art .blob-art__grid::before {
  -webkit-mask: radial-gradient(95% 115% at 50% 100%, #000 48%, rgba(0,0,0,0) 92%);
          mask: radial-gradient(95% 115% at 50% 100%, #000 48%, rgba(0,0,0,0) 92%);
}
.industries__art .blob-art__grid::before {
  -webkit-mask: radial-gradient(82% 88% at 50% 46%, #000 42%, rgba(0,0,0,0) 88%);
          mask: radial-gradient(82% 88% at 50% 46%, #000 42%, rgba(0,0,0,0) 88%);
}

/* 2. Синий блоб — более плавный градиент и мягкие края */
.blob-art__blob {
  background:
    radial-gradient(62% 66% at 50% 46%, #2E63F0 0%, #3a68ee 38%, #5479e6 62%,
      rgba(120,146,224,.35) 82%, rgba(140,160,226,0) 100%);
  filter: blur(8px);
}

/* 3. Низ карточек услуг — чистый плавный градиент вместо пятнистой blend-текстуры */
.tex.tex {
  background: radial-gradient(140% 130% at 50% 125%, #4f78f5 0%, #2E63F0 42%, #1c40cf 100%);
  background-blend-mode: normal;
}
.tex::before {
  background: radial-gradient(70% 90% at 28% 12%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 65%);
  filter: none;
  mix-blend-mode: normal;
}

/* 4. Оффер-карточки — ровный диагональный градиент без тёмного пятна в углу */
.offer-card {
  background:
    radial-gradient(120% 120% at 85% 12%, #1f45d6 0%, rgba(31,69,214,0) 55%),
    linear-gradient(140deg, #2E63F0 0%, #3f6ae6 48%, #4a6fd8 100%);
}

/* 5. Аккордеоны — понятный кликабельный хитбокс на всю строку + hover-состояние */
.acc-head, .faq-item summary, .ind-head {
  user-select: none; border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
}
.ind-head { border-radius: inherit; }
.ind-head:hover { color: var(--accent); background: transparent; }
.acc-head  { padding: 18px 8px; margin: 0 -8px; }
.faq-item summary { padding: 10px 8px; margin: 0 -8px; }
.acc-head:hover, .faq-item summary:hover {
  color: var(--accent); background: rgba(13,41,178,.05);
}

/* ==================== cult-ui inspired: эффекты ==================== */

/* Grid Beam — мягкий световой блик, бегущий по синей сетке блоб-арта */
.ba-beam {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.5) 50%, transparent 58%);
  background-size: 250% 100%; background-repeat: no-repeat;
  mix-blend-mode: screen; opacity: .45;
  -webkit-mask: radial-gradient(72% 78% at 52% 48%, #000 40%, rgba(0,0,0,0) 86%);
          mask: radial-gradient(72% 78% at 52% 48%, #000 40%, rgba(0,0,0,0) 86%);
  animation: baBeam 7s ease-in-out infinite;
}
@keyframes baBeam { 0% { background-position: 190% 0; } 55%, 100% { background-position: -90% 0; } }
.footer__art .ba-beam {
  -webkit-mask: radial-gradient(95% 115% at 50% 100%, #000 48%, rgba(0,0,0,0) 92%);
          mask: radial-gradient(95% 115% at 50% 100%, #000 48%, rgba(0,0,0,0) 92%);
}
.industries__art .ba-beam {
  -webkit-mask: radial-gradient(82% 88% at 50% 46%, #000 42%, rgba(0,0,0,0) 88%);
          mask: radial-gradient(82% 88% at 50% 46%, #000 42%, rgba(0,0,0,0) 88%);
}

/* Gradient Heading — мягкий синий блик, медленно проходящий по крупным заголовкам */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .h-xl {
    background: linear-gradient(100deg,
      var(--text) 0%, var(--text) 38%, #2E63F0 50%, var(--text) 62%, var(--text) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: hxlGrad 9s linear infinite;
  }
}
@keyframes hxlGrad { to { background-position: -220% center; } }

@media (prefers-reduced-motion: reduce) {
  .ba-beam { animation: none; opacity: 0; }
  .h-xl { animation: none; }
}

/* ==================== Перенос блоков из v2 (изображения-градиенты) ==================== */

/* Сетка «Работаем с компаниями» — изображение f33.jpg вместо CSS-блоба */
.industries__art {
  position: absolute; left: -24px; bottom: -24px;
  width: 82%; max-width: 1000px; z-index: 1; pointer-events: none;
}
.industries__art img { display: block; width: 100%; height: auto; }

/* Карточки услуг — «жидкие» синие текстуры wave1/2/3.jpg внизу карточки */
.service-card__tex {
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

/* Оффер «Получите разбор» — левая карточка на r69.jpg, правая — сплошной accent */
.offer__grid .offer-card:first-child {
  background: #2E63F0 url('../assets/r69.jpg') center/cover no-repeat;
}
.offer__grid .offer-card:last-child {
  background: var(--accent);
}

/* Футер — плитки (клетки) + синее свечение + большой логотип БАЗА (как в v2) */
.footer__graphic {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  overflow: hidden; border-radius: inherit;
}
.footer__glow {
  position: absolute; left: 0; right: 0; bottom: 0; height: 70%;
  background:
    radial-gradient(130% 150% at 50% 100%, #2E63F0 0%, #3f6ae6 28%, #6d8ce0 50%, rgba(120,146,224,0) 78%);
}
.footer__tiles { position: absolute; left: 0; bottom: 0; width: 1328px; height: 569px; }
.footer__tiles .tile {
  position: absolute; width: 141.58px; height: 107px;
  border-radius: 12px; background: rgba(255,255,255,.14);
}
.footer__baza {
  position: absolute; left: 0; right: 0; bottom: 44px; margin: 0 auto;
  width: 378px; height: 96px; fill: #fff; z-index: 2;
}
@media (max-width: 720px) {
  .footer__baza { width: 240px; height: 62px; bottom: 28px; }
}


/* ==================== Правки под макет Figma ==================== */

/* Заголовки — сплошной тёмный цвет как в макете (без анимированного градиента) */
.h-xl {
  background: none;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  animation: none;
}

/* Кнопка «Получить аудит» на синей плашке карточек услуг (как в макете) */
.service-card { }
.service-card__cta {
  position: absolute; left: 32px; bottom: 40px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border: 1px solid #fff; border-radius: 38px;
  color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -0.011em;
  transition: background-color .2s ease, color .2s ease;
}
.service-card__cta:hover { background: #fff; color: var(--accent); }

/* Hero-арт: сетка из скруглённых плиток (клетки) вместо тонких линий — как в макете */
.hero__art .blob-art__grid::before { display: none; }
.hero__art .blob-art__grid {
  -webkit-mask: radial-gradient(60% 62% at 50% 48%, #000 44%, rgba(0,0,0,0) 86%);
          mask: radial-gradient(60% 62% at 50% 48%, #000 44%, rgba(0,0,0,0) 86%);
}
.hero__art .blob-art__grid .tile {
  position: absolute; border-radius: 12px; background: rgba(255,255,255,.10);
}


/* ==================== Hero-арт и футер-графика 1:1 из макета (картинки) ==================== */
.hero__art { position: relative; width: 651px; height: 492px; flex: 0 0 auto; }
.hero__art-inner { position: absolute; top: 0; left: 50%; width: 651px; height: 492px; transform-origin: top center; transform: translateX(-50%); }
.hero__art img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  -webkit-mask:
    linear-gradient(to right, rgba(0,0,0,0) 0, #000 10%, #000 90%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0, #000 10%, #000 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  mask:
    linear-gradient(to right, rgba(0,0,0,0) 0, #000 10%, #000 90%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0, #000 10%, #000 90%, rgba(0,0,0,0) 100%);
  mask-composite: intersect;
}

.footer__graphic {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto;
  height: auto; overflow: visible; z-index: 1; pointer-events: none;
}
.footer__graphic img { display: block; width: 100%; height: auto;
  -webkit-mask:
    linear-gradient(to right, rgba(0,0,0,0) 0, #000 10%, #000 90%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0, #000 35%);
  -webkit-mask-composite: source-in;
  mask:
    linear-gradient(to right, rgba(0,0,0,0) 0, #000 10%, #000 90%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0, #000 35%);
  mask-composite: intersect;
}

/* Fix: декоративный .tex::before убегал из блока .kcase__result (position:static),
   растягивался на весь экран и перекрывал клики по кнопкам (hero, фильтр). */
.kcase__result { position: relative; }
.tex::before { pointer-events: none; }

/* ==================== Страница Услуги (макет 473:4306) ==================== */
.uhero {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--radius);
  margin-top: 24px; padding: 56px; min-height: 420px;
  display: flex; align-items: center;
}
.crumbs { font-size: 16px; color: var(--text-2); margin-bottom: 28px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--accent); }
.uhero__body { position: relative; z-index: 2; max-width: 560px; }
.uhero__body .h-xl { margin-bottom: 20px; }
.uhero__sub { max-width: 430px; color: var(--text-2); margin-bottom: 32px; }
.uhero__art {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 56%; z-index: 1; pointer-events: none;
}
.uhero__art img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask:
    linear-gradient(to right, rgba(0,0,0,0) 0, #000 22%, #000 84%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0, #000 18%, #000 82%, rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
  mask:
    linear-gradient(to right, rgba(0,0,0,0) 0, #000 22%, #000 84%, rgba(0,0,0,0) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0) 0, #000 18%, #000 82%, rgba(0,0,0,0) 100%);
  mask-composite: intersect;
}

.umeem { margin-top: 120px; }
.umeem__title { text-align: center; margin-bottom: 48px; }
.umeem__list { max-width: 1216px; margin: 0 auto; }
.umeem__list .acc-item { border-bottom: 1px solid rgba(30,30,30,.18); }
.umeem__list .acc-head { font-size: 28px; line-height: 32px; padding: 26px 8px; }
.umeem__list .acc-body a { margin-top: 8px; }

@media (max-width: 900px) {
  .uhero { flex-direction: column; align-items: flex-start; padding: 32px; min-height: 0; }
  .uhero__art { position: relative; right: auto; top: auto; bottom: auto; transform: none; width: 100%; height: 260px; margin-top: 8px; }
  .umeem__list .acc-head { font-size: 22px; line-height: 26px; }
}

/* ==================== Копирайтинг: новые блоки под ЦА ==================== */
.problems__sub { position: relative; z-index: 2; max-width: 620px; margin-top: 20px; color: var(--text-2); font-size: 18px; }

/* Для кого */
.for-whom { margin-top: 120px; }
.for-whom__grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fw-card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.fw-card__role { align-self: flex-start; border: 1px solid var(--card-border); color: var(--accent); border-radius: 40px; padding: 8px 16px; font-size: 14px; }
.fw-card__quote { margin-top: 24px; font-size: 24px; line-height: 28px; letter-spacing: -0.011em; }
.fw-card__do { margin-top: 16px; color: var(--text-2); font-size: 16px; }

/* Почему БАЗА */
.why { margin-top: 120px; }
.why__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px; }
.why-card h3 { font-size: 22px; line-height: 26px; font-weight: 400; }
.why-card p { margin-top: 16px; color: var(--text-2); font-size: 16px; }

/* Строка доверия у формы */
.lead__trust { margin-top: 16px; font-size: 14px; color: var(--text-2); text-align: center; }

/* Плавающая кнопка */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 12px 0 24px; border-radius: 40px;
  background: var(--accent); color: #fff; font-size: 16px; font-weight: 600;
  transition: transform .2s ease;
}
.float-cta:hover { transform: translateY(-2px); }
.float-cta .btn__icon--b { width: 32px; height: 32px; flex: 0 0 32px; background: #fff; color: var(--accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-logo); font-size: 18px; }

@media (max-width: 900px) {
  .for-whom__grid, .why__grid { grid-template-columns: 1fr; }
  .float-cta { right: 16px; bottom: 16px; height: 50px; font-size: 15px; }
}

/* Факты услуги в hero (стоимость / срок / формат) */
.detail-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.detail-facts li { border: 1px solid var(--card-border); border-radius: var(--radius-sm, 14px); padding: 12px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 140px; }
.detail-facts li span { font-size: 13px; color: var(--text-2); }
.detail-facts li b { font-size: 17px; font-weight: 600; letter-spacing: -0.011em; }
.detail-hero__aside .btn { margin-top: 24px; }
.detail-hero__trust { margin-top: 12px; font-size: 14px; color: var(--text-2); }
@media (max-width: 720px) {
  .detail-facts li { min-width: 0; flex: 1 1 45%; padding: 10px 14px; }
  .detail-facts li b { font-size: 15px; }
}

/* Что входит — чеклист */
.included__list { margin-top: 28px; list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.included__list li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(30,30,30,.12); font-size: 16px; line-height: 22px; }
.included__list li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--accent) url('data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 10%22%3E%3Cpath d=%22M1 5l3.5 3.5L11 1%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22/%3E%3C/svg%3E') center / 10px auto no-repeat; }
.included__list li:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 760px) {
  .included__list { grid-template-columns: 1fr; }
  .included__list li:nth-last-child(2) { border-bottom: 1px solid rgba(30,30,30,.12); }
  .included__list li:last-child { border-bottom: 0; }
}

/* Hero-арт: адаптив (должен идти ПОСЛЕ базового .hero__art) */
@media (max-width: 1360px) { .hero__art { width: 553px; } }
@media (max-width: 1100px) { .hero__art { width: 100%; max-width: 651px; margin: 40px auto 0; } }

/* Детальные страницы: мобильный заголовок */
@media (max-width: 760px) {
  .detail-hero__main h1 { font-size: 40px; line-height: 42px; overflow-wrap: break-word; }
  .detail-hero__main .lead-time { font-size: 17px; }
}

/* Карточки услуг на главной: раскрытие по стрелке */
.service-card__more { border: 0; background: none; cursor: pointer; padding: 0; }
.service-card__more .rot90 { transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.service-card.open .service-card__more .rot90 { transform: rotate(-90deg); }
.service-card__list { list-style: none; padding: 0; margin: 0; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .45s cubic-bezier(.22,.61,.36,1), opacity .35s ease; }
.service-card.open .service-card__list { opacity: 1; }
.service-card__list li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid rgba(30,30,30,.1); font-size: 15px; line-height: 20px; color: var(--text-2); }
.service-card__list li::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--accent) url('data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 10%22%3E%3Cpath d=%22M1 5l3.5 3.5L11 1%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22/%3E%3C/svg%3E') center / 8px auto no-repeat; }
.service-card__list .service-card__link { padding: 12px 0 4px; border-top: 1px solid rgba(30,30,30,.1); }
.service-card__link a { color: var(--accent); font-size: 15px; }
.service-card__link a:hover { text-decoration: underline; }
.service-card__list .service-card__link::before { display: none; }
