:root {
  --brand-pure-white: #FFFFFF;
  --brand-black: #131313;
  --brand-default-violet: #595883;
  --brand-bright-violet: #544593;
  --brand-light-violet: #B8B7D9;
  --brand-navy: #181742;
  --brand-navy-rgb: 24, 23, 66;
  --brand-green: #98BA76;
  --brand-violet-new: #595880;
  --brand-violet-new-rgb: 89, 88, 128;
  --brand-pink: #D1C3D3;
  --accent-pink: #E986AF;
  --accent-dark-purple: #9493BB;
  --badge: #F5F5FC;
  --badge-rgb: 245, 245, 252;
  --text-subtext: #6F83B6;
  --border-default: #E5E5FF;
  --border-dark: #696899;
  --inactivation: #9493BB;
  --header-height: 76px;
  --font-family: 'Montserrat', sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.5;
  --border-radius: 0.25rem;
  --border-radius-lg: 0.3rem;
  --border-radius-sm: 0.2rem;
  --border-radius-button: 90px;
  --border-radius-header-button: 8px;
}

.home-hero {
  background: url("../img/home-hero.webp") no-repeat right/cover;
}
@media screen and (max-width: 1124px) {
  .home-hero {
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 85.51%), url("../img/home-hero.webp") no-repeat right/cover;
  }
}
@media screen and (max-width: 534px) {
  .home-hero {
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 85.51%), url("../img/home-hero.webp") no-repeat;
    background-position: 70% 100%;
    background-size: auto 100%;
  }
}
.home-hero__wrapper {
  min-height: 820px;
  color: var(--brand-pure-white);
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: auto;
}
@media screen and (max-width: 1124px) {
  .home-hero__wrapper {
    min-height: 713px;
    grid-template-columns: 11fr 12fr;
  }
}
@media screen and (max-width: 768px) {
  .home-hero__wrapper {
    grid-template-columns: 28fr 12fr;
  }
}
@media screen and (max-width: 534px) {
  .home-hero__wrapper {
    grid-template-columns: 1fr;
    padding: 0 12px;
  }
}
.home-hero__text-block {
  align-content: center;
  height: 100%;
}
.home-hero__title {
  font-weight: 500;
  font-size: 54px;
  letter-spacing: -2.5%;
  margin-bottom: 28px;
}
@media screen and (max-width: 1360px) {
  .home-hero__title {
    font-size: 48px;
  }
}
@media screen and (max-width: 1124px) {
  .home-hero__title {
    font-size: 42px;
  }
}
.home-hero__badge {
  font-weight: 500;
  font-size: 18px;
  line-height: 125%;
  letter-spacing: -2.5%;
  text-transform: uppercase;
  margin-bottom: 6px;
}
@media screen and (max-width: 1360px) {
  .home-hero__badge {
    font-size: 17px;
  }
}
@media screen and (max-width: 1124px) {
  .home-hero__badge {
    font-size: 16px;
  }
}
.home-hero__subtitle {
  font-weight: 500;
  font-size: 16px;
  line-height: 125%;
  letter-spacing: -2.5%;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 52px;
}
@media screen and (max-width: 1360px) {
  .home-hero__subtitle {
    font-size: 15px;
  }
}
@media screen and (max-width: 1124px) {
  .home-hero__subtitle {
    font-size: 14px;
  }
}
.home-hero__cta a {
  display: inline-block;
}

.offer__wrapper {
  position: relative;
  transform: translateY(-50%);
  z-index: 2;
  height: 258;
  padding: 48px 42px;
  border-radius: 24px;
  box-shadow: 0px 12px 10px 0px rgba(24, 23, 66, 0.0588235294);
  background-color: var(--brand-pure-white);
}
@media screen and (max-width: 1124px) {
  .offer__wrapper {
    transform: translateY(-20%);
  }
}
.offer__title {
  margin-bottom: 8px;
}
.offer__subtext {
  margin-bottom: 42px;
}
@media screen and (max-width: 1124px) {
  .offer__title, .offer__subtext {
    text-align: center;
  }
}
.offer__form {
  display: flex;
  gap: 42px;
}
@media screen and (max-width: 1360px) {
  .offer__form {
    gap: 32px;
  }
}
@media screen and (max-width: 1124px) {
  .offer__form {
    flex-direction: column;
  }
}
.offer__submit {
  white-space: nowrap;
  margin-left: auto;
}
@media screen and (max-width: 1360px) {
  .offer__submit {
    white-space: wrap;
  }
}
@media screen and (max-width: 1124px) {
  .offer__submit {
    margin-top: 20px;
    width: 100%;
  }
}

.serving {
  padding-top: 60px;
  padding-bottom: 180px;
}
@media screen and (max-width: 1124px) {
  .serving {
    padding-top: 30px;
    padding-bottom: 150px;
  }
}
.serving__wrapper {
  display: grid;
  align-items: center;
  grid-template-rows: auto;
  grid-template-columns: 2fr 3fr;
  gap: 72px;
}
@media screen and (max-width: 1124px) {
  .serving__wrapper {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
  }
}
.serving__badge {
  display: block;
  margin-bottom: 6px;
}
.serving__title {
  margin-bottom: 24px;
}
.serving__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  -moz-column-gap: 14px;
       column-gap: 14px;
  row-gap: 24px;
}
@media screen and (max-width: 1124px) {
  .serving__list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.advantages {
  padding: 180px 0;
  background: var(--brand-black);
}
@media screen and (max-width: 1124px) {
  .advantages {
    padding: 150px 0;
  }
}
.advantages__header {
  text-align: center;
  margin-bottom: 72px;
}
.advantages__badge {
  display: block;
  margin-bottom: 6px;
}
.advantages__list {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 24px;
       column-gap: 24px;
  row-gap: 52px;
  flex-wrap: wrap;
}
@media screen and (max-width: 1124px) {
  .advantages__list {
    justify-content: center;
  }
}

.advantages-card {
  width: 228.8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media screen and (max-width: 768px) {
  .advantages-card {
    width: 100%;
  }
}
.advantages-card__number {
  font-weight: 500;
  font-size: 72px;
  letter-spacing: -2.5%;
  color: rgba(var(--badge-rgb), 0.1);
}
.advantages-card__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  letter-spacing: -2.5%;
  color: var(--badge);
}

.promo {
  padding: 136px 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%), url("../img/banner.webp") no-repeat center/cover;
  height: 520px;
}
@media screen and (max-width: 768px) {
  .promo {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%), url("../img/banner.webp") no-repeat;
    background-position: 70% 100%;
    background-size: auto 100%;
  }
}
.promo__body {
  max-width: 600px;
}
@media screen and (max-width: 1124px) {
  .promo__body {
    max-width: 327px;
  }
}
.promo__badge {
  display: block;
  margin-bottom: 6px;
}
.promo__title {
  margin-bottom: 52px;
}
.promo__stars {
  margin-bottom: 14px;
}
.promo__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  letter-spacing: -2.5%;
  color: var(--badge);
  width: 70%;
}
@media screen and (max-width: 1124px) {
  .promo__text {
    width: 95%;
  }
}

.work {
  overflow: hidden;
  padding: 180px 0;
}
@media screen and (max-width: 1124px) {
  .work {
    padding: 150px 0;
  }
}
.work__header {
  text-align: center;
  margin-bottom: 72px;
}
.work__badge {
  display: block;
  margin-bottom: 6px;
}
.work__list {
  display: flex;
  justify-content: center;
  -moz-column-gap: 14px;
       column-gap: 14px;
  row-gap: 24px;
}
@media screen and (max-width: 1360px) {
  .work__list {
    flex-wrap: wrap;
  }
}
.work__list .work-card {
  min-width: 299px;
  max-width: 327px;
}

.questions__wrapper {
  display: grid;
  grid-template-columns: 500fr 640fr;
  grid-template-rows: auto;
  align-items: center;
  gap: 100px;
}
@media screen and (max-width: 1360px) {
  .questions__wrapper {
    gap: 30px;
  }
}
@media screen and (max-width: 1124px) {
  .questions__wrapper {
    grid-template-columns: 1fr;
    gap: 100px;
  }
}
@media screen and (max-width: 1124px) {
  .questions__header {
    text-align: center;
  }
}
.questions__badge {
  display: block;
  margin-bottom: 6px;
}
.questions__title {
  margin-bottom: 24px;
}
.questions__form {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-default);
  border-radius: 14px;
  padding: 24px;
}
.questions__form .form__row {
  margin-bottom: 42px;
}
@media screen and (max-width: 1124px) {
  .questions__form .form__row {
    margin-bottom: 32px;
  }
}
@media screen and (max-width: 768px) {
  .questions__form .form__row {
    flex-direction: column;
  }
}
.questions__form p {
  margin-bottom: 10px;
}
.questions__form-text {
  font-weight: 500;
  font-size: 13px;
  line-height: 125%;
  letter-spacing: -2.5%;
  color: var(--border-dark);
}
.questions__radio-buttons {
  display: flex;
  -moz-column-gap: 14px;
       column-gap: 14px;
  row-gap: 8px;
  margin-bottom: 72px;
}
.questions__radio-buttons .form__radio-group {
  width: 100%;
}
.questions__radio-buttons .form__radio-group label {
  text-align: center;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .questions__radio-buttons {
    flex-direction: column;
  }
  .questions__radio-buttons .form__radio-group {
    width: 100%;
  }
  .questions__radio-buttons .form__radio-group label {
    justify-content: start;
  }
}
.questions__submit {
  align-self: flex-start;
}
@media screen and (max-width: 768px) {
  .questions__submit {
    align-self: stretch;
  }
}

.test-order {
  position: relative;
  overflow: hidden;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
}
.test-order__back {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.test-order__back img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.test-order__badge {
  display: block;
  margin-bottom: 6px;
  text-align: center;
}
.test-order__title {
  text-align: center;
  margin-bottom: 14px;
}
.test-order__text {
  text-align: center;
  margin-bottom: 72px;
}
.test-order__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
@media screen and (max-width: 534px) {
  .test-order__buttons {
    flex-direction: column;
  }
  .test-order__buttons button, .test-order__buttons a {
    width: 100%;
  }
}