/* Баннер "4 дополнительных занятия в подарок" — сразу после hero на главной.
   Пропорции и цвета сверены пиксель-в-пиксель с оригинальным макетом
   (20260331.png): "4" и заголовок — фирменный KabelC (как и h1/h2 по всему
   сайту, см. style.css), подзаголовок/кнопка — Nunito. Все 3 строки
   заголовка и "4" синие/тёмно-синие (#1189bf / #0f407b). */
@font-face {
    font-family: 'KabelC';
    src: url('../../fonts/kabelctt_ultra.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
  --bb-navy: #0f407b;
  --bb-blue: #1189bf;
  --bb-yellow: #fdbd24;
}

.bonus-banner {
  padding: 50px 0;
  background: #fff;
  overflow-x: hidden;
}

.bonus-banner__container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: end;
}

.bonus-banner__logo {
  display: block;
  height: 42px;
  width: auto;
  margin-bottom: 26px;
}

.bonus-banner__heading {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  min-width: 0;
}

.bonus-banner__number {
  font-family: 'KabelC', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(6rem, 13vw, 11rem);
  line-height: 0.85;
  color: var(--bb-navy);
  flex-shrink: 0;
}

.bonus-banner__title {
  font-family: 'KabelC', 'Nunito', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.015em;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: break-word;
  color: var(--bb-blue);
}

.bonus-banner__subtitle {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--bb-navy);
  margin: 0 0 28px;
}

.bonus-banner__subtitle span {
  color: var(--bb-blue);
}

.bonus-banner__button {
  display: inline-flex;
  align-items: center;
  background: var(--bb-yellow);
  color: var(--bb-navy);
  border: none;
  border-radius: 30px;
  padding: 20px 44px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bonus-banner__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 64, 123, 0.2);
}

.bonus-banner__photo {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.bonus-banner__photo img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
}

.bonus-banner__photo--placeholder {
  min-height: 280px;
  align-items: center;
  justify-content: center;
  background: #f2f7fc;
  border: 2px dashed var(--bb-blue);
  border-radius: 24px;
  color: var(--bb-blue);
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .bonus-banner__container {
    grid-template-columns: 1fr;
  }

  .bonus-banner__photo {
    order: 2;
    justify-content: center;
  }

  .bonus-banner__photo img {
    max-width: 360px;
  }

  .bonus-banner__text {
    order: 1;
  }

  .bonus-banner__number {
    font-size: clamp(5rem, 18vw, 8rem);
  }

  .bonus-banner__title {
    font-size: clamp(2rem, 6.5vw, 2.6rem);
  }
}

@media (max-width: 480px) {
  .bonus-banner {
    padding: 36px 0;
  }

  .bonus-banner__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .bonus-banner__number {
    font-size: 4.5rem;
  }

  .bonus-banner__title {
    font-size: 1.9rem;
    width: 100%;
  }

  .bonus-banner__subtitle {
    font-size: 1rem;
  }

  .bonus-banner__button {
    width: 100%;
    justify-content: center;
  }
}
