.wizard-bitrix-page .wizard-bitrix-compare .compare-table {
  width: 100%;
  table-layout: fixed;
}

.wizard-bitrix-page .wizard-bitrix-compare .compare-table-responsive {
  border-radius: 20px;
}

/* The constructor table keeps each selected column readable and scrolls when needed. */
.wizard-constructor-page .wizard-bitrix-compare .compare-table-responsive {
  max-width: 100%;
  overflow-x: auto;
}

.wizard-constructor-page .wizard-constructor-table .compare-table-head,
.wizard-constructor-page .wizard-constructor-table .compare-table-row {
  display: grid !important;
}

.wizard-constructor-page .wizard-bitrix-compare .wizard-constructor-table--2 { min-width: 560px !important; }
.wizard-constructor-page .wizard-bitrix-compare .wizard-constructor-table--3 { min-width: 760px !important; }
.wizard-constructor-page .wizard-bitrix-compare .wizard-constructor-table--4 { min-width: 1000px !important; }
.wizard-constructor-page .wizard-bitrix-compare .wizard-constructor-table--5 { min-width: 1300px !important; }

.wizard-constructor-page .wizard-constructor-table--2 .compare-table-head,
.wizard-constructor-page .wizard-constructor-table--2 .compare-table-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wizard-constructor-page .wizard-constructor-table--3 .compare-table-head,
.wizard-constructor-page .wizard-constructor-table--3 .compare-table-row { grid-template-columns: 28% 36% 36%; }
.wizard-constructor-page .wizard-constructor-table--4 .compare-table-head,
.wizard-constructor-page .wizard-constructor-table--4 .compare-table-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wizard-constructor-page .wizard-constructor-table--5 .compare-table-head,
.wizard-constructor-page .wizard-constructor-table--5 .compare-table-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.wizard-constructor-page .wizard-constructor-table .compare-table-col {
  box-sizing: border-box;
  width: auto !important;
  min-width: 0;
  text-align: left;
}

.wizard-bitrix-page .wizard-bitrix-compare .compare-table-col:first-child {
  width: 28%;
}

.wizard-bitrix-page .wizard-bitrix-compare .compare-table-col:first-child ~ .compare-table-col {
  width: 36%;
  text-align: left;
}

.wizard-bitrix-page .wizard-bitrix-compare acronym {
  border-bottom: 0;
  text-decoration: none;
}

@media (max-width: 767px) {
  .wizard-bitrix-page .wizard-bitrix-compare .compare-table {
    min-width: 760px;
  }
}

.wizard-constructor-page {
  --wizard-heading-description-gap: 36px;
}

.wizard-constructor-page .wizard-bitrix-capabilities .main-section-head-left > .az-direction__title,
.wizard-bitrix-page .wizard-bitrix-compare .az-trust__head {
  margin-bottom: var(--wizard-heading-description-gap);
}

.wizard-constructor-page .tariffs__lead {
  margin-top: var(--wizard-heading-description-gap);
}

.wizard-constructor-page .az-callback__head {
  margin-top: 0;
  margin-bottom: var(--wizard-heading-description-gap);
}

.wizard-bitrix-page .wizard-bitrix-compare__lead {
  margin: 0 0 40px;
}

.wizard-bitrix-page .head-block-bitrix .head-block-text ul {
  padding-left: 0;
  list-style: none;
}

.wizard-bitrix-page .head-block-bitrix .head-block-text li {
  position: relative;
  padding-left: 40px;
  list-style: none;
}

.wizard-bitrix-page .head-block-bitrix .head-block-text li::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #159bf2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.wizard-bitrix-page .customer-service.invert {
  overflow-x: clip;
}

.wizard-bitrix-page .head-block-bitrix .head-block-right img,
.wizard-bitrix-page .after-head-services img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.wizard-bitrix-page .full-complex-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}

.wizard-bitrix-page .full-complex-icon img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .wizard-bitrix-page .head-block-bitrix {
    padding-bottom: 60px;
  }

  .wizard-bitrix-page .head-block-bitrix .head-block-right img {
    display: block;
    width: min(100%, 600px);
    margin-inline: auto;
  }
}

.wizard-bitrix-page .az-reputation__item {
  overflow: hidden;
}

.wizard-bitrix-page .az-reputation.medicine .az-reputation__item.wizard-bitrix-trust-card {
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wizard-bitrix-page .version-section .main-section-slider-controls:has(.version-slider-next.swiper-button-lock) {
  display: none;
}

.wizard-bitrix-page .wizard-bitrix-services .az-solutions__item {
  position: relative;
  height: auto;
  min-height: 150px;
  gap: 36px;
  cursor: default;
}

.wizard-bitrix-page .wizard-bitrix-services .az-solutions__item-title {
  flex: 0 0 34%;
  width: auto;
  min-width: 0;
  margin: 0;
  line-height: 1.3;
}

.wizard-bitrix-page .wizard-bitrix-services__description {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.wizard-bitrix-page .wizard-bitrix-services .wizard-bitrix-services__action {
  position: absolute;
  top: 50%;
  right: 32px;
  width: min(380px, 55%);
  margin: 0;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (min-width: 1600px) {
  .wizard-bitrix-page .wizard-bitrix-services .az-solutions__item:hover .wizard-bitrix-services__description,
  .wizard-bitrix-page .wizard-bitrix-services .az-solutions__item:focus-within .wizard-bitrix-services__description {
    visibility: hidden;
  }

  .wizard-bitrix-page .wizard-bitrix-services .az-solutions__item:hover .wizard-bitrix-services__action,
  .wizard-bitrix-page .wizard-bitrix-services .az-solutions__item:focus-within .wizard-bitrix-services__action {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (hover: none) and (min-width: 768px) {
  .wizard-bitrix-page .wizard-bitrix-services .wizard-bitrix-services__action {
    position: static;
    flex: 0 0 auto;
    width: auto;
    max-width: 260px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 768px) and (max-width: 1599px) {
  .wizard-bitrix-page .wizard-bitrix-services .az-solutions__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    gap: 18px;
  }

  .wizard-bitrix-page .wizard-bitrix-services .az-solutions__item-title,
  .wizard-bitrix-page .wizard-bitrix-services__description {
    flex: none;
    width: 100%;
  }

  .wizard-bitrix-page .wizard-bitrix-services .wizard-bitrix-services__action {
    position: static;
    width: min(380px, 100%);
    max-width: 100%;
    margin-top: 4px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  .wizard-bitrix-page .wizard-bitrix-services .directions-block {
    padding: 32px 20px;
  }

  .wizard-bitrix-page .wizard-bitrix-services .az-solutions__item {
    display: block;
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
  }

  .wizard-bitrix-page .wizard-bitrix-services .az-solutions__item-title {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .wizard-bitrix-page .wizard-bitrix-services__description {
    font-size: 16px;
  }

  .wizard-bitrix-page .wizard-bitrix-services .wizard-bitrix-services__action {
    position: static;
    width: 100%;
    max-width: 380px;
    margin-top: 20px;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}

.wizard-bitrix-page .licenses-section {
  background: #fff;
  padding-top: 36px;
}

.wizard-bitrix-page .wizard-bitrix-interested {
  background: #fff;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 100px;
}

.wizard-bitrix-page .service-ask-question .main-section-head.full {
  margin-bottom: 0;
}

.wizard-bitrix-page .wizard-bitrix-interested .main-section-head {
  padding-top: 0;
}

.wizard-constructor-page .wizard-bitrix-interested .may-be-interested-item-icon {
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
}

.wizard-constructor-page .wizard-bitrix-interested .may-be-interested-item-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wizard-bitrix-page .wizard-bitrix-interested .may-be-interested-list {
  overflow: visible;
}

.wizard-bitrix-page .wizard-bitrix-related-controls {
  display: none;
}

@media (max-width: 1199px) {
  .wizard-bitrix-page .wizard-bitrix-interested .may-be-interested-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin-left: 0;
    overflow-x: auto;
  }

  .wizard-bitrix-page .wizard-bitrix-interested .may-be-interested-item {
    box-sizing: border-box;
    flex: 0 0 min(420px, calc(100% - 42px));
    width: min(420px, calc(100% - 42px));
    margin: 0;
    padding: 24px;
    justify-content: flex-start;
    scroll-snap-align: start;
  }

  .wizard-bitrix-page .wizard-bitrix-related-controls:not(.is-hidden) {
    position: static;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 18px;
  }
}

@media (max-width: 767px) {
  .wizard-bitrix-page .wizard-bitrix-interested .may-be-interested-item {
    flex-basis: min(320px, calc(100% - 38px));
    width: min(320px, calc(100% - 38px));
    align-items: center;
    padding: 20px;
  }

  .wizard-constructor-page .wizard-bitrix-interested .may-be-interested-item-icon {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    margin-right: 18px;
  }
}

/* Keep the implementation and expertise cards readable before showing another card. */
.wizard-bitrix-page [data-wizard-scroll] {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.wizard-bitrix-page [data-wizard-scroll]::-webkit-scrollbar {
  display: none;
}

.wizard-bitrix-page .wizard-bitrix-implementation-scroll {
  width: 100%;
}

.wizard-bitrix-page .wizard-bitrix-implementation-scroll .swiper-wrapper {
  display: flex;
  width: 100%;
  gap: 20px;
  transform: none !important;
}

.wizard-bitrix-page .wizard-bitrix-implementation-scroll .version-slider-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  margin-right: 0 !important;
  scroll-snap-align: start;
}

.wizard-bitrix-page .wizard-bitrix-trust-scroll {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 30px;
  justify-content: flex-start;
}

.wizard-bitrix-page .wizard-bitrix-trust-scroll .wizard-bitrix-trust-card {
  flex: 0 0 max(440px, calc((100% - 60px) / 3));
  width: max(440px, calc((100% - 60px) / 3));
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .wizard-bitrix-page .wizard-bitrix-trust-card .az-reputation__item-title {
    min-height: 84px;
  }

  .wizard-bitrix-page .wizard-bitrix-trust-card .az-reputation__item-text {
    min-height: 144px;
  }
}

.wizard-bitrix-page [data-wizard-carousel-controls].is-hidden {
  display: none;
}

.wizard-bitrix-page [data-wizard-carousel-controls] .version-slider-prev,
.wizard-bitrix-page [data-wizard-carousel-controls] .version-slider-next {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.wizard-bitrix-page [data-wizard-carousel-controls] button:disabled {
  opacity: .4;
  cursor: default;
}

.wizard-bitrix-page .wizard-bitrix-trust-controls {
  position: static;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;
  margin-top: 18px;
}

@media (max-width: 1399px) {
  .wizard-bitrix-page .wizard-bitrix-implementation-scroll .version-slider-slide {
    flex-basis: clamp(360px, calc((100% - 20px) / 2), 460px);
    width: clamp(360px, calc((100% - 20px) / 2), 460px);
  }

  .wizard-bitrix-page .wizard-bitrix-trust-scroll .wizard-bitrix-trust-card {
    flex-basis: 390px;
    width: 390px;
    min-width: 390px;
  }
}

@media (max-width: 767px) {
  .wizard-bitrix-page .wizard-bitrix-implementation-scroll .version-slider-slide {
    flex-basis: min(360px, calc(100vw - 76px));
    width: min(360px, calc(100vw - 76px));
  }

  .wizard-bitrix-page .wizard-bitrix-trust-scroll .wizard-bitrix-trust-card {
    flex-basis: min(320px, calc(100vw - 72px));
    width: min(320px, calc(100vw - 72px));
    min-width: 0;
  }
}

/* One outer gap for every content section, independent of section order. */
body:has(> .wizard-bitrix-page) { background: #fff; }
.wizard-bitrix-page { --wizard-bitrix-block-gap: 100px; }
.wizard-bitrix-page > :not(.head-block):not(.after-head-services) {
  margin-block: var(--wizard-bitrix-block-gap) 0;
  padding-block: 0;
}
.wizard-bitrix-page > .white-block.overflow-hidden.pt-100 { padding-top: 0 !important; }
.wizard-bitrix-page > .white-block.overflow-hidden.pt-100:has(.wizard-bitrix-compare) { margin-bottom: 0 !important; }
.wizard-bitrix-page > .white-block.overflow-hidden.pt-100 .customer-service,
.wizard-bitrix-page > .white-block.overflow-hidden.pt-100 .full-complex { margin-bottom: 0 !important; }
.wizard-bitrix-page > .white-block.overflow-hidden.pt-100 .full-complex-list { margin-bottom: 0 !important; }
.wizard-bitrix-page > .version-section,
.wizard-bitrix-page > .service-ask-question { padding-bottom: 0 !important; }
.wizard-bitrix-page > :last-child { padding-bottom: var(--wizard-bitrix-block-gap) !important; }
.wizard-bitrix-page > .licenses-section .tariffs { width: min(1140px, 100%); margin-inline: auto; }
.wizard-bitrix-page .az-about.about__page .az-about-background { padding-top: 0; }
.wizard-bitrix-page .az-about.about__page .container { padding-top: 65px; padding-bottom: 65px; }
.wizard-bitrix-page .wizard-bitrix-about__partner .az-about-card__body { justify-content: flex-start; padding-top: 35px; }
.wizard-bitrix-page .white-block.overflow-hidden .text-middle-block:has(> p:empty) { display: none; }
@media (max-width: 1199px) {
  .wizard-bitrix-page > .white-block.overflow-hidden.pt-100:has(.wizard-bitrix-compare) .main-section-head.full { padding-top: 0 !important; }
  .wizard-bitrix-page .wizard-bitrix-compare { padding-top: 60px; }
}
@media (min-width: 1530px) {
  .wizard-bitrix-page > .licenses-section .tariffs { width: min(1444px, 100%); }
}
@media (min-width: 1600px) {
  .wizard-bitrix-page > .licenses-section .tariffs { width: min(1530px, 100%); }
}

/* Equal vertical padding inside every rounded content panel. */
.wizard-constructor-page .wizard-bitrix-compare,
.wizard-constructor-page > .az-reputation > .container,
.wizard-constructor-page > .licenses-section .tariffs,
.wizard-constructor-page > .version-section > .container,
.wizard-constructor-page > .wizard-bitrix-services > .container,
.wizard-constructor-page > .az-about.about__page.wizard-bitrix-about .container,
.wizard-constructor-page > .az-callback .callback-block {
  padding-top: 65px;
  padding-bottom: 65px;
}

/* Match the site's 1140/1444px container at every breakpoint. */
@media (max-width: 1199px) {
  .wizard-constructor-page .main-section-head { padding-top: 0; }

  .wizard-constructor-page .wizard-bitrix-compare,
  .wizard-constructor-page > .az-reputation > .container,
  .wizard-constructor-page > .licenses-section .tariffs,
  .wizard-constructor-page > .version-section > .container,
  .wizard-constructor-page > .wizard-bitrix-services > .container,
  .wizard-constructor-page > .az-about.about__page.wizard-bitrix-about .container,
  .wizard-constructor-page > .az-callback .callback-block {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .wizard-bitrix-page > .az-reputation > .container,
  .wizard-bitrix-page > .version-section > .container,
  .wizard-bitrix-page > .wizard-bitrix-services > .container,
  .wizard-bitrix-page > .wizard-bitrix-about .container,
  .wizard-bitrix-page > .az-callback .callback-block {
    box-sizing: border-box;
    width: calc(100% - 40px);
    padding-right: 40px;
    padding-left: 40px;
  }

  .wizard-bitrix-page .wizard-bitrix-compare {
    box-sizing: border-box;
    padding-right: 40px;
    padding-left: 40px;
  }

  .wizard-bitrix-page > .licenses-section .tariffs {
    box-sizing: border-box;
    width: calc(100% - 40px);
    padding-right: 40px;
    padding-left: 40px;
  }
}
@media (max-width: 767px) {
  .wizard-bitrix-page { --wizard-bitrix-block-gap: 60px; }
  .wizard-bitrix-page .wizard-bitrix-about__partner .az-about-card__body { padding-top: 24px; }

  .wizard-constructor-page .wizard-bitrix-compare,
  .wizard-constructor-page > .az-reputation > .container,
  .wizard-constructor-page > .licenses-section .tariffs,
  .wizard-constructor-page > .version-section > .container,
  .wizard-constructor-page > .wizard-bitrix-services > .container,
  .wizard-constructor-page > .az-about.about__page.wizard-bitrix-about .container,
  .wizard-constructor-page > .az-callback .callback-block {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .wizard-bitrix-page > .az-reputation > .container,
  .wizard-bitrix-page > .version-section > .container,
  .wizard-bitrix-page > .wizard-bitrix-services > .container,
  .wizard-bitrix-page > .wizard-bitrix-about .container,
  .wizard-bitrix-page > .az-callback .callback-block {
    width: calc(100% - 20px);
    padding-right: 20px;
    padding-left: 20px;
  }

  .wizard-bitrix-page .wizard-bitrix-compare {
    padding-right: 20px;
    padding-left: 20px;
  }

  .wizard-bitrix-page > .licenses-section .tariffs {
    width: calc(100% - 20px);
    padding-right: 20px;
    padding-left: 20px;
  }
}
@media (max-width: 640px) {
  .wizard-bitrix-page .wizard-bitrix-about__integration { min-height: 0; }
  .wizard-bitrix-page .wizard-bitrix-about__integration .az-about-card__body {
    height: auto;
    min-height: 240px;
    padding: 88px 24px 28px;
    justify-content: flex-start;
  }
  .wizard-bitrix-page .wizard-bitrix-about__integration .az-about-card__icon { right: 24px; }
}

/* Keep the monthly implementation price on one line without changing other cards. */
.wizard-bitrix-page .version-section .version-slider-slide-price--monthly {
  font-size: 30px;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .wizard-bitrix-page .wizard-bitrix-trust-scroll .az-reputation__item-title {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .wizard-bitrix-page .version-section .version-slider-slide-price--monthly {
    font-size: clamp(25px, 8vw, 30px);
  }
}
@media (min-width: 1600px) {
  .wizard-bitrix-page .version-section .version-slider-slide-price--monthly {
    font-size: 35px;
  }
}
.wizard-constructor-standalone-breadcrumbs {
  padding: 24px 0 8px;
  background: #f8f8f8;
}

.wizard-constructor-standalone-breadcrumbs .head-block-breadcrumbs ul li,
.wizard-constructor-standalone-breadcrumbs .head-block-breadcrumbs ul li:before,
.wizard-constructor-standalone-breadcrumbs .head-block-breadcrumbs ul a {
  color: #0e1730;
}
