/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 7px 0;
  background: #0e0b14;
  z-index: 9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 52px;
}

.navigation {
  display: none;
}

.svg {
  stroke: #fff;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 19px;
  color: #fff;
  transition: color 0.3s ease;
}

.navigation-item:hover {
  color: #a855f7;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  padding-top: 200px;
  transform: translateY(-100%);
  transition: transform 1s ease;
  z-index: 8;
  background: #0e0b14;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.modal-click {
  transform: translateY(0);
}

@media screen and (min-width: 1439px) {
  .header {
    padding: 10px 0;
  }

  .header-logo {
    width: auto;
  }

  .navigation {
    display: block;
  }

  .navigation-item {
    font-size: 24px;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 81px;
  padding-bottom: 93px;
  background-image: url(../images/home.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

.home-link-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.home-link {
  border: 4px solid #a855f7;
  border-radius: 20px;
  width: 270px;
  padding: 7px;
  max-width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  text-align: center;
}

.home-link:hover {
  background: #a855f7;
  color: #000;
}

@media screen and (min-width: 1439px) {
  #home {
    padding-top: 195px;
    padding-bottom: 281px;
  }

  .home-title {
    font-size: 54px;
    margin-bottom: 20px;
  }
  .home-text {
    font-size: 27px;
    max-width: 820px;
    margin: 0 auto;
    margin-bottom: 98px;
  }

  .home-link-wrap {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
  }

  .home-link {
    padding: 14px;
    width: 395px;
    font-size: 24px;
  }
}

/* about */

#about {
  background-image: url(../images/vector-r.png);
  background-position: bottom right;
  background-repeat: no-repeat;
}

.about-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  text-align: justify;
  color: #fff;
}

@media screen and (min-width: 1439px) {
  #about {
    background-image: url(../images/vector-r.png), url(../images/vector-l.png);
    background-position: bottom right, bottom left;
    background-repeat: no-repeat;
  }

  .about-text {
    font-size: 24px;
    max-width: 743px;
    margin: 0 auto;
  }
}

/* offer */

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 15px;

  li {
    display: flex;
    align-items: center;
    gap: 23px;
  }

  img {
    width: 54px;
    flex-shrink: 0;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
  }
}

@media screen and (min-width: 1439px) {
  .offer-list {
    width: 870px;
    margin: 0 auto;
    gap: 38px;

    img {
      width: 100px;
    }

    p,
    span {
      font-size: 24px;
    }
  }
}

/* cases */

.cases-wrapper {
  padding-top: 25px;
}

.cases-slide {
  border-radius: 50px;
  width: 228px;
  max-width: 100%;
  min-height: 269px;
  box-shadow: inset 0 4px 24px 0 rgba(177, 94, 219, 0.5);
  background: rgba(168, 85, 247, 0.3);
  padding: 10px;
  padding-top: 0;

  img {
    width: 120px;
    margin: 0 auto;
    transform: translateY(-20px);
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    color: #fff;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1439px) {
  .cases-wrapper {
    padding-top: 65px;
  }

  .cases-slide {
    width: 407px;
    height: 499px;
    padding: 28px;
    padding-top: 0;

    img {
      width: auto;
      transform: translateY(-60px);
    }

    p,
    h5 {
      font-size: 24px;
    }
  }
}

/* process */

.process-list {
  display: flex;
  flex-direction: column;
  gap: 15px;

  li {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  img {
    width: 28px;
    flex-shrink: 0;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
  }
}

@media screen and (min-width: 1439px) {
  .process-list {
    width: 860px;
    margin: 0 auto;
    gap: 30px;

    li {
      gap: 29px;
    }

    img {
      width: 78px;
    }

    p {
      font-size: 24px;
    }
  }
}

/* why */

#why {
  background-image: url(../images/why.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.why-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
  }
}

@media screen and (min-width: 1439px) {
  .why-list {
    gap: 132px;

    li {
      font-size: 24px;
    }
  }

  .item-l {
    align-self: flex-start;
  }

  .item-r {
    align-self: flex-end;
  }
}

/* testimonials */

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 15px;

  li {
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 19px rgba(181, 107, 184, 0.4);
    background: rgba(168, 85, 247, 0.52);
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
  }
}

@media screen and (min-width: 1439px) {
  .testimonials-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;

    li {
      width: calc((100% - 30px) / 2);
    }

    p {
      font-size: 30px;
    }

    span {
      font-size: 20px;
    }
  }
}
/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  width: 100%;
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 250, 250, 0.33);
}

.faq-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  margin-top: 3px;
  color: #fff;
}

.robot {
  display: none;
}

@media screen and (min-width: 1439px) {
  .robot {
    display: block;
    flex-shrink: 0;
  }

  .faq-cover {
    display: flex;
    align-items: flex-start;
    gap: 65px;
  }

  .faq-title {
    font-size: 20px;
  }

  .faq-text {
    font-size: 16px;
  }

  .faq-btn {
    width: 75px;
    height: 75px;
  }
}

.hidden {
  display: none;
}

/* contact */

.contact-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

.mail-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #fff;

  a:hover {
    text-decoration: underline;
  }
}

.contact-list {
  display: flex;
  align-items: center;
  gap: 4px;

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: #fff;
  }

  a:hover {
    text-decoration: underline;
  }
}

.tag {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
}

.contact-cover {
  width: 233px;
  margin: 0 auto;
}

@media screen and (min-width: 1439px) {
  .contact-cover {
    width: 650px;
  }

  .contact-text {
    font-size: 27px;
    margin-bottom: 50px;
  }

  .mail-link,
  .tag {
    font-size: 24px;
  }

  .contact-list {
    a {
      font-size: 24px;
    }
  }
}

/* footer */

.footer {
  padding-top: 70px;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;

  li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 10px;
    text-align: center;
    color: #fff;
  }

  a:hover {
    text-decoration: underline;
  }
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  color: #fff;
  margin-top: 17px;
}

@media screen and (min-width: 1439px) {
  .footer {
    padding-top: 120px;
  }

  .footer-list {
    li {
      font-size: 20px;
    }
  }

  .footer-description {
    font-size: 20px;
    margin-top: 16px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 50%;
  border-radius: 30px 30px 0 0;

  padding: 44px 28px;
  background: #a855f7;
  transform: translateX(-50%);
  transition: transform 0.5s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 40px;
}

.popup-btn {
  border: 3px solid #f59e0b;
  border-radius: 19px;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  width: 214px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  color: #f59e0b;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  color: #fff;
  background: #f59e0b;
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 57px 100px;
  }

  .popup-text {
    font-size: 24px;
    margin-bottom: 80px;
  }

  .popup-wrap {
    flex-direction: row;
    gap: 105px;
  }

  .popup-btn {
    width: 350px;
    font-size: 30px;
  }
}
