/* Шапка services (soft-launch) + иллюстрация вместо services__scroll на about */

.services--about-intro {
  background-color: #ffffff;
  padding-left: 5%;
  padding-right: 5%;
}

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

.services--about-intro .services__inner {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
  box-sizing: border-box;
}

@media screen and (min-width: 768px) {
  .services--about-intro .services__inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .services--about-intro .services__header {
    margin-bottom: 5rem;
  }
}

.services--about-intro .services__header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.services--about-intro .services__tagline {
  margin: 0 0 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: #051133;
}

.services--about-intro .services__title {
  margin: 0 0 1.25rem;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 89px;
  line-height: 1.1;
  color: #051133;
}

@media screen and (min-width: 768px) {
  .services--about-intro .services__tagline {
    margin-bottom: 1rem;
  }

  .services--about-intro .services__title {
    margin-bottom: 1.5rem;
  }
}

.services--about-intro .services__lead {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: #051133;
}

.about-intro__figure {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
}

.about-intro__media {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .services--about-intro .services__inner {
    overflow-x: visible;
  }

  .about-intro__media {
    aspect-ratio: 1920 / 938;
  }

  .about-intro__figure {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
  .about-intro__figure {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.about-intro__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--about-intro-fade-ms, 600ms) ease;
}

.about-intro__slide.is-active {
  opacity: 1;
}

.about-intro__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-intro__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--about-intro-overlay-color, #0040bf) 80%, transparent) 18%,
    color-mix(in srgb, var(--about-intro-overlay-color, #0040bf) 78%, transparent) 48%,
    rgba(5, 17, 51, 0.35) 100%
  );
}

@media screen and (max-width: 767px) {
  .services--about-intro {
    padding-left: 0;
    padding-right: 0;
  }

  .services--about-intro .services__inner {
    padding-left: var(--page-gutter, 12px);
    padding-right: var(--page-gutter, 12px);
  }

  .services--about-intro .services__tagline {
    font-size: 1rem;
  }

  .services--about-intro .services__title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .services--about-intro .services__lead {
    font-size: 1rem;
    line-height: 1.2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-intro__slide {
    transition: none;
  }
}
