@import url('reset.css');

/* Универсальные */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #2f2626;
}

h1,
h2,
h3,
h4 {
  font-family: 'Tenor Sans', sans-serif;
  color: #FFFFFF;
}


li>a {
  text-decoration: none;
  color: #FFFFFF;
}

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

/* Убираем подчеркивание у кнопок-ссылок */
.header__button,
.discount__btn,
.package__btn-angular {
  text-decoration: none;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: 1200px !important;
  margin: 0 auto;
  overflow: hidden;
}

.btn {
  width: fit-content;
  padding: 15px 25px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Tenor Sans';
  font-size: 1.25em;
  line-height: 23px;
  color: #2F2626;
}

.btn-angular {
  width: 100%;
  padding: 33px 78px 36px 85px;
  cursor: pointer;
  border: 1px solid #755E5E;
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 1.25em;
  line-height: 23px;
  color: #FFFFFF;
}

.btn-angular_small {
  padding: 16px 55px;
  cursor: pointer;
  color: #FFFFFF;
  border: none;
}


/* Хедер */

.header {
  width: 100%;
  background-image: url('/image/bg-img.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.header__nav {
  width: 100%;
  padding: 30px 60px 10px;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background-color: #9e8f8b00;
}

.header__logo {
  cursor: pointer;
  text-decoration: none;
}

.header__list {
  margin-left: 70px;
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
}

.header__item {
  display: flex;
  justify-content: space-between;
  font-family: 'Tenor Sans';
  font-size: 1.125em;
  line-height: 21px;
  text-transform: capitalize;
  color: #FFF;
  cursor: pointer;
  transition: text-shadow .3s linear;
}

.header__item:hover {
  text-shadow: 2px 7px 5px rgba(0, 0, 0, 0.3),
    0px -4px 10px rgba(255, 255, 255, 0.3);
}

.header__burger {
  width: 70px;
  height: 70px;
  display: none;
  background-color: transparent;
  border: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.header__burger span {
  width: 60px;
  height: 5px;
  position: absolute;
  left: 5px;
  border-radius: 3px;
  background-color: #FFFFFF;
  transition: transform .5s, opasity .5s, background-color .5s;
}

.header__burger span:nth-child(1) {
  transform: translateY(-15px);
}

.header__burger span:nth-child(3) {
  transform: translateY(15px);
}


.header.burger__open .header__burger span:nth-child(1) {
  transform: translateY(0) rotate(-45deg);
  transition: transform .5s;
}

.header.burger__open .header__burger span:nth-child(2) {
  opacity: 0;
}

.header.burger__open .header__burger span:nth-child(3) {
  transform: translateY(0) rotate(45deg);
  transition: transform .5s;
}

.header__info {
  padding: 254px 0 50px;
  display: flex;
  flex-direction: column;
}

.header__title {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 4em;
  line-height: 74px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.header__sub-title {
  margin-top: 22px;
  margin-bottom: 40px;
  font-family: 'Tenor Sans';
  font-style: normal;
  font-size: 2.9em;
  line-height: 54px;
}

.header__text {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 1.25em;
  line-height: 24px;
  color: #FFFFFF;
  text-indent: 20px;
  padding-bottom: 10px;
}

.header__button {
  margin-top: 48px;
  background: #E1BB98;
  transition: all .3s linear;
}

.header__button:hover {
  background: #755E5E;
  color: #FFFFFF;
}

/* About */

.about {
  width: 100%;
}

.about__info {
  width: 100%;
  padding-top: 75px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.about__content {
  max-width: 640px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 74px;
}

.about__title {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 5.625em;
  line-height: 106px;
  text-transform: uppercase;
}

.about__text {
  width: 100%;
  color: #FFFFFF;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 29px;
  text-indent: 20px;
  margin-bottom: 10px;
}

.about__visual img{
  max-width: 431px;
  width: 100%;
  border-radius: 10px;
}

.about__visual-img{
  max-width: 431px;
  width: 100%;
  border-radius: 10px;
}

/* Портфолио */

.portfolio {
  padding-top: 50px;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  /* Разрешаем вертикальный скролл на мобильных устройствах */
  touch-action: pan-y;
}

.portfolio__title {
  padding-bottom: 90px;
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 5.625em;
  line-height: 106px;
  text-transform: uppercase;
}

.portfolio__slider_wrap {
  margin: 0 auto;
  width: 100vw;
  position: relative;
  /* Разрешаем вертикальный скролл на мобильных устройствах */
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.portfolio__slider {
  width: fit-content;
}

.slider {
  margin: 0 auto;
}

.slider__item {
  width: 399px;
  height: 100%;
  min-height: 740px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 54px;
  cursor: pointer;
}

.item {
  margin: 0 auto;
  padding-top: 49px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(189, 159, 132, 0.8);
}

.slider__item_1 {
  background-image: url('../image/portfolio/IMG_9014.JPG');
  background-repeat: no-repeat;
  background-size: cover;
}

.slider__item_2 {
  background-image: url('../image/portfolio/IMG_0909.JPG');
  background-repeat: no-repeat;
  background-size: cover;
}

.slider__item_3 {
  background-image: url('../image/portfolio/IMG_9016.JPG');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.slider__item_4 {
  background-image: url('../image/portfolio/project2_1.2.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.slider__item_5 {
  background-image: url('../image/portfolio/project3_2.2.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.item__loupe-wrap {
  padding: 103px 0;
}

.slider__item:hover .item__loupe {
  background-color: rgba(189, 159, 132, 0.8);
}

.slider__item:hover .item__loupe-img {
  display: block;
}

.item__loupe {
  width: 123px;
  height: 123px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 50%;
  position: relative;
  text-decoration: none;
}

.slider__item:hover .item__loupe:hover {
  background-color: #aa8d7eb5;
  transition: all .5s linear;
}

/* Эффект увеличения убран */
/* .item__loupe:hover .item__loupe-img {
  transform: scale(1.3);
} */

.item__loupe-img {
  width: 41px;
  transition: transform .8s;
}

.item__loupe-img {
  display: none;
  position: absolute;
  top: 42px;
  left: 41px;
}

.item__text {
  width: 100%;
  padding-right: 25px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.item__info {
  text-align: right;
  font-weight: 400;
  font-size: 1.75em;
  line-height: 36px;
}

.slider__btn {
  z-index: 2;
  position: absolute;
}

.slider__btn_prev {
  left: 20px;
  top: 360px;
}

.slider__btn_next {
  right: 20px;
  top: 360px;
}

.slider__arrow_prev {
  position: absolute;
  top: 8px;
  left: 13px;
}

.slider__arrow_next {
  position: absolute;
  top: 8px;
  right: 13px;
}


/* Почему выбирают меня? */

.privilege {
  width: 100%;
}

.privilege__info {
  padding: 137px 0;
  display: flex;
  flex-direction: column;
  gap: 137px;
  color: #FFFFFF;
}

.privilege__title {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 5.625em;
  line-height: 106px;
  text-transform: uppercase;
}

.privilege__content {
  height: 100%;
  min-height: 550px;
  display: flex;
  justify-content: space-between;
}

.privilege__quality {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.privilege__quality:nth-child(1)>.quality__text>div {
  min-width: 400px;
  width: 100%;
}

.privilege__quality:nth-child(2) {
  max-width: 314px;
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
}

.privilege__quality:nth-child(3) {
  max-width: 333px;
  width: 100%;
  overflow: hidden;
}

.quality__text {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 1.25em;
  line-height: 24px;
}

.quality__text>p {
  padding-right: 35px;
}

.quality__text p {
  padding-right: 35px;
}

.quality__title>h6 {
  padding-bottom: 12px;
}

.quality__title_middle {
  padding-bottom: 43px;
}

.quality__title_middle>h6 {
  padding-bottom: 30px;
}

.quality__pic>img {
  max-width: 330px;
}


/* Услуги */

.services {
  width: 100%;
  background-color: #E0CDC4;
}

.services__info {
  padding: 77px 0 121px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  color: #322929;
}

.services__title {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 5.625em;
  line-height: 106px;
  text-transform: uppercase;
  color: #322929;
}

.services__package {
  display: flex;
  justify-content: center;
  gap: 19px;
}

.package__item {
  padding-top: 30px;
  padding-right: 6px;
  width: 100%;
  max-width: 369px;
  height: 100%;
  min-height: 512px;
  max-height: 512px;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  color: #000000;
}

.package__title {
  padding-left: 38px;
  padding-bottom: 14px;
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 1.875em;
  line-height: 35px;
  text-transform: uppercase;
}

.package__description {
  padding-left: 38px;
  padding-right: 40px;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 1em;
  line-height: 20px;
  flex-grow: 1;
  overflow-y: auto;
}

.package__description::-webkit-scrollbar {
  width: 3px;
  background-color: #FFFFFF;
  border-radius: 3.5px;
}

.package__description::-webkit-scrollbar-thumb:vertical {
  width: 3px;
  height: 92px;
  background: #755E5E;
  border-radius: 3.5px;
}

/* для firefox */
.package__description {
  scrollbar-color: #755E5E #FFFFFF;
  scrollbar-width: 3px;
}

.package__description>p>span {
  font-weight: 700;
}

.package__list>li {
  list-style: decimal;
  list-style-position: inside;

}

.package__btn-angular_wrap {
  padding-top: 33px;
  padding-bottom: 61px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.package__btn-angular_wrap a {
  text-decoration: none;
}

.package__btn-angular {
  transition: all .3s linear;
  background-color: #755E5E;

}

.package__btn-angular:hover {
  background: #E1BB98;
  color: #000000;
}

/* Этапы работ */

.work-stages {
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
}

.work-stages__info {
  display: flex;
  flex-direction: column;
  gap: 61px;
}

.work-stages__title {
  padding-top: 87px;
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 5.625em;
  line-height: 106px;
  text-transform: uppercase;
}

.work-stages__stage {
  display: flex;
  flex-direction: column;
  gap: 84px;
}

.stage__quad {
  width: 100%;
  display: flex;
}

.stage__number {
  flex-grow: 1;
  width: 100%;
}

.stage__btn-angular {
  background-color: #BD9C8C;
  transition: all .3s linear;
}

.stage__btn-angular:hover {
  background-color: #755E5E;
  color: #E0CDC4;
}

.stage__btn-angular.stage__btn-angular_clicked {
  background-color: #755E5E;
}

.stage__gist {
  display: flex;
  justify-content: space-between;
  gap: 78px;
}

.stage__gist-slider {
  display: flex;
  flex-direction: column;
}

.gist-slider {
  width: 50%;
}



.gist-slider__title {
  flex: 0 0 auto;
  padding-bottom: 32px;
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 1.875em;
  line-height: 35px;
  text-transform: uppercase;
}

.gist-slider__description {
  flex: 1 0 auto;
  padding-bottom: 40px;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 1.25em;
  line-height: 24px;
}

.gist-slider__arrows {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.arrows__arrow-preview {
  cursor: pointer;
  background-color: #2F2626;
  border: none;
}

.arrow-preview {
  position: relative;
}

.arrows__curcle {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background-color: #E3D1BD;
  transition: all .3s linear;
}

.arrows__curcle:hover {
  background-color: #755E5E;
}

.arrow-preview__sign {
  position: absolute;
  top: 9px;
  left: 20px;
}

.arrows__arrow-next {
  cursor: pointer;
  background-color: #2F2626;
  border: none;
}

.arrow-next {
  position: relative;
}

.arrow-next__sign {
  position: absolute;
  top: 9px;
  left: -56px;
}

.stage__gist-pic {
  width: 50%;
  min-height: 340px;
  height: 100%;
}

.gist-pic {
  width: 100%;
  min-height: 320px;
  height: 100%;
  background-image: url('../image/stages/stage1.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-color: transparent;
}


/* Сезонная скидка */

.discount {
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
}

.discount__info {
  padding: 93px 0;
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.discount__title {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 5.625em;
  line-height: 106px;
  text-transform: uppercase;
}

.discount__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 70px;
}

.discount__description {
  display: flex;
  flex-direction: column;
  gap: 50px;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 1.5em;
  line-height: 29px;
}

.discount__description p:last-child {
  font-weight: 700;
}

.discount__form-application {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* display: none; */
  justify-content: center;
  margin: 50px auto;
  align-items: center;
}

.form-application__input {
  padding: 0 27px;
  width: 100%;
  min-width: 478px;
  max-width: 478px;
  height: 100%;
  min-height: 57px;
  max-height: 57px;
  background: rgba(189, 156, 140, 0.3);
  color: #FFFFFF;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 1.25em;
  line-height: 24px;
}

.form-application__input::placeholder {
  color: #9E8F8B;
}

.form-application__input:focus {
  outline: none;
  background-color: #FFFFFF;
}

.form-application__input:focus-visible {
  outline: none;
  background-color: #E0CDC4;
}

.discount__btn-wrap {
  padding-top: 20px;
}

.discount__btn {
  background: #E1BB98;
  transition: all .3s linear;
}

.discount__btn:hover {
  background: #755E5E;
  color: #FFFFFF;
}


/* Контакты */

.connection {
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
}

.connection__info {
  padding-bottom: 130px;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.connection__title {
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 5.625em;
  line-height: 106px;
  text-transform: uppercase;
}

.connection__contacts {
  display: flex;
  justify-content: space-between;
}

.contacts__person {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.person__name {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-size: 2.875em;
  line-height: 56px;
  text-transform: uppercase;
}

.person__socialnet {
  display: flex;
  gap: 14px;
}

.socialnet {
  cursor: pointer;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #E1BB98;
  transition: all .3s linear;
}

.socialnet__telegram:hover {
  background: #755E5E;
  color: #FFFFFF;
}

.socialnet__whatsApp:hover {
  background: #755E5E;
  color: #FFFFFF;
}

.contacts__items {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.contacts__point {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 26px;
}

.contacts__point:nth-child(3) {
  margin-left: -5px;
}

.contacts__point:nth-child(3) .point__value {
  margin-left: -4px;
}

.point__value {
  text-decoration: none;
  color: #FFFFFF;
}


/* Футер */

.footer {
  width: 100%;
  min-height: 70px;
  background-color: #5A4945;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 83px;
}

.footer__item {
  cursor: pointer;
  font-family: 'Tenor Sans';
  font-style: normal;
  font-weight: 400;
  font-size: 1.125em;
  line-height: 21px;
  text-transform: capitalize;
  transition: all .3s linear;
}

.footer__item:hover {
  text-shadow: 2px 7px 5px rgba(0, 0, 0, 0.3),
    0px -4px 10px rgba(255, 255, 255, 0.3);
}





/* Медиа-запросы */
@media screen and (max-width: 1300px) {
  .header__nav {
    padding: 30px 30px 10px;
  }
}


@media screen and (max-width: 1215px) {
  .header__nav {
    padding: 30px 15px 10px;
  }

  .header__info {
    padding: 220px 15px 150px;
  }

  .about__info {
    padding: 75px 15px 0;
  }

  .portfolio__title {
    padding: 0 15px 70px;
  }

  .privilege__info {
    padding: 137px 15px;
  }

  .services__info {
    padding: 77px 15px 121px;
  }

  .work-stages__info {
    padding: 0 15px;
  }

  .discount__info {
    padding: 93px 15px;
  }

  .connection__info {
    padding: 0 15px 130px;
  }
}

@media screen and (max-width: 1177px) {
  .btn-angular {
    padding: 28px 73px 31px 80px;
  }
}

@media screen and (max-width: 1147px) {
  .header__title {
    font-size: 3.6em;
  }

  .header__sub-title {
    font-size: 2.6em;
  }

  .about__title,
  .portfolio__title,
  .privilege__title,
  .services__title,
  .work-stages__title,
  .discount__title,
  .connection__title {
    font-size: 5.2em;
  }

  .about__text {
    font-size: 1.3em;
  }

  .item__info {
    font-size: 1.5em;
  }

  .quality__text {
    font-size: 1.1em;
  }

  .quality__title_middle {
    padding-bottom: 53px;
  }

  .gist-slider__description {
    font-size: 1.1em;
  }

  .person__name {
    font-size: 2.5em;
  }

  .btn-angular {
    padding: 25px 68px 28px 75px;
  }

  .privilege__info {
    padding: 100px 15px;
    gap: 100px;
  }
}

@media screen and (max-width: 1120px) {
  .discount__content {
    gap: 60px;
  }

  .form-application__input {
    width: 100%;
    min-width: 450px;
    max-width: 450px;
    height: 100%;
  }
}


@media screen and (max-width: 1110px) {
  .header__nav {
    padding: 30px 15px 10px;
  }

  .header__info {
    padding: 200px 15px 110px;
  }

  .btn {
    font-size: 1.2em;
  }

  .about__info {
    padding: 50px 15px 0;
  }

  .about__visual {
    max-width: 380px;
    width: 100%;
  }

  .about__visual>img {
    width: 100%;
  }

  .privilege__info {
    padding: 60px 15px;
    gap: 60px;
  }

  .privilege__quality {
    max-width: 350px;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    min-width: 350px;
    width: 100%;
  }

  .quality__title_middle {
    padding-bottom: 25px;
  }

  .quality__pic>img {
    max-width: 320px;
  }

  .services__info {
    padding: 50px 15px 90px;
  }

  .services__package {
    gap: 10px;
  }

  .work-stages__title {
    padding-top: 50px;
  }

  .btn-angular {
    padding: 23px 63px 26px 70px;
  }

  .discount__info {
    padding: 50px 15px;
  }

  .discount__description {
    font-size: 1.25em;
  }

}

@media screen and (max-width: 1102px) {
  .header__nav {
    padding: 30px 20px 10px;
  }

  .header__info {
    padding: 170px 20px 110px;
  }

  .header__text {
    font-size: 1.15em;
  }

  .about__info {
    padding: 50px 20px 0;
  }

  .about__text {
    font-size: 1.2em;
  }

  .portfolio {
    padding-top: 30px;
  }

  .portfolio__title {
    padding: 0 20px 50px;
  }

  .item__info {
    font-size: 1.3em;
  }

  .privilege__info {
    padding: 60px 20px;
    gap: 60px;
  }

  .services__info {
    padding: 50px 20px 90px;
  }

  .work-stages__info {
    padding: 0 20px;
  }

  .discount__info {
    padding: 50px 20px;
  }

  .discount__description {
    font-size: 1.1em;
  }

  .connection__info {
    padding: 0 20px 130px;
  }

  .btn-angular {
    padding: 21px 58px 24px 65px;
  }

  .discount__description {
    gap: 40px;
  }
}

@media screen and (max-width: 1050px) {
  .header__list {
    margin-left: 0px;
    gap: 70px;
    justify-content: flex-end;
  }

  .privilege__quality {
    max-width: 320px;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    min-width: 300px;
    width: 100%;
  }

  .quality__pic>img {
    max-width: 300px;
  }

  .quality__text {
    font-size: 1em;
  }

  .quality__title_middle {
    padding-bottom: 45px;
  }
}

@media screen and (max-width: 1040px) {
  .discount__content {
    gap: 50px;
  }

  .stage__gist {
    gap: 50px;
  }

  .work-stages__stage {
    gap: 50px;
  }
}

@media screen and (max-width: 1015px) {
  .privilege__content {
    min-height: 550px;
  }

  .privilege__quality {
    max-width: 300px;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    min-width: 250px;
    width: 100%;
  }

  .privilege__quality:nth-child(2) {
    max-width: 300px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) {
    max-width: 300px;
    width: 100%;
  }

  .quality__text p {
    padding-right: 10px;
  }

  .quality__pic {
    max-width: 300px;
    max-height: 241px;
  }

  .quality__pic>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .btn-angular_small {
    padding: 14px 45px;
  }
}

@media screen and (max-width: 992px) {
  .header__list {
    gap: 50px;
  }

  .header__item,
  .footer__item {
    font-size: 1em;
  }

  .header__title {
    font-size: 3.2em;
  }

  .header__sub-title {
    font-size: 2.2em;
  }


  .header__text {
    font-size: 1.1em;
  }

  .btn {
    padding: 12px 35px;
    font-size: 1em;
  }

  .btn-angular {
    font-size: 1.1em;
  }

  .about__title,
  .portfolio__title,
  .privilege__title,
  .services__title,
  .work-stages__title,
  .discount__title,
  .connection__title {
    font-size: 4.8em;
  }

  .portfolio__title {
    padding: 0 20px 30px;
  }

  .about__content {
    gap: 60px;
  }

  .about__text {
    font-size: 1.1em;
  }

  .about__visual {
    max-width: 350px;
    width: 100%;
  }

  .about__visual>img {
    width: 100%;
  }

  .item__text {
    gap: 14px;
  }

  .privilege__content {
    min-height: 520px;
  }

  .services__package {
    flex-wrap: wrap;
  }

  .package__item {
    max-width: 350px;
    width: 100%;
    height: 100%;
    min-height: 480px;
    max-height: 480px;
  }

  .package__btn-angular-angular_wrap {
    padding: 27px 0 55px 0;
  }

  .discount__content {
    gap: 40px;
  }

  .form-application__input {
    padding: 0 20px;
    width: 100%;
    min-width: 450px;
    max-width: 450px;
    height: 100%;
    min-height: 50px;
    max-height: 50px;
    font-size: 1.1em;
  }

  .footer__nav {
    gap: 65px;
  }
}

@media screen and (max-width: 970px) {
  .btn-angular {
    padding: 18px 53px 21px 60px;
    font-size: 1em;
  }

  .privilege__content {
    min-height: 500px;
  }

  .privilege__quality {
    max-width: 280px;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    min-width: 250px;
    width: 100%;
  }

  .privilege__quality:nth-child(2) {
    max-width: 280px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) {
    max-width: 280px;
    width: 100%;
  }

  .quality__title_middle {
    padding-bottom: 20px;
  }

  .quality__title_middle>h6 {
    padding-bottom: 15px;
  }

  .quality__pic {
    max-width: 270px;
    max-height: 220px;
  }
}

@media screen and (max-width: 940px) {
  .header__nav {
    padding: 30px 20px 5px;
  }

  .header__list {
    max-width: 700px;
  }

  .header__info {
    padding: 140px 20px 80px;
  }

  .header__text {
    font-size: 1em;
  }

  .about__title,
  .portfolio__title,
  .privilege__title,
  .services__title,
  .work-stages__title,
  .discount__title,
  .connection__title {
    font-size: 4.4em;
  }

  .about__info {
    padding: 40px 20px 0;
  }

  .about__text {
    font-size: 1em;
  }

  .about__visual {
    max-width: 330px;
    width: 100%;
  }

  .about__visual>img {
    width: 100%;
  }

  .item__text {
    gap: 12px;
  }

  .privilege__info {
    padding: 40px 20px;
    gap: 40px;
  }

  .services__info {
    padding: 40px 20px 70px;
  }

  .gist-slider__description {
    font-size: 1em;
  }

  .discount__info {
    padding: 50px 20px;
  }

  .discount__description {
    font-size: 1.1em;
  }

  .connection__info {
    padding: 0 20px 130px;
  }

  .stage__gist {
    gap: 15px;
  }
}

@media screen and (max-width: 886px) {
  .header__list {
    gap: 40px;
  }

  .privilege__content {
    min-height: 460px;
  }

  .privilege__quality {
    max-width: 270px;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    min-width: 230px;
    width: 100%;
  }

  .privilege__quality:nth-child(2) {
    max-width: 250px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) {
    max-width: 250px;
    width: 100%;
  }

  .quality__title_middle {
    padding-bottom: 15px;
  }

  .quality__title_middle>h6 {
    padding-bottom: 10px;
  }

  .quality__pic {
    max-width: 250px;
    max-height: 204px;
  }

  .quality__text>p {
    padding-right: 20px;
  }

  .discount__description {
    font-size: 1em;
  }

  .work-stages__stage {
    gap: 40px;
  }


  .btn-angular_small {
    padding: 12px 30px;
  }

  .discount__description {
    gap: 20px;
  }

  .header__title {
    font-size: 3em;
  }

  .header__sub-title {
    font-size: 2em;
  }

  .about__title,
  .portfolio__title,
  .privilege__title,
  .services__title,
  .work-stages__title,
  .discount__title,
  .connection__title {
    font-size: 4.2em;
  }


  .about__visual {
    max-width: 350px;
    width: 100%;
  }

  .about__visual>img {
    width: 100%;
  }

  .privilege__content {
    min-height: 490px;
  }

  .package__item {
    max-width: 340px;
    width: 100%;
    height: 100%;
    min-height: 450px;
    max-height: 450px;
  }

  .package__title,
  .package__description {
    padding-left: 25px;
  }

  .package__description {
    padding-right: 30px;
  }

  .package__btn-angular-angular_wrap {
    padding: 27px 0 37px 0;
  }

  .form-application__input {
    padding: 0 20px;
    width: 100%;
    min-width: 450px;
    max-width: 450px;
    height: 100%;
    min-height: 50px;
    max-height: 50px;
    font-size: 1.1em;
  }

  .person__name {
    font-size: 2.2em;
  }

  .contacts__person {
    gap: 20px;
  }

  .contacts__items {
    gap: 18px;
  }

  .discount__form-application {
    gap: 8px;
    padding: 0 20px;
  }

  .form-application__input {
    padding: 0 20px;
    width: 100%;
    min-width: 350px;
    max-width: 420px;
    height: 100%;
    min-height: 40px;
    max-height: 40px;
    font-size: 1em;
  }

  .discount__btn-wrap {
    padding-top: 10px;
  }
}

@media screen and (max-width: 840px) {
  .btn-angular {
    padding: 13px 60px 16px 54px;
    font-size: 1em;
  }

  .privilege__content {
    min-height: 470px;
  }

  .about__content {
    gap: 40px;
  }

  .footer__nav {
    gap: 50px;
  }
}

@media screen and (max-width: 836px) {
  .stage__gist {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .gist-slider {
    min-height: 260px;
    height: 100%;
  }

  .gist-slider__title {
    padding-bottom: 30px;
  }

  .gist-slider__description {
    padding-bottom: 0px;
  }

  .gist-slider__arrows {
    padding: 30px 30px 0 30px;
  }

  .gist-slider,
  .stage__gist-pic {
    width: 100%;
  }

  .gist-pic {
    background-position: center;
  }
}

@media screen and (max-width: 830px) {
  .header__list {
    max-width: 600px;
    gap: 35px;
  }

  .privilege__quality {
    max-width: 220px;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    min-width: 210px;
    width: 100%;
  }

  .privilege__quality:nth-child(2) {
    max-width: 220px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) {
    max-width: 220px;
    width: 100%;
  }

  .quality__title_middle {
    padding-bottom: 8px;
  }

  .quality__title_middle>h6 {
    padding-bottom: 10px;
  }

  .quality__text p {
    padding-right: 0px;
  }

  .quality__pic {
    max-width: 220px;
    max-height: 180px;
  }

  .privilege__quality:nth-child(1)>.quality__text {
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 810px) {
  .about__visual {
    max-width: 330px;
    width: 100%;
  }

  .about__visual>img {
    width: 100%;
  }

  .about__content {
    gap: 30px;
  }

  .header__sub-title {
    margin-top: 15px;
    margin-bottom: 30px;
  }

  .privilege__info,
  .services__info,
  .work-stages__info,
  .discount__info,
  .connection__info {
    gap: 30px;
  }

}

@media screen and (max-width: 782px) {
  .header__title {
    font-size: 2.8em;
  }

  .header__sub-title {
    font-size: 1.8em;
  }

  .about__title,
  .portfolio__title,
  .privilege__title,
  .services__title,
  .work-stages__title,
  .discount__title,
  .connection__title {
    font-size: 4em;
  }

  .privilege__content {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
    row-gap: 40px;
  }

  .privilege__quality {
    max-width: 340px;
    width: 100%;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    min-width: 320px;
    width: 100%;
  }

  .privilege__quality:nth-child(2) {
    max-width: 340px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) {
    max-width: 340px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) .quality__text {
    padding-bottom: 20px;
  }

  .quality__text p {
    padding-right: 40px;
  }

  .quality__pic {
    max-width: 300px;
    max-height: 220px;
  }

  .about__info {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .connection__info {
    padding: 0 20px 60px;
  }

  .footer__nav {
    padding: 20px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .footer__item {
    margin: auto;
    font-size: 0.9em;
  }

  /* бургер-меню */
  .header__burger {
    display: block;
  }

  .header__list {
    padding: 113px 20px 40px 30px;
    margin-left: 0;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    gap: 45px;
    position: absolute;
    right: -350px;
    top: 0;
    border-radius: 0 0 0 3px;
    background-color: #2F2626;
    transition: transform .6s;
  }

  .header__item>a {
    display: block;
  }

  .header.burger__open .header__list {
    transform: translateX(-100%);
  }

  /* На мобильных устройствах лупа всегда видна */
  .item__loupe-img {
    display: block !important;
  }

  .slider__item .item__loupe {
    background-color: rgba(189, 159, 132, 0.8);
  }
}

@media screen and (max-width: 747px) {

  .about__title,
  .portfolio__title,
  .privilege__title,
  .services__title,
  .work-stages__title,
  .discount__title,
  .connection__title {
    font-size: 3.8em;
    line-height: 75px;
  }

  .item__text {
    gap: 8px;
  }
}

@media screen and (max-width: 740px) {
  .privilege__content {
    row-gap: 30px;
  }

  .privilege__quality {
    max-width: 300px;
    width: 100%;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    min-width: 280px;
    width: 100%;
  }

  .privilege__quality:nth-child(2) {
    max-width: 300px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) {
    max-width: 300px;
    width: 100%;
  }

  .quality__pic {
    max-width: 270px;
    max-height: 200px;
  }
}

@media screen and (max-width: 730px) {
  .package__item {
    width: 100%;
    max-width: 400px;
    height: 100%;
    min-height: 480px;
    max-height: 480px;
  }

  .package__title,
  .package__description {
    padding-left: 38px;
  }

  .package__description {
    padding-right: 38px;
  }

  .package__btn-angular-angular_wrap {
    padding-top: 28px;
    padding-bottom: 50px;
  }

  .btn-angular_small {
    padding: 16px 55px;
  }

  .btn-angular {
    padding: 10px 55px 13px 49px;
  }
}

@media screen and (max-width: 710px) {
  .btn {
    padding: 12px 35px;
  }

  .connection__contacts {
    flex-direction: column;
    gap: 50px;
  }
}

@media screen and (max-width: 670px) {

  .about__title,
  .portfolio__title,
  .privilege__title,
  .services__title,
  .work-stages__title,
  .discount__title,
  .connection__title {
    font-size: 3.4em;
    line-height: 65px;
  }

  .privilege__info {
    padding: 50px 20px 80px 20px;
  }

  .privilege__content {
    gap: 50px;
  }

  .privilege__quality {
    max-width: 450px;
    width: 100%;
  }

  .privilege__quality .quality__pic {
    align-self: center;
  }

  .quality__text {
    text-align: center;
  }

  .quality__text p {
    padding-right: 0;
  }

  .privilege__quality:nth-child(1)>.quality__text>div {
    max-width: 450px;
    width: 100%;
  }

  .privilege__quality:nth-child(2) {
    max-width: 450px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) {
    max-width: 450px;
    width: 100%;
  }

  .privilege__quality:nth-child(3) .quality__text {
    padding-bottom: 20px;
  }

  .quality__title_middle {
    padding-bottom: 20px;
  }

  .privilege__quality:nth-child(2) {
    display: flex;
    flex-direction: column;
  }

  .quality__title>h6 {
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 660px) {
  .btn-angular {
    padding: 10px 45px 13px 39px;
  }
}

@media screen and (max-width: 580px) {

  .about__title,
  .portfolio__title,
  .privilege__title,
  .services__title,
  .work-stages__title,
  .discount__title,
  .connection__title {
    font-size: 3em;
    line-height: 52px;
  }

  .btn-angular {
    padding: 8px 35px 10px 29px;
  }

  .about__info {
    gap: 30px;
  }

  .about__visual {
    max-width: 270px;
    width: 100%;
  }

  .about__visual>img {
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .gist-slider {
    min-height: auto;
    height: 100%;
  }
}

@media screen and (max-width: 500px) {
  .btn-angular {
    padding: 8px 25px 10px 19px;
  }
}

@media screen and (max-width: 440px) {
  .gist-slider {
    min-height: 340px;
    height: 100%;
  }
}

@media screen and (max-width: 420px) {
  .btn-angular {
    padding: 8px 15px 10px 10px;
  }
}

@media screen and (max-width: 390px) {
  .gist-slider {
    min-height: auto;
    height: 100%;
  }
}

@media screen and (max-width: 355px) {
  .gist-slider {
    min-height: 400px;
    height: 100%;
  }
}
