.Home {
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2vw, 20px);
  background: linear-gradient(180deg, #f4fbfd 0%, #ffffff 100%);
}
@media (max-width: 640px) {
  .Home {
    min-height: auto;
  }
}

.HomeClinicBlock {
  width: 100%;
}

.HomeContentWrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  background: radial-gradient(circle at top left, #e8fcff, #ffffff 65%);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 35px 80px rgba(2, 57, 63, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  align-items: center;
  min-height: clamp(420px, 55vh, 640px);
}
@media (max-width: 900px) {
  .HomeContentWrapper {
    border-radius: 20px;
    padding: clamp(1rem, 2vw, 2rem);
    gap: 0;
    box-shadow: 0 18px 40px rgba(2, 57, 63, 0.1);
  }
}
@media (max-width: 400px) {
  .HomeContentWrapper {
    grid-template-columns: 1fr;
    padding: 0.85rem;
    border-radius: 16px;
  }
}

.HomeHeroSkeletonSurface {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 20px;
  min-height: clamp(180px, 32vh, 340px);
  background: linear-gradient(180deg, #f5f9fd 0%, #e7edf4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 35px rgba(9, 30, 66, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.HomeHeroSkeletonSurface::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.8) 45%, transparent 70%);
  transform: translateX(-100%);
  animation: HomeHeroShimmer 2.4s ease-in-out infinite;
}

.HomeHeroSkeletonSurface[data-variant=content] {
  --sk-pad: clamp(1.2rem, 2.5vw, 1.8rem);
  min-height: clamp(210px, 35vh, 360px);
  padding: var(--sk-pad);
  background-color: transparent;
  background-image: linear-gradient(90deg, rgba(2, 132, 137, 0.15), rgba(2, 132, 137, 0.35)), linear-gradient(90deg, rgba(6, 32, 36, 0.08), rgba(6, 32, 36, 0.14)), linear-gradient(90deg, rgba(6, 32, 36, 0.08), rgba(6, 32, 36, 0.14)), linear-gradient(90deg, rgba(6, 32, 36, 0.08), rgba(6, 32, 36, 0.14)), linear-gradient(90deg, rgba(6, 32, 36, 0.05), rgba(6, 32, 36, 0.12));
  background-size: clamp(110px, 26%, 150px) 18px, clamp(220px, 62%, 360px) 36px, 88% 16px, 74% 16px, clamp(170px, 48%, 230px) 46px;
  background-position: var(--sk-pad) var(--sk-pad), var(--sk-pad) calc(var(--sk-pad) + 34px), var(--sk-pad) calc(var(--sk-pad) + 80px), var(--sk-pad) calc(var(--sk-pad) + 112px), var(--sk-pad) calc(var(--sk-pad) + 164px);
  background-repeat: no-repeat;
}

.HomeHeroSkeletonSurface[data-variant=stats] {
  --card-width: clamp(150px, 28vw, 210px);
  --card-gap: clamp(12px, 2vw, 18px);
  --card-height: clamp(90px, 16vh, 130px);
  min-height: clamp(140px, 26vh, 220px);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0.7) var(--card-width), transparent var(--card-width), transparent calc(var(--card-width) + var(--card-gap))), repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0.7) var(--card-height), transparent var(--card-height), transparent calc(var(--card-height) + var(--card-gap)));
  background-color: rgba(2, 132, 137, 0.08);
  background-blend-mode: screen;
}

.HomeHeroSkeletonSurface[data-variant=gallery] {
  min-height: clamp(160px, 32vh, 280px);
  padding: clamp(1rem, 2vw, 1.5rem);
  background-image: linear-gradient(90deg, rgba(2, 132, 137, 0.15), rgba(2, 132, 137, 0.32)), linear-gradient(90deg, rgba(6, 32, 36, 0.08), rgba(6, 32, 36, 0.14)), linear-gradient(90deg, rgba(6, 32, 36, 0.08), rgba(6, 32, 36, 0.14));
  background-size: clamp(120px, 30%, 160px) 18px, 80% 20px, 60% 16px;
  background-position: clamp(0.8rem, 2vw, 1.2rem) clamp(0.8rem, 2vw, 1.2rem), clamp(0.8rem, 2vw, 1.2rem) calc(clamp(0.8rem, 2vw, 1.2rem) + 34px), clamp(0.8rem, 2vw, 1.2rem) calc(clamp(0.8rem, 2vw, 1.2rem) + 70px);
  background-repeat: no-repeat;
}

.HomeHeroSkeletonSurface[data-variant=modal] {
  --modal-pad: clamp(1rem, 2.8vw, 1.8rem);
  min-height: clamp(240px, 50vh, 420px);
  padding: var(--modal-pad);
  background-color: transparent;
  background-image: linear-gradient(90deg, rgba(2, 132, 137, 0.18), rgba(2, 132, 137, 0.38)), linear-gradient(90deg, rgba(6, 32, 36, 0.08), rgba(6, 32, 36, 0.16)), linear-gradient(90deg, rgba(6, 32, 36, 0.08), rgba(6, 32, 36, 0.16)), linear-gradient(90deg, rgba(6, 32, 36, 0.08), rgba(6, 32, 36, 0.14)), linear-gradient(90deg, rgba(2, 132, 137, 0.12), rgba(2, 132, 137, 0.26));
  background-size: 56% 22px, 82% 16px, 100% 52px, 100% 52px, clamp(150px, 38%, 220px) 46px;
  background-position: var(--modal-pad) var(--modal-pad), var(--modal-pad) calc(var(--modal-pad) + 36px), var(--modal-pad) calc(var(--modal-pad) + 78px), var(--modal-pad) calc(var(--modal-pad) + 140px), var(--modal-pad) calc(100% - var(--modal-pad) - 46px);
  background-repeat: no-repeat;
}

.HomeHeroSkeleton {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.4rem);
  width: 100%;
  max-width: 560px;
}
@media (max-width: 640px) {
  .HomeHeroSkeleton {
    max-width: 100%;
  }
}

.HomeTextContent {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  min-height: clamp(260px, 36vh, 420px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-block: 0.5rem;
}
@media (max-width: 640px) {
  .HomeTextContent {
    text-align: center;
    align-items: center;
  }
}
@media (max-width: 400px) {
  .HomeTextContent {
    gap: 0.75rem;
  }
}

.HomeBadge {
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 211, 219, 0.12);
  color: #028489;
  margin: 0;
  font-family: inherit;
}
@media (max-width: 640px) {
  .HomeBadge {
    align-self: center;
  }
}
@media (max-width: 400px) {
  .HomeBadge {
    font-size: 0.65rem;
    padding: 0.35rem 0.7rem;
  }
}

.HomeClinicSlogan {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.HomeTitle {
  color: #062024;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-wrap: balance;
  max-width: 42ch;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
.HomeTitle :global(svg) {
  filter: drop-shadow(0 12px 28px rgba(2, 57, 63, 0.25));
}
@media (max-width: 400px) {
  .HomeTitle {
    font-size: 1.65rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }
}

.HomeTitleText {
  display: inline-flex;
  flex-direction: column;
  font-weight: 600;
  letter-spacing: 0.01em;
  width: 100%;
}

.HomeTitleIcon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(2, 132, 137, 0.2);
  background: linear-gradient(135deg, rgba(2, 132, 137, 0.04), rgba(0, 211, 219, 0.1));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  flex: 0 0 58px;
}
@media (max-width: 400px) {
  .HomeTitleIcon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
}

.HomeTitleIconPlaceholder {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(2, 132, 137, 0.2);
  background: linear-gradient(135deg, rgba(2, 132, 137, 0.08), rgba(0, 211, 219, 0.15));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
}

.HomeDescription {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: #3d4f55;
  margin: 0;
  min-height: 80px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 400px) {
  .HomeDescription {
    font-size: 0.95rem;
  }
}

.HomeHighlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.HomeHighlights li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: #355158;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
.HomeHighlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, #00d3db, #0299a4);
  box-shadow: 0 0 0 4px rgba(0, 211, 219, 0.18);
}
@media (max-width: 480px) {
  .HomeHighlights li {
    padding-left: 1.25rem;
    font-size: 0.9rem;
  }
  .HomeHighlights li::before {
    top: 0.4rem;
  }
}
@media (max-width: 400px) {
  .HomeHighlights li {
    font-size: 0.85rem;
    line-height: 1.35;
    padding-left: 1rem;
  }
  .HomeHighlights li::before {
    width: 8px;
    height: 8px;
    top: 0.35rem;
  }
}

.HomeCTA {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
@media (max-width: 640px) {
  .HomeCTA {
    width: 100%;
    align-items: center;
  }
}
@media (max-width: 400px) {
  .HomeCTA {
    gap: 0.3rem;
  }
}

.HomeCTA :global(button),
.HomeCTA :global(label) {
  width: fit-content;
}
@media (max-width: 640px) {
  .HomeCTA :global(button),
  .HomeCTA :global(label) {
    width: 100%;
  }
}
@media (max-width: 400px) {
  .HomeCTA :global(button),
  .HomeCTA :global(label) {
    font-size: 0.9rem;
    padding: 0.6rem 0.9rem;
  }
}

.HomeCTAInfo {
  margin: 0;
  font-size: 0.9rem;
  color: #355158;
  font-family: inherit;
}
@media (max-width: 640px) {
  .HomeCTAInfo {
    text-align: center;
  }
}
@media (max-width: 400px) {
  .HomeCTAInfo {
    font-size: 0.8rem;
  }
}

@keyframes HomeHeroShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(120%);
  }
}