/* =========================================================
   Lead-Key — пересборка лендинга. Чистый CSS (Flexbox/Grid).
   Все базовые значения вынесены в :root для лёгкой правки.
   ========================================================= */

:root {
  /* Цвета бренда */
  --purple: #955FE9;
  --purple-dark: #7B4FD0;
  --blue: #3290CC;
  --red: #F95D51;
  --red-accent: #FF4053;

  /* Нейтральные */
  --ink: #1B1B1B;
  --muted: #6E6E73;
  --bg: #F1F1F3;
  --white: #FFFFFF;
  --chip-bg: #ECECEF;
  --line: #E3E3E6;

  /* Градиенты */
  --grad-brand: linear-gradient(115deg, #955FE9 0%, #3290CC 100%);
  --grad-plan-start: linear-gradient(145deg, #d2d2d4 0%, #8f8f93 100%);
  --grad-plan-optimum: linear-gradient(145deg, #2b2b30 0%, #0f0f12 100%);
  --grad-plan-scale: linear-gradient(145deg, #a274ef 0%, #7b4fd0 100%);

  /* Типографика */
  --font: 'Inter Tight', Arial, sans-serif;

  /* Геометрия */
  --container: 1400px;
  --radius: 24px;
  --radius-lg: 36px;
  --radius-pill: 999px;
  --space-section: clamp(80px, 10vw, 140px);

  /* Тени — жирные, многослойные */
  --shadow-soft: 0 2px 4px rgba(0,0,0,.07), 0 8px 24px rgba(0,0,0,.09), 0 24px 56px rgba(0,0,0,.08);
  --shadow-card: 0 2px 6px rgba(0,0,0,.07), 0 12px 32px rgba(0,0,0,.09), 0 32px 72px rgba(0,0,0,.07);
  --shadow-lg: 0 4px 8px rgba(0,0,0,.07), 0 16px 40px rgba(0,0,0,.11), 0 40px 90px rgba(0,0,0,.09);
  --shadow-hover: 0 6px 12px rgba(0,0,0,.09), 0 24px 56px rgba(0,0,0,.13), 0 56px 120px rgba(0,0,0,.09);
}

/* ============================ RESET ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

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

.section { padding-block: var(--space-section); }

/* Светло-серая страница, белые «карточки-блоки» крупных секций */
.card-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(52px, 7vw, 110px);
}

/* ============================ ТИПОГРАФИКА ============================ */
.section-title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.01em;
}
.section-title--center { text-align: center; }

.section-chip {
  display: inline-block;
  background: var(--chip-bg);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  margin-bottom: 30px;
}
.section-chip--center {
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: block;
  width: max-content;
  margin-inline: auto;
}
.section-title--center + * { margin-top: 0; }
.section-chip--center + .section-title--center { margin-top: 22px; margin-bottom: 48px; }

/* Цветные «плашки» в заголовках */
.mark { border-radius: 12px; padding: 0 .25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mark--red { background: var(--red); color: #fff; }
.mark--blue { background: #C9D6F7; color: var(--ink); }

/* Логотип Avito (точки + текст) */
.avito { display: inline-flex; align-items: center; gap: .12em; white-space: nowrap; }
.avito__icon, .avito img { height: .82em; width: auto; display: inline-block; }
.avito--light { color: #fff; }

/* ============================ КНОПКИ ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  font-size: 17px;
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--purple); color: #fff; border-radius: 10px; }
.btn--primary:hover { background: #2a2a2a; }
.btn--gradient { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 24px rgba(123, 79, 208, .3); }
.btn--light { background: var(--white); color: var(--ink); }
.btn__arrow {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}

/* ============================ ШАПКА ============================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 236, 236, .65);
  backdrop-filter: blur(10px);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 67px;
}
.logo__img { height: 42px; width: auto; }
.nav {
  display: flex;
  gap: clamp(14px, 1.8vw, 30px);
  margin-inline: auto;
}
.nav__link { font-size: 14px; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav__link:hover { color: var(--purple); }
.header__actions { display: flex; align-items: center; gap: 22px; }
.header__phone { font-weight: 700; font-size: 18px; white-space: nowrap; }
.header__btn { padding: 13px 26px; font-size: 14px; border-radius: 10px; }
.header__btn:hover { background: #2a2a2a; }

.burger { display: none; width: 30px; height: 22px; position: relative; }
.burger span {
  position: absolute; left: 0; height: 3px; width: 100%;
  background: var(--ink); border-radius: 3px; transition: .3s;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.burger.is-open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ============================ HERO ============================ */
.hero { background: var(--white); padding-top: clamp(20px, 3vw, 40px); }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.hero__title {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.02em;
}
.hero__title .avito__icon { height: .7em; }
.hero__cta { margin-top: 38px; font-size: 17px; padding-left: 36px; }

.hero__socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
}
.hero__socials-text { font-size: 15px; color: var(--muted); max-width: 230px; line-height: 1.3; }
.social-btn {
  width: 78px; height: 78px;
  border-radius: 22px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  background: #fff; transition: transform .2s, box-shadow .2s;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.social-btn img { width: 46px; height: 46px; }
.social-btn svg { width: 46px; height: 46px; }

.hero__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__photo-wrap {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px;
}
.hero__photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .15));
}
/* Плавающие карточки героя */
.hero__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}
.hero__card {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 16px 22px;
  font-size: 16px;
  line-height: 1.25;
  box-shadow: var(--shadow-soft);
}
.hero__card--3 { background: rgba(149, 95, 233, .92); color: #fff; }

/* Desktop: cards float over photo */
@media (min-width: 1025px) {
  .hero__cards {
    position: absolute;
    inset: 0;
    display: block;
    margin-top: 0;
  }
  .hero__card {
    position: absolute;
    max-width: 230px;
  }
  .hero__card--1 { top: 18%; right: -6%; }
  .hero__card--2 { bottom: 16%; left: -8%; text-align: center; }
  .hero__card--3 { top: 46%; right: -4%; }
}

/* ============================ ПРОБЛЕМЫ ============================ */
.problems__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 44px;
}
.problems__sub { margin-top: 20px; color: var(--muted); font-size: 17px; }
.problems__bubble {
  position: relative;
  background: #F3EFFB;
  border-radius: 20px;
  padding: 26px 30px;
  font-size: 17px;
}
.problems__bubble p + p { margin-top: 12px; }
.problems__bubble-img {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; position: absolute; left: 30px; bottom: -28px;
  border: 4px solid #fff;
}
.problems__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 50px;
}
.problems__item {
  position: relative;
  padding-left: 48px;
  font-size: 18px;
  line-height: 1.35;
  padding-block: 6px;
}
.problems__item::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 32px; height: 32px;
  background: url('../assets/icon-flag.png') no-repeat center / contain;
}

/* ============================ ПРОЦЕСС (День 1-5) ============================ */
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  position: relative;
  min-height: 340px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.step-card__day {
  display: inline-block;
  border: 1px solid var(--purple);
  color: var(--purple);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 60px;
}
.step-card__icon {
  position: absolute;
  top: 14px; right: 14px;
  width: 200px; height: 200px;
  object-fit: contain;
}
.step-card__title { font-size: 26px; font-weight: 600; margin-bottom: 14px; }
.step-card__text { color: var(--muted); font-size: 16px; max-width: 80%; }
.step-card--accent { background: var(--grad-brand); color: #fff; grid-column: span 1; }
.step-card--accent .step-card__day { border-color: rgba(255, 255, 255, .6); color: #fff; }
.step-card--accent .step-card__text { color: rgba(255, 255, 255, .9); }
/* День 1-3 в первом ряду, День 4 (обычная) + День 5 (широкая акцентная) во втором */
.process__grid .step-card:nth-child(4) { grid-column: 1; }
.process__grid .step-card--accent { grid-column: 2 / 4; }

/* ============================ ВЕДЕНИЕ ============================ */
.maintenance .section-title { max-width: 1100px; margin-bottom: 48px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 50px; }
.checklist__item {
  position: relative;
  padding-left: 40px;
  font-size: 18px;
  padding-block: 7px;
  line-height: 1.35;
}
.checklist__item::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 32px; height: 32px;
  background: url('../assets/icon-check.svg') no-repeat center / contain;
}
.checklist__item--accent { font-weight: 700; }
.checklist__item--accent::before { top: 6px; }

/* ============================ РЕЗУЛЬТАТЫ (счётчики) ============================ */
.results__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}
.results__text { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 540px; }
.results__feature { text-align: center; }
.results__big {
  font-size: clamp(70px, 11vw, 130px);
  font-weight: 700;
  line-height: 1;
  display: flex; justify-content: center; align-items: flex-start;
}
.results__pct { color: var(--red); font-size: .7em; }
.results__feature-label { font-size: 20px; color: var(--muted); margin-top: 8px; }
.results__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.stat__value { font-size: clamp(32px, 4vw, 46px); font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.stat__value .counter { color: var(--red); }
.stat__unit { color: var(--ink); font-weight: 700; }
.stat__unit-pct { color: var(--purple); }
.stat__label { color: var(--muted); font-size: 16px; margin-top: 8px; line-height: 1.3; }

/* ============================ CTA-ФОРМЫ ============================ */
.cta { }
.cta__inner {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: clamp(60px, 8vw, 120px);
  color: #fff;
  text-align: center;
}
.cta__title { font-size: clamp(28px, 3.8vw, 48px); font-weight: 600; max-width: 1060px; margin-inline: auto; line-height: 1.15; }
.cta__sub { font-size: clamp(20px, 2.4vw, 28px); margin-top: 16px; }
.cta .lead-form { margin-top: 40px; }

.lead-form__row { display: flex; gap: 16px; align-items: stretch; }
.lead-form__input {
  flex: 1;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .2s;
  min-width: 0;
}
.lead-form__input::placeholder { color: #9a9aa0; }
.lead-form__input:focus { outline: none; border-color: var(--purple); }
.lead-form__input.is-error { border-color: var(--red-accent); }
.lead-form__submit { white-space: nowrap; padding-inline: 40px; border-radius: 10px; }
.lead-form__check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; text-align: left; margin-top: 18px; line-height: 1.4;
  color: rgba(255, 255, 255, .9);
}
.lead-form__check input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--purple); margin-top: 1px; }
.lead-form__check a { text-decoration: underline; }
.lead-form__success {
  margin-top: 18px; font-weight: 600; font-size: 17px;
  background: rgba(255, 255, 255, .18); padding: 14px 20px; border-radius: 12px;
}

/* ============================ КОМАНДА ============================ */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.team-card__photo { background: var(--grad-brand); aspect-ratio: 1 / 1.04; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card__body { padding: 24px 28px 32px; }
.team-card__name {
  font-size: 22px; font-weight: 600; display: flex; align-items: center; justify-content: space-between;
}
.team-card__info {
  width: 26px; height: 26px; border: 1px solid var(--purple); color: var(--purple);
  border-radius: 50%; font-size: 14px; font-style: italic;
  display: inline-flex; align-items: center; justify-content: center; cursor: help;
}
.team-card__role { color: var(--muted); font-size: 16px; margin-top: 12px; }

/* ============================ СЕРТИФИКАТЫ ============================ */
.certs__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.certs__descr { margin-top: 22px; color: var(--muted); font-size: 17px; max-width: 540px; }

/* ============================ СЛАЙДЕР (общий) ============================ */
.slider { position: relative; display: flex; align-items: center; gap: 14px; }
.slider__viewport { overflow: hidden; flex: 1; }
.slider__track { display: flex; gap: 24px; transition: transform .45s ease; }
.slider__slide { flex: 0 0 100%; }
.slider__arrow {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 50%; background: #fff; box-shadow: var(--shadow-card);
  font-size: 26px; color: var(--ink); line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.slider__arrow:hover { background: var(--purple); color: #fff; }
.certs__slider .slider__slide img { margin-inline: auto; max-height: 460px; border-radius: 14px; }

/* ============================ ТАРИФЫ ============================ */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.plan__head {
  border-radius: 22px;
  padding: 32px 30px 38px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 270px;
  display: flex; flex-direction: column;
}
.plan--start .plan__head { background: var(--grad-plan-start); }
.plan--optimum .plan__head { background: var(--grad-plan-optimum); }
.plan--scale .plan__head { background: var(--grad-plan-scale); }
.plan__num {
  display: inline-block; align-self: flex-start;
  background: rgba(255, 255, 255, .22);
  padding: 7px 18px; border-radius: var(--radius-pill); font-size: 14px; margin-bottom: 20px;
}
.plan__name { font-size: 38px; font-weight: 700; }
.plan__for { margin-top: 12px; font-size: 16px; opacity: .92; }
.plan__price { margin-top: auto; font-size: 22px; }
.plan__price strong { font-size: 30px; font-weight: 700; }
.plan__includes {
  background: var(--grad-brand); color: #fff;
  border-radius: 14px; padding: 16px 20px; margin: 16px 6px;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.plan--start .plan__includes { display: none; }
.plan__includes-tick { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.plan__list { padding: 14px 14px 0; display: grid; gap: 14px; }
.plan__list li {
  position: relative; padding-left: 40px; font-size: 16px; line-height: 1.3;
}
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 30px; height: 30px;
  background: url('../assets/icon-check.svg') no-repeat center / contain;
}
.plan__list-add { font-weight: 600; }
.plan__list-add::before { filter: hue-rotate(0deg); }
.plan__btn { margin: 24px 6px 6px; }

/* ============================ ПОЧЕМУ МЫ ============================ */
.benefits .section-title { max-width: 900px; margin-bottom: 48px; }
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.benefit {
  border-radius: 30px; padding: 50px 52px; color: #fff; min-height: 340px;
  display: flex; flex-direction: column;
}
.benefit--blue { background: linear-gradient(135deg, #4FA6E8, #3a8ad6); }
.benefit--purple { background: linear-gradient(135deg, #9a6bf0, #7b4fd0); }
.benefit__top { display: flex; align-items: flex-start; justify-content: space-between; }
.benefit__num { font-size: 54px; font-weight: 700; line-height: 1; }
.benefit__icon { width: 78px; height: 78px; fill: none; stroke: #fff; stroke-width: 1.5; }
.benefit__title { font-size: 26px; font-weight: 600; margin-top: 44px; }
.benefit__text { margin-top: 14px; font-size: 16px; opacity: .92; line-height: 1.4; }

/* ============================ КЕЙСЫ ============================ */
.cases__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-card); position: relative; display: flex; flex-direction: column;
}
.case-card__logo {
  height: 150px; background: #F4F4F6;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.case-card__logo img { max-height: 90px; width: auto; object-fit: contain; }
.case-card__logo--text { font-size: 26px; font-weight: 700; color: var(--purple); }
.case-card__body { padding: 26px 26px 74px; flex: 1; }
.case-card__niche { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.case-card__title { font-size: 21px; font-weight: 600; margin: 10px 0 20px; line-height: 1.2; }
.case-card__meta { font-size: 14px; color: var(--ink); margin-bottom: 14px; line-height: 1.4; }
.case-card__meta strong { color: var(--purple); }
.case-card__lead { color: var(--purple); font-weight: 600; font-size: 14px; line-height: 1.5; }
.case-card__lead span { color: var(--muted); font-weight: 400; }
.case-card__more {
  position: absolute; left: 22px; bottom: 22px;
  width: 56px; height: 40px; border-radius: var(--radius-pill);
  background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  transition: transform .2s;
}
.case-card__more:hover { transform: translateY(-2px); }
.cases__all {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 30px; border: 1.5px solid var(--purple); color: var(--purple);
  border-radius: var(--radius); padding: 26px; font-size: 22px; font-weight: 600;
  transition: background .2s, color .2s;
}
.cases__all:hover { background: var(--purple); color: #fff; }

/* ============================ ОТЗЫВЫ ============================ */
.reviews__slider .slider__slide { flex: 0 0 calc((100% - 72px) / 4); }
.review { border-radius: 20px; padding: 30px; min-height: 340px; display: flex; flex-direction: column; }
.review--green { background: #DDF3E4; }
.review--blue { background: #DCEBFB; }
.review--purple { background: #E9E2FB; }
.review__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.review__name { font-size: 24px; font-weight: 600; }
.review__source { font-size: 14px; color: var(--muted); }
.review__orig { font-size: 14px; text-decoration: underline; color: var(--ink); margin-bottom: 16px; }
.review__text { font-size: 16px; line-height: 1.45; }
.review__text[data-clamp] { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review__text.is-expanded { -webkit-line-clamp: unset; }
.review__expand { color: var(--purple); font-weight: 600; margin-top: 12px; align-self: flex-start; }
.review--video { background: #1B1B1B; color: #fff; }
.review__video-wrap { border-radius: 12px; overflow: hidden; margin-bottom: 14px; aspect-ratio: 16/9; }
.review__video-wrap iframe, .review__video-wrap video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ============================ FAQ ============================ */
.accordion { max-width: 1140px; margin-inline: auto; }
.accordion__item { border-top: 1px solid var(--line); }
.accordion__item:last-child { border-bottom: 1px solid var(--line); }
.accordion__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 4px; text-align: left; font-size: clamp(17px, 1.7vw, 21px); font-weight: 600;
}
.accordion__icon {
  position: relative; width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 50%; background: var(--purple);
}
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; border-radius: 2px; transition: transform .3s;
}
.accordion__icon::before { width: 24px; height: 3px; }
.accordion__icon::after { width: 3px; height: 24px; }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion__body p { padding: 0 4px 28px; color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 900px; }

/* ============================ ФИНАЛЬНЫЙ CTA ============================ */
.final-cta { position: relative; color: #fff; overflow: visible; }
.final-cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.final-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,30,.55), rgba(20,20,30,.75)); }
.final-cta__inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.final-cta__card {
  background: rgba(30, 30, 36, .55);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4.5vw, 60px);
  max-width: 680px; width: 100%;
}
.final-cta__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; line-height: 1.12; }
.final-cta__sub { margin-top: 16px; font-size: 18px; opacity: .9; }
.lead-form--dark { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.lead-form__submit--full { width: 100%; }

/* ============================ ФУТЕР ============================ */
.site-footer { background: var(--bg); padding-block: 60px 30px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: 30px;
  padding-bottom: 40px;
}
.site-footer .logo__img { height: 46px; }
.site-footer__legal { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.site-footer__nav { display: flex; flex-direction: column; gap: 14px; }
.site-footer__nav a { font-size: 16px; transition: color .2s; }
.site-footer__nav a:hover { color: var(--purple); }
.site-footer__phone { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.site-footer__mail { font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; display: block; margin-top: 22px; }
.site-footer__social-row { display: flex; gap: 14px; }
.site-footer__socials-text { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 230px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.site-footer__copy { color: var(--muted); font-size: 14px; }
.site-footer__docs { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__docs a { color: var(--muted); font-size: 14px; text-decoration: underline; }
.site-footer__docs a:hover { color: var(--purple); }

/* ============================ COOKIE ============================ */
.cookie {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
  padding: 22px 26px; max-width: 440px;
  display: flex; align-items: center; gap: 20px;
}
.cookie[hidden] { display: none; }
.cookie__text { font-size: 15px; line-height: 1.4; color: var(--ink); }
.cookie__text a { text-decoration: underline; }
.cookie__btn { background: #ECECEF; border-radius: 10px; padding: 14px 26px; font-size: 15px; flex-shrink: 0; transition: background .2s; }
.cookie__btn:hover { background: #ddd; }

/* ============================ ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   ОБЪЁМ И ГЛУБИНА
   ========================================================= */

body {
  background: linear-gradient(180deg, #E8E8EC 0%, #EDEDF0 20%, #F3F3F5 60%, #F1F1F3 100%);
}

.card-block {
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.7);
}

.step-card {
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.team-card {
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.benefit {
  box-shadow: 0 6px 16px rgba(0,0,0,.12), 0 24px 56px rgba(0,0,0,.14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.benefit:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,.14), 0 36px 80px rgba(0,0,0,.18); }

.case-card {
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.plan {
  box-shadow: var(--shadow-lg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.plan--optimum { box-shadow: var(--shadow-hover); z-index: 2; transform: scale(1.04); }
.plan--optimum:hover { transform: scale(1.04) translateY(-8px); }

.cta__inner {
  box-shadow: 0 12px 28px rgba(149,95,233,.16), 0 36px 80px rgba(149,95,233,.18);
}

.btn--gradient {
  box-shadow: 0 4px 10px rgba(149,95,233,.28), 0 14px 32px rgba(149,95,233,.22);
}
.btn--gradient:hover { box-shadow: 0 6px 14px rgba(149,95,233,.32), 0 20px 44px rgba(149,95,233,.26); }

.social-btn {
  box-shadow: 0 3px 10px rgba(0,0,0,.07), 0 10px 24px rgba(0,0,0,.05);
}
.social-btn:hover { box-shadow: 0 6px 16px rgba(0,0,0,.09), 0 16px 36px rgba(0,0,0,.08); }

.review {
  box-shadow: 0 4px 12px rgba(0,0,0,.05), 0 12px 32px rgba(0,0,0,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.review:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,.07), 0 20px 48px rgba(0,0,0,.10); }

.slider__arrow { box-shadow: var(--shadow-lg); }
.slider__arrow:hover { transform: scale(1.1); box-shadow: var(--shadow-hover); }

.accordion__item { transition: background .25s ease; border-radius: 10px; }
.accordion__item:hover { background: rgba(149,95,233,.04); }

.header { box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.05); }

.final-cta__card { box-shadow: 0 12px 28px rgba(0,0,0,.18), 0 36px 72px rgba(0,0,0,.20); }

.lead-form__input { box-shadow: inset 0 2px 6px rgba(0,0,0,.05); }
.lead-form__input:focus { box-shadow: 0 0 0 4px rgba(149,95,233,.20), inset 0 2px 6px rgba(0,0,0,.05); }

/* =========================================================
   АДАПТИВ
   ========================================================= */
@media (max-width: 1199px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__cta { padding-left: 0; width: 100%; max-width: 380px; justify-content: center; }
  .hero__socials { justify-content: center; }
  .hero__title { font-size: clamp(36px, 5.5vw, 52px); }
  .hero__media { max-width: 700px; margin-inline: auto; }
  .hero__photo-wrap { padding: 16px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid .step-card:nth-child(4),
  .process__grid .step-card--accent { grid-column: auto; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .reviews__slider .slider__slide { flex: 0 0 calc((100% - 24px) / 2); }
  .certs__inner { grid-template-columns: 1fr; }
  .results__head { grid-template-columns: 1fr; }
  .results__stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 959px) {
  .nav, .header__phone { display: none; }
  .nav {
    position: fixed; inset: 67px 0 auto 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 10px 20px 24px; box-shadow: var(--shadow-soft);
    transform: translateY(-120%); transition: transform .35s ease; display: flex;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .burger { display: block; }
  .header__btn { display: none; }
  .header__actions { margin-left: auto; }
  .header__actions .header__btn { display: inline-flex; padding: 11px 20px; }

  .problems__head { grid-template-columns: 1fr; }
  .problems__grid { grid-template-columns: 1fr; gap: 8px; }
  .checklist { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .lead-form__row { flex-direction: column; }
  .cta__inner .lead-form__submit { width: 100%; }

  /* Hero stack */
  .hero__inner { text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__socials { justify-content: center; }
  .hero__cta { padding-left: 0; }
  .hero__media { max-width: 580px; }
  .hero__cards { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
  .hero__card { font-size: 14px; padding: 14px 18px; }

  /* Scale down enlarged elements for tablet */
  .social-btn { width: 60px; height: 60px; }
  .social-btn img, .social-btn svg { width: 34px; height: 34px; }
  .step-card { padding: 32px; min-height: auto; }
  .step-card__icon { width: 140px; height: 140px; }
  .benefit { padding: 38px 40px; min-height: auto; border-radius: 24px; }
  .benefit__icon { width: 56px; height: 56px; }
  .slider__arrow { width: 56px; height: 56px; }
  .plan--optimum { transform: scale(1); }
  .plan--optimum:hover { transform: translateY(-6px); }
  .card-block { padding: clamp(32px, 5vw, 64px); }
  .cta__inner { padding: clamp(40px, 6vw, 80px); }
  .accordion__icon { width: 50px; height: 50px; }
}

/* ---- MAX chat button ---- */
.max-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(149, 95, 233, .4);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.max-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(149, 95, 233, .55);
}
.max-chat-btn:active { transform: scale(.95); }

@media (max-width: 639px) {
  .header__actions .header__btn { display: none; }
  .process__grid, .team__grid, .cases__grid { grid-template-columns: 1fr; }
  .results__stats { grid-template-columns: 1fr; }
  .reviews__slider .slider__slide { flex: 0 0 100%; }
  .slider__arrow { width: 42px; height: 42px; font-size: 20px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 16px; }
  .hero__inner { gap: 20px; }
  .hero__title { font-size: clamp(28px, 7vw, 38px); }
  .hero__cta { margin-top: 24px; padding-left: 0; }
  .btn { font-size: 15px; padding: 14px 28px; gap: 8px; }
  .hero__cta { width: 100%; max-width: 320px; }
  .hero__media { padding: 0; max-width: 340px; }
  .hero__photo-wrap { padding: 10px; border-radius: 20px; }
  .hero__photo { border-radius: 10px; }
  .final-cta__inner { justify-content: center; }

  /* Scale all enlarged elements for mobile */
  .social-btn { width: 50px; height: 50px; border-radius: 14px; }
  .social-btn img, .social-btn svg { width: 28px; height: 28px; }
  .hero__socials { gap: 10px; margin-top: 24px; }
  .hero__socials-text { font-size: 13px; max-width: 180px; }

  .step-card { padding: 26px; min-height: auto; }
  .step-card__icon { width: 90px; height: 90px; top: 10px; right: 10px; }
  .step-card__title { font-size: 20px; }
  .step-card__text { font-size: 14px; max-width: 75%; }

  .benefit { padding: 28px 30px; min-height: auto; border-radius: 20px; }
  .benefit__icon { width: 42px; height: 42px; }
  .benefit__num { font-size: 36px; }
  .benefit__title { font-size: 20px; margin-top: 28px; }

  .accordion__icon { width: 40px; height: 40px; }
  .accordion__icon::before { width: 16px; height: 2.4px; }
  .accordion__icon::after { width: 2.4px; height: 16px; }
  .accordion__head { padding: 20px 4px; font-size: 16px; gap: 16px; }

  .problems__item { padding-left: 38px; font-size: 16px; }
  .problems__item::before { width: 26px; height: 26px; }
  .checklist__item { padding-left: 38px; font-size: 16px; }
  .checklist__item::before { width: 26px; height: 26px; }

  .plan__list li { padding-left: 32px; font-size: 14px; }
  .plan__list li::before { width: 22px; height: 22px; }

  .card-block { padding: clamp(22px, 4vw, 40px); border-radius: 22px; }
  .cta__inner { padding: clamp(30px, 5vw, 50px); border-radius: 22px; }

  .max-chat-btn { width: 52px; height: 52px; bottom: 16px; right: 16px; }

  /* Disable hover lifts on touch */
  .step-card:hover,
  .team-card:hover,
  .case-card:hover,
  .benefit:hover,
  .plan:hover,
  .review:hover { transform: none; }
}
