/* general styles */
a:hover,
a:focus,
a:active,
a {
  text-decoration: none;
}

button,
a,
input,
button:focus,
input:focus,
a:focus textarea:focus {
  outline: none;
}

a,
button,
label {
  cursor: pointer;
}

a,
button,
label,
input {
  border: none;
  background-color: transparent;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
}

body {
  position: relative;
  z-index: 1;
}

section,
footer,
header,
.section,
.footer,
.header {
  position: relative;
}

/* header row */
.wrapper {
  position: relative;
  max-width: 1170px;
  margin: 0 auto;
  padding-right: 45px;
  padding-left: 45px;
  z-index: 100;
}

.row {
  display: flex;

  margin-right: -15px;
  margin-left: -15px;
  flex-wrap: wrap;
}

h2,
.section-title {
  font-size: 40px;
  font-weight: 300;
  line-height: 50px;

  text-align: center;
}

.header {
  position: relative;
  z-index: 10;

  overflow: hidden;

  min-height: 100vh;
  padding-top: 20px;

  background-color: transparent;
  background-image: url("../img/header-bg-deafult.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.header-head {
  margin-right: -45px;
  margin-left: -45px;
}

.header-box {
  display: flex;
  align-items: center;
}

.header-box-img img {
  vertical-align: middle;
}

.header-box-img img.header-img_special {
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2), inset 0 3px 7px rgba(0, 0, 0, 0.3);
}

.header-box_logo {
  margin-left: 0;
}

.header-box_email {
  margin-left: 51px;
}

.header-box_adress {
  margin-left: 56px;
}

.header-box_call {
  flex-direction: column;

  margin-left: auto;

  text-align: right;
  justify-content: center;
  align-items: flex-end;
}

.header-box-text {
  font-family: "Panton-Light", Verdana, Geneva, Tahoma, sans-serif;

  max-width: 210px;
  margin-left: 18px;
}

.header-box-text p {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.header-box-text_logo h1 {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.header-box-text_email p {
  font-size: 13px;
  font-weight: 300;
  line-height: 18px;
}

.header-box-text_email p a {
  text-decoration: none;

  color: #35343c;
}

.header-box-text_adress p {
  font-size: 13px;
}

.header-box-text_adress p span {
  font-size: 12px;

  opacity: 0.55;
}

.header-phone {
  font-family: "Panton-SemiBold", Verdana, Geneva, Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 18px;

  display: block;

  margin-bottom: 13px;

  color: #35343c;
}

.header-button {
  font-size: 14px;
  font-weight: 300;

  position: relative;

  color: #35343c;
  border-bottom: 1px dashed #35343c;
}

.header-button:after {
  position: absolute;
  top: 50%;
  left: -20px;

  display: block;

  width: 12px;
  height: 12px;
  margin-top: -6px;

  content: "";

  background-image: url(../img/icon/phone-call.svg);
}

/* main block */
.main-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.main {
  position: relative;

  margin: 0 auto 0 -45px;
}

.main:before {
  position: absolute;
  top: 77px;
  left: -373px;

  display: block;

  width: 342px;
  height: 647px;

  content: "";

  background: transparent url(../img/header-el.png) center no-repeat;
  background-size: auto;
  background-size: 98%;
}

.main-title {
  font-family: "Panton-Light", Verdana, Geneva, Tahoma, sans-serif;

  max-width: 11.875em;
  margin-top: 144px;
  margin-bottom: 90px;

  text-align: left;
}

.main-small {
  font-family: "Panton-Light", Verdana, Geneva, Tahoma, sans-serif;
  font-size: 22px;
  line-height: 28px;

  margin-bottom: 30px;
  margin-left: 3.54545em;

  color: #35343c;
}

.main-right {
  position: relative;

  margin: 0 0 0 auto;
}

.main-right:before {
  position: absolute;
  top: 148px;
  left: 600px;

  display: block;

  width: 206px;
  height: 401px;

  content: "";

  background: transparent url(../img/header-el2.png) center no-repeat;
  background-size: auto;
  background-size: 100%;
}

.main-right-image {
  position: absolute;
  top: 4px;
  left: -254px;
}

.header:before {
  position: absolute;
  top: 0;
  left: 50%;

  display: block;

  width: 1120px;
  height: 800px;

  content: "";
  transform: translate(-45%);

  background: transparent url(../img/elipses.png) center no-repeat;
  background-size: 100%;
  opacity: 0.5;
}

.cta-form {
  max-width: 450px;
  margin-top: 23px;
  margin-right: -30px;

  background: transparent url(../img/background-form.png) 10px 8px no-repeat;
  background-size: 98%;
}

.cta-form-inn {
  margin-left: auto;
}

.form-inn {
  padding: 72px 31px 98px 42px;

  text-align: center;
}

.form-title {
  font-family: "Panton-SemiBold", Verdana, Geneva, Tahoma, sans-serif;
  font-size: 24px;
  width: 377px;

  margin: 15px 0;
}

.form-text {
  font-family: "Panton-Light", Verdana, Geneva, Tahoma, sans-serif;
  font-size: 18px;

  margin-bottom: 24px;

  text-align: center;
}

.form-input {
  width: 100%;
  max-width: 300px;
  margin-right: auto;
  margin-bottom: 15px;
  margin-left: auto;
  padding: 24px 30px 24px 61px;

  border: 1px solid transparent;
  border-radius: 5px;
  box-shadow: inset 0 5px 5px rgba(26, 26, 25, 0.05);
}

.form-input::-webkit-input-placeholder {
  font-size: 14px;
  font-weight: 300;

  color: #a8a8a8;
}

.form-input:-ms-input-placeholder {
  font-size: 14px;
  font-weight: 300;

  color: #a8a8a8;
}

.form-input::-ms-input-placeholder {
  font-size: 14px;
  font-weight: 300;

  color: #a8a8a8;
}

.form-input::-moz-placeholder {
  font-size: 14px;
  font-weight: 300;

  color: #a8a8a8;
}

.form-input::placeholder {
  font-size: 14px;
  font-weight: 300;

  color: #a8a8a8;
}

.form-input__name {
  background: #f8f8f8 url(../img/icon/man-user.svg) 30px 50% no-repeat;
  background-size: 12px 16px;
}

.form-input__email {
  background: #f8f8f8 url(../img/icon/email_gray.svg) 30px 50% no-repeat;
  background-size: 17px 13px;
}

.form-input__phone {
  background: #f8f8f8 url(../img/icon/phone-call_gray.svg) 30px 50% no-repeat;
  background-size: 16px;
}

.form-input.error {
  border: 1px solid #ff4f4f;
}

.form-input.valid {
  border: 1px solid #75d237;
}

.form-policy__check {
  position: absolute;
  z-index: -1;

  margin: 10px 0 0 20px;

  opacity: 0;
}

.form-policy__check:checked + .form-policy__text:after {
  display: block;
}

.form-policy__text {
  font-size: 11px;
  font-weight: 300;
  line-height: 16px;

  position: relative;

  display: inline-block;

  margin-top: 9px;
  padding: 0 0 0 27px;

  cursor: pointer;
  text-align: left;
  vertical-align: middle;

  color: #aeaeae;
}

.form-policy__text span {
  text-decoration: underline;

  color: #05b0f5;
  border-color: #05b0f5;
}

.form-policy__text:before {
  position: absolute;
  top: 0;
  left: 0;

  width: 15px;
  height: 14px;

  content: "";
  transition: 0.2s;

  border-width: 1px;
  border-style: solid;
  border-color: #aeaeae;
  border-radius: 2px;
  background-color: white;
}

.form-policy__text:after {
  position: absolute;
  top: 0;
  left: 0;

  display: none;

  width: 15px;
  height: 14px;

  content: "";
  transition: 0.2s;

  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  background: transparent url(../img/icon/tick.png) center no-repeat;
}

.label-error span {
  color: #ff4f4f;
}

.button {
  font-size: 15px;
  font-weight: 600;
  line-height: 48.43px;

  position: relative;

  display: inline-block;

  width: 100%;
  max-width: 310px;
  height: 81px;
  margin-top: 15px;
  padding-bottom: 10px;

  text-align: center;
  letter-spacing: 0.3px;
  text-transform: uppercase;

  color: #372609;
  background: url(../img/btn.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.button:after {
  display: inline-block;

  content: "";
}

@media screen and (max-width: 1200px) {
  .header-head {
    margin-right: -30px;
    margin-left: -30px;
  }

  .header-box {
    font-size: 3px;
  }

  .main {
    margin-right: -30px;
    margin-left: -30px;
  }

  .main-title {
    max-width: 383px;
    margin-left: 0;
  }

  .main-small {
    font-size: 20px;

    margin-left: 1.95em;
  }
}

.footer {
  position: relative;

  padding-top: 114px;

  background-color: transparent;
}

.footer .wrapper {
  position: absolute;
  z-index: 10;
  left: 50%;

  width: 100%;
  transform: translate(-50%);
}

.footer-title {
  text-align: left;
}

.footer-col-left {
  width: calc(58.33333% - 30px);
}

.footer-col-right {
  width: calc(41.66667% - 30px);
  margin-left: 25px;
}

.footer-row {
  display: flex;

  width: 100%;
  margin: 0 -45px;
  padding-right: 15px;
  padding-left: 0;

  flex-wrap: wrap;
}

.footer-row-bottom {
  height: auto;
  margin: 0 auto;
  padding: 0 15px 20px;
}

.footer-col-logo {
  font-size: 14px;
  display: flex;

  margin-right: 78px;
  margin-left: -20px;
  align-items: center;
}

.footer-col-legal {
  font-family: "Panton-SemiBold", Verdana, Geneva, Tahoma, sans-serif;
  display: flex;

  opacity: 0.4;
  align-items: center;
}

.footer-col-legal p {
  font-size: 12px;
  line-height: 16px;
}

.footer-col-privacy {
  font-family: "Panton-SemiBold", Verdana, Geneva, Tahoma, sans-serif;
  font-size: 12px;
  justify-self: flex-end;
  padding: 11px 0;

  margin: 0 0 0 auto;

  opacity: 0.4;
  justify-content: center;
}

.footer-col-privacy p {
  margin-left: -12px;
}

.footer-col-privacy p {
  font-size: 12px;
}

.footer-privacy-button {
  font-size: 12px;

  color: #35343c;
  border-bottom: 1px solid #000026;
}

@media screen and (max-width: 1084px) {
  .header {
    height: auto;
  }

  .header-box {
    font-size: 1px;
  }

  .header-box-text {
    max-width: 188px;
  }

  .header-phone {
    font-size: 18px;
  }

  .main-title {
    max-width: 300px;
    margin-bottom: 10px;
  }

  .main-small {
    margin-bottom: 30px;
    margin-left: 0;
  }

  .main-button {
    font-size: 8px;

    width: 400px;
    margin-bottom: 25px;
  }
}

@media screen and (max-width: 1021px) {
  .header {
    min-height: none;
  }

  .header-head {
    flex-direction: column;

    max-width: 270px;
    margin-right: auto;
    margin-left: auto;
    justify-content: flex-start;
  }

  .header-box {
    margin-bottom: 10px;
    margin-left: 0;
  }

  .header-box-img {
    min-width: 55px;

    text-align: center;
  }

  .header-box_call {
    margin-bottom: 0;
    margin-left: 75px;
    align-items: flex-start;
  }

  .main {
    width: 100%;
    margin: 0;
  }

  .main-right {
    width: 100%;
  }

  .main-right-image {
    position: relative;
    left: 0;

    text-align: center;
  }

  .main-title {
    max-width: 100%;
    margin-top: 20px;

    text-align: center;
  }

  .main-small {
    margin-left: 0;

    text-align: center;
  }

  .main-button {
    display: block;

    margin-right: auto;
    margin-left: auto;
  }

  .cta-form {
    margin: 0 auto;
  }

  .main-right::before {
    display: none;
  }

  .footer-col-privacy {
    margin-left: auto;
    padding-left: 20px;
  }

  .footer-col-legal {
    margin-right: auto;
  }

  .header:before {
    display: none;
  }
}

@media screen and (max-width: 780px) {
  .wrapper {
    padding-right: 15px;
    padding-left: 15px;
  }

  h2,
  .section-title {
    font-size: 26px;

    margin-top: 40px;
    margin-bottom: 25px;
  }

  h2 small,
  .section-title small {
    font-size: 20px;
  }

  .main-small {
    font-size: 16px;
  }

  .footer-col-privacy-block {
    width: 130px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 620px) {
  .footer-col {
    width: 100%;
  }

  .footer-col-legal p {
    margin: 0 auto;
  }
}

@media screen and (max-width: 560px) {
  .main {
    overflow: hidden;
  }

  .form-title {
    width: auto;

    margin: 0 0 15px 0;
  }
}

@media screen and (max-width: 470px) {
  .cta-form {
    background: none;
  }
}
