/* header */

.nav-rls {
  display: none;
}

.header-rls {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
  width: 100%;
}

.header-container-rls {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 33px 18px 0;
  width: 100%;
  position: relative;
  width: 375px;
}

.menu-btn-rls {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 50px;
  height: 50px;
  border: 0.62px solid #919aba;
  border-radius: 17px;
  background: rgba(94, 95, 147, 0.9);
  transition: all 0.3s ease;
}

.menu-btn-rls:hover {
  transform: scale(1.1);
}

.menu-svg-rls {
  width: 23px;
  height: 15px;
  stroke: #fff;
}

.nav-list-rls {
  display: flex;
  align-items: center;
  gap: 64px;
}

.nav-item-rls {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.nav-link-rls {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.nav-item-rls::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: all 0.3s ease-in-out;
}

.item-active-rls::after {
  width: 100%;
}

.link-active-rls {
  font-weight: 500;
}

.nav-link-rls:hover {
  font-weight: 500;
}

@media screen and (min-width: 1440px) {
  .header-container-rls {
    margin: 0 auto;
    justify-content: center;
    padding: 57px 232px 0;
    width: 1440px;
  }

  .nav-rls {
    display: block;
  }

  .menu-btn-rls {
    display: none;
  }
}

/* modal  */

.modal-rls {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  padding-top: 148px;
  background: #fff;
  width: 375px;
  height: 860px;
}

.menu-nav-list-rls {
  flex-direction: column;
  gap: 32px;
}

.menu-nav-link-rls {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #5e5f93;

  padding: 16px 0;
  width: 343px;
}

.menu-close-rls {
  position: absolute;
  top: 34px;
  right: 19px;
}

/* popup */

.popup-rls {
  position: fixed;
  z-index: 11;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 40px 28px;
  width: 375px;
  border-top: 2px solid #5e5f93;
  background: #fff;
  color: #000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.popup-title-rls {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 92%;
}

.popup-text-rls {
  font-family: var(--second-family);
  font-size: 14px;
  line-height: 150%;
}

.popup-btn-wrap-rls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
}

.popup-btn-rls {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  width: 319px;
  height: 45px;

  text-transform: uppercase;
  transition: all 0.3s ease;
}

.popup-btn-accept-rls {
  background: #5e5f93;
  color: #fff;
  font-family: var(--second-family);
}

.popup-btn-decline-rls {
  font-family: var(--font3);
  border: 1px solid #000;
  box-shadow: 0 1px 3px 0 #87614c;
}

.popup-btn-rls:hover {
  transform: scale(1.1);
}

@media screen and (min-width: 1440px) {
  .popup-rls {
    width: 1440px;
    padding: 43.5px 108px;
  }

  .popup-title-rls {
    font-size: 36px;
    line-height: 61%;
  }

  .popup-text-rls {
    width: 1190px;
    font-size: 24px;
    text-align: center;
  }

  .popup-btn-wrap-rls {
    flex-direction: row;
    gap: 16px;
  }

  .popup-btn-rls {
    width: 269px;
    height: 55px;
  }

  .popup-btn-rls:hover {
    transform: scaleY(1.2);
  }
}

/* hero  */

.hero-container-rls {
  padding-top: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-rls {
  font-style: italic;
  font-weight: 900;
  font-size: 36px;
  line-height: 133%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  color: #ff0004;
  width: 417px;
  margin-bottom: 14px;
}

.hero-text-rls {
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #000;
  width: 293px;
  margin-bottom: 268px;
}

.hero-link-rls {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 68px;
  background: #ff0004;

  font-weight: 900;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #fff;
  transition: all 0.3s ease;
}

.hero-link-rls:hover {
  transform: scaleY(1.2);
}

.hero-pic-rls {
  background: url(/images/hero-bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  width: 100%;
  height: 1092px;

  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

@media screen and (min-width: 1440px) {
  .hero-container-rls {
    padding: 176px 359px 0;
  }

  .hero-title-rls {
    line-height: 150%;
    letter-spacing: 0.01em;
    width: 100%;
  }

  .hero-text-rls {
    width: 100%;
    margin-bottom: 306px;
  }

  .hero-link-rls:hover {
    transform: scale(1.2);
  }

  .hero-pic-rls {
    height: 910px;
  }
}

/* how */

.how-container-rls {
  padding-top: 74px;
}

.how-swiper-rls {
  padding: 0 8px;
}

.how-item-rls {
  padding: 43px 18px;
  width: 243px;
  height: 320px;
  background: linear-gradient(180deg, #c9d5e3 0%, #e9e5e6 100%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  h3 {
    font-style: italic;
    font-weight: 900;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
  }

  p {
    line-height: 120%;
    text-align: center;
  }
}

.how-link-rls {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 68px;
  background: #919aba;

  font-weight: 900;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #fff;
  transition: all 0.3s ease;
  margin-top: 44px;
}

.how-link-rls:hover {
  transform: scaleY(1.2);
}

@media screen and (min-width: 1440px) {
  .how-container-rls {
    padding-top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .how-swiper-rls {
    padding: 0;
  }

  .how-wrapper-rls {
    display: flex;
    gap: 64px;
  }

  .how-link-rls:hover {
    transform: scale(1.2);
  }
}

/* features */

.features-container-rls {
  padding-top: 86px;
}

.features-list-rls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.features-item-rls {
  border: 4px solid #919aba;
  padding: 49px 66px;
  width: 346px;
  height: 234px;

  display: flex;
  flex-direction: column;
  gap: 20px;

  h3 {
    font-style: italic;
    font-weight: 900;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
  }

  p {
    line-height: 120%;
    text-align: center;
  }
}

@media screen and (min-width: 1440px) {
  .features-container-rls {
    padding: 92px 170px 0;
  }

  .features-list-rls {
    flex-wrap: wrap;
    gap: 22px 406px;
    position: relative;
    width: 1100px;
    height: 490px;
  }

  .features-item-rls:nth-child(3) {
    padding: 177px 53px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* cases */

.cases-container-rls {
  padding: 66px 0 0;
}

.cases-item-rls {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 375px;
  height: 375px;

  p {
    font-weight: 900;
    font-size: 24px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;

    text-shadow: 0 0 2px #000, 0 0 4px #000, 0 0 6px #000, 0 0 8px #000,
      0 0 10px #000, 0 0 12px #000;
  }
}

.cases-item-rls:nth-child(1) {
  background: url(/images/cases/1.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cases-item-rls:nth-child(2) {
  background: url(/images/cases/2.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cases-item-rls:nth-child(3) {
  background: url(/images/cases/3.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cases-item-rls:nth-child(4) {
  background: url(/images/cases/4.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.cases-item-rls:nth-child(5) {
  background: url(/images/cases/5.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (min-width: 1440px) {
  .cases-container-rls {
    padding: 92px 0 0;
  }

  .cases-wrapper-rls {
    width: 1440px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 7px;
  }

  .cases-item-rls {
    position: relative;
    width: 475px;
    height: 320px;

    p {
      position: relative;
      z-index: 2;
      color: #5e5f93;
      opacity: 1;
      text-shadow: none;
      transition: all 0.3s ease;
    }
  }

  .cases-item-rls::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.4;
    z-index: 1;
    transition: all 0.3s ease;
  }

  .cases-item-rls:nth-child(1) {
    order: 5;
  }

  .cases-item-rls:nth-child(2) {
    order: 4;
  }

  .cases-item-rls:nth-child(3) {
    order: 3;
  }

  .cases-item-rls:nth-child(4) {
    order: 1;
    width: 595px;
    height: 360px;
  }

  .cases-item-rls:nth-child(5) {
    order: 2;
    width: 837px;
    height: 360px;
  }

  .cases-item-rls:hover {
    p {
      color: #fff;

      text-shadow: 0 0 2px #000, 0 0 4px #000, 0 0 6px #000, 0 0 8px #000,
        0 0 10px #000, 0 0 12px #000;
    }
  }

  .cases-item-rls:hover::before {
    opacity: 0;
  }
}

/* examples */

.examples-container-rls {
  padding: 115px 0 0;
}

.examples-list-rls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.examples-item-rls {
  padding: 13px 18px;
  width: 376px;
  height: 116px;
  background: #5e5f93;

  display: flex;
  align-items: center;
  justify-content: center;

  p {
    font-style: italic;
    font-weight: 900;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1440px) {
  .examples-container-rls {
    padding: 92px 367px 0;
  }

  .examples-item-rls {
    width: 706px;
    height: 80px;
  }
}

/* pricing */

.pricing-container-rls {
  padding-top: 96px;
}

.pricing-swiper-rls {
  padding-left: 8px;
  padding-right: 8px;
}

.pricing-item-rls {
  position: relative;
  padding: 57px 16px;
  width: 243px;
  height: 320px;
  background: linear-gradient(180deg, #c9d5e3 0%, #e9e5e6 100%);

  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 40px;

  h4 {
    font-style: italic;
    font-weight: 900;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
  }

  p {
    line-height: 120%;
    text-align: center;
  }

  h3 {
    position: absolute;
    bottom: 57px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;

    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #ff0004;
  }

  p::after {
    position: absolute;
    left: 21px;
    bottom: 98px;

    width: 201px;
    height: 1px;
    content: "";
    background: #000;
  }
}

.pricing-link-rls {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 68px;
  background: #ff0004;

  font-weight: 900;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  text-align: center;
  color: #fff;
  margin-top: 24px;
  transition: all 0.3s ease;
}

.pricing-link-rls:hover {
  transform: scaleY(1.2);
}

@media screen and (min-width: 1440px) {
  .pricing-container-rls {
    padding-top: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pricing-swiper-rls {
    padding: 0;
  }

  .pricing-wrapper-rls {
    display: flex;
    gap: 64px;
  }

  .pricing-link-rls {
    margin-top: 44px;
  }

  .pricing-link-rls:hover {
    transform: scale(1.2);
  }
}

/* faq */

.faq-container-rls {
  padding-top: 56px;
  padding-bottom: 25px;
}

.faq-list-rls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item-rls {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  padding-bottom: 16px;
}

.faq-question-wrap-rls {
  display: flex;
  align-items: center;
  gap: 44px;
  border-bottom: 1px solid #5e5f93;
  padding-bottom: 16px;
  padding-right: 21px;

  p {
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: #5e5f93;
  }

  .faq-btn-rls {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: all 0.3s ease;

    svg {
      width: 38px;
      height: 22px;
      fill: #5e5f93;
    }
  }
}

.faq-answer-wrap-rls {
  padding: 16px 0;

  p {
    font-size: 18px;
    line-height: 150%;
    color: #5e5f93;
  }
}

@media screen and (min-width: 1440px) {
  .faq-container-rls {
    padding-top: 114px;
    padding-bottom: 114px;
  }

  .faq-item-rls {
    padding: 16px 12px;
  }

  .faq-question-wrap-rls {
    justify-content: space-between;
    padding-right: 12px;
  }

  .faq-answer-wrap-rls {
    padding: 16px 115px 16px 0;
  }
}

/* contact */

.contact-container-rls {
  padding: 83px 16px 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
}

.contact-title-rls {
  text-transform: none;
  font-size: 24px;
  margin-bottom: 16px;
}

.contact-email-rls {
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 16px;

  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }
}

.contact-list-rls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.contact-item-rls {
  a {
    font-style: italic;
    font-weight: 900;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: #1e1e1e;
  }
}

.contact-author-rls {
  font-style: italic;
  font-weight: 900;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0.01em;
  color: #ff0004;
}

.contact-bg-rls {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;

  width: 100%;
  height: calc(100% + 428px);

  box-shadow: 0 -4px 20px 0 rgba(0, 0, 0, 0.15);
  background: #5e5f93;
}

@media screen and (min-width: 1440px) {
  .contact-container-rls {
    padding: 117.5px 460px 0;
  }

  .contact-title-rls {
    margin-bottom: 10px;
  }

  .contact-email-rls {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .contact-list-rls {
    flex-direction: row;
    gap: 68px;
    margin-bottom: 10px;
  }

  .contact-bg-rls {
    height: calc(100% + 311.5px);
  }
}

/* footer */

#footer {
  box-shadow: 0 -4px 20px 0 rgba(0, 0, 0, 0.15);
  background: #5e5f93;
}

.footer-container-rls {
  z-index: 3;
  padding: 83px 16px;
  width: 375px;
  color: #fff;

  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 24px;
}

.footer-text-rls {
  font-weight: 700;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0.01em;
  width: 241px;
}

.footer-links-list-rls {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 44px;
}

.footer-links-item-rls {
  a {
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0.01em;
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }
}

@media screen and (min-width: 1440px) {
  .footer-container-rls {
    padding: 110px 16px 117.5px;
    width: 1440px;
  }

  .footer-text-rls {
    width: fit-content;
  }

  .footer-links-list-rls {
    flex-direction: row;
  }
}

/* ********************* */

.hidden-rls {
  display: none;
}

.click-rls {
  transform: rotate(180deg);
}
