/* ==========================================================================
   National Medical Center - Production Modern Stylesheet
   Clean, Accessible, Mobile-First Architecture (WCAG 2.1 AA Compliant)
   ========================================================================== */

/* --- CSS Custom Properties & Design Tokens --- */
:root {
  /* Brand Palette */
  --primary: #00667e;
  --primary-dark: #004d5f;
  --primary-light: #e6f4f8;
  --primary-hover: #007d9a;
  
  --secondary: #00a896;
  --secondary-dark: #028090;
  --secondary-light: #e0f7f5;
  
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fef3c7;
  
  --emergency: #e11d48;
  --emergency-bg: #ffe4e6;
  --success: #059669;
  --success-bg: #d1fae5;
  
  /* Neutral Palette */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-body: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-focus: #00667e;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Fluid Spacing & Sizing */
  --container-max: 1240px;
  --header-height: 80px;
  --topbar-height: 42px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ensure images never cause overflow */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* Accessible focus visible rings */
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section-bg-alt {
  background-color: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.kicker {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.kicker.emergency {
  color: var(--emergency);
  background-color: var(--emergency-bg);
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-muted);
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  min-height: 48px;
  min-width: 48px;
  text-align: center;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 102, 126, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 126, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.25);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--accent);
  color: #0f172a;
  font-weight: 700;
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--bg-surface);
  transform: translateY(-2px);
}

.btn-emergency {
  background-color: var(--emergency);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.btn-emergency:hover {
  background-color: #be123c;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

/* --- Top Utility Bar --- */
.top-bar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  padding-block: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.top-bar-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.badge-247 {
  background: var(--emergency);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  letter-spacing: 0.02em;
}

/* --- Sticky Header & Navigation --- */
/* The header MUST be a direct child of body and stay pinned at every scroll position */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

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

/* Brand Logo is the Home link */
.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  min-height: 48px;
}

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

/* Desktop Nav Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  min-height: 48px;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone-btn {
  display: none;
}

@media (min-width: 640px) {
  .header-phone-btn {
    display: inline-flex;
  }
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.hamburger-icon {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 360px);
  background-color: var(--bg-card);
  z-index: 1060;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

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

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

.mobile-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.mobile-nav-list {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-md);
  min-height: 48px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 1.5rem 1.25rem;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #f0fdfa 0%, #e6f4f8 50%, #ffffff 100%);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

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

.hero-content {
  min-width: 0;
}

.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.stars-gold {
  color: #f59e0b;
  display: inline-flex;
  gap: 2px;
}

.hero-h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-h1 span.highlight {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 580px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

.pill-item svg {
  color: var(--secondary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

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

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
  background-color: #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 650 / 551;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: 280px;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.floating-text span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Stats Bar --- */
.stats-bar {
  background-color: #ffffff;
  padding-block: 2rem;
  border-bottom: 1px solid var(--border-color);
}

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

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

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Value Pillars ("Why Us") --- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.pillar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.pillar-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-light);
  background: var(--primary-light);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.service-icon-box img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features-list {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-features-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-features-list li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 700;
}

.service-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.service-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* --- Promotional Offers Banner --- */
.promo-banner {
  background: linear-gradient(135deg, #004d5f 0%, #00667e 60%, #00a896 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-xl);
  margin-block: 2rem;
  position: relative;
  overflow: hidden;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .promo-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.promo-tag {
  display: inline-block;
  background-color: var(--accent);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.promo-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.promo-desc {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.promo-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.promo-item-card {
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.promo-item-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.promo-item-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.promo-item-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 0.25rem;
}

.promo-item-regular {
  font-size: 0.78rem;
  opacity: 0.75;
  text-decoration: line-through;
  margin-bottom: 0.75rem;
}

/* --- About & Feature Split Sections --- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 992px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.split-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.split-image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 650 / 551;
  object-fit: cover;
}

.feature-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.feature-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-check-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 2px;
}

/* --- Doctors Showcase Grid --- */
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

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

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

.doctor-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.doctor-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 257 / 334;
  background-color: var(--bg-surface);
  overflow: hidden;
}

.doctor-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-photo-wrapper img {
  transform: scale(1.03);
}

.doctor-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}

.doctor-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.doctor-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.doctor-bio {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.doctor-card-footer {
  margin-top: auto;
}

/* --- Gallery & Before/After Showcase --- */
.gallery-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  min-height: 48px;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.gallery-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-image-box {
  width: 100%;
  aspect-ratio: 420 / 406;
  background-color: var(--bg-surface);
  overflow: hidden;
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image-box img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 1.25rem;
}

.gallery-caption-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.gallery-caption-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- FAQ Accordion Section (Fixing Critical Audit Defect) --- */
.faq-container {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--primary);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  min-height: 48px;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  border-top: 1px solid var(--bg-surface);
}

.faq-content.open {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Verified Reviews Section --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.review-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.google-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e40af;
  background-color: #dbeafe;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.reviewer-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Forms & Accessible Inputs --- */
.form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-label span.req {
  color: var(--emergency);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 102, 126, 0.15);
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.form-feedback.success {
  display: block;
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block;
  background-color: var(--emergency-bg);
  color: var(--emergency);
  border: 1px solid #fecdd3;
}

/* --- Location & Map Card --- */
.location-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .location-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.map-embed-wrapper {
  width: 100%;
  min-height: 340px;
  height: 100%;
  background-color: var(--bg-alt);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.location-details {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background-color: var(--bg-surface);
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.location-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.location-info p, .location-info a {
  font-size: 0.875rem;
  color: var(--text-body);
}

.location-info a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
  background-color: #0b1a28;
  color: #cbd5e1;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

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

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  max-width: 220px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  position: relative;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--secondary);
  margin-top: 0.5rem;
  border-radius: var(--radius-full);
}

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

.footer-link {
  font-size: 0.875rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--secondary);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #64748b;
}

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

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid #ffffff;
  z-index: 990;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

/* --- Booking Modal Dialog --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: var(--bg-alt);
}

.modal-body {
  padding: 1.5rem;
}

/* --- Floating WhatsApp Quick Action Button --- */
.floating-whatsapp {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid #ffffff;
  z-index: 980;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* --- Print Styles --- */
@media print {
  .site-header, .top-bar, .site-footer, .back-to-top, .floating-whatsapp, .modal-backdrop {
    display: none !important;
  }
  body {
    color: #000000;
    background: #ffffff;
  }
}
