/* =====================================================
   MANJU MULTI SPECIALITY DENTAL & IMPLANT CENTER
   Modern Medical Design System v4.0
   Palette: Deep Midnight Navy, Clinical Sapphire (#0284C7),
            Sky Cyan (#0EA5E9), Surgical Teal (#0D9488)
   Typography: Outfit (Headings) & Plus Jakarta Sans (Body)
   ===================================================== */

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

:root {
  /* Brand Palette from logo.svg */
  --primary-navy:   #0B1727;
  --navy-surface:   #112239;
  --primary-blue:   #0284C7;
  --primary-blue-h: #0369A1;
  --sky-cyan:       #0EA5E9;
  --primary-teal:   #0D9488;
  --primary-teal-h: #0F766E;
  --accent-gold:    #D97706;
  --gold-light:     #FEF3C7;

  /* Surfaces & Backgrounds */
  --bg-main:        #F8FAFC;
  --bg-white:       #FFFFFF;
  --bg-subtle:      #F1F5F9;
  --bg-card:        #FFFFFF;
  --bg-soft-blue:   #F0F9FF;
  --bg-soft-teal:   #F0FDFA;
  --bg-soft-gray:   #F8FAFC;

  /* Text & Contrast */
  --text-primary:   #0F172A;
  --text-body:      #334155;
  --text-muted:     #64748B;
  --text-light:     #94A3B8;

  /* Borders & Dividers */
  --border-card:    #E2E8F0;
  --border-subtle:  #CBD5E1;
  --border-focus:   rgba(2, 132, 199, 0.4);

  /* Shadows */
  --shadow-xs:      0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm:      0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-card:    0 4px 20px -2px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-hover:   0 16px 36px -6px rgba(2, 132, 199, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-btn:     0 4px 14px -2px rgba(2, 132, 199, 0.35);

  /* Typography */
  --font-display:   'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:     'Outfit', sans-serif;

  /* Sizing & Layout */
  --max-w:          1220px;
  --header-h:       76px;
  --r-sm:           6px;
  --r-md:           12px;
  --r-lg:           16px;
  --r-xl:           22px;
  --r-2xl:          30px;
  --r-full:         9999px;

  /* Transitions */
  --ease:           cubic-bezier(0.22, 1, 0.36, 1);
  --dur:            0.26s;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--primary-navy);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.serif-italic {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

/* Eyebrows & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: var(--bg-soft-blue);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-teal);
  background: var(--bg-soft-teal);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-blue);
  flex-shrink: 0;
}

.eyebrow-pill .eyebrow-dot {
  background: var(--primary-teal);
}

/* Containers & Sections */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-intro p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--primary-navy);
  color: #CBD5E1;
  font-size: 0.8125rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #CBD5E1;
  font-weight: 500;
  font-size: 0.8125rem;
}

.topbar-item svg {
  color: var(--sky-cyan);
  flex-shrink: 0;
}

.topbar-link {
  color: #FFFFFF;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
}

.topbar-link:hover {
  color: var(--sky-cyan);
}

.topbar-link svg {
  color: var(--sky-cyan);
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.25);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: #5EEAD4;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2DD4BF;
  animation: pulse-live 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* ============ HEADER & NAVIGATION ============ */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  transition: all var(--dur) var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.9;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1.5px solid rgba(2, 132, 199, 0.2);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.02);
}

.logo-info {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--primary-blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  transition: color var(--dur), background var(--dur);
  padding: 8px 14px;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
  background: var(--bg-soft-blue);
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-chevron {
  transition: transform 0.2s var(--ease);
}

.nav-item:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -20px;
  width: 320px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s var(--ease);
  pointer-events: none;
  z-index: 120;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  transition: background var(--dur);
}

.dropdown-item:hover {
  background: var(--bg-soft-blue);
}

.drop-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-soft-blue);
  border: 1px solid rgba(2, 132, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-blue);
  transition: all 0.2s;
}

.dropdown-item:hover .drop-icon-wrap {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
}

.drop-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.drop-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all var(--dur);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ MOBILE DRAWER ============ */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 23, 39, 0.6);
  backdrop-filter: blur(4px);
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

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

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 140;
  box-shadow: -8px 0 40px rgba(11, 23, 39, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  right: 0;
}

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

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}

.drawer-close-btn:hover {
  background: var(--border-card);
  color: var(--primary-navy);
}

.mobile-links {
  padding: 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-navy);
  border-radius: var(--r-md);
  transition: background var(--dur), color var(--dur);
}

.mobile-link:hover, .mobile-link.active {
  background: var(--bg-soft-blue);
  color: var(--primary-blue);
}

.mobile-drawer-footer {
  padding: 0.85rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.mobile-drawer-footer .btn {
  padding: 9px 16px;
  font-size: 0.8125rem;
}

.mobile-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mobile-info-row svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r-full);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-h) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px -2px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -2px rgba(2, 132, 199, 0.5);
}

.btn-teal {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-h) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px -2px rgba(13, 148, 136, 0.4);
}

.btn-teal:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -2px rgba(13, 148, 136, 0.5);
}

.btn-outline {
  background: var(--bg-white);
  color: var(--primary-navy);
  border: 1.5px solid var(--border-card);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: var(--bg-soft-blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-whatsapp {
  background: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn-whatsapp:hover {
  background: #15803D;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
}

.btn svg {
  flex-shrink: 0;
}

/* ============ HERO SECTION ============ */
.hero-stage {
  position: relative;
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 5rem;
  background: #FFFFFF;
  overflow: hidden;
  border-bottom: 1px solid var(--border-card);
}

.hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 85% 40%, rgba(224, 242, 254, 0.7) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 10% 80%, rgba(204, 251, 241, 0.5) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-title {
  font-size: clamp(2.5rem, 4.2vw, 3.85rem);
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-desc strong {
  color: var(--primary-navy);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  color: var(--primary-navy);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s var(--ease);
}

.hero-trust-item:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg-soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-blue);
}

/* Doctor Hero Card */
.doctor-hero-card {
  background: #FFFFFF;
  border: 1px solid rgba(2, 132, 199, 0.16);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 16px 40px -10px rgba(11, 23, 39, 0.12), 0 0 0 1px rgba(2, 132, 199, 0.06);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
  max-width: 410px;
  margin-left: auto;
}

.doctor-hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -12px rgba(2, 132, 199, 0.2), 0 0 0 1px rgba(2, 132, 199, 0.12);
}

.doctor-photo-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0B1727;
  overflow: hidden;
}

.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s var(--ease);
}

.doctor-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 23, 39, 0) 55%, rgba(11, 23, 39, 0.65) 100%);
  pointer-events: none;
}

.doctor-hero-card:hover .doctor-photo-wrap img {
  transform: scale(1.04);
}

.doctor-verified-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(11, 23, 39, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.verified-check {
  width: 14px;
  height: 14px;
  background: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor-details-box {
  padding: 1.5rem;
}

.doctor-details-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary-navy);
}

.doc-speciality {
  font-size: 0.8125rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.doc-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--border-card);
  font-size: 0.8125rem;
}

.doc-info-row span:first-child {
  color: var(--text-muted);
}

.doc-info-row span:last-child {
  color: var(--primary-navy);
  font-weight: 700;
}

.doc-cta {
  margin-top: 1.25rem;
}

/* ============ STATS STRIP ============ */
.stats-strip {
  background: var(--primary-navy);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 2.75rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2.65rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 7px;
  letter-spacing: -0.025em;
}

.stat-val span {
  color: var(--sky-cyan);
}

.stat-label {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ============ CORE SPECIALITIES / SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(2, 132, 199, 0.3);
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
}

.service-card.featured::before {
  background: linear-gradient(90deg, var(--primary-blue), var(--sky-cyan));
}

.service-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-soft-blue);
  border: 1px solid rgba(2, 132, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  margin-bottom: 1.25rem;
  transition: all 0.3s var(--ease);
}

.service-card:hover .service-icon-wrap {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-card);
  flex-grow: 1;
}

.service-feature {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-soft-teal);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.service-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s var(--ease), color 0.2s;
}

.service-link:hover {
  gap: 8px;
  color: var(--primary-blue-h);
}

.service-consult-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============ SPECIALITY DIRECTORY (services.html) STYLES ============ */
.service-search-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-search-input-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  display: flex;
  align-items: center;
}

.service-search-icon {
  position: absolute;
  left: 18px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.service-search-icon svg {
  width: 18px;
  height: 18px;
}

.service-search-input {
  width: 100%;
  padding: 14px 48px 14px 48px;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-full);
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all 0.2s;
}

.service-search-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.service-search-clear {
  position: absolute;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.service-search-clear:hover {
  background: var(--border-card);
  color: var(--primary-navy);
}

.service-stats-counter {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Category Filter Pills on services.html */
.spec-filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.spec-filter-btn {
  padding: 9px 18px;
  border-radius: var(--r-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all 0.22s var(--ease);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.spec-filter-btn:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: var(--bg-soft-blue);
  transform: translateY(-1px);
}

.spec-filter-btn.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(11, 23, 39, 0.2);
}

/* Grid of Simple Service Cards */
.simple-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.simple-service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
}

.simple-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(2, 132, 199, 0.3);
}

.simple-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.simple-card-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: var(--bg-soft-blue);
  padding: 4px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
}

.simple-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
}

.simple-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.simple-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.simple-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-card);
}

.simple-card-cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.simple-card-cta:hover {
  gap: 8px;
  color: var(--primary-blue-h);
}

.simple-card-wa {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16A34A;
  background: #DCFCE7;
  padding: 4px 10px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}

.simple-card-wa:hover {
  background: #BBF7D0;
}

/* ============ CLINIC GALLERY SECTION ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card--wide  { grid-column: span 8; grid-row: span 2; }
.gallery-card--tall  { grid-column: span 4; grid-row: span 2; }
.gallery-card--half  { grid-column: span 4; }
.gallery-card--third { grid-column: span 4; }
.gallery-card--six   { grid-column: span 6; }
.gallery-card--span8 { grid-column: span 8; }

.mobile-gallery-hint {
  display: none;
}

.photo-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(11, 23, 39, 0.88) 0%, transparent 100%);
  color: #FFFFFF;
}

.photo-tag {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sky-cyan);
  margin-bottom: 3px;
}

.photo-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
}

/* ============ REVIEWS SECTION ============ */
.reviews-filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.review-pill {
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.22s var(--ease);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.review-pill:hover, .review-pill.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
}

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

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(2, 132, 199, 0.25);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.9375rem;
  letter-spacing: 2px;
}

.review-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--bg-soft-blue);
  color: var(--primary-blue);
  padding: 4px 10px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-body);
  flex: 1;
}

.review-patient-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-card);
}

.patient-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.avatar-blue  { background: linear-gradient(135deg, #0284C7, #0369A1); }
.avatar-teal  { background: linear-gradient(135deg, #0D9488, #0F766E); }
.avatar-amber { background: linear-gradient(135deg, #D97706, #B45309); }

.patient-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.patient-meta {
  font-size: 0.75rem;
  color: var(--primary-blue);
  font-weight: 600;
  margin-top: 2px;
}

/* ============ BOOKING & CONTACT FORM ============ */
.booking-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-hover);
  max-width: 980px;
  margin: 0 auto;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.booking-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.booking-info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.booking-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.booking-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.booking-detail-item svg {
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.booking-detail-item strong {
  color: var(--primary-navy);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: all var(--dur);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-blue);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

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

/* ============ FOOTER ============ */
.footer {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 5rem 0 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.75;
  max-width: 320px;
  margin-top: 1.25rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-wrap .logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.footer-logo-sub {
  font-size: 0.65rem;
  color: var(--sky-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col h4 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: #94A3B8;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-links a:hover {
  color: var(--sky-cyan);
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-hours-row span:first-child {
  color: #94A3B8;
}

.footer-hours-row span:last-child {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sky-cyan);
  margin-top: 0.85rem;
  transition: color 0.2s;
}

.footer-maps-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: #64748B;
}

/* ============ MOBILE BOTTOM BAR ============ */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-top: 1px solid var(--border-card);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(11, 23, 39, 0.1);
  z-index: 99;
}

.dock-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: var(--r-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dock-btn svg {
  width: 16px;
  height: 16px;
}

.dock-wa   { background: #16A34A; color: #FFFFFF; }
.dock-call { background: var(--bg-subtle); color: var(--primary-navy); border: 1px solid var(--border-card); }
.dock-book { background: var(--primary-blue); color: #FFFFFF; }

/* ============ SUBPAGE HERO & BREADCRUMBS ============ */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-card);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 95% 50%, rgba(224, 242, 254, 0.7) 0%, transparent 65%),
              radial-gradient(ellipse 40% 60% at 5% 80%, rgba(204, 251, 241, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.page-hero p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary-blue);
}

.breadcrumb-sep {
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--primary-navy);
  font-weight: 600;
}

/* ============ FAQ ACCORDION ============ */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover, .faq-item.open {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 4px 16px -4px rgba(2, 132, 199, 0.08);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-soft-blue);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary-blue);
  color: #FFFFFF;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-a-inner {
  padding: 0 1.4rem 1.25rem;
}

/* ============ ABOUT & SUBPAGE COMPONENT GRIDS ============ */
.about-doctor-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.about-credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mds-diff-banner {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.subpage-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

/* ============ RESPONSIVE BREAKPOINTS ============ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn-outline { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .doctor-hero-card { margin: 0 auto; max-width: 480px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .simple-services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 200px; }
  .about-doctor-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-doctor-grid .doctor-hero-card { max-width: 440px; margin: 0 auto; }
  .mds-diff-banner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .subpage-split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px; /* Safe space for fixed bottom mobile action bar */
  }
  .container {
    padding: 0 1.25rem;
  }
  .topbar {
    padding: 6px 0;
  }
  .topbar-left { display: none; }
  .topbar-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .status-pill {
    font-size: 0.6875rem;
    padding: 2px 8px;
    white-space: nowrap;
  }
  .topbar-link {
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .header {
    height: 60px;
  }
  .nav-actions .btn {
    display: none !important; /* Prevents button overflow so logo & hamburger fit comfortably */
  }
  .nav-logo {
    gap: 8px;
  }
  .logo-badge {
    width: 36px;
    height: 36px;
  }
  .logo-name {
    font-size: 0.82rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }
  .logo-sub {
    display: block;
    font-size: 0.52rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
  }
  .hero-stage {
    padding-top: calc(60px + 1.75rem);
    padding-bottom: 3rem;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    line-height: 1.18;
    word-break: break-word;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }
  .hero-trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .hero-trust-item {
    font-size: 0.75rem;
    padding: 8px 10px;
  }
  .eyebrow, .eyebrow-pill {
    max-width: 100%;
    white-space: normal;
    font-size: 0.6875rem;
    line-height: 1.35;
    padding: 5px 12px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .simple-services-grid { grid-template-columns: 1fr; }
  .about-credentials-grid { grid-template-columns: 1fr; gap: 1rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .mobile-gallery-hint {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    background: var(--bg-soft-blue);
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 7px 16px;
    border-radius: var(--r-full);
    max-width: fit-content;
    margin: 0 auto 1.5rem;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
  }

  .gallery-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding: 8px 1.25rem 24px !important;
    margin: 0 -1.25rem !important;
    scrollbar-width: none !important;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none !important;
  }

  .gallery-card {
    flex: 0 0 82% !important;
    min-width: 280px !important;
    max-width: 340px !important;
    height: 340px !important;
    scroll-snap-align: center !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 30px -6px rgba(11, 23, 39, 0.16) !important;
    border: 1px solid rgba(2, 132, 199, 0.14) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .gallery-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .photo-caption-overlay {
    position: absolute !important;
    inset: auto 0 0 0 !important;
    padding: 2.5rem 1.25rem 1.25rem !important;
    background: linear-gradient(180deg, rgba(11, 23, 39, 0) 0%, rgba(11, 23, 39, 0.75) 45%, rgba(11, 23, 39, 0.96) 100%) !important;
    color: #FFFFFF !important;
    z-index: 2 !important;
  }

  .photo-tag {
    display: inline-block !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    color: #38BDF8 !important;
    background: rgba(2, 132, 199, 0.25) !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    padding: 4px 10px !important;
    border-radius: 9999px !important;
    margin-bottom: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
  }

  .photo-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    line-height: 1.35 !important;
  }

  .stat-item { padding: 1.75rem 1rem; }
  .mobile-action-bar { display: block; }
  .footer { padding-bottom: 5rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .booking-card { padding: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .section-intro { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
  :root { --header-h: 58px; }
  .container {
    padding: 0 1rem;
  }
  .topbar-right {
    justify-content: center;
  }
  .topbar-right .topbar-link {
    display: none;
  }
  .hero-trust-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-card {
    flex: 0 0 86% !important;
    min-width: 270px !important;
    height: 320px !important;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .doctor-details-box {
    padding: 1.2rem;
  }
  .doc-cta {
    grid-template-columns: 1fr;
  }
  .doc-info-row {
    font-size: 0.75rem;
  }
}

/* ============ CLINICIAN TEAM & DUAL DOCTORS ============ */
.doc-card-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-card);
  padding: 5px;
  gap: 6px;
}
.doc-tab-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}
.doc-tab-btn strong {
  font-size: 0.8125rem;
  color: var(--primary-navy);
}
.doc-tab-btn.active {
  background: #FFFFFF;
  border-color: var(--border-card);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.doc-tab-btn.active strong {
  color: var(--primary-blue);
}
.doc-profile-panel {
  display: none;
}
.doc-profile-panel.active {
  display: block;
}

.doctors-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 860px) {
  .doctors-duo-grid {
    grid-template-columns: 1fr;
  }
}

/* Clinical case tags */
.photo-tag.tag-cases {
  background: rgba(16, 185, 129, 0.95);
  color: #FFFFFF;
}
.photo-tag.tag-implants {
  background: rgba(2, 132, 199, 0.95);
  color: #FFFFFF;
}
.photo-tag.tag-prostho {
  background: rgba(99, 102, 241, 0.95);
  color: #FFFFFF;
}
.photo-tag.tag-maxillo {
  background: rgba(217, 119, 6, 0.95);
  color: #FFFFFF;
}

