html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
  max-width: 100%;
}

:root {
  --gap: 32px;
}

li {
  list-style-type: none;
}

ul {
  display: inline-block;
  margin: 0;
  padding: 0;
}

/* glob */

.page {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  min-width: 320px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
  padding-inline-start: 0;
}

.btn-reset {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.btn {
  background-color: #FF9900;
  padding: 20px 38px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 16px;
}

.flex {
  display: flex;
}

.container {
  width: 1870px;
  max-width: 100%;
  padding: 0 50px;
  margin: 0 auto;
}

.section-title {
  margin: 0;
  font-size: 48px;
  font-weight: 400;
  color: #000;
}

.section-descr {
  margin: 0;
  font-size: 16px;
  line-height: 32px;
  color: #000;
}

.section-offset {
  padding-top: 0;
}

.small-header {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0;
  line-height: 29.26px;
}

.btn--orange,
.stages__btn--orange,
.footer__form-btn {
  color: #FFF;
  padding: 19px 52px;
  font-weight: 700;
  transition: background-color .3s ease-in-out, stroke .3s ease-in-out;
}

.btn--orange:hover,
.stages__btn--orange:hover,
.footer__form-btn:hover {
  background-color: #FFB84D;
}

.btn--orange:focus,
.stages__btn--orange:focus,
.footer__form-btn:focus {
  background-color: #FFB84D;
}

.btn--orange:active,
.stages__btn--orange:active,
.footer__form-btn:active {
  background-color: #E1670E;
}

/* header */
.header {
  padding: 14px 0;
  border-radius: 0 0 32px 32px;
  background-color: #fff;
  filter: drop-shadow(0px 10px 4px #e4e4e4);
  margin-bottom: 45px;
}

.header__container {
  align-items: center;
}

.header__logo {
  margin-right: auto;
}

.header__nav {
  margin-right: 85px;
}

.header__nav-list {
  display: flex;
  gap: 85px;
  align-items: center;
  letter-spacing: 1.21px;
}

.header__nav-link {
  position: relative;
  font-weight: 600;
}

.header__nav-link:focus {
  outline-offset: 5px;
  outline: 2px solid #FF9900;
}

.header__nav-link::before {
  content: "";
  color: #000;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #E1670E;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #E1670E;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.header__nav-link:active::after {
  opacity: 1;
}

.header__nav-link:active {
  color: #E1670E;
  outline: none;
}

.header__nav-link:hover::before {
  opacity: 1;
}

.nav__search-icon svg{
  fill: transparent;
  stroke: #000;
  transition: stroke .3s ease-in-out;
}

.nav__search-icon:hover svg {
  fill: transparent;
  stroke: #FF9900;
}

.nav__search-icon:focus svg {
  fill: transparent;
  stroke: #000;
  outline-offset: 5px;
  outline: 2px solid #FF9900;
}

.nav__search-icon:active svg {
  fill: transparent;
  stroke: #000;
}

/* hero */

.hero__content {
  position: relative;
  background-image: url(../img/hero_pic.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 620px;
  border-radius: 32px;
  margin-bottom: 50px;
}

.hero__content-left {
  width: 837px;
  margin: 100px 80px;
}

.hero__title {
  color: #fff;
  font-size: 70px;
  font-weight: 800;
  padding: 0;
  margin: 0;
  line-height: 85.33px;
}

.hero__descr {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.btn--orange {
  margin-top: 66px;
  padding: 25px 39px;
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  line-height: 29.26px;
}


/* about */

.about__title {
  margin-bottom: 22px;
  line-height: 58.51px;
}

.about__descr {
  width: 1235px;
  line-height: 32px;
}

.about {
  margin-bottom: 50px;
}


/* benefits */

.benefits__content {
  display: flex;
  flex-wrap: wrap;
  --offsets: 1;
  gap: var(--gap);
  margin-bottom: 100px;
}

.benefits__left {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  background-image: url(../img/about_pic.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  width: 50%;
  height: 622px;
  border-radius: 32px;
}

.benefits__left-content {
  position: relative;
  display: flex;
  height: 196px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 32px;
  padding: 50px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.benefits__descr {
  width: 433px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 32px;
}

.benefits__btn {
  background-color: transparent;
  border: 3px solid #FF9900;
  color: #fff;
  font-weight: 700;
  padding: 17px 35px;
  transition: background-color .3s ease-in-out;
}

.benefits__btn:hover {
  background-color: #FF9900;
}

.benefits__btn:focus {
  background-color: #FF9900;
}

.benefits__btn:active {
  background-color: #E1670E;
  border: 3px solid #E1670E;
}

.benefits__right {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  width: 50%;
  justify-content: space-between;
}

.right__card-text {
  width: 510px;
  padding-left: 50px;
}

.right__card-content {
  display: flex;
  width: 100%;
  padding: 64px 59px;
  align-items: center;
  border: 1px solid #CACACA;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.right__card-descr {
  padding: 0;
  margin: 0;
}

/* stages */
.stages__title {
  margin-bottom: 36px;
}

.stages__content {
  justify-content: space-between;
  margin-bottom: 100px;
}

.stages__left {
  width: 40%;
}

.stages__descr {
  margin-bottom: 18px;
  line-height: 32px;
}

.stages__wrapper {
  gap: var(--gap);
}

.stages__btn--orange {
  padding: 20px 38px;
  color: #fff;
  font-weight: 700;
}

.stages__btn--transparent {
  background-color: transparent;
  border: 1px solid #000;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  align-self: end;
  transition: background-color .3s ease-in-out;
}

.stages__btn--transparent:hover {
  border: 1px solid #666;
  background-color: #666;
  color: #FFF;
}

.stages__btn--transparent:focus {
  border: 1px solid #666;
  background-color: #666;
  color: #FFF;
}

.stages__btn--transparent:active {
  background-color: #000;
  color: #FFF;
}

.stages__right {
  margin-top: 7px;
}

.stages__picture {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  border-radius: 32px;
}


/* questions */

.question__title {
  margin-bottom: var(--gap);
}

.questions__list {
  --offsets: 2;
  flex-wrap: wrap;
  gap: var(--gap);
}

.questions__item {
  border: 1px solid #CACACA;
  border-radius: 32px;
  width: calc((100% - (var(--gap) * var(--offsets))) / (var(--offsets) + 1));
  padding: 65px 60px;
}

.questions__item-descr {
  line-height: 32px;
  margin: 0;
}

.questions {
  margin-bottom: 100px;
}

@media (max-width: 1024px) {
  .questions__list {
    --offsets: 0;
  }
}

/* footer */

.footer {
  background-color: #000;
  color: #CACACA;
}

.footer__content {
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 50px;
}

.footer__left {
  margin-right: 315px;
}

.footer__left,
.footer__centre,
.footer__right {
  position: relative;
  flex-direction: column;
}

.footer__logo {
  margin-bottom: 14px;
  padding: 0;
}

.footer__nav-item {
  line-height: 36px;
  font-weight: 600;
  letter-spacing: .08rem;
}

.footer__nav-item .nav__link {
  margin: 0;
  transition: color .3s ease-in-out, stroke .3s ease-in-out;
}

.footer__nav-item .nav__link:hover {
  color: #FF9900;
}

.footer__nav-item .nav__link:focus {
  outline-offset: 5px;
  outline: 2px solid #FF9900;
}

.footer__nav-item .nav__link:active {
  color: #E1670E;
  outline: none;
}

.footer__nav-list {
  margin-bottom: 90px;
}

.footer__social {
  gap: 25px;
}

.footer__social-item {
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
}

.footer__social-item svg {
  fill: #666;
  transition: fill .3s ease-in-out, stroke .3s ease-in-out;
}

.social-link:hover svg {
  fill: #FF9900;
}

.social-link:focus svg {
  outline-offset: 5px;
  outline: 2px solid #FF9900;
}

.social-link:active svg {
  fill: #E1670E;
}

.footer__centre {
  display: flex;
  flex-direction: column;
  width: 570px;
  gap: 25px;
}

.footer__centre-title {
  margin-top: 0;
  color: #CACACA;
}

.footer__form-content {
  display: grid;
  gap: 25px;
}

.footer__form-input {
  color: #CACACA;
  background-color: #414141;
  border-radius: 16px;
  box-sizing: border-box;
  border: none;
  padding: 14px 24px;
  width: 100%;
  height: 60px;
  transition: background-color .3s ease-in-out, border-color .3s;
}

.footer__form-input:hover {
  outline: none;
  background-color: #666;
}

.footer__form-input:focus {
  outline: none;
  color: #CACACA;
}

.footer__form-input:active {
  outline: none;
}

.footer__form-textarea {
  color: #CACACA;
  background-color: #414141;
  box-sizing: border-box;
  border: none;
  border-radius: 16px;
  resize: none;
  padding: 14px 24px;
  width: 100%;
  height: 150px;
  margin-bottom: 8px;
  transition: background-color .3s ease-in-out, border-color .3s;
}

.footer__form-textarea:hover {
  outline: none;
  background-color: #666;
}

.footer__form-textarea:focus {
  outline: none;
  color: #CACACA;
}

.footer__form-textarea:active {
  outline: none;
  color: #CACACA;
}

.footer__form-wrapper {
  align-items: center;
}

.footer__form-checkbox {
  user-select: none;
  cursor: pointer;
  margin-left: 22px;
}

.footer__checkbox-input {
  position: absolute;
  appearance: none;
}

.checkbox-text {
  position: relative;
  padding-left: 20px;
}

.checkbox-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 1px solid #CACACA;
  transform: translateY(-50%);
}

.checkbox-text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  background-image: url(../img/check.svg);
  background-position: center;
  background-size: 70%;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.footer__checkbox-input:checked + .checkbox-text::after {
  opacity: 1;
}

.footer__right {
  display: flex;
  width: 363px;
  margin-left: 200px;
  justify-content: center;
}

.footer__right-descr {
  line-height: 32px;
}

.benefits__secret-content {
  display: none;
}


