/* Hide legacy footer if present */
.footer {
  display: none !important;
}

/* No horizontal scrollbar — full-width layout */
html {
  overflow-x: clip;
  width: 100%;
}

body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  background-color: #1b1e22;
}

.main-new,
#contact,
.up-footer {
  overflow-x: clip;
  max-width: 100%;
}

.landing-commissions,
.main-new-wallet {
  overflow-x: clip;
}

.main-screen-new__images-desktop,
.hero-globe-row,
.hero-globe-row__globe,
.main-screen-new__images-desktop .globe {
  overflow: visible;
}

.landing-commissions__stars {
  max-width: 100vw;
}

/* Hero: no inner scroll — override main-new-page.css overflow-x:hidden */
@media screen and (min-width: 992px) {
  .main-screen-new {
    overflow: visible !important;
    padding-bottom: 20px;
  }

  .main-screen-new__container {
    margin-bottom: 0;
  }

  .main-screen-new__button {
    margin-bottom: 32px;
  }

  .main-screen-new__images-desktop {
    order: 10;
    margin-top: 48px;
    height: auto !important;
    min-height: 0;
    padding-left: 0;
    overflow: visible !important;
  }

  .hero-globe-row__globe {
    overflow: visible !important;
  }
}

.main-screen-new__links-bottom {
  display: none !important;
}

.footer__trustpilot-widget-wrapper,
.trustpilot-widget {
  display: none !important;
}

.b-cookies-alert {
  display: none !important;
}

/* Banner: only decorative stars, no stats block — zero height in layout flow */
.landing-invoice-example_main-new {
  padding-bottom: 0 !important;
}

.landing-invoice-example_main-new #payment-ecosystem {
  padding-bottom: 0;
}

.landing-banner--decor-only {
  position: relative;
  height: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  background-color: transparent;
  pointer-events: none;
}

.landing-banner--decor-only .landing-banner__background {
  pointer-events: none;
}

.landing-banner--decor-only .landing-banner__container {
  position: relative;
  height: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
}

.landing-banner--decor-only .landing-banner__title,
.landing-banner--decor-only .landing-banner__figures,
.landing-banner--decor-only .landing-banner__buttons {
  display: none !important;
}

.landing-banner--decor-only + .alternative-best-suited.alternative-best-suited_dark {
  margin-top: 0;
  padding-top: 40px;
}

@media screen and (min-width: 992px) {
  .landing-banner--decor-only + .alternative-best-suited.alternative-best-suited_dark {
    padding-top: 48px;
  }
}

/* landing-main-stat: no horizontal scrollbar from axis labels / flex layout */
.landing-main-stat {
  overflow-x: clip;
}

@media screen and (min-width: 992px) {
  .landing-main-stat__content {
    overflow-x: clip;
    min-width: 0;
  }

  .landing-main-stat__diagram {
    flex: 0 1 551px;
    min-width: 0;
    max-width: 100%;
  }

  .landing-main-stat__texts {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .landing-main-stat__axis-label:last-child > p {
    transform: none;
  }
}

/* NSPK block: shorter value line fits the layout */
.landing-commissions__value {
  font-size: clamp(40px, 7vw, 88px) !important;
  line-height: 1.08 !important;
}

/* Tighter spacing between consecutive main-page sections */
.alternative-best-suited.alternative-best-suited_dark,
.main-new-solutions,
.landing-main-stat,
.main-new-wallet,
.landing-commissions,
.main-new-security,
.landing-alternative-text-cards.landing-alternative-text-cards_main-new {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media screen and (min-width: 992px) {
  .alternative-best-suited.alternative-best-suited_dark,
  .main-new-solutions,
  .landing-main-stat,
  .main-new-wallet,
  .landing-commissions,
  .main-new-security,
  .landing-alternative-text-cards.landing-alternative-text-cards_main-new {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .alternative-best-suited.alternative-best-suited_dark + .main-new-solutions,
  .main-new-solutions + .landing-main-stat,
  .landing-main-stat + .main-new-wallet,
  .main-new-wallet + .landing-commissions,
  .landing-commissions + .main-new-security,
  .main-new-security + .landing-alternative-text-cards.landing-alternative-text-cards_main-new {
    padding-top: 28px;
  }
}

/* Best-suited "и другие" contact chip */
#j-alternative-best-suited-contact-button .modal-contact-us-button.alternative-best-suited__contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 174px;
  min-height: 64px;
  padding: 16px 12px;
  border: none !important;
  border-radius: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: #fff;
  background-color: transparent !important;
  background-image: url("../images/best-suited/circle.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: none;
}

#j-alternative-best-suited-contact-button .modal-contact-us-button.alternative-best-suited__contact-button:hover {
  background-color: transparent !important;
  background-image: url("../images/best-suited/circle-hover.svg");
}

/* Solution bubbles: compact spacers instead of stretched empty pills */
.solution-bubbles-static--desktop .main-new-bubble_empty--spacer,
.solution-bubbles-static--mobile .main-new-bubble_empty--spacer {
  flex-grow: 0;
  flex-shrink: 0;
  width: 48px;
  min-width: 48px;
  max-width: 48px;
}
