/* Блок «Оплата, доступ и гарантии» на главной.

   Рассрочка, возврат, сертификат и лояльность жили только в подвале — то есть
   до них добирался лишь тот, кто и так дочитал страницу. Это ровно те вопросы,
   которые встают перед нажатием кнопки при чеке в €120–150. */


/* Типографика заголовка и лида — из общего набора заголовков разделов
   в style.css, чтобы блок не разъехался с соседними секциями главной. */
.terms-b .title { margin-bottom: 36px; }
.terms-b .title h2 { margin: 0; }

/* Не карточки: на странице их и так много (сегменты, преподаватели, калькуляторы,
   сборники). Условия — это факты, а не витрина, поэтому список с разделителями:
   другой ритм и меньше визуального шума. */
.terms-grid {
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:0 40px;
}
.terms-item { margin:0; padding:24px 0 28px; border-top:1px solid #E4E7EA; }
.terms-item__title { font-weight:700; font-size:18px; line-height:25px; color:#171F26; margin:0 0 8px; }
.terms-item__text { margin:0; font-size:15px; line-height:24px; color:#52606D; }
.terms-item__link {
  display:inline-block; margin-top:10px; font-weight:600; font-size:14px; line-height:20px;
  color:#171F26; text-decoration:none; border-bottom:1px solid #C8CDD3; padding-bottom:2px;
}
.terms-item__link:hover { border-bottom-color:#171F26; }

/* Подарок отделён: это не условие покупки, а отдельный сценарий — и
   единственное место в блоке, где есть действие. */
.terms-gift {
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  margin-top:32px; padding:28px 32px; border-radius:16px; background:#EDEBE8;
}
.terms-gift__title { font-family:"Lora",Georgia,serif; font-weight:600; font-size:24px; line-height:31px; color:#171F26; margin:0; }
.terms-gift__text { margin:8px 0 0; max-width:620px; font-size:16px; line-height:25px; color:#4A5259; }
.terms-gift .btn { flex:none; }

@media (max-width:991px){
  .terms-b .title h2 { font-size:32px; line-height:40px; }
  .terms-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:0 32px; }
  .terms-gift { flex-direction:column; align-items:flex-start; }
}
@media (max-width:575px){
  .terms-b .title h2 { font-size:26px; line-height:34px; }
  .terms-grid { grid-template-columns:minmax(0,1fr); }
  .terms-item { padding:20px 0 22px; }
  .terms-gift { padding:22px; }
  .terms-gift .btn { width:100%; }
}
