/* ============ БЛОК СПЕЦПРЕДЛОЖЕНИЙ ============ */
.offers-section {
  background: #fff;
  padding: 90px 0 100px;
}

/* Заголовок */
.offers-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}
.offers-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #111;
  letter-spacing: -0.3px;
}
.offers-sub {
  font-size: 14px;
  line-height: 1.65;
  color: #666;
  margin: 0;
}

/* Сетка 3 колонки, карточки занимают по 1 или 2 */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 20px;
}

/* Широкая карточка (занимает 2 колонки) */
.offer-card--wide {
  grid-column: span 2;
}

/* Адаптив */
@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .offer-card--wide {
    grid-column: span 1; /* на мобилке все одинаковые */
  }
  .offers-title { font-size: 26px; }
}
@media (max-width: 520px) {
  .offers-section { padding: 60px 0 70px; }
  .offers-grid { grid-auto-rows: 200px; gap: 14px; }
  .offer-card__body { padding: 20px; }
  .offer-card__title { font-size: 18px; }
  .offer-card__btn { padding: 9px 16px; font-size: 13px; }
}

/* Карточка */
.offer-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a; /* fallback */
  text-decoration: none;
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

/* Градиентная тень для читаемости текста */
.offer-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.55) 100%
  );
  transition: background 0.4s ease;
}
.offer-card:hover .offer-card__overlay {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.1) 20%,
    rgba(0,0,0,0.65) 100%
  );
}

/* Контент внутри карточки */
.offer-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1;
}
.offer-card__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  letter-spacing: -0.2px;
}

/* Белая капсульная кнопка */
.offer-card__btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: #fff;
  color: #111;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.offer-card:hover .offer-card__btn {
  background: #c1121f;
  color: #fff;
  box-shadow: 0 6px 20px rgba(193,18,31,0.4);
}

/* Адаптив */
@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .offers-title { font-size: 26px; }
}
@media (max-width: 520px) {
  .offers-section { padding: 60px 0 70px; }
  .offers-grid { grid-auto-rows: 200px; gap: 14px; }
  .offer-card__body { padding: 20px; }
  .offer-card__title { font-size: 18px; }
  .offer-card__btn { padding: 9px 16px; font-size: 13px; }
}