.promo__wrapper {
  display: grid;
  grid-template-columns: 57% 38%;
  gap: 65px;
  align-items: center;
  overflow: hidden;
}

.promo__content {
  padding-bottom: 24px;
}

.promo__title {
  font-family: "EuropeExtBold", sans-serif;
  font-weight: 700;
  font-size: 33px;
  line-height: 120%;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--base-color);
  margin-bottom: 20px;
}

.promo__title strong {
  color: var(--company-color);
}

.promo__title p,
.promo__title h1,
.promo__title h2,
.promo__title h3 {
  margin: 0;
}

.promo__description {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: var(--descriptions-color);
  margin-bottom: 36px;
  max-width: 780px;
}

.promo__description p {
  margin: 0;
  line-height: 1.3;
}

.promo__form {
  max-width: 860px;
  display: grid;
  gap: 12px;
}

.promo__form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 12px;
}

input.promo__phone {
  border: 1px solid var(--descriptions-color);
  background: #fff;
  padding: 20px 25px;
  font-size: 16px;
  color: var(--base-color);
  font-family: "Montserrat", sans-serif;
}

.promo__phone::placeholder {
  color: #7b7b7b;
}

.promo__consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--base-color);
  position: relative;
  padding-left: 35px;
  cursor: pointer;
}

.promo__consent input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.promo__checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  outline: 1px solid var(--base-color);
  background-color: #fff;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Подсвечиваем элемент при наведении курсора */
.promo__consent:hover input ~ .promo__checkmark {
  outline-width: 2px;
}

/* Когда чекбокс активен, меняем цвет */
.promo__consent input:checked ~ .promo__checkmark {
  outline-color: var(--accent-color);
}

/* «Галочка» (скрыта, если чекбокс не выбран) */
.promo__checkmark i {
  opacity: 0;
}

/* Показываем «галочку», если чекбокс выбран */
.promo__consent input:checked ~ .promo__checkmark i {
  opacity: 1;
}

/* Стили «галочки» */
.promo__consent .promo__checkmark i {
  color: var(--accent-color);
}

.promo__media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.promo__media img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1280px) {
  .promo__content {
    display: grid;
    justify-content: center;
  }

  .promo__wrapper {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 20px;
  }

  .promo__title {
    font-size: 34px;
  }

  .promo__description {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .promo__form-row {
    grid-template-columns: 1fr;
  }

  .promo__media {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .promo .promo__wrapper {
    padding: 28px 16px;
    display: flex;
    flex-direction: column-reverse;
  }
  .promo.section{
    margin-top: 0;
  }
  .promo__description p{
    font-size: 14px;
  }

  .promo__title {
    font-size: 20px;
  }

  .promo__phone {
    font-size: 18px;
  }

  .promo__consent {
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.35;
  }
}
