.accordion>li>a::before,
.btn::before,
.footer-email::before {
  content: "";
  position: absolute;
}

@font-face {
  font-family: FormulaCondensedLight;
  font-weight: 300;
  font-style: normal;
  src: url(../fonts/FormulaCondensedLight/FormulaCondensedLight.eot);
  src: url(../fonts/FormulaCondensedLight/FormulaCondensedLight.woff) format("woff"),url(../fonts/FormulaCondensedLight/FormulaCondensedLight.woff2) format("woff2");
}

body,
html {
  height: 100%;
}

p {
  margin-top: 0;
  margin-bottom: 15px;
}

circle,
path,
rect {
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
}

body {
  font-size: 22px;
  line-height: 1.2104;
  min-width: 375px;
  position: relative;
  font-family: Inter,system-ui;
  color: #1c1c1c;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  background: #e3e3e3;
  letter-spacing: .03em;
}

::-webkit-input-placeholder {
  color: #666;
  opacity: 1;
}

::-moz-placeholder {
  color: #666;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #666;
  opacity: 1;
}

::-ms-input-placeholder {
  color: #666;
  opacity: 1;
}

::placeholder {
  color: #666;
  opacity: 1;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

address {
  font-style: normal;
}

li,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  outline: 0;
  border: none;
  margin: 0;
  padding: 0;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  margin: 0;
}

a {
  color: inherit;
  -webkit-transition: all .3s linear;
  transition: all .3s linear;
  text-decoration: none;
  outline: 0;
}

img {
  max-width: 100%;
}

button {
  cursor: pointer;
  background: 0 0;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select::-ms-expand {
  display: none;
}

textarea {
  resize: none;
}

body.hidden {
  overflow: hidden;
}

.logo img,
.logo svg {
  display: block;
}

.header {
  padding-top: 64px;
}

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

.footer {
  padding: 0 42px;
}

.footer-wrap {
  padding: 88px 0 63px;
  background: #1c1c1c;
  max-width: 1833px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50px 50px 0 0;
}

.footer-box {
  max-width: 996px;
  margin-bottom: 140px;
}

.footer-box .h2 {
  color: #fff;
  margin-bottom: 55px;
}

.footer-box p {
  color: #fff;
  margin-bottom: 70px;
  max-width: 830px;
  letter-spacing: .06em;
}

.footer-bottom__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.footer-email {
  font-size: 18px;
  color: #fff;
  position: relative;
  letter-spacing: 0;
}

.footer-email::before {
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

.footer-email:hover::before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.copyright {
  font-size: 18px;
  color: #6c6c6c;
  letter-spacing: .01em;
  position: relative;
  left: 9px;
}

.btn {
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  position: relative;
}

.btn::before {
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

.btn:hover::before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 33px;
  margin-bottom: 22px;
}

.socials a:hover path {
  fill: #e3e3e3;
}

.section-box {
  padding: 0 42px;
}

.h1 {
  font-size: 76px;
  line-height: 1;
  font-family: FormulaCondensedLight,serif;
  color: #6c6c6c;
  margin-bottom: 19px;
  letter-spacing: .06em;
}

.h1 span {
  color: #1c1c1c;
}

.h2 {
  font-size: 58px;
  line-height: 1.125;
  font-family: FormulaCondensedLight,serif;
  color: #6c6c6c;
  letter-spacing: .06em;
}

.h2 span {
  color: #1c1c1c;
}

.h3 {
  font-size: 30px;
  line-height: 1.125;
  font-family: FormulaCondensedLight,serif;
  color: #6c6c6c;
  letter-spacing: .06em;
}

.h3 span {
  color: #1c1c1c;
}

.main {
  overflow: hidden;
}

.p5Canvas {
  max-width: 100%;
  min-height: 790px;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 42px;
}

.hero {
  padding: 49.5vh 0 120px;
}

.hero p {
  margin: 0;
  font-size: 28px;
  line-height: 1.2857;
  max-width: 880px;
  padding-left: 3px;
  letter-spacing: .06em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media only screen and (max-width:1199px) {
  .hero p {
    font-size: 24px;
  }
}

@media only screen and (max-width:1023px) {
  .hero p {
    font-size: 20px;
  }
}

@media only screen and (max-width:767px) {
  .hero p {
    font-size: 16px;
    line-height: 1.25;
  }
}

.hero .h1 {
  max-width: 990px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.box {
  max-width: 1833px;
  width: 100%;
  margin: 0 auto;
  border-radius: 50px;
  padding: 106px 0 100px;
}

.box-black {
  background: #1c1c1c;
}

.box-white {
  background: #fff;
}

.intro {
  margin-bottom: 45px;
}

.intro-box {
  max-width: 1102px;
  margin-left: auto;
  padding-right: 30px;
}

.intro-box .h3 {
  margin-bottom: 140px;
}

.intro-box p {
  margin: 0;
  color: #fff;
  letter-spacing: .06em;
}

.services .h3 {
  margin-bottom: 115px;
}

.services-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 64px;
}

.services-item {
  width: 45%;
}

.services-item:first-child {
  width: 55%;
}

.services .box {
  padding-top: 99px;
  padding-bottom: 88px;
}

.services .accordion {
  padding-top: 10px;
}

.accordion-hidden {
  padding-left: 61px;
  letter-spacing: .05em;
  font-size: 18px;
}

.accordion>li {
  margin-bottom: 36px;
}

.accordion>li:last-child {
  margin-bottom: 0;
}

.accordion>li:first-child {
  margin-bottom: 46px;
}

.accordion>li>a {
  display: block;
  font-size: 24px;
  line-height: 1.21;
  padding-left: 61px;
  position: relative;
  letter-spacing: .06em;
  margin-bottom: 20px;
}

.accordion>li>a.active::before {
  background: url(../img/minus.svg) no-repeat center center;
  background-size: contain;
}

.accordion>li>a::before {
  left: 0;
  top: 4px;
  -webkit-transition: all .35s ease;
  transition: all .35s ease;
  width: 24px;
  height: 24px;
  background: url(../img/plus.svg) no-repeat center center;
  background-size: contain;
}

.why {
  padding: 145px 0 148px;
}

.why .h3 {
  margin-bottom: 119px;
}

.why-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 74px;
  padding: 0 10px;
}

.why-item {
  width: 33.333%;
}

.why-item__head {
  font-size: 24px;
  letter-spacing: .06em;
  margin-bottom: 39px;
}

.why-item p {
  margin: 0;
  letter-spacing: .05em;
  font-size: 18px;
}

.faq {
  margin-bottom: 45px;
}

.faq .h3 {
  margin-bottom: 108px;
}

.faq .box {
  padding-bottom: 79px;
}

.faq .accordion {
  max-width: 693px;
}

.faq .accordion li {
  margin-bottom: 26px;
}

.faq .accordion li:first-child {
  margin-bottom: 46px;
}

.faq .accordion li:last-child {
  margin-bottom: 0;
}

@media only screen and (max-height:790px) {
  .hero {
    padding-top: 46vh;
  }
}

@media only screen and (max-height:680px) {
  .hero {
    padding-top: 36vh;
  }
}

@media only screen and (max-width:1550px) {
  .why-row {
    gap: 48px;
  }
  .why-item__head {
    min-height: 108px;
  }
}

@media only screen and (max-width:1199px) {
  .hero {
    padding-top: 412px;
  }
  .header {
    padding-top: 42px;
  }
  .intro-box {
    padding-right: 0;
  }
  .services-row {
    display: block;
  }
  .services-item {
    width: 100% !important;
  }
  .services-item .h2 {
    margin-bottom: 40px;
  }
  .why-row {
    padding: 0;
    gap: 24px;
  }
}

@media only screen and (max-width:1023px) {
  .container {
    padding: 0 24px;
  }
  .h1 {
    font-size: 72px;
  }
  .h2 {
    font-size: 48px;
  }
  .section-box {
    padding: 0 24px;
  }
  .box {
    padding: 75px 0;
  }
  .intro-box .h3 {
    margin-bottom: 60px;
  }
  .accordion>li {
    margin-bottom: 20px;
  }
  .services .h3 {
    margin-bottom: 60px;
  }
  .why {
    padding: 100px 0;
  }
  .why .h3 {
    margin-bottom: 60px;
  }
  .why-item__head {
    font-size: 24px;
  }
  .faq .box {
    padding: 75px 0;
  }
  .faq .h3 {
    margin-bottom: 60px;
  }
  .footer {
    padding: 0 24px;
  }
}

@media only screen and (max-width:767px) {
  .p5Canvas {
    min-height: 614px;
    height: 614px !important;
  }
  body {
    font-size: 16px;
  }
  .logo svg {
    max-width: 101px;
  }
  .header {
    padding-bottom: 232px;
    padding-top: 24px;
  }
  .container {
    padding: 0 27px;
  }
  .h1 {
    font-size: 46px;
    line-height: 1.0869;
    margin-bottom: 17px;
  }
  .h2 {
    font-size: 36px;
    line-height: 1.111;
  }
  .h3 {
    font-size: 26px;
  }
  .hero {
    padding-bottom: 39px;
    padding-top: 0;
  }
  .hero p {
    padding-left: 0;
    max-width: 340px;
    letter-spacing: .03em;
  }
  .hero .container {
    padding-right: 12px;
  }
  .section-box {
    padding: 0 7px;
  }
  .box {
    border-radius: 30px;
  }
  .box .container {
    padding: 0 19px;
  }
  .intro {
    margin-bottom: 20px;
  }
  .intro-box .h3 {
    margin-bottom: 43px;
  }
  .intro .box {
    padding-top: 138px;
    padding-bottom: 43px;
  }
  .intro .box p {
    letter-spacing: .03em;
  }
  .services .container {
    padding-right: 5px;
  }
  .services .box {
    padding-top: 70px;
    padding-bottom: 48px;
  }
  .services .h3 {
    margin-bottom: 42px;
  }
  .services .h2 {
    margin-bottom: 80px;
  }
  .accordion-hidden {
    font-size: 16px;
    line-height: 1.2;
    padding-left: 27px;
    letter-spacing: .03em;
  }
  .accordion>li {
    margin-bottom: 13px;
  }
  .accordion>li:first-child {
    margin-bottom: 13px;
  }
  .accordion>li>a {
    font-size: 20px;
    padding-left: 27px;
    letter-spacing: .04em;
  }
  .accordion>li>a::before {
    width: 18px;
    height: 18px;
  }
  .why .h3 {
    margin-bottom: 51px;
  }
  .why-row {
    display: block;
  }
  .why-item {
    width: 100%;
    margin-bottom: 40px;
  }
  .why-item p {
    font-size: 16px;
  }
  .why-item:last-child {
    margin-bottom: 0;
  }
  .why-item__head {
    font-size: 20px;
    line-height: 1.2;
    max-width: 300px;
    letter-spacing: .04em;
    min-height: auto;
    margin-bottom: 22px;
  }
  .faq {
    margin-bottom: 20px;
  }
  .faq .box {
    padding-top: 72px;
    padding-bottom: 49px;
  }
  .faq .h3 {
    margin-bottom: 53px;
  }
  .faq .accordion-hidden {
    font-size: 16px;
    padding-left: 31px;
  }
  .faq .accordion>li {
    margin-bottom: 22px;
  }
  .faq .accordion>li>a {
    padding-left: 31px;
    margin-bottom: 16px;
  }
  .faq .accordion>li:first-child {
    margin-bottom: 16px;
  }
  .footer {
    padding: 0 7px;
  }
  .footer-wrap {
    border-radius: 30px 30px 0 0;
    padding-top: 69px;
    padding-bottom: 27px;
  }
  .footer .container {
    padding: 0 19px;
  }
  .footer-bottom__row {
    display: block;
  }
  .footer-box {
    margin-bottom: 157px;
  }
  .footer-box .h2 {
    margin-bottom: 30px;
  }
  .footer-box .btn {
    font-size: 20px;
    letter-spacing: .04em;
  }
  .footer-box p {
    line-height: 1.21;
    margin-bottom: 76px;
    letter-spacing: .04em;
  }
  .footer-email {
    font-size: 16px;
    line-height: 1.21;
  }
  .copyright {
    font-size: 16px;
    line-height: 1.21;
    left: 0;
    text-align: left;
    margin-top: 15px;
  }
  .socials {
    gap: 20px;
    margin-bottom: 10px;
  }
  .socials a svg {
    width: 28px;
    height: 28px;
  }
}
