/* header */

.nav-vel {
  display: none;
}

.header-vel {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
}

.header-container-vel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  height: 76px;
  width: 100%;
  background: var(--header);
  backdrop-filter: blur(10px);
}

.home-link-vel {
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s ease-in-out;

  img {
    border-radius: 2px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
}

.nav-list-vel {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
}

.nav-item-vel {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-vel {
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: -0.03em;
}

.nav-item-vel:hover,
.home-link-vel:hover {
  transform: scale(1.1);
}

.nav-link-vel:active + .nav-item-vel,
.nav-item-vel:has(.nav-link-vel:active) {
  transform: scale(1.2);
}

.menu-btn-vel {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 44px;
  height: 44px;

  svg {
    width: 24px;
    height: 24px;
    fill: var(--body);
  }
}

@media screen and (min-width: 1440px) {
  .header-container-vel {
    height: 88px;
    padding: 24px 72px;
  }

  .home-link-vel {
    font-size: 24px;
    gap: 12px;

    img {
      border-radius: 6px;
      width: 40px;
      height: 40px;
    }
  }

  .nav-vel {
    display: block;
  }

  .menu-open-vel {
    display: none;
  }
}

/* modal  */

.modal-vel {
  position: fixed;
  top: 76px;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);

  padding: 16px;
  width: 375px;
  backdrop-filter: blur(50px);
  background: var(--header);

  padding: 16px;
}

.menu-nav-list-vel {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 12px;
}

.menu-nav-link-vel {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  text-align: right;
}

/* popup */

.popup-vel {
  position: fixed;
  z-index: 11;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 375px;
  border-radius: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(60px);
  background: rgba(255, 255, 255, 0.4);
  color: #2c3b4f;

  padding: 16px 20px;
}

.popup-text-vel {
  font-size: 14px;
  line-height: 150%;

  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #7e71e1;
    display: block;
  }
}

.popup-btn-wrap-vel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 16px;
}

.popup-btn-vel {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 128px;
  height: 44px;

  text-align: center;
  font-size: 14px;
  line-height: 150%;
}

.popup-btn-accept-vel {
  background: #2c9623;
  color: var(--body);

  transition: all 0.3s ease;
}

.popup-btn-decline-vel {
  border: 1px solid #2c9623;

  transition: all 0.3s ease;
}

.popup-btn-vel:hover {
  transform: scale(1.1);
}

@media screen and (min-width: 1440px) {
  .popup-vel {
    padding: 20px 30px;
    width: 1440px;
    justify-content: space-between;
  }

  .popup-text-vel {
    font-size: 18px;
    flex-shrink: 0;
  }

  .popup-btn-wrap-vel {
    flex-direction: row;
    width: 351px;
  }

  .popup-btn-vel {
    width: 176px;
    height: 51px;
    font-size: 18px;
  }

  .popup-btn-vel:hover {
    transform: scaleY(1.3);
  }
}

/* hero  */

.hero-container-vel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 112px;
  gap: 24px;
}

.hero-wrap-vel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-title-vel {
  font-weight: 600;
  font-size: 32px;
  line-height: 150%;
}

.hero-text-vel {
  line-height: 150%;
}

.hero-pic-vel {
  background: url(/images/hero-pic.png);
  background-position: left;
  background-size: cover;

  width: 343px;
  height: 246px;
}

@media screen and (min-width: 1440px) {
  .hero-container-vel {
    flex-direction: row;
    align-items: start;
    padding-top: 186px;
  }

  .hero-wrap-vel {
    gap: 56px;
  }

  .hero-title-vel {
    font-size: 56px;
  }

  .hero-text-vel {
    font-size: 24px;
  }

  .hero-pic-vel {
    width: 636px;
    height: 457px;

    flex-shrink: 0;
  }
}

/* description */

.descr-pic-vel {
  background: url(/images/descr-pic.png);
  background-position: left;
  background-size: cover;

  width: 343px;
  height: 224px;

  margin-bottom: 16px;
}

.descr-text-vel {
  font-size: 14px;
  line-height: 150%;
}

@media screen and (min-width: 1440px) {
  .description-container-vel {
    align-items: start;
  }

  .descr-pic-vel {
    width: 636px;
    height: 417px;

    margin-bottom: 0;
    position: absolute;
    right: 72px;
    top: 58px;
  }

  .descr-text-vel {
    font-size: 20px;
    width: 636px;
  }
}

/* features */

.features-item-vel {
  padding: 16px;
  width: 253px;
  height: 169px;
  background: rgba(232, 236, 246, 0.1);

  display: flex;
  flex-direction: column;
  gap: 8px;

  h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
  }

  p {
    font-size: 14px;
    line-height: 150%;
  }
}

@media screen and (min-width: 1440px) {
  .features-wrapper-vel {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }

  .features-item-vel {
    padding: 24px;
    width: 416px;
    height: 166px;
    gap: 16px;
    transition: all 0.3s ease-in-out;

    h3 {
      font-size: 20px;
    }

    p {
      font-size: 16px;
    }
  }
}

/* faq */

.faq-list-vel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item-vel {
  padding: 16px;
  width: 343px;
  height: 190px;
  background: rgba(244, 246, 251, 0.1);

  display: flex;
  flex-direction: column;
  gap: 8px;

  h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
  }

  p {
    font-size: 14px;
    line-height: 150%;
  }
}

@media screen and (min-width: 1440px) {
  .faq-list-vel {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .faq-item-vel {
    padding: 24px;
    width: 636px;
    height: 166px;
    gap: 16px;
    transition: all 0.3s ease-in-out;

    h3 {
      font-size: 20px;
    }

    p {
      font-size: 16px;
    }
  }
}

/* reviews */

.reviews-item-vel {
  width: 343px;
  height: 157px;
  padding: 16px;
  background: rgba(244, 246, 251, 0.1);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  p {
    font-style: italic;
    line-height: 150%;
  }

  h3 {
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    text-align: right;
  }
}

@media screen and (min-width: 1440px) {
  .reviews-wrapper-vel {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }

  .reviews-item-vel {
    padding: 24px;
    width: 416px;
    height: 238px;

    justify-content: space-between;
    transition: all 0.3s ease-in-out;

    p {
      font-size: 20px;
    }

    h3 {
      font-size: 16px;
    }
  }
}

/* gallery */

.gallery-container-vel {
  padding-bottom: 80px;
  display: block;
}

.gallery-item-vel {
  width: 343px;
  height: 193px;

  img {
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 1440px) {
  .gallery-container-vel {
    padding-bottom: 116px;
  }

  .gallery-item-vel {
    width: 636px;
    height: 358px;
  }
}

/* footer */

#footer {
  background: var(--footer);
}

.footer-container-vel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
}

.footer-links-list-vel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-link-vel {
  font-size: 14px;
  line-height: 130%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.footer-text-vel {
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  margin-top: 8px;
}

@media screen and (min-width: 1440px) {
  .footer-container-vel {
    padding: 24px;
  }

  .footer-link-vel {
    font-size: 18px;
    line-height: 150%;
  }

  .footer-text-vel {
    font-size: 18px;
    margin-top: 16px;
  }

  .features-item-vel:hover,
  .reviews-item-vel:hover,
  .faq-item-vel:hover {
    background: rgba(244, 246, 251, 0.2);
    border: 1px solid #a0b8d9;
  }
}

/* ********************* */

.hidden-vel {
  display: none;
}
