/* FONTS */
@font-face {
  font-family: "Montserrat";
  src: local("Montserrat-Regular"),
    url("../fonts/MontserratRegular.woff2") format("woff2"),
    url("../fonts/MontserratRegular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat-SemiBold"),
    url("../fonts/MontserratSemiBold.woff2") format("woff2"),
    url("../fonts/MontserratSemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat-Bold"),
    url("../fonts/MontserratBold.woff2") format("woff2"),
    url("../fonts/MontserratBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat-ExtraBold"),
    url("../fonts/MontserratExtraBold.woff2") format("woff2"),
    url("../fonts/MontserratExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* glob */
html {
  box-sizing: border-box;
}

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

:root {
  --black-color: #000;
  --white-color: #fff;
  --hover-color: #FFB84D;
  --orange-color: #FF9900;
  --darkorange-color: #E1670E;
  --grey-color: #CACACA;
  --darkgrey-color: #666;
}

img {
  max-width: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
}

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

.container {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1800px;
}

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

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

.btn {
  border-radius: 16px;
  color: var(--white-color);
  background-color: var(--orange-color);
}

.flex {
  display: flex;
}

/* heder */
.header {
  margin-bottom: 50px;
  border-radius: 0px 0px 32px 32px;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0px 5px 40px rgba(0, 0, 0, 0.1);
}

.header__container {
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.nav__list {
  margin-right: 260px;
}

.nav__item:not(:last-child) {
  margin-right: 85px;
}

.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: var(--black-color);
}

.nav__link:focus {
  outline-offset: 3px;
  outline: 2px solid var(--orange-color);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background-color: var(--orange-color);
  opacity: 0;
}

.nav__link:hover::after {
  opacity: 1;
}

.nav__link:active {
  outline: none;
  color: var(--darkorange-color);
}

.nav__link:active::after {
  background-color: var(--darkorange-color);
  opacity: 1;
}


.header__btn {
  width: 25px;
  height: 25px;
}

.header__btn svg {
  stroke: var(--black-color);
}

.header__btn svg rect {
  fill: var(--black-color);
}

.header__btn:focus {
  outline-offset: 2px;
  outline: 2px solid var(--orange-color);
}

.header__btn:hover svg {
  stroke: var(--orange-color);
}

.header__btn:hover svg rect {
  fill: var(--orange-color);
}

.header__btn:active {
  outline: none;
}

.header__btn:active svg {
  stroke: var(--orange-color);
}

.header__btn:active svg rect {
  fill: var(--orange-color);
}

.search__content {
  position: relative;
}

.header__search {
  position: absolute;
  top: -65%;
  right: -7px;
  align-items: center;
  padding: 16px 13px 16px 32px;
  border-radius: 24px;
  background-color: var(--white-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.12);
  visibility: hidden;
  transform: scale(0);
  transform-origin: right;
  transition: visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.header__search--active {
  visibility: visible;
  transform: none;
}

.header__input {
  margin-right: 14px;
  padding-bottom: 5px;
  border: none;
  border-bottom: solid 1px var(--grey-color);
  width: 412px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
}

.header__btn--active {
  margin-bottom: 20px;
}

.header__search .header__btn {
  margin-right: 20px;
}

.closed-search:focus {
  outline-offset: 2px;
  outline: 2px solid var(--orange-color);
}

.closed-search:hover svg rect {
  fill: var(--orange-color);
}

.closed-search:hover svg circle {
  stroke: var(--orange-color);
}

.closed-search:active svg rect {
  fill: var(--black-color);
}

.closed-search:active svg circle {
  stroke: var(--black-color);
}

/* HERO */
.hero {
  margin-bottom: 50px;
}

.swiper-wrapper .swiper-slide {
  height: 620px;
  border-radius: 32px;
}

.swiper-wrapper .swiper-slide:nth-child(1) {
  background-image: url(../img/hero_slide1_1920.jpg);
}

.swiper-wrapper .swiper-slide:nth-child(2) {
  background-image: url(../img/hero_slide2_1920.jpg);
}

.swiper-wrapper .swiper-slide:nth-child(3) {
  background-image: url(../img/hero_slide3_1920.jpg);
}

.swiper-pagination {
  z-index: 200;
}

.swiper-pagination-bullet {
  background: #CACACA;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #fff;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 10px 16px 10px;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
}

.hero__container {
  position: relative;
}

.hero__content {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  flex-direction: column;
  padding: 100px 80px;
  border-radius: 32px;
  height: 620px;
  width: 100%;
}

.hero__title {
  margin: 0;
  margin-bottom: 24px;
  width: 60%;
  font-weight: 800;
  font-size: 70px;
  line-height: 85px;
  color: var(--white-color);
}

.hero__descr {
  margin: 0;
  margin-bottom: auto;
  width: 50%;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: var(--white-color);
}

.hero__btn {
  padding: 25px 39px;
  width: 280px;
  font-weight: 700;
  font-size: 23px;
  line-height: 28px;
}

.hero__btn:focus {
  background-color: var(--hover-color);
}

.hero__btn:hover {
  background-color: var(--hover-color);
}

.hero__btn:active {
  background-color: var(--darkorange-color);
}

/* about-us */
.about-us {
  margin-bottom: 100px;
}

.section-title {
  margin: 0;
  font-weight: 400;
  font-size: 48px;
  line-height: 59px;
  color: var(--black-color);
}

.about-us__title {
  margin-bottom: 20px;
}

.descr {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: var(--black-color);
}

.about-us__descr {
  margin-bottom: 50px;
  max-width: 70%;
}

.about-us__content {
  justify-content: space-between;
}

.about-us__left {
  width: calc((100% - 32px) / 2);
  height: 622px;
  border-radius: 32px;
  background-image: url(../img/about-us_back.jpg);
  background-repeat: no-repeat;
}

.about-us__iner {
  align-items: center;
  margin-top: auto;
  padding: 50px;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.5);
}

.about-us__text {
  width: 58%;
  font-weight: 700;
  color: var(--white-color);
}

.about-us__btn {
  margin-left: auto;
  padding: 17px 35px;
  border: 3px solid var(--orange-color);
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: var(--white-color);
}

.about-us__btn:focus {
  background-color: var(--orange-color);
}

.about-us__btn:hover {
  background-color: var(--orange-color);
}

.about-us__btn:active {
  border-color: var(--darkorange-color);
  background-color: var(--darkorange-color);
}

.about-us__right {
  flex-direction: column;
  justify-content: space-between;
  width: calc((100% - 32px) / 2);
}

.card {
  padding: 65px 115px 65px 298px;
  height: 295px;
  border: 1px solid #CACACA;
  border-radius: 32px;
  background-repeat: no-repeat;
  background-position: 59px center;
}

.about-us__card1 {
  background-image: url(../img/card_back1.svg);
}

.about-us__card2 {
  background-image: url(../img/card_back2.svg);
}

.card__title {
  margin: 0;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: var(--black-color);
}

/* how */
.how {
  margin-bottom: 108px;
}

.how__title {
  margin-bottom: 50px;
}

.how__item:not(:last-child) {
  margin-right: 86px;
}

.how__list {
  margin-bottom: 45px;
}

.how__btn {
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: var(--black-color);
}

.how__btn:focus {
  outline-offset: 3px;
  outline: 2px solid var(--orange-color);
}

.how__btn:hover {
  color: var(--orange-color);
}

.how__btn:active {
  outline: none;
  color: var(--darkorange-color);
}

.how__content {
  justify-content: space-between;
  align-items: flex-start;
}

.how__left,
.how__right {
  width: calc((100% - 30px) / 2);
}

.left__title {
  margin: 0;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--black-color);
}

.left__descr,
.left__descr2 {
  width: 87%;
}

.left__descr2 {
  margin-bottom: 17px;
}

.left__btn {
  margin-right: 28px;
  padding: 20px 38px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}

.left__btn:focus {
  background-color: var(--hover-color);
}

.left__btn:hover {
  background-color: var(--hover-color);
}

.left__btn:active {
  background-color: var(--darkorange-color);
}

.left__btn2 {
  padding: 20px 38px;
  border: 1px solid var(--black-color);
  border-radius: 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

.left__btn2:focus {
  border-color: var(--darkgrey-color);
  color: var(--white-color);
  background-color: var(--darkgrey-color);
}

.left__btn2:hover {
  border-color: var(--darkgrey-color);
  color: var(--white-color);
  background-color: var(--darkgrey-color);
}

.left__btn2:active {
  border-color: var(--black-color);
  color: var(--white-color);
  background-color: var(--black-color);
}

.how__right {
  padding-top: 10px;
}

.how__btn--active {
  color: #E1670E;
}

.how-tabs__item {
  display: none;
}

.how-tabs__item--active {
  display: block;
}

/* questions */
.questions {
  margin-bottom: 99px;
}

.questions__title {
  margin-bottom: 32px;
}

.ac {
  margin-top: 0;
  border: none;
}

.questions__item {
  align-items: center;
  position: relative;
  margin-bottom: -1px;
  padding: 29px 0;
  border-top: solid 1px var(--grey-color);
  border-bottom: solid 1px var(--grey-color);
  cursor: pointer;
}

.questions__item svg {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translate(0, -50%);
  transition: transform 0.3s ease-in-out;
}

.questions__item svg ellipse {
  fill: var(--grey-color);
}

.questions__item svg path {
  fill: var(--black-color);
}

.ac .ac-trigger:focus {
  z-index: 10;
  border-color: var(--orange-color);
}

.ac .ac-trigger:focus {
  color: var(--darkorange-color);
}

.questions__item:focus svg ellipse {
  fill: var(--orange-color);
}

.questions__item:focus svg path {
  fill: var(--white-color);
}

.questions__item:hover {
  z-index: 10;
  border-color: var(--orange-color);
}

.ac .ac-trigger:hover {
  color: var(--darkorange-color);
}

.questions__item:hover svg ellipse {
  fill: var(--orange-color);
}

.questions__item:hover svg path {
  fill: var(--white-color);
}

.questions__item:active {
  z-index: 10;
  border-color: var(--grey-color);
}

.questions__item:active h3 {
  color: var(--black-color);
}

.questions__item:active svg ellipse {
  fill: var(--grey-color);
}

.questions__item:active svg path {
  fill: var(--black-color);
}

.questions__item:active .ac-trigger svg {
  transform: translate(0, -50%) rotate(45deg);
}

.questions__subtitle .ac-trigger {
  margin: 0;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--black-color);
}

.ac .ac-trigger {
  padding-left: 0;
}

.ac .ac-trigger::after {
  content: none;
}

.ac.is-active>.ac-header .ac-trigger::after {
  content: none;
}

.ac.is-active svg {
  transform: translate(0, -50%) rotate(45deg);
  transition: transform 0.3s ease-in-out;
}

.ac-panel__descr {
  padding-top: 20px;
  padding-bottom: 10px;
  max-width: 57%;
}

/* footer */
.footer {
  background-color: var(--black-color);
}

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

.footer__left {
  flex-direction: column;
  width: calc((100% - (30px *2)) / 3);
}

.footer__center {
  width: calc((100% - (30px *2)) / 3);
}

.footer__right {
  align-self: center;
  padding-left: 207px;
  width: calc((100% - (30px *2)) / 3);
}

.footer__logo {
  margin-bottom: 15px;
}

.footer__link {
  font-weight: 600;
  font-size: 18px;
  line-height: 36px;
  color: var(--grey-color);
}

.footer__link:focus {
  outline-offset: 3px;
  outline: solid 2px var(--orange-color);
}

.footer__link:hover {
  color: var(--orange-color);
}

.footer__link:active {
  outline: none;
  color: var(--darkorange-color);
}

.footer__social {
  margin-top: auto;
}

.social__item {
  width: 60px;
  height: 60px;
}

.social__item:not(:last-child) {
  margin-right: 25px;
}

.social__link svg {
  fill: var(--darkgrey-color);
}

.social__link:focus svg {
  outline-offset: 3px;
  outline: solid 2px var(--orange-color);
}

.social__link:hover svg {
  fill: var(--orange-color);
}

.social__link:active svg {
  outline: none;
  fill: var(--darkorange-color);
}

.footer__title {
  margin: 0;
  margin-bottom: 25px;
  font-weight: 400;
  font-size: 48px;
  line-height: 59px;
  color: var(--grey-color);
}

.form__list {
  margin-bottom: 28px;
}

.form__item:not(:last-child) {
  margin-bottom: 25px;
}

.form__input,
.form__textarea {
  padding: 14px 24px;
  border: none;
  border-radius: 16px;
  width: 100%;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: var(--white-color);
  background-color: #414141;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  background-color: var(--darkgrey-color);
}

.form__input:hover,
.form__textarea:hover {
  background-color: var(--darkgrey-color);
}

.form__textarea {
  height: 150px;
  resize: none;
}

.form__btn {
  margin-right: 19px;
  padding: 19px 52px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px
}

.form__btn:focus {
  background-color: var(--hover-color);
}

.form__btn:hover {
  background-color: var(--hover-color);
}

.form__btn:active {
  background-color: var(--darkorange-color);
}

.form__check {
  display: inline-block;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: var(--grey-color);
}

.footer__descr {
  color: var(--grey-color);
}

.burger {
  display: none;
}

.br {
  display: none;
}
