/* Конкурс «Ищем таланты в английском» — отдельная посадочная страница.
   Палитра — фирменная (как на loyalty/club-card/bonus-banner), со своим
   префиксом переменных, чтобы не конфликтовать при случайном совпадении
   подключения файлов на одной странице. */
:root {
  --kk-navy: #0f3077;
  --kk-blue: #1189bf;
  --kk-yellow: #fdbd24;
  --kk-light-blue: #eaf4fb;
  --kk-light-blue-2: #d7ebf7;
}

.kk-section {
  padding: 60px 0;
  background: #fff;
}

.kk-section--blue {
  background: var(--kk-light-blue);
}

.kk-section-title {
  font-family: 'KabelC', 'Nunito', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--kk-navy);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 32px;
}

.kk-section-title__arrow {
  color: var(--kk-blue);
  font-size: 1.3rem;
}

.kk-btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--kk-yellow);
  color: var(--kk-navy);
  border: none;
  border-radius: 30px;
  padding: 18px 36px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kk-btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 48, 119, 0.2);
}

/* ---------- Hero ---------- */
.kk-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, var(--kk-light-blue) 0%, #f4f9fd 100%);
}

.kk-hero__container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.kk-hero__title {
  font-family: 'KabelC', 'Nunito', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  color: var(--kk-navy);
  margin: 0 0 20px;
}

.kk-hero__title-accent {
  color: var(--kk-blue);
}

.kk-hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #44536e;
  margin: 0 0 22px;
  max-width: 480px;
}

.kk-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.kk-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--kk-navy);
  font-weight: 600;
  font-size: 0.98rem;
}

.kk-hero__badge i {
  color: var(--kk-blue);
}

.kk-hero__photo {
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
}

.kk-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Карточки (используются в двух секциях) ---------- */
.kk-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kk-card {
  background: var(--kk-light-blue);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
}

.kk-card--white {
  background: #fff;
  box-shadow: 0 5px 20px rgba(15, 48, 119, 0.06);
}

.kk-card__icon {
  font-size: 2.2rem;
  color: var(--kk-navy);
  margin-bottom: 18px;
}

.kk-card__title {
  font-family: 'KabelC', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--kk-navy);
  margin: 0 0 8px;
  line-height: 1.3;
}

.kk-card__title--blue {
  color: var(--kk-blue);
  margin-bottom: 0;
}

.kk-card__text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #55617a;
  margin: 0;
}

/* ---------- Призовой фонд ---------- */
.kk-prize {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 48px;
}

.kk-prize__photo {
  width: 280px;
  height: 280px;
  border-radius: 20px;
  flex-shrink: 0;
}

.kk-prize__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kk-prize__badge {
  display: inline-block;
  background: var(--kk-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.kk-prize__amount {
  font-family: 'KabelC', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(5rem, 13vw, 8.5rem);
  color: var(--kk-blue);
  line-height: 1;
}

.kk-prize__label {
  font-family: 'KabelC', 'Nunito', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  color: var(--kk-navy);
  line-height: 1.25;
  margin-top: 10px;
}

/* ---------- Почему это полезно родителям ---------- */
.kk-benefits-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kk-benefit-inline {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.kk-benefit-inline i {
  font-size: 1.6rem;
  color: var(--kk-navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.kk-benefit-inline p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #334057;
}

/* ---------- CTA с талисманом ---------- */
.kk-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.kk-cta__title {
  font-family: 'KabelC', 'Nunito', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--kk-navy);
  line-height: 1.25;
  margin: 0 0 16px;
}

.kk-cta__subtitle {
  font-size: 1rem;
  color: #44536e;
  margin: 0;
}

.kk-cta__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.kk-cta__arrow {
  font-size: 1.6rem;
  color: var(--kk-navy);
  flex-shrink: 0;
}

.kk-cta__mascot {
  position: relative;
  width: 100%;
  max-width: 380px;
  flex-shrink: 1;
  min-width: 0;
}

.kk-cta__mascot img {
  width: 100%;
  height: auto;
  display: block;
}

/* Текст кнопки лежит прямо на жёлтой табличке персонажа (она уже
   нарисована в картинке пустой) — фон не рисуем, только текст поверх. */
.kk-cta__button {
  position: absolute;
  left: 4%;
  top: 36%;
  width: 46%;
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--kk-navy);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(0.85rem, 2.3vw, 1.05rem);
  line-height: 1.2;
  text-align: center;
  padding: 0 6%;
  cursor: pointer;
  transition: transform 0.15s;
}

.kk-cta__button:hover {
  transform: scale(1.04);
}

/* ---------- FAQ ---------- */
.kk-faq {
  columns: 2;
  column-gap: 24px;
}

.kk-faq__item {
  break-inside: avoid;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}

.kk-faq__item summary {
  padding: 20px 24px;
  font-weight: 600;
  color: var(--kk-navy);
  cursor: pointer;
  list-style: none;
  position: relative;
}

.kk-faq__item summary::-webkit-details-marker {
  display: none;
}

.kk-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--kk-blue);
}

.kk-faq__item[open] summary::after {
  content: '\2212';
}

.kk-faq__item div {
  padding: 0 24px 20px;
}

.kk-faq__item p {
  margin: 0;
  color: #55617a;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Ссылка на задания в success-message формы регистрации ---------- */
.success-message .kk-test-link {
  margin-top: 16px;
  text-decoration: none;
}

.success-message.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

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

  .kk-hero__photo {
    order: -1;
    min-height: 240px;
  }

  .kk-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .kk-benefits-inline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kk-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .kk-cta__visual {
    flex-direction: column;
  }

  .kk-cta__arrow {
    transform: rotate(90deg);
  }

  .kk-prize {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 700px) {
  .kk-hero {
    padding: 110px 0 40px;
  }

  .kk-steps {
    grid-template-columns: 1fr;
  }

  .kk-faq {
    columns: 1;
  }

  .kk-btn-yellow {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .kk-section {
    padding: 40px 0;
  }

  .kk-hero__badges {
    flex-direction: column;
    gap: 10px;
  }

  .kk-prize__photo {
    width: 190px;
    height: 190px;
  }
}
