@charset "UTF-8";
.HomeGalleryPane {
  background: transparent;
  border-radius: 24px;
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .HomeGalleryPane {
    width: 100%;
    padding: 1rem;
  }
}
@media (max-width: 640px) {
  .HomeGalleryPane {
    margin-bottom: 1rem;
  }
}
@media (max-width: 400px) {
  .HomeGalleryPane {
    padding: 0.75rem;
    border-radius: 18px;
  }
}
.HomeGalleryPane[data-variant=fallback] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(210px, 42vh, 340px);
  padding: clamp(1rem, 2.5vw, 2rem);
}

.HomeGalleryPane[data-variant=fallback] .HomeHeroSkeletonSurface[data-variant=gallery] {
  width: 100%;
  min-height: clamp(180px, 36vh, 300px);
}

/* Home stats (Команда / Индивидуально / 24/7) */
.HomeStats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 18px;
}

@media (max-width: 480px) {
  .HomeStats {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}
@media (max-width: 400px) {
  .HomeStats {
    grid-template-columns: 1fr;
  }
}
.HomeStatCard {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), #e9f8fb);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid rgba(2, 132, 137, 0.12);
  box-shadow: 0 18px 30px rgba(0, 37, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 150px;
}

@media (max-width: 1300px) {
  .HomeStatCard {
    padding: 9px;
  }
}
@media (max-width: 400px) {
  .HomeStatCard {
    padding: 0.85rem;
  }
}
.HomeStatCardInteractive {
  cursor: pointer;
}

.HomeStatCardInteractive:hover,
.HomeStatCardInteractive:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 45px rgba(0, 37, 42, 0.15);
}

.HomeStatCardInteractive:focus-visible {
  outline: 2px solid rgba(0, 140, 149, 0.45);
  outline-offset: 2px;
}

.HomeStatValue {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #01363f;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 1850px) {
  .HomeStatValue {
    font-size: 22px;
  }
}
@media (max-width: 1650px) {
  .HomeStatValue {
    font-size: 20px;
  }
}
@media (max-width: 1550px) {
  .HomeStatValue {
    font-size: 16px;
  }
}
.HomeStatLabel {
  display: block;
  font-size: 0.95rem;
  color: #05525b;
}

.HomeStatHint {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: #566f78;
}

.HomeDoctorCarouselRoot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.HomeDoctorCarouselTitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.15;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #560843, #297091);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.HomeDoctorCarousel {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(0, 211, 219, 0.22), rgba(6, 32, 36, 0.92) 70%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  padding: 22px 18px 58px;
  width: min(520px, 100%);
}

.HomeDoctorCarousel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(72, 255, 245, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.HomeDoctorCarousel::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 34px;
  width: 62%;
  height: 46%;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 211, 219, 0.18), rgba(86, 8, 67, 0.08));
  pointer-events: none;
}

.HomeDoctorCarouselRadio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.HomeDoctorCarouselSlides {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

/* фиксируем одинаковый размер фото (1:1) */
.HomeDoctorCarouselImageWrap {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.HomeDoctorCarouselImage,
.HomeDoctorCarouselImageFallback {
  width: 100%;
  height: 100%;
}

.HomeDoctorCarouselSlide {
  position: absolute;
  inset: 0;
  margin-inline: auto;
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px;
  opacity: 0;
  transform: translateX(0) scale(0.78);
  filter: blur(6px) saturate(0.9) brightness(0.9);
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
  pointer-events: none;
  width: min(340px, 82%);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 32, 36, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
  z-index: 1;
}

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

.HomeDoctorCarouselImageFallback {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: rgba(6, 32, 36, 0.08);
}

.HomeDoctorCarouselCaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(55, 161, 216, 0.92), rgba(30, 114, 160, 0.92));
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.HomeDoctorCarouselName {
  font-weight: 700;
  color: #ffffff;
}

.HomeDoctorCarouselSpecialization {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.HomeDoctorCarouselDots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(6, 32, 36, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.HomeDoctorCarouselDot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

@media (max-width: 520px) {
  .HomeDoctorCarousel {
    padding: 18px 14px 54px;
  }
  .HomeDoctorCarouselSlide {
    width: min(310px, 88%);
  }
}
.HomeDoctorCarouselMoreLink {
  text-decoration: none;
  font-weight: 700;
  color: #028489;
}

.HomeDoctorCarouselEmpty {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.HomeDoctorCarouselDescription {
  margin: 0;
  color: #355158;
}

.HomeDoctorCarouselLink {
  text-decoration: none;
  font-weight: 700;
  color: #028489;
}

@media (max-width: 640px) {
  .HomeDoctorCarouselSlides {
    min-height: 280px;
  }
}