/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Philosopher';
  color: #fff;
  background: linear-gradient(180deg, #000000 0%, #2D3F32 100%);

}

.main {
  position: relative;
  height: 986px;
  background: url("../img/headerBackground.svg") no-repeat;
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

}

/* Контент */
.container {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 auto;
}

.main__container {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  margin-top: 94px;
  margin-bottom: 139px;
}

/* Лого */
.logo-block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 64px;
}

.logo {
  height: 156px;

}

.logo-text {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-align: start;
  margin-left: 19px;
}

/* Заголовок */
.main__title {
 
font-family: 'Philosopher';
font-style: normal;
font-weight: 700;
font-size: 37px;
line-height: 47px;
text-transform: uppercase;
color: #FFFFFF;
margin-bottom: 8px;

}

/* Подзаголовок */
.main__subtitle {
font-family: 'Philosopher';
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 24px;
text-align: center;
color: #FFFFFF;

}


.pricing__container{
}
/* Карточки */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 0fr);
  gap: 28px;
  margin: 0 auto;

}

.pricing-card {

  background: #313436;
  border-radius: 10px;
  padding: 40px 0px 48px 33px;
  text-align: left;
  height: 359px;
  width: 264px;
}

/* Заголовки карточек */
.card-title {
  font-family: 'Philosopher';
  font-style: normal;
  font-weight: 700;
  font-size: 37px;
  line-height: 47px;
  /* or 127% */
  display: flex;
  align-items: center;
  text-transform: uppercase;
  color: #FFFFFF;
  padding-bottom: 20px;

}

/* Блок цен */
.price-block {
  margin-bottom: 15px;
}

.old-price {
  display: block;
  text-decoration: line-through;

  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 29px;
  line-height: 30px;
  align-items: center;
  color: #FFFFFF;
}

.new-price {
  display: block;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-size: 29px;
  line-height: 30px;
  /* or 103% */
  align-items: center;
  padding-bottom: 20px;

  color: #FFFFFF;


}

.custom-price {
  display: block;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 29px;
  line-height: 30px;
  /* or 103% */
  display: flex;
  align-items: center;
  color: #FFFFFF;
  padding-bottom: 20px;




}

/* Таймер */
.card-timer {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  /* or 140% */

  color: #C09651;


}

/* Секция контактов */
.contact-section {
  margin-top: 132px;
  margin-bottom: 174px;
  display: flex;
  align-items: center;
}


/* Основной контент */
.contact__container {
  display: flex;
  gap: 28px;
  align-items: end;
}

/* Фото слева */
.contact-photo {
  display: flex;
  justify-content: center;
  min-width: 327px;
}

.photo-placeholder {
  width: 250px;
  height: 250px;
  background: #3a4b3f;
  border-radius: 50%;
  border: 3px solid #fff;
}

/* Информация справа */
.contact-info {
  max-width: 500px;
}

.person-info {
  margin-bottom: 25px;
}

.person-name {
 font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-size: 29px;
line-height: 26px;
color: #F5F5F5;

}

.person-position {
 /* Директор рекламной службы */

font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-size: 15px;
line-height: 20px;
/* identical to box height, or 133% */

color: #F5F5F5;


}

.invite-text {
  margin-bottom: 10px;
  position: relative;
  background: url('../img/pole.svg') no-repeat center/cover;
  width: 368px;
  height: 79px;
  /* Rectangle 5626 */
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



.invite-line {

  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 6px;
  /* or 33% */
  color: #FFFFFF;
  margin-bottom: 8px;
  z-index: 100;
}

.invite-pole {
  position: absolute;
  top: 10%;
  z-index: 1;
}

/* Форма */
.contact-form {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px 35px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}


.left-content__form {
  padding-top: 48px;
}

.form__input {
  font-size: 14px;
  width: 96%;
  padding: 16px 12px;
  padding-right: 0;
  font-weight: 400;
  margin-bottom: 19px;
  border-radius: 8px;
}

.input--border {

  border: 1px solid #4D9FCC;


}

.left-content__small {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.consent-label {
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 12px;
  line-height: 1.3;
  color: #C09651;
  text-align: left;
  
}

.underline {
  color: inherit;
  text-decoration: underline;
}

.form__block--button {
  font-weight: 300;
  font-size: 20px;
  font-family: 'Roboto';
  /* line-height: 100%; */
  text-align: center;
  color: #fff;
  background: #2D3F32;
  border-radius: 14px;
  padding: 24px 105px;
  margin-top: 26px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

}

.form__block--button:disabled {

  pointer-events: none;
}

input[type="checkbox" i] {
  background-color: initial;
  cursor: default;
  appearance: auto;
  box-sizing: border-box;
  margin: 3px 3px 3px 4px;
  padding: initial;
  border: initial;
}

.footer__container {
  display: flex;
  justify-content: center;
}

/* Адаптация под средние экраны */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .main {
    height: auto;
    padding: 60px 20px;
    background-size: cover;
  }

  .container {
    max-width: 100%;
    padding: 0 16px;
  }

  .logo-block {
    margin-bottom: 40px;
  }

  .logo {
    height: 100px;
  }

  .main__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 10px;
  }

  .main__subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  /* Карточки — одна под другой */
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  .pricing-card {
    width: 90%;
    padding: 30px 20px;
    height: auto;
    text-align: center;
  }

  .card-title {
    font-size: 26px;
    line-height: 34px;
    justify-content: center;
  }

  .old-price,
  .new-price,
  .custom-price {
    font-size: 22px;
    line-height: 26px;
  }

  .card-timer {
    font-size: 14px;
    line-height: 18px;
  }

  /* Блок контакта */
  .contact-section {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .contact__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .contact-photo {
    min-width: auto;
  }

  .contact-photo img {
    width: 280px;
    height: auto;
  }

  .contact-info {
    max-width: 100%;
  }

  .person-name {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .person-position {
    font-size: 14px;
  }

  .invite-text {
    width: 90%;
    height: auto;
    padding: 16px;
    background-size: contain;
    background-position: center;
  }

  .invite-line {
    font-size: 14px;
    line-height: 18px;
  }

  .left-content__form {
    padding-top: 24px;
  }

  .form__input {
    width: 100%;
    font-size: 14px;
    margin-bottom: 14px;
  }

  .left-content__small {
    align-items: flex-start;
    text-align: left;
    font-size: 12px;
    line-height: 1.4;
  }

  .consent-label {
    font-size: 11px;
    line-height: 1.4;
  }

  .form__block--button {
    width: 100%;
    font-size: 16px;
    padding: 18px 0;
    height: auto;
  }

  /* Footer */
  .footer__container {
    flex-direction: column;
    gap: 16px;
  }

  .footer__organisation img {
    width: 220px;
  }
}

/* === Дополнительная адаптация для очень маленьких экранов (до 480px) === */
@media (max-width: 480px) {
  .main__title {
    font-size: 20px;
    line-height: 28px;
  }

  .main__subtitle {
    font-size: 13px;
  }

  .card-title {
    font-size: 22px;
  }

  .old-price,
  .new-price,
  .custom-price {
    font-size: 18px;
  }

  .form__block--button {
    font-size: 15px;
    padding: 16px;
  }
}