.page-frontend--director-message-page .site-main {
  margin-top: 90px;
}

@media (max-width: 1200px) {
  .page-frontend--director-message-page .site-main {
    margin-top: 60px;
  }
}

/* ===== Hero ===== */

.hero {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 420px;
  height: 360px;
  background: linear-gradient(250deg, rgba(241, 135, 0, 1), rgba(241, 135, 0, 0));
  filter: blur(140px);
  transform: translate(-40%, 65%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 420px;
  height: 360px;
  background-image: url('../img/grid.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -120px 120px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 2;
}

.hero__top {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
}

.hero__slider {
  position: relative;
  width: 615px;
  height: 742px;
  flex-grow: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.hero__slider::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 152px;
  height: 153px;
  background-image: url('../img/corner-dark.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: top right;
  pointer-events: none;
  transform: rotate(90deg);
  z-index: 3;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero__swiper,
.swiper-wrapper,
.swiper-slide {
  width: 100%;
  height: 100%;
}

.hero__slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__slide--1 {
  background-image: url('../img/photo10.jpg');
}
.hero__slide--2 {
  background-image: url('../img/photo9.jpg');
}
.hero__slide--3 {
  background-image: url('../img/photo8.jpg');
}
.hero__slide--4 {
  background-image: url('../img/photo7.jpg');
}
.hero__slide--5 {
  background-image: url('../img/photo6.jpg');
}

.hero__slider-controls {
  position: absolute;
  bottom: 37px;
  right: 40px;
  display: flex;
  gap: 10px;
}

.hero__slider .swiper-button-next,
.hero__slider .swiper-button-prev {
  position: static;
  margin-top: 0;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  flex-shrink: 0;
  background-color: transparent;
  backdrop-filter: blur(5.1692304611206055px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.hero__slider .hero__slider-btn svg {
  width: 10px;
  height: 10px;
}

.hero__slider-btn--next svg {
  transform: rotate(180deg);
}

.hero__slider-pagination {
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 80px;
  height: 40px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 5px;
  text-align: center;
  z-index: 4;
  pointer-events: none;
}

.hero__breadcrumbs {
  margin: 50px 0 50px 40px;
}

.hero__top-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__content-block {
  padding: 83px 95px;
  background-color: transparent;
}

.hero__title-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.section-title.hero__title {
  transform: scaleX(1.05);
  margin-left: 13px;
}

.hero__title-icon {
  width: 22px;
  height: 22px;
}

.hero__subtitle {
  font-family: 'Inter', sans-serif;
  margin: 20px 0 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  transform: scaleX(0.98);
  margin-left: -5px;
}

.hero__text {
  margin: 70px 0 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  padding-right: 100px;
}

.hero__info-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-bg-light);
  width: 100%;
  flex-wrap: wrap;
}

.hero__director-photo {
  width: 210px;
  height: 211px;
  object-fit: cover;
}

.hero__info-text {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 40px;
}

.hero__name {
  color: var(--color-text-dark);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
}

.hero__position {
  color: #24252780;
  opacity: 0.5;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}

.hero__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 90px 0;
  overflow: hidden;
}

/* Слои контента — выше градиента */
.hero__bottom-left,
.hero__bottom-right {
  position: relative;
  z-index: 1;
}

/* Левая часть */
.hero__bottom-left {
  width: 615px;
  padding-left: 0;
}

/* Правая часть */
.hero__bottom-right {
  flex: 1;
  padding-left: 60px;
}

.hero__mission-text {
  margin: 0 0 40px 0;
}

.hero__mission-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 1390px) {
  .hero__slider {
    width: 492px;
  }

  .hero__content-block {
    padding: 83px 70px;
  }

  .hero__bottom-right {
    padding-left: 30px;
  }

  .hero__bottom-left {
    width: 492px;
  }
}

@media (max-width: 1200px) {
  .hero::before {
    transform: translate(-60%, 55%);
  }

  .hero__breadcrumbs {
    margin: 25px 0 27px 30px;
  }

  .hero__top {
    display: flex;
    flex-flow: column nowrap;
  }

  .hero__slider {
    width: 100%;
    height: auto;
    aspect-ratio: 640/350;
  }

  .hero__slider::after {
    width: 67px;
    height: 67px;
  }

  .hero__slider-btn {
    width: 42px;
    height: 42px;
    background-color: transparent;
    backdrop-filter: blur(5.1692304611206055px);
  }

  .hero__slider .swiper-button-next,
  .hero__slider .swiper-button-prev {
    width: 42px;
    height: 42px;
  }

  .hero__content-block {
    padding: 35px 30px;
  }

  .hero__title-row {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 25px;
  }

  .hero__title-icon {
    width: 18px;
    height: 18px;
  }

  .hero__subtitle {
    margin-top: 25px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
  }

  .hero__text {
    margin: 25px 0 0 0;
    font-size: 14px;
    padding-right: 0;
  }

  .hero__director-photo {
    width: 131px;
    height: 131px;
  }

  .hero__info-text {
    padding: 30px;
  }

  .hero__name {
    font-size: 16px;
  }

  .hero__position {
    font-size: 12px;
  }

  .hero__bottom {
    padding: 35px 0 45px 0;
    flex-direction: column;
  }

  .hero__bottom-right {
    padding-left: 0;
  }
}

@media (max-width: 639px) {
  .hero::before {
    transform: translate(-85%, 70%);
  }

  .hero__breadcrumbs {
    margin: 25px 0 27px 10px;
  }

  .hero::after {
    background-position: -300px 250px;
  }

  .hero__slider {
    aspect-ratio: 320/350;
  }

  .hero__slider-pagination {
    bottom: 21px;
    left: 10px;
  }

  .hero__slider-controls {
    right: 10px;
    bottom: 20px;
  }

  .hero__content-block {
    padding: 35px 10px;
  }

  .hero__info-block {
    position: relative;
    justify-content: flex-start;
  }

  .hero__info-block::before {
    content: "";
    position: absolute;
    top: -0.5px;
    left: -0.5px;
    width: 66px;
    height: 67px;
    background-image: url('../img/corner-dark.svg');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 2;
  }

  .hero__info-block::after {
    content: "";
    position: absolute;
    bottom: -0.5px;
    right: -0.5px;
    width: 66px;
    height: 67px;
    background-image: url('../img/corner-dark.svg');
    transform: rotate(180deg);
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 2;
  }

  .hero__director-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 319/321;
  }

  .hero__info-text {
    align-items: flex-start;
    padding: 30px 70px 30px 10px;
    gap: 45px;
  }

  .hero__name {
    order: 2;
  }

  .hero__position {
    order: 1;
  }

  .hero__bottom-right {
    padding-left: 0;
    width: 100%;
  }
}

/* ===== Что нас отличает ===== */

.differents {
  position: relative;
  padding: 90px 0;
  margin-bottom: 90px;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.differents::before {
  content: "";
  position: absolute;
  top: -0.5px;
  right: -0.5px;
  width: 183px;
  height: 153px;
  background-image: url('../img/corner-dark-top-right.svg');
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.differents__top {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: stretch;
  margin-top: 38px;
}

/* Левая часть — изображение */
.differents__img-wrapper {
  position: relative;
  width: 573px;
  height: 653px;
  flex-shrink: 0;
}

.differents__img-wrapper--inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 3px;
}

.differents__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.differents__img-wrapper::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 152px;
  height: 153px;
  background-image: url('../img/corner-top-left.svg');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

/* Правая часть — список */
.differents__list {
  counter-reset: item;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-text-dark);
}

.differents__item {
  display: flex;
  align-items: flex-start;
}

.differents__item-num {
  width: 95px;
  margin-top: 6px;
  text-align: center;
  font-weight: bold;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
}

.differents__item-text {
  flex: 1;
}

.differents__item-title {
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 38px;
}

.differents__item-desc {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.differents__marquee {
  margin-top: 90px;
}

.differents__info {
  display: flex;
  gap: 20px;
  margin-top: 49px;
  flex-wrap: wrap;
}

.differents__info-block {
  flex: 1;
}

.differents__item-num--mobile {
  display: none;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 14px;
  line-height: 26px;
}

@media (max-width: 1200px) {
  .differents {
    padding: 45px 0;
  }

  .differents::before {
    width: 67px;
    height: 67px;
  }

  .differents__top {
    margin-top: 25px;
  } 

  .differents__img-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 580/260;
    margin-bottom: 25px;
  }

  .differents__img-wrapper::before {
    display: none;
  }

  .differents__list {
    justify-content: flex-start;
    gap: 25px;
  }

  .differents__item {
    display: block;
  }

  .differents__item-num {
    display: none;
  }

  .differents__item-num--mobile {
    display: inline-block;
  }

  .differents__item-title {
    display: inline-block;
    margin: 0 0 0 8px;
    vertical-align: middle;
    font-size: 16px;
    line-height: 26px;
  }

  .differents__item-desc {
    margin-top: 10px;
    font-size: 14px;
  }
  
  .differents__marquee {
    margin-top: 35px;
  }

  .page-frontend--director-message-page .marquee__track {
    gap: 10px;
  }

  .page-frontend--director-message-page .differents__marquee img {
    height: 260px;
  }

  .differents__info {
    flex-direction: column;
    margin-top: 25px;
    gap: 25px;
  }

  .differents__info .differents__item-desc {
    margin-top: 0;
  }
}

@media (max-width: 639px) {

  .differents__img-wrapper {
    aspect-ratio: 299/260;
  }
  
  .differents__marquee {
    margin-top: 25px;
  }

  .page-frontend--director-message-page .differents__marquee img {
    height: 220px;
  }
}