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

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2f45;
  --teal: #0e7c7b;
  --teal-light: #12a09f;
  --teal-dark: #095e5d;
  --accent: #00c9c8;
  --gold: #f0a500;
  --white: #ffffff;
  --off-white: #f4f8fb;
  --gray: #6b7a8d;
  --light-gray: #e8edf2;
  --text: #1a2535;
  --font: 'Poppins', sans-serif;
  --radius: 14px;
  --shadow: 0 8px 32px rgba(13,27,42,0.12);
  --shadow-lg: 0 20px 60px rgba(13,27,42,0.18);
  --glass: rgba(255,255,255,0.12);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.7); }
.center { text-align: center; }

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-dark h2, .section-teal h2, h2.light { color: var(--white); }

.section-sub {
  max-width: 560px;
  margin: 0 auto 48px;
  color: var(--gray);
  font-size: 16px;
}
.section-dark .section-sub { color: rgba(255,255,255,0.65); }
.section-teal .section-sub { color: rgba(255,255,255,0.8); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn i, .btn span { position: relative; z-index: 1; }
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,124,123,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn.full-width { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(13,27,42,0.84);
  backdrop-filter: blur(18px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.logo-dr { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active-link { color: var(--accent); }
.nav-links .nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--teal-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(13,27,42,0.92) 0%, rgba(26,47,69,0.82) 52%, rgba(10,61,74,0.72) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(14,124,123,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0,201,200,0.08) 0%, transparent 40%);
  animation: heroGlow 10s ease-in-out infinite alternate;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,27,42,0.82) 0%, rgba(13,27,42,0.42) 55%, rgba(13,27,42,0.18) 100%);
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  animation: heroEnter 0.9s ease-out both;
}
.hero-tag {
  display: inline-block;
  background: rgba(14,124,123,0.25);
  border: 1px solid rgba(0,201,200,0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 24px rgba(0,201,200,0.08), 0 12px 40px rgba(0,0,0,0.12);
}
.hero-content h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent); }
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-badges span {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(12px);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.hero-badges span:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(0,201,200,0.35);
}
.hero-badges span i { color: var(--accent); }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroGlow {
  from { opacity: 0.75; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--white);
  padding: 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--light-gray);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--light-gray);
  border-bottom: 4px solid transparent;
  transition: var(--transition);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,251,0.72));
}
.stat:hover {
  border-bottom-color: var(--teal);
  transform: translateY(-4px);
}
.stat h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 4px;
}
.stat p {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== ABOUT ===== */
#about { background: var(--off-white); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--light-gray);
  transform: rotate(-1.5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.about-img-frame:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 26px 70px rgba(13,27,42,0.22);
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}
.about-card i {
  font-size: 28px;
  color: var(--gold);
  flex-shrink: 0;
}
.about-card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.about-card span {
  font-size: 12px;
  color: var(--gray);
}
.about-credentials {
  font-size: 14px;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 15px;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 36px;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.highlight i { color: var(--teal); font-size: 16px; }

/* ===== CONDITIONS ===== */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.condition-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.condition-card::before,
.procedure-card::before,
.why-item::before,
.journey-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 42%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.condition-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.condition-card:hover::before,
.procedure-card:hover::before,
.why-item:hover::before,
.journey-step:hover::before { opacity: 1; }
.condition-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.condition-icon.spine { background: rgba(14,124,123,0.25); color: var(--accent); }
.condition-icon.joint { background: rgba(240,165,0,0.2); color: var(--gold); }
.condition-icon.neuro { background: rgba(100,149,237,0.2); color: #6495ed; }
.condition-icon.cancer { background: rgba(220,53,69,0.2); color: #ff6b7a; }

.condition-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  min-height: 44px;
}
.condition-card ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-left: 16px;
  position: relative;
}
.condition-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--teal-light);
  border-radius: 50%;
}

/* ===== PROCEDURES ===== */
.procedures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.procedure-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.procedure-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.proc-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 20px;
}
.procedure-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  min-height: 44px;
}
.procedure-card ul li {
  font-size: 13px;
  color: var(--gray);
  padding: 6px 0;
  border-bottom: 1px solid var(--light-gray);
  padding-left: 16px;
  position: relative;
}
.procedure-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
}

/* ===== WHY US ===== */
.why-us { padding: 80px 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.why-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-5px);
}
.why-item i {
  font-size: 36px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  display: block;
}
.why-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ===== PATIENT JOURNEY ===== */
.journey-section {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
}
.journey-section::before {
  content: '';
  position: absolute;
  top: 48%;
  left: 50%;
  width: min(920px, 82vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14,124,123,0.35), transparent);
  transform: translateX(-50%);
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.journey-step {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(14,124,123,0.12);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: 0 12px 40px rgba(13,27,42,0.08);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.journey-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(13,27,42,0.14);
  border-color: rgba(14,124,123,0.35);
}
.journey-step span {
  display: inline-flex;
  color: rgba(14,124,123,0.28);
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 18px;
}
.journey-step i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-size: 21px;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(14,124,123,0.24);
}
.journey-step h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}
.journey-step p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -20px 0 36px;
}
.filter-btn {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy);
  transform: translateY(-2px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-auto-flow: dense;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--navy-mid);
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
  transform-origin: center;
  transition: transform 0.45s ease, opacity 0.35s ease, box-shadow 0.45s ease, filter 0.35s ease;
}
.gallery-item:nth-child(3n) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4n) { aspect-ratio: 1/1; }
.gallery-item:nth-child(5n) { grid-row: span 2; }
.gallery-item.is-hidden {
  opacity: 0;
  transform: scale(0.92);
  filter: blur(6px);
  pointer-events: none;
}
.gallery-item.is-removed {
  display: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.08), rgba(13,27,42,0.62));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay i {
  color: var(--white);
  font-size: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transform: scale(0.82);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay i { transform: scale(1); }
.gallery-page-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ===== CLINICAL IMAGES PAGE ===== */
.clinical-page {
  background: var(--off-white);
}
.clinical-hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background:
    linear-gradient(135deg, rgba(13,27,42,0.96), rgba(10,61,74,0.88)),
    radial-gradient(circle at 75% 30%, rgba(0,201,200,0.28), transparent 36%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.clinical-hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 220px;
  background: rgba(255,255,255,0.06);
  transform: rotate(-4deg);
}
.clinical-hero .container {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.clinical-hero h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.clinical-hero p:not(.section-label) {
  max-width: 660px;
  color: rgba(255,255,255,0.72);
  font-size: 17px;
}
.clinical-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.clinical-section {
  padding-top: 82px;
  background: var(--off-white);
}
.clinical-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.clinical-heading h2 {
  margin-bottom: 0;
}
.clinical-heading > p {
  color: var(--gray);
  max-width: 320px;
  text-align: right;
}
.clinical-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.clinical-card.gallery-item,
.clinical-card.gallery-item:nth-child(3n),
.clinical-card.gallery-item:nth-child(4n),
.clinical-card.gallery-item:nth-child(5n) {
  aspect-ratio: 1/1;
  grid-row: auto;
  background: var(--navy);
  border: 1px solid rgba(13,27,42,0.08);
  box-shadow: 0 18px 48px rgba(13,27,42,0.16);
}
.clinical-card img {
  object-position: center;
  filter: contrast(1.04) saturate(0.92);
}
.clinical-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  color: var(--white);
  background: rgba(13,27,42,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.clinical-card .gallery-overlay {
  background: linear-gradient(180deg, rgba(13,27,42,0.02), rgba(13,27,42,0.64));
}

/* ===== LIGHTBOX ===== */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#lightbox.active { display: flex; }
#lightbox.active #lightbox-img {
  animation: lightboxZoom 0.28s ease-out both;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}
@keyframes lightboxZoom {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--teal); }

/* ===== REVIEWS ===== */
.reviews-section {
  background:
    linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(14,124,123,0.08), transparent 36%);
  pointer-events: none;
}
.review-cols {
  position: relative;
  z-index: 1;
}
.reviews-copy p {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 24px;
}
.review-list {
  display: grid;
  gap: 16px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 34px rgba(13,27,42,0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,124,123,0.28);
  box-shadow: 0 20px 54px rgba(13,27,42,0.12);
}
.review-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  margin-bottom: 12px;
}
.review-card p {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.review-card strong {
  color: var(--teal);
  font-size: 13px;
}
.review-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(14,124,123,0.1);
}

/* ===== CONTACT ===== */
#contact { background: var(--off-white); }
.contact-cols { gap: 80px; align-items: start; }
.contact-info p { color: var(--gray); margin-bottom: 32px; font-size: 15px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.contact-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-icon.whatsapp { background: #25d36620; color: #25d366; }
.contact-icon.viber { background: #7360f220; color: #7360f2; }
.contact-icon.phone { background: rgba(14,124,123,0.15); color: var(--teal); }
.contact-icon.email { background: rgba(240,165,0,0.16); color: var(--gold); }
.contact-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); }
.contact-item span { font-size: 14px; color: var(--gray); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--light-gray);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; }

.form-success {
  text-align: center;
  padding: 40px;
}
.form-success i { font-size: 48px; color: var(--teal); margin-bottom: 16px; display: block; }
.form-success p { font-size: 16px; color: var(--gray); }
.hidden { display: none; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.footer-links h4, .footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--accent); }
.footer-contact i { color: var(--accent); width: 16px; }
.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 8px 48px rgba(37,211,102,0.7); }
}

/* ===== MOBILE ACTION BAR ===== */
.mobile-action-bar {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 998;
  background: rgba(13,27,42,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.mobile-action-bar a {
  flex: 1;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 8px;
  font-size: 13px;
  font-weight: 700;
}
.mobile-action-bar a + a { border-left: 1px solid rgba(255,255,255,0.1); }
.mobile-action-bar i { color: var(--accent); font-size: 15px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .conditions-grid,
  .procedures-grid,
  .why-grid,
  .journey-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .clinical-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .journey-section::before { display: none; }
  .nav-links { gap: 22px; }
}

@media (max-width: 768px) {
  body { padding-bottom: 78px; }
  section { padding: 64px 0; }
  .two-col, .contact-cols { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { max-width: 420px; margin: 0 auto; }
  .about-img-frame { aspect-ratio: 3/4; }
  .about-card { right: 0; bottom: -16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .conditions-grid, .procedures-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    font-size: 18px;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; z-index: 1001; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .clinical-hero { min-height: auto; padding: 130px 0 72px; }
  .clinical-heading { display: block; }
  .clinical-heading > p { text-align: left; max-width: 100%; margin-top: 12px; }
  .clinical-hero-actions .btn { width: 100%; justify-content: center; }
  .whatsapp-float { display: none; }
  .mobile-action-bar { display: flex; }
  #hero {
    min-height: 92vh;
    padding-bottom: 150px;
  }
  #hero .hero-btns { display: none; }
  .hero-scroll-indicator { display: none; }
}

@media (max-width: 540px) {
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .clinical-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(5n) { grid-row: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; align-items: center; }
  .hero-content h1 { font-size: 40px; }
  .mobile-action-bar span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
