/* =============================================
   ПРОГРАММЫ ЛОЯЛЬНОСТИ — hero, переключатель вкладок, промо-блоки,
   сетки преимуществ, лестница баллов, шаги, отзывы, модалка мессенджеров.
   Использует KabelC для крупных заголовков (как на остальном сайте) и
   палитру --ly-blue/--ly-dark-blue/--ly-yellow, близкую к бренд-цветам.
   ============================================= */

:root {
  --ly-blue: #1189bf;
  --ly-dark-blue: #0f3077;
  --ly-yellow: #fdbd24;
  --ly-light-blue: #eaf4fb;
  --ly-light-blue-2: #d7ebf7;
}

.container {
  max-width: 1200px;
}

/* ---------- Hero ---------- */
.ly-hero {
  padding: 130px 0 50px;
  background: linear-gradient(180deg, #eaf4fb 0%, #f7fbff 100%);
  overflow: hidden;
}

.ly-hero__container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(20px, 4vw, 50px);
  align-items: center;
}

.ly-hero__eyebrow {
  color: #333;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.ly-hero__title {
  font-family: 'KabelC', system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  color: var(--ly-dark-blue);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

.ly-hero__subtitle {
  font-size: 1.1rem;
  color: #1f2937;
  line-height: 1.5;
  max-width: 480px;
  margin: 0;
}

.ly-hero__swoosh {
  display: block;
  inline-size: 130px;
  block-size: 14px;
  margin-top: 1.2rem;
  border-bottom: 6px solid var(--ly-yellow);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.ly-hero__photo {
  position: relative;
}

.ly-hero__photo img {
  inline-size: 100%;
  block-size: clamp(260px, 32vw, 400px);
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.ly-hero__badge {
  position: absolute;
  top: -34px;
  right: -18px;
  inline-size: 150px;
  block-size: 150px;
  border-radius: 50%;
  background: #cfe6f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  color: var(--ly-dark-blue);
  padding: 10px;
  box-sizing: border-box;
  line-height: 1.35;
}

.ly-hero__badge strong {
  margin-top: 2px;
}

/* ---------- Переключатель программ ---------- */
.ly-tabs {
  display: flex;
  background: var(--ly-light-blue-2);
  border-radius: 60px;
  padding: 6px;
  margin: 30px auto 40px;
  max-inline-size: 900px;
  gap: 4px;
}

.ly-tabs__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ly-dark-blue);
  font-weight: 800;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  text-transform: uppercase;
  padding: 16px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1.2;
}

.ly-tabs__btn i {
  font-size: 1.1em;
}

.ly-tabs__btn.is-active {
  background: var(--ly-dark-blue);
  color: #fff;
}

/* ---------- Промо-блок вкладки ---------- */
.ly-promo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  background: var(--ly-light-blue);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  margin-bottom: 50px;
}

.ly-promo__eyebrow {
  color: var(--ly-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
}

.ly-promo__title {
  font-family: 'KabelC', system-ui, -apple-system, sans-serif;
  color: var(--ly-dark-blue);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.ly-promo__accent {
  color: var(--ly-blue);
}

.ly-promo__desc {
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 440px;
  margin: 0 0 1.6rem;
}

.ly-promo__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-block-size: 220px;
}

.ly-promo__image {
  max-inline-size: 100%;
  block-size: auto;
  position: relative;
  z-index: 1;
}

.ly-promo__watermark {
  position: absolute;
  top: 6%;
  right: 4%;
  color: rgba(15, 48, 119, 0.18);
  font-weight: 700;
  font-size: 0.85rem;
  transform: rotate(10deg);
  text-align: right;
  line-height: 1.3;
}

.ly-promo__crown {
  position: absolute;
  top: 8%;
  left: 38%;
  color: var(--ly-blue);
  font-size: 1.6rem;
  opacity: 0.7;
}

/* ---------- Кнопки ---------- */
.ly-btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  appearance: none;
  cursor: pointer;
  border: none;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ly-yellow), #fdbd24);
  color: #1f2937;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.9em 1.8em;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(253, 189, 36, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ly-btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(253, 189, 36, 0.5);
}

.ly-btn-send {
  appearance: none;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, var(--ly-blue), var(--ly-dark-blue));
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1em 2em;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(15, 48, 119, 0.3);
  transition: transform 0.2s ease;
}

.ly-btn-send:hover {
  transform: translateY(-2px);
}

/* ---------- Заголовки секций ---------- */
.ly-section-title {
  font-family: 'KabelC', system-ui, -apple-system, sans-serif;
  color: var(--ly-dark-blue);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ly-section-title__arrow {
  color: var(--ly-blue);
  font-weight: 400;
}

.ly-section-subtitle {
  color: #555;
  margin: 0 0 1.6rem;
  font-size: 1rem;
}

/* ---------- Сетка преимуществ ---------- */
.ly-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.ly-benefit {
  border: 2px solid var(--ly-blue);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
}

.ly-benefit__icon {
  inline-size: 64px;
  block-size: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.ly-benefit__icon--blue {
  background: var(--ly-blue);
  color: #fff;
}

.ly-benefit__icon--yellow {
  background: var(--ly-yellow);
  color: var(--ly-dark-blue);
}

.ly-benefit__icon--outline {
  background: #fff;
  border: 2px solid var(--ly-blue);
  color: var(--ly-blue);
}

.ly-benefit h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--ly-dark-blue);
  font-size: 1.02rem;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.3;
}

.ly-benefit p {
  color: #555;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}

/* ---------- CTA-баннер ---------- */
.ly-cta-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--ly-light-blue);
  border-radius: 24px;
  padding: 24px 32px;
  margin-bottom: 50px;
}

.ly-cta-banner p {
  color: #333;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

.ly-cta-banner__divider {
  inline-size: 2px;
  block-size: 40px;
  background: #c3d9e8;
}

.ly-cta-banner--magnets {
  flex-wrap: wrap;
}

.ly-cta-banner__label {
  color: #8a97a3;
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0;
}

.ly-cta-banner__magnets {
  display: flex;
  gap: 14px;
  margin-left: auto;
}

.ly-cta-banner__magnets img {
  block-size: 90px;
  inline-size: auto;
}

.ly-cta-banner--dark {
  background: var(--ly-light-blue);
  justify-content: center;
}

/* ---------- Лестница баллов (амбассадор) ---------- */
.ly-ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}

.ly-ladder__step {
  position: relative;
  background: var(--ly-light-blue-2);
  border-radius: 18px;
  padding: 18px 18px 22px;
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ly-ladder__step:nth-child(1) { align-self: end; }
.ly-ladder__step:nth-child(2) { align-self: end; padding-block-start: 34px; }
.ly-ladder__step:nth-child(3) { align-self: end; padding-block-start: 50px; background: var(--ly-blue); color: #fff; }
.ly-ladder__step:nth-child(4) { align-self: end; padding-block-start: 66px; background: var(--ly-dark-blue); color: #fff; }

.ly-ladder__step:nth-child(3) h4,
.ly-ladder__step:nth-child(4) h4 {
  color: #fff;
}

.ly-ladder__step:nth-child(3) p,
.ly-ladder__step:nth-child(4) p {
  color: rgba(255, 255, 255, 0.85);
}

.ly-ladder__badge {
  display: inline-block;
  background: var(--ly-yellow);
  color: var(--ly-dark-blue);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.ly-ladder__step h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--ly-dark-blue);
  font-size: 1rem;
  margin: 0 0 8px;
}

.ly-ladder__step p {
  color: #444;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.ly-ladder__step ol {
  color: #444;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 6px 0 0;
  padding-left: 18px;
}

.ly-ladder__step:nth-child(3) ol,
.ly-ladder__step:nth-child(4) ol {
  color: rgba(255, 255, 255, 0.85);
}

.ly-ladder__step:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 48, 119, 0.18);
}

/* ---------- За что начисляются баллы ---------- */
.ly-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.ly-points-card {
  background: var(--ly-light-blue);
  border-radius: 20px;
  padding: 24px 22px;
}

.ly-points-card h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--ly-dark-blue);
  font-size: 1rem;
  margin: 0 0 14px;
  line-height: 1.35;
}

.ly-points-card h4 span {
  display: block;
  font-family: inherit;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ly-blue);
  text-transform: none;
  margin-top: 2px;
}

.ly-points-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ly-points-card li {
  color: #444;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ly-points-badge {
  display: inline-block;
  background: var(--ly-yellow);
  color: var(--ly-dark-blue);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 0 8px 4px 0;
}

.ly-points-note {
  color: #8a97a3;
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0 0 50px;
}

/* ---------- Задание этого месяца ---------- */
.ly-month-task {
  background: linear-gradient(135deg, var(--ly-blue), var(--ly-dark-blue));
  border-radius: 24px;
  padding: 32px 28px;
  color: #fff;
  margin-bottom: 40px;
}

.ly-month-task__header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ly-month-task__badge {
  display: inline-block;
  background: var(--ly-yellow);
  color: var(--ly-dark-blue);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}

.ly-month-task__theme {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  margin: 0;
  color: #fff;
}

.ly-month-task__parent {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 22px;
}

.ly-month-task__formats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.ly-month-task__format {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 18px;
}

.ly-month-task__format .ly-points-badge {
  margin-bottom: 8px;
}

.ly-month-task__format p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.ly-month-task__extra {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ly-month-task__extra p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.ly-month-task__extra strong {
  color: #fff;
}

/* ---------- Шаги "Как это работает" (реферальная) ---------- */
.ly-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  position: relative;
}

.ly-steps__item h4 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  color: var(--ly-dark-blue);
  font-size: 1.02rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.ly-steps__item h4 i {
  color: var(--ly-blue);
  margin-top: 3px;
}

.ly-steps__item p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  padding-left: 24px;
}

/* ---------- Отзывы (бонусная) ---------- */
.ly-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.ly-reviews__city {
  background: var(--ly-light-blue);
  border-radius: 20px;
  padding: 24px;
}

.ly-reviews__label {
  display: inline-block;
  background: var(--ly-yellow);
  color: var(--ly-dark-blue);
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.ly-reviews__links {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.ly-reviews__link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 700;
  transition: transform 0.15s ease;
}

.ly-reviews__link:hover {
  transform: translateY(-2px);
}

.ly-reviews__ya {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 22px;
  block-size: 22px;
  border-radius: 50%;
  background: #ff3333;
  color: #fff;
  font-style: normal;
  font-weight: 800;
  font-size: 0.85rem;
}

.ly-reviews__link .fa-map-marker-alt {
  color: var(--ly-blue);
}

.ly-reviews__hint {
  color: #8a97a3;
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
}

/* ---------- Модалка выбора мессенджера ---------- */
.ly-messenger-modal {
  max-width: 480px;
}

.ly-messenger-modal__city {
  margin-bottom: 20px;
}

.ly-messenger-modal__city h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--ly-dark-blue);
  font-size: 1rem;
  margin: 0 0 10px;
}

.ly-messenger-modal__icons {
  display: flex;
  gap: 14px;
}

.ly-messenger-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  block-size: 56px;
  border-radius: 16px;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.ly-messenger-icon:hover {
  transform: translateY(-2px);
}

.ly-messenger-icon svg {
  inline-size: 26px;
  block-size: 26px;
  fill: #fff;
}

.ly-messenger-icon--whatsapp {
  background: #25d366;
}

.ly-messenger-icon--telegram {
  background: #29a9eb;
}

.ly-messenger-icon--max {
  background: #ff9e40;
}

.ly-messenger-modal__note {
  min-block-size: 1.2em;
  color: var(--ly-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  margin: 4px 0 0;
}

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

  .ly-hero__photo {
    order: -1;
  }

  .ly-promo {
    grid-template-columns: 1fr;
  }

  .ly-promo__visual {
    order: -1;
  }

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

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

  .ly-ladder__step:nth-child(n) {
    padding-block-start: 18px;
  }

  .ly-reviews {
    grid-template-columns: 1fr;
  }
}

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

  .ly-tabs {
    flex-direction: column;
    border-radius: 24px;
  }

  .ly-tabs__btn {
    justify-content: flex-start;
    padding: 14px 18px;
  }

  .ly-benefits,
  .ly-steps,
  .ly-ladder {
    grid-template-columns: 1fr;
  }

  .ly-cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .ly-cta-banner__divider {
    display: none;
  }

  .ly-cta-banner__magnets {
    margin-left: 0;
  }

  .ly-messenger-modal__icons {
    gap: 10px;
  }
}
