/* ── 히어로 ── */

#sh_content {min-height:0px!important;}
.facility-hero {
  position: relative;
  height: 340px;
  background: linear-gradient(135deg, #05306b 0%, #0a4fa8 55%, #1e90d8 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.facility-hero::before {
  content: 'FACILITY';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 200px; font-weight: 900;
  color: rgba(255,255,255,0.04);
  letter-spacing: -8px; white-space: nowrap; pointer-events: none;
}
.facility-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,48,107,0.5) 0%, transparent 100%);
}
.facility-hero-content { position: relative; z-index: 1; color: #fff; }
.facility-hero-label {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.facility-hero-content h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900;
  color: #fff; margin-bottom: 14px; line-height: 1.1;
}
.facility-hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.7;
}

/* ── 탭 ── */
.facility-tabs-wrap {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.facility-tabs {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px;
}
.facility-tab {
  padding: 18px 40px;
  background: none; border: none; border-bottom: 3px solid transparent;
  font-size: 15px; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap; margin-bottom: -2px;
}
.facility-tab:hover { color: var(--primary); }
.facility-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);#sh_conten
}

/* ── 섹션 ── */
.facility-section { display: none; background: var(--bg-section); padding: 60px 0 80px; }
.facility-section.is-active { display: block; }

.facility-section .facility-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
}

/* ── 슬라이드 ── */
.facility-section .facility-swiper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(10,79,168,0.14);
}
.facility-section .facility-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.facility-section .facility-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.facility-section .swiper-slide:hover .facility-img-wrap img {
  transform: scale(1.02);
}

/* Swiper 커스텀 */
.facility-section .swiper-button-prev,
.facility-section .swiper-button-next {
  width: 48px; height: 48px;
  background: rgba(10,79,168,0.7);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}
.facility-section .swiper-button-prev::after,
.facility-section .swiper-button-next::after {
  font-size: 16px; color: #fff; font-weight: 700;
}
.facility-section .swiper-pagination {
  bottom: 20px;
}
.facility-section .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
}
.facility-section .swiper-pagination-bullet-active {
  background: #fff;
  width: 24px; border-radius: 4px;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .facility-tabs { padding: 0 16px; }
  .facility-tab { padding: 14px 20px; font-size: 14px; }
  .facility-hero { height: 240px; }
  .facility-section .facility-img-wrap { aspect-ratio: 4/3; }
  .facility-section .swiper-button-prev,
  .facility-section .swiper-button-next { width: 36px; height: 36px; }
  .facility-section .swiper-button-prev::after,
  .facility-section .swiper-button-next::after { font-size: 12px; }
}
