/* =========================================================
   Room Video Background Section
   Places patient room video between Recovery and International.
   ========================================================= */

.room-video-section,
.room-video-section * {
  box-sizing: border-box;
}

.room-video-section {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 120px 24px;
  overflow: hidden;
  color: #ffffff;
  background: #062f3d;
  isolation: isolate;
}

.room-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.02);
}

.room-video-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 39, 52, .84) 0%, rgba(4, 39, 52, .58) 42%, rgba(4, 39, 52, .26) 100%),
    linear-gradient(180deg, rgba(4, 39, 52, .38) 0%, rgba(4, 39, 52, .18) 52%, rgba(4, 39, 52, .76) 100%);
}

.room-video-section::before {
  content: "";
  position: absolute;
  inset: 28px;
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 56px;
  pointer-events: none;
}

.room-video-glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(16px);
  pointer-events: none;
}

.room-glow-a {
  width: 360px;
  height: 360px;
  left: 8%;
  bottom: 8%;
  background: rgba(19,183,165,.24);
  animation: roomFloat 9s ease-in-out infinite alternate;
}

.room-glow-b {
  width: 440px;
  height: 440px;
  right: -5%;
  top: 12%;
  background: rgba(8,120,164,.20);
  animation: roomFloat 11s ease-in-out infinite alternate-reverse;
}

@keyframes roomFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(20px, -24px, 0) scale(1.08);
  }
}

.room-video-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
  gap: 34px;
  align-items: center;
}

.room-video-copy h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 900;
}

.room-video-copy p {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.78;
}

.room-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.room-video-actions .btn-primary {
  color: #075b82;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  font-weight: 900;
  text-decoration: none;
}

.room-video-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 42px;
  color: #ffffff;
  background: rgba(255,255,255,.14);
  box-shadow:
    0 34px 100px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(18px);
}

.room-video-card::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 68%);
  pointer-events: none;
}

.room-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 900;
}

.room-video-card h3 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.room-feature-list {
  display: grid;
  gap: 14px;
}

.room-feature-list div {
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.12);
}

.room-feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 15px;
}

.room-feature-list span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .room-video-section {
    min-height: auto;
    padding: 96px 24px;
  }

  .room-video-content {
    grid-template-columns: 1fr;
  }

  .room-video-card {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .room-video-section {
    padding: 86px 18px;
  }

  .room-video-section::before {
    inset: 16px;
    border-radius: 34px;
  }

  .room-video-bg {
    transform: scale(1.12);
  }

  .room-video-overlay {
    background:
      linear-gradient(180deg, rgba(4,39,52,.76), rgba(4,39,52,.54), rgba(4,39,52,.86));
  }

  .room-video-copy h2 {
    font-size: 42px;
  }

  .room-video-actions .btn,
  .room-video-actions .btn-glass {
    width: 100%;
  }

  .room-video-card {
    border-radius: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-video-bg {
    display: none;
  }

  .room-video-section {
    background:
      linear-gradient(135deg, rgba(8,120,164,.96), rgba(19,183,165,.88));
  }

  .room-glow-a,
  .room-glow-b {
    animation: none;
  }
}
