/***
   style reset 
***/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
a {
  cursor: pointer;
  color: #1a1a1a;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
}

fieldset {
  border: none;
}
table {
  border-collapse: collapse;
}
input,
textarea {
  -webkit-user-select: auto;
}
textarea {
  white-space: revert;
}
meter {
  -webkit-appearance: revert;
  appearance: revert;
}
:where(pre) {
  all: revert;
}
::placeholder {
  color: unset;
}
::marker {
  content: initial;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Helvetica Bold";
  src: url(font/Helvetica-Bold.ttf);
  font-weight: 700;
}
@font-face {
  font-family: "Helvetica";
  src: url(font/Helvetica.ttf);
  font-weight: 400;
}
body {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 400;
}

[class*="_container"] {
  max-width: 550px;
  margin: 0 auto;
  width: 100%;
}
section {
  overflow: hidden;
}
.main {
  display: flex;
  flex-direction: column;
  padding-bottom: 200px;
  width: 100%;
}
.promo {
  background-color: #000;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.promo__container {
  position: relative;
  padding: 125px 0;
}
.promo__img {
  opacity: 0.2;
  position: absolute;
  top: -135px;
  left: 50%;
  width: 1200px;
  max-width: 1200px;
  min-width: 700px;
  transform: translate(-50%, 0%);
}
.promo__title {
  font-size: 50px;
  font-family: "Helvetica Bold";
  line-height: 1.55;
  font-weight: 700;
  position: relative;
  width: fit-content;
}
.promo__title img {
  position: absolute;
  left: calc(100% + 0px);
  bottom: 11px;
}

.promo__subtitle {
  font-size: 20px;
  line-height: 1.2;
  font-family: "Helvetica";
  font-weight: 400;
  max-width: 480px;
}

.form label,
.form legend {
  color: #000;
  font-weight: 500;
  font-family: "Helvetica";
  font-size: 30px;
  padding-right: 10px;
  margin-bottom: 5px;
}
.form label span,
.form legend span {
  opacity: 0.7;
  font-size: 14px;
  font-weight: 300;
}
.form input {
  color: #000;
  border: none;
  border-bottom: 2px solid #000;
  background-color: #fff;
  font-size: 20px;
  font-weight: 400;
  height: 50px;
  outline: none;
  cursor: pointer;
  border-radius: 0;
  width: 100%;
}

input[type="text"]::placeholder {
  opacity: 0.6;
}
input[type="text"]:active {
  outline: none;
}
input[type="text"]:focus::placeholder {
  color: transparent;
}
.form fieldset {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form button {
  color: #000000;
  border: 2px solid #000000;
  background-color: #f4fe31;
  border-radius: 80px;
  font-family: Helvetica;
  font-weight: 500;
  font-size: 30px;
  width: 392px;
  height: 74px;
  padding: 0 15px;
  display: block;
  margin-top: 50px;
  cursor: pointer;
}

.form__checkbox label {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  font-family: Helvetica;
  margin: 5px 0;
  position: relative;
  cursor: pointer;
}
.form__checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  cursor: pointer;
  height: auto;
}
.form__checkbox .check {
  display: inline-block;
  vertical-align: middle;
  height: 20px;
  width: 20px;
  border: 2px solid #000;
  box-sizing: border-box;
  margin-right: 10px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  opacity: 1;
  position: relative;
  cursor: pointer;
}
.form__checkbox .check:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

.form__checkbox input[type="checkbox"]:checked ~ .check:after {
  display: block;
}
.form__text-bottom {
  margin-top: 15px;
  font-size: 13px;
  text-align: left;
  color: #000;
  font-weight: 500;
  font-family: Helvetica;
  max-width: 256px;
}
.footer {
  background-color: #000000;
}
.footer__container {
  color: #fff;
  padding: 60px 42px 80px 42px;
  max-width: 1200px;
  position: relative;
}

.footer__socials {
  position: absolute;
  bottom: 80px;
  right: 42px;
  display: flex;
  gap: 20px;
}
.footer__title {
  font-size: 33px;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.45;
  font-weight: 600;
}
.footer__address {
  font-size: 20px;
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
  font-weight: 400;
}

@media (max-width: 1199px) {
  .promo__img {
    width: 110%;
  }
}

@media (max-width: 600px) {
  [class*="_container"] {
    padding: 0 45px;
  }

  .main {
    padding-bottom: 100px;
  }

  .promo__container {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .promo__img {
    height: 140%;
    width: auto;
    top: -50px;
    left: -120px;
    transform: none;
  }
  .promo__title {
    font-size: 35px;
    line-height: 1;
  }
  .promo__title img {
    position: relative;
    left: inherit;
    bottom: inherit;
    width: 220px;
    height: auto;
    margin-left: -15px;
    margin-top: 20px;
  }

  .promo__subtitle {
    font-size: 12px;
    margin-top: 15px;
  }

  .form label,
  .form legend {
    font-weight: 500;
    font-size: 18px;
  }
  .form label span,
  .form legend span {
    opacity: 0.7;
    font-size: 14px;
    font-weight: 300;
  }
  .form input {
    border-bottom: 1px solid #000;
    font-size: 15px;
    font-weight: 400;
    height: 30px;
  }

  .form fieldset {
    margin-top: 30px;
  }

  .form button {
    margin-top: 30px;
    font-size: 17px;
    width: 180px;
    height: 40px;
  }

  .form__checkbox label {
    font-size: 13px;
    margin: 5px 0px;
    padding-bottom: 0;
  }

  .footer__container {
    padding: 48px 42px 80px 42px;
  }

  .footer__socials {
    position: relative;
    margin-left: auto;
    bottom: inherit;
    right: inherit;
    gap: 15px;
    float: right;
  }
  .footer__title {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .footer__address {
    font-size: 12px;
  }
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  overflow: auto;
  outline: 0;
  -webkit-transition: display 0.15s linear;
  -o-transition: display 0.15s linear;
  transition: display 0.15s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
  display: none;
}

.modal.show { 
  display: flex;
}

.modal-content {
  background: #f5f5f5;
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.3) !important;
  border-radius: 20px !important;
  padding: 40px 30px;
  border: 0;
  width: 100%;
  max-width: 450px;
  position: relative;
}

.modal-content h3 {
  font-weight: bold;
  font-size: 37px;
  line-height: 177.3%;
  text-align: center;
  color: #000000;
  margin-bottom: 25px;
}
.modal-body img { 
  margin-top: 25px;
}
.modal-content p {
  font-weight: 500;
  font-size: 27px;
  line-height: 111.8%;
  text-align: center;
}

.modal-content .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 31px;
  outline: none !important;
  opacity: 0.7;
  text-shadow: none !important;
  font-weight: 400 !important;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  border-radius: 20px;
}
