/* страница О нас */

.hero--about {
  overflow-x: clip;
}

.hero--about .hero__bg {
  /* вставьте мобильный фон: img/about/hero_mob.png */
  background-image: url("../img/about/hero_mob.png");
}

.hero--about .hero__inner {
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 110px calc(var(--bs-gutter-x, 1.5rem) * 0.5) 56px;
  text-align: left;
}

.hero--about .hero__content {
  box-sizing: border-box;
  width: 100%;
  max-width: 640px;
  margin-left: 0;
  margin-right: 0;
}

.hero--about .hero__title {
  font-size: 28px;
  line-height: 1.15;
  text-align: left;
  overflow-wrap: anywhere;
}

.hero--about .hero__title-strong {
  font-weight: 700;
}

.hero--about .hero__text {
  display: block;
  margin: 18px 0 0;
  max-width: 100%;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  overflow-wrap: break-word;
}

@media (min-width: 992px) {
  .hero--about {
    min-height: 637px;
  }

  .hero--about .hero__bg {
    /* вставьте десктопный фон: img/about/hero.png */
    background-image: url("../img/about/hero.png");
  }

  .hero--about .hero__inner {
    justify-content: center;
    align-items: center;
    min-height: 637px;
    padding: 120px calc(var(--bs-gutter-x, 1.5rem) * 0.5) 80px;
  }

  .hero--about .hero__content {
    width: auto;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    translate: clamp(40px, 8vw, 140px) 0;
  }

  .hero--about .hero__title {
    font-size: 44px;
    line-height: 1.1;
    overflow-wrap: normal;
  }

  .hero--about .hero__text {
    margin-top: 24px;
    max-width: 560px;
    font-size: 16px;
    line-height: 26px;
  }
}

/* направления деятельности */

.about-dirs__title {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  color: #33cfab;
}

.about-dirs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-dir-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--c-brand);
  border-radius: 16px;
  background-color: #ffffff;
}

.about-dir-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 96px;
  padding: 18px 16px 36px 72px;
  background-color: transparent;
  background-image: url("../img/decor_polygon_mob.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.about-dir-card__num {
  position: absolute;
  top: 17px;
  left: 12px;
  z-index: 2;
  font-size: 84px;
  line-height: 0.85;
  font-weight: 700;
  color: #33cfab;
  pointer-events: none;
  user-select: none;
}

.about-dir-card__name {
  margin: 4px 0 0;
  max-width: none;
  width: 100%;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  color: #ffffff;
}

.about-dir-card__body {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  padding: 16px 16px 18px;
}

.about-dir-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--c-title);
}

.about-dir-card__text + .about-dir-card__text,
.about-dir-card__text + .about-dir-card__list,
.about-dir-card__list + .about-dir-card__text {
  margin-top: 10px;
}

.about-dir-card__label {
  display: block;
  margin: 12px 0 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #33cfab;
}

.about-dir-card__mark {
  font-weight: 700;
  color: var(--c-title);
}

.about-dir-card__list {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: none;
}

.about-dir-card__list li {
  position: relative;
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-title);
}

.about-dir-card__list li:last-child {
  margin-bottom: 0;
}

.about-dir-card__list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #33cfab;
}

/* миссия */

.about-mission__title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  color: #33cfab;
}

.about-mission__lead,
.about-mission__outro {
  margin: 0;
  max-width: 920px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
}

.about-mission__list {
  margin: 14px 0;
  padding: 0 0 0 1.15em;
  list-style: none;
}

.about-mission__list li {
  position: relative;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
}

.about-mission__list li:last-child {
  margin-bottom: 0;
}

.about-mission__list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #33cfab;
}

/* баннер-организатор — обертка справа, текст по левому краю */

.about-banner {
  position: relative;
  overflow: hidden;
}

.about-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #dce8ec;
  /* вставьте фон: img/about/banner.png */
  background-image: url("../img/about/banner.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  min-height: 320px;
  padding: 48px calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.about-banner__content {
  max-width: 520px;
  text-align: left;
  margin-left: auto;
}

.about-banner__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-brand);
}

.about-banner__text {
  margin: 14px 0 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--c-brand);
}

/* чем занимается компания */

.about-work__title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  color: #33cfab;
}

.about-work__lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
}

.about-work__list {
  margin: 0;
  padding: 0 0 0 1.15em;
  list-style: none;
  max-width: 920px;
}

.about-work__list li {
  position: relative;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
}

.about-work__list li:last-child {
  margin-bottom: 0;
}

.about-work__list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #33cfab;
}

/* основные услуги */

.about-services__title {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  color: #33cfab;
}

.about-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-service-card {
  box-sizing: border-box;
  height: 100%;
  padding: 20px 18px 22px;
  border: 1px solid #cfd8dc;
  border-radius: 16px;
  background-color: #ffffff;
}

.about-service-card__title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  text-transform: none;
  color: var(--c-brand);
}

.about-service-card__list {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: none;
}

.about-service-card__list li {
  position: relative;
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--c-title);
}

.about-service-card__list li:last-child {
  margin-bottom: 0;
}

.about-service-card__list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #33cfab;
}

/* преимущества */

.about-benefits {
  background-color: #f3f3f3;
}

.about-benefits__title {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  color: #33cfab;
}

.about-benefits__list {
  margin: 0;
  padding: 0 0 0 1.15em;
  list-style: none;
  max-width: 920px;
}

.about-benefits__list li {
  position: relative;
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
}

.about-benefits__list li:last-child {
  margin-bottom: 0;
}

.about-benefits__list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #33cfab;
}

.about-benefits__label {
  font-weight: 700;
  color: #33cfab;
}

/* примеры мероприятий */

.about-examples__title {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  color: #33cfab;
}

.about-examples__lead {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-brand);
}

.about-examples__list {
  margin: 0 0 16px;
  padding: 0 0 0 1.15em;
  list-style: none;
  max-width: 920px;
}

.about-examples__list li {
  position: relative;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
}

.about-examples__list li:last-child {
  margin-bottom: 0;
}

.about-examples__list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #33cfab;
}

.about-examples__outro {
  margin: 0;
  max-width: 920px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-title);
}

/* фото галерея */

.about-gallery__title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  color: #33cfab;
}

.about-gallery__title-rule {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  margin-top: calc((1lh - 1px) / 2);
  background-color: var(--c-brand);
}

.about-gallery__slider {
  overflow: hidden;
}

.about-gallery__slider .swiper-slide {
  height: auto;
}

.about-gallery__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background-color: #e8eef1;
}

.about-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.about-gallery__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #33cfab;
  cursor: pointer;
  position: relative;
}

.about-gallery__btn::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

.about-gallery__btn--prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.about-gallery__btn--next::before {
  transform: translateX(-2px) rotate(45deg);
}

.about-gallery__btn:hover,
.about-gallery__btn:focus-visible {
  opacity: 0.9;
}

.about-gallery__btn:focus-visible {
  outline: 2px solid #33cfab;
  outline-offset: 3px;
}

.about-gallery__btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

@media (min-width: 768px) {
  .about-dirs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .about-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 992px) {
  .about-dirs__title {
    margin-bottom: 32px;
    font-size: 28px;
    line-height: 1.2;
  }

  .about-dirs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .about-dir-card {
    border-radius: 18px;
  }

  .about-dir-card__head {
    min-height: 118px;
    padding: 22px 18px 42px 88px;
    background-image: url("../img/decor_polygon.png");
  }

  .about-dir-card__num {
    top: 15px;
    left: 14px;
    font-size: 108px;
  }

  .about-dir-card__name {
    max-width: none;
    font-size: 17px;
    line-height: 1.2;
  }

  .about-dir-card__body {
    padding: 20px 18px 22px;
  }

  .about-mission__title {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.2;
  }

  .about-mission__lead,
  .about-mission__outro,
  .about-mission__list li {
    font-size: 16px;
    line-height: 26px;
  }

  .about-mission__list {
    margin: 18px 0 20px;
  }

  .about-banner__bg {
    background-position: center;
  }

  .about-banner__inner {
    min-height: 420px;
    padding: 72px calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }

  .about-banner__title {
    font-size: 32px;
    line-height: 1.15;
  }

  .about-banner__text {
    max-width: 480px;
    font-size: 16px;
    line-height: 26px;
  }

  .about-work__title {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.2;
  }

  .about-work__lead,
  .about-work__list li {
    font-size: 16px;
    line-height: 26px;
  }

  .about-services__title {
    margin-bottom: 32px;
    font-size: 28px;
    line-height: 1.2;
  }

  .about-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .about-services__grid > li:last-child {
    grid-column: 2;
  }

  .about-service-card {
    padding: 24px 22px 26px;
    border-radius: 18px;
  }

  .about-service-card__title {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 24px;
  }

  .about-service-card__list li {
    font-size: 15px;
    line-height: 22px;
  }

  .about-benefits__title {
    margin-bottom: 24px;
    font-size: 28px;
    line-height: 1.2;
  }

  .about-benefits__list li {
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 26px;
  }

  .about-examples__title,
  .about-gallery__title {
    margin-bottom: 24px;
    font-size: 28px;
    line-height: 1.2;
  }

  .about-examples__lead,
  .about-examples__outro,
  .about-examples__list li {
    font-size: 16px;
    line-height: 26px;
  }

  .about-gallery__title-rule {
    width: clamp(60px, 8vw, 110px);
    height: 3px;
    margin-top: calc((1lh - 3px) / 2);
  }

  .about-gallery__media {
    aspect-ratio: 16 / 10;
  }

  .about-gallery__nav {
    margin-top: 36px;
  }
}
