/* ============================================
   DR. DEEPAK KUMAR MISHRA — PORTFOLIO
   Professional Medical Portfolio
   Clean · Editorial · Authoritative
   ============================================ */

/* ---- DESIGN TOKENS — LIGHT THEME (default) ---- */
:root {
  /* Palette */
  --bg:           #f7f5f2;
  --bg-alt:       #ede8e1;
  --bg-card:      #ffffff;
  --nav-bg:       rgba(247, 245, 242, 0.94);
  --drawer-bg:    rgba(247, 245, 242, 0.98);
  --sticky-bg:    rgba(247, 245, 242, 0.98);

  --border:       rgba(0,0,0,0.08);
  --border-med:   rgba(0,0,0,0.14);

  --red:          #b82e20;
  --red-hover:    #9e261a;
  --red-subtle:   rgba(184,46,32,0.08);
  --red-border:   rgba(184,46,32,0.22);

  --text-primary:    #181e29;
  --text-secondary:  #475569;
  --text-muted:      #788497;
  --text-white:      #181e29;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-padding: clamp(3.25rem, 5.5vw, 4.75rem);
  --container-max:   1160px;
  --container-px:    clamp(1.25rem, 4vw, 2rem);

  /* Misc */
  --radius:    10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --shadow:    0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.10);
}

/* ---- DESIGN TOKENS — DARK THEME ---- */
[data-theme="dark"] {
  --bg:           #0a0f1a;
  --bg-alt:       #0e1525;
  --bg-card:      #111b2e;
  --nav-bg:       rgba(10, 15, 26, 0.95);
  --drawer-bg:    rgba(10, 15, 26, 0.98);
  --sticky-bg:    rgba(10, 15, 26, 0.98);

  --border:       rgba(255,255,255,0.08);
  --border-med:   rgba(255,255,255,0.12);

  --red:          #c0392b;
  --red-hover:    #a93226;
  --red-subtle:   rgba(192,57,43,0.1);
  --red-border:   rgba(192,57,43,0.2);

  --text-primary:    #f0f2f5;
  --text-secondary:  #8b9bb4;
  --text-muted:      #5a6a82;
  --text-white:      #ffffff;

  --shadow:    0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
}

.hero-stats {
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.exp-card,
.location-card,
.visit-guide,
.contact-row,
.credentials-table,
.affil-card,
.hero-affiliation-cards,
.award-fig,
.gallery-fig {
  background: var(--bg-card);
}
.xray-card {
  background: #0d131f;
}

/* Smooth theme transitions */
*, *::before, *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}


/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }

/* ---- LAYOUT UTILITIES ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section { padding: var(--section-padding) 0; }

/* ---- NOTICE BAR ---- */
.notice-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.38rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.notice-bar strong { font-weight: 700; }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand-icon {
  width: 20px; height: 20px;
  stroke: var(--red);
  flex-shrink: 0;
}
.nav-brand-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.2;
}
.nav-brand-text span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--border);
}
.nav-cta {
  flex-shrink: 0;
  padding: 0.55rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--red-hover); }

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-med);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--red);
  color: var(--red);
  transform: rotate(15deg);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 95;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- MOBILE DRAWER ---- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: var(--drawer-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(68px + 2rem) 1.5rem 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
body:has(.mobile-drawer.open) .sticky-cta,
body:has(.mobile-drawer.open) .wa-float {
  opacity: 0;
  pointer-events: none;
}
.drawer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  width: 100%;
  max-width: 280px;
  text-align: center;
  margin: auto 0;
}
.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  padding: 0.2rem 1rem;
  transition: color var(--transition), transform var(--transition);
}
.drawer-link:hover, .drawer-link:active {
  color: var(--red);
  transform: scale(1.05);
}
.drawer-cta {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: #25d366;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--transition);
}
.drawer-cta:hover {
  background: #1ebe5d;
}

/* ---- HERO ---- */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 1.5rem;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ECG Divider — removed */


/* Kicker */
.hero-kicker-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0;
  padding: 0.25rem 0.75rem;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  border-radius: 100px;
}
.kicker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: kicker-pulse 2s infinite ease-in-out;
}
@keyframes kicker-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}
.hero-qualifications {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}
.hero-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 1.25rem;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.stat { display: flex; flex-direction: column; gap: 0.1rem; }
.stat strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}
.stat span { font-size: 0.67rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 28px; background: var(--border-med); flex-shrink: 0; }

/* Buttons */
.hero-actions { display: flex; gap: 0.75rem; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--red);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.btn-primary.btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}
.btn-primary.btn-wa:hover {
  background: #1ebe5d;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.42);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--border-med);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.btn-ghost svg {
  transition: transform var(--transition);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-subtle);
  transform: translateY(-1px);
}
.btn-ghost:hover svg {
  transform: translateX(3px);
}

/* Hero Image Column */
.hero-image-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.hero-image-col::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(184, 46, 32, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
[data-theme="dark"] .hero-image-col::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
}

.hero-figure {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  height: 440px;
  box-shadow: var(--shadow);
}
.hero-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.hero-figure:hover img {
  transform: scale(1.015);
}


/* Affiliation Badge Strip */
.hero-affiliation-cards {
  display: flex;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.affil-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
  border-right: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition);
}
.affil-card:last-child { border-right: none; }
.affil-card:hover { 
  background: rgba(184, 46, 32, 0.04);
}
[data-theme="dark"] .affil-card:hover {
  background: rgba(255, 255, 255, 0.04);
}
.affil-card svg { stroke: var(--red); flex-shrink: 0; width: 15px; height: 15px; transition: transform var(--transition); }
.affil-card:hover svg { transform: scale(1.15); }
.affil-card strong { display: block; font-size: 0.76rem; font-weight: 700; color: var(--text-white); line-height: 1.2; white-space: nowrap; }
.affil-card span { font-size: 0.62rem; color: var(--text-muted); white-space: nowrap; }

/* Institution Strip */
.institution-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
  position: relative;
}
.strip-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.strip-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: center;
}
.strip-inner span {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.strip-inner .sep { color: var(--text-muted); font-size: 0.7rem; flex-shrink: 0; }
.strip-clone { display: none; }

/* ---- SECTION TYPOGRAPHY ---- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.75rem;
  display: block;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.section-subheading {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}
.section-intro { margin-bottom: 3rem; }
.section-intro.centered { text-align: center; }
.section-intro.centered .section-subheading { margin: 0 auto; }

/* ---- ABOUT ---- */
.about { background: var(--bg-alt); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.about-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(10, 15, 26, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.media-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e74c3c;
  box-shadow: 0 0 6px #e74c3c;
}
.about-figure img {
  height: 480px;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}
.about-figure figcaption {
  padding: 0.8rem 1.15rem;
  background: var(--bg-card);
  font-size: 0.76rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-style: italic;
}

.about-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.about-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Credentials Table */
.credentials-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.cred-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--border);
}
.cred-row:last-child { border-bottom: none; }
.cred-label {
  padding: 0.75rem 1rem;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.cred-value {
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-card);
  display: flex;
  align-items: center;
}

.about-locations-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--red);
  transition: transform var(--transition), color var(--transition);
}
.about-locations-link:hover {
  color: var(--red-hover);
  transform: translateX(4px);
}

/* ---- EXPERTISE ---- */
.expertise { background: var(--bg); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.exp-card {
  background: var(--bg-card);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  position: relative;
  transition: background var(--transition), box-shadow var(--transition);
}
.exp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity var(--transition);
}
.exp-card:hover {
  background: var(--bg-card);
}
.exp-card:hover::before {
  opacity: 1;
}
.exp-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--border-med);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
  transition: color var(--transition), transform var(--transition);
  min-width: 36px;
}
.exp-card:hover .exp-number {
  color: var(--red);
  transform: translateY(-2px);
}
.exp-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.4rem;
  display: block;
}
.exp-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.exp-body p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.7; }

/* Clinic Services Bar */
.clinic-services-bar {
  padding: 1.15rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.clinic-services-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.clinic-services-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.clinic-services-tags span {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border-med);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ---- RECOGNITION ---- */
.recognition { background: var(--bg-alt); }
.recognition-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Award Photos */
.award-fig { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.award-fig.main { margin-bottom: 1rem; }
.award-fig.main img { height: 340px; width: 100%; object-fit: cover; }
.award-fig-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.award-fig-row .award-fig img { height: 190px; width: 100%; object-fit: cover; object-position: top; }
.award-fig figcaption {
  padding: 0.65rem 0.85rem;
  background: var(--bg-card);
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* Achievement List */
.achievement-list { display: flex; flex-direction: column; }
.achievement-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.achievement-item:last-child { border-bottom: none; padding-bottom: 0; }
.ach-year {
  flex-shrink: 0;
  width: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  padding-top: 0.2rem;
  text-align: right;
}
.ach-detail h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.ach-detail p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.ach-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.ach-tags span {
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border-med);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- GALLERY ---- */
.gallery { background: var(--bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-fig {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--bg-card);
}
.gallery-fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-fig:hover img { transform: scale(1.03); }
.gallery-fig.large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-fig figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(10,15,26,0.92) 0%, rgba(10,15,26,0.5) 60%, transparent 100%);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-fig:hover figcaption { opacity: 1; transform: translateY(0); }
.fig-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.3rem;
}

/* X-Ray Card */
.gallery-fig.xray-card { cursor: default; }
.gallery-fig.xray-card:hover img { transform: none; }
.xray-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: calc(100% - 48px);
}
.xray-cell {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
.xray-cell:last-child { border-right: none; }
.xray-cell img { width: 100%; height: 100%; object-fit: cover; }
.xray-cell span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.35rem 0.5rem;
  background: rgba(10,15,26,0.85);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.gallery-fig.xray-card figcaption {
  position: relative;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  opacity: 1;
  transform: none;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ---- LOCATIONS ---- */
.locations { background: var(--bg-alt); }
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.location-card.primary {
  border-color: var(--red-border);
  background: linear-gradient(160deg, rgba(192,57,43,0.04) 0%, var(--bg-card) 60%);
}
.loc-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.location-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.loc-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.loc-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1.15rem;
  margin-bottom: 1.5rem;
}
.loc-details dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding-top: 0.1rem;
}
.loc-details dd {
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.55;
}
.loc-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.loc-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-med);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.loc-link:hover { color: var(--text-white); border-color: rgba(255,255,255,0.3); }

/* ---- CONTACT ---- */
.contact { background: var(--bg); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { background: rgba(255,255,255,0.03); }
.contact-row-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 130px;
}
.contact-row-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
}

/* Visit Guide */
.visit-guide {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.visit-guide h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}
.visit-guide > p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.45;
}
.checklist li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: var(--red-subtle);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23c0392b' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- FOOTER ---- */
/* ---- FOOTER ---- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.footer-brand svg { color: var(--red); flex-shrink: 0; }
.footer-brand strong { font-size: 1.05rem; font-weight: 700; color: var(--text-white); }
.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.footer-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
}
.footer-wa-pill:hover {
  background: #25d366;
  color: #fff;
}
.footer-nav-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-nav, .footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-nav a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--text-white); }
.footer-loc-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}
.footer-loc-item strong {
  font-size: 0.82rem;
  color: var(--text-white);
  font-weight: 600;
}
.footer-loc-item span, .footer-loc-item a {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.footer-loc-item a:hover { color: var(--text-white); }
.footer-email {
  font-size: 0.78rem;
  color: var(--red);
  font-weight: 500;
  margin-top: 0.25rem;
}
.footer-disclaimer-wrap {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.footer-disclaimer {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 820px;
}
.footer-disclaimer strong {
  color: var(--text-secondary);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer-sub-bottom {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ---- STICKY MOBILE CTA ---- */
.sticky-cta {
  display: none !important;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  padding: 0.75rem;
  background: var(--sticky-bg);
  border-top: 1px solid var(--border);
  gap: 0.75rem;
  backdrop-filter: blur(12px);
}
.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition);
}
.sticky-btn.primary { background: var(--red); color: #fff; }
.sticky-btn.primary:hover { background: var(--red-hover); }
.sticky-btn.secondary { border: 1px solid var(--border-med); color: var(--text-primary); }
.sticky-btn.secondary:hover { background: rgba(255,255,255,0.05); }
.sticky-btn.wa {
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.sticky-btn.wa::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}
.sticky-btn.wa:hover { background: #1ebe5d; }

/* ---- WHATSAPP FLOAT BUTTON ---- */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 1.75rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.wa-float svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* Pulse ring */
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: wa-ring 2.2s ease-out infinite;
}
@keyframes wa-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip */
.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #111;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ---- IMAGE LIGHTBOX MODAL ---- */
.gallery-fig img, .award-fig img, .xray-cell img {
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.gallery-fig:hover img, .xray-cell:hover img {
  transform: scale(1.02);
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}
.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}
.lightbox-caption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: #f0f2f5;
  text-align: center;
  max-width: 600px;
  font-weight: 500;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: -0.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.lightbox-close:hover {
  color: var(--red);
  transform: scale(1.15);
}

/* On mobile — hide float button because sticky bar handles WhatsApp directly */
@media (max-width: 768px) {
  .wa-float {
    display: none;
  }
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ==============================
   RESPONSIVE — TABLET (≤1024px)
   ============================== */
@media (max-width: 1024px) {
  /* Hero: stack to single column, image on top */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 0;
  }
  .hero-image-col { order: -1; }
  .hero-figure {
    height: 320px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .hero-affiliation-cards { grid-template-columns: repeat(3, 1fr); }
  .hero-content { padding: 0.5rem 0 0; }

  /* About */
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .about-figure img { height: 360px; }

  /* Expertise */
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }

  /* Recognition */
  .recognition-layout { grid-template-columns: 1fr; gap: 2rem; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-fig.large { grid-column: span 2; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: span 2; }
}

/* ==============================
   RESPONSIVE — MOBILE (≤768px)
   ============================== */
@media (max-width: 768px) {
  :root { --section-padding: 2.75rem; }

  /* NAV */
  .nav { height: 60px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 1rem; }
  .nav-brand-text strong { font-size: 0.85rem; }
  .nav-brand-text span { font-size: 0.62rem; }

  /* NOTICE BAR */
  .notice-bar { font-size: 0.72rem; padding: 0.35rem 0.75rem; line-height: 1.35; }

  /* HERO — Framed portrait card */
  .hero { padding: 1rem 0 1.25rem; }
  .hero-inner { gap: 1.25rem; padding: 0 1rem; }
  .hero-image-col {
    order: -1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
  }
  .hero-figure {
    height: 290px;
    border-radius: 0;
  }
  .hero-figure img {
    object-position: top center;
  }
  .hero-affiliation-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--border);
  }
  .affil-card { padding: 0.55rem 0.5rem; gap: 0.35rem; justify-content: center; }
  .affil-card strong { font-size: 0.68rem; }
  .affil-card span { display: none; }
  .affil-card svg { width: 13px; height: 13px; }

  .hero-content { padding: 0; }
  .hero-kicker-wrap { margin-bottom: 0.5rem; }
  .hero-kicker { font-size: 0.66rem; padding: 0.2rem 0.6rem; }
  .hero-title { font-size: 1.85rem; line-height: 1.15; margin-bottom: 0.35rem; }
  .hero-qualifications { font-size: 0.78rem; margin-bottom: 0.75rem; }
  .hero-desc { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }

  /* STATS — horizontal compact row */
  .hero-stats {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    margin-bottom: 1.25rem;
  }
  .stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.65rem 0.35rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
  }
  .stat:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .stat:last-child  { border-radius: 0 var(--radius) var(--radius) 0; border-left: none; }
  .stat:not(:first-child):not(:last-child) { border-left: none; }
  .stat strong { font-size: 0.95rem; line-height: 1.1; }
  .stat span { font-size: 0.58rem; line-height: 1.2; text-align: center; margin-top: 2px; }
  .stat-divider { display: none; }

  /* BUTTONS */
  .hero-actions { flex-direction: column; gap: 0.5rem; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; font-size: 0.9rem; padding: 0.7rem 1.25rem; }

  /* INSTITUTION STRIP — Infinite smooth ticker on mobile */
  .institution-strip {
    padding: 0.85rem 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  }
  .strip-track {
    display: flex;
    justify-content: flex-start;
    width: max-content;
    animation: strip-marquee 25s linear infinite;
    will-change: transform;
  }
  .strip-track:hover,
  .strip-track:active {
    animation-play-state: paused;
  }
  .strip-inner {
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0.85rem;
    flex-shrink: 0;
  }
  .strip-clone {
    display: flex;
  }
  .strip-inner span { font-size: 0.72rem; }

  @keyframes strip-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* ABOUT */
  .about-figure img { height: 260px; }
  .credentials-table { font-size: 0.78rem; }
  .cred-row { grid-template-columns: 1fr; }
  .cred-label { border-right: none; border-bottom: 1px solid var(--border); padding: 0.5rem 0.75rem; font-size: 0.7rem; }
  .cred-value { padding: 0.6rem 0.75rem; font-size: 0.8rem; }

  /* EXPERTISE */
  .expertise-grid { grid-template-columns: 1fr; border-radius: var(--radius); }
  .exp-card { padding: 1.25rem; flex-direction: row; gap: 0.85rem; align-items: flex-start; }
  .exp-number { font-size: 1.35rem; min-width: 24px; }
  .exp-body h3 { font-size: 0.9rem; }
  .exp-body p { font-size: 0.8rem; line-height: 1.55; }
  .clinic-services-bar { flex-direction: column; align-items: flex-start; gap: 0.65rem; padding: 1rem; }

  /* RECOGNITION */
  .award-fig-row { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .award-fig.main img { height: 200px; }
  .award-fig-row .award-fig img { height: 140px; }
  .achievement-item { gap: 0.85rem; padding: 1.1rem 0; }
  .ach-year { width: 38px; font-size: 0.65rem; }
  .ach-detail h3 { font-size: 0.88rem; }
  .ach-detail p { font-size: 0.78rem; }

  /* GALLERY */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 1px;
  }
  .gallery-fig.large { grid-column: span 2; grid-row: span 1; }
  .gallery-fig figcaption { display: none; }
  .xray-grid { height: 100%; }

  /* LOCATIONS */
  .locations-grid { grid-template-columns: 1fr; gap: 1rem; }
  .location-card { padding: 1.5rem; }
  .location-card h3 { font-size: 1.15rem; }
  .loc-details { grid-template-columns: 85px 1fr; gap: 0.4rem 0.85rem; }

  /* CONTACT */
  .contact-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 0.75rem 0.85rem; }
  .contact-row-label { width: auto; font-size: 0.68rem; }
  .contact-row-value { font-size: 0.95rem; font-weight: 600; color: var(--text-white); }
  .visit-guide { padding: 1.5rem; }

  /* FOOTER */
  .footer { padding: 2.5rem 0 1.5rem; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.25rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.25rem;
  }
  .footer-brand-col { grid-column: span 2; }
  .footer-nav, .footer-contact-col { flex-direction: column; gap: 0.45rem; }
  .footer-nav a, .footer-loc-item span { font-size: 0.78rem; }
  .footer-nav-heading { margin-bottom: 0.5rem; }

  /* STICKY CTA */
  .sticky-cta {
    display: none;
    padding: 0.6rem 0.85rem;
    gap: 0.5rem;
  }
  .sticky-cta.is-visible {
    display: flex !important;
  }
  .sticky-btn {
    padding: 0.7rem 0.5rem;
    font-size: 0.82rem;
  }
  body:has(.sticky-cta.is-visible) { padding-bottom: 64px; }
}

/* ==============================
   RESPONSIVE — SMALL (≤480px)
   ============================== */
@media (max-width: 480px) {
  /* HERO */
  .hero-title { font-size: 1.65rem; line-height: 1.15; }
  .hero-figure { height: 270px; }
  .hero-figure img { object-position: top center; }

  /* STATS */
  .stat strong { font-size: 0.88rem; }
  .stat span { font-size: 0.54rem; }

  /* EXPERTISE */
  .exp-card { flex-direction: column; gap: 0.35rem; }
  .exp-number { font-size: 1.15rem; }

  /* GALLERY */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-fig.large { grid-column: span 1; }
  .xray-grid { grid-template-columns: repeat(3, 1fr); }

  /* RECOGNITION */
  .award-fig.main img { height: 170px; }
  .award-fig-row .award-fig img { height: 120px; }

  /* CONTACT */
  .visit-guide h3 { font-size: 1.05rem; }
  .checklist li { font-size: 0.78rem; }

  /* AFFIL CARDS */
  .affil-card { padding: 0.45rem 0.3rem; }
  .affil-card strong { font-size: 0.6rem; }
}
