.kb-ua,
.kb-ua * {
  box-sizing: border-box;
}

.kb-ua {
  --kb-header-column: 60%;
  --kb-main-column: 46%;
  width: 100%;
  padding: 100px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 70%, #f5f5f3 70%, #f5f5f3 100%);
  font-family: inherit;
}

.kb-ua__container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.kb-ua__head {
  display: grid;
  grid-template-columns: minmax(0, var(--kb-header-column)) minmax(0, 1fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 52px;
}

.kb-ua__kicker {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 34px;
  margin-bottom: -30px;
  padding: 7px 13px;
  border: 1px solid rgba(40,40,40,.12);
  border-radius: 9px;
  color: #282828;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

.kb-ua__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #F5593D;
}

.kb-ua__title {
  margin: 0;
  color: #282828;
  font-size: clamp(43px, 4.5vw, 70px);
  font-weight: 820;
  line-height: .98;
  letter-spacing: -.05em;
}

.kb-ua__title-highlight {
  position: relative;
  display: inline-block;
  color: #F5593D;
}

.kb-ua__title-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: -8px;
  bottom: -5px;
  height: 4px;
  border-radius: 99px;
  background: #F5593D;
}

.kb-ua--no-title-underline .kb-ua__title-highlight::after {
  display: none;
}

.kb-ua__lead {
  max-width: 510px;
  margin: 0 0 2px;
  color: #747474;
  font-size: 17px;
  line-height: 1.62;
}

.kb-ua__lead > *:first-child,
.kb-ua__main-text > *:first-child {
  margin-top: 0;
}

.kb-ua__lead > *:last-child,
.kb-ua__main-text > *:last-child {
  margin-bottom: 0;
}

.kb-ua__lead strong {
  color: #282828;
  font-weight: 750;
}

.kb-ua__layout {
  display: grid;
  grid-template-columns: minmax(0, var(--kb-main-column)) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.kb-ua__main {
  position: relative;
  min-height: 610px;
  padding: 38px;
  overflow: hidden;
  border-radius: 30px;
  background: #282828;
  color: #fff;
}

.kb-ua__main::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 390px;
  height: 390px;
  border: 78px solid #F5593D;
  border-radius: 50%;
}

.kb-ua__main::after {
  content: "";
  position: absolute;
  right: 85px;
  bottom: 92px;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 50%;
}

.kb-ua--no-big-ring .kb-ua__main::before,
.kb-ua--no-small-circle .kb-ua__main::after {
  display: none;
}

.kb-ua__main-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.kb-ua__main-number {
  color: #F5593D;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .08em;
}

.kb-ua__main-label {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 700;
}

.kb-ua__main-title {
  position: relative;
  z-index: 2;
  max-width: 550px;
  margin: 78px 0 0;
  color: #fff;
  font-size: clamp(31px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.kb-ua__main-text {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 16px;
  line-height: 1.55;
}

.kb-ua__scheme {
  position: absolute;
  z-index: 3;
  left: 38px;
  right: 38px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.kb-ua__scheme-item {
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}

.kb-ua__scheme-item.is-highlight {
  border-color: #F5593D;
  background: #F5593D;
  color: #282828;
}

.kb-ua__scheme-arrow {
  flex: 0 0 auto;
  color: #F5593D;
  font-size: 22px;
  line-height: 1;
}

.kb-ua__scheme-arrow svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.kb-ua__rail {
  position: relative;
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 610px;
  padding: 20px 0 20px 42px;
}

.kb-ua__rail-line {
  position: absolute;
  left: 14px;
  top: 62px;
  bottom: 62px;
  width: 2px;
  background: linear-gradient(180deg, transparent, #F5593D 14%, #F5593D 86%, transparent);
}

.kb-ua__item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 165px;
  padding: 25px 28px;
  border: 1px solid rgba(40,40,40,.07);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(27,27,27,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.kb-ua__item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 4px solid #f4f4f2;
  border-radius: 50%;
  background: #F5593D;
  transform: translateY(-50%);
}

.kb-ua__rail.has-no-line .kb-ua__item::before {
  display: none;
}

.kb-ua__item:hover {
  transform: translateX(7px);
  box-shadow: 0 20px 44px rgba(27,27,27,.1);
}

.kb-ua__item-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 17px;
  background: #F5593D;
  color: #282828;
}

.kb-ua__item-icon i,
.kb-ua__item-icon svg {
  width: 33px;
  height: 33px;
  font-size: 33px;
  fill: currentColor;
}

.kb-ua__item-index {
  color: #a8a8a8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
}

.kb-ua__item-title {
  margin: 7px 0 0;
  color: #282828;
  font-size: 21px;
  line-height: 1.17;
  letter-spacing: -.025em;
}

.kb-ua__item-text {
  margin: 10px 0 0;
  color: #747474;
  font-size: 14px;
  line-height: 1.48;
}

.kb-ua__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
  padding: 27px 32px;
  border-radius: 21px;
  background: #F5593D;
}

.kb-ua__quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.kb-ua__quote-mark {
  color: #282828;
  font-size: 56px;
  font-weight: 900;
  line-height: .8;
}

.kb-ua__quote-text {
  max-width: 880px;
  margin: 0;
  color: #282828;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.kb-ua__author {
  min-width: 175px;
  padding-left: 25px;
  border-left: 1px solid rgba(40,40,40,.22);
}

.kb-ua__author-name,
.kb-ua__author-role {
  display: block;
}

.kb-ua__author-name {
  color: #282828;
  font-size: 14px;
}

.kb-ua__author-role {
  margin-top: 4px;
  color: rgba(40,40,40,.65);
  font-size: 11px;
}

@media (max-width: 1100px) {
  .kb-ua__head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .kb-ua__kicker {
    margin-bottom: 0;
  }

  .kb-ua__lead {
    max-width: 700px;
  }

  .kb-ua__layout {
    grid-template-columns: 1fr;
  }

  .kb-ua__rail {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .kb-ua {
    padding: 65px 15px;
    background: #fff;
  }

  .kb-ua__title {
    font-size: 39px;
  }

  .kb-ua__lead {
    font-size: 15px;
  }

  .kb-ua__main {
    min-height: 570px;
    padding: 25px;
    border-radius: 23px;
  }

  .kb-ua__main-title {
    margin-top: 52px;
    font-size: 32px;
  }

  .kb-ua__main-text {
    font-size: 14px;
  }

  .kb-ua__scheme {
    left: 25px;
    right: 25px;
    bottom: 25px;
    flex-direction: column;
    gap: 8px;
  }

  .kb-ua__scheme-item {
    width: 100%;
    min-height: 50px;
  }

  .kb-ua__scheme-arrow {
    transform: rotate(90deg);
  }

  .kb-ua__rail {
    padding-left: 27px;
  }

  .kb-ua__rail-line {
    left: 5px;
  }

  .kb-ua__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 20px;
    border-radius: 18px;
  }

  .kb-ua__item-content {
    width: 100%;
    min-width: 0;
  }

  .kb-ua__item::before {
    left: -28px;
  }

  .kb-ua__item-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .kb-ua__item-icon i,
  .kb-ua__item-icon svg {
    width: 27px;
    height: 27px;
    font-size: 27px;
  }

  .kb-ua__item-title {
    font-size: 19px;
  }

  .kb-ua__footer {
    grid-template-columns: 1fr;
    padding: 23px;
  }

  .kb-ua__author {
    min-width: 0;
    padding-top: 17px;
    padding-left: 50px;
    border-top: 1px solid rgba(40,40,40,.18);
    border-left: 0;
  }
}

@media (max-width: 430px) {
  .kb-ua__title {
    font-size: 35px;
  }

  .kb-ua__main {
    min-height: 600px;
  }
}
