/* HERO LAYOUT: wide clinic photograph, matching the supplied reference. */
.hero-container {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 4340 / 1602;
  overflow: hidden;
  background: #4e4232;
  font-family: "Montserrat", sans-serif;
}

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

.hero-container .hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-container .swiper-wrapper {
  display: flex;
}

.hero-container .swiper-slide {
  position: relative;
  flex-shrink: 0;
}

/* Responsive format sources keep the existing full-size photo layout. */
.hero-container .swiper-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-container .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* PHOTO OVERLAY: inside each slide, below pagination and banner copy. */
.hero-container .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(30, 30, 30, 0.42);
  pointer-events: none;
}

/* BANNER COPY: centered near the bottom, above the pagination. */
.hero-container .hero-content {
  position: absolute;
  right: 24px;
  bottom: 12%;
  left: 24px;
  z-index: 2;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.hero-container .hero-content h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(26px, 2.05vw, 48px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-container .hero-content p {
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 0.9vw, 21px);
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.95;
}

/* PAGINATION: four white dots with gold outlines; active dot is gold. */
.hero-container .hero-swiper .swiper-pagination {
  bottom: 4.5%;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.hero-container .hero-swiper .swiper-pagination-bullet {
  box-sizing: border-box;
  flex: 0 0 12px;
  width: 12px !important;
  height: 12px !important;
  margin: 0;
  padding: 0;
  border: 2px solid #d1ab6a;
  border-radius: 50%;
  background: #fff !important;
  opacity: 1 !important;
  cursor: pointer;
}

.hero-container .hero-swiper .swiper-pagination-bullet-active {
  background: #d1ab6a !important;
}

.hero-container .swiper-pagination-bullet:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

/* MOBILE: taller crop keeps the clinic visible and gives the copy room. */
@media (max-width: 767px) {
  .hero-container {
    aspect-ratio: auto;
    height: clamp(420px, 75svh, 600px);
  }

  .hero-container .hero-content {
    right: 20px;
    bottom: 14%;
    left: 20px;
  }

  .hero-container .hero-content h1 {
    font-size: clamp(25px, 5.5vw, 36px);
    line-height: 1.3;
  }

  .hero-container .hero-content p {
    max-width: 440px;
    margin-inline: auto;
    font-size: 14px;
  }

  .hero-container .hero-swiper .swiper-pagination {
    bottom: 5%;
  }
}
