/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 30px 0;
  background: var(--lavender);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  color: var(--m-blue);
  transition: color 0.3s ease;
}

.header-logo:hover {
  color: var(--titile);
}

.navigation {
  display: none;
}

.modal-button {
  display: block;
  margin-left: auto;
}

.svg {
  stroke: #042e76;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--m-blue);
  transition: border-color 0.3s ease;
}

.navigation-item:hover {
}

.modal {
  position: fixed;
  top: 116px;
  left: 50%;
  padding: 32px;
  border-radius: 16px;
  background: var(--lavender);
  transform: translateY(-140%) translateX(-50%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .header-logo {
    font-size: 32px;
  }

  .navigation {
    display: block;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 110px;
  padding-bottom: 116px;
  background-image: url(../images/hero-main-background.jpg);
  background-position: center;
  background-size: cover;
}

.home-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
  color: var(--white);
  margin-bottom: 24px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--white);
  margin-bottom: 40px;
}

.home-link {
  display: block;
  margin: 0 auto;
  text-align: center;
  border-radius: 24px;
  padding: 12px 24px;
  width: 343px;
  max-width: 100%;
  background: var(--m-blue);
  transition: background-color 0.3s ease;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--white);
}

.home-link:hover {
  background: var(--blue);
}

@media screen and (min-width: 1437px) {
  #home {
    padding-bottom: 80px;
  }

  .home-title {
    font-size: 88px;
    max-width: 640px;
    margin-bottom: 40px;
  }

  .home-text {
    font-size: 18px;
    max-width: 640px;
    margin-bottom: 40px;
  }

  .home-link {
    width: 256px;
    margin: 0;
  }
}

/* philosophy */

.philosophy-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--m-blue);
  padding-left: 24px;
  border-left: 1px solid var(--blue);
}

@media screen and (min-width: 1437px) {
  .philosophy-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }

  .philosophy-text {
    font-size: 18px;
    width: 544px;
  }
}

/* what */

.what-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: var(--m-blue);
  margin-bottom: 24px;
}

.what-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.what-item {
  border-radius: 16px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #44b0e1;
}

.what-item-wrapper {
  border-radius: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(68, 176, 225, 0) 0%, #44b0e1 100%);
  height: 100%;

  div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--blue);
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--m-blue);
  }
}

@media screen and (min-width: 1437px) {
  .what-text {
    font-size: 20px;
  }

  .what-list {
    gap: 32px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .what-item {
    width: calc((100% - 64px) / 3);
  }

  .what-item-wrapper {
    span {
      font-size: 20px;
    }

    p {
      font-size: 18px;
    }
  }
}

/* compatibility */

.compatibility-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--m-blue);
    margin-bottom: 16px;
  }

  ul {
    list-style: disc;
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--m-blue);
  }

  span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--m-blue);
    display: block;
    margin-top: 32px;
  }
}

@media screen and (min-width: 1437px) {
  .compatibility-wrap {
    flex-direction: row;
    gap: 96px;

    p,
    span {
      font-size: 20px;
    }

    ul {
      font-size: 18px;
    }
  }

  .compatibility-cover {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

/* cases */

.cases-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: var(--m-blue);
  margin-bottom: 24px;
}

.cases-item {
  border: 1px solid var(--m-lavender);
  border-radius: 16px;
  padding: 8px;
  width: 327px;
  max-width: 100%;
  height: 173px;
}

.cases-item-cover {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  padding: 8px 16px;
  background: linear-gradient(180deg, #44b0e1 0%, rgba(68, 176, 225, 0) 100%);

  p {
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--m-blue);
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    text-align: right;
    color: var(--m-blue);
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 11px;
    line-height: 150%;
    text-align: right;
    color: var(--blue);
  }
}

@media screen and (min-width: 1437px) {
  .cases-text {
    font-size: 20px;
  }
  .cases-item {
    width: 350px;
    height: 150px;
  }

  .cases-item-cover {
    h5 {
      font-size: 20px;
    }

    span {
      font-size: 12px;
    }
  }
}

/* faq */

.faq-list-wrapper {
  border: 1px solid var(--m-lavender);
  border-radius: 16px;
  padding: 8px;
}

.faq-list {
  border-radius: 16px;
  background: #98daf8;
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  gap: 16px;

  li {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--m-lavender);
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: var(--m-blue);
    margin-bottom: 1px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--m-blue);
  }
}

@media screen and (min-width: 1437px) {
  .faq-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .faq-list {
    width: 736px;

    p {
      font-size: 20px;
    }

    span {
      font-size: 18px;
    }
  }
}

/* try */

.try-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
  color: var(--m-blue);
  margin-bottom: 24px;
}

.try-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--m-blue);
  margin-bottom: 40px;

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1437px) {
  .try-text {
    font-size: 20px;
  }

  .try-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .try-link {
    font-size: 20px;
    margin: 0;
  }
}

/* footer */

.footer {
  background: var(--m-blue);
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--lavender);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--lavender);
  margin: 40px 0;

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1437px) {
  .footer {
    padding: 40px 0;
  }

  .footer-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
  }

  .footer-description {
    font-size: 18px;
  }

  .footer-list {
    font-size: 18px;
    align-items: flex-end;
    margin: 0;
  }

  .footer-rights {
    position: absolute;
    left: 160px;
    bottom: 0;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 32px;
  padding: 32px;
  background: var(--m-blue);
  transition: transform 0.5s ease;
}

.popup-text {
  font-family: var(--font3);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: var(--white);
  margin-bottom: 40px;
}

.popup-btn {
  border: 1px solid var(--white);
  border-radius: 28px;
  padding: 16px 32px;

  font-family: var(--third-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: var(--white);

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: var(--white);
  color: var(--m-blue);
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 33px;
  }

  .popup-container {
    display: flex;
    align-items: center;
    gap: 64px;
  }

  .popup-text {
    font-size: 20px;
    margin: 0;
    text-align: start;
  }

  .popup-wrap {
    flex-direction: row;
    flex-shrink: 0;
    gap: 32px;
  }
}
