/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  height: 37.875rem; 
  margin-top: 8rem;
}

.hero .hero__swiper {
  width: 100%;
  height: 100%;
}

.hero .hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero .hero-slide__bg {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.9375rem;
}

.hero .hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}


/* --- Buttons --- */
.hero .swiper-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 4rem;
  height: 4rem;
  background: rgba(255,255,255,0.1);
  border: 0.0625rem solid rgba(255,255,255,0.1);
  border-radius: 0.555625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero .swiper-button-prev {
  left: 0;
}

.hero .swiper-button-next {
  right: 0;
}

.hero .swiper-button svg {
  width: 2.125rem;
  height: 2.125rem;
  fill: var(--white);
}

/* --- Pagination --- */
.hero .swiper-pagination {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.hero .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  opacity: 1;
  transition: background 0.3s ease;
}

.hero .swiper-pagination-bullet-active {
  background: #D9D9D9; 
}

/* --- Адаптив --- */
@media (max-width: 768px) {
    .hero {
        height: 24.1875rem; 
    }

    .hero .swiper-button {
        width: 2.25rem;
        height: 2.25rem;
   }

    .hero .swiper-button-prev {
        left: -1rem;
    }

    .hero .swiper-button-next {
        right: -1rem;
    }

    .hero .swiper-button svg {
        width: 1.1875rem;
        height: 0.85625rem;
    }

    .hero .hero-slide__image {
        height: 21.4375rem;
    }

    .hero .hero_button{
        width: 100%;
        gap: 0.75rem;
    }
     .hero .hero_button a{
        text-decoration: none;
        color: inherit;
    }
    .hero .hero_button span {
        text-wrap: nowrap;
    }
    .hero_button svg {
        fill: var(--white);
        height: 0.70875rem;
        width: 0.70875rem;
        background-image: url(../../../assets/images/icon-link.svg);
        background-size: contain;
        background-repeat: no-repeat;
    }
    

}

