@font-face {
  font-family: "SegoeUI";
  font-weight: normal;
  src: url("../fonts/SegoeUI.woff2");
}
@font-face {
  font-family: "SegoeUI";
  font-weight: 700;
  src: url("../fonts/SegoeUI-Bold.woff2");
}
input, button, textarea, select {
  font-family: "SegoeUI", sans-serif;
}

body {
  font-family: "SegoeUI", sans-serif;
}

.pageWrapper {
  overflow: hidden;
  position: relative;
}

.container {
  width: 1200px;
}

.header {
  padding: 15px 0 30px;
}
.header-logo {
  margin-bottom: 10px;
}
.header-logo img {
  width: 250px;
}
.header-nav {
  padding: 0;
  margin: 0;
  height: 60px;
  border-top: 1px solid #DAE6EE;
  border-bottom: 1px solid #DAE6EE;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.header-nav ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.header-nav ul li {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-right: 80px;
}
.header-nav ul li:last-child {
  margin-right: 0;
}
.header-nav ul li a {
  text-decoration: none;
  outline: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 22px;
  letter-spacing: 0.5px;
  font-weight: normal;
  color: #2b2b2b;
  position: relative;
}
.header-nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  -webkit-transform: scale(0);
      -ms-transform: scale(0);
          transform: scale(0);
  background: #2b2b2b;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}
.header-nav ul li a:hover {
  text-decoration: none;
  color: #2b2b2b;
}
.header-nav ul li a:hover::before {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.main {
  padding: 80px 0;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}
.main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0.6)));
  background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}
.main-title {
  font-weight: 700;
  font-size: 104px;
  color: #fff;
  text-transform: uppercase;
  font-style: italic;
}
.main-subtitle {
  width: 700px;
  font-size: 36px;
  color: #fff;
  line-height: 44px;
  margin-top: 40px;
}

.footer {
  padding: 50px 0;
  text-align: center;
  background-color: #567fac;
  color: #fff;
  font-size: 14px;
}

.location {
  padding: 135px 0;
}
.location-title {
  font-style: italic;
  font-size: 42px;
  line-height: 1.23;
  font-weight: bold;
  color: #2b2b2b;
}
.location-subtitle {
  margin: 40px 0 30px;
  font-size: 22px;
  line-height: 150%;
  color: #2b2b2b;
}

.contact {
  padding: 135px 0;
  background-color: #57d8c9;
}
.contact-title {
  font-style: italic;
  color: #fff;
  font-size: 42px;
  line-height: 125%;
  margin-bottom: 90px;
}
.contact-list {
  margin-left: -20px;
  margin-right: -20px;
}
.contact-block {
  padding-right: 20px;
  padding-left: 20px;
  width: 33.3333333333%;
}
.contact-item {
  min-height: 100%;
  background-color: rgb(255, 255, 255);
  border-radius: 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px 0px;
          box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 10px 0px;
  padding: 30px 30px 40px;
}
.contact-item__title {
  font-size: 22px;
  line-height: 135%;
  font-weight: bold;
  font-style: italic;
  color: #2b2b2b;
  margin-bottom: 10px;
}
.contact-item__text {
  font-size: 20px;
  line-height: 155%;
  color: #2b2b2b;
  margin-top: auto;
  
}
.contact-item__text a {
  text-decoration: none;
  color: #2b2b2b;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.contact-item__text a:hover {
  text-decoration: underline;
}

.works {
  padding: 135px 0;
  color: #fff;
  background-color: #567fac;
}
.works-title {
  font-style: italic;
  font-size: 42px;
  line-height: 125%;
  font-weight: bold;
}
.works-text {
  width: 600px;
  font-size: 24px;
  line-height: 150%;
  margin-bottom: 105px;
  margin-top: 40px;
}
.works-block {
  padding-right: 20px;
  padding-left: 20px;
  width: 25%;
}
.works-list {
  margin-right: -20px;
  margin-right: -20px;
}
.works-item__img {
  padding-top: 100%;
}
.works-item__img img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 2px solid #fff;
  left: 0;
  top: 0;
}
.works-item__text {
  margin-top: 25px;
  font-size: 22px;
  font-weight: bold;
  line-height: 135%;
}
.works-item__circle {
  position: absolute;
  right: -21px;
  top: 118px;
}
.works-item__circle span {
  width: 4px;
  height: 4px;
  display: block;
  border-radius: 100%;
  background-color: #222;
  margin-top: 4px;
}
.works-item__circle span:first-child {
  margin-top: 0;
}
.works-block:last-child .works-item__circle {
  display: none;
}

.question {
  padding: 135px 0;
}
.question-title {
  font-style: italic;
  font-size: 42px;
  line-height: 125%;
  font-weight: bold;
  color: #2b2b2b;
}
.question-subtitle {
  margin: 40px 0 105px;
  font-size: 22px;
  line-height: 150%;
  color: #2b2b2b;
}
.question-left {
  width: 560px;
}
.question-form {
  width: 500px;
}
.question-form input, .question-form textarea {
  display: block;
  margin-bottom: 35px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: none;
  border-bottom: 1px solid #b3b3b3;
  width: 100%;
  color: #2b2b2b;
  font-size: 16px;
}
.question-form input::-webkit-input-placeholder, .question-form textarea::-webkit-input-placeholder {
  color: #b3b3b3;
}
.question-form input::-moz-placeholder, .question-form textarea::-moz-placeholder {
  color: #b3b3b3;
}
.question-form input:-ms-input-placeholder, .question-form textarea:-ms-input-placeholder {
  color: #b3b3b3;
}
.question-form input::-ms-input-placeholder, .question-form textarea::-ms-input-placeholder {
  color: #b3b3b3;
}
.question-form input::placeholder, .question-form textarea::placeholder {
  color: #b3b3b3;
}
.question-form textarea {
  resize: vertical;
  min-height: 100px;
  display: block;
  max-height: 200px;
}
.question-btn {
  width: 160px;
  height: 60px;
  color: #ffffff;
  background-color: #57d8c9;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  border: none;
}
.question-btn:hover {
  color: #fff;
  background-color: #197a6f;
}
.question-label {
  margin-bottom: 30px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: relative;
}
.question-label input {
  width: 10px;
  height: 20px;
  opacity: 0;
  left: 0;
  top: 0;
  position: absolute;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.question-label b {
  display: block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  border: 2px solid #2b2b2b;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.question-label span {
  display: block;
  font-size: 15px;
  color: #2b2b2b;
  line-height: 150%;
  margin-top: -2px;
}
.question-label input:checked + b {
  background-image: url("../img/checkbox.svg");
}

.services {
  padding: 135px 0;
}
.services-title {
  font-size: 42px;
  font-weight: bold;
  font-style: italic;
  line-height: 125%;
  margin-bottom: 70px;
  color: #2b2b2b;
}
.services-block {
  width: 50%;
}
.services-item {
  padding-top: 100%;
  margin-top: 20px;
}
.services-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.services-item__text {
  bottom: 45px;
  left: 30px;
  font-style: italic;
  font-size: 24px;
  line-height: 150%;
  font-weight: bold;
  z-index: 2;
}
.services-item__img {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.services-item__big {
  padding-top: calc(200% + 20px);
}
.services-item__width {
  padding-top: calc(50% - 10px);
}
.services-item:hover img {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}
.services-itemsBlock {
  width: 50%;
}
.services-box__block {
  width: 50%;
}

@media (min-width: 1241px) and (min-height: 1111px) {
  .main {
    padding: 250px;
  }
}
@media (min-width: 1241px) and (max-height: 1110px) {
  .main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    min-height: calc(100vh - 176px);
  }
}
@media (min-width: 1350px) {
  .location-img {
    margin-left: -50px;
    margin-right: -50px;
    width: calc(100% + 100px);
    max-width: none;
  }
}
@media (max-width: 1240px) {
  .container {
    width: 960px;
  }
  .contact-list {
    margin-left: -10px;
    margin-right: -10px;
  }
  .contact-block {
    padding-right: 10px;
    padding-left: 10px;
  }
  .works-list {
    margin-left: 0;
    margin-right: 0;
  }
  .works-block {
    width: 254px;
    min-width: 254px;
    padding: 0;
    margin-left: -18px;
  }
  .works-block:first-child {
    margin-left: 0;
  }
  .question-left {
    width: 460px;
  }
  .question-form {
    width: 420px;
  }
  .services-item__text {
    left: 20px;
    bottom: 20px;
    font-size: 20px;
  }
}
@media (max-width: 1000px) {
  .container {
    width: 730px;
  }
  .header {
    padding: 40px 0 30px;
  }
  .header-logo {
    margin-bottom: 30px;
  }
  .header-logo img {
    width: 260px;
  }
  .header-nav {
    display: block;
    text-align: center;
    padding: 40px 0;
    height: auto;
  }
  .header-nav ul {
    display: block;
    padding: 0;
  }
  .header-nav ul li {
    display: block;
    width: 100%;
    margin: 20px 0 0 0;
  }
  .header-nav ul li:first-child {
    margin-top: 0;
  }
  .main {
    padding: 100px 0;
    background-attachment: inherit;
  }
  .main-title {
    margin-bottom: 54px;
    font-size: 70px;
    line-height: 70px;
  }
  .main-text {
    font-size: 18px;
    line-height: 26px;
  }
  .location {
    padding: 90px 0;
  }
  .location .container {
    width: 100% !important;
    padding: 0 !important;
  }
  .contact-title {
    margin-bottom: 85px;
  }
  .contact-block {
    width: 100%;
    margin-top: 20px;
  }
  .contact-block:first-child {
    margin-top: 0;
  }
  .contact-item {
    min-height: 185px;
    padding: 30px;
  }
  .works {
    padding: 90px 0;
  }
  .works-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .works-text {
    font-size: 22px;
    margin-bottom: 45px;
    margin-top: 0;
  }
  .works-list {
    display: block;
    width: 254px;
    max-width: 100%;
    margin: 0 auto;
  }
  .works-item__circle {
    top: auto;
    bottom: -59px;
    left: calc(50% - 2px);
  }
  .works-item__circle span {
    margin-top: 8px;
  }
  .works-item__circle span:nth-child(4), .works-item__circle span:nth-child(5) {
    display: none;
  }
  .works-block {
    padding: 0;
    width: 100%;
    margin: 0 0 92px;
  }
  .question {
    padding: 90px 0;
  }
  .question-img {
    width: 100%;
  }
  .question-list {
    display: block;
  }
  .question-left {
    width: 100%;
    margin-bottom: 40px;
  }
  .question-form {
    width: 100%;
  }
  .question-form input, .question-form textarea {
    height: 50px;
    font-size: 16px;
    margin-bottom: 30px;
  }
  .question-form textarea {
    min-height: 70px;
    max-height: 140px;
  }
  .question-subtitle {
    margin: 20px 0 60px;
  }
  .question-title {
    font-size: 30px;
  }
  .services-block {
    width: 100%;
  }
  .services-item__text {
    left: 30px;
    bottom: 30px;
    font-size: 22px;
  }
  .services {
    padding: 90px 0;
  }
  .services-title {
    font-size: 30px;
    margin-bottom: 50px;
  }
  .contact-item__text {
    font-size: 14px;
    
  }
  .contact-item {
    min-height: 200px;
  }
}
@media (max-width: 767px) {
  .container {
    width: 540px;
  }
  .main-subtitle {
    font-size: 30px;
  }
  .main-title {
    font-size: 60px;
    line-height: 60px;
  }
  .question-btn {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  .main {
    padding: 120px 0;
  }
  .main-subtitle {
    font-size: 30px;
    line-height: 38px;
  }
  .main-title {
    font-size: 34px;
    line-height: 38px;
    margin-bottom: 30px;
  }
  .contact {
    padding: 100px 0;
  }
  .contact-title {
    font-size: 30px;
    margin-bottom: 75px;
  }
  .footer {
    font-size: 12px;
  }
  .location-title {
    font-size: 30px;
    line-height: 125%;
  }
  .location-subtitle, .location-title {
    padding-left: 20px;
    padding-right: 20px;
  }
  .services .col {
    width: 100% !important;
  }
  .services-item {
    margin-top: 20px !important;
    padding-top: 100% !important;
  }
}
@media (max-width: 359px) {
  .main-subtitle {
    font-size: 24px;
    line-height: 30px;
  }
  .main-title {
    font-size: 30px;
    line-height: 34px;
  }
}