:root {
  --main-container5: #eff2f5;
}

.next-steps-columns {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.next-steps-column {
  max-width: 575px;
  width: 100%;
  gap: 10px;
}

.next-steps-big-item,
.next-steps-small-item {
  width: 100%;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}

.next-steps-big-item {
  min-height: 280px;
}

.next-steps-small-item {
  min-height: 380px;
  max-width: 380px;
}

.next-steps-left-item {
  margin-left: auto;
}

.next-steps-right-item {
  margin-right: auto;
}

.next-steps-item-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.next-steps-item-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next-steps-item-titles {
  margin-top: auto;
}

.next-steps-item-titles p {
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  color: var(--text-color);
}

.next-steps-item-titles span {
  color: var(--text-color3);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  margin-top: 8px;
  display: block;
}

.next-steps-right-item .next-steps-item-titles p,
.next-steps-right-item .next-steps-item-titles span {
  color: #fff;
}

.n-step-user--one,
.n-step-user--two {
  position: absolute;
  padding: 4px;
  border-radius: 200px;
  gap: 8px;
  max-width: 159px;
  width: 100%;
}

.n-step-user--one {
  top: 107px;
  left: 38px;
  background: #f1117e;
}

.n-step-user--two {
  top: 137px;
  right: 17px;
  background: var(--text-color);
}

.n-step-user-img {
  max-width: 36px;
  width: 100%;
}

.n-step-user-img img {
  width: 100%;
  height: 100%;
  border-radius: 100px;
}

.n-step-user-texts p {
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
}

.n-step-user-texts span {
  margin-top: 2px;
  font-weight: 400;
  font-size: 9px;
  line-height: 12px;
  display: block;
}

.n-step-user--one .n-step-user-texts p,
.n-step-user--one .n-step-user-texts span {
  color: #fff;
}

.n-step-user--one .n-step-user-texts span {
  opacity: 0.8;
}

.n-step-user--two .n-step-user-texts p,
.n-step-user--two .n-step-user-texts span {
  color: var(--main-container5);
}

.n-step-user--two .n-step-user-texts span {
  opacity: 0.6;
}

.next-steps-decor {
  position: absolute;
  pointer-events: none;
}

.next-steps-decor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next-steps-decor--one {
  max-width: 440px;
  width: 100%;
  left: -100px;
  top: 142px;
}

.next-steps-decor--two {
  max-width: 440px;
  width: 100%;
  right: -60px;
  top: -80px;
}

.next-steps-decor--tree {
  max-width: 300px;
  width: 100%;
  right: -120px;
  top: 192px;
}

.documents-calculator::after {
  display: none;
}

.documents-cta {
  background: #ffffff none;
  background-image: none;
  color: var(--text-color);
  min-height: 935px;
  padding: 80px 0 40px;
  overflow: hidden;
}

.documents-cta .section-big-title {
  color: var(--text-color);
}

@media (max-width: 1199px) {
  .documents-cta {
    background: #ffffff none;
    background-image: none;
    min-height: 935px;
    padding: 80px 0 40px;
  }
}

@media (max-width: 500px) {
  .documents-cta {
    background: #ffffff none;
    background-image: none;
    min-height: 935px;
    padding: 80px 0 40px;
  }
}

.documents-advantages .next-steps-columns {
  margin-bottom: 80px;
}

footer {
  background: #161616;
  color: #fff;
  padding: 40px 0 120px;
  overflow: hidden;
}

footer .loss-quality-elips {
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  height: 100px;
  justify-content: center;
  pointer-events: none;
}

footer .loss-quality-elips img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: top;
}

footer .footer-body {
  position: relative;
  z-index: 1;
}

footer .footer-bottom {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 0 60px;
}

footer .footer-logo-wrapper {
  display: flex;
  align-items: center;
  max-width: 165px;
  width: 165px;
  flex-shrink: 0;
}

footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.03em;
}

footer .footer-nav {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  position: relative;
}

footer .footer-nav-menu {
  display: flex;
  flex-direction: column;
  flex: 1;
}

footer .footer-nav-menu p {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  margin: 0 0 8px;
}

footer .footer-nav-menu ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer .footer-nav-menu a {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
}

footer .footer-nav-menu a:hover {
  opacity: 0.7;
}

footer .footer-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
}

footer .footer-column {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 440px;
}

footer .footer-text,
footer .footer-clue {
  color: #fff;
  font-size: 16px;
  line-height: 20px;
}

footer .footer-clue {
  font-size: 14px;
}

footer .footer-text a {
  color: var(--accent-color);
}

footer .footer-logos-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

footer .footer-links,
footer .footer-apps {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .footer-links img,
footer .footer-apps img {
  display: block;
  width: 40px;
  height: auto;
}

footer .footer-apps img[src*="appStore"] {
  width: 120px;
}

footer .mobile-block {
  display: none;
}

@media (max-width: 992px) {
  .next-steps-decor {
    display: none;
  }

  .next-steps-columns {
    flex-direction: column;
  }

  .next-steps-column,
  .next-steps-small-item {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  footer .footer-bottom,
  footer .footer-nav,
  footer .footer-top {
    flex-direction: column;
  }

  footer .footer-logo-wrapper,
  footer .footer-column {
    max-width: none;
    width: 100%;
  }

  footer .desktop-block {
    display: none;
  }

  footer .mobile-block {
    display: block;
  }
}

@media (max-width: 576px) {
  .n-step-user-img {
    max-width: 25px;
  }

  .n-step-user--one {
    top: 110px;
    left: 20px;
    padding: 2px;
    border-radius: 142px;
    gap: 6px;
    max-width: 114px;
  }

  .n-step-user--two {
    top: 205px;
    right: 135px;
    padding: 2px;
    border-radius: 140px;
    gap: 6px;
    max-width: 116px;
  }

  .n-step-user-texts p {
    font-size: 8px;
    line-height: 11px;
  }

  .n-step-user-texts span {
    margin-top: 1px;
    font-size: 6px;
    line-height: 8px;
  }

  .next-steps-small-item,
  .next-steps-big-item {
    min-height: 405px;
    padding: 20px;
    border-radius: 10px;
  }

  .next-steps-item-titles p {
    font-size: 20px;
    line-height: 24px;
  }

  .next-steps-item-titles span {
    font-size: 16px;
    line-height: 20px;
  }

  .next-steps-item-bg img {
    object-position: center top;
  }
}
