/* ============================================================
   NAAM HOSPITALS – styles.css
   Premium Healthcare Website
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #1a2535;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- CSS VARIABLES ---- */
:root {
  --blue:       #0a5c8a;
  --blue-dark:  #07415f;
  --blue-light: #e8f4fb;
  --teal:       #4bb8a9;
  --teal-light: #eaf7f5;
  --navy:       #0d1e30;
  --grey-1:     #f4f7fa;
  --grey-2:     #e8edf3;
  --grey-3:     #a3b3c6;
  --text:       #1a2535;
  --text-muted: #526275;
  --white:      #ffffff;
  --shadow-sm:  0 2px 8px rgba(10,92,138,.08);
  --shadow-md:  0 6px 24px rgba(10,92,138,.12);
  --shadow-lg:  0 12px 40px rgba(10,92,138,.16);
  --radius:     12px;
  --radius-lg:  20px;
  --header-h:   72px;
  --transition: .25s ease;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.2;
  font-weight: 600;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { color: var(--text-muted); }
.body-text { font-size: 1.05rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 1rem; }

/* ---- UTILITIES ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-light { background: var(--grey-1); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.section-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .6rem;
  display: block;
}
.section-title { margin-bottom: 1rem; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10,92,138,.3);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(10,92,138,.4); }
.btn-white { background: var(--white); color: var(--blue); font-weight: 600; }
.btn-white:hover { background: var(--grey-1); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); padding: calc(.75rem - 2px) calc(1.75rem - 2px); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.7); color: var(--white); padding: calc(.75rem - 2px) calc(1.75rem - 2px); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-full { width: 100%; justify-content: center; padding: 1rem 1.75rem; border-radius: 10px; }
.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }
.btn-wa { background: #25d366; color: var(--white); }
.btn-wa:hover { background: #1ebe5c; }
.btn-danger { background: #e53935; color: var(--white); border-radius: 50px; padding: .75rem 1.75rem; display: inline-block; font-weight: 600; margin-top: .5rem; }
.btn-danger:hover { background: #c62828; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--grey-2);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 2rem;
}
.logo-link { text-decoration: none; }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo-icon { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.logo-tagline { font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--text-muted); }
.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: .25rem; }
.nav-link {
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .85rem;
  border-radius: 8px;
  color: var(--text);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--blue-light); }
.header-cta { margin-left: .5rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-slider { flex: 1; position: relative; }
.hero-slide {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-slide::before {
  content: none;
}
.hero-overlay {
  display: none;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 5rem 0;
}
.hero-location {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-accent {
  color: #7ee8df;
  display: block;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(255,255,255,.3);
  padding-left: 1rem;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-num sup { font-size: .9rem; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); font-weight: 500; letter-spacing: .05em; text-transform: uppercase; margin-top: .2rem; }
.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10;
}
.hero-scroll-indicator span {
  display: block; width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  margin: 0 auto;
  animation: scrollFade 2s ease-in-out infinite;
}
@keyframes scrollFade { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* ============================================================
   EMERGENCY BANNER
   ============================================================ */
.emergency-banner {
  background: linear-gradient(90deg, #c62828, #e53935);
  padding: .9rem 0;
}
.emergency-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.emergency-pulse {
  width: 10px; height: 10px;
  background: var(--white); border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .6; } }
.emergency-text { color: var(--white); font-weight: 600; font-size: .95rem; }
.emergency-call {
  background: var(--white);
  color: #c62828;
  font-weight: 700;
  padding: .4rem 1.2rem;
  border-radius: 50px;
  font-size: .9rem;
  transition: all var(--transition);
}
.emergency-call:hover { background: var(--grey-1); }

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-values-mini {
  display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.5rem 0;
}
.value-chip {
  background: var(--blue-light);
  color: var(--blue);
  padding: .45rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  display: flex; align-items: center; gap: .4rem;
}
.value-icon { font-size: .9rem; }
.about-card-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  border-left: 4px solid var(--teal);
  transition: transform var(--transition);
}
.about-card:hover { transform: translateY(-3px); }
.ac-icon { font-size: 1.8rem; }
.ac-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.ac-desc { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.ac-1 { border-left-color: var(--blue); }
.ac-2 { border-left-color: var(--teal); }
.ac-3 { border-left-color: #7c5cbf; }
.ac-4 { border-left-color: #e07a4f; }

/* ============================================================
   SPECIALTIES PREVIEW
   ============================================================ */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.specialty-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
  display: block;
}
.specialty-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.sc-icon { font-size: 2rem; margin-bottom: .6rem; }
.sc-name { font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.35; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal-light); }
.why-icon { margin-bottom: 1rem; }
.why-card h3 { font-size: 1.1rem; margin-bottom: .6rem; color: var(--navy); }
.why-card p { font-size: .9rem; color: var(--text-muted); }

/* ============================================================
   DOCTOR HIGHLIGHTS (HOME)
   ============================================================ */
.doctors-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.doctor-mini-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
}
.doctor-mini-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dmc-avatar {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dmc-info { padding: 0 1.25rem 1.25rem; }
.dmc-name { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: .25rem; }
.dmc-spec { font-size: .82rem; color: var(--blue); font-weight: 600; margin-bottom: .2rem; }
.dmc-exp { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   APPOINTMENT CTA
   ============================================================ */
.appt-cta { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.appt-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.appt-cta-text h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.appt-cta-text p { color: rgba(255,255,255,.8); font-size: 1rem; }
.appt-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  margin-top: var(--header-h);
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; max-width: 700px; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: .8rem; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; }

/* ============================================================
   ABOUT (full page)
   ============================================================ */
.about-full-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}
.about-highlight-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-2);
  position: sticky;
  top: 100px;
}
.ahb-item {
  padding: 1rem;
  background: var(--grey-1);
  border-radius: var(--radius);
  text-align: center;
}
.ahb-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .25rem;
}
.ahb-label { font-size: .8rem; color: var(--text-muted); font-weight: 600; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  border-top: 4px solid var(--blue);
}
.mission-card { border-top-color: var(--teal); }
.vm-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.vm-card h2 { font-size: 1.6rem; margin-bottom: .75rem; }
.vm-card p { font-size: 1.05rem; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
  position: relative;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--teal); }
.value-num {
  position: absolute; top: 1rem; right: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grey-2);
  line-height: 1;
}
.value-emoji { font-size: 1.8rem; margin-bottom: .6rem; display: block; }
.value-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.value-card p { font-size: .85rem; }
.apart-list { display: flex; flex-direction: column; gap: 2rem; }
.apart-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
}
.apart-item:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.apart-icon { flex-shrink: 0; margin-top: .1rem; }
.apart-text h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.apart-text p { font-size: .95rem; }
.approach-section { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.approach-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.approach-quote { position: relative; }
.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  color: rgba(255,255,255,.15);
  line-height: 0;
  position: absolute;
  top: 1.5rem;
  left: -1rem;
}
blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}
cite { font-size: .9rem; color: rgba(255,255,255,.65); font-style: normal; }
.approach-cta {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.2);
  text-align: center;
}
.approach-cta h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .5rem; }
.approach-cta p { color: rgba(255,255,255,.75); margin-bottom: 1.25rem; }

/* ============================================================
   SERVICES (full page)
   ============================================================ */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.service-full-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
}
.service-full-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); transform: translateY(-2px); }
.sfc-icon { font-size: 2rem; flex-shrink: 0; margin-top: .1rem; }
.sfc-body h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--navy); }
.sfc-body p { font-size: .9rem; line-height: 1.6; }

/* ============================================================
   DOCTORS (full page)
   ============================================================ */
.doctors-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
}
.doctor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.dc-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--grey-2);
  background: var(--grey-1);
}
.dc-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--avatar-bg, var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.dc-header-text { flex: 1; min-width: 0; }
.dc-name { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; line-height: 1.25; }
.dc-specialty { font-size: .82rem; font-weight: 600; color: var(--blue); margin-bottom: .3rem; }
.dc-exp-badge {
  display: inline-block;
  background: var(--teal-light);
  color: #2a7a70;
  font-size: .72rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 50px;
}
.dc-body { padding: 1.25rem 1.5rem 1.5rem; }
.dc-qual { font-size: .83rem; color: var(--text-muted); margin-bottom: .85rem; border-left: 3px solid var(--teal); padding-left: .75rem; }
.dc-qual-label { font-weight: 700; color: var(--navy); }
.dc-strengths { margin-bottom: 1rem; }
.dc-strengths li {
  font-size: .85rem;
  color: var(--text-muted);
  padding: .3rem 0 .3rem 1.1rem;
  position: relative;
}
.dc-strengths li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--teal);
  font-size: .85rem;
}
.dc-appt-btn {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem 1.2rem;
  border-radius: 8px;
  transition: all var(--transition);
}
.dc-appt-btn:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   FACILITIES
   ============================================================ */
.fac-stats-section { background: var(--blue); padding: 3.5rem 0; }
.fac-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.fac-stat { color: var(--white); }
.fs-icon { font-size: 2rem; margin-bottom: .5rem; }
.fs-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: .3rem; }
.fs-label { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fac-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  border-top: 4px solid var(--grey-2);
  transition: all var(--transition);
}
.fac-card.fac-primary { border-top-color: var(--blue); grid-column: span 2; }
.fac-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.facc-icon { font-size: 2rem; margin-bottom: .75rem; }
.fac-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.fac-card p { font-size: .9rem; line-height: 1.65; }
.fac-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.fac-list-item {
  display: flex;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
}
.fac-list-item:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.fli-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: .1rem; }
.fli-text h3 { font-size: 1rem; margin-bottom: .35rem; }
.fli-text p { font-size: .88rem; }
.digital-section { background: var(--grey-1); }
.digital-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: center; }
.digital-features { list-style: none; margin-top: 1.25rem; }
.digital-features li { padding: .4rem 0; font-size: .95rem; color: var(--text-muted); }
.digital-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dv-badge {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  text-align: center;
  transition: all var(--transition);
}
.dv-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dvb-icon { font-size: 1.75rem; margin-bottom: .4rem; }
.dvb-text { font-size: .82rem; font-weight: 600; color: var(--navy); line-height: 1.3; }

/* ============================================================
   APPOINTMENT PAGE
   ============================================================ */
.appt-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.appt-info h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.appt-why-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.awl-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--grey-1);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
}
.awl-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.awl-item strong { font-size: .9rem; display: block; color: var(--navy); margin-bottom: .2rem; }
.awl-item p { font-size: .82rem; margin: 0; }
.appt-emergency-box {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
}
.aeb-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: .4rem; }
.appt-emergency-box p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1rem; }
.appt-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-2);
}
.afb-header { margin-bottom: 2rem; border-bottom: 1px solid var(--grey-2); padding-bottom: 1.25rem; }
.afb-header h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.afb-header p { font-size: .88rem; }
.appt-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .87rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--grey-2);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,92,138,.1); }
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53935; }
.field-error { font-size: .78rem; color: #e53935; min-height: 1rem; display: block; }
.form-note { font-size: .78rem; color: var(--text-muted); text-align: center; margin-top: .5rem; }
.success-msg {
  background: #e8f5e9;
  border: 1.5px solid #a5d6a7;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.sm-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.success-msg h3 { font-size: 1.3rem; color: #2e7d32; margin-bottom: .5rem; }
.success-msg p { font-size: .95rem; color: #388e3c; }
.success-msg a { color: var(--blue); font-weight: 600; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-col h2 { margin-bottom: .75rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0; }
.contact-card {
  display: flex; gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-2);
  transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.contact-card.emergency-card { border-color: #ffcdd2; background: #fff5f5; }
.cc-icon { font-size: 1.8rem; flex-shrink: 0; }
.cc-body h3 { font-size: .95rem; margin-bottom: .35rem; }
.cc-body p { font-size: .9rem; }
.cc-body a { color: var(--blue); font-weight: 600; }
.cc-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .75rem; }
.visiting-hours { background: var(--grey-1); border-radius: var(--radius); padding: 1.5rem; }
.visiting-hours h3 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--navy); }
.vh-grid { display: flex; flex-direction: column; gap: .5rem; }
.vh-item { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; border-bottom: 1px solid var(--grey-2); padding-bottom: .5rem; }
.vh-item span { color: var(--text-muted); }
.vh-item strong { font-weight: 600; color: var(--navy); text-align: right; }
.contact-map-col h2 { margin-bottom: 1rem; }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 1rem; border: 1px solid var(--grey-2); }
.map-address-note { font-size: .88rem; background: var(--grey-1); padding: .75rem 1rem; border-radius: 8px; color: var(--text-muted); margin-bottom: 1rem; }
.directions-actions { display: flex; gap: .75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.contact-form-mini { background: var(--grey-1); border-radius: var(--radius-lg); padding: 1.75rem; }
.contact-form-mini h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.footer-brand {}
.footer-logo { margin-bottom: 1rem; }
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 1.25rem; max-width: 280px; }
.footer-contact-mini { font-size: .83rem; color: rgba(255,255,255,.55); line-height: 1.8; }
.footer-links h4 { font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--teal); }
.footer-emergency p { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .5rem; }
.footer-emerg-btn {
  display: block;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-weight: 700;
  font-size: .88rem;
  padding: .55rem 1rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: .5rem;
  transition: background var(--transition);
}
.footer-emerg-btn:hover { background: rgba(255,255,255,.2); }
.footer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #25d366;
  color: var(--white);
  font-size: .88rem;
  font-weight: 600;
  padding: .55rem 1rem;
  border-radius: 8px;
  transition: background var(--transition);
}
.footer-wa-btn:hover { background: #1ebe5c; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-reg { font-size: .72rem; }

/* ============================================================
   ABOUT PAGE – additional layout
   ============================================================ */

/* ============================================================
   ANIMATIONS & SCROLL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    padding: 1rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 999;
    margin-left: 0;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-list { flex-direction: column; gap: .25rem; }
  .nav-link { display: block; padding: .75rem 1rem; font-size: 1rem; border-radius: 10px; }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties-grid { grid-template-columns: repeat(4, 1fr); }
  .doctors-full-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-full-grid { grid-template-columns: 1fr; }
  .about-highlight-box { position: static; }
  .vm-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .doctors-grid-mini { grid-template-columns: repeat(2, 1fr); }
  .doctors-full-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .fac-grid { grid-template-columns: 1fr; }
  .fac-card.fac-primary { grid-column: auto; }
  .fac-list-grid { grid-template-columns: 1fr; }
  .fac-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .digital-inner { grid-template-columns: 1fr; }
  .appt-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .approach-inner { grid-template-columns: 1fr; }
  .appt-cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .about-card-stack { grid-template-columns: 1fr 1fr; }
  .doctors-grid-mini { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .vm-card { padding: 1.75rem; }
  .digital-visual { grid-template-columns: 1fr 1fr; }
  .directions-actions { flex-direction: column; }
}

@media (max-width: 400px) {
  .about-card-stack { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: 1fr 1fr; }
}


/* === Final scope overrides === */
:root {
  --topbar-h: 46px;
}
body {
  font-family: 'Inter', Arial, sans-serif;
}
h1, h2, h3, h4, .logo-name, .hero-headline, .dc-name, .fs-num, .ahb-num, blockquote {
  font-family: 'Inter', Arial, sans-serif;
}
p, .body-text, .btn, .nav-link, .section-label, .logo-tagline, .form-group input, .form-group select, .form-group textarea, .footer-links h4 {
  font-family: 'Inter', Arial, sans-serif;
}
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: linear-gradient(90deg, #0b4d75 0%, #0a5c8a 55%, #1d7f72 100%);
  z-index: 1001;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.top-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-copy {
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.top-call-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: .45rem .9rem;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
}
.top-call-badge strong { color: #fff; }
.top-call-badge:hover { background: rgba(255,255,255,.22); }
.site-header { top: var(--topbar-h); }
.header-inner { min-height: var(--header-h); }
.hero, .page-hero { margin-top: calc(var(--header-h) + var(--topbar-h)); }
.main-nav { margin-left: auto; }
.logo-brandmark {
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
  border: 1px solid rgba(10,92,138,.08);
  border-radius: 16px;
  padding: .38rem .7rem;
  box-shadow: 0 10px 30px rgba(10,92,138,.08);
}
.brand-logo-img {
  display: block;
  width: 250px;
  max-width: min(30vw, 250px);
  height: auto;
}
.logo-brandmark-footer {
  display: inline-flex;
  background: rgba(255,255,255,.98);
  padding: .45rem .75rem;
  box-shadow: none;
}
.logo-brandmark-footer .brand-logo-img {
  width: 220px;
  max-width: 220px;
}
.hero {
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover !important;
  background-position: center center !important;
}
.hero-slide.active { opacity: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}
.hero-overlay {
  display: none;
}
.appt-form-box select:disabled {
  background: #f5f8fb;
  color: #7f8c99;
  cursor: not-allowed;
}
.site-footer .logo { align-items: center; }
@media (max-width: 900px) {
  .main-nav { top: calc(var(--header-h) + var(--topbar-h)); }
}
@media (max-width: 760px) {
  :root { --topbar-h: 58px; }
  .top-bar-inner {
    justify-content: center;
    flex-wrap: wrap;
    padding-top: .3rem;
    padding-bottom: .3rem;
  }
  .top-bar-copy { display: none; }
  .brand-logo-img { width: 185px; max-width: 46vw; }
  .logo-brandmark { padding: .3rem .55rem; border-radius: 14px; }
}
@media (max-width: 580px) {
  .top-call-badge { width: 100%; justify-content: center; font-size: .8rem; }
  .brand-logo-img { width: 165px; max-width: 48vw; }
}


/* === Refinement scope updates === */
.logo-link {
  display: inline-flex;
  align-items: center;
  min-height: calc(var(--header-h) - 10px);
}
.logo-brandmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: .26rem .58rem;
  border-radius: 14px;
}
.brand-logo-img {
  width: 236px;
  max-width: min(28vw, 236px);
  height: auto;
}
.header-inner {
  align-items: center;
}
.section-soft-blue {
  background: linear-gradient(180deg, #f8fcff 0%, #f4f9fd 100%);
}
.section-soft-teal {
  background: linear-gradient(180deg, #f7fcfb 0%, #eff8f6 100%);
}
.section-soft-white {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.section-soft-blue .section-label,
.section-soft-teal .section-label,
.section-soft-white .section-label {
  color: var(--blue);
}
@media (max-width: 760px) {
  .logo-link { min-height: calc(var(--header-h) - 14px); }
  .logo-brandmark { min-height: 50px; padding: .22rem .5rem; }
  .brand-logo-img { width: 176px; max-width: 45vw; }
}
@media (max-width: 580px) {
  .brand-logo-img { width: 160px; max-width: 46vw; }
}


/* === Current refinement adjustments === */
.logo-link {
  flex-shrink: 0;
  min-height: calc(var(--header-h) - 18px);
}
.logo-brandmark {
  min-height: 48px;
  max-height: calc(var(--header-h) - 16px);
  padding: .2rem .46rem;
  border-radius: 12px;
  overflow: hidden;
}
.brand-logo-img {
  width: 198px;
  max-width: min(22vw, 198px);
}
.header-inner {
  gap: 1.4rem;
}

.services-hero-slider-wrap {
  margin-top: calc(var(--header-h) + var(--topbar-h));
  position: relative;
  height: clamp(260px, 42vw, 520px);
  overflow: hidden;
  background: #eef6fb;
}
.services-hero-slider {
  position: absolute;
  inset: 0;
}
.services-hero-slider .hero-slide {
  transition: opacity 1s ease-in-out;
  background-size: cover !important;
  background-position: center center !important;
}
.services-page-intro {
  margin-top: 0;
  padding-top: 54px;
}

.section-soft-blue,
.section-soft-teal,
.section-soft-white {
  position: relative;
  background-blend-mode: normal;
}
.section-soft-blue::before,
.section-soft-teal::before,
.section-soft-white::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(10,92,138,.05) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: .35;
}
.section-soft-blue > .container,
.section-soft-teal > .container,
.section-soft-white > .container {
  position: relative;
  z-index: 1;
}
.service-full-card, .doctor-card, .facility-card, .why-card, .specialty-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-full-card:hover, .doctor-card:hover, .facility-card:hover, .why-card:hover, .specialty-card:hover {
  box-shadow: 0 12px 28px rgba(10,92,138,.12);
}

@media (max-width: 900px) {
  .brand-logo-img { width: 184px; max-width: 30vw; }
}
@media (max-width: 760px) {
  .logo-link { min-height: calc(var(--header-h) - 20px); }
  .logo-brandmark { min-height: 44px; max-height: calc(var(--header-h) - 18px); padding: .16rem .4rem; }
  .brand-logo-img { width: 162px; max-width: 42vw; }
  .services-hero-slider-wrap { height: clamp(220px, 52vw, 360px); }
}
@media (max-width: 580px) {
  .brand-logo-img { width: 150px; max-width: 44vw; }
  .services-page-intro { padding-top: 44px; }
}


/* === Final pre-CMS refinements === */
.top-bar {
  background: linear-gradient(90deg, #0b5b87 0%, #0f6a99 48%, #0f7b83 100%);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}
.top-call-badge {
  background: linear-gradient(180deg, #d93434 0%, #b91c1c 100%);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 8px 20px rgba(127, 29, 29, .22);
}
.top-call-badge:hover {
  background: linear-gradient(180deg, #e04242 0%, #c62828 100%);
}
.top-call-text strong { color: #fff; }

.logo-link {
  min-height: calc(var(--header-h) - 22px);
}
.logo-brandmark {
  min-height: 44px;
  max-height: calc(var(--header-h) - 24px);
  padding: .16rem .42rem;
  border-radius: 12px;
}
.brand-logo-img {
  width: 178px;
  max-width: min(20vw, 178px);
}

.doctor-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin: 2rem 0 1.75rem;
}
.doctor-filter-btn {
  border: 1px solid rgba(10,92,138,.16);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: .72rem 1.15rem;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(10,92,138,.06);
  transition: all var(--transition);
}
.doctor-filter-btn:hover,
.doctor-filter-btn.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-1px);
}
.doctor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.doctor-card.is-hidden { display: none; }
.doctors-full-grid { align-items: stretch; }
.dc-header {
  min-height: 126px;
  background: linear-gradient(180deg, #f5f9fc 0%, #eef5fa 100%);
}
.dc-name {
  font-size: 1.12rem;
  color: #0c3553;
}
.dc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dc-strengths {
  display: grid;
  gap: .2rem;
  margin-bottom: 1rem;
}
.dc-appt-btn { margin-top: auto; }

.page-hero.services-page-intro {
  background: linear-gradient(135deg, #0f3554 0%, #0b5c8a 72%, #147e87 100%);
}
.page-hero.services-page-intro::before {
  background: transparent;
}
.page-hero.services-page-intro .breadcrumb,
.page-hero.services-page-intro .breadcrumb a,
.page-hero.services-page-intro p,
.page-hero.services-page-intro h1 {
  color: #fff;
}
.page-hero.services-page-intro,
.page-hero.facilities-page-intro {
  margin-top: 0;
}
.service-full-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}
.sfc-body h3,
.sfc-body p {
  color: #143246;
}
.sfc-body p { opacity: .92; }

.footer-social-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.14);
  transition: all var(--transition);
}
.footer-social-link svg { width: 18px; height: 18px; }
.footer-social-link:hover {
  background: var(--teal);
  color: #0a2130;
  border-color: var(--teal);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .brand-logo-img { width: 166px; max-width: 26vw; }
}
@media (max-width: 760px) {
  :root { --topbar-h: 84px; }
  .top-bar-copy { width: 100%; text-align: center; }
  .top-bar-inner { justify-content: center; }
  .top-bar-actions { justify-content: center; width: 100%; }
  .logo-brandmark { min-height: 42px; max-height: calc(var(--header-h) - 18px); }
  .brand-logo-img { width: 156px; max-width: 42vw; }
  .doctors-full-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  :root { --topbar-h: 118px; }
  .top-call-badge { width: 100%; justify-content: center; }
  .brand-logo-img { width: 146px; max-width: 44vw; }
  .doctors-full-grid { grid-template-columns: 1fr; }
  .doctor-filter-btn { width: calc(50% - .4rem); text-align: center; }
}


/* === April 2026 visibility and polish refinements === */
.site-header .logo-brandmark {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  max-height: none;
}
.site-header .logo-link {
  min-height: 0;
}
.site-header .brand-logo-img {
  width: 176px;
  max-width: min(19vw, 176px);
  height: auto;
  display: block;
}
.logo-brandmark-footer {
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  border-radius: 14px;
  padding: .55rem .75rem;
}
.logo-brandmark-footer .brand-logo-img {
  width: 212px;
  max-width: min(100%, 212px);
}
.services-hero-slider-wrap {
  height: clamp(180px, 28vw, 340px);
}
.page-hero.services-page-intro {
  background: linear-gradient(135deg, #0e3552 0%, #0b5c8a 72%, #147e87 100%);
}
.page-hero.services-page-intro .breadcrumb,
.page-hero.services-page-intro .breadcrumb a,
.page-hero.services-page-intro p,
.page-hero.services-page-intro h1,
.services-full-grid .section-label,
.services-full-grid .section-title,
.services-full-grid .section-sub {
  color: #fff;
}
.section.fac-stats-section,
.fac-stats-section.section-soft-blue {
  background: linear-gradient(135deg, #0d3a59 0%, #0b5c8a 70%, #0f7c83 100%) !important;
}
.fac-stats-section.section-soft-blue::before {
  opacity: .12;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 0);
}
.fac-stat,
.fac-stat .fs-num,
.fac-stat .fs-label {
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,.12);
}
.fac-stat .fs-label { color: rgba(255,255,255,.88); }
.service-full-card,
.doctor-card,
.fac-card,
.facility-card,
.why-card,
.specialty-card {
  border-color: rgba(11,92,138,.10);
  box-shadow: 0 10px 24px rgba(10,92,138,.06);
}
.service-full-card:hover,
.doctor-card:hover,
.fac-card:hover,
.facility-card:hover,
.why-card:hover,
.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(10,92,138,.12);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: opacity, transform;
}
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}
.top-emergency-badge {
  background: linear-gradient(180deg, #c81e1e 0%, #a81515 100%);
}
.top-ambulance-badge {
  background: linear-gradient(180deg, #df2f2f 0%, #be1d1d 100%);
}
@media (max-width: 900px) {
  .site-header .brand-logo-img { width: 164px; max-width: 25vw; }
}
@media (max-width: 760px) {
  .site-header .brand-logo-img { width: 152px; max-width: 40vw; }
  .logo-brandmark-footer .brand-logo-img { width: 188px; }
  .services-hero-slider-wrap { height: clamp(165px, 38vw, 250px); }
}
@media (max-width: 580px) {
  .site-header .brand-logo-img { width: 142px; max-width: 43vw; }
  .logo-brandmark-footer .brand-logo-img { width: 174px; }
}


/* === Final hero, card, and logo refinements === */
.services-hero-slider-wrap {
  height: clamp(240px, 31vw, 380px);
  background: linear-gradient(180deg, #eef6fb 0%, #f7fbfe 100%);
}
.services-hero-slider {
  position: absolute;
  inset: 0;
  display: block;
}
.services-hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 4.5rem;
  background: linear-gradient(180deg, #eef6fb 0%, #f7fbfe 100%);
}
.services-hero-slider .hero-slide.active { opacity: 1; }
.services-hero-slider .hero-slide.hero-slide-contain {
  background-image: none !important;
  background-size: initial !important;
}
.services-hero-slider .hero-slide-image {
  display: block;
  width: auto;
  max-width: min(100%, 1180px);
  max-height: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}
.hero-slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(10,92,138,.18);
  background: rgba(255,255,255,.88);
  color: #0b5c8a;
  box-shadow: 0 10px 24px rgba(10,92,138,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.hero-slider-control:hover {
  transform: translateY(-50%) scale(1.04);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(10,92,138,.18);
}
.hero-slider-prev { left: 1rem; }
.hero-slider-next { right: 1rem; }

.site-header .logo-link {
  min-height: calc(var(--header-h) - 18px);
  display: inline-flex;
  align-items: center;
}
.site-header .logo-brandmark {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
  border: 1px solid rgba(10,92,138,.14);
  box-shadow: 0 10px 24px rgba(10,92,138,.08);
  border-radius: 14px;
  padding: .3rem .58rem;
}
.site-header .brand-logo-img {
  width: 170px;
  max-width: min(18vw, 170px);
}

.service-full-card,
.doctor-card,
.fac-card,
.facility-card,
.why-card,
.specialty-card,
.contact-card,
.appt-card,
.info-card,
.form-card {
  border: 1px solid rgba(10,92,138,.16) !important;
  box-shadow: 0 10px 24px rgba(10,92,138,.07);
  background-clip: padding-box;
}
.service-full-card:hover,
.doctor-card:hover,
.fac-card:hover,
.facility-card:hover,
.why-card:hover,
.specialty-card:hover,
.contact-card:hover,
.appt-card:hover,
.info-card:hover,
.form-card:hover {
  border-color: rgba(10,92,138,.24) !important;
}
.doctor-card,
.service-full-card,
.fac-card,
.facility-card,
.why-card,
.specialty-card {
  border-radius: 18px;
}

.site-footer .footer-logo,
.site-footer .logo-brandmark-footer { display: none !important; }
.site-footer .footer-brand .footer-title {
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-header .brand-logo-img { width: 160px; max-width: 24vw; }
  .services-hero-slider-wrap { height: clamp(220px, 34vw, 340px); }
}
@media (max-width: 760px) {
  .site-header .logo-brandmark { padding: .24rem .48rem; }
  .site-header .brand-logo-img { width: 148px; max-width: 40vw; }
  .services-hero-slider-wrap { height: clamp(205px, 42vw, 300px); }
  .services-hero-slider .hero-slide { padding: .8rem 3.4rem; }
  .hero-slider-control { width: 40px; height: 40px; }
}
@media (max-width: 580px) {
  .site-header .brand-logo-img { width: 138px; max-width: 42vw; }
  .services-hero-slider-wrap { height: clamp(190px, 48vw, 260px); }
  .services-hero-slider .hero-slide { padding: .75rem 2.9rem; }
  .hero-slider-control { width: 36px; height: 36px; font-size: 1.2rem; }
  .hero-slider-prev { left: .5rem; }
  .hero-slider-next { right: .5rem; }
}


/* === Fine-tuning: hero hover controls and footer visibility === */
.services-hero-slider-wrap {
  height: clamp(300px, 38vw, 460px);
}

.hero-slider.has-controls .hero-slider-control,
.services-hero-slider.has-controls .hero-slider-control {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hero-slider.has-controls:hover .hero-slider-control,
.services-hero-slider.has-controls:hover .hero-slider-control,
.hero-slider.has-controls:focus-within .hero-slider-control,
.services-hero-slider.has-controls:focus-within .hero-slider-control {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-slider-control {
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, opacity .2s ease, visibility .2s ease;
}

.site-footer .footer-title,
.site-footer .footer-bottom span,
.site-footer .footer-reg {
  color: #ffffff !important;
}
.site-footer .footer-desc {
  color: rgba(255,255,255,.82);
}
.site-footer .footer-contact-mini,
.site-footer .footer-links a,
.site-footer .footer-links h4,
.site-footer .footer-emergency p {
  color: rgba(255,255,255,.86);
}
.site-footer .footer-links h4 {
  color: rgba(255,255,255,.92);
}

@media (max-width: 900px) {
  .services-hero-slider-wrap { height: clamp(280px, 42vw, 400px); }
}
@media (max-width: 760px) {
  .services-hero-slider-wrap { height: clamp(245px, 50vw, 340px); }
}
@media (max-width: 580px) {
  .services-hero-slider-wrap { height: clamp(220px, 58vw, 300px); }
}


/* === Final facilities gallery, footer QR, and hero behavior refinements === */
.services-hero-slider-wrap {
  height: clamp(340px, 42vw, 520px);
}
.hero-slider .hero-slide {
  transition: opacity 1.6s ease-in-out;
}
.hero-slider.has-controls .hero-slider-control,
.services-hero-slider.has-controls .hero-slider-control {
  transform: translateY(-50%) scale(.96);
}
.hero-slider.has-controls:hover .hero-slider-control,
.services-hero-slider.has-controls:hover .hero-slider-control,
.hero-slider.has-controls:focus-within .hero-slider-control,
.services-hero-slider.has-controls:focus-within .hero-slider-control {
  transform: translateY(-50%) scale(1);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-qr-card {
  width: fit-content;
  padding: .9rem;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.footer-qr-title {
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: .55rem;
}
.footer-qr-img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: .35rem;
}
.footer-qr-note {
  margin-top: .45rem;
  font-size: .76rem;
  color: rgba(255,255,255,.78);
}
.facilities-gallery-section {
  position: relative;
}
.facility-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.facility-gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(10,92,138,.16);
  box-shadow: 0 10px 24px rgba(10,92,138,.08);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.facility-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.facility-gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(10,92,138,.24);
  box-shadow: 0 18px 34px rgba(10,92,138,.12);
}
.facility-gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.gallery-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 33, .72);
}
.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.gallery-modal-image {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 56px rgba(0,0,0,.32);
}
.gallery-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #0b3551;
  font-size: 1.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
body.gallery-open {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .facility-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .services-hero-slider-wrap { height: clamp(310px, 48vw, 440px); }
}
@media (max-width: 760px) {
  .services-hero-slider-wrap { height: clamp(280px, 56vw, 390px); }
  .facility-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-qr-card { width: 100%; max-width: 220px; }
}
@media (max-width: 580px) {
  .services-hero-slider-wrap { height: clamp(250px, 64vw, 340px); }
  .facility-gallery-grid { grid-template-columns: 1fr; }
  .gallery-modal-dialog { padding: 1rem; }
  .gallery-modal-close { top: .8rem; right: .8rem; }
}


/* === Final responsive/footer/appointment refinements === */
:root{
  --topbar-h: 46px;
}
.footer-qr-title,
.footer-qr-note{
  display:none !important;
}
.footer-qr-card{
  padding:.45rem !important;
  border-radius:14px !important;
  width:auto !important;
  max-width:none !important;
  align-self:flex-start;
}
.footer-qr-img{
  width:84px !important;
  height:84px !important;
  padding:.2rem !important;
  border-radius:10px !important;
}
.site-footer{
  padding-top:2.7rem !important;
}
.footer-grid{
  align-items:start;
  gap:1.35rem !important;
}
.footer-brand{
  gap:.65rem !important;
}
.footer-desc{
  max-width:360px;
}
.footer-contact-mini{
  display:grid;
  gap:.25rem;
}
.footer-links ul{
  gap:.4rem;
}
.top-bar-copy{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.top-bar-actions{
  display:flex;
  align-items:center;
  gap:.65rem;
  flex-wrap:nowrap;
}
.top-call-badge{
  min-width:0;
  padding:.42rem .82rem !important;
  font-size:.8rem !important;
  line-height:1.15;
}
.top-call-text{
  white-space:nowrap;
}
.services-hero-slider-wrap{
  height:clamp(380px, 46vw, 560px) !important;
}
.services-hero-slider .hero-slide{
  padding:1rem 4rem;
}
.services-hero-slider .hero-slide-image{
  max-width:min(100%, 1200px);
  max-height:100%;
  height:100%;
  object-fit:contain;
}
@media (max-width: 1100px){
  .footer-grid{
    grid-template-columns:1.35fr 1fr 1fr 1fr !important;
  }
}
@media (max-width: 900px){
  .services-hero-slider-wrap{
    height:clamp(340px, 52vw, 480px) !important;
  }
  .footer-grid{
    grid-template-columns:1fr 1fr !important;
  }
  .footer-brand{
    grid-column:1 / -1;
  }
  .top-bar-copy{
    font-size:.78rem;
  }
  .top-call-badge{
    font-size:.76rem !important;
    padding:.4rem .7rem !important;
  }
}
@media (max-width: 760px){
  :root{
    --topbar-h: 90px;
  }
  .top-bar{
    height:auto !important;
    min-height:var(--topbar-h);
    padding:.45rem 0 !important;
  }
  .top-bar-inner{
    height:auto !important;
    min-height:0 !important;
    flex-wrap:wrap;
    justify-content:center !important;
    gap:.45rem !important;
  }
  .top-bar-copy{
    display:block !important;
    width:100%;
    text-align:center;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    line-height:1.3;
    font-size:.75rem;
  }
  .top-bar-actions{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
    gap:.45rem !important;
  }
  .top-call-badge{
    justify-content:center;
    max-width:100%;
    font-size:.74rem !important;
  }
  .site-header{
    top:var(--topbar-h) !important;
  }
  .hero, .page-hero{
    margin-top:calc(var(--header-h) + var(--topbar-h)) !important;
  }
  .main-nav{
    top:calc(var(--header-h) + var(--topbar-h)) !important;
  }
  .footer-qr-card{
    max-width:96px !important;
  }
  .footer-qr-img{
    width:78px !important;
    height:78px !important;
  }
  .services-hero-slider-wrap{
    height:clamp(300px, 60vw, 420px) !important;
  }
}
@media (max-width: 580px){
  :root{
    --topbar-h: 98px;
  }
  .container{
    padding:0 14px;
  }
  .header-inner{
    gap:.8rem;
  }
  .site-header .brand-logo-img{
    width:132px !important;
    max-width:42vw !important;
  }
  .top-call-badge{
    width:calc(50% - .3rem);
    min-width:146px;
    padding:.38rem .55rem !important;
    border-radius:16px !important;
  }
  .top-call-icon{
    font-size:.95rem;
  }
  .top-call-text{
    white-space:normal;
    text-align:center;
    line-height:1.2;
  }
  .footer-grid{
    grid-template-columns:1fr !important;
    gap:1.15rem !important;
    padding-bottom:2rem !important;
  }
  .footer-brand{
    gap:.65rem !important;
  }
  .footer-desc{
    font-size:.84rem;
    max-width:none;
  }
  .footer-contact-mini{
    font-size:.78rem;
    line-height:1.55;
  }
  .footer-qr-card{
    padding:.35rem !important;
    max-width:88px !important;
  }
  .footer-qr-img{
    width:72px !important;
    height:72px !important;
  }
  .footer-links h4{
    margin-bottom:.55rem;
  }
  .footer-bottom .container{
    gap:.35rem;
  }
  .services-hero-slider-wrap{
    height:clamp(280px, 68vw, 380px) !important;
  }
  .services-hero-slider .hero-slide{
    padding:.75rem 2.5rem !important;
  }
}



.home-doctor-photo,
.dmc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dmc-avatar {
  padding: 0;
  width: 112px;
  height: 112px;
  border-radius: 18px;
  overflow: hidden;
  margin: 1.35rem 1.25rem 0;
  background: #eef5fa;
  border: 1px solid rgba(10, 92, 138, .08);
}
.dmc-info { padding: 1rem 1.25rem 1.25rem; }
.dmc-name { font-size: 1.12rem; line-height: 1.2; }
.dmc-spec { font-size: .9rem; line-height: 1.45; }
.dmc-exp { font-size: .82rem; }

.dc-header {
  align-items: flex-start;
  gap: 1.1rem;
}
.dc-photo,
.dc-avatar {
  width: 104px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(10, 92, 138, .10);
  background: #eef5fa;
}
.dc-photo {
  object-fit: cover;
  display: block;
}
.dc-header-text {
  padding-top: .1rem;
}
.dc-name {
  font-size: 1.28rem;
  line-height: 1.15;
  margin-bottom: .35rem;
}
.dc-qual {
  font-size: .95rem;
  line-height: 1.45;
  color: #29465c;
  margin-bottom: .45rem;
  border-left: 0;
  padding-left: 0;
  overflow-wrap: anywhere;
}
.dc-specialty {
  font-size: .98rem;
  line-height: 1.4;
  margin-bottom: .8rem;
}
.dc-exp-badge {
  font-size: .8rem;
  padding: .38rem .82rem;
}
.dc-strength-title {
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0b6a7b;
  margin-bottom: .7rem;
}
.dc-strengths li {
  line-height: 1.55;
}

.admin-inline-form-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 110px 110px 110px;
  gap: .75rem;
  align-items: center;
  padding: .85rem 0;
  border-top: 1px solid rgba(10,92,138,.08);
}
.admin-inline-form-row:first-child { border-top: 0; }
.admin-inline-form-row input[type="text"],
.admin-inline-form-row input[type="number"] {
  width: 100%;
}
.admin-inline-form-row .admin-toggle-inline {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  color: #355168;
}
.admin-card-departments .admin-card-head { margin-bottom: .75rem; }
.admin-image-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}
.admin-check-inline {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #355168;
  font-size: .9rem;
}
.admin-doctor-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(10,92,138,.08);
  background: #eef5fa;
}
.admin-list-item.has-thumb {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  gap: .85rem;
  align-items: center;
}
@media (max-width: 900px) {
  .admin-inline-form-row {
    grid-template-columns: 1fr;
  }
  .dc-photo,
  .dc-avatar {
    width: 96px;
    height: 110px;
  }
}
@media (max-width: 640px) {
  .dc-header {
    align-items: center;
  }
  .dc-photo,
  .dc-avatar {
    width: 88px;
    height: 102px;
  }
  .dmc-avatar {
    width: 96px;
    height: 96px;
  }
}

/* === Mobile UX hotfix: April 2026 === */
html, body {
  overflow-x: hidden;
}
body {
  width: 100%;
}
.hero-content,
.page-hero-content,
.section,
.site-footer,
.top-bar,
.site-header {
  width: 100%;
}
.main-nav {
  overflow-y: auto;
  max-height: calc(100vh - var(--header-h) - var(--topbar-h) - 8px);
}
.nav-list li {
  width: 100%;
}
.nav-link {
  word-break: break-word;
}
.footer-emergency,
.footer-social-row,
.cc-actions,
.hero-actions,
.appt-cta-actions,
.directions-actions {
  row-gap: .65rem;
}
.hero-slide,
.services-hero-slider .hero-slide {
  backface-visibility: hidden;
}

@media (max-width: 1024px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-inner {
    gap: 1rem;
  }
  .nav-list {
    gap: .15rem;
  }
  .nav-link {
    padding: .5rem .7rem;
    font-size: .88rem;
  }
  .header-cta {
    padding: .72rem 1.2rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: var(--header-h);
  }
  .header-inner {
    justify-content: space-between;
    gap: .75rem;
  }
  .logo-link {
    min-width: 0;
    flex: 1 1 auto;
  }
  .site-header .logo-brandmark {
    padding: .18rem .42rem;
    border-radius: 12px;
  }
  .site-header .brand-logo-img {
    width: 150px !important;
    max-width: 38vw !important;
  }
  .main-nav {
    border-top: 1px solid rgba(10,92,138,.08);
    border-radius: 0 0 18px 18px;
  }
  .main-nav.open {
    transform: translateY(0);
  }
  .nav-link {
    font-size: .98rem;
  }
  .hero {
    min-height: auto;
  }
  .hero-slider,
  .hero-slide {
    min-height: calc(100svh - var(--header-h) - var(--topbar-h));
  }
  .hero-content {
    padding: 4rem 0 3rem;
  }
  .hero-headline {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }
  .hero-sub {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
    --topbar-h: 86px;
  }
  .top-bar {
    padding: .35rem 0 !important;
  }
  .top-bar-inner {
    gap: .4rem !important;
  }
  .top-bar-copy {
    font-size: .74rem !important;
    font-weight: 600;
    letter-spacing: .02em;
  }
  .top-bar-actions {
    gap: .4rem !important;
  }
  .top-call-badge {
    flex: 1 1 220px;
    min-height: 38px;
    max-width: 320px;
    padding: .42rem .7rem !important;
    border-radius: 14px !important;
  }
  .top-call-text {
    font-size: .73rem;
    line-height: 1.15;
    text-align: center;
  }
  .site-header .brand-logo-img {
    width: 138px !important;
    max-width: 44vw !important;
  }
  .hamburger {
    margin-left: 0;
    flex-shrink: 0;
  }
  .header-cta {
    display: none;
  }
  .hero,
  .page-hero,
  .services-hero-slider-wrap {
    margin-top: calc(var(--header-h) + var(--topbar-h)) !important;
  }
  .page-hero {
    padding: 3.25rem 0 2.75rem;
  }
  .page-hero p {
    font-size: .98rem;
  }
  .hero-content {
    padding: 3.5rem 0 2.75rem;
  }
  .hero-actions .btn,
  .appt-cta-actions .btn,
  .cc-actions .btn,
  .directions-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
  }
  .hero-stat {
    padding: .85rem .9rem;
    border-left: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(3px);
  }
  .stat-num {
    font-size: 1.55rem;
  }
  .stat-label {
    margin-top: .3rem;
    font-size: .72rem;
  }
  .about-card,
  .service-full-card,
  .doctor-card,
  .fac-card,
  .fac-list-item,
  .contact-card,
  .appt-form-box,
  .vm-card,
  .apart-item,
  .why-card {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .footer-grid {
    gap: 1rem !important;
  }
  .footer-links,
  .footer-emergency {
    width: 100%;
  }
  .footer-social-row {
    gap: .5rem;
  }
  .footer-social-link {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 580px) {
  :root {
    --header-h: 64px;
    --topbar-h: 96px;
  }
  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .top-bar-copy {
    font-size: .7rem !important;
  }
  .top-bar-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: .35rem !important;
  }
  .top-call-badge {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: .42rem .45rem !important;
  }
  .top-call-icon {
    font-size: .88rem;
  }
  .top-call-text {
    font-size: .68rem !important;
  }
  .site-header .brand-logo-img {
    width: 126px !important;
    max-width: 46vw !important;
  }
  .site-header .logo-brandmark {
    padding: .12rem .34rem;
    border-radius: 10px;
  }
  .main-nav {
    padding: .85rem 1rem 1.35rem;
  }
  .nav-link {
    padding: .72rem .9rem;
    font-size: .95rem;
  }
  .hero-slider,
  .hero-slide {
    min-height: calc(92svh - var(--header-h) - var(--topbar-h));
  }
  .hero-headline {
    font-size: 2rem;
    line-height: 1.08;
  }
  .hero-sub {
    font-size: .95rem;
    line-height: 1.55;
  }
  .hero-actions {
    gap: .75rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-card-stack,
  .digital-visual,
  .specialties-grid,
  .values-grid,
  .fac-stats-grid {
    grid-template-columns: 1fr;
  }
  .fac-stats-grid {
    gap: 1.1rem;
  }
  .doctor-filter-btn {
    width: 100%;
  }
  .dc-header {
    padding: 1rem 1rem .85rem;
    min-height: 0;
  }
  .dc-avatar {
    width: 60px;
    height: 60px;
  }
  .dc-body {
    padding: 1rem;
  }
  .appt-form-box {
    padding: 1.2rem;
  }
  .afb-header {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
  }
  .contact-form-mini {
    padding: 1.2rem;
  }
  .site-footer {
    padding-top: 2rem !important;
  }
  .footer-grid {
    padding-bottom: 1.5rem !important;
  }
  .footer-title {
    font-size: 1.15rem;
  }
  .footer-qr-card {
    max-width: 82px !important;
    padding: .28rem !important;
  }
  .footer-qr-img {
    width: 66px !important;
    height: 66px !important;
  }
  .footer-emerg-btn,
  .footer-wa-btn {
    font-size: .84rem;
    padding: .6rem .85rem;
  }
  .footer-bottom {
    padding: 1rem 0;
  }
  .footer-bottom .container {
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  :root {
    --topbar-h: 102px;
  }
  .site-header .brand-logo-img {
    width: 118px !important;
    max-width: 48vw !important;
  }
  .hero-headline {
    font-size: 1.85rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .top-call-text {
    font-size: .66rem !important;
  }
}

/* === 2026-04 global header/footer/mobile refinement overrides === */
html, body {
  overflow-x: hidden;
}

.site-header {
  background: rgba(255,255,255,.98);
}

.header-inner {
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.site-header .logo-brandmark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.site-header .brand-logo-img {
  width: 158px !important;
  max-width: 100%;
  height: auto;
  display: block;
}

.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  margin-left: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: .1rem;
}

.nav-link {
  white-space: nowrap;
  font-size: .94rem;
  padding: .5rem .68rem;
}

.header-cta {
  flex: 0 0 auto;
  margin-left: .25rem;
  padding: .78rem 1.28rem;
}

.top-bar {
  height: auto !important;
  min-height: 46px;
  padding: 0;
}

.top-bar-inner {
  min-height: 46px;
  flex-wrap: nowrap;
  align-items: center;
}

.top-bar-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.top-bar-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.top-call-badge {
  padding: .42rem .78rem !important;
  font-size: .78rem !important;
}

.top-call-text {
  white-space: nowrap;
}

.site-footer {
  padding-top: 2.1rem !important;
}

.footer-grid {
  gap: 1.2rem !important;
  align-items: start;
}

.footer-qr-card {
  padding: .32rem !important;
  max-width: 78px !important;
  border-radius: 12px !important;
}

.footer-qr-img {
  width: 62px !important;
  height: 62px !important;
  padding: .15rem !important;
}

.footer-social-row {
  gap: .5rem;
}

.footer-social-link {
  width: 34px;
  height: 34px;
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1280px) {
  .site-header .brand-logo-img {
    width: 150px !important;
  }

  .nav-link {
    font-size: .9rem;
    padding: .46rem .56rem;
  }

  .header-cta {
    font-size: .88rem;
    padding: .72rem 1.08rem;
  }
}

@media (min-width: 1181px) {
  .main-nav {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .hamburger {
    display: none !important;
  }
}

@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 16px;
    right: 16px;
    display: block;
    background: rgba(255,255,255,.98);
    padding: .9rem;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(10,92,138,.16);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    z-index: 1100;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: .28rem;
  }

  .nav-link {
    display: block;
    font-size: 1rem;
    padding: .8rem 1rem;
    border-radius: 10px;
  }
}

@media (max-width: 760px) {
  :root {
    --topbar-h: 88px;
  }

  .top-bar {
    min-height: var(--topbar-h);
    padding: .35rem 0 !important;
  }

  .top-bar-inner {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: .42rem !important;
  }

  .top-bar-copy {
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
    font-size: .74rem;
  }

  .top-bar-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: .42rem !important;
  }

  .top-call-badge {
    flex: 1 1 220px;
    max-width: calc(50% - .21rem);
    min-width: 0;
    justify-content: center;
    border-radius: 16px !important;
  }

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

  .site-header .brand-logo-img {
    width: 136px !important;
  }

  .footer-social-link {
    width: 32px;
    height: 32px;
  }

  .footer-social-link svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 580px) {
  :root {
    --topbar-h: 96px;
  }

  .container {
    padding: 0 14px;
  }

  .header-inner {
    gap: .55rem;
  }

  .top-call-badge {
    flex: 1 1 calc(50% - .21rem);
    padding: .36rem .42rem !important;
    font-size: .72rem !important;
  }

  .top-call-text {
    white-space: normal;
    line-height: 1.15;
  }

  .main-nav {
    left: 12px;
    right: 12px;
  }

  .site-footer {
    padding-top: 1.8rem !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding-bottom: 1.4rem !important;
  }

  .footer-qr-card {
    max-width: 72px !important;
  }

  .footer-qr-img {
    width: 56px !important;
    height: 56px !important;
  }
}


/* === Final header stability and premium hero motion fix === */
@media (min-width: 901px) {
  .main-nav {
    overflow: visible !important;
    max-height: none !important;
  }
  .nav-list {
    flex-wrap: nowrap;
    align-items: center;
  }
}

.site-header,
.header-inner,
.main-nav,
.nav-list {
  overflow: visible;
}

.hero-slider,
.services-hero-slider {
  overflow: hidden;
}

.hero-slider .hero-slide,
.services-hero-slider .hero-slide {
  will-change: opacity, transform;
  transform: translateX(0) scale(1.02);
  transition: opacity 2.6s ease-in-out, transform 3.2s cubic-bezier(.22, .61, .36, 1);
}

.hero-slider .hero-slide.active,
.hero-slider .hero-slide.is-active,
.services-hero-slider .hero-slide.active,
.services-hero-slider .hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.hero-slider .hero-slide.is-entering-from-next,
.services-hero-slider .hero-slide.is-entering-from-next {
  opacity: 0;
  transform: translateX(3%) scale(1.02);
}

.hero-slider .hero-slide.is-entering-from-prev,
.services-hero-slider .hero-slide.is-entering-from-prev {
  opacity: 0;
  transform: translateX(-3%) scale(1.02);
}

.hero-slider .hero-slide.is-leaving-to-next,
.services-hero-slider .hero-slide.is-leaving-to-next {
  opacity: 0;
  transform: translateX(-2%) scale(1.01);
}

.hero-slider .hero-slide.is-leaving-to-prev,
.services-hero-slider .hero-slide.is-leaving-to-prev {
  opacity: 0;
  transform: translateX(2%) scale(1.01);
}

.services-hero-slider-wrap {
  height: clamp(330px, 44vw, 540px) !important;
}

.services-hero-slider .hero-slide {
  padding: 1rem 4.25rem !important;
}

.services-hero-slider .hero-slide-image {
  max-width: min(100%, 1240px);
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 900px) {
  .main-nav {
    overflow-y: auto;
    max-height: calc(100vh - var(--header-h) - var(--topbar-h) - 8px);
  }
  .services-hero-slider-wrap {
    height: clamp(300px, 54vw, 420px) !important;
  }
}

@media (max-width: 760px) {
  .services-hero-slider-wrap {
    height: clamp(270px, 62vw, 360px) !important;
  }
  .services-hero-slider .hero-slide {
    padding: .85rem 3rem !important;
  }
}

@media (max-width: 580px) {
  .services-hero-slider-wrap {
    height: clamp(245px, 70vw, 320px) !important;
  }
  .services-hero-slider .hero-slide {
    padding: .75rem 2.5rem !important;
  }
}


/* === Final services hero parity with homepage === */
.services-hero-slider-wrap {
  position: relative;
  margin-top: calc(var(--header-h) + var(--topbar-h));
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  height: calc(100vh - var(--header-h) - var(--topbar-h)) !important;
  overflow: hidden;
}

.services-hero-slider {
  position: absolute;
  inset: 0;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
}

.services-hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  padding: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
}

.services-hero-slider .hero-slide.hero-slide-contain,
.services-hero-slider .hero-slide-image {
  display: none !important;
}

.page-hero.facilities-page-intro {
  background: linear-gradient(135deg, #0f3554 0%, #0b5c8a 72%, #147e87 100%);
}

.page-hero.facilities-page-intro::before {
  background: transparent;
}

.page-hero.facilities-page-intro .breadcrumb,
.page-hero.facilities-page-intro .breadcrumb a,
.page-hero.facilities-page-intro p,
.page-hero.facilities-page-intro h1 {
  color: #fff;
}

@media (max-width: 900px) {
  .services-hero-slider-wrap,
  .services-hero-slider,
  .services-hero-slider .hero-slide {
    min-height: calc(100svh - var(--header-h) - var(--topbar-h));
    height: calc(100svh - var(--header-h) - var(--topbar-h)) !important;
  }
}


/* === Final branding and security refinements === */

.site-header .logo-link {
  min-height: calc(var(--header-h) - 16px);
  display: inline-flex;
  align-items: center;
}
.site-header .logo-brandmark {
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(243,249,252,.98) 100%);
  border: 1px solid rgba(10,92,138,.12);
  box-shadow: 0 8px 20px rgba(10,92,138,.06), inset 0 1px 0 rgba(255,255,255,.65);
  border-radius: 16px;
  padding: .28rem .56rem;
}
.site-header .brand-logo-img {
  width: 170px;
  max-width: min(18vw, 170px);
  height: auto;
  display: block;
}
.site-footer .footer-brand {
  gap: .85rem;
}
.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.footer-brand-badge {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.footer-brand-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.site-footer .footer-title {
  margin: 0;
}
.footer-qr-card {
  padding: .72rem;
}
.footer-qr-img {
  width: 96px;
  height: 96px;
}
.appointment-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 760px) {
  .site-header .logo-brandmark {
    border-radius: 14px;
    padding: .22rem .46rem;
  }
  .site-header .brand-logo-img {
    width: 146px;
    max-width: 42vw;
  }
  .footer-brand-row {
    gap: .65rem;
  }
  .footer-brand-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .footer-brand-icon {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 520px) {
  .site-header .brand-logo-img {
    width: 138px;
    max-width: 44vw;
  }
  .footer-qr-img {
    width: 84px;
    height: 84px;
  }
}

/* === Doctor CMS admin === */
.dc-photo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: #eef6fb;
  border: 1px solid rgba(10,92,138,.08);
}
.admin-auth-wrap {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
}
.admin-auth-container { max-width: 680px; }
.admin-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(10,92,138,.08);
  box-shadow: 0 18px 50px rgba(10,92,138,.08);
  padding: 24px;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}
.admin-form .form-group { margin-bottom: 16px; }
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(10,92,138,.15);
  font: inherit;
  background: #fff;
}
.admin-form textarea { resize: vertical; }
.admin-actions-row,
.admin-inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-list { display: grid; gap: 12px; }
.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(10,92,138,.08);
  border-radius: 16px;
  padding: 14px;
  background: #f9fcfe;
}
.admin-subtle { font-size: .92rem; color: #5c7181; margin-top: 4px; }
.admin-alert {
  margin: 0 auto 18px;
  max-width: 720px;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 600;
}
.admin-alert.success { background: #e7f8ef; color: #136c43; border: 1px solid #b7e8cb; }
.admin-alert.error { background: #fff1f0; color: #9b2d20; border: 1px solid #f1c0ba; }
.admin-inline-form {
  display: grid;
  grid-template-columns: 2fr .7fr auto auto auto;
  gap: 12px;
  align-items: center;
}
.admin-toggle label { display: inline-flex; align-items: center; gap: 8px; }
.btn-small { padding: 8px 12px; font-size: .9rem; }
@media (max-width: 960px) {
  .admin-grid { grid-template-columns: 1fr; }
  .admin-inline-form { grid-template-columns: 1fr; }
}


/* === April 2026 doctor card, logo, and admin refinement overrides === */
.site-header .logo-link { display:flex; align-items:center; }
.site-header .logo-brandmark {
  padding: .28rem .42rem !important;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(245,249,252,.98) 100%);
  box-shadow: 0 6px 18px rgba(10,92,138,.08);
}
.site-header .brand-logo-img {
  width: 194px !important;
  max-width: min(24vw, 194px) !important;
}
.doctor-card { overflow: hidden; }
.dc-header {
  display: grid;
  grid-template-columns: 116px minmax(0,1fr);
  gap: 1.15rem;
  align-items: start;
  min-height: 176px;
  padding: 1.3rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(11,92,138,.08);
}
.dc-photo,
.dc-avatar {
  width: 102px;
  height: 102px;
  border-radius: 26px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, #eff8fd 0%, #e4f1fa 100%);
  border: 1px solid rgba(11,92,138,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
  overflow:hidden;
}
.dc-photo { object-fit: cover; }
.dc-header-text { display:flex; flex-direction:column; gap:.5rem; padding-top:.1rem; }
.dc-name { margin: 0; line-height:1.22; font-size:1.28rem; }
.dc-qual { margin:0; font-size:.96rem; color:#22445a; line-height:1.45; }
.dc-strength-title {
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0e7b86;
}
.dc-specialty { font-weight:700; color:#0a5c8a; font-size:1rem; line-height:1.35; }
.dc-exp-badge {
  display:inline-flex;
  align-self:flex-start;
  margin-top:.1rem;
  padding:.44rem .78rem;
  border-radius:999px;
  background: rgba(24,126,135,.10);
  color:#11707a;
  font-weight:700;
}
.dc-body { padding: 1rem 1.35rem 1.35rem; }
.dc-strength-title { margin-bottom: .72rem; }
.dc-strengths { margin: 0 0 1rem; padding: 0; list-style:none; gap:.52rem; }
.dc-strengths li { position:relative; padding-left:1rem; line-height:1.55; color:#335569; }
.dc-strengths li::before { content:'›'; position:absolute; left:0; top:0; color:#12a8b2; font-weight:800; }
.admin-grid-dashboard { align-items:start; grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.25fr); }
.admin-card { padding: 1.35rem; border-radius: 22px; }
.admin-card-head { margin-bottom: 1rem; }
.admin-card-head h3 { margin-bottom: .3rem; }
.admin-card-head p, .admin-field-help { color:#617889; font-size:.92rem; }
.admin-form-doctor { display:flex; flex-direction:column; gap: 1rem; }
.admin-form .form-row { display:grid; gap: 1rem; }
.admin-form .form-row-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.admin-form .form-row-3 { grid-template-columns: 1.2fr .8fr 1fr; }
.admin-form .form-group { margin-bottom: 0; }
.admin-form label { display:block; margin-bottom:.45rem; font-weight:700; color:#13374c; }
.form-section-title { padding-top:.2rem; margin-bottom:-.2rem; font-size:.83rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:#0e7b86; }
.form-group-wide { min-width:0; }
.admin-toggle-group { display:flex; align-items:flex-end; }
.admin-toggle { display:inline-flex; align-items:center; gap:.55rem; font-weight:700; }
.admin-image-preview {
  margin-top:.75rem; min-height:110px; border:1px dashed rgba(11,92,138,.22); border-radius:16px;
  display:flex; align-items:center; justify-content:center; background:#f7fbfe; color:#6a8191; overflow:hidden;
}
.admin-image-preview img { width:100%; max-height:180px; object-fit:cover; display:block; }
.admin-list { display:grid; gap:.8rem; }
.admin-list-item { align-items:center; gap:1rem; padding:1rem 1.05rem; border-radius:16px; }
.admin-list-main { min-width:0; }
.admin-inline-grid { display:grid; grid-template-columns: minmax(220px, 1.3fr) 120px auto auto; gap:.85rem; align-items:end; }
@media (max-width: 1024px) {
  .site-header .brand-logo-img { width: 178px !important; max-width: 30vw !important; }
  .admin-grid-dashboard { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header .brand-logo-img { width: 150px !important; max-width: 44vw !important; }
  .dc-header { grid-template-columns: 88px minmax(0,1fr); min-height: unset; padding: 1.15rem 1.15rem .95rem; }
  .dc-body { padding: .95rem 1.15rem 1.15rem; }
  .admin-form .form-row-2, .admin-form .form-row-3, .admin-inline-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .dc-header { grid-template-columns: 1fr; }
  .dc-photo, .dc-avatar { width: 92px; height: 92px; }
}

/* === April 2026 admin workflow alignment update === */
.admin-dashboard-stack {
  display: grid;
  gap: 24px;
}
.admin-section-card {
  padding: 1.5rem;
}
.admin-card-head-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(10,92,138,.08);
  color: #0a5c8a;
  font-weight: 800;
  font-size: .82rem;
}
.admin-grid-dashboard-v2 {
  grid-template-columns: minmax(420px, 1.35fr) minmax(280px, .65fr);
  align-items: start;
}
.admin-department-form,
.admin-form-doctor {
  margin-top: .35rem;
}
.admin-dept-grid {
  grid-template-columns: minmax(280px, 1.5fr) 150px minmax(200px, .9fr) !important;
}
.admin-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid rgba(10,92,138,.08);
  border-radius: 18px;
  background: #fff;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.admin-table th,
.admin-table td {
  padding: .95rem 1rem;
  border-bottom: 1px solid rgba(10,92,138,.08);
  text-align: left;
  vertical-align: top;
}
.admin-table thead th {
  background: #f4f9fc;
  color: #14384d;
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}
.admin-table tbody tr:hover {
  background: #fbfdff;
}
.admin-empty-row {
  text-align: center;
  color: #647a8a;
  font-weight: 600;
}
.admin-status-pill {
  display: inline-flex;
  align-items: center;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}
.admin-status-pill.is-active {
  background: #e7f8ef;
  color: #136c43;
}
.admin-status-pill.is-inactive {
  background: #fff1f0;
  color: #9b2d20;
}
.admin-table-name {
  font-weight: 700;
  color: #13374c;
}
.admin-table-specialty {
  font-weight: 700;
  color: #0a5c8a;
  margin-bottom: .2rem;
}
.admin-table-strengths {
  color: #5f7483;
  font-size: .9rem;
  line-height: 1.45;
}
.admin-import-note {
  display: grid;
  gap: .8rem;
  color: #355168;
  font-size: .95rem;
}
.admin-import-note code {
  background: #f4f8fb;
  border: 1px solid rgba(10,92,138,.08);
  padding: .12rem .42rem;
  border-radius: 8px;
}
.admin-card-listing .admin-table {
  min-width: 980px;
}
@media (max-width: 1100px) {
  .admin-grid-dashboard-v2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .admin-card-head-split {
    flex-direction: column;
  }
  .admin-dept-grid {
    grid-template-columns: 1fr !important;
  }
}


.doctor-empty-state{width:100%;padding:28px 22px;border:1px solid rgba(10,92,138,.14);border-radius:18px;background:#fff;text-align:center;color:#4c6280;font-weight:600}.dc-empty-copy{color:#5f7190;font-size:.95rem;line-height:1.6;min-height:1.6em}


/* === April 2026 doctors/admin UI refinement update === */
.doctors-full-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1.75rem;
}
.doctor-card {
  min-height: 100%;
}
.dc-header {
  align-items: flex-start;
  padding: 1.4rem 1.4rem 1.1rem;
}
.dc-photo,
.dc-avatar {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  flex-shrink: 0;
  overflow: hidden;
}
.dc-photo {
  object-fit: cover;
  display: block;
}
.dc-header-text {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding-top: .15rem;
}
.dc-name {
  font-size: 1.18rem;
  line-height: 1.18;
  margin-bottom: 0;
}
.dc-qual {
  margin-bottom: 0;
  border-left: 0;
  padding-left: 0;
  color: #355168;
  font-size: .97rem;
  line-height: 1.5;
}
.dc-specialty {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 0;
}
.dc-experience {
  color: #476477;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
}
.dc-body {
  padding: 1.2rem 1.4rem 1.35rem;
}
.dc-strength-title {
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #0a6e81;
  margin-bottom: .55rem;
}
.dc-strengths li {
  font-size: .94rem;
  line-height: 1.55;
}

.admin-tabs {
  display: flex;
  gap: .85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.admin-tab {
  border: 1px solid rgba(10,92,138,.14);
  background: #fff;
  color: #123a51;
  border-radius: 999px;
  padding: .8rem 1.35rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(10,92,138,.06);
  transition: all .2s ease;
}
.admin-tab.active,
.admin-tab:hover {
  background: #0a5c8a;
  color: #fff;
  border-color: #0a5c8a;
}
.admin-tab-panel[hidden] {
  display: none !important;
}
.admin-tab-panel.is-active {
  display: block;
}
.admin-section-card {
  padding: 1.6rem;
}
.admin-card-head {
  margin-bottom: 1rem;
}
.admin-card-head h3 {
  margin-bottom: .35rem;
}
.admin-card-head p {
  color: #496277;
}
.admin-dept-grid {
  grid-template-columns: minmax(320px, 1.8fr) 170px minmax(220px, 1fr) !important;
  align-items: end;
}
.form-group-span-2 {
  grid-column: span 2;
}
.admin-card-listing {
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .doctors-full-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 760px) {
  .dc-photo,
  .dc-avatar {
    width: 96px;
    height: 96px;
  }
  .admin-dept-grid,
  .form-group-span-2 {
    grid-template-columns: 1fr !important;
    grid-column: auto;
  }
}


/* Homepage feature control and doctor image handling */
.doctor-image-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}
.doctor-image-trigger:focus-visible {
  outline: 2px solid rgba(10,92,138,.5);
  outline-offset: 3px;
}
.dmc-avatar .doctor-image-trigger,
.dc-header .doctor-image-trigger {
  width: 100%;
}
.dmc-avatar,
.dc-header .doctor-image-trigger {
  background: linear-gradient(180deg,#f4f9fd 0%,#edf5fb 100%);
}
.home-doctor-photo,
.dc-photo {
  object-fit: contain !important;
  object-position: center center !important;
  background: linear-gradient(180deg,#f4f9fd 0%,#edf5fb 100%);
  padding: 6px;
}
.home-doctor-photo { border-radius: 18px; }
.dc-photo { border-radius: 20px; }
.dc-languages {
  margin-top: .45rem;
  font-size: .88rem;
  line-height: 1.4;
  color: #446179;
}
.dc-languages span {
  color: #0a5c8a;
  font-weight: 700;
}
.doctor-image-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
}
.doctor-image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 40, .7);
}
.doctor-image-modal__dialog {
  position: relative;
  width: min(92vw, 720px);
  margin: 6vh auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  padding: 1.25rem 1.25rem 1rem;
}
.doctor-image-modal__media-wrap {
  background: linear-gradient(180deg,#f8fbfe 0%,#edf4fb 100%);
  border-radius: 18px;
  padding: 1rem;
}
.doctor-image-modal__img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  object-position: center center;
}
.doctor-image-modal__title {
  margin-top: .85rem;
  color: #0b3655;
  font-weight: 700;
  text-align: center;
}
.doctor-image-modal__close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
body.modal-open { overflow: hidden; }
.admin-visibility-group { display:flex; flex-direction:column; gap:.85rem; justify-content:center; }

/* SEO profile pages and crawlable doctor links */
.dc-name a,
.dmc-name a,
.dc-department a,
.sfc-body h3 a {
  color: inherit;
  text-decoration: none;
}
.dc-name a:hover,
.dmc-name a:hover,
.dc-department a:hover,
.sfc-body h3 a:hover {
  text-decoration: underline;
}
.dc-secondary-btn {
  margin-top: 8px;
  background: transparent;
  color: var(--primary, #0a5c8a);
  border: 1px solid rgba(10, 92, 138, 0.22);
}
.doctor-filter-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.doctor-profile-section,
.department-profile-section {
  background: #f8fbfd;
}
.doctor-profile-card,
.profile-content-card {
  background: #fff;
  border: 1px solid rgba(9, 44, 72, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(11, 70, 110, 0.08);
}
.doctor-profile-card {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 32px;
  padding: 32px;
  align-items: center;
}
.doctor-profile-photo,
.doctor-profile-avatar {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
  background: #e8f4fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
}
.doctor-profile-info h2,
.profile-content-card h2 {
  margin-bottom: 10px;
}
.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.profile-meta-grid > div {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f3f8fb;
}
.profile-meta-grid strong,
.profile-meta-grid span,
.profile-meta-grid a {
  display: block;
}
.profile-meta-grid strong {
  font-size: 0.82rem;
  color: #607283;
  margin-bottom: 4px;
}
.profile-meta-grid a {
  color: var(--primary, #0a5c8a);
  font-weight: 700;
  text-decoration: none;
}
.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.profile-content-card {
  padding: 28px;
  margin-top: 28px;
}
.profile-strengths {
  columns: 2;
  column-gap: 36px;
}
.related-doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.related-doctor-card {
  display: block;
  padding: 18px;
  border: 1px solid rgba(9, 44, 72, 0.08);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background: #f8fbfd;
}
.related-doctor-card strong,
.related-doctor-card span {
  display: block;
}
.related-doctor-card span {
  color: #607283;
  margin-top: 4px;
}
.server-doctor-grid .dc-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f4fb;
  font-size: 36px;
}
@media (max-width: 768px) {
  .doctor-profile-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .profile-strengths {
    columns: 1;
  }
}
