/* ============================================================
   Matrika Hospital — Bootstrap edition
   Brand tokens, animations, and custom components
   ============================================================ */

:root {
  --navy-50:  #e8eef6;
  --navy-100: #d1ddec;
  --navy-200: #a3bad9;
  --navy-300: #7698c6;
  --navy-400: #4f79b4;
  --navy-600: #1d4a8a;
  --navy-700: #153a70;
  --navy-800: #0d2b4e;
  --navy-900: #081a30;
  --mred:     #c41230;
  --mred-dark:#a30f27;
  --mred-50:  #fee2e2;
  --mgreen:   #1a6b3a;
  --mgreen-dark:#134f2a;
  --mgreen-50:#dcfce7;
  --mamber:   #d4660a;
  --mamber-50:#fef3c7;
  --slate-50: #f8fafc;
  --slate-100:#f1f5f9;
  --slate-200:#e2e8f0;
  --slate-300:#cbd5e1;
  --slate-400:#94a3b8;
  --slate-500:#64748b;
  --slate-600:#475569;
  --slate-700:#334155;
  --slate-800:#1e293b;
  --font-heading:'Outfit','Geist',system-ui,sans-serif;
  --font-body:'Geist',system-ui,sans-serif;
  --font-mono:'Geist Mono','JetBrains Mono',ui-monospace,monospace;
  --ease-out:cubic-bezier(0.16,1,0.3,1);
  --ease-spring:cubic-bezier(0.34,1.56,0.64,1);
}

/* ---------- Base ---------- */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--slate-50);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); letter-spacing: -0.025em; color: var(--navy-900); }
a { color: var(--navy-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-900); }
strong { color: var(--navy-800); font-weight: 700; }

/* ---------- DARK MODE — global overrides --------------------
   Bootstrap + inline-style dark fixes. Handles legacy inline
   colors like style="color:var(--slate-500)" etc.           */
body.dark { background: var(--navy-900); color: #e2e8f0; }
body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5, body.dark h6 { color: #fff; }
body.dark strong { color: #fff; }
body.dark a { color: var(--navy-200); }
body.dark a:hover { color: #fff; }
body.dark .bg-white { background: var(--navy-800) !important; color: #e2e8f0; }
body.dark .text-navy-800, body.dark .text-navy-700, body.dark .text-navy-600 { color: #fff !important; }
body.dark .text-slate-500, body.dark .text-slate-600, body.dark .text-slate-700 { color: #cbd5e1 !important; }
body.dark .text-slate-400 { color: #94a3b8 !important; }
body.dark .section-light { background: var(--navy-900) !important; }
body.dark .section-alt   { background: var(--navy-800) !important; }
body.dark .section-title { color: #fff !important; }
body.dark .section-subtitle { color: #cbd5e1 !important; }

/* Inline-style safety net — catch anything that used inline brand vars */
body.dark [style*="color:var(--slate-500)"],
body.dark [style*="color: var(--slate-500)"],
body.dark [style*="color:var(--slate-600)"],
body.dark [style*="color: var(--slate-600)"],
body.dark [style*="color:var(--slate-700)"],
body.dark [style*="color: var(--slate-700)"] { color: #cbd5e1 !important; }
body.dark [style*="color:var(--slate-400)"],
body.dark [style*="color: var(--slate-400)"] { color: #94a3b8 !important; }
body.dark [style*="color:var(--slate-800)"],
body.dark [style*="color: var(--slate-800)"],
body.dark [style*="color:var(--navy-800)"],
body.dark [style*="color: var(--navy-800)"],
body.dark [style*="color:var(--navy-900)"],
body.dark [style*="color: var(--navy-900)"] { color: #fff !important; }
body.dark [style*="color:var(--navy-700)"],
body.dark [style*="color: var(--navy-700)"] { color: #e2e8f0 !important; }
body.dark [style*="color:var(--navy-600)"],
body.dark [style*="color: var(--navy-600)"] { color: var(--navy-200) !important; }
body.dark [style*="background:var(--navy-50)"],
body.dark [style*="background: var(--navy-50)"] { background: rgba(255,255,255,.04) !important; }
body.dark [style*="border:1px solid var(--navy-100)"] { border-color: rgba(255,255,255,.08) !important; }
body.dark [style*="border-top:1px solid var(--slate-100)"],
body.dark [style*="border-top: 1px solid var(--slate-100)"] { border-top-color: rgba(255,255,255,.08) !important; }

/* Utility colors */
.text-navy-800 { color: var(--navy-800); }
.text-navy-700 { color: var(--navy-700); }
.text-navy-600 { color: var(--navy-600); }
.text-mgreen   { color: var(--mgreen); }
.text-mred     { color: var(--mred); }
.text-mamber   { color: var(--mamber); }
.bg-navy-800   { background: var(--navy-800); }
.bg-navy-900   { background: var(--navy-900); }
.bg-navy-50    { background: var(--navy-50); }
.bg-mgreen     { background: var(--mgreen); }
.bg-mred       { background: var(--mred); }

/* Highlight helpers — for important text */
.hl-green {
  background: linear-gradient(transparent 62%, rgba(26,107,58,.22) 62%);
  padding: 0 .1em;
}
.hl-red {
  background: linear-gradient(transparent 62%, rgba(196,18,48,.22) 62%);
  padding: 0 .1em;
  color: var(--mred);
  font-weight: 600;
}
.hl-amber {
  background: linear-gradient(transparent 62%, rgba(212,102,10,.22) 62%);
  padding: 0 .1em;
  color: var(--mamber);
  font-weight: 600;
}
.hl-navy {
  background: var(--navy-50);
  padding: .08em .4em;
  border-radius: .3em;
  color: var(--navy-800);
  font-weight: 600;
}
body.dark .hl-navy { background: rgba(118,152,198,.18); color: #fff; }

/* ---------- Buttons ---------- */
.btn-navy, .btn-emergency, .btn-outline-navy, .btn-green {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: .8rem 1.6rem;
  border-radius: .8rem;
  transition: all .3s var(--ease-out);
  border: 0;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(13,43,78,.5); }
.btn-navy:active{ transform: scale(.98); }
.btn-emergency { background: var(--mred); color: #fff; }
.btn-emergency:hover { background: var(--mred-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(196,18,48,.45); }
.btn-outline-navy { background: transparent; color: var(--navy-800); border: 1px solid var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
body.dark .btn-outline-navy { color: #fff; border-color: rgba(255,255,255,.3); }
body.dark .btn-outline-navy:hover { background: #fff; color: var(--navy-800); }
.btn-green { background: var(--mgreen); color: #fff; }
.btn-green:hover { background: var(--mgreen-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(26,107,58,.45); }

/* ---------- Emergency bar ---------- */
.emergency-bar {
  background: var(--mred);
  color: #fff;
  font-size: .82rem;
  padding: .45rem 0;
  font-weight: 500;
}
.emergency-bar a { color: #fff; font-weight: 600; }
.emergency-bar a:hover { color: #fff; text-decoration: underline; }
.emergency-bar strong { color: #fff; }

/* ---------- Navbar ---------- */
.navbar-matrika {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(13,43,78,0.06);
  position: sticky;
  top: 0;
  z-index: 900;
  transition: all .3s var(--ease-out);
}
body.dark .navbar-matrika { background: rgba(13,43,78,0.9); border-bottom-color: rgba(255,255,255,.08); }
.navbar-matrika .brand {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-heading); font-weight: 800;
  color: var(--navy-800);
}
body.dark .navbar-matrika .brand { color: #fff; }
body.dark .navbar-matrika .brand small { color: rgba(255,255,255,.65) !important; }
.navbar-matrika .brand .logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px rgba(13,43,78,.1);
  overflow: hidden;
}
.navbar-matrika .brand .logo img { width:100%; height:100%; object-fit: cover; }
.navbar-matrika .nav-link {
  color: var(--navy-700);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem 1rem;
  position: relative;
  transition: color .2s;
}
body.dark .navbar-matrika .nav-link { color: #cbd5e1; }
.navbar-matrika .nav-link:hover { color: var(--navy-900); }
body.dark .navbar-matrika .nav-link:hover { color: #fff; }
.navbar-matrika .nav-link.active { color: var(--navy-900); }
.navbar-matrika .nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 1rem; right: 1rem; height: 2px;
  background: var(--navy-800); border-radius: 2px;
}
body.dark .navbar-matrika .nav-link.active { color: #fff; }
body.dark .navbar-matrika .nav-link.active::after { background: var(--navy-300); }

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(13,43,78,.1);
  background: transparent;
  color: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.theme-toggle:hover { background: var(--navy-50); }
body.dark .theme-toggle { color: #fff; border-color: rgba(255,255,255,.2); }
body.dark .theme-toggle:hover { background: rgba(255,255,255,.08); }

/* Mobile nav */
.offcanvas-body ul li a { color: var(--navy-800) !important; font-family: var(--font-heading); font-weight: 500; }
body.dark .offcanvas { background: var(--navy-900); color: #fff; }
body.dark .offcanvas-body ul li a { color: #fff !important; }
body.dark .offcanvas-header { border-bottom-color: rgba(255,255,255,.1); }
body.dark .btn-close { filter: invert(1); }

/* ---------- Hero ---------- */
.hero {
  background: #fff;
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
}
body.dark .hero { background: var(--navy-900); }
.hero .dot-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,43,78,.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
body.dark .hero .dot-pattern {
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  color: var(--navy-600);
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: .35rem 1rem;
  border-radius: 999px;
  letter-spacing: .02em;
}
body.dark .hero-badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--navy-200); }
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mgreen);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--navy-900);
  font-size: clamp(2.4rem, 5vw, 4rem);
}
body.dark .hero h1 { color: #fff; }
.hero h1 .accent { color: var(--navy-600); }
body.dark .hero h1 .accent { color: var(--navy-300); }

/* Heartbeat SVG */
.heartbeat-line {
  stroke-dasharray: 400;
  animation: heartbeat-draw 2.4s ease-in-out infinite;
}
@keyframes heartbeat-draw {
  0%   { stroke-dashoffset: 400; }
  60%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -400; }
}

/* Hero right-side visual panel + rotating cross */
.hero-visual {
  position: relative;
  height: 600px;
  perspective: 900px;
}
.hero-panel {
  position: absolute; inset: 2rem;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(13,43,78,.45);
  transform-style: preserve-3d;
  transition: transform .3s var(--ease-out);
}
.hero-panel .gradient-fade {
  position: absolute; left:0; right:0; bottom:0; height: 66%;
  background: linear-gradient(to top, rgba(8,26,48,.85), transparent);
}
.medical-cross-3d {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  animation: rotateCross 24s linear infinite;
  transform-style: preserve-3d;
  will-change: transform;
  opacity: .12;
  pointer-events: none;
}
@keyframes rotateCross {
  0%   { transform: perspective(900px) rotateY(0deg) rotateX(12deg); }
  100% { transform: perspective(900px) rotateY(360deg) rotateX(12deg); }
}

/* Glass cards (floating panels on hero) */
.glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 24px rgba(0,0,0,0.12);
  border-radius: 1rem;
  color: #fff;
}
.glass-light {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 24px rgba(13,43,78,0.08);
  border-radius: 1rem;
}
body.dark .glass-light {
  background: rgba(13,43,78,.75);
  border-color: rgba(255,255,255,.12);
  color: #fff;
}
body.dark .glass-light * { color: #fff !important; }

.float-card {
  position: absolute; z-index: 3;
  animation: floatY 5s ease-in-out infinite;
}
.float-card.reverse { animation-direction: reverse; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(196,18,48,.12), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(26,107,58,.12), transparent 50%);
  pointer-events: none;
}
.stat-item { position: relative; }
.stat-item .value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.stat-item .label {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  margin-top: .4rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section-light { background: var(--slate-50); }
.section-alt   { background: #fff; }
.section-padding { padding: 5rem 0; }
.section-eyebrow {
  font-size: .7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-400);
  letter-spacing: .18em;
}
body.dark .section-eyebrow { color: var(--navy-300); }
.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy-800);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: .5rem 0 1rem;
}
body.dark .section-title { color: #fff; }
.section-subtitle {
  color: var(--slate-500);
  font-size: 1rem;
  max-width: 60ch;
}
body.dark .section-subtitle { color: #cbd5e1; }

/* ---------- Cards (with 3D tilt) ---------- */
.card-mat, .dept-card, .trust-card, .doctor-list-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.card-mat {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.8rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 2px 8px rgba(13,43,78,0.04);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  height: 100%;
}
.card-mat:hover {
  box-shadow: 0 24px 44px -14px rgba(13,43,78,0.22);
  border-color: var(--navy-100);
}
body.dark .card-mat { background: var(--navy-800); border-color: rgba(255,255,255,.08); color: #e2e8f0; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform .4s var(--ease-spring);
}
.card-mat:hover .card-icon, .dept-card:hover .card-icon, .trust-card:hover .card-icon {
  transform: rotateY(15deg) scale(1.08);
}
.card-icon.red    { background: var(--mred-50); color: var(--mred); box-shadow: 0 6px 16px -8px rgba(196,18,48,.4); }
.card-icon.navy   { background: var(--navy-50); color: var(--navy-700); box-shadow: 0 6px 16px -8px rgba(13,43,78,.3); }
.card-icon.amber  { background: var(--mamber-50); color: var(--mamber); box-shadow: 0 6px 16px -8px rgba(212,102,10,.4); }
.card-icon.green  { background: var(--mgreen-50); color: var(--mgreen); box-shadow: 0 6px 16px -8px rgba(26,107,58,.4); }
body.dark .card-icon.red { background: rgba(196,18,48,.2); }
body.dark .card-icon.navy { background: rgba(118,152,198,.2); color: #fff; }
body.dark .card-icon.amber { background: rgba(212,102,10,.2); }
body.dark .card-icon.green { background: rgba(26,107,58,.25); color: #6ee7b7; }

.card-mat h5 {
  font-weight: 700;
  color: var(--navy-800);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}
body.dark .card-mat h5 { color: #fff; }
.card-mat p { color: var(--slate-500); font-size: .9rem; line-height: 1.5; margin-bottom: 0; }
body.dark .card-mat p { color: #cbd5e1; }

/* ---------- Doctor carousel (3D coverflow) ---------- */
.doctor-stage {
  position: relative;
  height: 520px;
  perspective: 1600px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
}
.doctor-card {
  position: absolute;
  width: 300px;
  border-radius: 2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--slate-100);
  box-shadow: 0 30px 60px -20px rgba(13,43,78,0.35);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out), filter 0.8s var(--ease-out);
  top: 0;
  left: 50%;
  cursor: pointer;
  margin-left: -150px;
}
body.dark .doctor-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.doctor-card .photo-wrap {
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--navy-50), var(--slate-100));
  position: relative;
  overflow: hidden;
}
body.dark .doctor-card .photo-wrap { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); }
.doctor-card img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}
.doctor-card .dept-pill {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .65rem;
  font-weight: 700;
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: inline-flex; align-items: center; gap: .35rem;
}
body.dark .doctor-card .dept-pill { background: rgba(13,43,78,.9); color: #fff; }
.doctor-card .body { padding: 1rem; }
.doctor-card .body .name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-800);
  font-size: .92rem;
  letter-spacing: -0.01em;
  margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.dark .doctor-card .body .name { color: #fff; }
.doctor-card .body .desig {
  color: var(--mgreen);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .72rem;
  margin-top: .25rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.dark .doctor-card .body .desig { color: #6ee7b7; }

.doctor-stage .ground-shadow {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 520px; height: 24px;
  background: rgba(13,43,78,0.1);
  filter: blur(20px);
  border-radius: 50%;
  pointer-events: none;
}
body.dark .doctor-stage .ground-shadow { background: rgba(0,0,0,.4); }

.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2rem;
}
.nav-round {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--slate-200);
  color: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
  cursor: pointer;
}
.nav-round:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
body.dark .nav-round { background: var(--navy-800); border-color: rgba(255,255,255,.1); color: #fff; }
body.dark .nav-round:hover { background: var(--navy-700); }
.carousel-dots { display: flex; align-items: center; gap: .5rem; }
.carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--slate-300);
  border: 0;
  padding: 0;
  transition: all .3s var(--ease-out);
  cursor: pointer;
}
.carousel-dots .dot.active { width: 28px; background: var(--navy-800); }
body.dark .carousel-dots .dot { background: rgba(255,255,255,.2); }
body.dark .carousel-dots .dot.active { background: #fff; }

.doctor-detail-panel {
  background: #fff;
  border-radius: 2rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 20px 50px -20px rgba(13,43,78,.18);
  padding: 2rem;
  margin-top: 1.5rem;
}
body.dark .doctor-detail-panel { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.doctor-detail-panel h3 {
  font-weight: 800;
  color: var(--navy-800);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  margin: 0;
}
body.dark .doctor-detail-panel h3 { color: #fff; }
.doctor-detail-panel .desig { color: var(--mgreen); font-weight: 600; font-size: .92rem; margin: .25rem 0 1rem; }
body.dark .doctor-detail-panel .desig { color: #6ee7b7; }
.doctor-detail-panel .fact { display: flex; gap: .65rem; margin-bottom: .6rem; }
.doctor-detail-panel .fact .fact-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--navy-50); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
body.dark .doctor-detail-panel .fact .fact-icon { background: var(--navy-700); color: #fff; }
.doctor-detail-panel .fact .fact-label {
  font-size: .65rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.doctor-detail-panel .fact .fact-value {
  font-size: .8rem;
  color: var(--navy-800);
  font-weight: 500;
  line-height: 1.35;
}
body.dark .doctor-detail-panel .fact .fact-value { color: #fff; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 2rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 2px 10px rgba(13,43,78,.05);
  height: 100%;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(13,43,78,.15); }
body.dark .testi-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.testi-card .quote { color: var(--slate-600); font-size: .95rem; line-height: 1.6; font-style: italic; }
body.dark .testi-card .quote { color: #cbd5e1; }
.testi-card .attr { margin-top: 1.5rem; display: flex; gap: .75rem; align-items: center; }
.testi-card .attr .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-50); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}
body.dark .testi-card .attr .avatar { background: var(--navy-700); color: #fff; }
.testi-card .stars { color: #f59e0b; font-size: .85rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  border-radius: 2rem;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -10%;
  width: 40%; height: 200%;
  background: radial-gradient(ellipse, rgba(196,18,48,.15), transparent 70%);
  transform: rotate(-15deg);
  pointer-events: none;
}
.cta-banner h2 {
  font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em; line-height: 1.1; color: #fff;
}
.cta-banner p { color: rgba(255,255,255,.8); max-width: 55ch; margin: 1rem auto; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 2rem;
}
.footer .brand-line { color: #fff; font-weight: 700; font-family: var(--font-heading); }
.footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.2rem;
}
.footer a {
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  transition: color .2s;
  display: block;
  padding: .3rem 0;
}
.footer a:hover { color: #fff; }
.footer p { color: rgba(255,255,255,.75); }
.footer .social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  margin-right: .5rem;
  transition: all .2s;
}
.footer .social:hover { background: var(--mred); color: #fff; }
.footer .divider { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
  z-index: 400;
  animation: pulse-wa 2.5s ease-in-out infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.06); transition: transform .2s; }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 8px 28px rgba(37,211,102,.45); }
  50%     { box-shadow: 0 8px 28px rgba(37,211,102,.75), 0 0 0 12px rgba(37,211,102,.08); }
}

/* ---------- Chatbot — world-class 3D premium orb ---------- */
.chatbot-btn {
  position: fixed; bottom: 24px; left: 24px;
  width: 72px; height: 72px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.42) 0%, rgba(255,255,255,.08) 22%, transparent 42%),
    radial-gradient(circle at 72% 78%, rgba(26,107,58,.35), transparent 55%),
    linear-gradient(145deg, #1d4a8a 0%, #153a70 40%, #081a30 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow:
    0 22px 40px -12px rgba(13,43,78,.6),
    0 8px 18px -6px rgba(13,43,78,.45),
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -8px 20px rgba(0,0,0,.25);
  z-index: 400;
  border: 0;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .35s var(--ease-spring), box-shadow .3s;
  animation: orb-float 5s ease-in-out infinite;
}
.chatbot-btn svg { position: relative; z-index: 3; filter: drop-shadow(0 2px 4px rgba(0,0,0,.35)); }

/* Outer rainbow aura — spins continuously */
.chatbot-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--mgreen) 0deg,
    #4f79b4 90deg,
    var(--mamber) 180deg,
    var(--mred) 270deg,
    var(--mgreen) 360deg);
  z-index: -2;
  filter: blur(10px);
  opacity: .55;
  animation: ring-spin 6s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* Soft outward pulse — breath */
.chatbot-pulse {
  position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  animation: orb-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes orb-pulse {
  0%   { transform: scale(1);    opacity: .9; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Live status dot — bottom-right pip */
.chatbot-dot {
  position: absolute; bottom: 4px; right: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #22c55e;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 0 rgba(34,197,94,.55);
  animation: dot-live 1.8s ease-out infinite;
  z-index: 4;
}
@keyframes dot-live {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Floating bob */
@keyframes orb-float {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-5px) rotate(.5deg); }
}

.chatbot-btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow:
    0 30px 60px -14px rgba(13,43,78,.7),
    0 12px 24px -8px rgba(26,107,58,.4),
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -8px 20px rgba(0,0,0,.25);
  animation-play-state: paused;
}
.chatbot-btn:active { transform: translateY(-2px) scale(1.02); }
.chatbot-btn.is-open { animation: none; }
.chatbot-btn.is-open .chatbot-pulse,
.chatbot-btn.is-open .chatbot-ring { display: none; }

/* Auto-show label bubble — glass card */
.chatbot-bubble-label {
  position: fixed; bottom: 48px; left: 108px;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: var(--navy-800);
  padding: .85rem 1.2rem .85rem 1.2rem;
  border-radius: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .85rem;
  line-height: 1.35;
  box-shadow:
    0 20px 45px -15px rgba(13,43,78,.35),
    0 4px 12px -4px rgba(13,43,78,.15),
    inset 0 1px 0 rgba(255,255,255,.8);
  z-index: 399;
  opacity: 0;
  transform: translateX(-16px) scale(.9);
  pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease-spring);
  border: 1px solid rgba(13,43,78,.08);
  max-width: 260px;
}
.chatbot-bubble-label::before {
  content: ''; position: absolute; left: -7px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: rgba(255,255,255,.95);
  border-left: 1px solid rgba(13,43,78,.08);
  border-bottom: 1px solid rgba(13,43,78,.08);
}
.chatbot-bubble-label.visible { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
body.dark .chatbot-bubble-label { background: rgba(13,43,78,.92); color: #fff; border-color: rgba(255,255,255,.12); }
body.dark .chatbot-bubble-label::before { background: rgba(13,43,78,.92); border-color: rgba(255,255,255,.12); }

.chatbot-panel {
  position: fixed; bottom: 104px; left: 24px;
  width: 380px; max-width: calc(100vw - 48px); height: 560px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 1.5rem;
  box-shadow: 0 40px 80px -20px rgba(13,43,78,.45);
  border: 1px solid var(--slate-200);
  z-index: 400;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
body.dark .chatbot-panel { background: var(--navy-800); border-color: rgba(255,255,255,.1); color: #fff; }
.chatbot-panel.open { display: flex; animation: panel-in .3s var(--ease-spring); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.chatbot-header {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: .75rem;
  position: relative;
}
.chatbot-header::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 30%, rgba(26,107,58,.25), transparent 60%);
  pointer-events: none;
}
.chatbot-header .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  position: relative; z-index: 1;
}
.chatbot-header .title { font-weight: 700; font-family: var(--font-heading); font-size: 1rem; margin: 0; position: relative; z-index: 1; }
.chatbot-header .status { font-size: .72rem; color: rgba(255,255,255,.8); margin: 0; position: relative; z-index: 1; display: flex; align-items: center; gap: .4rem; }
.chatbot-header .status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #6ee7b7; box-shadow: 0 0 0 0 #6ee7b7; animation: pulse-dot 2s infinite;
}
.chatbot-header .close {
  margin-left: auto; background: none; border: 0; color: #fff;
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  cursor: pointer;
}
.chatbot-header .close:hover { background: rgba(255,255,255,.15); }
.chatbot-body {
  flex: 1; padding: 1rem; overflow-y: auto;
  background: var(--slate-50);
  scroll-behavior: smooth;
}
body.dark .chatbot-body { background: var(--navy-900); }
.chatbot-msg {
  max-width: 92%;
  padding: .65rem .9rem;
  border-radius: 1rem;
  margin-bottom: .6rem;
  font-size: .86rem;
  line-height: 1.45;
  white-space: pre-wrap;
  animation: msg-in .28s var(--ease-spring);
}
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chatbot-msg.bot {
  background: #fff; color: var(--navy-800);
  border: 1px solid var(--slate-100);
  border-bottom-left-radius: .3rem;
}
body.dark .chatbot-msg.bot { background: var(--navy-800); color: #fff; border-color: rgba(255,255,255,.08); }
.chatbot-msg.user {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: .3rem;
}
.chatbot-msg.typing {
  background: #fff;
  border: 1px solid var(--slate-100);
  padding: .75rem 1rem;
  display: inline-flex; align-items: center; gap: .3rem;
  border-bottom-left-radius: .3rem;
}
.chatbot-msg.typing .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--slate-400);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.chatbot-msg.typing .dot:nth-child(2) { animation-delay: .15s; }
.chatbot-msg.typing .dot:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

/* AI Card inside bot message */
.ai-card { display: flex; flex-direction: column; gap: .5rem; }
.ai-card .ai-pill {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--navy-700);
  border: 1px solid var(--navy-100);
}
.ai-card .ai-pill.urgent { background: var(--mred-50); color: var(--mred); border-color: rgba(196,18,48,.2); }
.ai-card .ai-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-800);
  margin: 0;
}
body.dark .ai-card .ai-title { color: #fff; }
.ai-card.urgent .ai-title { color: var(--mred); }
.ai-card .ai-info { font-size: .82rem; color: var(--slate-600); margin: 0; line-height: 1.5; }
body.dark .ai-card .ai-info { color: #cbd5e1; }
.ai-card .ai-doc {
  background: linear-gradient(135deg, rgba(26,107,58,.08), rgba(13,43,78,.04));
  border: 1px solid rgba(26,107,58,.15);
  border-radius: .7rem;
  padding: .55rem .75rem;
  margin-top: .25rem;
}
body.dark .ai-card .ai-doc { background: rgba(26,107,58,.15); border-color: rgba(26,107,58,.3); }
.ai-card .ai-doc-label {
  display: block;
  font-family: var(--font-heading);
  font-size: .6rem;
  color: var(--mgreen);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.ai-card .ai-doc strong { display: inline; color: var(--navy-800); font-weight: 700; font-size: .82rem; }
body.dark .ai-card .ai-doc strong { color: #fff; }
.ai-card .ai-doc-line { font-size: .8rem; color: var(--slate-700); line-height: 1.55; margin: 0 0 .35rem; }
body.dark .ai-card .ai-doc-line { color: #e2e8f0; }
.ai-card .ai-doc-link {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .72rem; font-weight: 700; color: var(--mgreen);
  text-decoration: none; letter-spacing: .02em;
  padding: .25rem .55rem; border-radius: .4rem;
  background: rgba(26,107,58,.1); border: 1px solid rgba(26,107,58,.2);
  transition: transform .2s ease, background .2s ease;
}
.ai-card .ai-doc-link:hover { transform: translateX(2px); background: rgba(26,107,58,.18); }
.ai-card .ai-doc.same { background: linear-gradient(135deg, rgba(196,18,48,.06), rgba(13,43,78,.04)); border-color: rgba(196,18,48,.18); }
body.dark .ai-card .ai-doc.same { background: rgba(196,18,48,.12); border-color: rgba(196,18,48,.25); }
.ai-card .ai-urgent-banner {
  background: linear-gradient(135deg, var(--mred), #a10f29);
  color: #fff; font-weight: 700; font-size: .78rem;
  padding: .55rem .75rem; border-radius: .6rem;
  margin: -.25rem 0 .5rem; letter-spacing: .01em;
  box-shadow: 0 4px 14px -4px rgba(196,18,48,.4), inset 0 1px 0 rgba(255,255,255,.18);
  line-height: 1.4;
}
.ai-card .ai-next { font-size: .78rem; color: var(--slate-700); line-height: 1.55; }
body.dark .ai-card .ai-next { color: #cbd5e1; }
.ai-card .ai-next-label {
  font-family: var(--font-heading);
  font-size: .6rem;
  color: var(--slate-400);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 .25rem;
}
.ai-card .ai-section-label {
  font-family: var(--font-heading);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin: .5rem 0 .15rem;
}
body.dark .ai-card .ai-section-label { color: #94a3b8; }
.ai-card .ai-recommend {
  font-size: .8rem;
  font-weight: 600;
  color: var(--mgreen);
  background: rgba(26,107,58,.08);
  border-left: 3px solid var(--mgreen);
  padding: .5rem .7rem;
  border-radius: .5rem;
  margin: .35rem 0 .1rem;
  line-height: 1.45;
}
body.dark .ai-card .ai-recommend { background: rgba(26,107,58,.15); color: #6ee7b7; }
.ai-card .ai-disclaimer {
  font-size: .68rem;
  color: var(--slate-400);
  line-height: 1.45;
  margin: .4rem 0 0;
  padding-top: .4rem;
  border-top: 1px dashed var(--slate-200);
  font-style: italic;
}
body.dark .ai-card .ai-disclaimer { color: #94a3b8; border-top-color: rgba(255,255,255,.1); }
.ai-card .ai-cta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
.ai-card .ai-cta a {
  flex: 1; min-width: 120px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .78rem;
  padding: .55rem .75rem;
  border-radius: .6rem;
  background: #fff;
  color: var(--navy-800) !important;
  border: 1px solid var(--slate-200);
  transition: all .2s;
}
.ai-card .ai-cta a:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff !important; transform: translateY(-1px); }
body.dark .ai-card .ai-cta a { background: var(--navy-900); color: #fff !important; border-color: rgba(255,255,255,.15); }
body.dark .ai-card .ai-cta a:hover { background: #fff; color: var(--navy-800) !important; }
.ai-card .ai-cta a.primary {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff !important; border-color: transparent;
  box-shadow: 0 6px 16px -6px rgba(13,43,78,.5);
}
.ai-card .ai-cta a.primary:hover { background: var(--navy-700); transform: translateY(-2px); }
.ai-card .ai-cta a.wa {
  background: #25D366; color: #fff !important; border-color: #25D366;
  box-shadow: 0 6px 16px -6px rgba(37,211,102,.45);
}
.ai-card .ai-cta a.wa:hover { background: #1fa856; border-color: #1fa856; }
.ai-card .ai-cta a.urgent {
  background: var(--mred); color: #fff !important; border-color: var(--mred);
  box-shadow: 0 6px 16px -6px rgba(196,18,48,.45);
}
.ai-card .ai-cta a.urgent:hover { background: var(--mred-dark); border-color: var(--mred-dark); }
.ai-greet { margin: 0 0 .3rem; font-size: .9rem; }

/* Quick chips */
.chatbot-chips {
  display: flex; flex-wrap: wrap; gap: .35rem;
  padding: .25rem 0 .5rem;
}
.chatbot-chips .chip {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 500;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-700);
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.chatbot-chips .chip:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
body.dark .chatbot-chips .chip { background: var(--navy-800); color: #cbd5e1; border-color: rgba(255,255,255,.1); }
body.dark .chatbot-chips .chip:hover { background: #fff; color: var(--navy-800); }

.chatbot-input {
  border-top: 1px solid var(--slate-100);
  padding: .75rem;
  display: flex; gap: .5rem;
  background: #fff;
}
body.dark .chatbot-input { border-top-color: rgba(255,255,255,.08); background: var(--navy-800); }
.chatbot-input input {
  flex: 1; border: 1px solid var(--slate-200);
  border-radius: .8rem;
  padding: .6rem .9rem;
  font-size: .88rem;
  background: var(--slate-50);
  font-family: var(--font-body);
}
.chatbot-input input:focus { outline: none; border-color: var(--navy-400); background: #fff; }
body.dark .chatbot-input input { background: var(--navy-900); color: #fff; border-color: rgba(255,255,255,.1); }
body.dark .chatbot-input input:focus { background: var(--navy-900); border-color: var(--navy-300); }
.chatbot-input button {
  border: 0; background: var(--navy-800); color: #fff;
  width: 42px; border-radius: .8rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.chatbot-input button:hover { background: var(--navy-700); }
.chatbot-input button:active { transform: scale(.95); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: all .7s var(--ease-out); }
.reveal.show { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: all .6s var(--ease-out); }
.reveal-stagger.show > * { opacity: 1; transform: none; }
.reveal-stagger.show > *:nth-child(1){ transition-delay:.05s }
.reveal-stagger.show > *:nth-child(2){ transition-delay:.15s }
.reveal-stagger.show > *:nth-child(3){ transition-delay:.25s }
.reveal-stagger.show > *:nth-child(4){ transition-delay:.35s }
.reveal-stagger.show > *:nth-child(5){ transition-delay:.45s }
.reveal-stagger.show > *:nth-child(6){ transition-delay:.55s }
.reveal-stagger.show > *:nth-child(7){ transition-delay:.65s }
.reveal-stagger.show > *:nth-child(8){ transition-delay:.75s }
.reveal-stagger.show > *:nth-child(9){ transition-delay:.85s }

/* ---------- Pages (page-hero) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(196,18,48,.12), transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(26,107,58,.1), transparent 45%);
  pointer-events: none;
}
.page-hero h1 { font-weight: 800; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); font-size: .85rem; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb { margin: 0; display: flex; align-items: center; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Trust cards ---------- */
.trust-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 2rem 1.5rem;
  border: 1px solid var(--slate-100);
  text-align: center;
  height: 100%;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.trust-card:hover { box-shadow: 0 24px 44px -14px rgba(13,43,78,.15); }
body.dark .trust-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); color: #e2e8f0; }
body.dark .trust-card h5 { color: #fff !important; }
body.dark .trust-card p { color: #cbd5e1 !important; }
.trust-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

/* ---------- Doctor list card ---------- */
.doctor-list-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--slate-100);
  box-shadow: 0 2px 8px rgba(13,43,78,.04);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  height: 100%;
  display: flex; flex-direction: column;
}
.doctor-list-card:hover { box-shadow: 0 24px 56px -16px rgba(13,43,78,.24); }
body.dark .doctor-list-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.doctor-list-card .photo {
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--navy-50), var(--slate-100));
  overflow: hidden;
}
body.dark .doctor-list-card .photo { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); }
.doctor-list-card .photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
.doctor-list-card:hover .photo img { transform: scale(1.05); }
.doctor-list-card .info { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.doctor-list-card h5 { font-weight: 700; color: var(--navy-800); margin-bottom: .2rem; font-size: 1rem; }
body.dark .doctor-list-card h5 { color: #fff; }
.doctor-list-card .desig { color: var(--mgreen); font-size: .8rem; font-weight: 600; margin-bottom: .5rem; }
body.dark .doctor-list-card .desig { color: #6ee7b7; }
.doctor-list-card .meta { color: var(--slate-500); font-size: .78rem; margin-bottom: 1rem; flex: 1; }
body.dark .doctor-list-card .meta { color: #cbd5e1; }
.doctor-list-card .view-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600;
  color: var(--navy-800);
}
body.dark .doctor-list-card .view-btn { color: #fff; }

/* ---------- Departments (category bands + grid cards) ---------- */
.category-band {
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.category-band.clinical {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
}
.category-band.diagnostic {
  background: linear-gradient(135deg, #a64d0a, var(--mamber));
}
.category-band.allied {
  background: linear-gradient(135deg, var(--mgreen), var(--mgreen-dark));
}
.category-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(255,255,255,.18), transparent 55%);
  pointer-events: none;
}
.category-band .eyebrow {
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.category-band h3 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: .5rem 0 .4rem;
}
.category-band p { color: rgba(255,255,255,.8); font-size: .95rem; max-width: 60ch; margin: 0; }
.category-band .count {
  position: absolute; top: 1.5rem; right: 2rem;
  font-family: var(--font-mono, monospace);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.25);
  letter-spacing: -0.04em;
}

.dept-card {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.8rem;
  border: 1px solid var(--slate-100);
  box-shadow: 0 2px 8px rgba(13,43,78,.04);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  height: 100%;
  display: flex; flex-direction: column;
}
.dept-card:hover {
  box-shadow: 0 24px 44px -14px rgba(13,43,78,.16);
  border-color: var(--navy-100);
}
body.dark .dept-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.dept-card h4 { font-weight: 700; color: var(--navy-800); font-size: 1.15rem; margin-bottom: .5rem; }
body.dark .dept-card h4 { color: #fff; }
.dept-card p { color: var(--slate-500); font-size: .88rem; line-height: 1.5; flex: 1; }
body.dark .dept-card p { color: #cbd5e1; }
.dept-card .pill {
  align-self: flex-start;
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--navy-700);
  background: var(--navy-50);
  border-radius: 999px;
  padding: .3rem .75rem;
  margin-bottom: 1rem;
}
body.dark .dept-card .pill { background: rgba(118,152,198,.15); color: var(--navy-200); }

/* ---------- Department detail page (two-column doctor-card + info) ---------- */
.dept-section h2 {
  font-weight: 800; color: var(--navy-800);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
body.dark .dept-section h2 { color: #fff; }
.dept-layout {
  display: grid;
  grid-template-columns: minmax(0, 360px) 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 991px) { .dept-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
.dept-layout .left-col { position: sticky; top: 100px; }
@media (max-width: 991px) { .dept-layout .left-col { position: static; } }

.dept-doc-card {
  background: #fff;
  border-radius: 1.8rem;
  overflow: hidden;
  border: 1px solid var(--slate-100);
  box-shadow: 0 20px 50px -20px rgba(13,43,78,.22);
}
body.dark .dept-doc-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.dept-doc-card .photo {
  aspect-ratio: 1/1;
  background: linear-gradient(180deg, var(--navy-50), var(--slate-100));
  overflow: hidden;
  position: relative;
}
body.dark .dept-doc-card .photo { background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); }
.dept-doc-card .photo img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.dept-doc-card .photo .dept-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,.95);
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .62rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dept-doc-card .info { padding: 1.4rem 1.5rem 1.8rem; }
.dept-doc-card .name { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; color: var(--navy-900); letter-spacing: -0.02em; margin: 0; }
body.dark .dept-doc-card .name { color: #fff; }
.dept-doc-card .desig { color: var(--mgreen); font-family: var(--font-heading); font-weight: 600; font-size: .85rem; margin: .25rem 0 1rem; }
body.dark .dept-doc-card .desig { color: #6ee7b7; }
.dept-doc-card .row-line {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .6rem 0;
  border-top: 1px dashed var(--slate-200);
  font-size: .83rem;
}
body.dark .dept-doc-card .row-line { border-top-color: rgba(255,255,255,.08); }
.dept-doc-card .row-line .ic {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--navy-50); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
body.dark .dept-doc-card .row-line .ic { background: var(--navy-700); color: #fff; }
.dept-doc-card .row-line .lbl { font-family: var(--font-heading); font-size: .6rem; color: var(--slate-400); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.dept-doc-card .row-line .val { font-weight: 500; color: var(--navy-800); }
body.dark .dept-doc-card .row-line .val { color: #fff; }
.dept-doc-card .cta-stack { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.dept-doc-card .cta-stack a { justify-content: center; width: 100%; }

/* Condition tiles & procedures */
.condition-item {
  background: #fff;
  border-radius: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--slate-100);
  height: 100%;
  transition: border-color .2s, transform .3s var(--ease-out);
}
.condition-item:hover { border-color: var(--navy-200); transform: translateY(-2px); }
body.dark .condition-item { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.condition-item h5 { font-weight: 700; color: var(--navy-800); font-size: .95rem; }
body.dark .condition-item h5 { color: #fff; }
.condition-item p { color: var(--slate-500); font-size: .85rem; line-height: 1.5; margin: 0; }
body.dark .condition-item p { color: #cbd5e1; }
.proc-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--navy-50);
  color: var(--navy-700);
  border: 1px solid var(--navy-100);
  padding: .45rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  margin: 0 .35rem .6rem 0;
}
body.dark .proc-chip { background: rgba(118,152,198,.12); color: var(--navy-200); border-color: rgba(255,255,255,.08); }

/* FAQs */
.faq-item {
  border: 1px solid var(--slate-100);
  border-radius: 1rem;
  background: #fff;
  padding: 1.2rem 1.4rem;
  margin-bottom: .8rem;
}
body.dark .faq-item { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.faq-item h5 { font-weight: 700; color: var(--navy-800); font-size: .95rem; }
body.dark .faq-item h5 { color: #fff; }
.faq-item p { color: var(--slate-500); font-size: .9rem; margin: .4rem 0 0; line-height: 1.55; }
body.dark .faq-item p { color: #cbd5e1; }

/* ---------- Doctor detail page ---------- */
.doc-opd-highlight {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  border: 1px solid #fde68a;
  border-radius: 1.2rem;
  padding: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}
body.dark .doc-opd-highlight { background: linear-gradient(135deg, rgba(212,102,10,.12), rgba(245,158,11,.08)); border-color: rgba(212,102,10,.3); }
.doc-opd-highlight::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--mamber);
  opacity: .1;
}
.doc-opd-highlight .label {
  font-family: var(--font-heading);
  font-size: .62rem;
  font-weight: 700;
  color: var(--mamber);
  text-transform: uppercase;
  letter-spacing: .18em;
}
.doc-opd-highlight .days {
  font-family: var(--font-heading);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 1rem;
  margin: .3rem 0;
}
body.dark .doc-opd-highlight .days { color: #fff; }
.doc-opd-highlight .time {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  color: var(--mamber);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -0.01em;
}

.achievement-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: linear-gradient(135deg, rgba(212,102,10,.1), rgba(245,158,11,.05));
  border: 1px solid rgba(212,102,10,.25);
  color: var(--mamber);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .8rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  margin: 0 .4rem .5rem 0;
}
body.dark .achievement-chip { background: rgba(212,102,10,.18); color: #fbbf24; }

.timeline {
  position: relative;
  padding-left: 1.5rem;
}
.timeline::before {
  content: ''; position: absolute; left: .4rem; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--navy-800), var(--navy-200));
}
.timeline li {
  position: relative;
  padding: .4rem 0 .8rem;
  list-style: none;
}
.timeline li::before {
  content: ''; position: absolute;
  left: -1.3rem; top: .75rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--navy-700);
  box-shadow: 0 0 0 3px var(--slate-50);
}
body.dark .timeline li::before { background: var(--navy-300); box-shadow: 0 0 0 3px var(--navy-900); }
.timeline li strong { display: block; color: var(--navy-800); font-weight: 600; font-family: var(--font-heading); }
body.dark .timeline li strong { color: #fff; }
.timeline li span { font-size: .8rem; color: var(--slate-500); }
body.dark .timeline li span { color: #cbd5e1; }

.treatment-detail {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  height: 100%;
  transition: border-color .2s, box-shadow .3s;
}
.treatment-detail:hover { border-color: var(--navy-200); box-shadow: 0 12px 28px -10px rgba(13,43,78,.12); }
body.dark .treatment-detail { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.treatment-detail h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-800);
  font-size: .92rem;
  margin: 0 0 .35rem;
  display: flex; align-items: center; gap: .4rem;
}
body.dark .treatment-detail h6 { color: #fff; }
.treatment-detail h6 .tm-ic {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--mgreen-50); color: var(--mgreen);
  display: inline-flex; align-items: center; justify-content: center;
}
body.dark .treatment-detail h6 .tm-ic { background: rgba(26,107,58,.25); color: #6ee7b7; }
.treatment-detail p { font-size: .82rem; color: var(--slate-500); margin: 0; line-height: 1.5; }
body.dark .treatment-detail p { color: #cbd5e1; }

/* ---------- Forms ---------- */
.form-matrika .form-control,
.form-matrika .form-select,
.form-matrika textarea {
  border: 1px solid var(--slate-200);
  border-radius: .8rem;
  padding: .7rem 1rem;
  font-size: .92rem;
  background: #fff;
}
.form-matrika .form-control:focus,
.form-matrika .form-select:focus,
.form-matrika textarea:focus {
  outline: none; border-color: var(--navy-400);
  box-shadow: 0 0 0 3px rgba(118,152,198,.18);
}
body.dark .form-matrika .form-control,
body.dark .form-matrika .form-select,
body.dark .form-matrika textarea {
  background: var(--navy-800); color: #fff; border-color: rgba(255,255,255,.1);
}
body.dark .form-matrika .form-control::placeholder,
body.dark .form-matrika textarea::placeholder { color: rgba(255,255,255,.4); }
.form-matrika .form-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
body.dark .form-matrika .form-label { color: #fff; }

/* Map on contact page */
.map-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--slate-100);
  box-shadow: 0 20px 50px -20px rgba(13,43,78,.2);
  position: relative;
}
body.dark .map-wrap { border-color: rgba(255,255,255,.08); }
.map-directions-cta {
  position: absolute;
  bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 380px;
  background: #fff;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 40px -12px rgba(13,43,78,.3);
  display: flex; align-items: center; gap: 1rem;
  z-index: 5;
}
body.dark .map-directions-cta { background: var(--navy-800); }
.map-directions-cta .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy-50); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
body.dark .map-directions-cta .ic { background: var(--navy-700); color: #fff; }
.map-directions-cta .txt { flex: 1; min-width: 0; }
.map-directions-cta .txt p { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--navy-800); font-size: .9rem; }
body.dark .map-directions-cta .txt p { color: #fff; }
.map-directions-cta .txt small { color: var(--slate-500); font-size: .7rem; }
body.dark .map-directions-cta .txt small { color: #94a3b8; }
.map-directions-cta a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .8rem;
  padding: .55rem 1rem;
  border-radius: .6rem;
  background: var(--navy-800);
  color: #fff !important;
  white-space: nowrap;
}

/* ---------- Contact page — LEFT map / RIGHT info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 1.75rem;
  align-items: stretch;
}
@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-map {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--slate-100);
  box-shadow: 0 20px 50px -20px rgba(13,43,78,.2);
  min-height: 520px;
}
body.dark .contact-map { border-color: rgba(255,255,255,.08); }
.contact-info { display: flex; flex-direction: column; gap: .85rem; }
.reach-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 1.1rem;
  padding: 1.05rem 1.15rem;
  display: flex; align-items: flex-start; gap: .85rem;
  box-shadow: 0 10px 28px -18px rgba(13,43,78,.25);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.reach-card:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -20px rgba(13,43,78,.3); }
body.dark .reach-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.reach-card.urgent { border-color: rgba(196,18,48,.2); background: linear-gradient(135deg, rgba(254,226,226,.55), #fff); }
body.dark .reach-card.urgent { background: linear-gradient(135deg, rgba(196,18,48,.15), var(--navy-800)); border-color: rgba(196,18,48,.3); }
.reach-ic {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reach-ic.navy  { background: var(--navy-50);   color: var(--navy-700); }
.reach-ic.red   { background: var(--mred-50);   color: var(--mred); }
.reach-ic.green { background: var(--mgreen-50); color: var(--mgreen); }
.reach-ic.amber { background: var(--mamber-50); color: var(--mamber); }
body.dark .reach-ic.navy  { background: rgba(118,152,198,.2); color: #fff; }
body.dark .reach-ic.red   { background: rgba(196,18,48,.22); }
body.dark .reach-ic.green { background: rgba(26,107,58,.25); color: #6ee7b7; }
body.dark .reach-ic.amber { background: rgba(212,102,10,.22); }
.reach-label {
  font-family: var(--font-heading);
  font-size: .66rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 .1rem;
}
body.dark .reach-label { color: #94a3b8; }
.reach-val {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-800);
  font-size: .98rem;
  margin: 0 0 .15rem;
  line-height: 1.35;
}
body.dark .reach-val { color: #fff; }
.reach-val a { color: inherit; }
.reach-muted { color: var(--slate-500); font-size: .78rem; }
body.dark .reach-muted { color: #94a3b8; }
.reach-link {
  display: inline-flex; align-items: center; gap: .25rem;
  font-family: var(--font-heading);
  font-weight: 600; font-size: .8rem;
  color: var(--navy-700);
  margin-top: .25rem;
}
body.dark .reach-link { color: #a3bad9; }
.reach-cta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .25rem;
}
.reach-cta-row a {
  font-size: .82rem;
  padding: .7rem .5rem;
  border-radius: .8rem;
  justify-content: center;
  gap: .35rem;
}
@media (max-width: 575px) {
  .reach-cta-row { grid-template-columns: 1fr; }
}

/* ---------- How to reach us — mode cards + routes ---------- */
.mode-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem;
  height: 100%;
  transition: transform .35s var(--ease-spring), box-shadow .3s, border-color .3s;
  box-shadow: 0 10px 30px -20px rgba(13,43,78,.25);
}
.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -22px rgba(13,43,78,.35);
  border-color: rgba(13,43,78,.12);
}
body.dark .mode-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.mode-ic {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-50), rgba(26,107,58,.1));
  color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: .9rem;
}
body.dark .mode-ic { background: linear-gradient(135deg, rgba(118,152,198,.2), rgba(26,107,58,.2)); color: #fff; }
.mode-card h5 {
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -.02em;
  margin-bottom: .4rem;
}
body.dark .mode-card h5 { color: #fff; }
.mode-card p { color: var(--slate-600); font-size: .9rem; line-height: 1.55; margin-bottom: .75rem; }
body.dark .mode-card p { color: #cbd5e1; }
.mode-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-heading);
  font-weight: 600; font-size: .85rem;
  color: var(--navy-700);
}
.mode-cta:hover { color: var(--navy-900); }
body.dark .mode-cta { color: #a3bad9; }

.route-card {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: 1.25rem;
  padding: 1.1rem 1.25rem;
  height: 100%;
  transition: box-shadow .3s, transform .3s;
}
.route-card:hover { box-shadow: 0 20px 40px -20px rgba(13,43,78,.3); transform: translateY(-2px); }
body.dark .route-card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.route-head {
  display: flex; align-items: center; gap: .75rem;
  padding-bottom: .85rem;
  border-bottom: 1px dashed var(--slate-200);
  margin-bottom: .85rem;
}
body.dark .route-head { border-bottom-color: rgba(255,255,255,.1); }
.route-badge {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.route-from { margin: 0; font-family: var(--font-heading); font-weight: 800; color: var(--navy-800); font-size: 1rem; letter-spacing: -.02em; }
body.dark .route-from { color: #fff; }
.route-meta { margin: 0; color: var(--slate-500); font-size: .75rem; font-family: var(--font-mono); letter-spacing: .02em; }
body.dark .route-meta { color: #94a3b8; }
.route-go {
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--mgreen);
  color: #fff !important;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
}
.route-go:hover { transform: scale(1.08); background: var(--mgreen-dark); }
.route-steps {
  margin: 0; padding-left: 1.15rem;
  counter-reset: step;
  list-style: none;
}
.route-steps li {
  position: relative;
  color: var(--slate-700);
  font-size: .85rem;
  line-height: 1.55;
  padding: .3rem 0 .3rem .5rem;
}
body.dark .route-steps li { color: #cbd5e1; }
.route-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1.15rem; top: .35rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--navy-50);
  color: var(--navy-700);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
body.dark .route-steps li::before { background: rgba(118,152,198,.25); color: #fff; }

/* ---------- Homepage visit-us strip ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: stretch;
  background: #fff;
  border-radius: 1.75rem;
  border: 1px solid var(--slate-100);
  overflow: hidden;
  box-shadow: 0 20px 60px -25px rgba(13,43,78,.25);
}
body.dark .visit-grid { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
@media (max-width: 767px) { .visit-grid { grid-template-columns: 1fr; } }
.visit-map { position: relative; min-height: 320px; }
.visit-body { padding: 1.75rem 1.75rem 1.75rem 0; display: flex; flex-direction: column; gap: .75rem; }
@media (max-width: 767px) { .visit-body { padding: 1.5rem; } }
.visit-body .section-title { margin-bottom: .25rem; }
.visit-row {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .5rem 0;
}
.visit-row .visit-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy-50); color: var(--navy-700);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
body.dark .visit-row .visit-ic { background: rgba(118,152,198,.2); color: #fff; }
.visit-row strong { display: block; color: var(--navy-800); font-family: var(--font-heading); font-size: .92rem; line-height: 1.3; }
body.dark .visit-row strong { color: #fff; }
.visit-row small { color: var(--slate-500); font-size: .78rem; display: block; margin-top: 2px; }
body.dark .visit-row small { color: #94a3b8; }
.visit-cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

/* ---------- Navbar quick-call pill ---------- */
.nav-quick-call {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-heading);
  font-weight: 600; font-size: .82rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: var(--mred-50);
  color: var(--mred) !important;
  border: 1px solid rgba(196,18,48,.2);
  transition: all .2s;
}
.nav-quick-call:hover { background: var(--mred); color: #fff !important; border-color: var(--mred); transform: translateY(-1px); }
body.dark .nav-quick-call { background: rgba(196,18,48,.18); border-color: rgba(196,18,48,.35); color: #fca5a5 !important; }
body.dark .nav-quick-call:hover { background: var(--mred); color: #fff !important; }

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 4rem 0 3rem; }
  .doctor-stage { height: 460px; }
  .doctor-card { width: 260px; margin-left: -130px; }
  .chatbot-panel { bottom: 92px; width: calc(100vw - 32px); left: 16px; right: 16px; height: calc(100vh - 160px); }
  .chatbot-btn { bottom: 16px; left: 16px; width: 58px; height: 58px; }
  .whatsapp-float { bottom: 16px; right: 16px; }
  .chatbot-bubble-label { left: 82px; bottom: 36px; font-size: .78rem; }
  .map-directions-cta { position: static; margin-top: .75rem; max-width: 100%; box-shadow: none; border: 1px solid var(--slate-100); }
  .contact-map { min-height: 380px; }
}
