.widget-banner {
  padding-block: 20px;
  height: 678px;
  background-image: url("./images/banner.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 100px;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .widget-banner {
    height: 100vh;
    margin-bottom: 80px;
  }
}

.widget-banner .breadcrumb-link {
  line-height: 16px;
}

.breadcrumb-link--current {
  color: #ffffff !important;
}

.widget-banner__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.widget-banner__title {
  font-family: "Tektur";
  font-weight: 400;
  font-size: 48px;
  line-height: 54px;
  color: #ffffff;
  margin: unset;
}

@media (max-width: 768px) {
  .widget-banner__title {
    font-size: 36px;
    line-height: 38px;
  }
}

.widget-banner__subtitle {
  font-size: 20px;
  line-height: 24px;
  word-break: break-all;
  color: #e2e2e2;
  margin: unset;
  width: 50%;
}

@media (max-width: 768px) {
  .widget-banner__subtitle {
    width: initial;
  }
}

.widget-banner__links {
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .widget-banner__links {
    flex-direction: column;
    gap: 8px;
  }
}

.widget-banner__link {
  padding: 15px 20px;
  border: 1px solid #ffffff;
  border-radius: 32px;
  width: fit-content;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 768px) {
  .widget-banner__link {
    width: 100%;
    text-align: center;
  }
}

.widget-banner__link:hover {
  text-decoration: none;
}

.widget-banner__link--primary {
  background-color: #ffffff;
  color: #0c2f69;
}

.problems-solutions {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .problems-solutions {
    margin-bottom: 80px;
  }
}

.problems-solutions__header {
  font-family: "Tektur", sans-serif;
  font-size: 40px;
  line-height: 48px;
  color: #0c2f69;
  margin: unset;
}

@media (max-width: 768px) {
  .problems-solutions__header {
    font-size: 32px;
    line-height: 36px;
  }
}

.problems-solutions__container {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .problems-solutions__container {
    gap: 8px;
  }
}

.ps-header,
.ps-row {
  display: grid;
  grid-template-columns: repeat(var(--cells-count, 2), 1fr);
  gap: 80px;
}

.ps-header {
  padding: 20px 40px;
  background-color: #eff0f4;
}

@media (max-width: 768px) {
  .ps-header {
    display: none;
  }
}

.ps-row {
  padding: 40px;
  background-color: #fbfcfe;
  border-bottom: 1px solid #e8e8e8;
}

@media (max-width: 768px) {
  .ps-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    border: 1px solid #e8e8e8;
  }
}

.ps-header__item {
  font-size: 16px;
  line-height: 20px;
}

.ps-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ps-cell-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .ps-cell-info {
    display: block;
  }
}

.ps-cell-info__icon {
  display: inline-flex;
  color: #0c2f69;
}

@media (max-width: 768px) {
  .ps-cell-info__icon {
    float: inline-start;
    margin-inline-end: 8px;
  }
}

.ps-cell-info__text {
  font-size: 20px;
  line-height: 24px;
  margin: unset;
}

@media (max-width: 768px) {
  .ps-cell-info__text {
    line-height: 28px;
  }
}

.ps-cell__label {
  display: none;
}

@media (max-width: 768px) {
  .ps-cell__label {
    display: block;
    font-size: 12px;
    line-height: 16px;
    opacity: 0.6;
  }
}

.advantages {
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.advantages__title {
  font-family: "Tektur";
  font-size: 40px;
  line-height: 48px;
  margin: unset;
  color: #0c2f69;
}

@media (max-width: 768px) {
  .advantages__title {
    font-size: 32px;
    line-height: 36px;
  }
}

.advantages__wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.advantages__subtitle {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  margin: unset;
  color: #0c2f69;
}

.advantages__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 768px) {
  .advantages__container {
    grid-template-columns: 1fr;
  }
}

.advantage {
  display: flex;
  flex-direction: column;
  gap: 80px;
  background-color: #eff0f4;
  padding: 24px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .advantage {
    gap: 32px;
  }
}

.advantage__icon {
  display: inline-flex;
  color: #0c2f69;
}

.advantage__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advantage__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  margin: unset;
}

.advantage__subtitle {
  display: flex;
  font-size: 16px;
  line-height: 20px;
  margin: unset;
}

.trusting-companies {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .trusting-companies {
    margin-bottom: 80px;
  }
}

.trusting-companies__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trusting-companies__title {
  font-family: "Tektur", sans-serif;
  font-size: 40px;
  line-height: 48px;
  color: #0c2f69;
  margin: unset;
}

@media (max-width: 768px) {
  .trusting-companies__title {
    font-size: 32px;
    line-height: 36px;
  }
}

.trusting-companies__subtitle {
  font-size: 20px;
  line-height: 24px;
  margin: unset;
}

.trusting-company {
  background-color: #fbfcfe;
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
}

/* бегущая строка */
.marquee-items {
  --marquee-w: 302px;
  --marquee-h: 108px;
  --marquee-d: 8s;
  --marquee-n: var(--marquee-n-desktop, 4.25);

  display: flex;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 1280px) {
  .marquee-items {
    --marquee-n: 3;
  }
}

@media (max-width: 1024px) {
  .marquee-items {
    --marquee-n: 2;
  }
}

@media (max-width: 768px) {
  .marquee-items {
    --marquee-n: 1;
  }
}

.marquee-items > .marquee-item {
  offset: shape(
    from calc(var(--marquee-w) / -2) 50%,
    hline by calc(sibling-count() * 100% / var(--marquee-n))
  );
  animation: x var(--marquee-d) linear infinite
    calc(-1 * sibling-index() * var(--marquee-d) / sibling-count());
  animation-direction: reverse;
}
@keyframes x {
  0% {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}
.marquee-items:hover > .marquee-item {
  animation-play-state: paused;
}

.marquee-item__text {
  width: var(--marquee-w);
  height: var(--marquee-h);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* конец бегущей строки */

.demo {
  margin-bottom: 100px;
  padding: 80px;
  background-color: #fbfcfe;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 768px) {
  .demo {
    margin-bottom: 80px;
    padding: 24px;
  }
}

.demo-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.demo-item__icon {
  display: inline-flex;
  color: #0c2f69;
}

.demo-item__text {
  font-size: 24px;
  line-height: 28px;
  margin: unset;
}

.text-bold {
  font-weight: 700;
}

.request-solution__title {
  font-family: "Tektur", sans-serif;
  font-size: 40px;
  line-height: 48px;
  color: #0c2f69;
  margin: unset;
}

@media (max-width: 768px) {
  .request-solution__title {
    font-size: 32px;
    line-height: 36px;
  }
}

.infrastructure {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
  margin-bottom: 100px;
}

@media (max-width: 1023px) {
  .infrastructure {
    gap: 24px;
    margin-bottom: 80px;
  }
}

.infrastructure-header {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

@media (max-width: 1023px) {
  .infrastructure-header {
    gap: 40px;
  }
}

.infrastructure-header__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.infrastructure-header__title {
  font-family: "Tektur", sans-serif;
  font-size: 40px;
  line-height: 48px;
  color: #0c2f69;
  margin: unset;
}

@media (max-width: 768px) {
  .infrastructure-header__title {
    font-size: 32px;
    line-height: 36px;
  }
}

.infrastructure-header__subtitle {
  font-size: 20px;
  line-height: 24px;
  margin: unset;
}

.infrastructure-header__comments {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.infrastructure-header__comment {
  font-weight: 700;
  font-size: 32px;
  line-height: 28px;
}

.tree {
  position: relative;
  text-align: center;
  display: none;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 1023px) {
  .tree {
    display: flex;
  }
}

.tree li:before {
  display: none;
}

.tree li {
  margin: unset;
  padding: unset;
}

.tree-root {
  position: relative;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.tree-root__title {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tree-root__logo {
  width: 100px;
  height: 100px;
  padding: 25px;
  border-radius: 50%;
  border: 1px solid #e8e8e8;
}

.tree-level {
  position: relative;
  display: flex;
  align-items: center;
  margin: unset;
  flex-direction: column;
  gap: 40px;
}

.tree-node {
  position: relative;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 255px;
}

.node-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.node-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-title__text {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
}

.node-arrow {
  display: none;
  margin-left: 6px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  transition: 0.3s;
}

.has-children .node-arrow {
  display: inline-block;
}

.tree-node.open .node-arrow {
  transform: rotate(-135deg);
}

.node-line {
  width: 100%;
  border-bottom: 1px solid #e8e8e8;
}

.node-subtitle {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

.tree-node > .tree-level {
  display: none;
}

.tree-node.open > .tree-level {
  display: flex;
}

.tree.dimmed .tree-node {
  opacity: 0.4;
}

.tree.dimmed .tree-node.open,
.tree.dimmed .tree-node.open * {
  opacity: 1;
}

/* canvas */
.canvas-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

@media (max-width: 1023px) {
  .canvas-wrapper {
    display: none;
  }
}

#canvas {
  display: block;
  width: 100%;
  cursor: grab;
}

#canvas:active {
  cursor: grabbing;
}

.hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(50, 50, 50, 0.9);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 13px;
}

.building {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(50, 50, 50, 0.9);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: #4a90e2;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.show-more {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0c2f69;
  background-color: transparent;
  width: fit-content;
  border: none;
  padding: unset;
}

.show-more__icon {
  display: inline-flex;
}

[data-hidden="true"] {
  display: none !important;
}

.infrastructure-header__title-container,
.trusting-companies__title-container,
.advantages__header {
  display: flex;
  align-items: center;
  gap: 8px;
}
