/* Раздел «Продвижение приложений: каналы и метрики».
   Фон задаётся общим классом страницы .gray-bg (#fafafa). */

.asp-sec *, .asp-sec *::before, .asp-sec *::after { box-sizing: border-box; }
.asp__title { margin: 0 0 30px; }
.asp__lead { max-width: 900px; margin: 0 0 50px; }
.asp-blk + .asp-blk { margin-top: 70px; }
.asp__h3 { margin: 0 0 30px; font: 400 26px/115% Unbounded, sans-serif; letter-spacing: -.6px; color: #0a0a0a; }

/* ----- когда нужно: кружок и линия, как у карточек «Услуги ASO-продвижения» ----- */
.asp-sit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.asp-sit__item { position: relative; padding-top: 44px; }
.asp-sit__item::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border: 1px solid #F3712F; border-radius: 50%; }
.asp-sit__item::after { content: ""; position: absolute; left: 20px; right: 0; top: 9.5px; height: 1px; background: rgba(10, 10, 10, .1); }
.asp-sit__title { margin: 0 0 14px; font: 400 20px/130% Unbounded, sans-serif; letter-spacing: -.4px; color: #0a0a0a; }
.asp-sit__text { margin: 0; font: 400 16px/26px "Segoe UI", sans-serif; color: #676767; }

/* ----- каналы ----- */
.asp-ch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.asp-ch__card { padding: 34px; border: 1px solid rgba(255, 86, 11, .12); border-radius: 28px; background: #fff; }
.asp-ch__num { display: inline-flex; padding: 6px 12px; border-radius: 99px; background: #fff0e9; font: 400 14px/1.2 Unbounded, sans-serif; color: #ff560b; }
.asp-ch__title { margin: 18px 0 12px; font: 400 22px/130% Unbounded, sans-serif; letter-spacing: -.5px; color: #0a0a0a; }
.asp-ch__text { margin: 0; font: 400 16px/26px "Segoe UI", sans-serif; color: #676767; }

/* ----- метрики ----- */
.asp-m { border: 1px solid rgba(10, 10, 10, .08); border-radius: 28px; background: #fff; overflow: hidden; }
.asp-m__table { width: 100%; border-collapse: collapse; font: 400 16px/1.5 "Segoe UI", sans-serif; color: #0a0a0a; }
.asp-m__table th, .asp-m__table td { padding: 18px 26px; text-align: left; vertical-align: top; }
.asp-m__table thead th { padding-top: 16px; padding-bottom: 16px; background: #fafafa; border-bottom: 1px solid rgba(10, 10, 10, .08); font-size: 14px; font-weight: 400; color: #676767; }
.asp-m__table tbody tr + tr td { border-top: 1px solid rgba(10, 10, 10, .08); }
.asp-m__table td:first-child { width: 26%; font-family: Unbounded, sans-serif; font-size: 15px; letter-spacing: -.3px; }
.asp-m__table td:nth-child(2) { width: 38%; color: #676767; }
.asp-m__table b { font-weight: 700; color: #ff560b; white-space: nowrap; }
/* у сайта * { text-decoration: none !important }: подчёркивание ссылок на кейсы ставится тоже с !important, цвет линии
   в той же записи (иначе его сбрасывает правило сайта) */
.asp-m__table a { color: #0a0a0a; text-decoration: underline rgba(255, 86, 11, .5) !important; text-underline-offset: 3px; }
.asp-m__table a:hover, .asp-m__table a:focus-visible { color: #ff560b; }
.asp-nw { white-space: nowrap; }
.asp__note { margin: 18px 0 0; max-width: 900px; font: 400 14px/22px "Segoe UI", sans-serif; color: #676767; }

/* ----- призыв ----- */
.asp-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 60px; padding: 30px 34px; border: 1px solid rgba(255, 86, 11, .12); border-radius: 28px; background: #fff; }
.asp-cta__text { margin: 0; max-width: 720px; font: 400 20px/140% Unbounded, sans-serif; letter-spacing: -.4px; color: #0a0a0a; }
.asp-cta__btn { flex: none; border: 0; cursor: pointer; }

@media (max-width: 1199px) {
  .asp-sit { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }
}
@media (max-width: 991px) {
  .asp__h3 { font-size: 22px; }
  .asp-ch__card { padding: 28px; }
  .asp-ch__title { font-size: 20px; }
  .asp-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .asp-ch { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .asp-blk + .asp-blk { margin-top: 50px; }
  /* таблица метрик карточками: подпись столбца над значением */
  .asp-m { border: 0; border-radius: 0; background: none; overflow: visible; }
  .asp-m__table, .asp-m__table tbody, .asp-m__table tr, .asp-m__table td { display: block; width: 100% !important; }
  .asp-m__table thead { display: none; }
  .asp-m__table tr { padding: 20px 22px; border: 1px solid rgba(10, 10, 10, .08); border-radius: 22px; background: #fff; }
  .asp-m__table tr + tr { margin-top: 12px; }
  .asp-m__table tbody tr + tr td { border-top: 0; }
  .asp-m__table td { padding: 0; }
  .asp-m__table td + td { margin-top: 12px; }
  .asp-m__table td:first-child { font-size: 16px; }
  .asp-m__table td + td::before { content: attr(data-l); display: block; margin-bottom: 2px; font-size: 13px; color: #9a9a9a; }
}
@media (max-width: 576px) {
  .asp__title { margin-bottom: 20px; }
  .asp__lead { margin-bottom: 36px; }
  .asp__h3 { margin-bottom: 22px; font-size: 20px; }
  .asp-sit { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .asp-sit__item { padding-top: 36px; }
  .asp-sit__title { margin-bottom: 10px; font-size: 18px; }
  .asp-sit__text, .asp-ch__text { font-size: 14px; line-height: 150%; }
  .asp-ch__card { padding: 22px 20px; border-radius: 22px; }
  .asp-ch__title { margin-top: 14px; font-size: 18px; }
  .asp-m__table { font-size: 14px; }
  .asp-m__table tr { padding: 18px; }
  .asp-cta { margin-top: 44px; padding: 22px 20px; border-radius: 22px; }
  .asp-cta__text { font-size: 17px; }
  .asp-cta .asp-cta__btn { width: 100%; max-width: none; }   /* сильнее правил кнопки сайта при любом порядке стилей */
}
