/* =========================================
   KALARICKAL DENTAL CLINIC — FULL CSS
   White · Navy · Emerald  |  v4
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0B2250;
  --navy-mid:    #163472;
  --blue:        #1A4FC4;
  --blue-lt:     #EEF3FF;
  --blue-mid:    #2563EB;
  --green:       #16A34A;
  --green-dk:    #15803D;
  --white:       #FFFFFF;
  --off:         #F7F9FF;
  --g100:        #F3F4F6;
  --g200:        #E5E7EB;
  --g400:        #9CA3AF;
  --g500:        #6B7280;
  --g700:        #374151;
  --g900:        #111827;
  --text:        #1C2B4A;
  --r:           12px;
  --r-lg:        20px;
  --sh:          0 4px 20px rgba(11,34,80,.08), 0 1px 4px rgba(11,34,80,.05);
  --sh-lg:       0 24px 60px rgba(11,34,80,.14), 0 6px 18px rgba(11,34,80,.08);
  --ease:        cubic-bezier(.4,0,.2,1);
  --t:           .28s;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── TYPOGRAPHY ── */
.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-title   { font-family: 'Playfair Display', serif; font-size: clamp(30px,4vw,44px); font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: 16px; }
.section-subtitle{ font-size: 16px; color: var(--g500); max-width: 540px; line-height: 1.75; margin: 0 auto; }
.section-header  { text-align: center; margin-bottom: 60px; }
.section-header.light .section-title   { color: #fff; }
.section-header.light .section-eyebrow { color: rgba(255,255,255,.6); }
.section-header.light .section-subtitle{ color: rgba(255,255,255,.65); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; padding: 13px 26px;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn-primary:hover { background: var(--green-dk); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22,163,74,.28); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: #fff; padding: 13px 26px;
  border-radius: 8px; font-size: 15px; font-weight: 500;
  border: 1.5px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
  transition: background var(--t), transform var(--t);
}
.btn-secondary:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

/* ═══════════════════════════
   NAVBAR
═══════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: #fff; border-bottom: 1px solid var(--g200);
  transition: box-shadow var(--t);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(11,34,80,.1); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 72px; max-width: 1280px; margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--navy); }
.logo-tag  { font-size: 10.5px; font-weight: 500; color: var(--g500); letter-spacing: .3px; }

.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--g700); padding: 8px 14px; border-radius: 7px; transition: color var(--t), background var(--t); }
.nav-links a:hover { color: var(--navy); background: var(--blue-lt); }

.nav-cta { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: #fff; background: var(--green); padding: 10px 20px; border-radius: 8px; transition: background var(--t), transform var(--t); }
.nav-cta:hover { background: var(--green-dk); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--t); }

.mobile-menu { display: none; flex-direction: column; background: #fff; padding: 10px 24px 20px; border-top: 1px solid var(--g100); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--g700); padding: 13px 0; border-bottom: 1px solid var(--g100); }
.mobile-menu .mobile-cta { margin-top: 16px; background: var(--green); color: #fff; text-align: center; padding: 13px; border-radius: 8px; font-weight: 600; border: none; }

/* ═══════════════════════════
   HERO
═══════════════════════════ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,34,80,.92) 0%, rgba(11,34,80,.68) 52%, rgba(11,34,80,.28) 100%); }
.hero-content { position: relative; z-index: 2; padding: 150px 80px 90px; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); color: rgba(255,255,255,.9); padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; margin-bottom: 26px; }
.badge-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(22,163,74,.5)} 50%{box-shadow:0 0 0 7px rgba(22,163,74,0)} }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(42px,6vw,68px); font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 22px; }
.hero-title em { font-style: italic; color: #7EB3FF; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.75; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(14px); border-radius: 16px; padding: 22px 30px; width: fit-content; }
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 28px; }
.stat:first-child { padding-left: 0; }
.stat:last-child  { padding-right: 0; }
.stat-num   { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #fff; line-height: 1; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }
.stat-divider { width: 1px; height: 42px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.hero-scroll { position: absolute; bottom: 42px; right: 62px; z-index: 2; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.45); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; writing-mode: vertical-lr; }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); animation: scrollPulse 2.2s ease infinite; }
@keyframes scrollPulse { 0%,100%{opacity:1} 50%{opacity:.2} }

/* ═══════════════════════════
   ABOUT
═══════════════════════════ */
.about { padding: 110px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.about-images { position: relative; }
.img-main img { width: 100%; max-width: 420px; border-radius: var(--r-lg); box-shadow: var(--sh-lg); aspect-ratio: 3/4; object-fit: cover; }
.about-badge-card { position: absolute; bottom: 32px; right: -18px; background: var(--navy); color: #fff; padding: 18px 22px; border-radius: var(--r); box-shadow: var(--sh-lg); text-align: center; }
.badge-num  { display: block; font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: #7EB3FF; line-height: 1; }
.badge-desc { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 5px; display: block; }
.about-role  { font-size: 15px; color: var(--blue); font-weight: 500; margin-bottom: 24px; }
.about-text  { font-size: 15.5px; color: var(--g700); line-height: 1.8; margin-bottom: 16px; }
.about-text strong { color: var(--navy); font-weight: 700; }
.about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 34px; }
.about-pills span { background: var(--blue-lt); color: var(--blue); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 100px; }

/* ═══════════════════════════
   TREATMENTS
═══════════════════════════ */
.treatments {
  padding: 110px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.treatments::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue-mid), var(--green));
}
.treatments .section-eyebrow { color: rgba(255,255,255,.55); }
.treatments .section-title   { color: #fff; }
.treatments .section-subtitle{ color: rgba(255,255,255,.6); }

.treatment-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* Show more functionality */
.tx-card.tx-hidden { display: none; }
.tx-card.tx-hidden.tx-revealed { display: block; }

.tx-show-more-wrap {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.btn-show-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background var(--t), border-color var(--t), transform var(--t);
  letter-spacing: 0.2px;
}
.btn-show-more:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.45);
  transform: translateY(-2px);
}
.btn-show-more svg {
  transition: transform 0.3s var(--ease);
}
.btn-show-more.expanded svg {
  transform: rotate(180deg);
}

/* ── Treatment card (fixed alignment) ── */
.tx-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: default;
  opacity: 0;
  transform: translateY(30px);
  background: var(--navy-mid);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .3s var(--ease);
}
.tx-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .3s var(--ease);
}
.tx-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }

.tx-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}
.tx-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.tx-card:hover .tx-img img { transform: scale(1.06); }
.tx-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,34,80,.05) 0%, rgba(11,34,80,.55) 100%);
}

.tx-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--green); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; z-index: 2;
}

.tx-content {
  padding: 18px 20px 22px;
  background: var(--navy-mid);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: background var(--t);
}
.tx-card:hover .tx-content { background: #1a3d7a; }

.tx-num {
  font-family: 'Playfair Display', serif;
  font-size: 11px; font-weight: 700;
  color: var(--blue-mid); letter-spacing: 1px;
  display: block; margin-bottom: 5px;
}
.tx-content h3 {
  font-size: 15px; font-weight: 700; color: #fff;
  margin-bottom: 8px; line-height: 1.3;
}
.tx-short {
  font-size: 13px; color: rgba(255,255,255,.65);
  line-height: 1.55;
  flex: 1;
}

.tx-featured { box-shadow: 0 0 0 2px rgba(22,163,74,.4); }

/* ═══════════════════════════
   TEAM
═══════════════════════════ */
.team { padding: 110px 0 100px; background: var(--off); position: relative; overflow: hidden; }

.team-bg-text {
  position: absolute; top: 40px; right: -30px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(80px,14vw,180px); font-weight: 700;
  color: rgba(26,79,196,.04); pointer-events: none; user-select: none;
  white-space: nowrap; line-height: 1;
}

.founder-card {
  display: grid; grid-template-columns: 420px 1fr;
  border-radius: 24px; overflow: hidden; box-shadow: var(--sh-lg);
  margin-bottom: 64px; opacity: 0; transform: translateY(30px);
  min-height: 480px;
}
.founder-card.visible { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

.founder-img-wrap { position: relative; overflow: hidden; }
.founder-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .6s var(--ease); }
.founder-card:hover .founder-img-wrap img { transform: scale(1.04); }
.founder-img-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(11,34,80,.3) 0%, rgba(11,34,80,0) 60%); }

.founder-content { background: var(--navy); padding: 52px 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.founder-tag  { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 16px; }
.founder-name { font-family: 'Playfair Display', serif; font-size: clamp(32px,3.5vw,48px); font-weight: 700; color: #fff; line-height: 1.1; }
.founder-divider { width: 48px; height: 3px; background: var(--green); border-radius: 2px; margin: 22px 0; }
.founder-bio  { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 28px; }
.founder-bio strong { color: #fff; font-weight: 700; }
.founder-stats{ display: flex; gap: 28px; margin-bottom: 24px; }
.founder-stats div  { display: flex; flex-direction: column; }
.founder-stats span { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #7EB3FF; line-height: 1; }
.founder-stats small{ font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; font-weight: 500; }
.founder-pills{ display: flex; flex-wrap: wrap; gap: 8px; }
.founder-pills span { font-size: 12px; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8); padding: 5px 13px; border-radius: 100px; }

.specialists-label { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 24px; }

.specialists-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.spec-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh); opacity: 0; transform: translateY(24px);
}
.spec-card.visible {
  opacity: 1; transform: none;
  transition: opacity .5s var(--ease) calc(var(--i) * 0.09s),
              transform .5s var(--ease) calc(var(--i) * 0.09s),
              box-shadow var(--t) var(--ease);
}
.spec-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }

.spec-img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--g100); }
.spec-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.spec-card:hover .spec-img-wrap img { transform: scale(1.08); }

.spec-hover-overlay { position: absolute; inset: 0; background: rgba(11,34,80,.75); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity .3s; }
.spec-card:hover .spec-hover-overlay { opacity: 1; }
.spec-hover-overlay p { font-size: 13px; font-weight: 600; color: #fff; letter-spacing: .5px; }

.spec-info { padding: 18px 20px 22px; }
.spec-accent { width: 28px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 2px; margin-bottom: 12px; }
.spec-info h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.spec-info p  { font-size: 13px; font-weight: 500; color: var(--blue); }

/* ═══════════════════════════
   BEFORE & AFTER GALLERY
═══════════════════════════ */
.gallery {
  padding: 110px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.gallery::before {
  content: 'RESULTS';
  position: absolute;
  top: 30px;
  right: -20px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(70px, 12vw, 160px);
  font-weight: 700;
  color: rgba(26, 79, 196, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

/* Filter tabs */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--g200);
  background: #fff;
  color: var(--g700);
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}
.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-lt);
}
.filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(11, 34, 80, 0.2);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Gallery card */
.gallery-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
  opacity: 0;
  transform: translateY(28px);
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease) calc(var(--gi, 0) * 0.08s),
              transform 0.5s var(--ease) calc(var(--gi, 0) * 0.08s),
              box-shadow 0.3s var(--ease);
}
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
}

/* Image container */
.gallery-card-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--g100);
}
.gallery-card-img img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease);
  object-fit: cover;
}
.gallery-card:hover .gallery-card-img img {
  transform: scale(1.04);
}

/* Before / After labels overlay */
.ba-labels {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  padding: 10px 12px;
}
.ba-top    { display: flex; justify-content: flex-start; }
.ba-bottom { display: flex; justify-content: flex-start; }

.ba-pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.ba-pill.before { background: rgba(239, 68, 68, 0.85); color: #fff; }
.ba-pill.after  { background: rgba(22, 163, 74, 0.85);  color: #fff; }

/* Divider line between top/bottom halves */
.ba-divider-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 2;
}

/* Card info */
.gallery-card-info {
  padding: 16px 18px 20px;
}
.gc-accent {
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px;
  margin-bottom: 10px;
}
.gallery-card-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 7px;
}
.gc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

/* Gallery CTA strip */
.gallery-cta {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 30px 40px;
}
.gallery-cta p {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

/* ── LIGHTBOX ── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7, 18, 42, 0.96);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.gallery-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 680px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.3s var(--ease);
}
.gallery-lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-inner img {
  width: 100%;
  display: block;
  max-height: 75vh;
  object-fit: contain;
  background: #f0f2f8;
}

.lightbox-caption {
  padding: 18px 24px 22px;
  background: var(--navy);
}
.lightbox-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.lightbox-caption p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,.35);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.lightbox-close:hover { background: rgba(0,0,0,.6); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

/* ═══════════════════════════
   REVIEWS
═══════════════════════════ */
.reviews { padding: 110px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.rating-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 8px 18px; border-radius: 100px; font-size: 14px; color: rgba(255,255,255,.8); margin-top: 16px; }
.rating-badge .stars { color: #FBBF24; letter-spacing: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.review-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); border-radius: var(--r-lg); padding: 30px; opacity: 0; transform: translateY(20px); }
.review-card.visible { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background var(--t); }
.review-card:hover { background: rgba(255,255,255,.13); transform: translateY(-5px); }
.review-stars { color: #FBBF24; font-size: 17px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.75; font-style: italic; margin-bottom: 22px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 38px; height: 38px; background: var(--blue-mid); color: #fff; font-weight: 700; font-size: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.reviewer strong { display: block; font-size: 14px; color: #fff; font-weight: 600; }
.reviewer span   { font-size: 12px; color: rgba(255,255,255,.45); }

/* ═══════════════════════════
   CONTACT
═══════════════════════════ */
.contact { padding: 110px 0; background: var(--off); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-sub { font-size: 15px; color: var(--g500); line-height: 1.75; margin-bottom: 36px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-card { background: #fff; border: 1.5px solid var(--g200); border-radius: var(--r); padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; opacity: 0; transform: translateY(10px); }
.contact-card.visible { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), border-color var(--t), box-shadow var(--t); }
.contact-card:hover { border-color: var(--blue); box-shadow: var(--sh); }
.cc-icon { font-size: 20px; width: 42px; height: 42px; background: var(--blue-lt); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-card p  { font-size: 14px; color: var(--g700); line-height: 1.65; }
.contact-card a  { color: var(--blue); font-weight: 500; }
.contact-card a:hover { color: var(--navy); }
.closed { color: #EF4444; font-size: 13px; }
.cta-strip { background: var(--navy); color: #fff; padding: 22px 26px; border-radius: var(--r); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-strip strong { font-size: 16px; font-weight: 700; display: block; margin-bottom: 3px; }
.cta-strip p { font-size: 13px; color: rgba(255,255,255,.6); margin: 0; }
.contact-right { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.clinic-photo img { width: 100%; border-radius: var(--r-lg); height: 220px; object-fit: cover; box-shadow: var(--sh); }
.map-wrap { width: 100%; height: 280px; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); border: 1.5px solid var(--g200); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
.footer { background: var(--g900); padding: 36px 0; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { width: 36px; height: 36px; border-radius: 6px; }
.footer-logo .logo-name { color: #fff; font-size: 15px; }
.footer-logo .logo-tag  { color: rgba(255,255,255,.4); font-size: 11px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.45); font-weight: 500; transition: color var(--t); }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 1100px) {
  .treatment-grid { grid-template-columns: repeat(3,1fr); }
  .founder-card   { grid-template-columns: 340px 1fr; }
  .gallery-grid   { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-content { padding: 130px 32px 80px; max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-images { max-width: 360px; }
  .about-badge-card { right: 0; }
  .treatment-grid { grid-template-columns: repeat(2,1fr); }
  .founder-card { grid-template-columns: 1fr; }
  .founder-img-wrap { height: 360px; }
  .founder-img-wrap img { object-position: center 10%; }
  .specialists-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-right { position: static; }
  .lightbox-prev, .lightbox-next { display: none; }
}

@media (max-width: 640px) {
  .nav-inner { padding: 0 20px; height: 64px; }
  .logo-name { font-size: 16px; }
  .hero-content { padding: 110px 20px 60px; }
  .hero-title   { font-size: 36px; }
  .hero-sub     { font-size: 14px; }
  .hero-stats   { flex-direction: column; width: 100%; gap: 14px; padding: 20px; }
  .stat         { flex-direction: row; gap: 14px; padding: 0; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-scroll  { display: none; }
  .treatment-grid   { grid-template-columns: 1fr 1fr; }
  .specialists-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid     { grid-template-columns: 1fr 1fr; }
  .reviews-grid     { grid-template-columns: 1fr; }
  .cta-strip    { flex-direction: column; text-align: center; }
  .gallery-cta  { flex-direction: column; text-align: center; padding: 24px 20px; }
  .founder-content { padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .filter-btn   { font-size: 12px; padding: 7px 14px; }
}