/* ==========================================================================
   VAANI HOSPITAL — PREMIUM DESIGN SYSTEM & STYLESHEET
   Brand Theme: Warm Tan / Cream / Earthy Neutrals with Logo Accents
   ========================================================================== */

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

:root {
  /* Warm Tan & Cream Background Palette */
  --bg-base: #FAF7F2;
  --bg-warm-tint: #F5EFEB;
  --bg-sand: #EFE8DE;
  --bg-cream-card: #FFFFFF;
  --bg-dark-slate: #161514;
  --bg-dark-surface: #23201E;

  /* Typography Colors */
  --text-main: #231F1E;
  --text-heading: #181514;
  --text-muted: #5C5551;
  --text-subtle: #847B76;
  --text-inverse: #FAF7F2;

  /* Brand Accents (Derived from Official Logo) */
  --brand-blue: #0D65A8;         /* Logo Tamil Typography Blue */
  --brand-blue-hover: #094F85;
  --brand-blue-subtle: #EBF4FB;
  --brand-blue-border: #BCD9F2;

  --brand-terracotta: #A5351A;   /* Logo "Mother's Care" Rust */
  --brand-terracotta-hover: #8C2C15;
  --brand-terracotta-subtle: #FBF0ED;
  --brand-terracotta-border: #F3CFC5;

  --brand-gold: #B87B28;
  --brand-gold-subtle: #FBF5EA;
  --brand-green: #2B7A58;
  --brand-green-subtle: #EEF7F2;

  /* Borders & Dividers */
  --border-subtle: #E8DFD5;
  --border-medium: #D8CCC0;
  --border-dark: #36312E;

  /* Shadows & Elevation */
  --shadow-xs: 0 2px 6px rgba(35, 31, 30, 0.04);
  --shadow-sm: 0 4px 14px rgba(35, 31, 30, 0.06);
  --shadow-md: 0 10px 28px -4px rgba(35, 31, 30, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(35, 31, 30, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1320px;
  --header-height: 84px;
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

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

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

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.container-narrow {
  max-width: 960px;
}

/* Section Spacing */
.section {
  padding: 96px 0;
  position: relative;
}

.section-sm {
  padding: 64px 0;
}

.section-lg {
  padding: 120px 0;
}

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

.bg-warm {
  background-color: var(--bg-warm-tint);
}

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

.bg-surface {
  background-color: var(--bg-cream-card);
}

.bg-dark {
  background-color: var(--bg-dark-slate);
  color: var(--text-inverse);
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.highlight-blue {
  color: var(--brand-blue);
}

.highlight-rust {
  color: var(--brand-terracotta);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: #FFFFFF;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  margin-bottom: 12px;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.bg-dark p {
  color: #D6CEC8;
}

/* Badges & Chapter Demarcations */
.chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  color: var(--brand-blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.chapter-badge.terracotta {
  background-color: var(--brand-terracotta-subtle);
  border-color: var(--brand-terracotta-border);
  color: var(--brand-terracotta);
}

.chapter-badge.gold {
  background-color: var(--brand-gold-subtle);
  border-color: #EED7B0;
  color: var(--brand-gold);
}

.chapter-badge.dark {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background-color: var(--brand-terracotta);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(165, 53, 26, 0.25);
}

.btn-primary:hover {
  background-color: var(--brand-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(165, 53, 26, 0.35);
}

.btn-blue {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(13, 101, 168, 0.25);
}

.btn-blue:hover {
  background-color: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 101, 168, 0.35);
}

.btn-secondary {
  background-color: var(--bg-cream-card);
  color: var(--text-heading);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--bg-warm-tint);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.08rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-pulse {
  position: relative;
}

.btn-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: var(--brand-terracotta);
  opacity: 0.35;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 0; }
  100% { transform: scale(1.08); opacity: 0; }
}

/* ==========================================================================
   TOP NOTIFICATION BAR & STICKY HEADER
   ========================================================================== */
.topbar {
  background-color: #1A1716;
  color: #D6CEC8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  gap: 20px;
}

.topbar-left, 
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.topbar-left { justify-content: flex-start; }
.topbar-right { justify-content: flex-end; }

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D6CEC8;
  line-height: 1;
  white-space: nowrap;
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #B5ACA5;
}

.topbar-link {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar-link:hover {
  color: #F5EFEB;
  text-decoration: underline;
}

.topbar-sep {
  color: #7D746E;
  margin: 0 2px;
}

.topbar-badge {
  background-color: var(--brand-terracotta);
  color: #FFFFFF;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0 9px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(35, 31, 30, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 36px;
  position: relative;
}

/* Official Logo Display Container (Pure Standalone Logo on Left) */
.brand-logo-container {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo-container:hover .brand-logo-img {
  transform: scale(1.03);
}

/* Navigation Links (Evenly Spaced in the Center) */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  flex: 1;
  margin: 0;
  height: 100%;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 2px;
  position: relative;
  line-height: 1;
  white-space: nowrap !important;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-link.active {
  color: var(--brand-blue);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--brand-blue);
  border-radius: var(--radius-full);
}

/* Header Emergency Action (Far Right of Navbar) */
.header-cta-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
}

.emergency-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--brand-terracotta);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(165, 53, 26, 0.25);
  transition: var(--transition-smooth);
  line-height: 1;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.emergency-header-btn:hover {
  background-color: var(--brand-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(165, 53, 26, 0.35);
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background-color: var(--bg-warm-tint);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  color: var(--text-heading);
  box-sizing: border-box;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Off-Canvas Navigation Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 18, 16, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

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

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

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

.close-drawer-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-warm-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-main);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--bg-warm-tint);
  color: var(--brand-blue);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   HOMEPAGE & HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-warm-tint) 100%);
  padding: 52px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  margin-bottom: 20px;
}

.hero-headline .highlight-blue {
  color: var(--brand-blue);
}

.hero-headline .highlight-rust {
  color: var(--brand-terracotta);
}

.hero-subtext {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-badges-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-medium);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading);
}

.hero-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-cream-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  box-shadow: var(--shadow-xs);
}

.hero-visual {
  position: relative;
}

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

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: #FFFFFF;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  z-index: 3;
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--brand-terracotta-subtle);
  color: var(--brand-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.2;
}

.floating-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   TRUST SECTION / QUICK HIGHLIGHTS (Chapter 2)
   ========================================================================== */
.trust-strip {
  background-color: var(--bg-cream-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 44px 0;
  box-shadow: var(--shadow-xs);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  padding: 16px 20px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.trust-card:last-child {
  border-right: none;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-number.rust {
  color: var(--brand-terracotta);
}

.trust-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
}

.trust-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   CORE CARE PILLARS (Chapter 3)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar-card {
  background-color: var(--bg-cream-card);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.pillar-icon-box.emergency {
  background-color: var(--brand-terracotta-subtle);
  color: var(--brand-terracotta);
  border: 1px solid var(--brand-terracotta-border);
}

.pillar-icon-box.diagnostics {
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.pillar-icon-box.specialist {
  background-color: var(--brand-gold-subtle);
  color: var(--brand-gold);
  border: 1px solid #EBD6B5;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.pillar-link:hover {
  gap: 10px;
  color: var(--brand-blue-hover);
}

/* ==========================================================================
   STORYTELLING & LEADERSHIP SECTION (Chapter 4)
   ========================================================================== */
.story-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-media {
  position: relative;
}

.story-media-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.story-media-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.story-quote-card {
  position: absolute;
  bottom: -24px;
  right: -20px;
  background-color: var(--bg-cream-card);
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  max-width: 320px;
}

.story-quote-text {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--text-heading);
  line-height: 1.5;
}

.story-quote-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.story-content h2 {
  margin-bottom: 20px;
}

.story-lead-para {
  font-size: 1.15rem;
  color: var(--text-main);
  line-height: 1.75;
  margin-bottom: 18px;
}

.story-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0;
}

.story-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.story-bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Doctors & Leadership Cards */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 48px;
}

.doctor-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.doctor-card-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.doctor-avatar-badge {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg-warm-tint) 0%, var(--bg-sand) 100%);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.doctor-avatar-badge.rust {
  color: var(--brand-terracotta);
}

.doctor-info-header h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.doctor-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-blue);
}

.doctor-role.rust {
  color: var(--brand-terracotta);
}

.doctor-focus-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  margin-bottom: 12px;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.doctor-tag {
  background-color: var(--bg-warm-tint);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.doctor-action-row {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   SPECIALITIES SECTION (Chapter 5)
   ========================================================================== */
.featured-specialities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.featured-spec-card {
  background-color: var(--bg-cream-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.featured-spec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.featured-spec-media {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.featured-spec-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-spec-card:hover .featured-spec-media img {
  transform: scale(1.05);
}

.featured-spec-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
}

.featured-spec-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-spec-body h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.featured-spec-body p {
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.spec-doctor-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue);
  background-color: var(--brand-blue-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-top: auto;
  align-self: flex-start;
}

/* Neurology Showcase Card */
.neurology-showcase {
  background: linear-gradient(135deg, #221F1E 0%, #171514 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.neurology-showcase h3 {
  color: #FFFFFF;
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.neurology-showcase p {
  color: #D6CEC8;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.neuro-conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.neuro-condition-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: #FFFFFF;
}

.neuro-condition-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-blue);
}

.neuro-media-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 16px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  height: 180px;
}

.neuro-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Other Departments Grid */
.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.department-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-smooth);
}

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

.department-card h4 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.department-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   DIAGNOSTIC CENTRE SHOWCASE (Chapter 6)
   ========================================================================== */
.diagnostics-banner-card {
  background-color: var(--bg-cream-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.diag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.diag-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.diag-timing-box {
  background-color: var(--bg-warm-tint);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.timing-day {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
}

.timing-hours {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.timing-closed {
  font-size: 0.86rem;
  color: var(--brand-terracotta);
  font-weight: 600;
}

.diag-services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.diag-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-main);
}

.diag-service-item svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

.diag-media {
  position: relative;
  min-height: 380px;
}

.diag-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   PATIENTS & VISITORS ACCESSIBILITY SECTION
   ========================================================================== */
.access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.access-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.access-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-medium);
}

.access-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--bg-warm-tint);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.35rem;
}

.access-card h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

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

/* Payment & Insurance Guidelines Box */
.payment-info-box {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 36px;
}

.payment-methods-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
}

.payment-badge {
  background-color: var(--bg-warm-tint);
  border: 1px solid var(--border-medium);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
}

.payment-disclaimer {
  font-size: 0.86rem;
  color: var(--text-subtle);
  font-style: italic;
  border-left: 3px solid var(--brand-gold);
  padding-left: 12px;
  margin-top: 14px;
}

/* ==========================================================================
   LOCATION & MAP SECTION (Chapter 6/7)
   ========================================================================== */
.location-card-container {
  background-color: var(--bg-cream-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.location-info-panel {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-address-box {
  margin: 24px 0 32px;
}

.location-address-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.6;
  margin-bottom: 12px;
}

.location-landmarks {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.contact-quick-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
}

.contact-quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--bg-warm-tint);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-wrapper {
  position: relative;
  min-height: 420px;
  background-color: #E5E0DA;
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

/* ==========================================================================
   FINAL CALL TO ACTION BANNER (Chapter 7)
   ========================================================================== */
.final-cta-section {
  background: linear-gradient(135deg, #1C1917 0%, #12100F 100%);
  color: #FFFFFF;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.final-cta-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta-content h2 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}

.final-cta-content p {
  color: #D6CEC8;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: #12100F;
  color: #B5ACA5;
  padding-top: 72px;
  padding-bottom: 32px;
  border-top: 1px solid #282422;
  font-size: 0.92rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-summary {
  margin-top: 18px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #A09790;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: #B5ACA5;
}

.footer-link:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #B5ACA5;
}

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

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom-bar {
  padding-top: 28px;
  border-top: 1px solid #24201E;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: #7D746E;
}

/* ==========================================================================
   PAGE HERO FOR INNER PAGES (About, Specialities, etc.)
   ========================================================================== */
.page-hero {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-warm-tint) 100%);
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--brand-blue);
}

.page-hero-title {
  margin-bottom: 14px;
}

.page-hero-desc {
  max-width: 720px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Timeline Components for About Page */
.timeline-container {
  position: relative;
  max-width: 840px;
  margin: 48px auto 0;
  padding-left: 48px;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Connecting Line: Connects strictly between dots and NEVER hangs past the final dot */
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -31px;
  top: 40px;
  bottom: -40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-blue-border), var(--brand-terracotta-border));
  z-index: 1;
}

.timeline-item:nth-child(2):not(:last-child)::after {
  background: linear-gradient(to bottom, var(--brand-terracotta-border), var(--brand-blue-border));
}

.timeline-item:nth-child(3):not(:last-child)::after {
  background: linear-gradient(to bottom, var(--brand-blue-border), #EED7B0);
}

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(13, 101, 168, 0.15);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-dot-inner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  transition: transform 0.2s ease;
}

.timeline-dot.rust {
  border-color: var(--brand-terracotta-border);
  box-shadow: 0 4px 12px rgba(165, 53, 26, 0.15);
}

.timeline-dot.rust .timeline-dot-inner {
  background-color: var(--brand-terracotta);
}

.timeline-dot.gold {
  border-color: #EED7B0;
  box-shadow: 0 4px 12px rgba(184, 123, 40, 0.18);
}

.timeline-dot.gold .timeline-dot-inner {
  background-color: var(--brand-gold);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.12);
}

.timeline-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(35, 31, 30, 0.04);
  transition: var(--transition-smooth);
  position: relative;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 31, 30, 0.08);
  border-color: var(--border-medium);
}

.timeline-card.highlight-card {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-warm-tint) 100%);
  border-color: rgba(184, 123, 40, 0.35);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  line-height: 1;
}

.timeline-badge.blue {
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.timeline-badge.rust {
  background-color: var(--brand-terracotta-subtle);
  color: var(--brand-terracotta);
  border: 1px solid var(--brand-terracotta-border);
}

.timeline-badge.gold {
  background-color: var(--brand-gold-subtle);
  color: var(--brand-gold);
  border: 1px solid #EED7B0;
}

.timeline-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  line-height: 1.35;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.timeline-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-warm-tint);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 6px;
}

/* Contact Form Components */
.contact-form-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-subtle);
  outline: none;
}

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

/* Category Filter Tabs (Specialities Page) */
.tab-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.tab-btn:hover {
  background-color: var(--bg-warm-tint);
  color: var(--text-heading);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.tab-btn.active {
  background-color: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(13, 101, 168, 0.3);
}

.filterable-dept {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Accordion Component (FAQ / Guidelines) */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.accordion-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-smooth);
}

.accordion-item:hover {
  border-color: var(--border-medium);
}

.accordion-item.open {
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 16px;
}

.accordion-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
  line-height: 1.35;
}

.accordion-item.open .accordion-title {
  color: var(--brand-blue);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-warm-tint);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.accordion-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.28s ease;
}

.accordion-item.open .accordion-icon {
  background-color: var(--brand-blue);
  color: #FFFFFF;
}

.accordion-item.open .accordion-icon svg {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body-inner {
  padding: 0 24px 22px 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.accordion-body-inner p:last-child {
  margin-bottom: 0;
}

/* Custom Smooth Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-warm-tint);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-subtle);
}

/* Floating Bottom Bar on Mobile for Instant Emergency Calling */
.mobile-sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1A1716;
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 990;
  border-top: 1px solid #332D2A;
}

.mobile-action-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image-wrapper img {
    height: 380px;
  }

  .story-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .neurology-showcase {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .location-card-container {
    grid-template-columns: 1fr;
  }

  .map-wrapper {
    min-height: 360px;
  }
}

@media (max-width: 1140px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-card:nth-child(2) {
    border-right: none;
  }

  .trust-card:nth-child(3) {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
  }

  .trust-card:nth-child(4) {
    border-top: 1px solid var(--border-subtle);
    border-right: none;
    padding-top: 24px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .featured-specialities-grid {
    grid-template-columns: 1fr;
  }

  .departments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diag-grid {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 56px 0;
  }

  .section-lg {
    padding: 72px 0;
  }

  .topbar {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
  }

  .trust-card:last-child {
    border-bottom: none;
  }

  .departments-grid {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .neuro-conditions-grid {
    grid-template-columns: 1fr;
  }

  .diag-content {
    padding: 28px 20px;
  }

  .diag-services-list {
    grid-template-columns: 1fr;
  }

  .location-info-panel {
    padding: 32px 20px;
  }

  .doctor-card {
    padding: 24px 20px;
  }

  .featured-spec-body {
    padding: 24px 20px;
  }

  .hero-floating-card {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }

  .hero-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-buttons .btn {
    width: 100%;
  }

  .emergency-header-btn span.call-label {
    display: none;
  }

  .mobile-sticky-action-bar {
    display: block;
  }

  /* Mobile Timeline Adjustments */
  .timeline-container {
    padding-left: 40px;
  }

  .timeline-dot {
    left: -40px;
    top: 20px;
    width: 28px;
    height: 28px;
  }

  .timeline-dot-inner {
    width: 10px;
    height: 10px;
  }

  .timeline-item:not(:last-child)::after {
    left: -27px;
    top: 34px;
    bottom: -34px;
  }

  .timeline-card {
    padding: 20px 18px;
  }

  .timeline-title {
    font-size: 1.12rem;
  }

  body {
    padding-bottom: 64px;
  }
}
