/* ==========================================================================
   SEKOLAH KREATIVA - MODERN DESIGN SYSTEM & SPA STYLESHEET
   Brand: Islamic Leadership School & Green School Bogor
   High Performance, Zero Runtime Bloat, Mobile-First
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- 1. DESIGN TOKENS --- */
:root {
  --navy-900: #0A0F33;
  --navy-800: #101648;
  --navy-700: #191B77;
  --navy-600: #252899;
  --navy-50:  #EFF2FF;

  --orange-500: #F58634;
  --orange-600: #E0701F;
  --orange-400: #FFA15C;
  --orange-50:  #FFF6ED;

  --green-600: #059669;
  --green-500: #10B981;
  --green-400: #34D399;
  --green-brand: #A8CE43;
  --green-50:  #ECFDF5;

  --blue-500: #0097DA;
  --blue-600: #0284C7;
  --blue-400: #38BDF8;
  --blue-50:  #F0F9FF;

  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white:     #FFFFFF;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow-orange: 0 10px 25px -5px rgba(245, 134, 52, 0.4);
  --shadow-glow-blue: 0 10px 25px -5px rgba(0, 151, 218, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- 2. BASE & RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- 3. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient-orange {
  background: linear-gradient(135deg, var(--orange-500) 0%, #FF9950 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-brand {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 4. LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.section-alt {
  background-color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid rgba(0, 151, 218, 0.2);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.75rem; }
}

/* --- 5. TOPBAR & NAVBAR --- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}

.topbar-link:hover {
  color: var(--orange-400);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-text span {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-500);
  display: block;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-menu { display: flex; }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 0.5rem 0.25rem;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-700);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--orange-500), var(--blue-500));
  border-radius: var(--radius-full);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(245, 134, 52, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(245, 134, 52, 0.45);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  border: 1.5px solid var(--navy-700);
  color: var(--navy-700);
}

.btn-outline:hover {
  background: var(--navy-700);
  color: var(--white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--slate-100);
}

.hamburger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-900);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (min-width: 1024px) {
  .hamburger-btn { display: none; }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 15, 51, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-nav-drawer.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: var(--white);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav-drawer.open .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--slate-800);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--navy-50);
  color: var(--navy-700);
}

/* --- 6. HERO SECTION --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #F0F4FF 0%, #FFFFFF 50%, #FFF8F0 100%);
  padding: 4.5rem 0 6rem 0;
  overflow: hidden;
}

.hero-mesh-1 {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 151, 218, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-mesh-2 {
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 134, 52, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(25, 27, 119, 0.08);
  border: 1px solid rgba(25, 27, 119, 0.12);
  margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 0 rgba(245, 134, 52, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 134, 52, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 134, 52, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 134, 52, 0); }
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.5rem; }
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero Showcase Slider */
.hero-showcase {
  position: relative;
  width: 100%;
}

.hero-slider-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 20px 40px -15px rgba(25, 27, 119, 0.18);
  border: 6px solid var(--white);
  background: var(--slate-200);
  aspect-ratio: 4 / 3;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), transform 6000ms linear;
  transform: scale(1);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.hero-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.hero-dot.active {
  width: 24px;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Floating Badges */
.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.floating-stat-top {
  top: 10%;
  left: -20px;
}

.floating-stat-bottom {
  bottom: 8%;
  right: -20px;
  animation-delay: -2s;
}

@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-icon.orange {
  background: var(--orange-50);
  color: var(--orange-500);
}

.stat-icon.green {
  background: var(--green-50);
  color: var(--green-600);
}

.stat-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--navy-900);
  line-height: 1.2;
}

.stat-text span {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 600;
}

/* Metric Strip */
.metric-strip {
  margin-top: 3.5rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .metric-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.metric-item {
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  display: none;
}

@media (min-width: 768px) {
  .metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--slate-200);
    display: block;
  }
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--slate-600);
  font-weight: 600;
}

/* --- 7. TENTANG & SAMBUTAN --- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .profile-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
  }
}

.profile-image-wrap {
  position: relative;
}

.profile-image-frame {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
  background: var(--slate-100);
}

.profile-quote-card {
  position: absolute;
  bottom: -25px;
  right: -15px;
  background: var(--navy-900);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 320px;
}

.profile-quote-card p {
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.profile-quote-card strong {
  font-size: 0.8125rem;
  color: var(--orange-400);
  display: block;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pillar-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 151, 218, 0.3);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pillar-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--navy-900);
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* --- 8. PROGRAM JENJANG --- */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .programs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-100);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 134, 52, 0.4);
}

.program-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--slate-200);
}

.program-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.program-card:hover .program-card-thumb img {
  transform: scale(1.08);
}

.program-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy-700);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

.program-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
  transition: color var(--transition-fast);
}

.program-card:hover .program-card-title {
  color: var(--orange-500);
}

.program-card-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.program-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--blue-600);
}

/* --- 9. FASILITAS --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-tab {
  padding: 0.55rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--navy-700);
  color: var(--navy-700);
}

.filter-tab.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(15, 23, 51, 0.25);
}

.facilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .facilities-grid { grid-template-columns: repeat(3, 1fr); }
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.facility-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--slate-200);
}

.facility-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.facility-card:hover .facility-thumb img {
  transform: scale(1.08);
}

.facility-unit-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--slate-700);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.facility-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.facility-name {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--navy-900);
}

.facility-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- 10. BERITA & ARTIKEL --- */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(3, 1fr); }
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.article-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--slate-200);
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-card:hover .article-thumb img {
  transform: scale(1.08);
}

.article-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue-600);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

.article-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: 0.65rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-title {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--slate-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.article-card:hover .article-title {
  color: var(--orange-500);
}

.article-excerpt {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-700);
}

.article-footer i {
  transition: transform var(--transition-fast);
}

.article-card:hover .article-footer i {
  transform: translateX(4px);
}

/* --- 11. FAQ ACCORDION --- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--navy-700);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--orange-500);
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--slate-600);
  flex-shrink: 0;
  transition: transform var(--transition-normal), background var(--transition-normal);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--navy-700);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* --- 12. SPMB CTA BANNER --- */
.spmb-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-2xl);
  padding: 3.5rem 2rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.spmb-banner-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 134, 52, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.spmb-banner h2 {
  font-size: 2.25rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.spmb-banner p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
}

/* --- 13. FOOTER --- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
  }
}

.footer-col h4 {
  font-size: 1.0625rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--orange-400);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

/* --- 14. SPA VIEW CONTAINER & MODALS --- */
.spa-view {
  display: none;
  opacity: 0;
  transition: opacity 250ms ease-in-out;
}

.spa-view.active {
  display: block;
  opacity: 1;
  animation: fadeInView 250ms ease-out forwards;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modal / Lightbox Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 15, 51, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.35rem;
  color: var(--navy-900);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--slate-700);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--slate-900);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: var(--white);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(0, 151, 218, 0.12);
}

/* Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Article Reader View Typography */
.article-reader-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.25rem 6rem 1.25rem;
}

.article-reader-header {
  margin-bottom: 2.5rem;
}

.article-reader-title {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .article-reader-title { font-size: 2.85rem; }
}

.article-reader-hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  margin-bottom: 3rem;
  background: var(--slate-100);
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--slate-700);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h1, .article-content h2, .article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--navy-900);
}

.article-content ul, .article-content ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content img {
  border-radius: var(--radius-lg);
  margin: 2rem auto;
  box-shadow: var(--shadow-md);
}

.article-content blockquote {
  border-left: 4px solid var(--orange-500);
  background: var(--orange-50);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--slate-800);
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--navy-900);
  color: var(--white);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInToast 300ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.success { background: #065F46; }
.toast.error   { background: #991B1B; }

/* Floating WhatsApp / SPMB Quick Button */
.floating-hotline {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.hotline-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #25D366;
  color: var(--white);
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--transition-normal);
}

.hotline-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #E2E8F0 25%, #EDF2F7 50%, #E2E8F0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
