/* About — О компании / метрики */

.about {
  position: relative;
  z-index: 2;
  width: 100%;
  background-color: #0040bf;
  overflow: hidden;
}

.about__inner {
  position: relative;
  width: 100%;
  max-width: 1425px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: stretch;
  padding: 80px 72.5px;
  box-sizing: border-box;
}

.about__figure-wrap {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 840px;
  height: 1200px;
  pointer-events: none;
  z-index: 0;
}

.about__figure {
  width: 840px;
  height: 1200px;
  display: block;
  object-fit: cover;
}

.about__header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about__title-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  width: 100%;
  color: #ffffff;
  word-break: break-word;
}

.about__tag {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  width: 100%;
  color: #ffffff;
}

.about__title {
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 89px;
  line-height: 1.1;
  width: 100%;
  color: #ffffff;
}

.about__lead {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
  color: #ffffff;
  width: 100%;
  word-break: break-word;
}

.about__metrics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.about__card {
  border: 2px solid #ffffff;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  overflow: hidden;
  padding: 35px 25px;
  border-radius: 10px;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  max-width: none;
  box-sizing: border-box;
}

.about__card-digit {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 153px;
  line-height: 1.2;
  letter-spacing: -12.24px;
  color: #ff840b;
  width: 100%;
  word-break: break-word;
}

.about__card-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 0 10px;
  width: 100%;
}

.about__card-title {
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: #ffffff;
  width: 100%;
  word-break: break-word;
}

.about__card-text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #ffffff;
  width: 100%;
  word-break: break-word;
}

@media screen and (max-width: 1300px) {
  .about__card {
    flex: 1 1 calc(50% - 7.5px);
    min-width: 0;
  }
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
  .about__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 991px) {
  .about__card-digit {
    font-size: 4rem;
    letter-spacing: -0.05em;
  }

  .about__header {
    gap: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .about__inner {
    padding: 4rem var(--page-gutter);
    gap: 2rem;
  }

  .about__figure-wrap {
    width: 840px;
    height: 1200px;
    transform: scale(0.4);
    transform-origin: center center;
  }

  .about__figure {
    width: 100%;
    height: 100%;
  }

  .about__header {
    gap: 1.5rem;
  }

  .about__title-block {
    gap: 1rem;
  }

  .about__tag {
    font-size: 1rem;
  }

  .about__title {
    font-size: 2rem;
  }

  .about__lead {
    font-size: 1rem;
  }

  .about__metrics {
    flex-direction: column;
    align-items: stretch;
  }

  .about__card {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    padding: 20px;
    gap: 10px;
  }

  .about__card-body {
    gap: 10px;
    padding: 0;
  }

  .about__card-digit {
    font-size: 3.5rem;
    letter-spacing: -0.05em;
  }

  .about__card-title {
    font-size: 1.5rem;
  }

  .about__card-text {
    font-size: 1rem;
    line-height: 1.2;
  }
}
