:where(*,*::before,*::after){box-sizing:border-box;margin:0;padding:0}:where(html){color-scheme:light dark;-webkit-text-size-adjust:none;text-size-adjust:none;line-height:1.5;-webkit-font-smoothing:antialiased;block-size:100%}:where(body){min-block-size:100%}:where(h1,h2,h3,h4,h5,h6){text-wrap:balance}:where(p,li,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(img,svg,video,canvas,picture){display:block;max-inline-size:100%;block-size:auto}:where(input,button,textarea,select){font:inherit;color:inherit;letter-spacing:inherit}:where(:focus-visible){outline:3px solid currentColor;outline-offset:2px}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Open Sans", sans-serif;
  background-color: #eee7cf;
  font-weight: 300;
  color: #000;
}

html {
  scroll-behavior: smooth;
}

ul {
  padding-left: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container-colored {
  width: 100%;
  background-color: #04a99d;
}

.container-white {
  width: 100%;
  background-color: #fff;
}

.nav {
  position: fixed;
  z-index: 999;
  display: none;
}

.nav .menu {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #b22b28;
  width: 80vw;
  list-style: none;
  opacity: 0;
  gap: 5px;
  margin-top: -70px;
  margin-left: -650px;
  padding: 60px 24px 20px;
  transition: opacity 0.5s cubic-bezier(0.77,0.2,0.05,1.0), margin-left 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

.nav .menu.active {
  opacity: 1;
  margin-left: 0px;
  transition: opacity 0.5s cubic-bezier(0.77,0.2,0.05,1.0), margin-left 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
.nav .menu li {
  padding: 10px 0;
}
.nav .menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.menu-toggle {
  cursor: pointer;
  position: relative;
  z-index: 3;
  display: none;
  width: auto;
  height: auto;
  padding: 30px;
  text-transform: none;
  text-decoration: none;
  line-height: 1.2;
  color: #000;
  border-radius: 0px;
}
.menu-toggle:hover, .menu-toggle.active-tgl {
  color: #000;
}
.menu-toggle .toggles {
  position: absolute;
  top: 50%;
  margin-top: -8px;
  left: 20px;
}
.menu-toggle .toggles span {
  width: 30px;
  height: 4px;
  margin-bottom: 5px;
  display: block;
  border-radius: 2px;
  background-color: #b22b28;
  transition: all 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
.menu-toggle.active-tgl .toggles span {
  background-color: #fff;
  transition: all 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}
.menu-toggle .toggles span:nth-child(1) {
  position: absolute;
  top: 0px;
  left: 0;
  transform: rotate(0deg);
}
.menu-toggle .toggles span:nth-child(2) {
  position: absolute;
  top: 8px;
  left: 0;
}
.menu-toggle .toggles span:nth-child(3) {
  position: absolute;
  top: 16px;
  left: 0;
  transform: rotate(0deg);
}
.menu-toggle.active-tgl .toggles span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.menu-toggle.active-tgl .toggles span:nth-child(2) {
  width: 0px;
}
.menu-toggle.active-tgl .toggles span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.main-block {
  position: relative;
  color: #fff;
  padding: 60px 0 140px 0;
}

.main-block__logo {
  width: 75px;
  height: 75px;
  background-image: url(../img/logo.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 0 auto;
}

.main-block__title {
  font-size: 42px;
  font-weight: 500;
  line-height: 50px;
  text-align: center;
  color: #000;
  margin-top: 10px;
}

.main-block__text {
  max-width: 535px;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 1px;
  margin-top: 65px;
}

.main-block__button {
  display: block;
  font-size: 19px;
  font-weight: 500;
  line-height: 66px;
  letter-spacing: 0.5px;
  color: #03848c;
  text-align: center;
  background-color: #fff;
  border-radius: 33px;
  margin: 0 auto;
  width: 220px;
  text-decoration: none;
  transition:transform .2s;
}

.main-block__button:hover {
  transform:scale(1.1)
}

.main-block__bubble {
  position: absolute;
  top: 200px;
  left: 160px;
  width: 82px;
  height: 61px;
  background-image: url(../img/bubble.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  font-size: 26px;
  font-weight: 400;
  line-height: 50px;
  color: #000;
  text-align: center;
}

.main-block__arrow-right {
  position: absolute;
  top: 300px;
  right: 0px;
  width: 90px;
  height: 80px;
  background-image: url(../img/arrow-right.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.main-block__human {
  position: absolute;
  top: 350px;
  right: 180px;
  width: 70px;
  height: 66px;
  background-image: url(../img/human.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.main-block__zoom {
  position: absolute;
  top: 510px;
  right: 200px;
  width: 80px;
  height: 80px;
  background-image: url(../img/zoom.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.main-block__youtube {
  position: absolute;
  top: 560px;
  right: 400px;
  width: 80px;
  height: 80px;
  background-image: url(../img/youtube.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

@media (max-width: 920px) {
  .main-block__title {
    font-size: 24px;
    line-height: 28px;
  }
  .main-block__text {
    font-size: 20px;
    line-height: 30px;
  }
  .main-block__bubble {
    top: 200px;
    left: 140px;
    width: 55px;
    height: 41px;
    font-size: 18px;
    line-height: 37px;
  }
  .main-block__arrow-right,
  .main-block__human,
  .main-block__zoom,
  .main-block__youtube {
    display: none;
  }
}

.info-blocks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 100px;
  padding: 70px 60px;
  margin-top: -80px;
  background-color: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
}

.info-block__title {
  font-size: 32px;
  font-weight: 400;
  line-height: 37px;
  color: #04a99d;
  height: 120px;
}

.info-block__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  color: #000;
}

.info-block__link {
  display: block;
  margin-top: 10px;
  color: #000;
}

@media (max-width: 920px) {
  .info-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
  }
  .info-block__title {
    font-size: 28px;
    line-height: 32px;
    height: auto;
  }
  .info-block__text {
    font-size: 14px;
    line-height: 22px;
    margin-top: 20px;
  }
}

@media (max-width: 591px) {
  .info-blocks {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.who-blocks__title {
  font-size: 52px;
  font-weight: 500;
  line-height: 62px;
  margin-top: 100px;
  text-align: center;
}

.who-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
  padding: 100px 0 135px 0;
}

.who-blocks__block {
  padding: 120px 0 0 0;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 70px;
}

.who-blocks__block:nth-child(1) {
  background-image: url(../img/face.svg);
}

.who-blocks__block:nth-child(2) {
  background-image: url(../img/case.svg);
}

.who-blocks__block:nth-child(3) {
  background-image: url(../img/eye.svg);
}

.who-blocks__caption {
  font-size: 30px;
  font-weight: 600;
  line-height: 34px;
  text-align: center;
}

.who-blocks__text {
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  margin-top: 25px;
}

@media (max-width: 920px) {
  .who-blocks__title {
    font-size: 30px;
    line-height: 34px;
  }
  .who-blocks {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 80px;
  }
  .who-blocks__block {
    padding-top: 90px;
  }
  .who-blocks__caption {
    font-size: 24px;
    line-height: 28px;
  }
  .who-blocks__text {
    font-size: 14px;
    line-height: 20px;
  }
}

.prices-block {
  padding: 135px 0;
}

.prices-block__title {
  font-size: 52px;
  font-weight: 400;
  line-height: 62px;
  text-align: center;
  color: #fff;
}

.prices-block__container {
  display: grid;
  grid-template-columns: 700px 1fr;
  margin-top: 80px;
  gap: 50px;
}

.prices-block__prices {
  width: 700px;
  height: 369px;
  position: relative;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 80px;
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url(../img/price_bg.svg);
}

.prices-block__text {
  position: relative;
  font-size: 34px;
  font-weight: 400;
  line-height: 43px;
  padding: 60px 0 0 50px;;
}

.prices-block__values {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prices-block__price {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  width: 80%;
}

.prices-block__price:first-child {
  border-bottom: 2px solid #03848c;
  padding-bottom: 30px;
}

.prices-block__price:last-child {
  padding-top: 20px;
}

.prices-block__value {
  font-size: 34px;
  font-weight: 400;
  line-height: 53px;
  color: #04a99d;
}

.prices-block__note {
  font-size: 22px;
  font-weight: 400;
  line-height: 34px;
  color: #fff;
  padding: 70px 130px 0 0;
}

@media (max-width: 920px) {
  .prices-block {
     padding: 80px 0;
  }
  .prices-block__title {
     font-size: 30px;
     line-height: 34px;
  }
  .prices-block__container {
     grid-template-columns: 1fr;
     gap: 0px;
     margin-top: 40px;
  }
  .prices-block__prices {
     grid-template-columns: 1fr;
     gap: 30px;
     width: 100%;
     height: auto;
     background-image: url(../img/price_bg_v.svg);
     padding: 30px 200px 90px 200px;
  }
  .prices-block__text {
    font-size: 28px;
    line-height: 32px;
    padding: 0;
    display: none;
  }
  .prices-block__price {
    width: 100%;
  }
  .prices-block__note {
    font-size: 14px;
    line-height: 20px;
    padding: 0 50px;
  }
}

@media (max-width: 591px) {
  .prices-block__prices {
    padding: 30px 50px 60px 50px;
  }
}

.faq {
  padding: 150px 0 130px 0;
}

.faq__title {
  font-size: 42px;
  font-weight: 600;
  line-height: 50px;
  text-align: center;
}

.faq__text {
  font-size: 28px;
  line-height: 42px;
  max-width: 850px;
  margin: 40px auto 0 auto;
  text-align: center;
}

.faq__list {
  margin: 80px 0 0 0;
}

.faq-item {
  margin-top: 10px;
  background: #fff;
  padding: 35px;
}

.faq-item__title {
  font-size: 24px;
  font-weight: 300;
  line-height: 32px;
  padding-right: 60px;
  position: relative;
  cursor: pointer;
}

.faq-item__title::before {
  content: '';
  position: absolute;
  top: calc(50% - 20px);
  right: 0px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background-color: #fff;
  transition: 0.3s ease-in-out;
}

.faq-item__title::after {
  content: '';
  position: absolute;
  top: calc(50% - 20px);
  right: 0px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
  mask-image: url(../img/x.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 24px;
  background-color: #04a99d;
}

.faq-item__title--active::after {
  transform: rotate(45deg);
}

.faq-item__title:hover::before {
  background-color: #04a99d;
}

.faq-item__title:hover::after {
  background-color: #fff;
}

.faq-item__text {
  font-size: 16px;
  line-height: 21px;
  margin-top: 0px;
  display: grid;
  transition: 0.3s ease-in-out;
  max-height: 0px;
  overflow: hidden;
}

.faq-item__text--active {
  margin-top: 35px;
}

@media (max-width: 920px) {
  .faq {
    padding: 90px 0 90px 0;
  }
  .faq__title {
    font-size: 30px;
    line-height: 37px;
  }
  .faq__text {
    font-size: 20px;
    line-height: 24px;
    margin-top: 20px;
  }
  .faq__list {
    margin-top: 45px;
  }
  .faq-item {
    padding: 20px;
  }
  .faq-item__title {
    font-size: 20px;
    line-height: 24px;
  }
  .faq-item__text--active {
    margin-top: 20px;
  }
}

.achievements {
  padding: 135px 0;
}

.achievements__title {
  font-size: 52px;
  font-weight: 500;
  line-height: 62px;
  text-align: center;
}

.achievements__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 105px;
  gap: 50px;
}

.achievements__item {
  font-size: 16px;
  line-height: 24px;
  position: relative;
  padding-top: 25px;
}

.achievements__item:after {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 15px;
  height: 15px;
  background-color: #04a99d;
}

@media (max-width: 920px) {
  .achievements {
    padding: 80px 0;
  }
  .achievements__title {
    font-size: 30px;
    line-height: 34px;
  }
  .achievements__list {
    grid-template-columns: 1fr;
    margin-top: 70px;
    gap: 30px;
  }
}

.reviews {
  padding: 135px 0;
}

.reviews__title {
  font-size: 42px;
  font-weight: 600;
  line-height: 52px;
  text-align: center;  
}

.reviews__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 105px;
  gap: 50px;
}

.reviews__item {
  text-align: center;
  padding: 0 20px;
}

.reviews__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto;
}

.reviews__name {
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  margin-top: 60px;
}

.reviews__text {
  font-size: 14px;
  line-height: 22px;
  margin-top: 10px;
  color: #7a7a7a;
}

.reviews__link {
  color: #03848c;
  text-decoration: none;
}

.top__link {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 920px) {
  .reviews {
     padding: 80px 0;
  }
  .reviews__title {
     font-size: 30px;
     line-height: 34px;
  }
  .reviews__list {
     grid-template-columns: 1fr;
     margin-top: 70px;
     gap: 40px;
  }
  .reviews__name {
     margin-top: 20px;
  }
}

.stages {
  padding: 135px 0;
}

.stages__title {
  font-size: 42px;
  font-weight: 600;
  line-height: 52px;
  text-align: center;
}

.stages__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 105px;
}

.stages__item {
  position: relative;
  padding: 50px 50px 0 0;
  font-size: 15px;
  line-height: 18px;
}

.stages__item::after {
  content: '';
  top: 16px;
  left: 0px;
  width: 100%;
  height: 2px;
  background-color: #e6e6e6;
  position: absolute;
}

.stages__item:last-child::after {
  display: none;
}

.stages__number {
  font-size: 16px;
  font-weight: 600;
  line-height: 34px;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background-color: #04a99d;
  text-align: center;
  color: #fff;
  z-index: 1;
}

@media (max-width: 920px) {
  .stages {
    padding: 80px 0;
  }
  .stages__title {
    font-size: 30px;
    line-height: 34px;
  }
  .stages__list {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .stages__item {
    padding: 50px 0 0 50px;
  }
  .stages__item::after {
    width: 2px;
    height: 100%;
    left: 16px;
    top: 41px;
  }
  .stages__number {
    top: 41px;
  }
}

.form {
  padding: 135px 0;
  max-width: 800px;
}

.form__title {
  font-size: 52px;
  font-weight: 400;
  line-height: 52px;
  text-align: center;
}

.form__text {
  font-size: 24px;
  line-height: 36px;
  margin: 40px auto 0 auto;
  max-width: 650px;
  text-align: center;
}

.form__container {
    margin-top: 75px;
}

.form__label {
  font-size: 20px;
  line-height: 36px;
  margin-top: 15px;
}

.form__label:first-child {
  margin-top: 0px;
}

.form__input {
  font-size: 16px;
  line-height: 36px;
  color: #03848c;
  border: 1px solid #04a99d;
  border-radius: 5px;
  height: 60px;
  width: 100%;
  outline: 0;
  padding: 0 20px;
  margin-top: 5px;
  background-color: #fff;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'%2303848c'%3E%3Cpath%20d%3D'M7%2010l5%205%205-5H7z'%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 32px;
  padding-right: 80px;
}

.form__button {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 60px;
  height: 60px;
  padding: 0 60px;
  color: #ffffff;
  background-color: #04a99d;
  border-style: none;
  border-radius: 30px;
  margin: 40px auto 0 auto;
  cursor: pointer;
}

.form__error {
  color: #f00;
  margin-left: 21px;
}

.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
}

.form-modal.active {
  display: block;
}

.form-modal__window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 50px;
  background-color: #fff;
  border: 1px solid #04a99d;
  border-radius: 5px;
  font-size: 24px;
}

.form-modal__close {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 60px;
  height: 60px;
  padding: 0 60px;
  color: #ffffff;
  background-color: #04a99d;
  border-style: none;
  border-radius: 30px;
  margin: 40px auto 0 auto;
  cursor: pointer;
}

@media (max-width: 920px) {
  .form {
    padding: 80px 0;
  }
  .form__title {
    font-size: 30px;
    line-height: 34px;
  }
  .form__text {
    font-size: 18px;
    line-height: 24px;
  }
  .form__container {
    margin-top: 30px;
  }
}

.footer {
  padding: 40px 0;
  text-align: center;
}

.footer__link {
  color: #03848c;
  text-decoration: none;
}

@media (max-width: 920px) {
  .container {
    margin-left: 40px;
    margin-right: 40px;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    display: block;
  }
  .container {
    margin-left: 15px;
    margin-right: 15px;
  }
  .main-block__logo {
    width: 95px;
    height: 95px;
    margin-top: -38px;
  }
  .main-block__title {
    font-size: 28px;
    margin-top: 25px;
  }
  .main-block__text {
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0px;
    margin-top: 70px;
    padding: 0 15px;
  }
  .main-block__bubble { top: 200px; }
  .main-block__button {
    font-size: 16px;
    line-height: 57px;
    width: 230px;
  }

  .info-blocks {
    gap: 30px;
    padding: 30px;
  }
  .who-blocks__title { margin-top: 60px; }
  .who-blocks { padding-top: 30px; gap: 30px; padding-bottom: 60px;}
  .who-blocks__block { padding-top: 80px; }
    
  .reviews__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
    gap: 15px;
  }
  .reviews__photo { width: 100%; height: auto; }
    
  .achievements__item { padding-top: 0px; padding-left: 25px; }
  .achievements__item:after { top: 5px; }
  .achievements__list { margin-top: 40px; }
    
  .prices-block, .faq, .achievements, .stages, .form { padding: 50px 0; }
    
  .reviews {
    padding: 0 0 50px;
  }
    
  .stages__list {
    margin-top: 0px;
  }
  .stages__item {
    padding: 47px 0 0 50px;
  }
}

@media (max-width: 591px) {
  .reviews__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
