/* About page */
.breadcrumbs {
  color: #a4a8ad;
  font-size: 12px;
  line-height: 1.2;
}

.breadcrumbs a,
.breadcrumbs span {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a,
.breadcrumbs .breadcrumb_last {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: #eceef1;
  color: #a4a8ad;
}

.breadcrumbs .breadcrumb_last {
  color: #7d8288;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 58px;
}

.about-hero__breadcrumbs {
  margin-bottom: 86px;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 625px minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

.about-hero__content {
  position: relative;
  z-index: 3;
}

.about-hero__content h1 {
  max-width: 625px;
  margin-bottom: 30px;
}

.about-hero__content p {
  max-width: 570px;
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.about-hero__media {
  position: relative;
  justify-self: end;
  width: 708px;
  max-width: 100%;
  min-height: 360px;
}

.about-hero__photo {
  position: absolute;
  z-index: 2;
  width: 224px;
  height: 296px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 24px 46px rgba(12, 12, 12, .10);
}

.about-hero__photo--left {
  left: 0;
  top: 86px;
}

.about-hero__photo--center {
  left: 242px;
  top: 0;
  height: 360px;
}

.about-hero__photo--right {
  right: 0;
  top: 86px;
}

.about-hero__trace {
  opacity: .88;
}

.about-hero__trace--left-one {
  left: 120px;
  top: 38px;
  width: 210px;
}

.about-hero__trace--left-two {
  left: 104px;
  top: 55px;
  width: 246px;
}

.about-hero__trace--right-one {
  right: 165px;
  bottom: 42px;
  width: 305px;
}

.about-hero__trace--right-two {
  right: 120px;
  bottom: 20px;
  width: 318px;
}

.mission {
  padding: 54px 0 70px;
}

.mission h2 {
  margin-bottom: 22px;
}

.mission__text {
  max-width: 1350px;
  margin-bottom: 56px;
  font-size: 16px;
  line-height: 1.35;
}

.mission__wrap {
  position: relative;
  max-width: 100%;
}

.mission__viewport {
  overflow: hidden;
}

.mission__track {
  display: flex;
  gap: 16px;
  transition: transform .45s ease;
  will-change: transform;
}

.mission__slide {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  height: 340px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ddd;
  cursor: pointer;
}

.mission__slide img,
.mission__slide video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.mission__slide:hover img,
.mission__slide:hover video {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.02);
}

.mission__play {
  display: block;
  position: absolute;
  inset: 0;
  width: 72px;
  height: 72px;
  margin: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(3px);
}

.mission__play::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 23px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 18px solid #ff5c00;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .14));
}

.mission__slide.is-video::after {
  content: 'Видео';
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(3px);
}

.mission__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(12, 12, 12, .07);
  cursor: pointer;
  transform: translateY(-50%);
}

.mission__arrow--prev {
  left: 16px;
}

.mission__arrow--next {
  right: 16px;
}

.mission__arrow span {
  position: absolute;
  inset: 0;
  width: 12px;
  height: 12px;
  margin: auto;
  border-top: 2px solid #9da3aa;
  border-right: 2px solid #9da3aa;
}

.mission__arrow--prev span {
  transform: rotate(-135deg);
}

.mission__arrow--next span {
  transform: rotate(45deg);
}

.mission__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}

.mission__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.mission__dots button.is-active {
  background: #0c0c0c;
}

body.is-modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 12, 12, .74);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: 88vh;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.gallery-modal__media {
  width: 100%;
}

.gallery-modal__image,
.gallery-modal__video {
  display: block;
  width: 100%;
  max-height: calc(88vh - 32px);
  object-fit: contain;
  border-radius: 16px;
  background: #0c0c0c;
}

.gallery-modal__video {
  aspect-ratio: 16 / 9;
}


.gallery-modal__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-modal__arrow--prev {
  left: 26px;
}

.gallery-modal__arrow--next {
  right: 26px;
}

.gallery-modal__arrow span {
  position: absolute;
  inset: 0;
  width: 12px;
  height: 12px;
  margin: auto;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
}

.gallery-modal__arrow--prev span {
  transform: rotate(-135deg);
}

.gallery-modal__arrow--next span {
  transform: rotate(45deg);
}

.gallery-modal__close {
  position: absolute;
  right: 26px;
  top: 26px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  cursor: pointer;
}

.gallery-modal__close::before,
.gallery-modal__close::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 21px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #111;
}

.gallery-modal__close::before {
  transform: rotate(45deg);
}

.gallery-modal__close::after {
  transform: rotate(-45deg);
}


@media (max-width: 1180px) {
  .about-hero__grid {
    grid-template-columns: .85fr 1.15fr;
    gap: 34px;
  }

  .about-hero__breadcrumbs {
    margin-bottom: 50px;
  }

  .about-hero__media {
    justify-self: stretch;
    width: 100%;
    min-height: 320px;
  }

  .about-hero__photo {
    width: 30%;
    height: 250px;
  }

  .about-hero__photo--left {
    left: 0;
    top: 70px;
  }

  .about-hero__photo--center {
    left: 35%;
    top: 0;
    height: 320px;
  }

  .about-hero__photo--right {
    top: 70px;
  }

  .mission__arrow {
    width: 42px;
    height: 42px;
  }

  .mission__arrow--prev {
    left: 10px;
  }

  .mission__arrow--next {
    right: 10px;
  }
}

@media (max-width: 760px) {
  .about-hero {
    padding: 22px 0 38px;
  }

  .about-hero__breadcrumbs {
    margin-bottom: 34px;
  }

  .about-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-hero__content h1 {
    margin-bottom: 22px;
  }

  .about-hero__content p {
    font-size: 16px;
  }

  .about-hero__media {
    min-height: 285px;
  }

  .about-hero__photo {
    width: 32%;
    height: 220px;
    border-radius: 14px;
  }

  .about-hero__photo--left {
    top: 52px;
  }

  .about-hero__photo--center {
    left: 34%;
    top: 0;
    height: 270px;
  }

  .about-hero__photo--right {
    top: 52px;
  }

  .about-hero__trace {
    transform: scale(.72);
    opacity: .55;
  }

  .mission {
    padding: 40px 0 48px;
  }

  .mission__text {
    margin-bottom: 28px;
  }

  .mission__track {
    gap: 12px;
  }

  .mission__slide {
    flex-basis: 86%;
    height: 260px;
  }


  .mission__arrow {
    display: none;
  }

  .mission__dots {
    margin-top: 22px;
  }

  .gallery-modal {
    padding: 16px;
  }

  .gallery-modal__dialog {
    max-height: 86vh;
    padding: 12px;
    border-radius: 18px;
  }

  .gallery-modal__image,
  .gallery-modal__video {
    max-height: calc(86vh - 24px);
    border-radius: 14px;
  }

  .gallery-modal__arrow {
    width: 40px;
    height: 40px;
  }

  .gallery-modal__arrow--prev {
    left: 18px;
  }

  .gallery-modal__arrow--next {
    right: 18px;
  }

  .gallery-modal__close {
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .breadcrumbs a,
  .breadcrumbs .breadcrumb_last {
    min-height: 22px;
    padding: 0 8px;
  }

  .about-hero__media {
    min-height: 230px;
  }

  .about-hero__photo {
    width: 33%;
    height: 178px;
  }

  .about-hero__photo--left,
  .about-hero__photo--right {
    top: 42px;
  }

  .about-hero__photo--center {
    left: 33.5%;
    height: 220px;
  }

  .mission__slide {
    flex-basis: 100%;
    height: 230px;
  }
}
