/* Site footer shared by the homepages and the generated pages.
   Markup: scripts/components/site-footer.js */

/* Zero-specificity reset so the footer looks the same on pages without the homepage reset */
:where(.frame-footer) :where(*) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:where(.frame-footer) :where(a) {
  color: inherit;
  text-decoration: none;
}

.bottom-empty-box {
  height: 120px;
}
/* Generated pages have no 64px flex gaps around the spacer (120 + 2 * 64) */
.bottom-empty-box-standalone {
  height: 248px;
}
.frame-footer {
  background: var(--textdark, #2c2c62);
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 420px;
  height: auto;
  /*top: 288px;*/
  overflow: visible;
}
.frame-bottom-download-box {
  background: var(--purple-accent, #7272ec);
  border-radius: 25px;
  width: calc(100% - 240px); /* ширина с учетом отступов слева и справа по 120px */
  max-width: 1200px;
  min-height: 324px; /* Минимальная высота вместо фиксированной */
  height: auto; /* Высота будет определяться содержимым */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -160px;
  overflow: hidden;
}
.text11 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 164px;
  position: absolute;
  left: 50%;
  translate: -50%;
  top: 40px;
}
.div55 {
  color: var(--white, #ffffff);
  text-align: center;
  font-family: var(--h5-font-family, "Nunito", sans-serif);
  font-size: var(--h5-font-size, 24px);
  line-height: var(--h5-line-height, 130%);
  font-weight: var(--h5-font-weight, 700);
  position: relative;
  align-self: stretch;
}
.just-do-fit4 {
  color: var(--white, #ffffff);
  text-align: center;
  font-family: var(--h3-font-family, "Nunito", sans-serif);
  font-size: var(--h3-font-size, 34px);
  line-height: var(--h3-line-height, 130%);
  font-weight: var(--h3-font-weight, 700);
  position: relative;
  align-self: stretch;
}
.crm-just-do-fit2 {
  color: var(--white, #ffffff);
  text-align: center;
  font-family: var(--body-2-font-family, "Comfortaa-Regular", sans-serif);
  font-size: var(--body-2-font-size, 20px);
  line-height: var(--body-2-line-height, 130%);
  font-weight: var(--body-2-font-weight, 400);
  position: relative;
  flex: 1;
  width: calc(100% - 40px);
}
.download-buttons-big {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  left: 50%;
  translate: -50%;
  bottom: 30px;
}
.download-app-big-ios, .download-app-big-android {
  background: var(--textdark, #2c2c62);
  border-radius: 15px;
  flex-shrink: 0;
  width: 195px;
  height: 60px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.icon-apple-store {
  width: 30px;
  height: 30px;
  position: absolute;
  left: 15px;
  top: 15px;
  overflow: visible;
}
.text-apple-store {
  width: 105px;
  height: 37.5px;
  position: absolute;
  left: 55px;
  top: 12px;
}
.get-it-on-text {
  color: #ffffff;
  text-align: left;
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  left: 1px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.app-store-text {
  color: #ffffff;
  text-align: left;
  font-family: "Nunito", sans-serif;
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  left: 1.5px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.icon-google-play {
  width: 30px;
  height: 30px;
  position: absolute;
  left: 15px;
  top: 15px;
  overflow: visible;
}
.text-google-play {
  width: 105px;
  height: 37.5px;
  position: absolute;
  left: 55px;
  top: 12px;
}
.google-play-text {
  color: #ffffff;
  text-align: left;
  font-family: "Nunito", sans-serif;
  font-size: 18px;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.div56 {
  color: var(--extra-light-purple, #ebe9fe);
  text-align: left;
  font-family: var(--body-3-font-family, "Comfortaa-Regular", sans-serif);
  font-size: var(--body-3-font-size, 16px);
  line-height: var(--body-3-line-height, 130%);
  font-weight: var(--body-3-font-weight, 400);
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.frame-footer-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  /* In flow, so the footer grows with its content (below the absolutely positioned download box) */
  margin: 219px auto 0;
  height: auto;

  width: calc(100% - 240px); /* ширина с учетом отступов слева и справа по 120px */
  max-width: 1200px;
}
.frame-footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.frame-footer-column-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.frame-payment-systems {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
}
.frame-payment-systems-mobile {
  display: none;
  flex-direction: row;
  gap: 24px;
  width: 100%;
  margin-bottom: 8px;
}
.icon-payment-system {
  width: auto;
  height: 20px;
  object-fit: cover;
}
.div-copyrights {
  color: var(--extra-light-purple, #ebe9fe);
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
  /*position: relative;*/
  margin-top: 32px;
  margin-bottom: 32px;
}
.div-policy {
  color: var(--extra-light-purple, #ebe9fe);
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
  text-decoration: underline;
  /*position: relative;*/
  cursor: pointer;
  width: fit-content;
}
.div-terms {
  color: var(--extra-light-purple, #ebe9fe);
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
  text-decoration: underline;
  /*position: relative;*/
  cursor: pointer;
  width: fit-content;
}
.div-cookie-settings {
  color: var(--extra-light-purple, #ebe9fe);
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
  width: fit-content;
}
.footer-payments-logos {
  display: contents;
}
.div-online-payments {
  color: var(--extra-light-purple, #ebe9fe);
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
  text-decoration: underline;
  width: fit-content;
}

@media (max-width: 1024px) {
    .text11 {
        gap: 10px;
    }
}

@media (max-width: 860px) {
    .download-buttons-big {
        flex-direction: row;
        gap: 20px;
        width: calc(100%);
        padding-left: 20px;
        padding-right: 40px;
    }

    .download-app-big-ios,
    .download-app-big-android {
        width: 50%;
    }

    .frame-footer {
        width: 100%;
        padding-top: 150px;
        position: relative;
    }

    .frame-bottom-download-box {
        width: calc(100% - 40px);
        padding: 30px;
        height: auto;
        top: -120px;
    }

    .text11 {
        width: 90%;
        height: auto;
        gap: 20px;
    }

    .div55 {
        font-size: 20px;
    }

    .just-do-fit4 {
        font-size: 28px;
    }

    .crm-just-do-fit2 {
        font-size: 16px;
    }

    .frame-footer-items {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        margin-top: 120px;
    }
}

@media (max-width: 640px) {

    .frame-footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 720px) {
    .download-app-big-ios,
    .download-app-big-android {
        width: 100%;
    }

    .download-buttons-big {
        flex-direction: column;
        gap: 15px;
        width: 90%;
    }

    .div55 {
        font-size: 18px;
    }

    .just-do-fit4 {
        font-size: 22px;
    }

    .crm-just-do-fit2 {
        display: none;
    }
}

@media screen and (max-width: 480px) {

    .frame-payment-systems {
        display: none;
    }

    .frame-payment-systems-mobile {
        display: flex;
    }

}
