@font-face {
  font-family: 'Museo Sans Bold';
  src: url("../fonts/MuseoSansCyrl/MuseoSansCyrl-700.eot");
  src: local("MuseoSansCyrl-700"), url("../fonts/MuseoSansCyrl/MuseoSansCyrl-700.eot?#iefix") format("embedded-opentype"), url("../fonts/MuseoSansCyrl/MuseoSansCyrl-700.woff2") format("woff2"), url("../fonts/MuseoSansCyrl/MuseoSansCyrl-700.woff") format("woff"), url("../fonts/MuseoSansCyrl/MuseoSansCyrl-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Museo Sans Light';
  src: url("../fonts/MuseoSansCyrl/MuseoSansCyrl-300.eot");
  src: local("MuseoSansCyrl-300"), url("../fonts/MuseoSansCyrl/MuseoSansCyrl-300.eot?#iefix") format("embedded-opentype"), url("../fonts/MuseoSansCyrl/MuseoSansCyrl-300.woff2") format("woff2"), url("../fonts/MuseoSansCyrl/MuseoSansCyrl-300.woff") format("woff"), url("../fonts/MuseoSansCyrl/MuseoSansCyrl-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

body {
  font-family: 'Museo Sans Light', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 300;
  color: #333333;
}

img {
  max-width: 100%;
}

.container {
  width: 1170px;
  margin: auto;
}

.section {
  padding: 76px 0;
  padding-bottom: 89px;
}

.section-title {
  max-width: 500px;
  margin: 0;
  font-size: 24px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
}

.input {
  border: 1px solid #dddddd;
  padding: 23px 26px;
  font-size: 15px;
  border-radius: 10px;
}

.button {
  padding: 16px 30px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 18px;
  border-radius: 10px;
  background-color: #ffd200;
  border: none;
  -webkit-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.button:hover {
  background-color: #ffdb33;
  cursor: pointer;
}

.button-up {
  position: fixed;
  bottom: 50px;
  right: 40px;
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url("../img/arrow-up.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  background-color: #ffd200;
  border-radius: 10px;
  -webkit-transition: background-color 0.2s, opacity 0.2s, visibility 0.2s;
  -o-transition: background-color 0.2s, opacity 0.2s, visibility 0.2s;
  transition: background-color 0.2s, opacity 0.2s, visibility 0.2s;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}

.button-up:hover {
  background-color: #ffdb33;
}

.button-up_show {
  visibility: visible;
  opacity: 1;
}

.navbar {
  padding: 5px 0;
}

.navbar-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.navbar__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: right;
}

.navbar__address {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-top: -5px;
  font-size: 13px;
  font-weight: 300;
}

.navbar__button {
  margin-top: -4px;
  margin-left: 30px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #333333;
}

.navbar__phone {
  display: inline-block;
  margin-top: 6px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #333333;
  text-decoration: none;
}

.hero {
  padding: 75px 0;
  padding-bottom: 48px;
  background-color: #f5f5f5;
}

.hero-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.hero-text {
  -ms-flex-preferred-size: 51%;
      flex-basis: 51%;
  padding-right: 122px;
}

.hero-text__title {
  margin: 0;
  margin-top: 3px;
  margin-bottom: 37px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 41px;
  line-height: 55px;
}

.hero-text__subtitle {
  display: inline-block;
  margin-bottom: 71px;
  font-size: 20px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

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

.hero-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 26px;
}

.hero-list__image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 40px;
  height: 40px;
  margin-right: 30px;
  margin-top: -3px;
  border: 2px solid #ffd200;
  border-radius: 50%;
}

.hero-list__text {
  max-width: 250px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
}

.hero-img {
  -webkit-box-shadow: 27px 27px 35px rgba(0, 0, 0, 0.05), 10px 7px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 27px 27px 35px rgba(0, 0, 0, 0.05), 10px 7px 10px rgba(0, 0, 0, 0.05);
}

.hero-img {
  margin-top: -26px;
}

.no-webp .offer {
  background-image: url("../img/offer/offer-bg.jpg"); }

.offer {
  position: relative;
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
}

.offer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #ffffff;
}

.offer-block {
  position: relative;
  width: 50%;
  padding-right: 90px;
}

.offer__title {
  max-width: 360px;
  margin-bottom: 20px;
  line-height: 35px;
  text-align: left;
}

.offer__subtitle {
  display: block;
  max-width: 250px;
  margin-bottom: 31px;
}

.offer__input {
  width: 240px;
  margin-bottom: 30px;
  outline: none;
}

.offer__input:first-child {
  margin-right: 10px;
}

.offer__input::-webkit-input-placeholder {
  color: #999999;
}

.offer__input::-moz-placeholder {
  color: #999999;
}

.offer__input:-ms-input-placeholder {
  color: #999999;
}

.offer__input::-ms-input-placeholder {
  color: #999999;
}

.offer__input::placeholder {
  color: #999999;
}

.offer__input:focus {
  border-color: #ffd200;
}

.offer__button {
  width: 100%;
  margin-bottom: 25px;
  min-height: 70px;
}

.offer__recall {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 15px;
  line-height: 24px;
}

.offer__manager {
  margin: 0;
  width: 47%;
}

.offer__number {
  margin: 0;
  width: 40%;
}

.offer__number-number {
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

.success__title {
  margin: 0;
  margin-bottom: 20px;
  text-align: center;
}

.no-webp .portfolio {
  background-image: url("../img/portfolio/bg-patternBackground.png"); }

.portfolio {
  background-color: #f5f5f5;
  background-repeat: repeat-y;
  background-size: 50%;
}

.portfolio__section {
  padding-top: 90px;
  padding-bottom: 83px;
}

.portfolio__title {
  max-width: 800px;
  margin: auto;
  margin-bottom: 92px;
  font-size: 30px;
  line-height: 45px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

.arrows {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  max-width: 120px;
  margin: auto;
  margin-top: 68px;
}

.no-webp .arrows__left {
  background-image: url("../img/portfolio/left-arrow.png"); }

.arrows__left {
  margin: 0;
  padding: 0;
  width: 45px;
  height: 19px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

.no-webp .arrows__right {
  background-image: url("../img/portfolio/left-arrow.png"); }

.arrows__right {
  margin: 0;
  padding: 0;
  width: 45px;
  height: 19px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.arrows__right:hover {
  cursor: pointer;
}

.arrows span {
  display: none;
}

.slider__image {
  margin: auto;
}

.price__title {
  max-width: 550px;
  margin: auto;
  margin-bottom: 47px;
  padding-top: 16px;
  font-size: 30px;
  line-height: 45px;
  color: #000000;
}

.price__subtitle {
  display: block;
  margin-bottom: 57px;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  text-align: center;
}

.price__card {
  margin-bottom: 30px;
}

.card {
  text-align: center;
  border: 1px solid #e8e8e8;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.card:hover {
  -webkit-box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.1);
          box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.1);
}

.card:hover .card__image::before {
  opacity: 1;
}

.card__text {
  padding: 36px;
  padding-left: 43px;
  padding-bottom: 43px;
}

.card__title {
  margin-top: 0;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
}

.card__image {
  position: relative;
}

.card__image::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left bottom, left top, from(#ffd200), to(rgba(255, 255, 255, 0)));
  background-image: -o-linear-gradient(bottom, #ffd200 0%, rgba(255, 255, 255, 0) 100%);
  background-image: linear-gradient(to top, #ffd200 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.card__img {
  display: block;
}

.card__link {
  display: inline-block;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: #333333;
  font-size: 16px;
  position: relative;
}

.card__link:hover::after {
  height: 12px;
}

.card__link::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -4px;
  left: 0;
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffd200;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.advantages__block {
  padding-top: 32px;
  padding-bottom: 100px;
}

.advantages__title {
  max-width: 660px;
  margin: 0 auto;
  margin-bottom: 50px;
  text-align: center;
  font-size: 30px;
  line-height: 45px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  color: #000000;
}

.advantages__subtitle {
  display: block;
  margin: 0 auto;
  margin-bottom: 67px;
  text-align: center;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
}

.advantages-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0;
  padding: 0 42px;
  list-style: none;
}

.advantages-list__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.no-webp .advantages-list__item:not(:last-child)::after {
  background-image: url("../img/advantages/arrow.png"); }

.advantages-list__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 155px;
  width: 72px;
  height: 25px;
}

.advantages-list__image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100px;
  height: 100px;
  margin-bottom: 26px;
  border: 3px solid #ffd201;
  border-radius: 50%;
}

.advantages-list__text {
  max-width: 150px;
  font-size: 14px;
  line-height: 20px;
  color: #000000;
}

.cheap__section {
  padding-top: 0;
  padding-bottom: 70px;
}

.cheap__text {
  text-align: center;
  background-color: #ffd200;
  color: #000000;
}

.cheap__title {
  margin: 0 auto;
  padding: 100px 0;
  max-width: 910px;
  font-size: 32px;
  line-height: 50px;
  font-weight: 300;
}

.cheap-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  min-height: 415px;
  margin: 0;
  margin-top: 100px;
  padding: 0;
  list-style: none;
}

.cheap-list__item {
  max-width: 370px;
}

.cheap-list__text {
  position: relative;
  margin: 0;
  padding: 27px;
  font-size: 16px;
  line-height: 23px;
  color: #000000;
  background-color: #f7f7f7;
}

.cheap-list__text_bold {
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

.cheap-list__image {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
}

.guarantee__title {
  max-width: 650px;
  margin: 0 auto;
  margin-bottom: 100px;
  font-size: 30px;
  line-height: 45px;
  color: #000000;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
}

.guarantee-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0;
  padding: 0 50px;
  list-style: none;
}

.guarantee-list__item {
  max-width: 290px;
}

.guarantee-list__image {
  margin-bottom: 41px;
}

.guarantee-list__text {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #000000;
}

.no-webp .brif {
  background-image: url("../img/brief/pattern-bg.png"), url("../img/brief/bg.jpg"); }

.brif {
  background-repeat: repeat-y, no-repeat;
  background-position: left center, right center;
  background-size: 50%, contain;
}

.brif-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.brif__interview {
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
}

.brif__form {
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
  padding-left: 30px;
  text-align: center;
}

.brif__input {
  width: 100%;
  max-width: 370px;
  margin-bottom: 15px;
}

.brif__button {
  height: 70px;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 30px;
  max-width: 370px;
}

.interview {
  padding-right: 70px;
}

.interview__title {
  margin-bottom: 50px;
  font-size: 22px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

.interview__subtitle {
  display: block;
  font-size: 16px;
  margin-bottom: 95px;
}

.interview-list {
  padding: 0;
  list-style: none;
}

.interview-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 25px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

.interview-list__counter {
  display: inline-block;
  margin-right: 30px;
  text-align: center;
  line-height: 35px;
  width: 35px;
  height: 35px;
  font-size: 14px;
  border: 2px solid #333333;
  border-radius: 50%;
}

.interview-list__text {
  max-width: 400px;
}

.form__title {
  margin-bottom: 50px;
  font-size: 22px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

.form__subtitle {
  display: block;
  font-size: 16px;
  margin-bottom: 95px;
}

.form__description {
  display: block;
}

#username-error {
  display: block;
  margin-bottom: 15px;
}

#phone-error {
  display: block;
  margin-bottom: 15px;
}

#email-error {
  display: block;
}

.input.invalid {
  border: 1px solid red;
}

.contacts {
  color: #000000;
}

.contacts__section {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contacts__map {
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
}

.contacts__adress {
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
  padding-left: 255px;
}

.contacts__title {
  margin: 0;
  margin-bottom: 90px;
  padding-top: 95px;
  width: 100%;
  max-width: 300px;
  font-size: 22px;
  line-height: 33px;
}

.contacts-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 26px;
}

.contacts-list__item {
  position: relative;
  padding: 0;
  margin-bottom: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contacts-list__item::before {
  content: "";
  position: absolute;
  left: -55px;
  top: 23px;
  width: 20px;
  height: 20px;
  background-image: url("../img/contacts/1.svg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}

.contacts-list__item:nth-child(2)::before {
  background-image: url("../img/contacts/2.svg");
}

.contacts-list__item:nth-child(3)::before {
  background-image: url("../img/contacts/3.svg");
}

.contacts-list__text {
  margin: 0;
  position: relative;
}

.contacts-list__text_bold {
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal_active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.modal-dialog {
  position: relative;
  margin: auto;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  min-height: 250px;
  background-color: #ffffff;
}

.modal-dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

.modal-dialog__close::before {
  top: 20px;
  right: 10px;
  content: "";
  position: absolute;
  width: 25px;
  height: 5px;
  background-color: #000000;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.modal-dialog__close::after {
  top: 20px;
  right: 10px;
  content: "";
  position: absolute;
  width: 25px;
  height: 5px;
  background-color: #000000;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.modal-dialog__title {
  margin: 0;
  margin-bottom: 50px;
  font-size: 22px;
  line-height: 33px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
}

.modal-dialog__subtitle {
  display: block;
  margin-bottom: 50px;
  font-size: 16px;
  line-height: 35px;
  text-align: center;
}

.modal-dialog__description {
  display: block;
  margin-bottom: 10px;
  text-align: center;
  font-size: 15px;
  line-height: 20px;
}

.modal-dialog__phone {
  display: block;
  text-align: center;
  font-size: 24px;
  line-height: 24px;
  font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .container {
    width: 760px;
  }

  .hero-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .hero-list {
    margin-bottom: 44px;
  }

  .hero-text {
    padding-right: 0;
  }

  .hero-img {
    -o-object-fit: cover;
       object-fit: cover;
  }

  .offer {
    background-size: cover;
  }

  .offer__input {
    width: 96%;
    margin-bottom: 8px;
  }

  .offer__button {
    font-size: 13px;
  }

  .advantages-list {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .advantages-list__item {
    margin-right: 20px;
    margin-bottom: 32px;
  }

  .advantages-list__item:not(:last-child)::after {
    background-image: none;
  }

  .cheap-list__item {
    margin-right: 30px;
  }

  .cheap-list__item:last-child {
    margin-right: 0;
  }

  .cheap-list__image {
    top: auto;
  }

  .guarantee__title {
    font-size: 18px;
    line-height: 20px;
  }

  .guarantee-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0;
    padding: 0 50px;
    list-style: none;
  }

  .guarantee-list__item {
    max-width: 290px;
  }

  .guarantee-list__image {
    margin-bottom: 41px;
  }

  .guarantee-list__text {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #000000;
  }

  .brif__form {
    padding-right: 30px;
  }

  .interview {
    padding-right: 30px;
  }

  .interview__title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .interview__subtitle {
    margin-bottom: 30px;
  }

  .interview-list__text {
    font-size: 14px;
    max-width: 300px;
  }

  .form__title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .form__subtitle {
    margin-bottom: 30px;
  }

  .contacts__adress {
    padding-left: 85px;
  }

  .contacts__title {
    padding-top: 65px;
    margin-bottom: 65px;
    font-size: 20px;
    line-height: 23px;
  }
}

@media (max-width: 960px) {
  .brif {
    background-size: 50%, cover;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 580px;
    width: 90%;
  }

  .section {
    padding: 55px 0;
  }

  .navbar {
    padding: 13px 0;
  }

  .navbar__contacts {
    display: none;
  }

  .navbar__button {
    font-size: 10px;
    margin-right: 11px;
    margin-bottom: 4px;
    padding: 14px 26px;
    border-radius: 5px;
  }

  .navbar__logo {
    width: 90px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-text__title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 9px;
  }

  .hero-text__subtitle {
    font-size: 16px;
    margin-bottom: 31px;
  }

  .hero-list {
    margin-bottom: 62px;
  }

  .hero-list__item {
    margin-bottom: 24px;
  }

  .hero-list__text {
    max-width: 200px;
    font-size: 12px;
    line-height: 12px;
  }

  .hero-list__image {
    margin-right: 15px;
  }

  .hero-image {
    width: 96%;
  }

  .offer {
    background: #ffffff;
  }

  .offer-block {
    width: 100%;
    padding-right: 0;
  }

  .offer__title {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 21px;
  }

  .offer__subtitle {
    font-size: 14px;
  }

  .offer__button {
    width: 96%;
    font-size: 14px;
    line-height: 18px;
    font-family: 'Museo Sans Bold', 'Trebuchet MS', 'Lucida Sans', Arial, sans-serif;
    font-weight: 700;
  }

  .offer__recall {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .offer__manager {
    width: 100%;
  }

  .offer__number {
    width: 100%;
  }

  .portfolio {
    background-image: none;
  }

  .portfolio__title {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 22px;
  }

  .portfolio__section {
    padding-top: 37px;
    padding-bottom: 46px;
  }

  .slider__item {
    width: 85%;
    margin-left: 15px;
  }

  .arrows {
    margin-top: 45px;
  }

  .cards {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .cheap-list {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .cheap-list__item {
    margin-right: 0;
    margin-bottom: 350px;
  }

  .cheap-list__item:last-child {
    margin-right: 0;
  }

  .cheap-list__image {
    top: 0;
  }

  .cheap-list__text {
    font-size: 12px;
    line-height: 17px;
  }

  .guarantee-list {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .guarantee-list__item {
    margin-right: 0;
  }

  .guarantee-list__item:last-child {
    margin-right: 0;
  }

  .guarantee-list__image {
    top: 0;
  }

  .no-webp .brif {
    background-image: url("../img/brief/pattern-bg.png"), url("../img/brief/bg.jpg"); }

  .brif {
    background-repeat: repeat-x, no-repeat;
    background-position: top center, bottom center;
    background-size: 100% 43%, cover;
  }

  .brif-block {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .brif__form {
    margin-top: 80px;
  }

  .interview-list__text {
    max-width: 190px;
  }

  .contacts__map {
    height: 600px;
  }

  .contacts__section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .contacts__map {
    width: 100%;
  }

  .contacts__adress {
    width: 40%;
    padding-left: 0;
  }

  .contacts__title {
    padding-top: 65px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 20px;
  }

  .contacts-list__item {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .price {
    padding-top: 33px;
    padding-bottom: 0;
  }

  .price__title {
    max-width: 95%;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    margin-bottom: 8px;
  }

  .price__subtitle {
    font-size: 14px;
    line-height: 45px;
    color: #000000;
    margin-bottom: 46px;
  }

  .card {
    margin-bottom: 29px;
  }

  .card__title {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 11px;
  }

  .card__link {
    font-size: 16px;
    line-height: 18px;
  }

  .card__text {
    padding-top: 30px;
    padding-bottom: 33px;
  }

  .advantages__block {
    padding-top: 23px;
    padding-bottom: 42px;
  }

  .advantages__title {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 22px;
  }

  .advantages__subtitle {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 31px;
  }

  .advantages-list__item {
    margin-right: 0;
  }

  .advantages-list__image {
    margin-bottom: 32px;
  }

  .advantages-list__text {
    font-size: 12px;
    line-height: 16px;
  }

  .cheap__title {
    padding: 75px 33px;
    font-size: 18px;
    line-height: 20px;
  }

  .cheap-list {
    margin-top: 46px;
  }

  .cheap-list__item {
    margin-bottom: 80%;
  }

  .cheap__section {
    padding-bottom: 0;
  }

  .guarantee__title {
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 20px;
  }

  .guarantee-list {
    margin-top: 46px;
    padding: 0 10px;
  }

  .guarantee-list__image {
    margin-bottom: 25px;
  }

  .guarantee-list__text {
    margin-bottom: 44px;
    padding: 0 25px;
    font-size: 14px;
    line-height: 17px;
  }
}

@media (max-width: 540px) {
  .contacts__adress {
    width: 80%;
  }

  .contacts-list {
    margin-left: 30px;
  }

  .contacts-list__item::before {
    left: -30px;
    top: 5px;
  }
}

.webp .offer { background-image: url(../img/offer/offer-bg.webp); }

.webp .portfolio { background-image: url(../img/portfolio/bg-patternBackground.webp); }

.webp .arrows__left { background-image: url(../img/portfolio/left-arrow.webp); }

.webp .arrows__right { background-image: url(../img/portfolio/left-arrow.webp); }

.webp .advantages-list__item:not(:last-child)::after { background-image: url(../img/advantages/arrow.webp); }

.webp .brif { background-image: url(../img/brief/pattern-bg.webp), url(../img/brief/bg.webp); }

@media (max-width: 768px) {

  .webp .brif { background-image: url(../img/brief/pattern-bg.webp), url(../img/brief/bg.webp); }
}