/* Homepage-only animated virtual hospital. All graphics use local system icons. */
.homepage-intro {
  background: radial-gradient(ellipse at 85% 95%, #b0d06177 0, transparent 60%), linear-gradient(135deg, #f0f6e4 0%, #d8eab9 55%, #bad97c 100%);
}
:root .page .homepage-intro .navwrap,
:root .page .homepage-intro .educator-hero { background: transparent; }
:root .page .educator-hero { overflow: hidden; }
.educator-hero .educator-hero-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
  gap: 64px !important;
}
.educator-hero .educator-hero-copy { gap: 30px !important; }
.educator-hero-copy h1 { line-height: 1.18 !important; letter-spacing: -.02em; }
.educator-hero-copy > p { line-height: 1.75 !important; }
.educator-hero-copy > .ui-row-layout-3 { margin-top: 6px; gap: 16px; }
@media (max-width: 900px) {
  .educator-hero .educator-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 40px !important; }
  .educator-hero .educator-hero-copy { gap: 26px !important; }
}
.educator-hero .educator-hero-copy .ui-hero-title { color: #20351f; }
.educator-hero .educator-hero-copy .ui-body-copy { color: #41583b; }
.educator-hero .educator-hero-copy .ui-row-layout-2 { color: #4b6525; }
.educator-hero .educator-hero-copy .ui-text-6 { background: #b0d061; }
.educator-hero .educator-hero-copy .ui-content-2 { color: #4b6044; }
.educator-hero .educator-hero-copy .ui-link-7 { background: #263e2c; color: #fff; border-color: #263e2c; }
.educator-hero .educator-hero-copy .ui-link-7:hover { background: #405d38; }
.educator-hero .educator-hero-copy .ui-link-8 { color: #20351f; border-color: #748d54; }
.hospital-hero {
  position: relative;
  width: 100%;
  max-width: 800px;
  min-width: 0;
  margin: 0 auto;
  container-type: inline-size;
}
.hospital-scene {
  position: relative;
  aspect-ratio: 1.25;
  isolation: isolate;
  color: #fff;
  font-family: "Roboto", system-ui, sans-serif;
}
.hospital-scene::before {
  content: "";
  position: absolute;
  inset: 20% 8% 6%;
  background: radial-gradient(ellipse, #b8df7040, transparent 65%);
  border-radius: 50%;
  animation: hospital-glow 6s ease-in-out infinite alternate;
  z-index: -1;
}
.hospital-orbit {
  position: absolute;
  border: 1px solid #466c3a25;
  border-radius: 50%;
  pointer-events: none;
}
.hospital-orbit--outer { inset: 8% 4% 10%; transform: rotate(-18deg); }
.hospital-orbit--inner { inset: 19% 15% 21%; border-style: dashed; transform: rotate(20deg); }
.hospital-core {
  position: absolute;
  top: 24%;
  left: 25%;
  width: 50%;
  height: 53%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3% 2.5%;
  box-sizing: border-box;
  border: 1px solid #e5ffcf36;
  border-radius: 28px;
  background: linear-gradient(135deg, #436542f2, #274e40f2);
  box-shadow: 0 24px 70px -28px #020e0b88, inset 0 1px #ffffff12;
  backdrop-filter: blur(12px);
  animation: hospital-float 8s ease-in-out infinite;
}
.hospital-core-label { display: flex; align-items: center; gap: 7px; font-size: clamp(8px, 1.4cqw, 11px); letter-spacing: .045em; color: #e2f0de; }
.hospital-core-label > span { width: 5px; height: 5px; border-radius: 50%; background: #c6ec7f; box-shadow: 0 0 12px #c6ec7f; }
.hospital-emblem { display: grid; place-items: center; position: relative; width: 31%; aspect-ratio: 1; margin: 7% 0 4%; border-radius: 50%; background: linear-gradient(140deg, #b8db754d, #c6ec7f14); border: 1px solid #dbffb73b; }
.hospital-emblem::before { content: ""; position: absolute; inset: -10%; border: 1px solid #daf9ab66; border-radius: 50%; animation: hospital-pulse 4s ease-out infinite; }
.hospital-emblem img { width: 74%; height: 74% !important; object-fit: contain; }
.hospital-case-count { font-size: clamp(30px, 7cqw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.05em; }
.hospital-case-count > span { color: #c6ec7f; }
.hospital-case-caption { font-size: clamp(10px, 1.75cqw, 14px); color: #e2efdb; margin-top: 3px; }
.hospital-core-footer { width: 92%; text-align: center; margin-top: 6%; padding-top: 5%; border-top: 1px solid #ffffff24; font-size: clamp(7px, 1.35cqw, 11px); color: #c5d8cb; }
.hospital-core.hospital-core--screens {
  left: 18%;
  top: 25%;
  width: 64%;
  height: auto;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border-color: #fff;
}
.hospital-screen-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: #3b5431;
  background: #f5f8ef;
  font-size: clamp(9px, 1.4cqw, 11px);
  border-bottom: 1px solid #e1e8d8;
}
.hospital-screen-top > span { width: 6px; height: 6px; border-radius: 50%; background: #83a948; }
.hospital-screen-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1320 / 821;
  overflow: hidden;
  background: #fff;
  transition: height 1800ms ease-in-out;
}
.hospital-screen-frame .hospital-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1800ms ease-in-out;
}
.hospital-screen-frame .hospital-slide.is-active { opacity: 1; }
.hospital-screen-caption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: #f5f8ef; border-top: 1px solid #e1e8d8; color: #3b5431; font-size: clamp(9px, 1.5cqw, 12px); font-weight: 600; }
.hospital-slide-dots { display: flex; gap: 5px; }
.hospital-slide-dots i { width: 5px; height: 5px; border-radius: 50%; background: #c5cfb8; }
.hospital-slide-dots i.is-active { background: #577737; }
.hospital-badge { position: absolute; display: flex; align-items: center; gap: 9px; padding: 7px 15px 7px 7px; background: #122d28ed; box-shadow: 0 12px 24px -12px #061b1d99; border: 1px solid #cce8b92e; border-radius: 100px; font-size: clamp(9px, 1.65cqw, 14px); font-weight: 600; z-index: 2; animation: hospital-float 6s ease-in-out infinite; }
.hospital-badge-icon { display: grid; place-items: center; width: clamp(24px, 4.8cqw, 38px); aspect-ratio: 1; border-radius: 50%; background: #fff; }
.hospital-badge-icon img { display: block; width: 90%; height: 90% !important; object-fit: contain; }
.hospital-badge--cardiac { top: 12%; left: 15%; animation-delay: -1s; }
.hospital-badge--respiratory { top: 30%; right: 0; animation-delay: -3s; }
.hospital-badge--cns { top: 42%; left: 3%; animation-delay: -2s; }
.hospital-badge--pediatrics { top: 60%; right: 0; animation-delay: -4s; }
.hospital-badge--obgyn { top: 76%; left: 9%; animation-delay: -2.8s; }
.hospital-badge--surgery { top: 80%; right: 10%; animation-delay: -0.5s; }
.hospital-insight { position: absolute; top: 7%; right: 6%; width: 31%; min-height: 112px; padding: 2.5%; box-sizing: border-box; color: #263e2c; background: #fbfff5; border: 1px solid #eaffca; border-radius: 12px; box-shadow: 0 18px 38px -18px #061b1d88; z-index: 3; animation: hospital-float 7s ease-in-out -3s infinite; }
.hospital-insight-label { font-size: clamp(7px, 1.25cqw, 10px); display: block; text-transform: uppercase; letter-spacing: .06em; color: #5b7937; font-weight: 700; margin-bottom: 7px; }
.hospital-insight strong { display: block; min-height: 2.8em; line-height: 1.4; font-size: clamp(10px, 1.65cqw, 13px); }
.hospital-insight-bars { height: 22px; display: flex; align-items: flex-end; gap: 5px; margin-top: 8px; }
.hospital-insight-bars i { flex: 1; border-radius: 3px 3px 0 0; background: #8eaf58; height: 45%; transform-origin: bottom; animation: hospital-bar 5s ease-in-out infinite; }
.hospital-insight-bars i:nth-child(2n) { height: 65%; animation-delay: -.6s; }
.hospital-insight-bars i:nth-child(3n) { height: 80%; animation-delay: -1.2s; }
.hospital-insight-bars i:last-child { height: 100%; animation-delay: -1.8s; }
.hospital-journey { position: absolute; bottom: 0; left: 10%; right: 10%; display: flex; justify-content: center; gap: 6px; }
.hospital-journey span { font-size: clamp(8px, 1.4cqw, 11px); line-height: 1.4; padding: 7px 10px; border-radius: 6px; color: #395031; border: 1px solid #547a3c33; background: #ffffff80; animation: hospital-step 18s linear infinite; }
.hospital-journey span:nth-child(2) { animation-delay: 3s; }
.hospital-journey span:nth-child(3) { animation-delay: 6s; }
.hospital-journey span:nth-child(4) { animation-delay: 9s; }
.hospital-journey span:nth-child(5) { animation-delay: 12s; }
.hospital-journey span:nth-child(6) { animation-delay: 15s; }
.hospital-spark { position: absolute; width: 5px; height: 5px; background: #c6ec7f; border-radius: 50%; box-shadow: 0 0 18px #c6ec7faa; animation: hospital-float 5s ease-in-out infinite; }
.hospital-spark--one { left: 10%; top: 63%; }
.hospital-spark--two { right: 23%; top: 48%; animation-delay: -2s; }
.hospital-motion { margin: 20px 0 0 auto; display: flex; gap: 7px; align-items: center; min-height: 36px; padding: 6px 10px; border: 1px solid #55764066; border-radius: 20px; background: #ffffff99; color: #314c28; font: inherit; font-size: 11px; cursor: pointer; }
.hospital-motion[hidden] { display: none; }
.hospital-motion:hover { color: #20351f; background: #ffffff99; }
.hospital-motion:focus-visible { outline: 2px solid #c6ec7f; outline-offset: 4px; }
.hospital-hero.is-inactive *, .hospital-hero.is-inactive *::before,
.hospital-hero.is-paused *, .hospital-hero.is-paused *::before,
.hospital-hero.is-offscreen *, .hospital-hero.is-offscreen *::before { animation-play-state: paused !important; }
.hospital-insight.is-updated > * { animation: hospital-content-in 650ms ease both; }
.hospital-badge.is-leaving { animation: hospital-float 6s ease-in-out infinite, hospital-badge-out 550ms ease-in both; }
.hospital-badge.is-entering { animation: hospital-float 6s ease-in-out infinite, hospital-badge-in 800ms cubic-bezier(.16, 1, .3, 1) both; }
@keyframes hospital-badge-out { from { opacity: 1; scale: 1; } to { opacity: 0; scale: .65; } }
@keyframes hospital-badge-in { from { opacity: 0; scale: .65; } to { opacity: 1; scale: 1; } }
@keyframes hospital-content-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hospital-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hospital-glow { from { opacity: .55; transform: scale(.9); } to { opacity: 1; transform: scale(1.07); } }
@keyframes hospital-pulse { 0% { transform: scale(1); opacity: .6; } 85%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes hospital-bar { 0%, 100% { transform: scaleY(.65); } 50% { transform: scaleY(1); } }
@keyframes hospital-step { 0%, 14% { color: #fff; background: #315638; border-color: #315638; } 16.66%, 100% { color: #395031; background: #ffffff80; border-color: #547a3c33; } }
@media (max-width: 900px) {
  .hospital-hero { max-width: 680px; }
}
@media (max-width: 480px) {
  .hospital-scene { aspect-ratio: .88; }
  .hospital-core { left: 22%; width: 56%; height: 47%; top: 32%; border-radius: 18px; }
  .hospital-core.hospital-core--screens { left: 7%; top: 29%; width: 86%; border-radius: 10px; }
  .hospital-screen-top, .hospital-screen-caption { padding: 8px 10px; }
  .hospital-screen-caption { gap: 4px; }
  .hospital-slide-dots { gap: 3px; }
  .hospital-emblem { width: 24%; margin: 6px 0; }
  .hospital-core-footer { margin-top: 6px; padding-top: 6px; }
  .hospital-badge { gap: 5px; padding: 5px 9px 5px 5px; }
  .hospital-badge--cardiac { left: 4%; top: 15%; }
  .hospital-badge--respiratory { top: 23%; right: -1%; }
  .hospital-badge--cns { left: 0; top: 44%; }
  .hospital-badge--pediatrics { top: 65%; right: -1%; }
  .hospital-badge--obgyn { top: 79%; left: 1%; }
  .hospital-badge--surgery { top: 82%; right: 5%; }
  .hospital-insight { width: 43%; min-height: 70px; right: 2%; padding: 2.5%; top: 0; }
  .hospital-insight-bars { display: none; }
  .hospital-journey { left: 0; right: 0; gap: 4px; bottom: -4%; }
  .hospital-journey span { padding: 6px; }
  .hospital-motion { margin-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .hospital-scene *, .hospital-scene::before, .hospital-scene *::before { animation: none !important; }
  .hospital-motion { display: none; }
  .hospital-screen-frame, .hospital-screen-frame .hospital-slide { transition: none; }
}
