/* ═══════════════════════════════════════════════════
   THE DENTAL LOUNGE — Bold Premium Redesign v3
   Dark hero · Cinematic · High-contrast
   ═══════════════════════════════════════════════════ */

:root {
  --white: #ffffff;
  --off-white: #f6f8fa;
  --soft-grey: #eef1f5;
  --pale-teal: #e4f0f0;
  --teal-100: #c2e0de;
  --teal-200: #7cc4bf;
  --teal-300: #3da89f;
  --teal-400: #1b8a80;
  --teal-500: #0d6e64;
  --deep-teal: #0d3b5e;
  --navy: #06111e;
  --dark: #0a1628;
  --grey-200: #dde2e8;
  --grey-300: #bfc7d0;
  --grey-400: #8892a2;
  --text-dark: #0e1827;
  --text-body: #3e4a5c;
  --text-muted: #8892a2;
  --accent: #c8a55c;
  --success: #22c55e;

  --font-body: 'Outfit', sans-serif;
  --font-display: 'Playfair Display', serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --shadow-xl: 0 32px 72px rgba(0,0,0,0.16);

  --ease: cubic-bezier(0.4,0,0.2,1);
  --tr: 0.35s var(--ease);
  --tr-fast: 0.2s ease;

  --max-w: 1280px;
  --section-pad: clamp(96px, 12vw, 152px);
}

/* ── Reset ───────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--tr-fast); }
a:hover { color: var(--teal-400); }
address { font-style: normal; }

/* ── Utility ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
}
.section { padding-block: var(--section-pad); }

.section-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--deep-teal); }

.section-sub {
  font-size: 1.06rem;
  color: var(--text-body);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(52px, 8vw, 88px);
}
.section-header .section-sub { margin-inline: auto; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 16px 34px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}

.btn-primary {
  background: var(--deep-teal);
  color: var(--white);
  border-color: var(--deep-teal);
  box-shadow: 0 4px 20px rgba(13,59,94,0.3);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(13,59,94,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--deep-teal);
  border-color: var(--grey-200);
}
.btn-outline:hover {
  border-color: var(--deep-teal);
  background: var(--pale-teal);
  color: var(--deep-teal);
}

.btn-white-outline {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: var(--white);
  transform: translateY(-3px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Scroll Reveal ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transition: all var(--tr);
}

.navbar.scrolled {
  background: rgba(6,17,30,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 32px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  max-width: var(--max-w);
  margin-inline: auto;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.4rem; color: var(--teal-300); }
.nav-logo-img { height: 48px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--tr-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 2px;
  background: var(--teal-300);
  transition: width var(--tr), left var(--tr);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; left: 0; }

.nav-cta {
  background: var(--teal-400) !important;
  color: var(--white) !important;
  padding: 11px 26px;
  border-radius: var(--radius-full);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  border: none;
  box-shadow: 0 4px 16px rgba(13,59,94,0.3);
}
.nav-cta:hover {
  background: var(--teal-500) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,59,94,0.4);
}
.nav-cta::after { display: none !important; }

.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: all var(--tr-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════
   HERO — Full-bleed background image + dark overlay
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,17,30,0.75) 0%,
    rgba(6,17,30,0.65) 40%,
    rgba(6,17,30,0.80) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 160px clamp(20px, 5vw, 72px) 100px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  color: var(--teal-200);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.12);
  animation: fadeSlideDown 0.8s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeSlideUp 0.9s ease 0.15s both;
  max-width: 700px;
}
.hero-title em { color: var(--teal-200); font-style: italic; }

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 44px;
  font-weight: 300;
  animation: fadeSlideUp 0.9s ease 0.25s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeSlideUp 0.9s ease 0.35s both;
}

.hero-stats {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  animation: fadeSlideUp 0.9s ease 0.45s both;
}

.stat {
  padding: 18px 28px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  flex: 1 1 auto;
  min-width: 120px;
  text-align: center;
}
.stat:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.stat:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-display);
}

.stat-label {
  display: block;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.stat-divider { display: none; }

.hero-floating-card {
  position: absolute;
  bottom: 48px;
  right: clamp(20px, 5vw, 72px);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  animation: float 5s ease-in-out infinite;
  z-index: 3;
}

.fc-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--teal-400);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fc-title { font-weight: 600; font-size: 0.92rem; color: var(--white); }
.fc-sub { font-size: 0.76rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ── Remove old hero visual elements ── */
.hero-visual, .hero-image-wrapper, .hero-img, .hero-image-overlay { display: none; }

/* ══════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════ */
.about-section {
  background: var(--white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.about-image-block {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 0;
  background: none;
}

.about-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-accent-card {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--deep-teal);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.aac-num {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-display);
}

.aac-text { font-size: 0.8rem; opacity: 0.8; margin-top: 6px; }

.about-body {
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 22px;
  font-weight: 300;
  font-size: 1.02rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  transition: all var(--tr);
}
.pillar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--teal-200);
  background: var(--white);
}
.pillar-icon { font-size: 1.5rem; flex-shrink: 0; }
.pillar-title { font-weight: 600; font-size: 0.92rem; color: var(--text-dark); }
.pillar-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }

/* ══════════════════════════════════════════════════
   DOCTORS
   ══════════════════════════════════════════════════ */
.doctors-section { background: var(--off-white); }

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

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--tr);
  border: 1px solid var(--grey-200);
}
.doctor-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.doctor-image-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--pale-teal), var(--teal-100));
  overflow: hidden;
}

.doctor-img {
  width: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease-in-out;
}
.doctor-card:hover .doctor-img { transform: scale(1.04); }

.doctor-info { padding: 32px; }

.doctor-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.badge-primary { background: var(--deep-teal); color: var(--white); }
.badge-accent { background: var(--accent); color: var(--white); }
.badge-light { background: var(--pale-teal); color: var(--deep-teal); }

.doctor-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.doctor-role {
  font-size: 0.84rem;
  color: var(--teal-400);
  font-weight: 500;
  margin-bottom: 18px;
}

.doctor-bio {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.doctor-focus { display: flex; flex-wrap: wrap; gap: 8px; }
.doctor-focus span {
  font-size: 0.73rem;
  color: var(--deep-teal);
  background: var(--pale-teal);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: all var(--tr-fast);
}
.doctor-focus span:hover { background: var(--deep-teal); color: var(--white); }

/* ── Specialists ─────────────────────────────────── */
.specialists-section { background: var(--white); }

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

.specialist-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--grey-200);
  transition: all var(--tr);
}
.specialist-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  background: var(--white);
}

.spec-avatar {
  width: 96px; height: 96px;
  border-radius: var(--radius-full);
  margin: 0 auto 22px;
  position: relative;
  background: linear-gradient(135deg, var(--pale-teal), var(--teal-200));
  overflow: hidden;
}
.spec-avatar img { width: 100%; height: 100%; object-fit: cover; }

.spec-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
  color: var(--teal-400);
  font-family: var(--font-display);
}

.spec-specialty {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-400); margin-bottom: 8px;
}

.spec-name {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 14px;
}

.spec-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.75;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════
   SERVICES — Premium card grid
   ══════════════════════════════════════════════════ */
.services-section { background: var(--off-white); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out, border-color 0.4s ease-in-out;
  cursor: pointer;
}
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--teal-200);
}

.service-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.service-card:hover .service-img { transform: scale(1.06); }

.service-icon {
  font-size: 1.4rem;
  color: var(--teal-400);
  margin: 24px 28px 10px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pale-teal);
  border-radius: var(--radius-sm);
  line-height: 1;
}

.service-name { font-weight: 600; font-size: 1.04rem; color: var(--text-dark); margin: 0 28px 8px; }
.service-desc { font-size: 0.86rem; color: var(--text-body); line-height: 1.7; margin: 0 28px 16px; font-weight: 300; }

.service-more-btn {
  background: none;
  border: 1px solid var(--grey-200);
  color: var(--deep-teal);
  font-size: 0.76rem; font-weight: 600;
  padding: 7px 16px; border-radius: var(--radius-full);
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  margin: 0 28px 24px;
  transition: all var(--tr-fast);
  font-family: var(--font-body);
}
.service-more-btn:hover { background: var(--pale-teal); border-color: var(--teal-200); }

.toggle-arrow { transition: transform var(--tr-fast); }
.service-more-btn[aria-expanded="true"] .toggle-arrow { transform: rotate(180deg); }

.service-more-content {
  max-height: 0; overflow: hidden;
  font-size: 0.84rem; color: var(--text-body);
  line-height: 1.75; margin: 0 28px; padding: 0;
  transition: max-height 0.4s var(--ease), padding 0.3s ease;
  display: block; font-weight: 300;
}
.service-more-content.open {
  max-height: 220px;
  padding: 14px 0 24px;
  border-top: 1px solid var(--grey-200);
}

/* ══════════════════════════════════════════════════
   TECHNOLOGY
   ══════════════════════════════════════════════════ */
.technology-section {
  background: linear-gradient(170deg, var(--navy) 0%, #0a2a40 50%, var(--deep-teal) 100%);
  position: relative; overflow: hidden;
}
.technology-section::after {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 50%; height: 180%;
  background: radial-gradient(ellipse, rgba(27,138,128,0.08), transparent 70%);
  pointer-events: none;
}

.tech-inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px; align-items: center;
  position: relative; z-index: 1;
}

.technology-section .section-tag { color: var(--teal-200); }
.technology-section .section-title { color: var(--white); }
.technology-section .section-title em { color: var(--teal-200); }

.tech-body { color: rgba(255,255,255,0.55); line-height: 1.85; margin-bottom: 36px; font-weight: 300; }

.tech-features { display: flex; flex-direction: column; gap: 14px; }

.tech-feat {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--tr);
}
.tech-feat:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); transform: translateX(4px); }

.tf-icon {
  font-size: 1.3rem; flex-shrink: 0;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}

.tech-feat h4 { font-weight: 600; color: var(--white); margin-bottom: 4px; font-size: 0.92rem; }
.tech-feat p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.7; font-weight: 300; }

.tech-visual {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; min-height: 500px;
  background: linear-gradient(135deg, var(--deep-teal), var(--navy));
}
.tech-visual img {
  width: 100%; height: 100%; object-fit: cover;
  min-height: 500px; border-radius: var(--radius-xl);
  opacity: 0.85; transition: transform 0.5s ease-in-out;
}
.tech-visual:hover img { transform: scale(1.03); }

.tech-cert-badge {
  position: absolute; bottom: 24px; right: 24px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-size: 0.8rem; font-weight: 600; line-height: 1.4;
}

/* ══════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════ */
.gallery-section { background: var(--white); }

.gallery-slider-wrapper {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.gallery-slider { display: flex; transition: transform 0.7s var(--ease); }

.gallery-slide {
  flex: 0 0 100%; position: relative;
  height: 520px; overflow: hidden;
  background: linear-gradient(135deg, #eaf2f8, #a8d1ea);
}
.gallery-slide:nth-child(2) { background: linear-gradient(135deg, #e8f0f8, #b8c8e0); }
.gallery-slide:nth-child(3) { background: linear-gradient(135deg, #e8f8f0, #a8d4c5); }
.gallery-slide:nth-child(4) { background: linear-gradient(135deg, #f0eeff, #c5b8e8); }

.gallery-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.gallery-slider-wrapper:hover .gallery-slide img { transform: scale(1.03); }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 32px;
  background: linear-gradient(to top, rgba(6,17,30,0.7), transparent);
  color: var(--white); font-weight: 500;
}

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border: none; width: 50px; height: 50px;
  border-radius: var(--radius-full);
  font-size: 1.4rem; cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--tr);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark); z-index: 10;
}
.slider-btn:hover { background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-50%) scale(1.1); }
.prev-btn { left: 16px; }
.next-btn { right: 16px; }

.slider-dots {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4);
  cursor: pointer; transition: all var(--tr); border: none;
}
.slider-dot.active { background: var(--white); width: 28px; }

/* ══════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════ */
.testimonials-section {
  background: linear-gradient(180deg, var(--off-white), var(--white));
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  transition: all var(--tr);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.featured-testimonial {
  background: linear-gradient(140deg, var(--dark), var(--deep-teal));
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.featured-testimonial .t-stars { color: var(--accent); }
.featured-testimonial .t-quote { color: rgba(255,255,255,0.7); }
.featured-testimonial .t-name { color: var(--white); }
.featured-testimonial .t-detail { color: rgba(255,255,255,0.5); }
.featured-testimonial .t-avatar { background: var(--teal-400); }

.t-stars { color: #f0b429; font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 20px; }
.t-quote { font-size: 0.92rem; color: var(--text-body); line-height: 1.85; font-style: italic; margin-bottom: 28px; font-weight: 300; }
.t-patient { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--deep-teal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.t-name { font-weight: 600; font-size: 0.92rem; color: var(--text-dark); }
.t-detail { font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }

/* ══════════════════════════════════════════════════
   BEFORE & AFTER — Comparison Grid
   ══════════════════════════════════════════════════ */
.ba-section { background: var(--off-white); }

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

.ba-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.5s var(--ease);
}
.ba-item:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.ba-hidden {
  display: none;
  opacity: 0;
  transform: translateY(30px);
}
.ba-hidden.ba-show {
  display: block;
  animation: baReveal 0.6s var(--ease) forwards;
}
@keyframes baReveal { to { opacity: 1; transform: translateY(0); } }

.ba-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  background: var(--navy);
}

.ba-compare img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before { clip-path: inset(0 50% 0 0); z-index: 2; }
.ba-after { z-index: 1; }

.ba-slider {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0;
  cursor: ew-resize; z-index: 4;
  -webkit-appearance: none; appearance: none;
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  pointer-events: none;
}

.ba-handle-line {
  flex: 1; width: 3px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.ba-handle-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(13,59,94,0.85);
  backdrop-filter: blur(8px);
  border: 3px solid rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* View More Button */
.ba-viewmore-wrap { text-align: center; margin-top: 40px; }
.ba-viewmore-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 2px solid var(--grey-300);
  color: var(--deep-teal); font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  padding: 14px 32px; border-radius: var(--radius-full);
  cursor: pointer; transition: all var(--tr);
  letter-spacing: 0.04em;
}
.ba-viewmore-btn:hover {
  background: var(--deep-teal); color: var(--white);
  border-color: var(--deep-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,59,94,0.3);
}
.ba-viewmore-btn.ba-expanded .ba-viewmore-arrow { transform: rotate(180deg); }
.ba-viewmore-arrow { transition: transform 0.4s var(--ease); }
.ba-viewmore-btn.ba-all-shown { display: none; }

/* ══════════════════════════════════════════════════
   NRI SECTION
   ══════════════════════════════════════════════════ */
.nri-section {
  background: linear-gradient(160deg, var(--deep-teal), var(--navy));
  overflow: hidden; position: relative;
}
.nri-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(27,138,128,0.12), transparent 60%);
  pointer-events: none;
}
.nri-block {
  display: flex; gap: 40px;
  padding: clamp(44px, 7vw, 72px);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  position: relative; z-index: 1;
}
.nri-icon { font-size: 3.5rem; flex-shrink: 0; margin-top: 8px; opacity: 0.85; }
.nri-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 600; color: var(--white);
  line-height: 1.25; margin-bottom: 24px;
}
.nri-title em { font-style: italic; color: var(--teal-200); }
.nri-body { color: rgba(255,255,255,0.55); line-height: 1.85; margin-bottom: 16px; font-size: 0.95rem; font-weight: 300; }
.nri-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* ══════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════ */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 26px; background: var(--off-white);
  border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  transition: all var(--tr);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cc-icon {
  font-size: 1.3rem; flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pale-teal); border-radius: var(--radius-md);
}
.contact-card h4 { font-weight: 700; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 6px; }
.contact-card address, .contact-card p { font-size: 0.88rem; color: var(--text-body); line-height: 1.8; }
.contact-card a { display: block; font-size: 0.88rem; color: var(--deep-teal); font-weight: 500; margin-top: 4px; }
.contact-card a:hover { color: var(--teal-500); }
.contact-map { min-height: 400px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-map iframe { display: block; }

/* ══════════════════════════════════════════════════
   APPOINTMENT FORM
   ══════════════════════════════════════════════════ */
.appointment-section { background: var(--off-white); }
.appointment-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.appt-sub { color: var(--text-body); line-height: 1.8; margin-bottom: 32px; font-weight: 300; }
.appt-assurances { display: flex; flex-direction: column; gap: 12px; }
.assurance { font-size: 0.88rem; color: var(--text-body); display: flex; align-items: center; gap: 10px; }
.assurance::before { content: ''; }

.appointment-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 52px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.form-group:last-of-type { margin-bottom: 28px; }

label { font-size: 0.8rem; font-weight: 600; color: var(--text-body); letter-spacing: 0.03em; }

input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.92rem; color: var(--text-dark);
  background: var(--off-white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 14px 18px; width: 100%; outline: none;
  transition: all var(--tr);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(27,138,128,0.1);
  background: var(--white);
}
textarea { resize: vertical; min-height: 96px; }
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238892a2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px; padding-right: 40px;
  -webkit-appearance: none; appearance: none;
}

.btn-arrow { transition: transform var(--tr-fast); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.form-success { margin-top: 18px; font-size: 0.88rem; color: var(--success); text-align: center; min-height: 22px; }

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer { background: var(--navy); color: rgba(255,255,255,0.65); padding-top: 80px; }
.footer-container {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; max-width: var(--max-w); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px); padding-bottom: 56px;
}
.footer-logo .logo-text { color: var(--white); }
.footer-tagline { font-size: 0.86rem; line-height: 1.8; margin-top: 16px; color: rgba(255,255,255,0.45); max-width: 280px; font-weight: 300; }

.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  font-size: 1.2rem; opacity: 0.5;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border-radius: var(--radius-sm);
  transition: all var(--tr-fast);
}
.footer-social a:hover { transform: translateY(-3px); opacity: 1; background: rgba(255,255,255,0.1); }

.footer-links h4, .footer-contact h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); margin-bottom: 22px;
  padding-bottom: 10px; position: relative;
}
.footer-links h4::after, .footer-contact h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 20px; height: 2px; background: var(--teal-400); border-radius: 2px;
}

.footer-links a { display: block; font-size: 0.86rem; color: rgba(255,255,255,0.45); margin-bottom: 10px; font-weight: 300; transition: all var(--tr-fast); }
.footer-links a:hover { color: var(--white); transform: translateX(4px); }
.footer-contact address { font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.85; margin-bottom: 16px; font-weight: 300; }
.footer-contact a { display: block; font-size: 0.84rem; color: rgba(255,255,255,0.45); margin-bottom: 6px; font-weight: 300; transition: color var(--tr-fast); }
.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px clamp(20px, 5vw, 72px);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  font-size: 0.76rem; color: rgba(255,255,255,0.25);
  max-width: var(--max-w); margin-inline: auto;
}

/* ── Floating Buttons ────────────────────────────── */
.fab-whatsapp, .fab-call {
  position: fixed; z-index: 998;
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--tr);
}
.fab-whatsapp { bottom: 32px; right: 32px; background: #25d366; }
.fab-call { bottom: 100px; right: 32px; background: var(--deep-teal); }
.fab-whatsapp:hover, .fab-call:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.3); }
.fab-whatsapp svg, .fab-call svg { width: 26px; height: 26px; fill: white; }

/* ── Animations ──────────────────────────────────── */
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-inner { grid-template-columns: 1fr 360px; gap: 48px; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-title { font-size: clamp(2.8rem, 8vw, 4.5rem); }
  .hero-content { padding-top: 140px; }
  .hero-floating-card { display: none; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .stat { min-width: 100px; padding: 16px 20px; }
  .stat:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
  .stat:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-block { order: -1; }
  .about-img { aspect-ratio: 16/10; height: auto; }
  .about-accent-card { bottom: 16px; right: 16px; }
  .doctors-grid { grid-template-columns: 1fr; }
  .specialists-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-inner { grid-template-columns: 1fr; }
  .tech-visual { min-height: 340px; }
  .tech-visual img { min-height: 340px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .appointment-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .gallery-slide { height: 400px; }
  .case-slide { height: 380px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 72px; }

  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; right: 0;
    width: 300px; height: 100vh;
    background: rgba(6,17,30,0.97);
    backdrop-filter: blur(20px);
    padding: 88px 36px 36px; gap: 24px;
    box-shadow: var(--shadow-xl); z-index: 997;
    transform: translateX(100%);
    transition: transform var(--tr);
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .hamburger { display: flex; z-index: 1000; position: relative; }
  .nav-links a { font-size: 1rem; color: rgba(255,255,255,0.8); }
  .nav-cta { display: inline-flex; width: fit-content; padding: 12px 24px !important; }

  .hero-content { padding-top: 120px; padding-bottom: 80px; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }

  .specialists-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-map { min-height: 280px; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .fab-whatsapp { bottom: 24px; right: 20px; }
  .fab-call { bottom: 90px; right: 20px; }

  .nri-block { flex-direction: column; gap: 20px; padding: 32px 24px; }
  .doctors-grid { grid-template-columns: 1fr; }
  .gallery-slide { height: 300px; }
  .ba-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-handle-circle { width: 32px; height: 32px; }
  .ba-handle-circle svg { width: 16px; height: 16px; }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .nri-cta { flex-direction: column; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0; }
  .stat { min-width: 90px; padding: 14px 16px; flex: 1 1 auto; }
  .stat:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
  .stat:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
}

/* ── Image fallbacks ────────────────────────────── */
.about-img:not([src]), .about-img[src=''] { display: none; }
.gallery-slide:not(:has(img[src])) { position: relative; }