/* ===== t772: текст слева, кнопка справа на одной строке, Услуги ===== */
@media (min-width: 981px){
  .t772 .t-card__col{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto; /* колонка текста + колонка кнопки */
    grid-template-rows: auto auto;              /* 1: картинка, 2: текст/кнопка */
    grid-template-areas:
      "img  img"
      "text btn";
    column-gap: 20px;
    row-gap: 12px;
    align-items: start;                          /* верхние края на одной линии */
  }
  /*.t772__content становятся прямыми элементами сетки */
  .t772 .t-card__col .t772__content{ display: contents; }
  .t772 .t-card__col .t772__imgwrapper{ grid-area: img; }
  .t772 .t-card__col .t772__textwrapper{
    grid-area: text;
    text-align: left;
    /* ограничение ширины текста — подправьте под дизайн */
    max-width: clamp(420px, 60%, 640px);
  }
  .t772 .t-card__col .t-card__btn-wrapper{
    grid-area: btn;
    justify-self: end;                 /* уводим кнопку вправо */
    align-self: end;                   /* выравниваем кнопку по низу текста */
    margin-top: 0 !important;          /* перекрыть стандартные отступы*/
    white-space: nowrap;               /* кнопка не переносится */
  }
}
/* ===== Мобилка — текст слева, кнопка справа ===== */
@media (max-width: 980px){
  .t772 .t-card__col{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto; /* колонка текста + колонка кнопки */
    grid-template-rows: auto auto;              /* 1: картинка, 2: текст/кнопка */
    grid-template-areas:
      "img  img"
      "text btn";
    column-gap: 15px;                           /* меньший отступ для мобилки */
    row-gap: 12px;
    align-items: start;
  }
  .t772 .t-card__col .t772__content{ display: contents; }
  .t772 .t-card__col .t772__imgwrapper{ grid-area: img; }
  .t772 .t-card__col .t772__textwrapper{
    grid-area: text;
    text-align: left;
    /* ограничение ширины текста для мобилки */
    max-width: 60%;
  }
  .t772 .t-card__col .t-card__btn-wrapper{
    grid-area: btn;
    justify-self: end;
    align-self: end;                   /* выравниваем кнопку по низу текста */
    margin-top: 0 !important;
    white-space: nowrap;
  }
}

/*Заголовок отзывов*/
 .t1186 .t-section__descr {
    max-width: 760px;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 40px !important;
}

.t1186 .t-section__title {
     margin-bottom: 17px !important;
}
.t1186__controls {
    margin-bottom: 40px;
}
/*Выравнивание кнопки в прайсе*/
.t390__btn-wrapper {
    margin-top: 30px;
    justify-content: left;
}
/*Заголовок Услуги*/
 .t774 .t-section__descr {
    max-width: 840px;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 40px !important;
}

.t774 .t-section__title {
     margin-bottom: 17px !important;
}
