/* ============================================================
   BAWEJA MULTISPECIALITY HOSPITAL — CHANDIGARH
   Premium Website Stylesheet
   bmhchandigarh.com
   ============================================================ */

/* ============================================================
   01. GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   02. DESIGN TOKENS
   ============================================================ */
:root {
  --primary:         #0A1F44;
  --primary-mid:     #0D2B5E;
  --primary-light:   #1A3F7A;
  --secondary:       #0E7490;
  --secondary-light: #22A8C8;
  --accent:          #C9973B;
  --accent-light:    #E8B84B;
  --accent-dark:     #A67A28;
  --teal-green:      #0D6B5E;
  --light-bg:        #F4F8FF;
  --light-bg-2:      #EBF4FF;
  --text:            #0F172A;
  --text-mid:        #334155;
  --text-light:      #64748B;
  --text-muted:      #94A3B8;
  --white:           #FFFFFF;
  --border:          #E2EBF5;
  --border-light:    #F1F5F9;
  --success:         #059669;
  --glass:           rgba(255,255,255,0.08);
  --glass-border:    rgba(255,255,255,0.15);

  --shadow-sm: 0 2px 8px rgba(10,31,68,0.08);
  --shadow-md: 0 8px 32px rgba(10,31,68,0.12);
  --shadow-lg: 0 20px 60px rgba(10,31,68,0.18);
  --shadow-xl: 0 30px 80px rgba(10,31,68,0.25);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition-fast: all 0.2s cubic-bezier(0.4,0,0.2,1);
  --transition:      all 0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.mobile-open {
  overflow: hidden;
}

::selection {
  background-color: var(--accent);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--border);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

/* ============================================================
   04. CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s cubic-bezier(0.4,0,0.2,1);
  opacity: 0.6;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-ring.hovering {
  transform: translate(-50%, -50%) scale(1.8);
  opacity: 0.3;
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ============================================================
   05. TOP BAR
   ============================================================ */
.top-bar {
  background: var(--primary);
  height: 40px;
  display: flex;
  align-items: center;
  z-index: 110;
  position: relative;
}

.top-bar-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  padding: 0 14px;
  white-space: nowrap;
}

.top-bar-item:hover {
  color: #ffffff;
}

.top-bar-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.75;
}

.top-bar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.top-bar-emergency {
  color: var(--accent-light);
  font-weight: 600;
}

/* ============================================================
   06. NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* When top bar is present, header sits below it via JS offset */
.main-nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  z-index: 100;
}

.site-header.scrolled .main-nav {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.nav-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

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

.nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 200;
  border: 1px solid var(--border-light);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--light-bg);
  color: var(--primary);
}

.dropdown-item .item-icon {
  width: 36px;
  height: 36px;
  background: var(--light-bg-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item .item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 0;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.nav-phone:hover {
  color: var(--secondary);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 201;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Mobile Nav Menu */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100dvh;
  background: var(--white);
  z-index: 199;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: var(--shadow-xl);
}

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

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,31,68,0.6);
  z-index: 198;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--secondary);
}

.mobile-nav-sub {
  padding: 8px 0 8px 16px;
}

.mobile-nav-sub a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-light);
  padding: 8px 0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-nav-sub a:hover {
  color: var(--primary);
}

.mobile-nav-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   07. HERO CAROUSEL
   ============================================================ */
.hero-section {
  height: 100vh;
  height: 100dvh; /* iOS Safari fix: avoids toolbar overlap */
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  touch-action: pan-y; /* allow vertical scroll; JS handles horizontal swipe */
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Slide Backgrounds */
.hero-slide:nth-child(1) .hero-slide-bg {
  background: linear-gradient(135deg, #0D1B2A 0%, #0D6B5E 60%, #0A4A3F 100%);
}

.hero-slide:nth-child(2) .hero-slide-bg {
  background: linear-gradient(135deg, #0A1F44 0%, #0E4F7A 60%, #0E7490 100%);
}

.hero-slide:nth-child(3) .hero-slide-bg {
  background: linear-gradient(135deg, #1A0A2E 0%, #3D0D7A 60%, #0D2B5E 100%);
}

.hero-slide:nth-child(4) .hero-slide-bg {
  background: linear-gradient(135deg, #0A2E1A 0%, #0D5C3E 60%, #1E6F8E 100%);
}

.hero-slide:nth-child(5) .hero-slide-bg {
  background: linear-gradient(135deg, #1A0A00 0%, #5C2A00 60%, #0A1F44 100%);
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 80px;
  max-width: 800px;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 8px 20px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  width: fit-content;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.hero-slide.active .hero-badge,
.hero-badge.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: white;
  margin-bottom: 24px;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.25s, transform 0.7s cubic-bezier(0.4,0,0.2,1) 0.25s;
}

.hero-slide.active .hero-title,
.hero-title.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-title .accent-word {
  color: var(--accent-light);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.4s, transform 0.7s cubic-bezier(0.4,0,0.2,1) 0.4s;
}

.hero-slide.active .hero-subtitle,
.hero-subtitle.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease 0.55s, transform 0.7s cubic-bezier(0.4,0,0.2,1) 0.55s;
}

.hero-slide.active .hero-cta-group,
.hero-cta-group.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  right: -100px;
  top: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(201,151,59,0.06);
  right: 200px;
  bottom: 100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.04);
  right: 100px;
  top: 40%;
  animation: rotateSlow 20s linear infinite;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  filter: blur(20px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 20;
  animation: fadeIn 1s ease 1.5s both;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  animation: float 2s ease-in-out infinite;
}

/* ============================================================
   08. CAROUSEL NAVIGATION
   ============================================================ */
.carousel-dots {
  position: absolute;
  bottom: 80px;
  left: 80px;
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.35);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  width: 28px;
  background: var(--accent-light);
}

.carousel-arrows {
  position: absolute;
  right: 80px;
  bottom: 80px;
  display: flex;
  gap: 12px;
  z-index: 20;
}

.carousel-arrow {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: white;
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   09. STATS BAR
   ============================================================ */
.stats-bar-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -60px;
  padding: 0 40px;
}

.stats-bar {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

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

.stat-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}

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

.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  display: inline;
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 8px;
}

/* ============================================================
   10. SECTION STYLES
   ============================================================ */
.section {
  padding: 100px 0;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header.text-center .section-subtitle {
  margin: 0 auto;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title .highlight {
  color: var(--secondary);
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
}

/* ============================================================
   11. MIGS FEATURE BANNER
   ============================================================ */
.migs-banner {
  background: linear-gradient(135deg, #0D1B2A 0%, #0D6B5E 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.migs-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  right: -200px;
  top: -200px;
  pointer-events: none;
}

.migs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.migs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,151,59,0.15);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.migs-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.migs-title em {
  color: var(--accent-light);
  font-style: normal;
}

.migs-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 32px;
}

.migs-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.migs-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
}

.migs-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.migs-visual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.migs-visual-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  text-align: center;
}

.migs-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.migs-stat-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}

.migs-stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 8px;
}

.migs-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ============================================================
   12. SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--secondary), var(--accent));
  transition: height 0.35s cubic-bezier(0.4,0,0.2,1);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--light-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--secondary);
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--secondary);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap svg {
  stroke: white;
}

.service-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateX(0);
}

.service-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(201,151,59,0.15);
  color: var(--accent-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* ============================================================
   13. DOCTOR CARDS
   ============================================================ */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.doctor-img-area {
  height: 300px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--primary), var(--teal-green));
}

.doctor-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-img-area img {
  transform: scale(1.05);
}

.doctor-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 30px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--teal-green) 100%);
}

.doctor-initials {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  line-height: 1;
}

.doctor-specialty-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 40px;
  padding: 6px 14px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
}

.doctor-body {
  padding: 24px;
}

.doctor-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.doctor-role {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--secondary);
  margin: 4px 0 10px;
}

.doctor-quals {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  line-height: 1.5;
}

/* ============================================================
   14. TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--light-bg);
  overflow: hidden;
}

.testimonials-track-wrapper {
  overflow: hidden;
  position: relative;
  touch-action: pan-y;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.testimonial-card {
  flex-shrink: 0;
  width: calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--accent);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.2;
  float: left;
  line-height: 0.7;
  margin-right: 4px;
  margin-top: 10px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.t-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.t-treatment {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.t-dot {
  width: 8px;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.t-dot.active {
  width: 24px;
  background: var(--secondary);
}

.t-arrow {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-mid);
}

.t-arrow:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.t-arrow svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   15. BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-card-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.blog-card-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-thumb-bg {
  transform: scale(1.05);
}

.blog-card-thumb-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-thumb-icon {
  width: 56px;
  height: 56px;
  opacity: 0.2;
}

.blog-thumb-icon svg {
  width: 100%;
  height: 100%;
  stroke: white;
}

.blog-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-card-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.blog-card-title:hover,
.blog-card:hover .blog-card-title {
  color: var(--secondary);
}

.blog-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.read-more-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.read-more-link:hover {
  gap: 10px;
}

.read-more-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

/* ============================================================
   16. CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-bg-circle-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  right: -200px;
  top: -200px;
  pointer-events: none;
}

.cta-bg-circle-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(14,116,144,0.15);
  left: -100px;
  bottom: -100px;
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.cta-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   17. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: var(--secondary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: white;
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  color: white;
}

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

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

.btn-outline-primary {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-icon-circle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.btn-icon-circle svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   18. WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
}

.wa-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}

.wa-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37,211,102,0.6);
}

.wa-btn svg {
  width: 30px;
  height: 30px;
}

.wa-pulse {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  z-index: 0;
}

.whatsapp-float.pulsing .wa-pulse {
  animation: wa-pulse 2s ease-in-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text);
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  transform: translateX(6px);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--text);
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   19. APPOINTMENT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,31,68,0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.appt-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 92%;
  padding: 48px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal-overlay.open .appt-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-light);
}

.modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

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

.form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--light-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.12);
}

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

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

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-success {
  text-align: center;
  padding: 20px 0;
  display: none;
}

.modal-success.show {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(5,150,105,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--success);
}

.modal-success h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 10px;
}

.modal-success p {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ============================================================
   20. TRUST / EMPANELMENT BAR
   ============================================================ */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

.trust-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.trust-logo-item {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--light-bg);
  border-radius: 10px;
  padding: 10px 20px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}

.trust-logo-item:hover {
  background: var(--light-bg-2);
  color: var(--primary);
}

/* ============================================================
   21. FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary);
  color: white;
}

.footer-top {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

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

.footer-logo {
  height: 48px;
  width: auto;
}

.footer-logo-text .nav-logo-title {
  color: white;
}

.footer-logo-text .nav-logo-sub {
  color: rgba(255,255,255,0.5);
}

.footer-about p {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin: 16px 0;
}

.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  line-height: 2.2;
  display: block;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.65);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-light);
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: white;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  stroke: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p,
.footer-bottom a {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.page-hero .container,
.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero .hero-title,
.page-hero .page-hero-title {
  color: #fff;
}

.page-hero p,
.page-hero .hero-subtitle,
.page-hero .blog-hero-subtitle {
  color: rgba(255,255,255,.84);
}

.nav-item-dropdown .nav-dropdown {
  top: 100%;
  margin-top: 0;
  z-index: 2000;
}

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

.nav-dropdown-toggle {
  appearance: none;
}

.page-hero--compact {
  padding: 52px 0;
}

.legacy-hero {
  min-height: 0;
  padding: 54px 0 60px;
}

.legacy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 34px;
  align-items: center;
}

.legacy-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.legacy-photo-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.22);
  background: #0A1F44;
  box-shadow: 0 22px 70px rgba(0,0,0,.24);
}

.legacy-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,68,.08), rgba(10,31,68,.72));
}

.legacy-photo-card--ropar {
  background:
    linear-gradient(180deg, rgba(10,31,68,.05), rgba(10,31,68,.78)),
    linear-gradient(135deg, #f8fafc 0 34%, #dbeafe 35% 42%, #ffffff 43% 100%);
}

.legacy-photo-card--ropar::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 64px;
  height: 88px;
  border-radius: 6px 6px 0 0;
  background:
    linear-gradient(90deg, #1d4ed8 0 8%, transparent 8% 18%, #1d4ed8 18% 26%, transparent 26% 40%, #1d4ed8 40% 48%, transparent 48% 62%, #1d4ed8 62% 70%, transparent 70%),
    linear-gradient(180deg, #ffffff 0 68%, #e2e8f0 69% 100%);
  box-shadow: 0 -34px 0 -18px #ffffff, 0 16px 0 #94a3b8;
}

.legacy-photo-card--chandigarh {
  background:
    linear-gradient(180deg, rgba(10,31,68,.05), rgba(10,31,68,.72)),
    url("../images/hero/bmh-chandigarh-banner.webp") center / cover no-repeat;
}

.legacy-photo-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
}

.legacy-photo-label strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.2;
}

.legacy-photo-label span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
}

.legacy-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.legacy-story-card {
  overflow: hidden;
  border: 1px solid rgba(10,31,68,.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(10,31,68,.08);
}

.legacy-story-visual {
  min-height: 170px;
  background: #e0f2fe;
}

.legacy-story-visual--ropar {
  background:
    linear-gradient(180deg, rgba(10,31,68,0), rgba(10,31,68,.46)),
    linear-gradient(135deg, #fff 0 28%, #dbeafe 29% 37%, #f8fafc 38% 100%);
}

.legacy-story-visual--chandigarh {
  background: url("../images/hero/bmh-chandigarh-banner.webp") center / cover no-repeat;
}

.legacy-story-visual--family {
  background:
    radial-gradient(circle at 32% 45%, #fde68a 0 18%, transparent 19%),
    radial-gradient(circle at 52% 42%, #bfdbfe 0 16%, transparent 17%),
    radial-gradient(circle at 70% 48%, #fecaca 0 15%, transparent 16%),
    linear-gradient(135deg, #f0f9ff, #fff7ed);
}

.legacy-story-body {
  padding: 22px;
}

.legacy-story-body h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.05rem;
}

.legacy-story-body p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
  font-size: .92rem;
}

.blog-card-thumb-bg {
  position: relative;
}

.blog-card-thumb-bg::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.payment-card {
  border: 1px solid rgba(10,31,68,.08);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(10,31,68,.07);
}

.payment-card h2,
.payment-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
}

.payment-card p,
.payment-card li {
  color: #64748b;
  line-height: 1.7;
}

.payment-card ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

@media (max-width: 980px) {
  .legacy-hero-grid,
  .legacy-story-grid,
  .payments-grid {
    grid-template-columns: 1fr;
  }

  .legacy-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* Compact page headers and richer medical visuals */
body .page-hero {
  padding-top: 44px !important;
  padding-bottom: 50px !important;
}

body .section {
  padding-top: 62px;
  padding-bottom: 62px;
}

.doctor-photo-lg img,
.doctor-photo img,
.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-photo-lg,
.doctor-photo,
.doctor-avatar {
  overflow: hidden;
}

.visual-photo {
  background: #e0f2fe;
  background-size: cover;
  background-position: center;
}

.visual-photo--family {
  background-image: linear-gradient(180deg, rgba(10,31,68,0), rgba(10,31,68,.18)), url("../images/procedures/cataract-family.jpg");
}

.visual-photo--lasik {
  background-image: linear-gradient(180deg, rgba(10,31,68,0), rgba(10,31,68,.16)), url("../images/hero/lasik-laser.jpg");
}

.visual-photo--migs {
  background-image: linear-gradient(180deg, rgba(10,31,68,0), rgba(10,31,68,.16)), url("../images/hero/migs-devices.jpg");
}

.visual-photo--obg {
  background-image: linear-gradient(180deg, rgba(10,31,68,0), rgba(10,31,68,.12)), url("../images/hero/obgyn-mother-newborn.jpg");
}

.visual-photo--psychiatry {
  background-image: linear-gradient(180deg, rgba(10,31,68,0), rgba(10,31,68,.12)), url("../images/hero/psychiatry-free-mind.jpg");
}

.visual-photo--aesthetics {
  background-image: linear-gradient(180deg, rgba(10,31,68,0), rgba(10,31,68,.12)), url("../images/hero/aesthetics-glow.jpg");
}

.vision-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.vision-panel {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(10,31,68,.08);
  background: #fff;
  box-shadow: 0 16px 38px rgba(10,31,68,.08);
}

.vision-scene {
  position: relative;
  min-height: 240px;
  background: url("../images/procedures/cataract-family.jpg") center / cover no-repeat;
}

.vision-scene--blurred {
  filter: blur(3px) saturate(.72) contrast(.82);
}

.vision-scene--blurred::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,.52), rgba(148,163,184,.44) 46%, rgba(15,23,42,.2));
}

.vision-caption {
  padding: 20px;
}

.vision-caption h3,
.iol-card h3,
.procedure-card h3 {
  margin: 0 0 8px;
  color: var(--primary);
}

.vision-caption p,
.iol-card p,
.procedure-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.iol-grid,
.procedure-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.iol-card,
.procedure-card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(10,31,68,.08);
  background: #fff;
  box-shadow: 0 16px 38px rgba(10,31,68,.08);
}

.iol-visual,
.procedure-visual {
  min-height: 170px;
  position: relative;
}

.iol-visual::before,
.iol-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.iol-visual::before {
  inset: 38px 72px;
  background: radial-gradient(circle, rgba(255,255,255,.9), rgba(125,211,252,.28));
  border: 2px solid rgba(2,132,199,.28);
  box-shadow: inset 0 0 28px rgba(2,132,199,.18);
}

.iol-visual--mono::after {
  left: 50%;
  top: 24px;
  width: 2px;
  height: 118px;
  background: #0284c7;
  box-shadow: -32px 0 0 #93c5fd, 32px 0 0 #93c5fd;
  transform: translateX(-50%);
}

.iol-visual--multi::after {
  inset: 54px 88px;
  border: 2px solid #0284c7;
  box-shadow: 0 0 0 12px rgba(14,165,233,.12), 0 0 0 26px rgba(14,165,233,.08);
}

.iol-visual--toric::after {
  left: 50%;
  top: 34px;
  width: 88px;
  height: 88px;
  border: 2px dashed #0284c7;
  transform: translateX(-50%) rotate(28deg);
}

.iol-card-body,
.procedure-card-body {
  padding: 22px;
}

details.procedure-card summary {
  cursor: pointer;
  list-style: none;
}

details.procedure-card summary::-webkit-details-marker {
  display: none;
}

.procedure-card[open] {
  border-color: rgba(14,165,233,.32);
}

@media (max-width: 920px) {
  .vision-compare,
  .iol-grid,
  .procedure-detail-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ============================================================
   22. PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--primary);
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
  pointer-events: none;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb .sep {
  opacity: 0.3;
  font-size: 0.9rem;
}

.page-hero .section-label {
  color: var(--accent-light);
}

.page-hero .section-label::before {
  background: var(--accent-light);
}

.page-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: white;
  line-height: 1.15;
}

.page-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  line-height: 1.7;
  margin-top: 16px;
}

.reading-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px;
  padding: 6px 16px;
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 16px;
}

.reading-time-badge svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   23. FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.faq-question {
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: var(--transition-fast);
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: var(--light-bg);
}

.faq-item.open .faq-question {
  color: var(--primary);
  background: var(--light-bg);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--secondary);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 24px 20px;
}

/* ============================================================
   24. BLOG POST PAGE
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

.post-hero {
  background: var(--primary);
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.post-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 40px;
}

.post-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 18px;
}

.post-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-mid);
  margin: 32px 0 14px;
}

.post-body p {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
  padding-left: 28px;
  margin-bottom: 20px;
  list-style: initial;
}

.post-body ol {
  list-style: decimal;
}

.post-body li {
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.post-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--light-bg);
  padding: 20px 28px;
  border-radius: 0 12px 12px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-mid);
  margin: 32px 0;
}

.post-body strong {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text);
}

.post-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal-green) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  color: white;
  margin: 48px 0;
}

.post-cta-box h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}

.post-cta-box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  line-height: 1.6;
}

.author-card {
  background: var(--light-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 60px;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-info h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.author-info p {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   25. SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   26. KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   27. UTILITY CLASSES
   ============================================================ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-left    { text-align: left; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-accent  { color: var(--accent) !important; }
.text-white   { color: var(--white) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-light-c { color: var(--text-light) !important; }

.bg-primary   { background-color: var(--primary) !important; }
.bg-light     { background-color: var(--light-bg) !important; }
.bg-white     { background-color: var(--white) !important; }
.bg-light-2   { background-color: var(--light-bg-2) !important; }

.fw-bold   { font-weight: 700; }
.fw-medium { font-weight: 500; }
.fw-light  { font-weight: 300; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-5 { margin-top: 24px !important; }
.mt-6 { margin-top: 32px !important; }
.mt-7 { margin-top: 48px !important; }
.mt-8 { margin-top: 64px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-5 { margin-bottom: 24px !important; }
.mb-6 { margin-bottom: 32px !important; }
.mb-7 { margin-bottom: 48px !important; }
.mb-8 { margin-bottom: 64px !important; }

.py-sm { padding-top: 40px; padding-bottom: 40px; }
.py-md { padding-top: 60px; padding-bottom: 60px; }
.py-lg { padding-top: 100px; padding-bottom: 100px; }

.d-flex       { display: flex; }
.d-grid       { display: grid; }
.d-none       { display: none; }
.d-block      { display: block; }
.align-center { align-items: center; }
.align-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.flex-wrap    { flex-wrap: wrap; }
.flex-column  { flex-direction: column; }
.gap-sm       { gap: 8px; }
.gap-md       { gap: 16px; }
.gap-lg       { gap: 24px; }
.gap-xl       { gap: 40px; }

.w-full       { width: 100%; }
.relative     { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-full { border-radius: 50%; }

/* ============================================================
   28. ADDITIONAL COMPONENTS
   ============================================================ */

/* Info Cards */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--secondary), var(--accent));
  border-radius: 2px;
  margin: 20px 0;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* Tag / Pill */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
}

.tag-primary {
  background: rgba(10,31,68,0.08);
  color: var(--primary);
}

.tag-secondary {
  background: rgba(14,116,144,0.1);
  color: var(--secondary);
}

.tag-accent {
  background: rgba(201,151,59,0.12);
  color: var(--accent-dark);
}

.tag-success {
  background: rgba(5,150,105,0.1);
  color: var(--success);
}

/* Appointment Ribbon */
.appointment-ribbon {
  background: linear-gradient(90deg, var(--secondary), var(--teal-green));
  padding: 16px 0;
  text-align: center;
}

.appointment-ribbon p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.appointment-ribbon a {
  color: var(--accent-light);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.appointment-ribbon a:hover {
  color: white;
}

/* Two-column layout helper */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

/* Icon Row */
.icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-light);
}

.icon-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--secondary);
}

/* Number List */
.numbered-list {
  counter-reset: num;
  list-style: none;
  padding: 0;
}

.numbered-list li {
  counter-increment: num;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.numbered-list li::before {
  content: counter(num, decimal-leading-zero);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1.2;
}

/* Notice / Alert */
.notice {
  background: rgba(14,116,144,0.06);
  border: 1px solid rgba(14,116,144,0.2);
  border-left: 4px solid var(--secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.notice-warning {
  background: rgba(201,151,59,0.06);
  border-color: rgba(201,151,59,0.3);
  border-left-color: var(--accent);
}

/* ============================================================
   29. RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .main-nav {
    padding: 0 30px;
  }

  .top-bar-inner {
    padding: 0 30px;
  }

  /* Hide some nav items, show hamburger */
  .nav-center {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-actions .nav-phone {
    display: flex;
  }

  /* Hero */
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-slide-content {
    padding: 0 60px;
  }

  .carousel-arrows {
    right: 40px;
    bottom: 60px;
  }

  .carousel-dots {
    left: 40px;
    bottom: 60px;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .migs-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .migs-title {
    font-size: 3rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonial-card {
    width: calc(50% - 12px);
  }
}

/* ============================================================
   30. RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 70px 0;
  }

  /* Top Bar */
  .top-bar-left .top-bar-item:not(:first-child) {
    display: none;
  }

  .top-bar-right .top-bar-item:first-child {
    display: none;
  }

  .top-bar-divider {
    display: none;
  }

  .top-bar-item {
    padding: 0 10px;
  }

  /* Nav */
  .main-nav {
    padding: 0 20px;
  }

  .top-bar-inner {
    padding: 0 20px;
  }

  /* Hero */
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-slide-content {
    padding: 0 24px;
    max-width: 100%;
  }

  .carousel-arrows {
    display: none;
  }

  .carousel-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Stats */
  .stats-bar-wrapper {
    padding: 0 20px;
    margin-top: -30px;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 24px 16px;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .stat-number,
  .stat-suffix {
    font-size: 2.5rem;
  }

  /* Section Headers */
  .section-title {
    font-size: 2.2rem;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .three-col {
    grid-template-columns: 1fr;
  }

  .four-col {
    grid-template-columns: 1fr 1fr;
  }

  /* MIGS */
  .migs-banner {
    padding: 60px 0;
  }

  .migs-title {
    font-size: 2.4rem;
  }

  .migs-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Testimonials */
  .testimonial-card {
    width: calc(100% - 0px);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Page Hero */
  .page-hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .page-hero-title {
    font-size: 2.8rem;
  }

  /* Modal */
  .appt-modal {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-title {
    font-size: 2.5rem;
  }

  /* Post Body */
  .post-body {
    padding: 40px 20px;
  }
}

/* ============================================================
   31. RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .hero-section {
    min-height: 600px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number,
  .stat-suffix {
    font-size: 2rem;
  }

  .four-col {
    grid-template-columns: 1fr;
  }

  .migs-stat-grid {
    grid-template-columns: 1fr;
  }

  .migs-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 0.95rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .page-hero-title {
    font-size: 2.2rem;
  }

  .migs-visual {
    padding: 28px 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .wa-btn {
    width: 52px;
    height: 52px;
  }

  .doctor-img-area {
    height: 240px;
  }

  .trust-logos {
    gap: 10px;
  }

  .trust-logo-item {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .footer-top {
    padding: 60px 0 30px;
  }
}

/* ============================================================
   32. PRINT
   ============================================================ */
@media print {
  .site-header,
  .top-bar,
  .whatsapp-float,
  .modal-overlay,
  .cursor-dot,
  .cursor-ring,
  .hero-section,
  .stats-bar,
  .cta-section,
  .site-footer {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  .post-body {
    padding: 0;
    max-width: 100%;
  }
}

/* ============================================================
   TRIAL SITE COMPATIBILITY PATCH
   Keeps the copied Chandigarh website visually intact under
   /websites/chandigarh/ without changing the HMS app.
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.08);
}

.top-bar {
  position: relative;
}

.header-inner {
  width: min(1220px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 260px;
  gap: 12px;
}

.site-logo .logo-mark {
  display: none;
}

.site-logo::before {
  content: "";
  width: 210px;
  height: 72px;
  display: block;
  background: url("../images/brand/baweja-1.png") center left / contain no-repeat;
}

.logo-text {
  display: none;
}

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-item-dropdown {
  position: relative;
  z-index: 260;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  padding: 12px 10px 10px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition-fast);
  z-index: 300;
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-actions::before {
  content: "";
  width: 92px;
  height: 48px;
  display: block;
  background: url("../images/brand/bmh.jpg") center / contain no-repeat;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-family: Inter, sans-serif;
  white-space: nowrap;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(390px, 92vw);
  height: 100dvh;
  padding: 112px 28px 36px;
  background: var(--white);
  z-index: 199;
  transform: translateX(110%);
  transition: transform .35s ease;
  box-shadow: var(--shadow-xl);
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  display: grid;
  gap: 0;
}

.mobile-dropdown[hidden] {
  display: none;
}

.mobile-dropdown {
  display: grid;
  gap: 4px;
  padding: 4px 0 12px 18px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-dropdown-item {
  display: block;
  padding: 10px 0;
  color: var(--text-mid);
  font-family: Inter, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-dropdown-item:hover,
.mobile-dropdown-item:focus-visible {
  color: var(--primary);
}

.mobile-dropdown-toggle svg {
  transition: transform .25s ease;
}

.mobile-dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-sticky-cta {
  display: none;
}

.hero-section {
  min-height: 760px;
  margin-top: 0;
  background: #0A1F44;
}

.hero-slide {
  isolation: isolate;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(10,31,68,.92) 0%, rgba(10,31,68,.72) 46%, rgba(10,31,68,.22) 100%),
    url("../images/hero/bmh-chandigarh-banner.webp") center / cover no-repeat;
}

.hero-slide::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 7%;
  z-index: 1;
  width: min(36vw, 430px);
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.18), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(232,184,75,.08));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

.hero-slide--migs::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(34,168,200,.24), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(13,107,94,.24));
}

.hero-slide--lasik::after {
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,.5) 49%, transparent 51%),
    radial-gradient(circle at 50% 50%, rgba(232,184,75,.32), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(14,116,144,.22));
}

.hero-slide--cataract::after {
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.2) 0 26%, rgba(232,184,75,.28) 27% 31%, transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(61,13,122,.22));
}

.hero-slide--gynaec::after,
.hero-slide--legacy::after {
  background:
    radial-gradient(circle at 38% 36%, rgba(255,255,255,.3), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.16), rgba(201,151,59,.24));
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: min(760px, 90vw);
}

.hero-slide::after {
  display: none;
}

.hero-slide--migs::before {
  background:
    linear-gradient(90deg, rgba(10,31,68,.95) 0%, rgba(10,31,68,.76) 48%, rgba(13,107,94,.32) 100%),
    linear-gradient(135deg, #0a1f44 0%, #0d6b5e 100%);
}

.hero-slide--lasik::before {
  background:
    linear-gradient(90deg, rgba(10,31,68,.95) 0%, rgba(10,31,68,.72) 48%, rgba(14,116,144,.28) 100%),
    linear-gradient(135deg, #081b3d 0%, #0e7490 100%);
}

.hero-slide--cataract::before {
  background:
    linear-gradient(90deg, rgba(10,31,68,.96) 0%, rgba(10,31,68,.70) 48%, rgba(232,184,75,.24) 100%),
    linear-gradient(135deg, #0a1f44 0%, #3d0d7a 100%);
}

.hero-slide--gynaec::before {
  background:
    linear-gradient(90deg, rgba(10,31,68,.94) 0%, rgba(42,38,57,.70) 48%, rgba(201,151,59,.24) 100%),
    linear-gradient(135deg, #2b1530 0%, #0d6b5e 100%);
}

.hero-slide--psychiatry::before {
  background:
    linear-gradient(90deg, rgba(10,31,68,.94) 0%, rgba(10,31,68,.70) 48%, rgba(77,139,92,.25) 100%),
    linear-gradient(135deg, #0a1f44 0%, #32664f 100%);
}

.hero-slide--aesthetics::before {
  background:
    linear-gradient(90deg, rgba(10,31,68,.94) 0%, rgba(10,31,68,.70) 48%, rgba(201,151,59,.22) 100%),
    linear-gradient(135deg, #1b2437 0%, #8a6f64 100%);
}

.hero-slide--legacy::before {
  background:
    linear-gradient(90deg, rgba(10,31,68,.96) 0%, rgba(10,31,68,.74) 48%, rgba(10,31,68,.20) 100%),
    url("../images/hero/bmh-chandigarh-banner.webp") center / cover no-repeat;
}

.hero-media {
  position: absolute;
  right: clamp(28px, 6vw, 90px);
  top: 50%;
  z-index: 2;
  width: min(42vw, 610px);
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 34px 90px rgba(0,0,0,.34);
  transform: translateY(-46%) scale(.96);
  opacity: 0;
  transition: opacity .75s ease .25s, transform .75s cubic-bezier(.2,.8,.2,1) .25s;
}

.hero-slide.active .hero-media {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,31,68,.18), transparent 34%),
    linear-gradient(180deg, transparent 60%, rgba(10,31,68,.28));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  font: 800 12px/1.2 Inter, system-ui, sans-serif;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.hero-media--migs img,
.hero-media--lasik img {
  object-position: center;
}

.hero-media--legacy {
  width: min(39vw, 560px);
  aspect-ratio: 4 / 3;
}

.doctor-img-area {
  background: linear-gradient(180deg, #eef6fb 0%, #dfeaf3 100%);
}

.doctor-img-area img {
  object-fit: cover;
  object-position: center 18%;
  padding-top: 0;
  filter: saturate(1.05) contrast(1.03);
}

.procedure-showcase {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.procedure-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.procedure-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.procedure-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 45% 1fr;
}

.procedure-visual {
  min-height: 190px;
  position: relative;
  overflow: hidden;
  background: #0A1F44;
}

.procedure-photo {
  min-height: 190px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #eef5fb;
}

.procedure-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.procedure-visual::before,
.procedure-visual::after,
.procedure-visual span {
  content: "";
  position: absolute;
  display: block;
}

.procedure-visual--cataract {
  background: radial-gradient(circle at 50% 50%, #f7fbff 0 22%, #e8b84b 23% 27%, #0e7490 28% 34%, #0a1f44 35%);
}

.procedure-visual--robotic {
  background: linear-gradient(135deg, #0a1f44, #3d0d7a);
}
.procedure-visual--robotic::before {
  inset: 28px 42px;
  border: 2px solid rgba(255,255,255,.65);
  border-radius: 50%;
}
.procedure-visual--robotic::after {
  left: 50%;
  top: 20px;
  width: 3px;
  height: 150px;
  background: #e8b84b;
  transform: rotate(28deg);
}

.procedure-visual--smile {
  background: radial-gradient(circle at 52% 52%, rgba(255,255,255,.92) 0 18%, rgba(34,168,200,.35) 19% 24%, transparent 25%), linear-gradient(135deg, #0e7490, #0a1f44);
}
.procedure-visual--smile::after {
  left: 22%;
  right: 22%;
  top: 50%;
  height: 4px;
  border-radius: 99px;
  background: #fff;
}

.procedure-visual--topo {
  background: repeating-radial-gradient(circle at 50% 50%, rgba(232,184,75,.95) 0 2px, transparent 3px 15px), linear-gradient(135deg, #0a1f44, #0e7490);
}

.procedure-visual--migs {
  background: linear-gradient(135deg, #0d6b5e, #0a1f44);
}
.procedure-visual--migs::before {
  left: 17%;
  top: 42%;
  width: 66%;
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 28px 0 rgba(232,184,75,.9);
}
.procedure-visual--migs::after {
  right: 20%;
  top: 30%;
  width: 34px;
  height: 90px;
  border-radius: 99px;
  border: 4px solid rgba(255,255,255,.9);
}

.procedure-copy {
  padding: 22px;
}

.procedure-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font: 800 11px/1 Inter, sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.procedure-copy h3 {
  font-size: 1.45rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.procedure-copy p {
  color: var(--text-mid);
  font-size: .94rem;
}

@media (max-width: 1100px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .procedure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-media {
    right: 26px;
    width: min(38vw, 430px);
  }
  .hero-title {
    font-size: clamp(3rem, 7vw, 4.5rem);
  }
}

@media (max-width: 1024px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 9999;
    display: grid;
    grid-template-columns: 1fr 1fr 1.18fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(10,31,68,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 42px rgba(10,31,68,.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-sticky-cta__item {
    min-width: 0;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border: 0;
    border-radius: 13px;
    background: #f3f8fc;
    color: var(--primary);
    font: 800 12px/1.1 Inter, system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-sticky-cta__item--primary {
    background: var(--accent);
    color: var(--primary);
  }

  .mobile-sticky-cta__icon {
    font-size: 10px;
    line-height: 1;
    letter-spacing: .8px;
    text-transform: uppercase;
    opacity: .78;
  }

  .trial-hms-login {
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 760px) {
  .top-bar { display: none; }
  .site-header { top: 0; }
  .header-inner {
    width: calc(100% - 28px);
    min-height: 74px;
    gap: 10px;
  }
  .site-logo { min-width: 0; }
  .site-logo::before {
    width: 150px;
    height: 54px;
  }
  .header-actions::before,
  .header-phone,
  .header-actions .btn { display: none; }
  .hero-section {
    min-height: 680px;
    padding-top: 74px;
  }
  .hero-slide-content {
    padding: 0 24px;
  }
  .hero-media {
    left: 24px;
    right: 24px;
    top: auto;
    bottom: 88px;
    width: auto;
    height: 170px;
    aspect-ratio: auto;
    border-radius: 20px;
    transform: translateY(16px) scale(.98);
  }
  .hero-slide.active .hero-media {
    transform: translateY(0) scale(1);
  }
  .hero-media figcaption {
    display: none;
  }
  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }
  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }
  .hero-cta-group {
    gap: 10px;
  }
  .procedure-grid,
  .procedure-card--wide {
    grid-template-columns: 1fr;
  }
  .procedure-card--wide { grid-column: auto; }
}

.chd-social-section {
  background: #f7fbfd;
}

.chd-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.chd-social-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(10, 31, 68, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(10, 31, 68, .08);
}

.chd-social-tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chd-social-card h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.25rem;
}

.chd-social-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .chd-social-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightweight visual education blocks for service pages */
.visual-education {
  padding: 72px 0;
  background: #f7fbfd;
}

.visual-education--white {
  background: #fff;
}

.visual-education__header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.visual-education__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.visual-education__title {
  margin: 0 0 12px;
  color: var(--primary);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.visual-education__text {
  margin: 0 auto;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.visual-card {
  display: grid;
  grid-template-rows: 180px auto;
  overflow: hidden;
  border: 1px solid rgba(10, 31, 68, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(10, 31, 68, .08);
}

.visual-card__body {
  padding: 22px;
}

.visual-card__body h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.3;
}

.visual-card__body p {
  margin: 0;
  color: #64748b;
  font-size: .9rem;
  line-height: 1.65;
}

.edu-visual {
  position: relative;
  min-height: 180px;
  background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.edu-visual::before,
.edu-visual::after {
  content: "";
  position: absolute;
}

.edu-visual--cataract-clear::before,
.edu-visual--cataract-cloudy::before,
.edu-visual--glaucoma-field::before {
  inset: 36px 62px;
  border-radius: 50%;
  border: 12px solid #e2e8f0;
  background: radial-gradient(circle at center, #111827 0 12%, #3b82f6 13% 30%, #93c5fd 31% 48%, #f8fafc 49%);
}

.edu-visual--cataract-clear::after {
  inset: 48px 75px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 48%, rgba(255,255,255,.55) 49% 52%, transparent 53%);
}

.edu-visual--cataract-cloudy::after {
  inset: 28px 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.88), rgba(226,232,240,.72) 38%, rgba(148,163,184,.55) 62%, rgba(15,23,42,.18));
  backdrop-filter: blur(2px);
}

.edu-visual--robotic::before {
  left: 36px;
  right: 36px;
  top: 76px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, #bfdbfe, #fff, #bfdbfe);
  box-shadow: inset 0 0 0 3px #dbeafe;
}

.edu-visual--robotic::after {
  left: 50%;
  top: 18px;
  width: 5px;
  height: 92px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 28px #38bdf8, -42px 54px 0 -1px #22c55e, 42px 54px 0 -1px #22c55e;
}

.edu-visual--glaucoma-field::after {
  inset: 28px 42px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 0 30%, rgba(15,23,42,.08) 31% 44%, rgba(15,23,42,.58) 45% 100%);
}

.edu-visual--glaucoma-tests {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 28px;
  background: #ecfeff;
}

.edu-visual--glaucoma-tests span {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: #0f766e;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(15,118,110,.14);
}

.edu-visual--laser::before {
  left: 34px;
  right: 34px;
  top: 76px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #111827 0 12%, #0ea5e9 13% 28%, #e0f2fe 29%);
}

.edu-visual--laser::after {
  left: 0;
  top: 83px;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, transparent, #ef4444 35%, #f97316 50%, #ef4444 65%, transparent);
  box-shadow: 0 0 20px rgba(239,68,68,.7);
}

.edu-visual--surface::before {
  left: 34px;
  right: 34px;
  top: 82px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #bae6fd 0 44%, #f8fafc 45%);
}

.edu-visual--surface::after {
  left: 48px;
  right: 48px;
  top: 72px;
  height: 5px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #0284c7 0 12px, #7dd3fc 12px 24px);
}

.edu-visual--mind {
  background: linear-gradient(135deg, #f0f9ff, #fdf2f8);
}

.edu-visual--mind::before {
  left: 50%;
  top: 34px;
  width: 90px;
  height: 90px;
  transform: translateX(-50%);
  border-radius: 45% 55% 48% 52%;
  background: #fff;
  box-shadow: inset 0 0 0 3px #bfdbfe, 0 16px 28px rgba(14,165,233,.12);
}

.edu-visual--mind::after {
  left: 50%;
  top: 76px;
  width: 116px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
  box-shadow: 0 22px 0 #f59e0b, 0 -22px 0 #22c55e;
}

.edu-visual--obg::before {
  left: 54px;
  right: 54px;
  top: 34px;
  bottom: 34px;
  border-radius: 46% 46% 52% 52%;
  background: #fff7ed;
  box-shadow: inset 0 0 0 4px #fed7aa;
}

.edu-visual--obg::after {
  left: 50%;
  top: 58px;
  width: 54px;
  height: 54px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fdba74;
  box-shadow: 0 0 0 16px rgba(251,146,60,.16);
}

.seo-callout {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  box-shadow: 0 12px 32px rgba(10,31,68,.07);
}

.seo-callout strong {
  color: var(--primary);
}

@media (max-width: 920px) {
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .visual-card {
    grid-template-rows: 170px auto;
  }
}

/* Specialty hero imagery and interactive procedure panels */
.page-hero .hero-split,
.page-hero .container.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 38px;
  align-items: center;
}

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

.hero-photo {
  position: relative;
  min-height: 330px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .24);
  border: 1px solid rgba(255, 255, 255, .18);
  isolation: isolate;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,0) 38%, rgba(10,31,68,.28));
  z-index: 1;
}

.hero-photo::after {
  content: "";
  /* caption moved into hero-copy as .hero-tagline */
}

.hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero-photo--eye {
  background:
    radial-gradient(circle at 50% 50%, #020617 0 6%, #075985 7% 13%, #0ea5e9 14% 26%, #67e8f9 27% 36%, #eff6ff 37% 43%, transparent 44%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.95) 0 36%, rgba(219,234,254,.92) 37% 47%, rgba(14,116,144,.62) 48% 52%, transparent 53%),
    linear-gradient(135deg, #e0f2fe, #fdf2f8 52%, #ecfeff);
}

.hero-photo--eye::before {
  background:
    linear-gradient(8deg, transparent 39%, rgba(15,23,42,.16) 40% 43%, transparent 44%),
    radial-gradient(circle at 38% 35%, rgba(255,255,255,.72) 0 4%, transparent 5%),
    linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,0));
}

.hero-photo--obg { background-image: url("../images/hero/obgyn-mother-newborn.jpg"); }
.hero-photo--psych { background-image: url("../images/hero/psychiatry-free-mind.jpg"); }
.hero-photo--skin { background-image: url("../images/hero/aesthetics-glow.jpg"); }
.hero-photo--cataract { background-image: url("../images/procedures/cataract-family.jpg"); }
.hero-photo--lasik { background-image: url("../images/hero/lasik-laser.jpg"); }
.hero-photo--migs { background-image: url("../images/hero/migs-devices.jpg"); }

.service-card[data-scroll-target],
.services-grid .service-card {
  cursor: pointer;
}

.procedure-anchor-panel {
  scroll-margin-top: 118px;
}

.care-room-visual {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.care-room-visual::before,
.care-room-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px 999px 24px 24px;
}

.care-room-visual::before {
  width: 90px;
  height: 118px;
  left: 34px;
  bottom: 18px;
  background: linear-gradient(#f8fafc 0 52%, #fff 53%), radial-gradient(circle at 50% 22%, #f2c7a4 0 18px, transparent 19px);
  box-shadow: inset 0 0 0 1px rgba(15,23,42,.08), 0 12px 32px rgba(15,23,42,.1);
}

.care-room-visual::after {
  width: 106px;
  height: 98px;
  right: 34px;
  bottom: 22px;
  background: linear-gradient(#fed7aa 0 42%, #fef3c7 43%);
  box-shadow: 0 -38px 0 -20px #f2c7a4, 0 12px 28px rgba(15,23,42,.08);
}

.care-room-visual--psych {
  background: linear-gradient(135deg, #ecfeff, #fdf2f8);
}

.care-room-visual--skin {
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.care-room-visual--obg {
  background: linear-gradient(135deg, #fff7ed, #f8fafc);
}

.iol-simulation {
  margin: 18px 0 18px;
  border: 1px solid rgba(10,31,68,.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.iol-scene {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 128px;
}

.iol-view {
  position: relative;
  display: grid;
  place-items: end center;
  padding: 12px 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(14,165,233,.26) 0 45%, rgba(34,197,94,.18) 46% 100%),
    linear-gradient(90deg, #e0f2fe, #fefce8);
}

.iol-view::before {
  content: "";
  position: absolute;
  inset: 16px 20px 38px;
  background:
    linear-gradient(90deg, transparent 0 18%, #0f172a 19% 22%, transparent 23% 55%, #0f172a 56% 59%, transparent 60%),
    linear-gradient(180deg, transparent 0 55%, #22c55e 56% 60%, transparent 61%),
    radial-gradient(circle at 68% 26%, #facc15 0 8%, transparent 9%);
  filter: blur(var(--blur, 0));
  transform: scale(var(--scale, 1));
}

.iol-view span {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 6px 7px;
  border-radius: 6px;
  color: #0f172a;
  background: rgba(255,255,255,.82);
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
}

.iol-simulation--mono .iol-view--intermediate,
.iol-simulation--mono .iol-view--near,
.iol-simulation--edof .iol-view--near {
  --blur: 5px;
}

.iol-simulation--mono .iol-view--near {
  --blur: 7px;
  --scale: 1.05;
}

.iol-simulation--trifocal .iol-view {
  --blur: 0;
}

@media (max-width: 920px) {
  .page-hero .hero-split,
  .page-hero .container.hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-photo {
    min-height: 260px;
  }
}
