/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 25px 0;
  border-bottom: 1px solid var(--body);
  background: var(--header-footer);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 120px;
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg {
  stroke: var(--body);
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: var(--body);
  transition: color 0.3s ease;
}

.navigation-item:hover {
  text-decoration: underline;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 92px;
  padding-bottom: 32px;
  background: var(--header-footer);
  border-bottom: 1px solid var(--body);

  transform: translateY(-100%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.modal-click {
  transform: translateY(0);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 24px 0;
  }

  .header-logo {
    width: 205px;
  }

  .navigation {
    display: block;
  }
  .navigation-item {
    font-size: 24px;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 116px;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 150%;
  color: var(--body);
  margin-bottom: 16px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: var(--body);
  margin-bottom: 20px;
}
.hero-image {
  margin: 0 auto;
  margin-bottom: 20px;
}

.home-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);
  margin-bottom: 20px;
}

.home-link {
  display: block;
  padding: 12px;
  width: 343px;
  max-width: 100%;
  text-align: center;
  background: var(--body);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: #fff;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.home-link:hover {
  background: #333e4b;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 212px;
  }

  .home-title {
    font-size: 56px;
    margin-bottom: 24px;
  }

  .home-text {
    font-size: 32px;
    margin-bottom: 32px;
    max-width: 950px;
  }

  .home-description {
    font-size: 24px;
    max-width: 740px;
    margin-bottom: 32px;
  }

  .home-link {
    width: 253px;
    padding: 16px;
  }

  .hero-image {
    margin: 0;
    position: absolute;
    bottom: 47px;
    right: 72px;
    width: 386px;
  }
}

/* method */

.method-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--body);
  margin-bottom: 20px;

  span {
    color: #139bb3;
  }
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    border: 1px solid rgba(30, 42, 56, 0.5);
    padding: 16px;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: var(--body);
    margin-bottom: 8px;
  }

  span {
    color: #139bb3;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--body);
  }
}

@media screen and (min-width: 768px) {
  .method-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 12px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .method-text {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .method-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;

    li {
      width: calc((100% - 48px) / 3);
      padding: 24px;
    }
    h5 {
      font-size: 20px;
    }

    p {
      font-size: 16px;
    }
  }
}

/* what-list */

.what-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;

  li {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    color: var(--body-light);
    margin-bottom: 8px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: rgba(249, 249, 246, 0.7);
  }
}

.what-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body-light);
}

@media screen and (min-width: 768px) {
  .what-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 12px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .what-list {
    gap: 24px;
    margin-bottom: 24px;

    li {
      width: calc((100% - 48px) / 3);
      padding: 24px;
    }

    p {
      font-size: 24px;
    }

    span {
      font-size: 20px;
    }
  }

  .what-text {
    font-size: 24px;
  }
}

/* sprint-list */

.sprint-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    border: 1px solid #139bb3;
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--body);
  }

  span {
    font-weight: 600;
  }
}

@media screen and (min-width: 768px) {
  .sprint-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 12px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .sprint-list {
    gap: 24px;

    li {
      padding: 24px;
      gap: 16px;
      width: calc((100% - 48px) / 3);
    }

    p {
      font-size: 20px;
    }
  }
}

/* client-list */

.client-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;

  li {
    border: 1px solid rgba(30, 42, 56, 0.5);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    color: var(--body);
    margin-bottom: 8px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--body);
  }
}

.client-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);
}

@media screen and (min-width: 768px) {
  .client-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 12px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .client-list {
    gap: 24px;

    li {
      padding: 24px;
      gap: 16px;
      width: calc((100% - 48px) / 3);
    }

    p {
      font-size: 24px;
    }

    span {
      font-size: 16px;
    }
  }

  .client-text {
    font-size: 24px;
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 16px;
  background: rgba(30, 42, 56, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--body);
  margin-bottom: 8px;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);
}

@media screen and (min-width: 768px) {
  .faq-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 12px) / 2);
    }
  }
}

@media screen and (min-width: 1437px) {
  .faq-list {
    gap: 24px;

    li {
      padding: 24px;
      gap: 16px;
      width: calc((100% - 48px) / 3);
    }

    p {
      font-size: 20px;
    }

    span {
      font-size: 16px;
    }
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(360deg);
}

/* contact  */

.contact-sub-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--body);
  margin-bottom: 16px;
}

.contact-mail {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #139bb3;
  margin-bottom: 16px;

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--body);
  }
  a:hover {
    text-decoration: underline;
  }
}

.contact-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--body);
  margin-bottom: 16px;
}

@media screen and (min-width: 1437px) {
  .contact-sub-title,
  .contact-mail,
  .contact-text {
    font-size: 24px;
    margin-bottom: 24px;

    a {
      font-size: 24px;
    }
  }
}

/* footer */

.footer {
  padding: 32px 0;
  border-top: 1px solid var(--body);
  background: var(--header-footer);
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  text-decoration-skip-ink: none;
  text-align: center;
  color: var(--body);

  a:hover {
    text-decoration: underline;
  }
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: var(--body);
  margin-top: 24px;
}

@media screen and (min-width: 1437px) {
  .footer-list {
    font-size: 16px;
  }

  .footer-description {
    font-size: 16px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 32px;
  left: 50%;
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(60px);
  background: #fff;
  transform: translateX(-50%);
  transition: transform 0.5s ease;
}

.popup-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #2e351b;

  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4a90e2;
  }
}

.popup-btn {
  background: rgba(255, 255, 255, 0.01);
  border: 2px solid var(--body);
  padding: 8px 12px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: var(--body);
  color: var(--body-light);
}

.popup-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 20px 30px;
  }

  .popup-container {
    display: flex;
    justify-content: space-between;
  }

  .popup-text {
    font-size: 18px;
    margin: 0;
  }

  .popup-btn {
    font-size: 18px;
    padding: 12px 24px;
  }

  .popup-wrap {
    flex-direction: row;
    flex-shrink: 0;
  }
}
