/* Закрывающий экран: плашка даты, карточка и кнопка WhatsApp. */

.kp-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 760px;
  padding: 36px 28px 72px;
  overflow: hidden;
}

.kp-cta__bg {
  position: absolute;
  inset: 0;
}

.kp-cta__bg img {
  object-position: center 30%;
}

.kp-cta__shade {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 28, 0.45);
}

.kp-cta__date {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin: 8px 0 0 max(0px, calc((100% - 980px) / 2));
  padding: 12px 16px;
  border-radius: 4px;
  background: #f7f3ee;
  color: var(--kp-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.kp-cta__card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin: 48px auto 0;
  padding: 36px 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(12, 20, 34, 0.72);
  color: #fff;
}

.kp-cta__h {
  margin-top: 14px;
  color: #fff;
  font-size: 52px;
  line-height: 1;
}

.kp-cta__lead {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.45;
}

.kp-cta__price {
  margin: 18px 0 0;
  color: var(--kp-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kp-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 6px;
  background: #25d366;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.kp-cta__btn:hover {
  background: #1ebe5d;
}

.kp-cta__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.kp-cta__note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 860px) {
  .kp-cta {
    min-height: 0;
    padding: 24px 20px 48px;
  }

  .kp-cta__date {
    margin-left: 0;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .kp-cta__card {
    margin-top: 28px;
    padding: 24px 18px 20px;
  }

  .kp-cta__h {
    font-size: 36px;
  }

  .kp-cta__lead {
    font-size: 16px;
  }
}
