/* Главная v2 (шаблон 21), 2026-09-29. Подключается только в шаблоне 21, поверх main.css. */

/* ── Заголовок первого экрана: длинный H1 ── */
h1.hero__content-title { font-size: 46px; }
@media (max-width: 1024px) { h1.hero__content-title { font-size: 34px; } }
@media (max-width: 700px) { h1.hero__content-title { font-size: 28px; } }

/* картинка первого экрана с атрибутами width/height */
.hero__img > img { height: auto; }

/* ── Секции с текстом ── */
.home-sec { padding: 64px 0; }
.home-sec--soft { background: #f2f7fd; border-radius: 40px; margin: 0 20px; }
.home-sec .title,
.home-h2 { scroll-margin-top: 110px; }
h2[id] { scroll-margin-top: 110px; }

.home-text { max-width: 920px; color: #334155; font-size: 17px; line-height: 160%; }
.home-text > * + * { margin-top: 16px; }
.home-text p { color: #334155; font-size: 17px; line-height: 160%; }
.home-text strong { color: #0f172a; font-weight: 600; }
.home-text a { display: inline; color: #1a89f9; text-decoration: underline; text-decoration-color: rgba(26,137,249,.35); text-underline-offset: 3px; }
.home-text a:hover { text-decoration-color: #1a89f9; }
.home-text ul, .home-text ol { padding-left: 22px; }
.home-text li { margin: 6px 0; }
.home-text li::marker { color: #1a89f9; }
.home-text--mb { margin-bottom: 40px; }
.home-text--wide { max-width: none; }

/* ── Таблицы ── */
.home-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; }
.home-table table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 150%;
  background: #fff; border: 1px solid #e2ecf8; border-radius: 20px; overflow: hidden; }
.home-table th { background: #f2f7fd; color: #0f172a; font-weight: 700; text-align: left; padding: 14px 18px; }
.home-table td { padding: 14px 18px; border-top: 1px solid #eef3fa; vertical-align: top; color: #334155; }
.home-table td:first-child { font-weight: 600; color: #0f172a; white-space: nowrap; }
.home-table td.nowrap { white-space: nowrap; }
.home-sec--soft .home-table table { border-color: #dce8f7; }

/* ── Плашка с вводным текстом раздела ── */
.home-intro { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center;
  background: #f2f7fd; border-radius: 32px; padding: 32px 40px 32px 32px; }
.home-intro__badge { background: linear-gradient(135deg, #1a89f9 0%, #58aaff 100%); border-radius: 24px; padding: 28px;
  color: #fff; min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  box-shadow: 0 12px 32px rgba(26, 137, 249, .25); }
.home-intro__num { font-weight: 800; font-size: 72px; line-height: 1; letter-spacing: -2px; }
.home-intro__cap { font-weight: 600; font-size: 17px; line-height: 145%; color: rgba(255, 255, 255, .92); }
.home-intro__text.home-text { max-width: none; }
/* в коде абзац идёт раньше синего блока (первым текстом после H2), на экране блок слева */
.home-intro > .home-intro__badge { grid-column: 1; grid-row: 1; }
.home-intro > .home-intro__text { grid-column: 2; grid-row: 1; }
.home-intro__text.home-text p { font-size: 18px; line-height: 165%; color: #1e293b; }

/* ── Раздел 1: карточки направлений (H3) ── */
.home-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 40px; }
.home-card { grid-column: span 2; background: #f2f7fd; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.home-card:nth-child(4), .home-card:nth-child(5) { grid-column: span 3; }
.home-card__num { width: 44px; height: 44px; border-radius: 14px; background: #1a89f9; color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center; }
h3.home-card__title { font-weight: 700; font-size: 22px; line-height: 125%; color: #0f172a; }
.home-card__text { color: #475569; font-size: 15.5px; line-height: 155%; }
.home-card__text a { display: inline; color: #1a89f9; text-decoration: underline; text-decoration-color: rgba(26,137,249,.35); text-underline-offset: 3px; }

/* ── Раздел 2: текст в колонке «ниши» ── */
.promotions h2.promotions__info-title { font-size: 40px; }
.promotions__info-desc.home-text { max-width: none; font-size: 16px; }
.promotions__info-desc.home-text p { font-size: 16px; color: #475569; }
.promotions__info-desc.home-text ul { padding-left: 18px; }

/* список ниш на десктопе раскрыт сразу (main.js скрывает пункты после 18-го, пока есть кнопка) */
@media (min-width: 769px) {
  .promotions .promotions__list-item.hidden { display: flex !important; }
  .promotions .show__all-list { display: none !important; }
}
/* колонка с текстом тянется на высоту списка, кнопка — вровень с последним рядом */
@media (min-width: 1025px) {
  .promotions .promotions__container { align-items: stretch; }
  .promotions .promotions__info { display: flex; flex-direction: column; }
  .promotions .promotions__info .blue-btn { margin-top: auto; }
  .promotions .promotions__list { align-content: start; }
}

/* ── Раздел 3: SEO простыми словами ── */
.home-text:has(> .seo-simple) { max-width: none; }
.seo-simple { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.seo-simple__label { display: inline-block; font-weight: 600; font-size: 13px; letter-spacing: .02em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; background: #fff; color: #1a89f9; }
.seo-simple__def { grid-column: span 6; border-radius: 28px; padding: 32px;
  background: linear-gradient(135deg, #1a89f9 0%, #58aaff 100%); box-shadow: 0 12px 32px rgba(26, 137, 249, .22); }
.seo-simple__def .seo-simple__label { background: rgba(255, 255, 255, .18); color: #fff; }
.home-text .seo-simple__def p { color: #fff; font-size: 19px; line-height: 160%; font-weight: 500; }
.seo-simple__example { grid-column: span 6; border-radius: 28px; padding: 32px; background: #f2f7fd; }
.home-text .seo-simple__example p { font-size: 16px; color: #334155; }
.seo-simple__query { display: inline; background: #fff; color: #1a89f9; font-weight: 600; padding: 2px 8px; border-radius: 8px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.seo-simple__signals { grid-column: span 12; border: 2px solid #f2f7fd; border-radius: 28px; padding: 32px; }
.home-text p.seo-simple__lead { font-weight: 700; font-size: 20px; color: #0f172a; margin-bottom: 20px; }
.home-text ol.seo-simple__tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 20px; }
.seo-simple__tiles li { margin: 0; display: flex; align-items: center; gap: 14px; background: #f2f7fd; border-radius: 20px; padding: 18px 20px;
  font-weight: 600; font-size: 17px; line-height: 135%; color: #0f172a; }
.seo-simple__n { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #1a89f9; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; }
.seo-simple__note { grid-column: span 12; display: flex; gap: 18px; align-items: flex-start; border-radius: 28px; padding: 26px 32px; background: #f2f7fd; }
.seo-simple__note::before { content: ""; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px;
  background: #1a89f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h3'/%3E%3C/svg%3E") center/24px no-repeat; }
.home-text .seo-simple__note p { font-size: 16px; color: #334155; }

/* ── Раздел 4: цены ── */
.prices .home-intro { background: #fff; margin-bottom: 40px; }
.home-intro--price .home-intro__num { font-size: 44px; letter-spacing: -1px; white-space: nowrap; }
.home-price-after.home-text { max-width: none; margin-top: 40px; }
.price-after { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.price-after > div { background: #fff; border-radius: 28px; padding: 32px; }
.price-extra { grid-column: span 5; display: flex; flex-direction: column; }
.home-text a.price-extra__calc { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 600; font-size: 15px; color: #1a89f9; border: 2px solid #1a89f9; border-radius: 14px; padding: 12px 20px; }
.home-text a.price-extra__calc::after { content: "↓"; }
.home-text a.price-extra__calc:hover { background: #1a89f9; color: #fff; }
.home-text .price-extra p { margin-bottom: 20px; }
.price-grow { grid-column: span 7; }
.price-cheap { grid-column: span 12; display: flex; gap: 18px; align-items: flex-start; }
.price-after__title { font-weight: 700; font-size: 20px; line-height: 130%; color: #0f172a; margin-bottom: 18px; }
.home-text ul.price-extra__list { list-style: none; padding: 0; margin: 0 0 18px; }
.price-extra__list li { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px dashed #dbe6f3; font-size: 16px; color: #0f172a; }
.price-extra__list li:first-child { padding-top: 0; }
.price-extra__price { font-weight: 700; color: #1a89f9; white-space: nowrap; }
.home-text .price-extra p { font-size: 15px; color: #475569; }
.home-text ol.price-grow__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.price-grow__list li { margin: 0; display: flex; gap: 16px; align-items: flex-start; background: #f2f7fd; border-radius: 20px; padding: 18px 20px; }
.price-grow__title { font-weight: 700; font-size: 17px; color: #0f172a; margin-bottom: 4px; }
.home-text .price-grow__list p { font-size: 15.5px; color: #475569; }
.price-cheap::before { content: ""; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px;
  background: #fff4e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6m0 3.5v.5' fill='none' stroke='%23f59e0b' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat; }
.home-text .price-cheap p { font-size: 16px; color: #334155; align-self: center; }

/* ── Раздел 6: сроки ── */
.home-text:has(> .home-intro--timing) { max-width: none; }
.home-text > .home-intro--timing + * { margin-top: 20px; }
.home-intro--timing { grid-template-columns: 380px 1fr; }
.timing-badge { gap: 0; padding: 8px 28px; }
.timing-badge__row { padding: 18px 0; }
.timing-badge__row + .timing-badge__row { border-top: 1px solid rgba(255, 255, 255, .3); }
.timing-badge__num { font-weight: 800; font-size: 40px; line-height: 1.05; letter-spacing: -1px; white-space: nowrap; }
.timing-badge__cap { margin-top: 6px; font-weight: 600; font-size: 15px; line-height: 140%; color: rgba(255, 255, 255, .92); }
.timing-warn { display: flex; gap: 18px; align-items: center; background: #fff8ec; border: 1px solid #fde7c2; border-radius: 24px; padding: 20px 28px; }
.timing-warn::before { content: ""; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6m0 3.5v.5' fill='none' stroke='%23f59e0b' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/28px no-repeat; }
.home-text .timing-warn p { font-size: 16px; color: #1e293b; font-weight: 500; }
.timing-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.timing-kind { border-radius: 28px; padding: 28px 32px; border: 2px solid #f2f7fd; background: #fff; }
.timing-kind--fast { background: #f2f7fd; border-color: #f2f7fd; }
.timing-kind__label { display: inline-block; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; background: #e2e8f0; color: #475569; margin-bottom: 12px; }
.timing-kind--fast .timing-kind__label { background: #1a89f9; color: #fff; }
.timing-kind__title { font-weight: 700; font-size: 21px; line-height: 130%; color: #0f172a; margin-bottom: 10px; }
.home-text .timing-kind p { font-size: 16px; color: #475569; }
.timing-check { border-radius: 28px; padding: 32px; background: #0f172a; color: #fff; }
.timing-check__title { font-weight: 700; font-size: 21px; line-height: 130%; margin-bottom: 22px; }
.home-text ol.timing-steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: tstep; }
.timing-steps li { margin: 0; position: relative; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.timing-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: #1a89f9; color: #fff; font-size: 13px; line-height: 24px; text-align: center; z-index: 1; }
.timing-steps__when { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: #58aaff; }
.timing-steps__what { font-weight: 600; font-size: 17px; line-height: 140%; color: #fff; }
.home-text p.timing-check__note { font-size: 15.5px; color: rgba(255, 255, 255, .8); }

/* ── Раздел 7: Яндекс и Google ── */
.home-text:has(> .se-compare) { max-width: none; }
.home-text p.home-lead { max-width: 980px; font-size: 19px; line-height: 160%; color: #0f172a; border-left: 4px solid #1a89f9; padding-left: 20px; }
.se-compare { margin: 28px 0 20px; }
.se-compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05); }
.se-compare thead th { padding: 22px 26px; text-align: left; font-weight: 700; font-size: 18px; color: #0f172a; border-bottom: 1px solid #eef3fa; }
.se-compare thead th:first-child { width: 26%; }
.se-compare__se { display: inline-flex; align-items: center; gap: 12px; }
.se-compare__se img { width: 32px; height: 32px; }
.se-compare__corner { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: #64748b; }
.se-compare tbody th { text-align: left; padding: 20px 26px; font-weight: 600; font-size: 15.5px; color: #0f172a; background: #f8fbff; vertical-align: top; }
.se-compare tbody td { padding: 20px 26px; font-size: 15.5px; line-height: 150%; color: #334155; vertical-align: top; }
.se-compare tbody tr + tr th, .se-compare tbody tr + tr td { border-top: 1px solid #eef3fa; }
.se-compare tbody td + td { border-left: 1px solid #eef3fa; }
.se-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.se-note { background: #fff; border-radius: 28px; padding: 28px 32px; }
.se-note__title { font-weight: 700; font-size: 20px; color: #0f172a; margin-bottom: 10px; padding-left: 34px; position: relative; }
.se-note__title::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px;
  background: #1a89f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.se-note--diff .se-note__title::before { background: #fff4e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 8h10M7 12h6M7 16h8'/%3E%3C/svg%3E") center/22px no-repeat; }
.home-text .se-note p { font-size: 16px; color: #475569; }
.home-sec--soft .home-note { background: #fff; }
.home-note.home-note--chart::before { background: #1a89f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16M7 16v-4M12 16V8M17 16v-7'/%3E%3C/svg%3E") center/24px no-repeat; }

/* ── Раздел 8: комплексное или разовое ── */
.home-text:has(> .plan-cards) { max-width: none; }
.plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 20px; }
.plan-card { display: flex; flex-direction: column; background: #fff; border: 2px solid #e8f0fa; border-radius: 28px; padding: 32px; }
.plan-card--main { border-color: #1a89f9; box-shadow: 0 16px 40px rgba(26, 137, 249, .14); }
.plan-card__tag { align-self: flex-start; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; background: #e2e8f0; color: #475569; }
.plan-card--main .plan-card__tag { background: #1a89f9; color: #fff; }
.plan-card__title { font-weight: 700; font-size: 26px; line-height: 120%; color: #0f172a; margin: 14px 0 18px; }
.plan-card__rows { margin: 0 0 22px; }
.plan-card__rows > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #eef3fa; }
.plan-card__rows dt { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; color: #64748b; padding-top: 2px; }
.plan-card__rows dd { margin: 0; font-size: 16px; line-height: 150%; color: #0f172a; }
.plan-card__when { margin-top: auto; background: #f2f7fd; border-radius: 20px; padding: 18px 20px; }
.plan-card--main .plan-card__when { background: #e8f3ff; }
.plan-card__when-label { font-weight: 700; font-size: 15px; color: #1a89f9; margin-bottom: 6px; }
.home-text .plan-card__when p { font-size: 15.5px; color: #334155; }

/* ── Раздел 9: плюсы и минусы (группы плиток) ── */
.home-text:has(> .pc-group) { max-width: none; }
.pc-group { margin-top: 28px; }
.pc-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.pc-group__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; background: #1a89f9 center/24px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.pc-group--minus .pc-group__icon { background-color: #e2e8f0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.pc-group__title { font-weight: 700; font-size: 24px; color: #0f172a; }
.pc-group__sub { font-size: 16px; color: #64748b; padding-top: 3px; }
.home-text ul.pc-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pc-group--minus ul.pc-grid { grid-template-columns: repeat(2, 1fr); }
.pc-grid li { margin: 0; position: relative; background: #fff; border-radius: 24px; padding: 26px 26px 24px; }
.pc-grid li::before { content: ""; position: absolute; top: 0; left: 26px; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: #1a89f9; }
.pc-group--minus .pc-grid li::before { background: #cbd5e1; }
.pc-item__title { font-weight: 700; font-size: 17px; line-height: 135%; color: #0f172a; margin-bottom: 8px; }
.home-text .pc-grid p { font-size: 15.5px; line-height: 155%; color: #475569; }

/* ── Раздел 10: кейсы ── */
.successful__cases .home-text:has(> .home-lead) { max-width: none; }
.cases-after-wrap.home-text { max-width: none; margin-top: 32px; }
.cases-after { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: #0f172a; border-radius: 28px; padding: 28px 36px; }
.home-text ul.cases-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; }
.cases-stats li { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.cases-stats__num { font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -1px; color: #58aaff; }
.cases-stats__cap { font-size: 14px; line-height: 135%; color: rgba(255, 255, 255, .8); max-width: 170px; }
.home-text p.cases-after__note { color: #fff; font-size: 17px; line-height: 155%; border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 32px; }

/* ── Раздел 11: когда не подойдёт — две колонки ── */
.nofit-layout { display: grid; grid-template-columns: 470px 1fr; column-gap: 48px; align-items: start; }
.nofit-layout > .title { grid-column: 1; grid-row: 1; margin-bottom: 24px; font-size: 40px; }
.nofit-layout > .nofit-text { display: contents; }
.nofit-text > .nofit-lead { grid-column: 1; grid-row: 2; font-size: 18px; line-height: 160%; color: #1e293b; }
.nofit-text > .nofit-promise { grid-column: 1; grid-row: 3; margin-top: 20px; font-weight: 600; font-size: 18px; line-height: 150%; color: #0f172a;
  background: #f2f7fd; border-radius: 20px; padding: 18px 20px 18px 56px; position: relative; }
.nofit-text > .nofit-promise::before { content: ""; position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 8px;
  background: #1a89f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.nofit-layout > .nofit-btn { grid-column: 1; grid-row: 4; margin-top: 24px; justify-self: start; }
.nofit-text > .not-fit--list { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; display: flex; flex-direction: column; gap: 14px; }
.not-fit--list .not-fit__item, .not-fit--list .not-fit__item:nth-child(n) { display: flex; gap: 18px; align-items: flex-start; grid-column: auto;
  background: #fff; border: 2px solid #eef3fa; border-radius: 24px; padding: 22px 24px; }
.not-fit__num { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #fff4e5; color: #d97706;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.not-fit--list .not-fit__title { padding-left: 0; margin-bottom: 6px; font-size: 18px; }
.not-fit--list .not-fit__title::before { display: none; }
@media (min-width: 1025px) {
  .nofit-layout > .title, .nofit-text > .nofit-lead, .nofit-text > .nofit-promise, .nofit-layout > .nofit-btn { position: relative; }
}

/* ── Раздел 12: команда и отчётность ── */
.our-team .home-text.team-text, .our-team .home-text.team-after { max-width: none; margin-bottom: 0; }
.team-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 32px; }
.team-intro .home-lead { align-self: center; }
.team-intro__card { background: #fff; border-radius: 28px; padding: 26px 30px; box-shadow: 0 10px 30px rgba(26, 137, 249, .08); }
.team-intro__label, .team-reports__label { display: inline-block; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; background: #1a89f9; color: #fff; margin-bottom: 12px; }
.home-text .team-intro__card p { font-size: 16px; color: #334155; }
.team-after { margin-top: 32px; }
.team-reports { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.team-reports__main { background: #fff; border-radius: 28px; padding: 30px 32px; }
.team-reports__title { font-weight: 700; font-size: 24px; color: #0f172a; margin-bottom: 10px; }
.home-text .team-reports__main p { font-size: 16px; color: #334155; }
.team-reports__label { margin: 18px 0 10px; background: #e8f3ff; color: #1a89f9; }
.home-text ul.team-reports__chips { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.team-reports__chips li { margin: 0; background: #f2f7fd; border-radius: 12px; padding: 8px 14px; font-weight: 600; font-size: 15px; color: #0f172a; }
.team-reports__chips li span { font-weight: 400; color: #64748b; font-size: 13.5px; }
.team-reports__goal { display: flex; flex-direction: column; justify-content: center; gap: 18px; background: linear-gradient(135deg, #1a89f9 0%, #58aaff 100%);
  border-radius: 28px; padding: 30px 32px; box-shadow: 0 12px 32px rgba(26, 137, 249, .22); }
.team-reports__goal::before { content: ""; width: 56px; height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .18)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Ccircle cx='12' cy='12' r='1.2' fill='%23fff'/%3E%3C/svg%3E") center/30px no-repeat; }
.home-text .team-reports__goal p { color: #fff; font-weight: 600; font-size: 20px; line-height: 145%; }
.our-team .home-note { background: #fff; margin-top: 20px; }
.home-note.home-note--person::before { background: #1a89f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 20c.8-3.6 3.6-5.5 7-5.5s6.2 1.9 7 5.5'/%3E%3C/svg%3E") center/24px no-repeat; }

/* ── Раздел 13: отзывы ── */
.reviews .home-wrap .home-text { max-width: none; }
.review-stories { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.review-story { background: #fff; border: 2px solid #eef3fa; border-radius: 28px; padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.review-story__metric { display: flex; flex-direction: column; gap: 4px; background: linear-gradient(135deg, #1a89f9 0%, #58aaff 100%);
  border-radius: 20px; padding: 16px 20px; color: #fff; }
/* заголовок и карточки — по сетке контейнера, как виджет отзывов ниже */
@media (min-width: 1301px) {
  .reviews > .title.reviews-title, .reviews > .home-wrap { max-width: 1280px; padding-left: 0; padding-right: 0; }
}
@media (max-width: 1300px) {
  .reviews > .title.reviews-title, .reviews > .home-wrap { max-width: 100%; padding-left: 16px; padding-right: 16px; }
}
.review-story__num { font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -.5px; white-space: nowrap; }
.review-story__cap { font-weight: 600; font-size: 15px; line-height: 140%; color: rgba(255, 255, 255, .92); }
.review-story__who { display: flex; align-items: center; gap: 12px; }
.review-story__ava { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #e8f3ff; color: #1a89f9;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.review-story__name { font-weight: 700; font-size: 17px; color: #0f172a; }
.review-story__src { font-size: 13.5px; color: #64748b; }
.home-text .review-story p { font-size: 16px; color: #334155; }

/* ── Раздел 13: карусель отзывов ── */
.home-reviews { margin-top: 36px; margin-bottom: 40px !important; }
.home-reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.home-reviews__title { font-weight: 700; font-size: 24px; color: #0f172a; }
.home-reviews .swiper-btns { display: flex; gap: 10px; }
.home-reviews .swiper-btn { width: 48px; height: 48px; border-radius: 14px; border: 1px solid #1a89f9; background: #fff; display: flex; align-items: center; justify-content: center; }
.home-reviews-swiper { padding-bottom: 36px; }
.home-reviews-swiper .swiper-slide { height: auto; }
.home-review { height: 100%; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid #eef3fa; border-radius: 24px; padding: 22px 24px; }
.home-review__who { display: flex; align-items: center; gap: 12px; }
.home-review__ava { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #e8f3ff center/cover no-repeat; color: transparent;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.home-review__ava[style*="url('')"] { background-image: none !important; color: #1a89f9; }
.home-review__name { font-weight: 600; font-size: 16px; color: #0f172a; }
.home-review__level { font-size: 13.5px; color: #64748b; }
.home-review__meta { display: flex; align-items: center; gap: 12px; }
.home-review__stars { display: inline-block; height: 18px; width: calc(var(--r, 5) * 20px); background: url("../images/icons/star.svg") repeat-x 0 0 / 20px 18px; }
.home-review__date { font-size: 14px; color: #64748b; }
.home-review__text { font-size: 15.5px; line-height: 155%; color: #1e293b; }
.home-reviews-pagination .swiper-pagination-bullet-active { background: #1a89f9; }
@media (min-width: 1111px) {
  .reviews .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
  .reviews .reviews__certificate { min-width: 0; overflow: hidden; }
  .reviews .reviews__yandex, .reviews .reviews__certificate { max-width: none; }
  .reviews .reviews__yandex-head { height: 100%; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px;
    padding: 48px; border-radius: 32px; background: #f2f7fd; }
  .reviews .reviews__yandex-head .rating-count { font-size: 120px; letter-spacing: -4px; }
  .reviews .reviews__yandex-head .star-box img { width: 40px; height: 40px; }
  .reviews .reviews__yandex-head .ya { font-size: 18px; }
}
.home-cert-title { margin-bottom: 8px; position: relative; z-index: 1; }

/* ── Раздел 5: этапы ── */
.home-steps-intro { margin-bottom: 32px; }
.home-steps-after { margin-top: 32px; }
.system-approach__card-head p.home-step-lead { margin-top: 12px; color: rgba(255, 255, 255, .9); font-size: 15px; line-height: 150%; }
@media (min-width: 1025px) { .home-steps-intro ~ .system-approach__swiper .system-approach__card-head { min-height: 285px; } }

/* ── Заметка-плашка с иконкой (общая) ── */
.home-note { display: flex; gap: 18px; align-items: center; border-radius: 28px; padding: 26px 32px; background: #f2f7fd; }
.home-note::before { content: ""; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px;
  background: #1a89f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h3'/%3E%3C/svg%3E") center/24px no-repeat; }
.home-note .home-text { max-width: none; }
.home-note .home-text p { font-size: 16px; color: #334155; }

/* ── Блоки на всю ширину контейнера внутри текста ── */
.home-text:has(> .pros-cons), .home-text:has(> .not-fit) { max-width: none; }
.home-text:has(> .pros-cons) > p, .home-text:has(> .not-fit) > p { max-width: 920px; }

/* ── Раздел 9: плюсы и минусы ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.pros-cons__col { border-radius: 28px; padding: 28px; }
.pros-cons__col--plus { background: #f2f7fd; }
.pros-cons__col--minus { background: #fff; border: 2px solid #f2f7fd; }
.home-sec--soft .pros-cons__col { background: #fff; border: 0; }
.pros-cons__title { font-weight: 700; font-size: 22px; margin-bottom: 16px; color: #0f172a; }
.pros-cons__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pros-cons__col li { position: relative; padding-left: 32px; margin: 0; color: #475569; font-size: 15.5px; line-height: 155%; }
.pros-cons__col li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #1a89f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.pros-cons__col--minus li::before { background: #e2e8f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 10h7' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.pros-cons__col li strong { color: #0f172a; }

/* ── Раздел 11: когда не подойдёт ── */
.not-fit { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 32px; }
.not-fit__item { grid-column: span 2; background: #fff; border: 2px solid #f2f7fd; border-radius: 28px; padding: 26px; }
.not-fit__item:nth-child(4), .not-fit__item:nth-child(5) { grid-column: span 3; }
.not-fit__title { font-weight: 700; font-size: 18px; line-height: 130%; color: #0f172a; margin-bottom: 10px; padding-left: 34px; position: relative; }
.not-fit__title::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 8px;
  background: #fff4e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6m0 3.5v.5' fill='none' stroke='%23f59e0b' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/24px no-repeat; }
.not-fit__item p { color: #475569; font-size: 15.5px; line-height: 155%; }
.not-fit__item a { display: inline; color: #1a89f9; text-decoration: underline; text-underline-offset: 3px; }

/* ── Кейсы, команда, отзывы: вводный текст ── */
.successful__cases .home-text { margin-top: -8px; }
.our-team .home-text { margin-bottom: 32px; }
.home-wrap { max-width: var(--container-width, 1240px); margin: 0 auto 40px; padding-inline: var(--container-padding, 20px); }
.reviews > .title.reviews-title { margin-bottom: 20px; }

/* ── FAQ: вопросы — H3, левая колонка — заголовок + вводный текст ── */
.faq__side { width: 510px; flex-shrink: 0; }
.faq__side .title { width: auto; margin-bottom: 20px; }
.faq__side .home-text p { font-size: 16px; color: #475569; }
h3.accordion-header__title { font-weight: 500; font-size: 18px; line-height: 150%; color: #0f172a; }
.faq .accordion-content__info a { display: inline; color: #1a89f9; text-decoration: underline; text-underline-offset: 3px; }

/* ── Навигационные блоки без H2 ── */
div.title.home-nav-title { font-size: 36px; }
.additional__services .additional__services-cards { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1300px) {
  .home-wrap { padding-inline: 16px; }
}
@media (max-width: 1140px) {
  .faq__side { width: 400px; }
}
@media (max-width: 1024px) {
  .review-stories { grid-template-columns: 1fr; }
  .team-intro, .team-reports { grid-template-columns: 1fr; }
  .nofit-layout { display: block; }
  .nofit-layout > .nofit-text { display: block; }
  .nofit-text > .not-fit--list { margin-top: 24px; }
  .nofit-layout > .nofit-btn { display: inline-flex; margin-top: 24px; }
  .cases-after { grid-template-columns: 1fr; gap: 20px; }
  .home-text p.cases-after__note { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; }
  .home-text ul.pc-grid, .pc-group--minus ul.pc-grid { grid-template-columns: 1fr 1fr; }
  .plan-cards { grid-template-columns: 1fr; }
  .se-notes { grid-template-columns: 1fr; }
  .se-compare table, .se-compare thead, .se-compare tbody, .se-compare tr, .se-compare th, .se-compare td { display: block; width: 100%; }
  .se-compare table { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .se-compare thead { display: none; }
  .se-compare tbody tr { background: #fff; border-radius: 22px; margin-bottom: 12px; overflow: hidden; }
  .se-compare tbody tr + tr th, .se-compare tbody tr + tr td { border-top: 0; }
  .se-compare tbody th { padding: 16px 20px 10px; background: #fff; font-size: 16px; }
  .se-compare tbody td { padding: 10px 20px 14px 20px; border-left: 0 !important; }
  .se-compare tbody td::before { content: attr(data-se); display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: #1a89f9; margin-bottom: 4px; }
  .se-compare tbody td[data-se="Яндекс"]::before { color: #fc3f1d; }
  .se-compare tbody td + td { border-top: 1px dashed #e2e8f0 !important; }
  .home-intro--timing { grid-template-columns: minmax(0, 1fr); }
  .home-intro .timing-badge { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0 20px; padding: 18px 24px; min-width: 0; }
  .home-intro .timing-badge__row { padding: 4px 0; min-width: 0; }
  .home-intro .timing-badge__row + .timing-badge__row { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 20px; }
  .timing-kinds { grid-template-columns: 1fr; }
  .home-text ol.timing-steps { grid-template-columns: 1fr; }
  .timing-steps li:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -14px; transform: none; }
  .price-extra, .price-grow { grid-column: span 12; }
  .seo-simple__def, .seo-simple__example { grid-column: span 12; }
  .home-text ol.seo-simple__tiles { grid-template-columns: 1fr; gap: 10px; }
  .home-intro { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .home-intro > .home-intro__badge { grid-column: 1; grid-row: 1; }
  .home-intro > .home-intro__text { grid-column: 1; grid-row: 2; }
  .home-intro__badge { flex-direction: row; align-items: center; gap: 20px; padding: 22px 24px; }
  .home-intro__num { font-size: 56px; }
  .home-cards { grid-template-columns: 1fr 1fr; }
  .home-card, .home-card:nth-child(4), .home-card:nth-child(5) { grid-column: span 1; }
  .home-card:nth-child(5) { grid-column: span 2; }
  .not-fit { grid-template-columns: 1fr 1fr; }
  .not-fit__item, .not-fit__item:nth-child(4), .not-fit__item:nth-child(5) { grid-column: span 1; }
  .not-fit__item:nth-child(5) { grid-column: span 2; }
  .promotions h2.promotions__info-title { font-size: 34px; }
}
@media (max-width: 700px) {
  .home-sec { padding: 40px 0; }
  .home-reviews__title { font-size: 20px; }
  .home-reviews .swiper-btn { width: 40px; height: 40px; }
  .review-story { padding: 20px; border-radius: 22px; }
  .review-story__num { font-size: 24px; }
  .team-intro__card, .team-reports__main, .team-reports__goal { padding: 22px; border-radius: 22px; }
  .home-text .team-reports__goal p { font-size: 17px; }
  .not-fit--list .not-fit__item, .not-fit--list .not-fit__item:nth-child(n) { padding: 18px; gap: 14px; border-radius: 20px; }
  .nofit-text > .nofit-lead, .nofit-text > .nofit-promise { font-size: 16px; }
  .nofit-layout > .nofit-btn { width: 100%; justify-content: center; }
  .cases-after { padding: 22px; border-radius: 22px; }
  .home-text ul.cases-stats { gap: 14px; justify-content: space-between; }
  .cases-stats li { min-width: 0; }
  .cases-stats__num { font-size: 30px; }
  .cases-stats__cap { font-size: 12.5px; }
  .home-text p.cases-after__note { font-size: 15.5px; }
  .home-text ul.pc-grid, .pc-group--minus ul.pc-grid { grid-template-columns: 1fr; gap: 12px; }
  .pc-grid li { padding: 20px; border-radius: 20px; }
  .pc-group__head { flex-wrap: wrap; gap: 4px 12px; }
  .pc-group__sub { flex-basis: 100%; padding-left: 56px; padding-top: 0; margin-top: -10px; }
  .plan-card { padding: 22px; border-radius: 22px; }
  .plan-card__title { font-size: 22px; }
  .plan-card__rows > div { grid-template-columns: 1fr; gap: 4px; }
  .home-text p.home-lead { font-size: 17px; padding-left: 14px; }
  .se-note { padding: 22px; border-radius: 22px; }
  .home-intro .timing-badge { padding: 16px 18px; gap: 0 14px; }
  .home-intro .timing-badge__row + .timing-badge__row { padding-left: 14px; }
  .timing-badge__num { font-size: 22px; }
  .timing-badge__cap { font-size: 13px; }
  .timing-warn { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; border-radius: 22px; }
  .timing-kind, .timing-check { padding: 22px; border-radius: 22px; }
  .timing-kind__title, .timing-check__title { font-size: 19px; }
  .home-note { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 22px; }
  .price-after { gap: 14px; }
  .price-after > div { padding: 22px; border-radius: 22px; }
  .price-cheap { flex-direction: column; gap: 12px; }
  .home-intro--price .home-intro__num { font-size: 34px; }
  .prices .home-intro { margin-bottom: 28px; }
  .seo-simple { gap: 14px; }
  .seo-simple__def, .seo-simple__example, .seo-simple__signals { padding: 22px; border-radius: 22px; }
  .seo-simple__note { padding: 20px; border-radius: 22px; flex-direction: column; gap: 12px; }
  .home-text .seo-simple__def p { font-size: 17px; }
  .home-text p.seo-simple__lead { font-size: 18px; }
  .seo-simple__tiles li { font-size: 16px; padding: 14px 16px; }
  .home-intro { padding: 16px; border-radius: 24px; gap: 18px; }
  .home-intro__badge { padding: 18px 20px; border-radius: 18px; }
  .home-intro__num { font-size: 48px; }
  .home-intro__cap { font-size: 15px; }
  .home-intro__text.home-text p { font-size: 16px; }
  .home-sec--soft { margin: 0 8px; border-radius: 28px; }
  .home-text, .home-text p { font-size: 16px; }
  .home-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .home-card, .home-card:nth-child(4), .home-card:nth-child(5) { grid-column: span 1; padding: 22px; border-radius: 22px; }
  h3.home-card__title { font-size: 19px; }
  .pros-cons { grid-template-columns: 1fr; }
  .pros-cons__col { padding: 22px; border-radius: 22px; }
  .not-fit { grid-template-columns: 1fr; gap: 14px; }
  .not-fit__item, .not-fit__item:nth-child(5) { grid-column: span 1; }
  .additional__services .additional__services-cards { grid-template-columns: 1fr; }
  .not-fit__item { padding: 22px; border-radius: 22px; }
  .faq__side { width: 100%; }
  h3.accordion-header__title { font-size: 16px; }
  .promotions h2.promotions__info-title { font-size: 28px; }
  div.title.home-nav-title { font-size: 28px; }
}
