/* ==========================================================================
   RSU PREMAGANA BALI - MODERN HEALTHCARE THEME STYLESHEET
   Refactored Responsive Architecture, Design Tokens & Component Styling
   ========================================================================== */

:root {
  /* Official RSU Premagana Bali Brand Color Tokens (Extracted from Hospital Logo) */
  --primary: #7C2D92;          /* Premagana Royal Violet */
  --primary-dark: #581C87;     /* Premagana Deep Royal Plum */
  --primary-light: #9333EA;    /* Premagana Vivid Purple */
  --brand-magenta: #D679EF;    /* Authentic Emblem Lotus Magenta */
  --brand-magenta-light: #F3E8FF;
  --accent-cyan: #37B7FE;      /* Authentic Emblem Sky Blue */
  --accent-teal: #0284C7;      /* Premagana Medical Blue */
  --accent-teal-dark: #0369A1;
  --accent-mint: #10B981;      /* Health Mint / KARS Green */
  --accent-mint-dark: #059669;
  --accent-coral: #DC2626;     /* Emergency Red */
  --accent-amber: #F59E0B;     /* Warm Gold Stars & Accreditations */

  /* Aliases for Semantic Component Compatibility */
  --color-primary: var(--primary);
  --color-secondary: var(--accent-teal);

  /* Premagana Brand Spectrum (Mapped for Component Harmony) */
  --km-primary-50: #FAF5FF;
  --km-primary-100: #F3E8FF;
  --km-primary-200: #E9D5FF;
  --km-primary-300: #D8B4FE;
  --km-primary-400: #C084FC;
  --km-primary-500: #A855F7;
  --km-primary-600: #9333EA;
  --km-primary-700: #7C2D92;
  --km-primary-800: #6B21A8;
  --km-primary-900: #581C87;
  --km-primary-950: #3B0764;
  --km-secondary-100: #FFFFFF;
  --km-secondary-200: #F8FAFC;
  --km-secondary-300: #F1F5F9;
  --km-secondary-400: #E2E8F0;
  --km-secondary-700: #64748B;
  --km-secondary-900: #1E293B;
  --km-secondary-950: #0F172A;

  /* Neutral Spectrum */
  --bg-main: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #FAF5FF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;

  /* Shadows with Brand Purple Tints */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(124, 45, 146, 0.07);
  --shadow-lg: 0 10px 25px -4px rgba(124, 45, 146, 0.10);
  --shadow-xl: 0 20px 35px -6px rgba(124, 45, 146, 0.14);
  --shadow-2xl: 0 25px 50px -12px rgba(88, 28, 135, 0.22);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Typography */
  --font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --header-height: 72px;
}

/* ==========================================================================
   RESETS & GLOBAL SETUP
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--text-main);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-main);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Compatibility with WordPress Admin Bar */
.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ==========================================================================
   TOP EMERGENCY & CONTACT BAR
   ========================================================================== */
.topbar {
  background: #4A154B;
  color: #CBD5E1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
  padding: 0.45rem 0;
}

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

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.2);
}

.topbar-emergency-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(225, 29, 72, 0.2);
  color: #FDA4AF;
  border: 1px solid rgba(225, 29, 72, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.2s ease;
}

.topbar-emergency-pill:hover {
  background: var(--accent-coral);
  color: #FFF;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #F43F5E;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
  animation: pulseAnim 1.8s infinite;
}

@keyframes pulseAnim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(244, 63, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
  }
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94A3B8;
}

.topbar-item a {
  color: #E2E8F0;
}

.topbar-item a:hover {
  color: #38BDF8;
}

.topbar-badge-kars {
  background: rgba(245, 158, 11, 0.15);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.app-link {
  color: #38BDF8 !important;
  font-weight: 600;
}

/* ==========================================================================
   TOP BAR: CONTACT & SOCIAL MEDIA
   ========================================================================== */
.top-bar {
  background: #0B2536;
  color: #E2E8F0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
  position: relative;
  z-index: 101;
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #CBD5E1;
}

.top-bar-item a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar-item a:hover {
  color: #38BDF8;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-right .social-label {
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 600;
  margin-right: 2px;
}

.top-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
}

.top-social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(225, 48, 108, 0.35);
}

.top-social-link.instagram:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.5);
  color: #FFFFFF;
}

.top-social-link.facebook {
  background: #1877F2;
  color: #FFFFFF;
}

.top-social-link.facebook:hover {
  background: #1565C0;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.4);
}

.top-social-link.youtube {
  background: #FF0000;
  color: #FFFFFF;
}

.top-social-link.youtube:hover {
  background: #CC0000;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.4);
}

@media (max-width: 991px) {
  .top-bar {
    display: none;
  }
}

/* ==========================================================================
   MAIN STICKY NAVBAR
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 25px -4px rgba(10, 54, 74, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.25rem;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.35rem;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-cyan));
  transition: width 0.2s ease;
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu (Desktop) */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 260px;
  background: #FFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -5px rgba(10, 54, 74, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--bg-subtle);
  color: var(--accent-teal);
  transform: translateX(3px);
}

.dropdown-item .drop-icon {
  font-size: 1.15rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(2, 132, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.dropdown-item small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.btn-emergency-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #E11D48, #BE123C);
  color: #FFF !important;
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
  transition: all 0.2s ease;
}

.btn-emergency-compact:hover {
  background: linear-gradient(135deg, #BE123C, #9F1239);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
  transform: translateY(-1px);
}

.btn-primary-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--accent-teal), #0369A1);
  color: #FFF !important;
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
}

.btn-primary-compact:hover {
  background: linear-gradient(135deg, #0369A1, var(--primary));
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
  transform: translateY(-1px);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: all 0.2s ease;
}

.mobile-menu-btn .bar {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  background: #E2E8F0;
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER
   ========================================================================== */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 43, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: #FFF;
  z-index: 1001;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-main);
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}

.drawer-quick-actions {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-action-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: #FFF !important;
  box-shadow: var(--shadow-sm);
}

.drawer-action-btn.emergency {
  background: linear-gradient(135deg, #E11D48, #BE123C);
}

.drawer-action-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #1EBE5D);
}

.drawer-action-btn strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.2;
}

.drawer-action-btn small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
}

.drawer-nav-list {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
}

.drawer-nav-link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.drawer-nav-link:hover {
  color: var(--accent-teal);
  padding-left: 0.85rem;
}

.drawer-sub-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  cursor: pointer;
  text-align: left;
}

.drawer-sub-menu {
  display: none;
  padding: 0.5rem 0 0.5rem 1.25rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  margin: 0.5rem 0;
}

.drawer-sub-menu.open {
  display: block;
}

.drawer-sub-item {
  display: block;
  padding: 0.5rem 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.drawer-sub-item:hover {
  color: var(--accent-teal);
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal), #0369A1);
  color: #FFF !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1, var(--primary));
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}

.btn-emergency {
  background: linear-gradient(135deg, #E11D48, #BE123C);
  color: #FFF !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #BE123C, #9F1239);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFF !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-1px);
}

.btn-outline {
  background: #FFF;
  color: var(--primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.btn-lg {
  padding: 0.8rem 1.65rem;
  font-size: 0.98rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 45%, #F8FAFC 100%);
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, rgba(2, 132, 199, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.18;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, var(--accent-teal), #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.hero-feature-item .icon {
  font-size: 1.1rem;
}

/* Hero Media Card */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #FFF;
  background: #FFF;
}

.hero-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: -1.25rem;
  left: 1.25rem;
  background: #FFF;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--border-light);
}

.hero-float-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-float-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--primary);
}

.hero-float-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   QUICK BOOKING WIDGET BAR
   ========================================================================== */
.quick-booking-bar {
  position: relative;
  margin-top: -2.5rem;
  z-index: 20;
  margin-bottom: 3.5rem;
}

.quick-booking-card {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  box-shadow: 0 15px 35px -5px rgba(10, 54, 74, 0.1), 0 5px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.booking-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.booking-card-header p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) 160px;
  gap: 1.25rem;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-main);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  background-color: #FFF;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-section {
  padding: 2.75rem 0;
  background: #FFF;
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-teal);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-info h4 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: #FFF;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-teal);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   ABOUT RSU PREMAGANA
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.about-images-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #FFF;
}

.about-img-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  bottom: -1.5rem;
  right: 1rem;
  background: var(--primary);
  color: #FFF;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 250px;
  border: 3px solid #FFF;
}

.about-badge-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #38BDF8;
  margin-bottom: 0.25rem;
}

.about-badge-card p {
  font-size: 0.82rem;
  color: #E2E8F0;
  line-height: 1.4;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.about-lead {
  font-size: 1.05rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
  font-size: 0.95rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-teal);
}

.value-item.gana {
  border-left-color: var(--accent-mint);
}

.value-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.value-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   SERVICES & POLIKLINIK SECTION
   ========================================================================== */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
  overflow-x: auto;
  padding: 0.25rem 0;
}

.service-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1.5px solid var(--border-light);
  background: #FFF;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.service-tab-btn:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.service-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFF;
  box-shadow: var(--shadow-md);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: #FFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.4);
}

.service-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(10, 54, 74, 0.88);
  backdrop-filter: blur(6px);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.service-badge.emergency {
  background: rgba(225, 29, 72, 0.92);
}

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

.service-body h4 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-footer {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
}

.service-action-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-action-link:hover {
  color: var(--primary);
  gap: 0.55rem;
}

/* ==========================================================================
   DOCTORS & SPECIALISTS SCHEDULE
   ========================================================================== */
.doctors-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, #EFF6FF 100%);
}

.doctor-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  overflow-x: auto;
  padding: 0.25rem 0;
}

.doc-btn {
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: #FFF;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.doc-btn.active, .doc-btn:hover {
  background: var(--accent-teal);
  color: #FFF;
  border-color: var(--accent-teal);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.doctor-card {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-teal);
}

.doctor-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(16, 185, 129, 0.12));
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  border: 3px solid #FFF;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.doctor-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.doctor-spec {
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.doctor-schedule-box {
  background: var(--bg-main);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  width: 100%;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  border: 1px solid var(--border-light);
}

.doctor-schedule-box strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.doctor-book-btn {
  width: 100%;
  margin-top: auto;
  font-size: 0.86rem;
  padding: 0.55rem;
}

/* ==========================================================================
   BPJS KESEHATAN & PATIENT FLOW DIAGRAM
   ========================================================================== */
.bpjs-banner {
  background: linear-gradient(135deg, #059669, #047857);
  color: #FFF;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 15px 30px rgba(5, 150, 105, 0.2);
}

.bpjs-content h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  margin-bottom: 0.65rem;
}

.bpjs-content p {
  font-size: 0.98rem;
  color: #E2E8F0;
  max-width: 650px;
  line-height: 1.6;
}

.bpjs-logo-wrap {
  background: #FFF;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.bpjs-logo-wrap img {
  height: 52px;
  width: auto;
}

.flow-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.flow-tab-btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: #FFF;
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.flow-tab-btn.active {
  background: var(--accent-teal);
  color: #FFF;
  border-color: var(--accent-teal);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.flow-card-content {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.flow-step-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.flow-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.flow-step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), #0369A1);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.step-details h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.step-details p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.flow-image-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-light);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.flow-image-preview img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.flow-image-preview:hover img {
  transform: scale(1.03);
}

.flow-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 54, 74, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
  font-size: 0.95rem;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flow-image-preview:hover .flow-image-overlay {
  opacity: 1;
}

/* ==========================================================================
   HAIMED APP PROMO BANNER
   ========================================================================== */
.haimed-banner {
  background: linear-gradient(135deg, #0A2540 0%, #0F3B5F 100%);
  color: #FFF;
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.haimed-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.haimed-content h3 span {
  color: #38BDF8;
}

.haimed-content p {
  color: #CBD5E1;
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.haimed-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.haimed-feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #F1F5F9;
  font-weight: 500;
}

.haimed-feat-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  flex-shrink: 0;
}

.haimed-image-wrap img {
  max-height: 290px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-toggle-icon {
  font-size: 1.15rem;
  color: var(--accent-teal);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CONTACT & LOCATION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card {
  background: #FFF;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.contact-item p, .contact-item a {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.contact-item a:hover {
  color: var(--accent-teal);
}

.contact-map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  min-height: 380px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 43, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #FFF;
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 1.75rem;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.modal-close:hover {
  background: var(--accent-coral);
  color: #FFF;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #CBD5E1;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

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

.footer-brand img {
  height: 48px;
  margin-bottom: 1.15rem;
  background: #FFF;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-md);
}

.footer-desc {
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
}

.footer-col h5 {
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--accent-teal);
  border-radius: var(--radius-full);
}

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

.footer-links a {
  color: #94A3B8;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #38BDF8;
  padding-left: 0.35rem;
}

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

/* ==========================================================================
   FLOATING ACTION BUTTON (WHATSAPP WIDGET)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
}

.fab-pill-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #FFF !important;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.fab-pill-wa:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.fab-pill-wa .fab-icon {
  font-size: 1.25rem;
}

@media screen and (max-width: 640px) {
  .fab-pill-wa .fab-label {
    display: none;
  }
  .fab-pill-wa {
    padding: 0;
    width: 50px;
    height: 50px;
    justify-content: center;
    border-radius: 50%;
  }
}

/* ==========================================================================
   MEDIA QUERIES FOR SEAMLESS RESPONSIVENESS
   ========================================================================== */

/* Large Tablets & Small Desktops (<= 1120px) */
@media screen and (max-width: 1120px) {
  .nav-links {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 2.5rem;
  }
}

/* Tablets (<= 1024px) - Switch to Mobile Drawer Navigation */
@media screen and (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .topbar-right {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
  }
  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }
  .hero-image-wrapper img {
    height: 320px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-badge-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .flow-step-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .haimed-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .haimed-features {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Mobile Devices (<= 768px) */
@media screen and (max-width: 768px) {
  .topbar {
    display: none; /* Keep header super clean on mobile */
  }
  :root {
    --header-height: 64px;
  }
  .site-logo img {
    height: 40px;
  }
  .btn-emergency-compact span:last-child {
    display: none; /* Show only icon on small mobile */
  }
  .btn-emergency-compact {
    padding: 0.5rem 0.75rem;
  }
  .btn-primary-compact {
    display: none; /* Accessible via drawer & hero */
  }
  .hero {
    padding: 2.5rem 0 3.5rem;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .quick-booking-bar {
    margin-top: -1.5rem;
  }
  .quick-booking-card {
    padding: 1.5rem;
  }
  .booking-form-grid {
    grid-template-columns: 1fr;
  }
  .bpjs-banner {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    text-align: center;
  }
  .bpjs-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .bpjs-logo-wrap {
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    padding: 1.75rem;
  }
  .contact-map-card {
    min-height: 300px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Extra Small Phones (<= 480px) */
@media screen and (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .doctors-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .haimed-features {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .floating-actions {
    bottom: 16px;
    right: 16px;
  }
  .fab {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   INDIKATOR MUTU (KENAK MEDIKA HOSPITAL DESIGN AESTHETICS)
   Reference: https://www.kenakmedika.com/id
   ========================================================================== */

/* Kenak Medika Pill Badge */
.km-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: #FAFAFA;
  border: 1px solid #E0E0E0;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #0A0A0A;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}

.km-badge .km-badge-icon {
  width: 14px;
  height: 14px;
  color: #0284C7;
  flex-shrink: 0;
}

/* Kenak Medika Buttons */
.btn-km-primary {
  background: #7C2D92;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(124, 45, 146, 0.2);
  text-decoration: none;
}

.btn-km-primary:hover {
  background: #6B21A8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 45, 146, 0.3);
  color: #FFFFFF;
}

.btn-km-outline {
  background: transparent;
  color: #7C2D92;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1.5px solid #0284C7;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-km-outline:hover {
  background: #FAF5FF;
  color: #7C2D92;
}

.btn-km-print {
  background: #F59E0B;
  color: #0A0A0A;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
  text-decoration: none;
}

.btn-km-print:hover {
  background: #D97706;
  color: #FFF;
  transform: translateY(-2px);
}

/* Hero Section (Kenak Medika Style) */
.mutu-hero {
  background: linear-gradient(135deg, #4A154B 0%, #7C2D92 45%, #0284C7 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

.mutu-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.05));
  pointer-events: none;
}

.mutu-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.mutu-breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mutu-breadcrumbs a:hover {
  color: #37B7FE;
  text-decoration: underline;
}

.mutu-breadcrumbs .sep {
  opacity: 0.4;
}

.mutu-breadcrumbs .active {
  color: #37B7FE;
  font-weight: 600;
}

.km-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.km-hero-pill .dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
}

.mutu-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.mutu-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 840px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.mutu-meta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.mutu-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

.mutu-meta-item .meta-icon {
  font-size: 1.35rem;
}

.mutu-meta-item .meta-label {
  display: block;
  font-size: 0.725rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.mutu-meta-item strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
  font-weight: 700;
}

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

/* Main Container Wrap */
.mutu-main-wrap {
  background: #FFFFFF;
  padding: 3.5rem 0 5rem;
  font-family: 'Montserrat', sans-serif;
}

/* Executive Summary (Kenak Medika Card Architecture) */
.mutu-summary-section {
  margin-bottom: 3.5rem;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #E0E0E0;
}

.summary-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #7C2D92;
  margin: 0.25rem 0 0 0;
}

.summary-achievement-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  color: #0284C7;
}

.summary-achievement-tag .trophy-icon {
  font-size: 1.65rem;
}

.summary-achievement-tag strong {
  display: block;
  font-size: 0.95rem;
  color: #7C2D92;
  font-weight: 700;
}

.summary-achievement-tag small {
  display: block;
  font-size: 0.8rem;
  color: #757575;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.summary-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.summary-card:hover {
  border-color: #0284C7;
  box-shadow: 0 8px 20px rgba(124, 45, 146, 0.08);
  transform: translateY(-3px);
}

.card-icon-top {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #F3E8FF;
  color: #0284C7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card-metric-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #7C2D92;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.card-metric-label {
  font-size: 0.925rem;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.card-metric-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.card-metric-badge.success {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.card-metric-desc {
  font-size: 0.825rem;
  color: #757575;
  line-height: 1.55;
  margin: 0;
  margin-top: auto;
}

/* Filter Navigation Bar (Kenak Medika Tabs Style) */
.mutu-filter-bar {
  background: #FFFFFF;
  border-bottom: 2px solid #E0E0E0;
  padding: 0 0 0 0;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-header-left .filter-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #7C2D92;
  margin: 0 0 0.2rem 0;
}

.filter-count {
  font-size: 0.825rem;
  color: #757575;
}

.filter-count strong {
  color: #0284C7;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.filter-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: #757575;
  padding: 0.75rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: -2px;
}

.filter-tab:hover {
  color: #0284C7;
}

.filter-tab.active {
  color: #0284C7;
  border-bottom-color: #0284C7;
  font-weight: 700;
}

/* Indicators Grid */
.indicators-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.indicator-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 4px 14px rgba(124, 45, 146, 0.04);
  transition: all 0.25s ease;
}

.indicator-card:hover {
  border-color: #E9D5FF;
  box-shadow: 0 10px 24px rgba(124, 45, 146, 0.08);
}

.indicator-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.indicator-meta-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-code {
  background: #7C2D92;
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.badge-cat {
  background: #FAFAFA;
  border: 1px solid #E0E0E0;
  color: #404040;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
}

.status-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-pill.status-success {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.status-pill.status-success .pill-dot {
  background: #16A34A;
}

.status-pill.status-warning {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.status-pill.status-warning .pill-dot {
  background: #D97706;
}

.indicator-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #7C2D92;
  margin: 0.75rem 0 1.25rem 0;
  line-height: 1.35;
}

.indicator-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: #F8FAFC;
  border: 1px solid #E0E0E0;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.metric-block .metric-label {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #757575;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.metric-block .metric-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #7C2D92;
}

.metric-block .metric-value-sm {
  font-size: 0.85rem;
  font-weight: 600;
  color: #404040;
}

.metric-block.highlight-green .metric-value {
  color: #10B981;
}

.metric-block.highlight-amber .metric-value {
  color: #D97706;
}

.progress-container {
  margin-bottom: 1.75rem;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #757575;
  margin-bottom: 0.4rem;
}

.progress-labels strong {
  color: #7C2D92;
}

.progress-track {
  height: 8px;
  background: #EDEDED;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator-body-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2rem;
  align-items: start;
}

.chart-visual-box {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.chart-img-wrap {
  position: relative;
  background: #FAFAFA;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #EDEDED;
  text-align: center;
}

.chart-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 320px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.25s ease;
}

.chart-img-wrap:hover .chart-img {
  transform: scale(1.02);
}

.btn-chart-zoom {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #7C2D92;
  color: #FFFFFF;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.btn-chart-zoom:hover {
  background: #0284C7;
}

.chart-caption-box {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid #EDEDED;
}

.chart-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #F3E8FF;
  color: #0284C7;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.chart-label {
  font-size: 0.75rem;
  color: #757575;
}

.clinical-details-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-heading {
  font-size: 0.925rem;
  font-weight: 700;
  color: #7C2D92;
  margin: 0 0 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-text {
  font-size: 0.925rem;
  color: #404040;
  line-height: 1.65;
  margin: 0;
}

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

.rtl-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #404040;
  line-height: 1.55;
}

.rtl-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #F3E8FF;
  color: #0284C7;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.conclusion-box {
  background: #F3E8FF;
  border-left: 4px solid #0284C7;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
}

.conclusion-box.conclusion-warning {
  background: #FFFBEB;
  border-left-color: #F59E0B;
}

.conclusion-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #7C2D92;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.conclusion-box.conclusion-warning .conclusion-title {
  color: #92400E;
}

.conclusion-text {
  font-size: 0.875rem;
  color: #7C2D92;
  line-height: 1.6;
  margin: 0;
}

.root-cause-box {
  background: #FFF7ED;
  border-left: 4px solid #EA580C;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 0.5rem 0;
}

.root-cause-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #C2410C;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.root-cause-text {
  font-size: 0.875rem;
  color: #7C2D12;
  line-height: 1.6;
  margin: 0;
}

/* Special Note Card: Kepuasan Pasien */
.satisfaction-note-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-left: 6px solid #0284C7;
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 4px 12px rgba(124, 45, 146, 0.04);
}

.satisfaction-note-card .note-icon {
  font-size: 2.25rem;
  color: #0284C7;
  flex-shrink: 0;
}

.note-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #7C2D92;
  margin: 0 0 0.75rem 0;
}

.note-desc {
  font-size: 0.925rem;
  color: #404040;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.note-channels {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #404040;
  background: #F8FAFC;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
}

.note-channels strong {
  color: #7C2D92;
  margin-bottom: 0.25rem;
}

/* Official KMKP Validation Card */
.validation-signoff-card {
  background: #FFFFFF;
  border: 2px solid #E0E0E0;
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 2.5rem;
  box-shadow: 0 4px 16px rgba(124, 45, 146, 0.04);
}

.signoff-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #EDEDED;
  margin-bottom: 2rem;
}

.signoff-title-wrap h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #7C2D92;
  margin: 0 0 0.25rem 0;
}

.signoff-title-wrap p {
  font-size: 0.85rem;
  color: #757575;
  margin: 0;
}

.signoff-signatures {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.signature-box {
  background: #FAFAFA;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.sig-role {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #757575;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.sig-stamp {
  margin: 1.25rem 0;
  display: flex;
  justify-content: center;
}

.stamp-pill {
  display: inline-block;
  border: 2px dashed #0284C7;
  color: #0284C7;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 6px;
  transform: rotate(-2deg);
}

.stamp-pill.verified {
  border-color: #10B981;
  color: #059669;
  transform: rotate(2deg);
}

.sig-name {
  display: block;
  font-size: 1rem;
  color: #7C2D92;
  margin-bottom: 0.25rem;
}

.sig-title {
  display: block;
  font-size: 0.8rem;
  color: #757575;
}

.signoff-footer {
  padding-top: 1.25rem;
  border-top: 1px solid #EDEDED;
  font-size: 0.8rem;
  color: #757575;
  line-height: 1.6;
  text-align: center;
}

/* Bottom Nav */
.mutu-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E0E0E0;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #7C2D92;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

.btn-back-home:hover {
  color: #0284C7;
}

.mutu-help-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #404040;
}

/* Kenak Medika Signature Floating Assistant */
.km-floating-assistant {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.km-assistant-trigger {
  background: #7C2D92;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(124, 45, 146, 0.35);
  transition: all 0.25s ease;
}

.km-assistant-trigger:hover {
  background: #6B21A8;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(124, 45, 146, 0.45);
}

.km-assistant-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  width: 300px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: kmPopIn 0.2s ease-out;
}

.km-assistant-menu.active {
  display: flex;
}

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

.km-assistant-header {
  padding: 14px 18px;
  background: #F8FAFC;
  border-bottom: 1px solid #E0E0E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.km-assistant-header strong {
  color: #7C2D92;
  font-size: 0.95rem;
}

.km-assistant-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #757575;
  cursor: pointer;
}

.km-assistant-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.km-chat-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  text-decoration: none;
  color: #0A0A0A;
  transition: all 0.2s ease;
}

.km-chat-option:hover {
  background: #FAF5FF;
  border-color: #0284C7;
}

.km-chat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.km-chat-icon.wa {
  background: #DCFCE7;
  color: #15803D;
}

.km-chat-icon.em {
  background: #FEE2E2;
  color: #DC2626;
}

.km-chat-option div strong {
  display: block;
  font-size: 0.85rem;
  color: #7C2D92;
}

.km-chat-option div small {
  display: block;
  font-size: 0.725rem;
  color: #757575;
}

/* Lightbox Modal */
.chart-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(124, 45, 146, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 1.5rem;
}

.chart-modal-backdrop.active {
  display: flex;
}

.chart-modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.chart-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #F1F5F9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: all 0.2s ease;
  z-index: 10;
}

.chart-modal-close:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.chart-modal-body {
  padding: 2.5rem;
  text-align: center;
}

.chart-modal-body img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.chart-modal-caption {
  font-size: 0.95rem;
  font-weight: 700;
  color: #7C2D92;
  margin: 0;
}

/* ==========================================================================
   PRINT STYLESHEET (@media print)
   ========================================================================== */
@media print {
  .topbar,
  .site-header,
  .mobile-drawer,
  .mobile-drawer-backdrop,
  .mutu-actions,
  .mutu-filter-bar,
  .btn-chart-zoom,
  .mutu-bottom-nav,
  .floating-actions,
  .km-floating-assistant,
  .site-footer,
  .chart-modal-backdrop {
    display: none !important;
  }

  body {
    background: #FFF !important;
    color: #000 !important;
    font-size: 11pt;
  }

  .mutu-hero {
    background: none !important;
    color: #000 !important;
    padding: 1rem 0 !important;
    border-bottom: 2px solid #000;
  }

  .mutu-hero-title {
    color: #000 !important;
    font-size: 18pt !important;
  }

  .mutu-hero-subtitle {
    color: #333 !important;
    font-size: 10pt !important;
  }

  .mutu-meta-row {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .mutu-meta-item {
    border: 1px solid #CCC !important;
    background: none !important;
    color: #000 !important;
  }

  .mutu-meta-item strong {
    color: #000 !important;
  }

  .mutu-main-wrap {
    background: #FFF !important;
    padding: 1rem 0 !important;
  }

  .summary-card {
    border: 1px solid #999 !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  .summary-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .indicator-card {
    border: 1px solid #CCC !important;
    box-shadow: none !important;
    margin-bottom: 1.5rem !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .indicator-body-grid {
    grid-template-columns: 320px 1fr !important;
  }

  .validation-signoff-card {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR INDIKATOR MUTU
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .indicator-body-grid {
    grid-template-columns: 1fr;
  }
  .chart-visual-box {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .mutu-hero {
    padding: 2.5rem 0;
  }
  .mutu-hero-title {
    font-size: 1.75rem;
  }
  .mutu-meta-row {
    grid-template-columns: 1fr 1fr;
  }
  .summary-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .indicator-card {
    padding: 1.5rem;
  }
  .signoff-signatures {
    grid-template-columns: 1fr;
  }
  .mutu-bottom-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .mutu-meta-row {
    grid-template-columns: 1fr;
  }
  .indicator-metrics-strip {
    grid-template-columns: 1fr;
  }
  .filter-tabs {
    width: 100%;
  }
  .filter-tab {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
  }
}

/* ==========================================================================
   RSU PREMAGANA LOGO PALETTE & MULTI-LEVEL DROPDOWN ENHANCEMENTS
   ========================================================================== */
/* Desktop Navigation Active Indicators */
.nav-link:hover, .nav-link.active, .nav-link.active-parent {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #D679EF, #37B7FE);
  transition: width 0.25s ease;
  border-radius: var(--radius-full);
}

.nav-link:hover::after, .nav-link.active::after, .active-parent .nav-link::after {
  width: 100%;
}

/* Multi-level Dropdown Menu (Desktop) */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(124, 45, 146, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #F3E8FF;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
}

.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown-item:hover, .dropdown-item.active {
  background: #FAF5FF;
  color: var(--primary);
  transform: translateX(3px);
}

/* Level 2 Nested Flyout Menu */
.has-nested-dropdown {
  position: relative;
}

.dropdown-toggle-nested {
  cursor: pointer;
  width: 100%;
}

.nested-arrow {
  font-size: 0.8rem;
  color: #9333EA;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.nested-dropdown-menu {
  position: absolute;
  top: -4px;
  left: 100%;
  min-width: 230px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(124, 45, 146, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #F3E8FF;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.22s ease;
  z-index: 1001;
  list-style: none;
  margin: 0;
}

.has-nested-dropdown:hover > .nested-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.has-nested-dropdown:hover .nested-arrow {
  transform: translateX(2px);
  color: #D679EF;
}

/* Mobile Drawer Accordions (Level 1 & Level 2) */
.drawer-has-sub {
  width: 100%;
}

.drawer-sub-toggle, .drawer-nested-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(243, 232, 255, 0.9);
  cursor: pointer;
  text-align: left;
}

.drawer-nested-toggle {
  padding: 0.55rem 0.5rem;
  font-size: 0.88rem;
  color: #475569;
  border-bottom: 1px dashed rgba(233, 213, 255, 0.8);
}

.drawer-sub-menu {
  display: none;
  padding: 0.4rem 0 0.4rem 1rem;
  background: #FAF5FF;
  border-radius: var(--radius-md);
  margin: 0.35rem 0;
  border-left: 3px solid #D679EF;
}

.drawer-sub-menu.open {
  display: block;
}

.drawer-nested-menu {
  display: none;
  padding: 0.3rem 0 0.3rem 0.85rem;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  margin: 0.25rem 0;
  border-left: 2px solid #37B7FE;
}

.drawer-nested-menu.open {
  display: block;
}

.drawer-nested-item {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
  text-decoration: none;
}

.drawer-nested-item:hover, .drawer-nested-item.active {
  color: var(--primary);
  font-weight: 700;
}
/* ==========================================================================
   PAGE TEMPLATES UNIVERSAL STYLING (RSU PREMAGANA BALI BRAND SYSTEM)
   ========================================================================== */

/* Universal Page Hero */
.page-hero {
  background: linear-gradient(135deg, #4A154B 0%, #7C2D92 45%, #0284C7 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(214, 121, 239, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.page-breadcrumbs a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-breadcrumbs a:hover {
  color: #37B7FE;
}

.page-breadcrumbs .sep {
  opacity: 0.5;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 850px;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.page-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* Main Page Container & Layout */
.page-main-wrap {
  padding: 3.5rem 0;
  background: #FFFFFF;
}

.page-grid-2col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

@media screen and (max-width: 992px) {
  .page-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Service Featured Media */
.service-featured-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(124, 45, 146, 0.12);
  margin-bottom: 2.5rem;
  border: 1px solid #F3E8FF;
  position: relative;
}

.service-featured-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.service-badge-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(124, 45, 146, 0.9);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
}

/* Service Content Blocks */
.service-block {
  margin-bottom: 2.5rem;
}

.service-block-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.service-block-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #D679EF, #37B7FE);
  border-radius: var(--radius-full);
}

.service-lead-text {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 1.5rem;
}

/* Feature Cards Grid */
.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.service-feat-card {
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  transition: all 0.25s ease;
}

.service-feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 45, 146, 0.12);
  border-color: #D679EF;
}

.service-feat-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
  display: inline-block;
}

.service-feat-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.service-feat-card p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
}

/* Doctor / Team Cards */
.doctor-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.doc-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  min-width: 0;
  overflow: hidden;
}

.doc-card:hover {
  border-color: #D679EF;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(124, 45, 146, 0.1);
}

.doc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #F3E8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.doc-info {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.doc-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0 0 0.25rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.doc-info span {
  font-size: 0.82rem;
  color: #0284C7;
  font-weight: 600;
  display: block;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.doc-info small {
  font-size: 0.78rem;
  color: #64748B;
  display: block;
  margin-top: 0.25rem;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Sidebar Widgets */
.sidebar-sticky-wrap {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget-card {
  background: #FFFFFF;
  border: 1px solid #F3E8FF;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(124, 45, 146, 0.08);
}

.sidebar-widget-card.cta-purple {
  background: linear-gradient(145deg, #7C2D92 0%, #581C87 100%);
  color: #FFFFFF;
  border: none;
}

.sidebar-widget-card.cta-purple h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.sidebar-widget-card.cta-purple p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.sidebar-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
}

.sidebar-menu-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.sidebar-menu-item a:hover, .sidebar-menu-item.active a {
  background: #FAF5FF;
  color: var(--primary);
  font-weight: 700;
  transform: translateX(3px);
}

/* Patient Info & Rules Styling */
.visiting-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.vh-card {
  background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%);
  border: 1.5px solid #D679EF;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.vh-card .vh-time {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
}

.rule-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.rule-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.rule-item-card .rule-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Patient Rights Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.right-card {
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.right-number {
  background: var(--primary);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.right-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
}

/* Flowchart Visual Display */
.flowchart-wrap {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.flowchart-wrap img {
  max-height: 580px;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.flowchart-wrap img:hover {
  transform: scale(1.01);
}

/* Contact Page Cards */
.contact-hero-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-card-item {
  background: #FFFFFF;
  border: 1px solid #F3E8FF;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(124, 45, 146, 0.08);
  transition: all 0.25s ease;
}

.contact-card-item:hover {
  transform: translateY(-4px);
  border-color: #D679EF;
  box-shadow: 0 12px 30px rgba(124, 45, 146, 0.15);
}

.contact-card-item .c-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FAF5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}

.contact-card-item h4 {
  font-size: 1.15rem;
  color: #0F172A;
  margin-bottom: 0.35rem;
}

.contact-card-item .c-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin: 0.5rem 0;
}

.contact-card-item.emergency-card {
  border-color: rgba(220, 38, 38, 0.3);
  background: #FEF2F2;
}

.contact-card-item.emergency-card .c-val {
  color: #DC2626;
}

/* Map Frame */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-md);
  height: 380px;
  margin-top: 1.5rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   DOCTOR SCHEDULE MATRIX & CONTROLS (SEPTEMBER 2026)
   ========================================================================== */
#doctorSearchInput:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(124, 45, 146, 0.15);
}

.view-switch-btn:hover {
  opacity: 0.9;
}

.doc-matrix-table th {
  letter-spacing: 0.5px;
  font-weight: 700;
}

.doc-matrix-table tbody tr.table-doc-row:hover {
  background: #F1F5F9 !important;
}

.doc-matrix-table td {
  border-right: 1px solid #F1F5F9;
}

.doc-matrix-table td:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .doctor-controls-wrap {
    flex-direction: column;
    align-items: stretch !important;
  }
  .doctor-search-box {
    max-width: 100% !important;
  }
  .doctor-view-switch {
    width: 100%;
    display: flex !important;
  }
  .doctor-view-switch .view-switch-btn {
    flex: 1;
    text-align: center;
  }
}

/* Sidebar CTA White Button */
.sidebar-cta-btn-white {
  background: #FFFFFF !important;
  color: #7C2D92 !important;
  font-weight: 700 !important;
  width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.25s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.sidebar-cta-btn-white:hover {
  background: #F8FAFC !important;
  color: #581C87 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Page Intro Banner Image */
.page-intro-banner-wrap {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
}
.page-intro-banner-wrap img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

