/* ============ Variables ============ */
:root {
  --accent: #1a73e8;        /* синий в тон коллажу (Google / сеть / FB / LinkedIn) */
  --accent-dark: #1559c0;
  --text: #16181d;
  --muted: #5f6673;
  --bg: #ffffff;
  --bg-soft: #f4f8ff;       /* очень светлый холодный фон под белый PNG */
  --radius: 18px;
  --container: 1080px;
}

/* ============ Reset ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* отступ под липкую шапку при переходе по якорю */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ============ Кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(26, 115, 232, .26);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 115, 232, .34);
}
.btn--ghost {
  gap: 9px;
  color: var(--text);
  background: transparent;
  border-color: #d9dee7;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============ Карточка рейтинга ============ */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 18, 29, .06);
}
.rating__stars {
  display: inline-flex;
  gap: 2px;
}
.rating__stars svg {
  width: 20px;
  height: 20px;
  fill: #ffb400;
}
.rating__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.rating__meta strong {
  font-size: 16px;
  font-weight: 800;
}
.rating__meta span {
  font-size: 13px;
  color: var(--muted);
}

.btn--full { width: 100%; }
.btn--sm { padding: 11px 22px; font-size: 14px; margin-top: 16px; }

/* ============ Мобильная панель связи ============ */
.mobilebar { display: none; }

/* ============ Footer ============ */
.footer {
  background: #0e1420;
  color: rgba(255, 255, 255, .72);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 48px;
}
.footer__logo {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}
.footer__logo span { color: #6aa8ff; }
.footer__about {
  margin: 16px 0 20px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer__socials { display: flex; gap: 10px; }
.footer__social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  transition: background .2s ease;
}
.footer__social:hover { background: var(--accent); }
.footer__social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.footer__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer__links,
.footer__contacts {
  list-style: none;
  display: grid;
  gap: 11px;
}
.footer__links a,
.footer__contacts a {
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  transition: color .2s ease;
}
.footer__links a:hover,
.footer__contacts a:hover { color: #fff; }
.footer__contacts li { font-size: 14px; line-height: 1.5; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer__req,
.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.btn--white {
  color: var(--accent);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 18, 29, .18);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 18, 29, .24);
}

/* ============ Ошибки в рекламе ============ */
.mistakes {
  padding: 80px 0;
  background: #f5f8ff;
}
.mistakes__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.mistakes__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 40px;
}
.mistakes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mistake-card {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid #e6ecf7;
  border-radius: 16px;
}
.mistake-card__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  background: #fdecec;
  border-radius: 10px;
}
.mistake-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #e03131;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.mistake-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.mistake-card__text {
  font-size: 14px;
  color: var(--muted);
}
.mistakes__note {
  max-width: 720px;
  margin: 30px 0 22px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ============ Что такое реклама в Google и SEO ============ */
.explain {
  padding: 80px 0;
  background: #f5f8ff;
}
.explain__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.explain__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 740px;
  margin-bottom: 40px;
}
.explain__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.explain-card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid #e6ecf7;
  border-radius: 20px;
}
.explain-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
}
.explain-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.explain-card__what {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}
.explain-card__what strong { color: var(--text); }
.explain-card__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--accent);
  margin-bottom: 12px;
}
.explain-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.explain-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text);
}
.explain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.explain__note {
  max-width: 760px;
  margin: 30px 0 22px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.explain-card__case {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.explain-card__case strong { color: var(--text); }

/* Список минусов (серый маркер) */
.explain-list--minus li { color: #6b7280; }
.explain-list--minus li::before {
  background-color: #edeef1;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 12h10' fill='none' stroke='%239aa0a8' stroke-width='2.6' stroke-linecap='round'/></svg>");
}

/* YouTube-секция — белый фон (отделить от светлой «Google и SEO») */
#youtube { background: #fff; }

/* ============ Куда вкладывать деньги ============ */
.invest {
  padding: 80px 0;
}
.invest__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.invest__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 740px;
  margin-bottom: 40px;
}
.invest__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.invest__col {
  padding: 30px 28px;
  border-radius: 20px;
}
.invest__col--old {
  background: #f7f8fa;
  border: 1px solid #eceef2;
}
.invest__col--new {
  background: #eef4ff;
  border: 1px solid #d9e6fc;
}
.invest__col-label {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}
.invest__col-label--old { color: #8a9099; }
.invest__col-label--new { color: var(--accent); }
.invest__list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.invest__list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  color: var(--text);
}
.invest__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
}
.invest__list--old li { color: #6b7280; }
.invest__list--old li::before {
  background-color: #edeef1;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 7l10 10M17 7L7 17' fill='none' stroke='%239aa0a8' stroke-width='2.5' stroke-linecap='round'/></svg>");
}
.invest__list--new li::before {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.invest__col-note {
  font-size: 13px;
  color: var(--muted);
}
.invest__note {
  max-width: 760px;
  margin: 28px 0 22px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ============ Тест спроса перед вложениями ============ */
.validate {
  padding: 82px 0;
}
.validate__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: start;
}
.validate__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.validate__text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
}
.validate__text strong { color: var(--text); }

/* Карточка-выжимка */
.validate__card {
  padding: 30px 28px;
  background: #f0f5ff;
  border: 1px solid #e0e9fb;
  border-radius: 20px;
}
.validate__principle {
  position: relative;
  padding-left: 16px;
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.validate__principle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(var(--accent), #6A35E8);
}
.validate__card-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 12px;
}
.validate__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.validate__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text);
}
.validate__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============ AI и автоматизация (тёмная секция) ============ */
.ai {
  padding: 84px 0;
  background: #0e1420;
  color: #fff;
}
.section__tag--light { color: #6aa8ff; }
.ai__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}
.ai__lead {
  font-size: 16px;
  color: rgba(255, 255, 255, .72);
  max-width: 760px;
  margin-bottom: 16px;
}
.ai__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 32px 0 28px;
}
.ai-card {
  padding: 24px 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  transition: background .2s ease, border-color .2s ease;
}
.ai-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(106, 168, 255, .5);
}
.ai-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.ai-card__text {
  font-size: 14px;
  color: rgba(255, 255, 255, .68);
}
.ai__note {
  max-width: 720px;
  margin-bottom: 26px;
  padding-left: 16px;
  border-left: 3px solid #6aa8ff;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}

/* ============ Фото команды в блоке «Почему мы» ============ */
.why__photo {
  margin-bottom: 36px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 18, 29, .16);
}
.why__photo img {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  object-fit: cover;
  object-position: center 32%;
}

/* ============ Масштабирование рекламы ============ */
.scaling {
  padding: 80px 0;
  background: #f5f8ff;
}
.scaling__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.scaling__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 740px;
  margin-bottom: 40px;
}
.scaling__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.scale-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e6ecf7;
  border-radius: 16px;
}
.scale-card__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  background: rgba(26, 115, 232, .1);
  border-radius: 12px;
}
.scale-card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scale-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.scale-card__text {
  font-size: 14px;
  color: var(--muted);
}
.scaling__note {
  max-width: 740px;
  margin: 30px 0 22px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ============ Как мы работаем: этапы ============ */
.steps {
  padding: 78px 0;
  background: #f5f8ff;
}
.steps__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.steps__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 44px;
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 26px;
}
.step__num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(120deg, #1296F3, #6A35E8);
  border-radius: 50%;
}
.step__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step__text {
  font-size: 14px;
  color: var(--muted);
}
.steps__photo {
  margin-top: 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 18, 29, .16);
}
.steps__photo img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center;
}

/* ============ Как выбрать агентство ============ */
.choose {
  padding: 80px 0;
}
.choose__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.choose__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 40px;
}
.choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.choose-card {
  padding: 26px 24px;
  background: #f7f9fd;
  border: 1px solid #eef1f7;
  border-radius: 16px;
}
.choose-card__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  background: rgba(26, 115, 232, .1);
  border-radius: 12px;
}
.choose-card__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.choose-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.choose-card__text {
  font-size: 14px;
  color: var(--muted);
}
.choose__note {
  max-width: 760px;
  margin: 32px 0 24px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ============ Цены ============ */
.prices {
  padding: 80px 0;
  background: #f5f8ff;
}
.prices__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.prices__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 740px;
  margin-bottom: 40px;
}
.prices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 18px;
}
.price-card {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid #e6ecf7;
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(16, 18, 29, .08);
}
.price-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
}
.price-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.price-card__price {
  font-size: 19px;
  font-weight: 800;
  color: var(--accent);
}
.price-card__price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.prices__note {
  max-width: 720px;
  margin: 30px 0 22px;
  font-size: 15px;
  color: var(--muted);
}

/* ============ FAQ ============ */
.faq {
  padding: 80px 0;
}
.faq__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 36px;
}
.faq__list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq__item {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: #dbe4f3; }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chev {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a {
  padding: 0 22px 20px;
  font-size: 15px;
  color: var(--muted);
}

/* ============ Что вы получите ============ */
.benefits {
  padding: 80px 0;
  background: #f5f8ff;
}
.benefits__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.benefits__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 40px;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e6ecf7;
  border-radius: 16px;
}
.benefit-card__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  background: rgba(26, 115, 232, .1);
  border-radius: 12px;
}
.benefit-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.benefit-card__text {
  font-size: 14px;
  color: var(--muted);
}

/* ============ Финальный призыв ============ */
.cta-final {
  padding: 76px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #1296F3, #6A35E8);
}
.cta-final__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.cta-final__text {
  font-size: 17px;
  color: rgba(255, 255, 255, .9);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ============ Модальное окно ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 29, .55);
  backdrop-filter: blur(3px);
  animation: modalFade .2s ease;
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(16, 18, 29, .3);
  animation: modalPop .25s ease;
}
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(16px); } }

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease;
}
.modal__close:hover { background: #e7ebf1; }
.modal__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
}

.modal__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.modal__subtitle {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
}

/* Форма в окне */
.lead-form { display: grid; gap: 14px; }
.lead-form__field { display: grid; gap: 6px; }
.lead-form__field > span { font-size: 13px; font-weight: 600; color: var(--text); }
.lead-form__field em { color: var(--muted); font-style: normal; font-weight: 400; }
.lead-form__field input,
.lead-form__field select,
.lead-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 12px;
  outline: none;
  resize: vertical;
  transition: border-color .2s ease, background .2s ease;
}
.lead-form__field input:focus,
.lead-form__field select:focus,
.lead-form__field textarea:focus { border-color: var(--accent); background: #fff; }
.lead-form__field.has-error input,
.lead-form__field.has-error select { border-color: #e03131; background: #fff5f5; }

.lead-form .btn { margin-top: 4px; }
.lead-form__note { font-size: 12px; color: var(--muted); text-align: center; }
.lead-form__success {
  display: none;
  padding: 12px;
  background: #e9f7ef;
  color: #1a7f4b;
  font-size: 14px;
  text-align: center;
  border-radius: 12px;
}
.lead-form__success.is-visible { display: block; }

/* ============ Уведомление (toast) ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(22, 163, 74, .35);
  opacity: 0;
  transform: translateX(-50%) translateY(160%);
  transition: transform .4s cubic-bezier(.2, .9, .3, 1.2), opacity .4s ease;
  pointer-events: none;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.is-error {
  background: #dc2626;
  box-shadow: 0 16px 40px rgba(220, 38, 38, .35);
}
.toast__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, .25);
  border-radius: 50%;
}
.toast__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ Шапка ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef0f4;
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.brand__logo {
  height: 66px;
  width: auto;
}
.brand__tagline {
  margin-top: -6px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #1B2A4A;
  white-space: nowrap;
}

/* Меню справа */
.nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
}
.nav__link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color .2s ease;
}
.nav__link:hover { color: var(--accent); }

/* Бургер (только на мобильных) */
.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger span + span { margin-top: 6px; }
.burger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ Hero (верхний блок) ============ */
.hero {
  padding: 56px 0 64px;
  background: #fff;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Коллаж платформ сверху — показываем целиком, не обрезаем */
.hero__photo {
  width: 100%;
  max-width: 560px;
  margin-bottom: 32px;
  padding: 18px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 22px 55px rgba(26,115,232,.14);
}
.hero__photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* Fallback, если картинки ещё нет */
.hero__photo.is-empty {
  aspect-ratio: 6 / 5;
  background: linear-gradient(135deg, var(--accent), #5aa9ff);
}

/* Заголовок */
.hero__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  max-width: 820px;
  margin-bottom: 20px;
}

/* Главная часть — фирменный градиент */
.hero__title-main {
  display: block;
  color: var(--accent);   /* запасной цвет, если градиент не поддержан */
  background: linear-gradient(120deg, #1296F3, #6A35E8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Вторая часть — мельче и приглушённо, как подзаголовок */
.hero__title-sub {
  display: block;
  margin-top: 10px;
  font-size: .68em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

/* Описание */
.hero__desc {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
  max-width: 640px;
}

/* Кнопки CTA */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* Карточка рейтинга */
.rating {
  margin-top: 24px;
}

/* ============ Main (задел под будущие секции) ============ */
.main { }

/* ============ Синий градиентный заголовок (единый стиль) ============ */
.title-accent {
  color: var(--accent); /* запасной цвет, если градиент не поддержан */
  background: linear-gradient(120deg, #1296F3, #6A35E8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ Общий тег-подзаголовок ============ */
.section__tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============ О компании ============ */
.about {
  padding: 84px 0;
  background: #f5f8ff;
}
.about__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.about__media {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(26, 60, 120, .18);
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about__text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
}
.about__text strong { color: var(--text); }
.about__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
}
.about__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--text);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============ Кейс / пример работы ============ */
.case {
  padding: 82px 0;
}
.case__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 32px;
}

/* Скриншот сайта с ссылкой */
.case__site {
  display: block;
  position: relative;
  margin-bottom: 40px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 18, 29, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.case__site:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(16, 18, 29, .22);
}
.case__site img {
  width: 100%;
  display: block;
}
.case__site-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(16, 18, 29, .78);
  backdrop-filter: blur(4px);
  border-radius: 999px;
}
.case__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.case__text {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 22px;
}
.case__subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.case__list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
}
.case__list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: var(--text);
}
.case__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.case__result {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding: 20px 22px;
  background: #eef4ff;
  border: 1px solid #d9e6fc;
  border-radius: 16px;
}
.case__number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.case__result-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}
.case__result-text em {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.case__media {
  display: grid;
  place-items: center;
}
.case__media img {
  width: 100%;
  max-width: 330px;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(16, 18, 29, .16);
}
.case__media-fallback {
  display: none;
  padding: 60px 24px;
  width: 100%;
  max-width: 330px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: #f4f6fa;
  border: 2px dashed #cfd6e2;
  border-radius: 18px;
}
.case__media.is-empty .case__media-fallback { display: block; }

/* Скриншот позиции в Google */
.case__serp {
  margin-top: 44px;
}
.case__serp img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #eef0f4;
  box-shadow: 0 20px 50px rgba(16, 18, 29, .12);
}
.case__serp figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ Кому подходит (ниши) ============ */
.niches {
  padding: 80px 0;
}
.niches__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.niches__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 40px;
}
.niches__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.niche-card {
  padding: 24px 22px;
  background: #f7f9fd;
  border: 1px solid #eef1f7;
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.niche-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(16, 18, 29, .08);
}
.niche-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.niche-card__text {
  font-size: 14px;
  color: var(--muted);
}
.niches__note {
  margin-top: 30px;
  font-size: 15px;
  color: var(--muted);
}

/* ============ Проблема → Решение ============ */
.pains {
  padding: 78px 0;
}
.pains__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.pains__lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 44px;
}
.pains__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.pain-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 18px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.pain-card:hover {
  border-color: #dbe4f3;
  box-shadow: 0 18px 40px rgba(16, 18, 29, .07);
}
.pain-card__q {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.pain-card__q::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background: #fdecec;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23e03131' stroke-width='2.5' stroke-linecap='round'/></svg>");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.pain-card__a {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  color: var(--muted);
}
.pain-card__a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============ Услуги: ряд иконок ============ */
.services {
  padding: 8px 0 48px;
}
.services__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  list-style: none;
}
.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.service__icon {
  width: 52px;
  height: 52px;
  transition: transform .2s ease;
}
.service:hover .service__icon { transform: translateY(-4px); }
.service__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* ============ Responsive ============ */

/* ===== ДЕСКТОП: отдельная двухколоночная структура (текст слева, коллаж справа) ===== */
@media (min-width: 861px) {
  .hero { padding: 76px 0 92px; }

  .hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 64px;
    text-align: left;
  }

  /* текст — левая колонка */
  .hero__content {
    order: -1;
    max-width: 560px;
  }
  .hero__title {
    font-size: clamp(36px, 3.4vw, 52px);
    max-width: none;
    margin-bottom: 22px;
  }
  .hero__desc {
    font-size: 19px;
    max-width: 520px;
  }

  /* коллаж — правая колонка, в аккуратной карточке */
  .hero__photo {
    max-width: none;
    width: 100%;
    margin-bottom: 0;
  }

  /* кнопки и рейтинг — по левому краю */
  .hero__actions { justify-content: flex-start; margin-top: 32px; }
}

/* Планшеты и небольшие ноутбуки */
@media (max-width: 768px) {
  .hero { padding: 44px 0 52px; }
  .hero__photo {
    max-width: 480px;
    padding: 14px 18px;
    box-shadow: 0 16px 40px rgba(26,115,232,.12);
  }
  /* иконки услуг → 3 в ряд */
  .services__row { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }

  /* кейс → одна колонка, скриншот сверху */
  .case { padding: 56px 0; }
  .case__inner { grid-template-columns: 1fr; gap: 30px; }
  .case__media { order: -1; }

  /* ниши → 2 в ряд */
  .niches { padding: 56px 0; }
  .niches__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* AI → 2 в ряд */
  .ai { padding: 56px 0; }
  .ai__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* масштабирование → 2 в ряд */
  .scaling { padding: 56px 0; }
  .scaling__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* фото команды в «Почему мы» → край в край, выше */
  .why__photo {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    box-shadow: none;
  }
  .why__photo img { aspect-ratio: 4 / 3; }

  /* как выбрать → 2 в ряд */
  .choose { padding: 56px 0; }
  .choose__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* цены */
  .prices { padding: 56px 0; }
  .prices__grid { gap: 14px; }

  /* что вы получите → 2 в ряд */
  .benefits { padding: 56px 0; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* проблема/решение → одна колонка */
  .pains { padding: 56px 0; }
  .pains__grid { grid-template-columns: 1fr; gap: 16px; }

  /* ошибки → 2 в ряд */
  .mistakes { padding: 56px 0; }
  .mistakes__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* что это такое → колонки в стек */
  .explain { padding: 56px 0; }
  .explain__grid { grid-template-columns: 1fr; gap: 16px; }

  /* куда вкладывать → колонки в стек */
  .invest { padding: 56px 0; }
  .invest__compare { grid-template-columns: 1fr; gap: 16px; }

  /* тест спроса → одна колонка */
  .validate { padding: 56px 0; }
  .validate__inner { grid-template-columns: 1fr; gap: 30px; }

  /* этапы → вертикальный список: номер слева, текст справа */
  .steps { padding: 56px 0; }
  .steps__grid { grid-template-columns: 1fr; gap: 22px; }
  .steps__photo {
    margin-top: 36px;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    box-shadow: none;
  }
  .steps__photo img { aspect-ratio: 4 / 3; }
  .step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .step__num {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  /* FAQ */
  .faq { padding: 56px 0; }
  .faq__q { font-size: 15px; padding: 16px 18px; }
  .faq__a { padding: 0 18px 18px; }

  /* финальный призыв */
  .cta-final { padding: 56px 0; }
  .cta-final__text { font-size: 15px; }

  /* footer → 2 колонки */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding-top: 44px;
    padding-bottom: 36px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom-inner { flex-direction: column; }

  /* О компании → одна колонка, фото сверху и во всю ширину экрана */
  .about { padding: 48px 0; }
  .about__inner { grid-template-columns: 1fr; gap: 26px; }
  .about__media {
    order: -1;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    box-shadow: none;
  }
  /* на мобильном фото показываем целиком, без обрезки */
  .about__media img { height: auto; }
}

/* Телефоны */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  html { scroll-padding-top: 80px; }

  /* Фиксированная панель связи снизу */
  .mobilebar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    gap: 8px;
    padding: 8px 10px;
    background: #fff;
    border-top: 1px solid #eef0f4;
    box-shadow: 0 -6px 20px rgba(16, 18, 29, .1);
  }
  .mobilebar__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 12px;
  }
  .mobilebar__btn svg { width: 18px; height: 18px; fill: currentColor; }
  .mobilebar__btn--call { background: var(--accent); }
  .mobilebar__btn--wa { background: #25d366; }

  /* место снизу, чтобы панель не перекрывала контент */
  body { padding-bottom: 66px; }
  .toast { bottom: 82px; }
  .site-header__inner { min-height: 74px; }
  .brand__logo { height: 56px; }
  .brand__tagline { font-size: 6px; letter-spacing: 1px; }

  /* Меню → выпадающая панель, показываем бургер */
  .burger { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0 16px;
    background: #fff;
    border-bottom: 1px solid #eef0f4;
    box-shadow: 0 16px 30px rgba(16, 18, 29, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 260px; }
  .nav__link {
    padding: 15px 0;
    border-bottom: 1px solid #f0f2f6;
  }
  .nav__link:last-child { border-bottom: 0; }
  .hero { padding: 24px 0 40px; }

  /* Коллаж — компактный по центру, без рамки */
  .hero__photo {
    max-width: 300px;
    width: 100%;
    margin: 0 auto 20px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .hero__title { letter-spacing: -.5px; margin-bottom: 16px; }
}

/* Узкие телефоны */
@media (max-width: 380px) {
  .brand__logo { height: 48px; }
  .brand__tagline { display: none; }
  .hero__title { font-size: 25px; }
  .hero__desc { font-size: 15px; }
  .service__icon { width: 44px; height: 44px; }
  .service__label { font-size: 12px; }
  .niches__grid { grid-template-columns: 1fr; }
  .ai__grid { grid-template-columns: 1fr; }
  .choose__grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .mistakes__grid { grid-template-columns: 1fr; }
  .scaling__grid { grid-template-columns: 1fr; }
}
