.HomeButtonFallback {
  display: inline-flex;
  width: clamp(220px, 45vw, 280px);
  min-height: 3.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(2, 132, 137, 0.15), rgba(0, 211, 219, 0.25), rgba(2, 132, 137, 0.15));
  background-size: 200% 100%;
  animation: HomeHeroPulse 1.6s ease infinite;
  will-change: opacity, transform;
  border: 1px solid rgba(2, 132, 137, 0.18);
  box-shadow: 0 12px 24px rgba(2, 57, 63, 0.15);
}
@media (max-width: 640px) {
  .HomeButtonFallback {
    width: 100%;
  }
}

.HomeModalFallback {
  width: 100%;
  border-radius: 28px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(233, 249, 251, 0.9), #ffffff);
  border: 1px solid rgba(2, 132, 137, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 25px 55px rgba(2, 57, 63, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(240px, 45vh, 420px);
  isolation: isolate;
  overflow: hidden;
}
@media (max-width: 640px) {
  .HomeModalFallback {
    border-radius: 20px;
    padding: clamp(1rem, 4vw, 1.5rem);
  }
}
@media (max-width: 400px) {
  .HomeModalFallback {
    border-radius: 16px;
    padding: 0.9rem;
    min-height: 220px;
  }
}

.HomeGalleryFallbackFigure {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 2vw, 1rem);
  align-items: center;
  margin: 0;
  text-align: center;
}

.HomeGalleryFallbackPicture {
  width: clamp(200px, 42vw, 360px);
  aspect-ratio: 1/1;
  border-radius: 32px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(2, 132, 137, 0.2), rgba(2, 132, 137, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 25px 60px rgba(2, 57, 63, 0.18);
}

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

.HomeGalleryFallbackCaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
}

.HomeGalleryFallbackName {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  color: #01363f;
}

.HomeGalleryFallbackSpecialty {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #05525b;
  margin: 0;
}

@keyframes HomeHeroPulse {
  0% {
    opacity: 0.65;
    transform: scale3d(1, 1, 1);
  }
  50% {
    opacity: 1;
    transform: scale3d(1.015, 1.015, 1);
  }
  100% {
    opacity: 0.65;
    transform: scale3d(1, 1, 1);
  }
}