html {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1;
  color: #1f373d;
}

#wrapper {
  position: relative;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

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

.btn {
  display: inline-block;
  border: none;
  background: #ffcc01;
  padding: 12px 25px;
  border-radius: 5px;
}

/* header */

.header {
  padding: 16px 0;
}

.header a {
  color: #1f373d;
  text-decoration: none;
}

.header-logo {
  margin-left: 1px;
  margin-right: 15px;
}

.header-box {
  display: flex;
  align-items: center;
}

.header-nav {
  flex-grow: 1;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.header-nav a:hover {
  text-decoration: underline;
}

.header-login {
  margin-left: 69px;
}

.login-list {
  display: flex;
  align-items: center;
  list-style: none;
}

.login-list li + li {
  padding-left: 22px;
}

.login-list .btn {
  transition: 0.5s ease-in;
}

.login-list .btn:hover {
  background-color: #1f373d;
  color: #fff;
  text-decoration: none;
}

.nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

#menu__toggle {
  opacity: 0;
}

.nav-list {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list li + li {
  padding-left: 30px;
}

/* header end */

/* main */

/*section-banner */

.section-banner {
  position: relative;
}

.section-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 27%;
  background: #97becf;
}

.banner-wrap {
  position: relative;
  z-index: 1;
  padding-top: 97px;
}

.banner-wrap .link-down {
  font-size: 12px;
  color: #919eb1;
  font-weight: 600;
  position: absolute;
  bottom: 75px;
  left: -29px;
  transform: rotate(-90deg);
  text-decoration: none;
}

.banner-wrap .link-down::before {
  content: url("img/arrow.svg");
  position: absolute;
  transform: rotate(90deg);
  left: -30px;
  bottom: -9px;
}

.banner-top {
  margin-bottom: 140px;
  max-width: 580px;
  width: 100%;
}

.banner-top .main-title {
  font-size: 61px;
  line-height: 1.27;
  color: #1f373d;
  letter-spacing: -3px;
  margin-bottom: 46px;
}

.banner-top .form-group {
  display: flex;
  margin-left: 8px;
}

.banner-top input {
  height: 70px;
  max-width: 360px;
  width: 100%;
  border: none;
  font-size: 15px;
  line-height: 1;
  background: url(img/search.svg) no-repeat;
  background-position: 10px 50%;
  background-size: auto;
  padding: 10px 10px 10px 35px;
  background-color: #fff;
  border-radius: 5px 0 0 5px;
  border: none;
}

.banner-top input + .btn {
  border-radius: 0 5px 5px 0;
  margin-left: -1px;
}

.banner-top .btn {
  height: 70px;
  max-width: 115px;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.4s ease-in;
}

.banner-top .btn:hover {
  color: #fff;
}

.banner-bottom {
  display: flex;
  justify-content: flex-end;
}

.banner-bottom .contacts-list {
  max-width: 590px;
  width: 100%;
  min-height: 80px;
  margin: 0;
  background-color: #ffcc01;
  font-size: 18px;
  padding-top: 30px;
  padding-right: 25px;
  display: flex;
  justify-content: space-around;
  list-style: none;
}

.contacts-list a {
  padding-left: 50px;
  text-decoration: none;
  color: #1f373d;
  font-weight: bold;
  position: relative;
}

.contacts-list .phone::before {
  content: url("img/phone.svg");
}

.contacts-list .address::before {
  content: url("img/map.svg");
}

.contacts-list a::before {
  position: absolute;
  top: 0;
  left: 5px;
}

/* section-statistics */

.section-statistics .statistics-wrap {
  display: flex;
  justify-content: space-between;
  padding: 150px 0 78px 0;
}

.section-statistics .statistics-text {
  line-height: 30px;
  max-width: 538px;
  width: 100%;
  letter-spacing: -0.5px;
}

.section-statistics h2 {
  font-size: 40px;
  line-height: 50px;
  margin: 0 0 51px 0;
  letter-spacing: -1px;
}

.section-statistics p:nth-child(3) {
  margin-top: 30px;
}

.statistic-blocks {
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex-wrap: wrap;
  max-width: 430px;
  width: 100%;
  margin-top: -30px;
}

.statistic-block {
  max-width: 200px;
  width: 100%;
  min-height: 200px;
  background-color: #f6f5f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 45px;
  font-size: 14px;
  font-weight: 800;
  padding: 0 25px;
  margin-top: 30px;
}

.statistic-block .number {
  font-size: 40px;
  color: #ffcc01;
}

/*section-apartments */

.section-apartments {
  background-color: #f6f5f4;
}

.apartments-wrap {
  padding: 14px 0 80px 0;
}

.section-apartments .title {
  max-width: 440px;
  width: 100%;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -1px;
  margin-bottom: 75px;
}

.section-apartments .card-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  margin-top: -35px;
  margin-bottom: 61px;
}

.section-apartments .card {
  max-width: 350px;
  width: 100%;
  min-height: 500px;
  background: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.151);
  transition: 0.3s ease-in;
  margin-top: 35px;
}

.section-apartments .card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.151);
}

.section-apartments .card-top {
  min-height: 380px;
  background: #b1d7e8;
}

.section-apartments .card a {
  text-decoration: none;
  color: inherit;
}

.section-apartments .card a:hover {
  transition: opacity 0.3s ease-in;
  opacity: 0.7;
}

.section-apartments .card-bottom {
  min-height: 120px;
  padding: 25px 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-apartments .address {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-apartments .price {
  font-size: 13px;
  color: #919eb1;
  display: flex;
  justify-content: space-between;
  letter-spacing: -1px;
}

.section-apartments .number {
  font-weight: bold;
  color: #ffcc01;
  font-size: 18px;
}

.section-apartments .ba,
.section-apartments .bd {
  padding-left: 35px;
  position: relative;
}

.section-apartments .ba::before,
.section-apartments .bd::before {
  position: absolute;
  bottom: -3px;
  left: 13px;
}

.section-apartments .ba::before {
  content: url("img/ba.svg");
}

.section-apartments .bd::before {
  content: url("img/bd.svg");
}

.section-apartments .buttons {
  display: flex;
}

.section-apartments .form-group {
  display: flex;
}

.section-apartments input {
  height: 70px;
  min-width: 360px;
  border: none;
  font-size: 15px;
  line-height: 1;
  background: url(img/search.svg) no-repeat;
  background-position: 26px 50%;
  background-size: auto;
  padding: 10px 10px 10px 55px;
  background-color: #fff;
  border-radius: 5px 0 0 5px;
  border: none;
}

.section-apartments input + .btn {
  border-radius: 0 5px 5px 0;
  margin-left: -1px;
}

.section-apartments .btn {
  font-size: 15px;
  font-weight: 600;
  height: 70px;
  max-width: 115px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.4s ease-in;
}

.section-apartments .btn:hover {
  color: #fff;
}

.section-apartments .view-btn {
  display: block;
  background: #fff;
  border-radius: 5px;
  height: 70px;
  max-width: 250px;
  width: 100%;
  margin-left: 46px;
  text-transform: capitalize;
  font-size: 15px;
  letter-spacing: -1px;
  text-decoration: none;
  color: #1f373d;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.5s ease-in;
}

.section-apartments .view-btn:hover {
  background-color: #ffcc01;
}

/* section-how-it-works */

.how-it-works-wrap {
  line-height: 30px;
  padding: 20px 0 50px 0;
}

.section-how-it-works .text {
  max-width: 338px;
  width: 100%;
  margin-bottom: 70px;
  letter-spacing: -1px;
}

.section-how-it-works .title {
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 0px;
  letter-spacing: -2px;
}

.section-how-it-works .cards-box {
  max-width: 1110px;
  width: 100%;
  padding: 0 1px;
  display: flex;
  justify-content: space-between;
}

.section-how-it-works .card {
  max-width: 345px;
  width: 100%;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.096);
  position: relative;
  padding: 125px 70px 46px;
  background: #fff;
  transition: 0.5s ease-in;
  overflow: hidden;
}

.section-how-it-works .card:hover {
  background: #ffcc01;
  color: #fff;
}

.section-how-it-works .number {
  position: absolute;
  top: 5px;
  left: -40px;
  font-weight: bold;
  font-size: 175px;
  letter-spacing: -5px;
}

.section-how-it-works .card-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 63px;
  margin: 0;
  position: relative;
}

.section-how-it-works .card-title::before {
  position: absolute;
  top: 0;
  left: -30px;
}

.section-how-it-works .card:first-child .card-title::before {
  content: "01";
}

.section-how-it-works .card:nth-child(2) .card-title::before {
  content: "02";
}

.section-how-it-works .card:nth-child(3) .card-title::before {
  content: "03";
}

.section-how-it-works .card p {
  margin: 0 0 16px 0;
}

.section-how-it-works .card-link {
  font-weight: 800;
  padding: 7px 0;
  border-bottom: 2px solid;
  color: #1f373d;
  text-decoration: none;
  transition: 0.5s ease-in;
}

.section-how-it-works .card:hover .card-link {
  color: #fff;
}

.section-how-it-works .card-link:hover {
  opacity: 0.6;
  transition: opacity 0.3s ease-in;
}

/* section-services */

.section-services .text {
  max-width: 353px;
  width: 100%;
  letter-spacing: -0.5px;
  line-height: 30px;
  margin-bottom: 62px;
}

.section-services .title {
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 0;
  margin-top: 28px;
  letter-spacing: -2px;
}

.section-services .helper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 45px;
}

.section-services .img {
  max-width: 660px;
  width: 100%;
  height: 630px;
  margin-right: -15px;
  background-color: #acd1e1;
  position: relative;
  left: -110px;
}

.section-services .services-list {
  list-style: none;
  max-width: 475px;
  line-height: 30px;
  letter-spacing: -0.5px;
  margin: 0;
  margin-right: 10px;
}

.section-services .services-title {
  font-size: 25px;
  line-height: 35px;
  margin: 0 0 20px 0;
  padding-left: 3px;
}

.section-services .services-text {
  margin: 0;
}

.section-services .services-item {
  margin-bottom: 45px;
}

/* section-agents */

.section-agents {
  background-color: #f6f5f4;
}

.agents-wrap {
  padding: 17px 0 100px 0;
}

.section-agents .text {
  max-width: 358px;
  letter-spacing: -0.4px;
  line-height: 30px;
  margin-bottom: 50px;
}

.section-agents .title {
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -2px;
  margin-bottom: 26px;
}

.section-agents .cards-box {
  display: flex;
  justify-content: space-between;
}

.section-agents .card {
  width: 350px;
  height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.144);
  transition: 0.3s ease-in;
}

.section-agents .card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.151);
}

.section-agents .card-top {
  flex-grow: 1;
  background-color: #cdccce;
}

.section-agents .card-top .img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.section-agents .card-bottom {
  padding: 20px 20px 25px;
}

.section-agents .card-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-agents .social {
  display: flex;
  justify-content: space-between;
}

.section-agents .social .agent-link {
  font-size: 15px;
  font-weight: 700;
  color: #ffcc01;
  text-decoration: none;
  transition: opacity 0.2s ease-in;
}

.section-agents .social-links a {
  font-size: 0;
  text-decoration: none;
  transition: opacity 0.2s ease-in;
}

.section-agents a:hover {
  opacity: 0.6;
}

.social-links a:first-child {
  margin-right: 4px;
}

.social-links a + a {
  margin-left: 27px;
}

.social-links .fb::before {
  content: url("img/fb.svg");
}

.social-links .twi::before {
  content: url("img/twi.svg");
}

.social-links .net::before {
  content: url("img/net.svg");
}

/* section-add */

.section-add .row {
  margin-top: 90px;
  display: flex;
  justify-content: space-between;
}

.section-add .row:nth-child(2) {
  flex-direction: row-reverse;
}

.section-add .row:nth-child(3) {
  margin-bottom: 114px;
}

.section-add .text {
  line-height: 30px;
  letter-spacing: -0.5px;
  max-width: 440px;
  width: 100%;
}

.section-add .row:nth-child(2) .text {
  text-align: right;
}

.section-add .row:nth-child(3) .text {
  position: relative;
}

.section-add .row-title {
  font-size: 25px;
  line-height: 50px;
  letter-spacing: -1px;
  margin: 65px 0 0 0;
}

.section-add .row:nth-child(2) .row-title {
  margin: 54px 0 0 0;
}

.section-add .row:nth-child(3) .row-title {
  margin-top: 26px;
}

.section-add .img {
  max-width: 540px;
  width: 100%;
  height: 330px;
  background: #8da4be;
  position: relative;
}

.section-add .contacts-list {
  max-width: 335px;
  width: 100%;
  height: 80px;
  margin: 0;
  background-color: #ffcc01;
  font-size: 18px;
  padding-top: 30px;
  padding-right: 25px;
  padding-left: 18px;
  display: flex;
  justify-content: space-around;
  list-style: none;
  position: absolute;
  bottom: -43px;
  left: 105px;
  letter-spacing: -1px;
}

.section-add .row:nth-child(2) .contacts-list {
  bottom: -43px;
  left: 260px;
}

.section-add .show-btn {
  display: block;
  background: #1f373d;
  height: 79px;
  max-width: 240px;
  width: 100%;
  text-transform: capitalize;
  font-size: 18px;
  letter-spacing: -1px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  position: absolute;
  bottom: 15px;
  left: -3px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease-in;
}

.section-add .show-btn:hover {
  background-color: #ffcc01;
  color: #1f373d;
}

/* main end */

/* footer */

.footer {
  background-color: #1f373d;
  color: #fff;
}

.footer-wrap {
  padding: 55px 0 80px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  margin-bottom: 80px;
}

.footer-slogan {
  font-size: 40px;
  line-height: 50px;
  font-weight: 800;
  letter-spacing: -1px;
}

.footer-slogan span {
  display: block;
}

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

.footer .form-group {
  display: flex;
}

.footer input {
  min-width: 380px;
  flex-grow: 1;
  height: 70px;
  font-size: 15px;
  border: none;
  color: #919eb1;
  padding: 25px;
  border-radius: 0;
  background-color: #fff;
}

.footer input + .btn {
  max-width: 80px;
  width: 100%;
  font-size: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  cursor: pointer;
  height: 70px;
}

.footer input + .btn::before {
  content: url("img/arrow-right.svg");
  transition: opacity 0.3s ease-in;
}

.footer .btn:hover.btn::before {
  opacity: 0.5;
}

.footer-bottom {
  display: flex;
}

.footer-bottom .copyright-info {
  display: flex;
  flex-direction: column;
  margin-right: 245px;
  margin-left: 3px;
}

.footer-logo {
  margin-bottom: 65px;
}

.footer-bottom .copyright {
  display: block;
  max-width: 135px;
  width: 100%;
  font-size: 14px;
  line-height: 20.76px;
}

.footer-list-wrap + .footer-list-wrap {
  margin-left: 115px;
}

.footer-list-title {
  margin: 5px 0 35px;
  font-size: 13px;
  text-transform: uppercase;
  color: #919eb1;
}

.footer-list-item + .footer-list-item {
  margin-top: 23px;
}

.footer-list a {
  text-decoration: none;
  color: #fff;
}

.footer-list a:hover {
  text-decoration: underline;
}

/* footer end */

@media (max-width: 1600px) {
  .section-banner::before {
    left: 25%;
  }
}

@media (max-width: 1150px) {
  .container {
    max-width: 1000px;
  }

  .section-statistics .statistics-text {
    max-width: 500px;
  }

  .section-apartments .card-box {
    justify-content: space-around;
  }

  .section-apartments .buttons {
    margin-left: 67px;
  }

  .section-how-it-works .cards-box {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: -25px;
  }

  .section-how-it-works .card {
    margin-top: 25px;
  }

  .section-services .img {
    max-width: 460px;
    height: 430px;
    align-self: center;
    position: static;
  }

  .section-agents .card {
    max-width: 300px;
    max-height: 425px;
  }

  .section-agents .social {
    flex-direction: column;
  }

  .section-agents .card-bottom {
    padding: 20px 20px 14px;
  }

  .section-agents .social-links {
    margin-top: 15px;
  }

  .section-add .text {
    max-width: 365px;
  }

  .section-add .show-btn {
    max-height: 60px;
    max-width: 200px;
    bottom: 0px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 900px;
  }

  .header-box {
    flex-direction: column;
  }

  .header {
    padding-bottom: 0;
  }

  .banner-top .main-title {
    font-size: 50px;
    margin-bottom: 40px;
  }

  .banner-bottom .contacts-list {
    max-width: 540px;
    max-height: 75px;
    font-size: 16px;
  }

  .body .title {
    font-size: 35px;
  }

  .body .main-title {
    font-size: 40px;
  }

  .section-statistics .statistics-text {
    max-width: 375px;
  }

  .statistic-blocks {
    align-content: space-around;
  }

  .section-apartments .buttons {
    flex-direction: column;
  }

  .section-apartments .view-btn {
    margin: 25px 0 0 0;
  }

  .apartments-wrap {
    padding: 14px 0 45px 0;
  }

  .section-services .services-list {
    max-width: 360px;
  }

  .section-agents .cards-box {
    flex-direction: column;
    align-items: center;
  }

  .section-agents .card + .card {
    margin-top: 25px;
  }

  .agents-wrap {
    padding: 16px 0 70px 0;
  }

  .section-add .img {
    max-width: 420px;
    max-height: 270px;
  }

  .section-add .row:nth-child(2) .contacts-list {
    left: -20px;
  }

  .section-add .row-title {
    margin: 19px 0 0 0;
  }

  .section-add .show-btn {
    bottom: -80px;
  }

  .footer-wrap {
    padding: 42px 0 45px;
  }

  .footer-top {
    padding-bottom: 35px;
    margin-bottom: 65px;
  }

  .footer-slogan {
    font-size: 30px;
    line-height: 40px;
  }

  .footer input {
    min-width: 324px;
    height: 60px;
  }

  .footer input + .btn {
    height: 60px;
  }

  .footer-bottom .copyright-info {
    margin-right: 120px;
    margin-left: 0;
  }

  .footer-list-wrap + .footer-list-wrap {
    margin-left: 90px;
  }
}

@media (max-width: 767px) {
  /* header */

  .menu__btn {
    display: flex;
    align-items: center;
    position: static;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
  }

  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 26px;
    height: 2px;
    background-color: #616161;
  }
  .menu__btn > span::before {
    content: "";
    top: -8px;
  }
  .menu__btn > span::after {
    content: "";
    top: 8px;
  }

  .header-nav {
    position: relative;
    flex-direction: row-reverse;
    justify-content: space-between;
    width: 100%;
  }

  .nav {
    flex-grow: 0;
  }

  .header-login {
    margin-left: 0;
  }

  ul.nav-list {
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    position: absolute;
    background-color: #fff;
    z-index: 5;
    padding: 25px;
  }

  ul.nav-list li {
    padding-left: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.63);
  }

  ul.nav-list li + li {
    padding-top: 10px;
  }

  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }

  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }

  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }

  #menu__toggle:checked ~ ul.nav-list {
    visibility: visible;
    left: 0;
    top: 60px;
    width: 103%;
  }

  /* header end */

  .body .title {
    font-size: 30px;
  }

  .banner-wrap {
    padding-top: 54px;
  }

  .banner-top {
    margin-bottom: 110px;
    max-width: 359px;
  }

  .banner-top input {
    max-height: 60px;
  }

  .banner-top .btn {
    max-height: 60px;
  }

  .banner-bottom .contacts-list {
    max-width: 460px;
    max-height: 70px;
    font-size: 14px;
  }

  .contacts-list a::before {
    position: absolute;
    top: -2px;
    left: 12px;
  }

  .section-statistics .statistics-wrap {
    padding: 50px 0 34px 0;
  }

  .section-statistics h2 {
    margin: 0 0 19px 0;
  }
  .statistic-blocks {
    max-width: 325px;
    min-height: 347px;
    align-self: center;
  }

  .statistic-block {
    max-width: 150px;
    min-height: 150px;
  }

  .section-apartments .title {
    margin-bottom: 32px;
  }

  .section-apartments .card-box {
    min-height: 1248px;
  }

  .section-apartments .card {
    max-width: 290px;
    min-height: 390px;
  }

  .section-apartments .card-top {
    min-height: 275px;
  }

  .section-apartments input {
    max-height: 60px;
  }

  .section-apartments .btn {
    max-height: 60px;
  }

  .section-apartments .view-btn {
    max-height: 60px;
    max-width: 230px;
    font-size: 14px;
  }

  .section-services .text {
    margin-bottom: 40px;
  }

  .section-services .helper {
    flex-direction: column;
    align-items: center;
  }

  .section-services .img {
    margin-bottom: 33px;
  }

  .section-services .services-list {
    max-width: 498px;
  }

  .section-add .contacts-list {
    max-width: 269px;
    max-height: 60px;
    font-size: 16px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: -24px;
    left: 125px;
  }

  .section-add .row:nth-child(2) .contacts-list {
    bottom: -24px;
  }

  .section-add .row {
    margin-top: 35px;
    flex-direction: column;
    align-items: center;
  }

  .section-add .row:nth-child(2) {
    flex-direction: column;
  }

  .section-add .row:nth-child(2) .text {
    text-align: left;
  }

  .section-add .row:nth-child(1) .row-title {
    margin: 54px 0 0 0;
  }

  .footer-wrap {
    padding: 20px 0 30px;
  }

  .footer-top {
    margin-bottom: 45px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-slogan {
    margin-bottom: 20px;
  }

  .footer-bottom {
    padding-right: 15px;
  }

  .footer-list-title {
    margin: 5px 0 25px;
    font-size: 12px;
  }

  .footer-list-wrap + .footer-list-wrap {
    margin-left: 70px;
  }
}

@media (max-width: 575px) {
  body {
    font-size: 12px;
  }

  .body .title {
    font-size: 27px;
    line-height: 35px;
  }

  .banner-bottom .contacts-list {
    max-width: 390px;
    height: 50px;
    font-size: 12px;
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  .section-statistics .statistics-wrap {
    padding: 35px 0 34px 0;
    flex-direction: column;
  }

  .section-statistics p:nth-child(3) {
    margin-top: 0;
  }

  .apartments-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .section-apartments .title {
    margin-bottom: 30px;
    max-width: 290px;
  }

  .section-apartments .card {
    margin-bottom: 20px;
  }

  .section-how-it-works .card {
    max-width: 317px;
    width: 100%;
  }

  .section-apartments .card-box {
    margin-bottom: 25px;
  }

  .section-apartments input {
    min-width: 250px;
  }

  .section-add .show-btn {
    font-size: 17px;
  }

  .footer-bottom {
    padding-right: 15px;
    flex-wrap: wrap;
  }

  .footer-list-wrap {
    margin-right: 52px;
    margin-left: 0;
  }

  .footer-list-wrap + .footer-list-wrap {
    margin-left: 0;
  }

  .footer-list-wrap {
    margin-top: 25px;
  }
}

@media (max-width: 440px) {
  .banner-bottom .contacts-list {
    font-size: 10px;
  }

  .banner-wrap .link-down {
    display: none;
  }

  .section-apartments .buttons {
    margin-left: 0;
  }

  .section-apartments input {
    font-size: 13px;
    min-width: auto;
  }

  .section-apartments .btn {
    max-width: 75px;
  }

  .section-services .services-list {
    padding-left: 10px;
  }

  .section-how-it-works .card-title {
    font-size: 14px;
  }

  .section-add .contacts-list,
  .section-add .row:nth-child(2) .contacts-list {
    left: 16px;
  }

  .footer input {
    min-width: 210px;
    font-size: 13px;
    padding: 25px 10px;
  }
}