.hidden {
  display: none;
  visibility: hidden;
}

.section-project-features {
  padding: 5rem 0;
}

.project-features__head {
  margin-bottom: 15px;
}

.project-features__title {
  display: block;
  line-height: 1;
  font-size: 32px;
  text-transform: uppercase;
  color: #1d1f22;
}

.project-features-slider-nav {
  display: flex;
  gap: 16px;
}

.project-features-slider-nav__item {
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-features-slider-nav__item.swiper-button-disabled {
  opacity: 0.3;
}

.project-features-slider-nav__item:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.project-features-slider-card {
  position: relative;
  width: 100%;
  height: 445px;
  overflow: hidden;
  border-radius: 36px;
  display: grid;
  transition: all 0.3s ease;
}

.project-features-slider-card__image {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
}

.project-features-slider-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.project-features-slider-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px 24px;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-features-slider-card__title {
  display: block;
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
  flex: 0 0 calc(100% - 55px);
}

.project-features-slider-card__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
}

.project-features-slider-card__arrow svg {
  width: 20px;
  height: 20px;
}

.project-features-slider-card__arrow svg path {
  stroke: #fff;
}

.project-features-slider-card:hover .project-features-slider-card__arrow {
  transform: rotate(45deg);
  background-color: #c6d202;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.project-features-slider-card:hover {
  transform: translateY(-0.25rem);
}

.project-features-slider .swiper-slide a {
  display: block;
}

.project-features-card__inner {
  display: block;
}

.swiper-container {
  width: 100% !important; /* иногда тоже помогает */
}

.swiper.project-features-card-slider {
  min-height: 100%;
  width: 100%;
  padding-bottom: 30px;
  margin-bottom: 20px;
}

.project-features-card-slider__image {
  height: 445px;
  overflow: hidden;
  border-radius: 24px;
}

.project-features-card-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-features-card-slider-wrap {
  overflow: hidden;
  position: relative;
}

.project-features-card-slider-nav {
  position: absolute;
  bottom: 30px;
  right: 40px;
  z-index: 1;
  display: flex;
  gap: 16px;
}

.project-features-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}

.project-features-card-nav {
  display: flex;
  gap: 16px;
}

.project-features-card__title {
  display: block;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1;
}

.project-features-card-nav__item,
.project-features-card-slider-nav__item {
  cursor: pointer;
}

.project-features-card__description {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.3;
}

.project-features-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.project-feature-item {
  font-size: 18px;
  line-height: 1.3;
  padding: 24px;
  border: 1px solid #000;
  border-radius: 24px;
}

.project-feature-item__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.project-feature-item__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.project-features-card {
  padding: 0 5px;
}

.project-features-card-att {
  min-height: 240px;
  border-radius: 24px;
  background-color: #c8d400;
  overflow: hidden;
  padding: 32px;
  background-image: url('assets/trophy.png');
  background-position: right bottom;
  background-repeat: no-repeat;
  margin-top: 30px;
}

.project-features-card-att__title {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.6;
}

.project-features-slider {
  display: none;
}

.project-features-slider .swiper-initialized {
  display: block;
}

.project-features--desktop {
  display: none;
}

.project-features-card-slider .swiper-pagination {
  gap: 8px;
}

.swiper-pagination-clickable.swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #d9d9d9;
  opacity: 1;
}

.swiper-pagination-clickable.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #c6d202;
}

.project-features--mobile .project-feature-item .project-feature-item__head {
  margin-bottom: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-features--mobile .project-feature-item.active .project-feature-item__head {
  margin-bottom: 8px;
}

.project-features--mobile .project-feature-item .project-feature-item__body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.project-features--mobile .project-feature-item.active .project-feature-item__body {
  max-height: 1000px;
  opacity: 1;
  padding-top: 8px;
  padding-bottom: 0;
}

.project-feature-item__arrow {
  margin: 5px 0 0 auto;
  transition: all 0.3s ease;
}

.project-features--mobile .project-feature-item.active .project-feature-item__arrow {
  transform: rotate(90deg);
}

@media screen and (min-width: 768px) {
  .project-features--desktop {
    display: block;
  }

  .project-features--mobile {
    display: none;
  }

  .project-features-slider.swiper {
    padding-top: 20px;
  }

  .project-features__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 10px;
  }

  .project-features__title {
    font-size: 48px;
  }

  .project-features-card__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    min-height: 100%;
  }

  .project-features-card {
    width: 1200px;
    max-width: 100%;
    padding: 32px;
    border-radius: 36px;
    min-height: 625px;
  }

  .project-features-card-slider__image {
    height: 560px;
    border-radius: 36px;
  }

  .project-features-card-slider-wrap {
    margin-bottom: 0;
  }

  .project-features-card__title {
    font-size: 30px;
  }

  .project-feature-item {
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .swiper.project-features-card-slider {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .project-features-card-slider .swiper-wrapper {
    bottom: none;
  }

  .project-features-card {
    padding: 0;
  }
}
