/* ============================================================
   UHS Vista — design tokens (exact palette)
   ============================================================ */
:root {
  --bg-main: #F7FBFC;
  --bg-section: #EEF9FD;
  --hero-sky: #E3F5FA;
  --surface: #FFFFFF;
  --primary: #1C87B0;
  --primary-hover: #146C8C;
  --text-main: #0B3142;
  --text-soft: #5D7A84;
  --text-muted: #8AA2AA;
  --mint: #B8F0E2;
  --lavender: #DCCCFD;
  --peach: #F7DCCB;
  --cyan: #AEEFFF;
  --border-light: #DCE7EA;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow-soft: 0 8px 30px rgba(28, 135, 176, 0.08);
  --shadow-card: 0 15px 40px rgba(28, 135, 176, 0.10);
}

/* ============================================================
   UHS Vista — semantic component layer (Tailwind handles utilities)
   ============================================================ */

html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); }
.bg-ivory-deep { background-color: var(--bg-section); }

/* ---------- Navbar ---------- */
.nav-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-light);
}
.nav-link { position: relative; transition: color .2s ease; }
.nav-link:hover { color: #146C8C; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px;
  background: #1C87B0; transition: width .25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ---------- Nav dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: .3rem;
  font: inherit; background: none; border: none; cursor: pointer; color: inherit; padding: 0;
}
.nav-dropdown-trigger svg { transition: transform .2s ease; }
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.is-open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px);
  width: 260px; padding: .6rem; border-radius: 1.1rem;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 20px 44px -16px rgba(28,135,176,.22);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 60;
}
/* Invisible bridge so the pointer never leaves .nav-dropdown while crossing
   the 14px gap between the trigger and the menu — this is what was causing
   the dropdown to close on the way down. */
.nav-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 260px; height: 14px;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-dropdown-link {
  display: flex; align-items: flex-start; gap: .7rem; padding: .6rem .65rem; border-radius: .8rem;
  transition: background .15s ease;
}
.nav-dropdown-link:hover { background: var(--bg-section); }
.nav-dropdown-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: .65rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #E7FAFF, #D6F3FA); color: #1C87B0;
}
.nav-dropdown-link strong { display: block; font-size: .84rem; font-weight: 600; color: #0B3142; }
.nav-dropdown-link small { display: block; font-size: .72rem; color: #8AA2AA; margin-top: .1rem; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2196C4, #146C8C); color: #fff; font-weight: 600; font-size: .875rem;
  padding: .7rem 1.5rem; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(28,135,176,.08), 0 10px 24px -6px rgba(28,135,176,.45);
  transition: transform .2s ease, box-shadow .2s ease, background .3s ease;
}
.btn-primary:hover { background: linear-gradient(135deg, #1C87B0, #0F5670); transform: translateY(-1px); box-shadow: 0 1px 2px rgba(28,135,176,.1), 0 16px 32px -8px rgba(28,135,176,.55); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: #146C8C; font-weight: 600; font-size: .875rem;
  padding: .7rem 1.5rem; border-radius: 999px; border: 1px solid rgba(28,135,176,.18);
  transition: border-color .2s ease, transform .2s ease;
}
.btn-secondary:hover { border-color: #1C87B0; transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.9rem; font-size: .95rem; }
.btn-on-dark {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600;
  color: #fff; border: 1px solid rgba(255,255,255,.25); padding: .55rem 1.1rem;
  border-radius: 999px; transition: background .2s ease;
}
.btn-on-dark:hover { background: rgba(255,255,255,.1); }
.glow-cta { box-shadow: 0 0 0 1px rgba(28,135,176,.1), 0 0 32px -4px rgba(28,135,176,.5); }

/* ---------- Atmospheric orbs ---------- */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.orb-1 {
  width: 520px; height: 520px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(63,182,194,.4), transparent 70%);
  animation: orbDrift 22s ease-in-out infinite;
}
.orb-2 {
  width: 420px; height: 420px; bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(220,204,253,.3), transparent 70%);
  animation: orbDrift 26s ease-in-out infinite reverse;
}
.orb-footer {
  background: radial-gradient(circle at 70% 30%, rgba(220,204,253,.4), transparent 60%);
}
.orb-why {
  width: 600px; height: 600px; top: -200px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(220,204,253,.4), transparent 70%);
  filter: blur(80px); position: absolute;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-24px, 28px) scale(1.06); }
}

/* ---------- Particles ---------- */
.particles { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(28,135,176,.35);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: .5; }
  90%  { opacity: .35; }
  100% { transform: translateY(-420px) translateX(20px); opacity: 0; }
}

/* ---------- Hero ---------- */
.eyebrow {
  display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: #1C87B0; background: #EEF9FD; padding: .4rem .9rem; border-radius: 999px;
}
.hero-card-stack { position: relative; }
.hero-img {
  width: 100%; aspect-ratio: 4/3.55; object-fit: cover; object-position: top center; border-radius: 1.75rem;
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 32px 64px -20px rgba(28,135,176,.25);
}
.hero-float-card {
  position: absolute; display: flex; align-items: center; gap: .65rem;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6); border-radius: 1rem; padding: .75rem 1rem;
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 18px 36px -12px rgba(28,135,176,.2);
}
.hero-float-1 { top: 8%; left: -8%; }
.hero-float-2 { bottom: 10%; right: -6%; }
.hero-float-icon { width: 38px; height: 38px; border-radius: .65rem; display: flex; align-items: center; justify-content: center; }
@media (max-width: 1024px) {
  .hero-float-1 { left: 2%; } .hero-float-2 { right: 2%; }
}

/* ---------- Quick access bar (clean, color-coded, no overlap) ---------- */
.quick-access-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 1.5rem; padding: .5rem;
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 16px 40px -18px rgba(28,135,176,.18);
  gap: .25rem;
}
@media (min-width: 640px) { .quick-access-bar { grid-template-columns: repeat(6, 1fr); } }
.quick-access-item {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; color: #5D7A84; padding: 1.1rem .4rem; border-radius: 1.1rem;
  transition: background .25s ease, color .25s ease, transform .25s ease;
  text-align: center;
}
.quick-access-item:hover { transform: translateY(-2px); }
.quick-access-item:active { transform: translateY(0) scale(.97); }
.qa-icon {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: #EEF9FD; color: #1C87B0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.quick-access-item:hover .qa-icon { transform: scale(1.1) rotate(-6deg); }
.qa-mint:hover { background: rgba(184,240,226,.35); color: #146C8C; }
.qa-mint .qa-icon { background: linear-gradient(135deg, #B8F0E2, #DFF7EF); color: #146C8C; }
.qa-lavender:hover { background: rgba(220,204,253,.3); color: #6B3D72; }
.qa-lavender .qa-icon { background: linear-gradient(135deg, #DCCCFD, #EFE8FE); color: #6B3D72; }
.qa-peach:hover { background: rgba(247,220,203,.4); color: #B0612C; }
.qa-peach .qa-icon { background: linear-gradient(135deg, #F7DCCB, #FCEEE3); color: #B0612C; }
.qa-cyan:hover { background: rgba(174,239,255,.35); color: #146C8C; }
.qa-cyan .qa-icon { background: linear-gradient(135deg, #AEEFFF, #E3F9FF); color: #146C8C; }
.qa-gold:hover { background: rgba(232,163,61,.18); color: #9A6318; }
.qa-gold .qa-icon { background: linear-gradient(135deg, #F3C77A, #FCEBCC); color: #9A6318; }
.qa-rose:hover { background: rgba(233,110,145,.18); color: #A03459; }
.qa-rose .qa-icon { background: linear-gradient(135deg, #F7B8CB, #FDE6EC); color: #A03459; }
@media (max-width: 480px) {
  .quick-access-item { font-size: .68rem; padding: .85rem .25rem; gap: .4rem; }
  .qa-icon { width: 34px; height: 34px; }
  .qa-icon svg { width: 16px; height: 16px; }
}

/* ---------- Section tints (rhythm + colour contrast between sections) ---------- */
.bg-lavender-tint { background: linear-gradient(180deg, #F8F5FF, #FBF9FF); }
.bg-mint-tint { background: linear-gradient(180deg, #F2FCF9, #FBFFFE); }
.bg-peach-tint { background: linear-gradient(180deg, #FDF7F3, #FFFBF8); }

/* ---------- Doctor CTA band ---------- */
.doctor-cta-band {
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
  border-radius: 1.5rem; padding: 1.75rem 2rem;
  box-shadow: 0 1px 2px rgba(28,135,176,.06), 0 20px 44px -18px rgba(28,135,176,.4);
}

/* ---------- Section headings ---------- */
.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 2rem; color: #0B3142; margin-top: .75rem; line-height: 1.15; }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }
.section-sub { color: #5D7A84; margin-top: .9rem; line-height: 1.6; }

/* ---------- Metric cards ---------- */
.metric-card {
  position: relative; background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 1.5rem; padding: 1.75rem 1.25rem;
  display: flex; flex-direction: column; gap: .35rem; text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 12px 32px -12px rgba(28,135,176,.14);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-top: 3px solid transparent;
}
.metric-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(28,135,176,.06), 0 24px 48px -16px rgba(28,135,176,.22); }
.metric-num { font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 600; color: #1C87B0; }
.metric-label { font-size: .8rem; color: #8AA2AA; font-weight: 500; line-height: 1.4; }
@media (max-width: 480px) { .metric-num { font-size: 1.5rem; } }
.metric-mint { border-top-color: #B8F0E2; }
.metric-lavender { border-top-color: #DCCCFD; }
.metric-lavender .metric-num { color: #6B3D72; }
.metric-peach { border-top-color: #F7DCCB; }
.metric-peach .metric-num { color: #B0612C; }
.metric-cyan { border-top-color: #AEEFFF; }

/* ---------- Department cards ---------- */
.dept-card {
  position: relative; background: #fff; border-radius: 1.5rem; padding: 1.75rem;
  border: 1px solid rgba(28,135,176,.06);
  box-shadow: 0 1px 2px rgba(28,135,176,.03), 0 12px 28px -14px rgba(28,135,176,.12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dept-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1px 2px rgba(28,135,176,.06), 0 26px 48px -16px rgba(28,135,176,.22);
}
.dept-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: .9rem; background: linear-gradient(135deg, #EEF9FD, #F7FBFC); color: #1C87B0; margin-bottom: 1rem;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.dept-card:hover .dept-icon { transform: scale(1.08) rotate(-4deg); }
.dept-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; color: #0B3142; }
.dept-meta { font-size: .82rem; color: #8AA2AA; margin-top: .35rem; }

.dept-mint .dept-icon { background: linear-gradient(135deg, #B8F0E2, #E3FAF2); color: #146C8C; }
.dept-mint:hover { border-color: rgba(184,240,226,.8); }
.dept-lavender .dept-icon { background: linear-gradient(135deg, #DCCCFD, #F0E9FE); color: #6B3D72; }
.dept-lavender:hover { border-color: rgba(220,204,253,.8); }
.dept-peach .dept-icon { background: linear-gradient(135deg, #F7DCCB, #FCEFE6); color: #B0612C; }
.dept-peach:hover { border-color: rgba(247,220,203,.8); }
.dept-cyan .dept-icon { background: linear-gradient(135deg, #AEEFFF, #E7FAFF); color: #146C8C; }
.dept-cyan:hover { border-color: rgba(174,239,255,.8); }

/* Hex badge icon images (already have their own tinted background) */
.dept-icon-hex { background: none !important; width: 52px; height: 52px; border-radius: 0; }
.dept-icon-hex img { width: 100%; height: 100%; object-fit: contain; }
.dept-card:hover .dept-icon-hex { transform: scale(1.08); }

/* ---------- Doctor discovery ---------- */
.doctor-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.filter-pill {
  font-size: .8rem; font-weight: 600; color: #5D7A84; background: #fff;
  border: 1px solid rgba(28,135,176,.12); padding: .55rem 1.1rem; border-radius: 999px;
  transition: all .2s ease;
}
.filter-pill:hover { border-color: #1C87B0; color: #146C8C; }
.filter-pill.is-active { background: #1C87B0; color: #fff; border-color: #1C87B0; }

.doctor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (min-width: 640px) { .doctor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .doctor-grid { grid-template-columns: repeat(4, 1fr); } }

.doctor-card {
  position: relative;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-light); border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 10px 24px -12px rgba(28,135,176,.14);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
  border-top: 4px solid transparent;
}
.doctor-card:hover { transform: translateY(-5px); border-color: rgba(28,135,176,.22); box-shadow: 0 1px 2px rgba(28,135,176,.06), 0 24px 44px -16px rgba(28,135,176,.22); }
.doctor-card:hover .doctor-avatar-photo img { transform: scale(1.05); }
.doctor-card.is-hidden { display: none; }

/* Photo / initials panel — full-width, real presence instead of a tiny circle */
.doctor-avatar {
  width: 100%; aspect-ratio: 4/5; margin: 0; border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1C87B0, #123F52); color: #fff;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 2.4rem; letter-spacing: .02em;
}
.doctor-avatar-photo { overflow: hidden; background: #E7FAFF; box-shadow: none; }
.doctor-avatar-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s ease; }

.doctor-card-body { padding: 1.1rem 1.05rem 1.25rem; display: flex; flex-direction: column; flex: 1; text-align: center; }

/* Tier kicker label — small editorial caps label above the name, matching .eyebrow language site-wide.
   Sits in the card body, not floated over the photo — reads as a credential, not a sale sticker. */
.doctor-lead-badge {
  display: inline-block; align-self: center; margin-bottom: .55rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px; white-space: nowrap;
}
.doctor-name { font-weight: 600; font-size: .92rem; color: #0B3142; line-height: 1.3; }
.doctor-qual { font-size: .74rem; color: #8AA2AA; margin-top: .3rem; line-height: 1.45; min-height: 2rem; }
.doctor-dept-tag {
  display: inline-block; margin: .7rem auto 0; font-size: .68rem; font-weight: 600;
  color: #8B4F8C; background: #F3EEFE; padding: .25rem .65rem; border-radius: 999px;
}
.doctor-book-link { margin-top: .9rem; font-size: .76rem; font-weight: 700; color: #1C87B0; padding-top: .8rem; border-top: 1px solid var(--border-light); transition: color .2s ease; }
.doctor-card:hover .doctor-book-link { color: #146C8C; }

/* Tier 1 — top leadership */
.doctor-card-tier1 { border-top-color: #1C87B0; }
.doctor-card-tier1 .doctor-lead-badge { color: #1C87B0; background: #EAF6FA; }

/* Tier 2 — featured specialists */
.doctor-card-tier2 { border-top-color: #8B4F8C; }
.doctor-card-tier2 .doctor-lead-badge { color: #7A4A82; background: #F3EEFE; }

/* Tier 3 — senior consultants */
.doctor-card-lead { border-top-color: #C98A2E; }
.doctor-card-lead .doctor-lead-badge { color: #9A6318; background: #FBF1E1; }

/* ---------- Facilities ---------- */
.facility-card { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-light); border-radius: 1.75rem; overflow: hidden; box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 14px 32px -14px rgba(28,135,176,.16); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.facility-card:hover { transform: translateY(-5px); border-color: rgba(28,135,176,.25); box-shadow: 0 1px 2px rgba(28,135,176,.06), 0 26px 48px -16px rgba(28,135,176,.22); }
.facility-img-wrap { aspect-ratio: 16/10; overflow: hidden; }
.facility-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.facility-card:hover .facility-img-wrap img { transform: scale(1.06); }
.facility-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; padding: 1.1rem 1.25rem 0; color: #0B3142; }
.facility-desc { font-size: .85rem; color: #5D7A84; padding: .5rem 1.25rem 1.25rem; line-height: 1.55; }

/* ---------- Why choose us ---------- */
.why-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 1.25rem; padding: 1.6rem; backdrop-filter: blur(8px); }

/* ---------- Patient journey ---------- */
.journey-track { display: grid; gap: 1.25rem; grid-template-columns: repeat(1, 1fr); position: relative; }
@media (min-width: 768px) { .journey-track { grid-template-columns: repeat(4, 1fr); } }
.journey-step { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-light); border-radius: 1.5rem; padding: 1.75rem 1.5rem; box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 12px 28px -14px rgba(28,135,176,.14); }
.journey-num { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: #8B4F8C; font-weight: 500; }
.journey-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; color: #0B3142; margin-top: .5rem; }
.journey-desc { font-size: .85rem; color: #5D7A84; margin-top: .5rem; line-height: 1.55; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-light); border-radius: 1.75rem; padding: 2rem; box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 14px 32px -14px rgba(28,135,176,.16); }
.quote-mark { color: #DCCCFD; }
.testimonial-quote { font-family: 'Fraunces', serif; font-size: 1.05rem; line-height: 1.5; color: #0B3142; margin-top: 1rem; }
.testimonial-author { font-size: .8rem; color: #8AA2AA; margin-top: 1.1rem; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-item { padding: 1.4rem 0; }
.faq-question { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; color: #0B3142; list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-icon { font-size: 1.2rem; color: #1C87B0; transition: transform .25s ease; font-weight: 400; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { font-size: .88rem; color: #5D7A84; line-height: 1.6; margin-top: .85rem; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(37,211,102,.55), 0 2px 6px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.25);
  cursor: default; transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px -6px rgba(37,211,102,.6), 0 4px 10px rgba(0,0,0,.14); }

/* ---------- Map ---------- */
.map-card { border-radius: 1.5rem; overflow: hidden; height: 380px; box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 16px 40px -16px rgba(28,135,176,.18); }

/* ---------- Gallery ---------- */
.gallery-grid { column-count: 2; column-gap: 1rem; }
@media (min-width: 640px) { .gallery-grid { column-count: 3; } }
@media (min-width: 1024px) { .gallery-grid { column-count: 4; } }
.gallery-item {
  break-inside: avoid; margin-bottom: 1rem; position: relative; cursor: zoom-in;
  border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--border-light);
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 10px 24px -14px rgba(28,135,176,.14);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.gallery-item:hover { transform: translateY(-4px); border-color: rgba(28,135,176,.25); box-shadow: 0 1px 2px rgba(28,135,176,.06), 0 22px 40px -16px rgba(28,135,176,.2); }
.gallery-item img { width: 100%; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem .9rem .7rem;
  font-size: .74rem; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(11,49,66,.78), transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item.is-hidden { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,20,26,.92);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(90vw, 1000px); max-height: 78vh; border-radius: 1rem; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lightbox-caption { position: absolute; bottom: 2rem; left: 0; right: 0; text-align: center; color: #fff; font-size: .85rem; font-weight: 600; opacity: .85; }
@media (max-width: 640px) {
  .lightbox { padding: .75rem; }
  .lightbox img { max-width: 92vw; max-height: 68vh; }
  .lightbox-caption { bottom: .9rem; font-size: .78rem; padding: 0 3rem; }
}
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.3rem; }
  .lightbox-prev { left: .4rem; } .lightbox-next { right: .4rem; }
}

/* ---------- Blog ---------- */
.blog-card { display: block; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-light); border-radius: 1.75rem; overflow: hidden; box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 14px 32px -14px rgba(28,135,176,.16); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.blog-card:hover { transform: translateY(-5px); border-color: rgba(28,135,176,.25); box-shadow: 0 1px 2px rgba(28,135,176,.06), 0 26px 48px -16px rgba(28,135,176,.22); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-section); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.4rem 1.4rem 1.6rem; }
.blog-card-cat { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1C87B0; }
.blog-card-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.1rem; color: #0B3142; margin-top: .5rem; line-height: 1.3; }
.blog-card-excerpt { font-size: .85rem; color: #5D7A84; margin-top: .55rem; line-height: 1.55; }
.blog-card-meta { font-size: .74rem; color: #8AA2AA; margin-top: .9rem; font-weight: 500; }

.blog-article { max-width: 720px; margin: 0 auto; }
.blog-p { font-size: .98rem; color: #3F5A63; line-height: 1.8; margin-top: 1.1rem; }
.blog-h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.55rem; color: #0B3142; margin-top: 2.2rem; line-height: 1.25; }
.blog-h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem; color: #0B3142; margin-top: 1.6rem; line-height: 1.3; }
.blog-ul, .blog-ol { margin-top: 1rem; padding-left: 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.blog-ul { list-style: disc; }
.blog-ol { list-style: decimal; }
.blog-ul li, .blog-ol li { font-size: .96rem; color: #3F5A63; line-height: 1.65; }
.blog-meta-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }

/* ============================================================
   Mesh gradients — layered radial blobs for atmospheric depth
   ============================================================ */
.mesh-sky {
  background:
    radial-gradient(ellipse 58% 50% at 12% 18%, rgba(184,240,226,.6), transparent 60%),
    radial-gradient(ellipse 52% 46% at 88% 12%, rgba(220,204,253,.48), transparent 60%),
    radial-gradient(ellipse 60% 55% at 78% 88%, rgba(63,182,194,.4), transparent 65%),
    radial-gradient(ellipse 48% 46% at 18% 92%, rgba(247,220,203,.4), transparent 60%),
    linear-gradient(180deg, var(--hero-sky), #EAF8FC);
}
.mesh-dark {
  background:
    radial-gradient(ellipse 50% 45% at 10% 10%, rgba(28,135,176,.35), transparent 62%),
    radial-gradient(ellipse 45% 42% at 90% 85%, rgba(107,61,114,.35), transparent 62%),
    linear-gradient(160deg, #1B5570, #123F52 55%, #0A2530);
}
.mesh-card {
  background:
    radial-gradient(ellipse 62% 60% at 18% 8%, rgba(184,240,226,.5), transparent 60%),
    radial-gradient(ellipse 55% 55% at 92% 92%, rgba(220,204,253,.4), transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 10%, rgba(247,220,203,.35), transparent 55%),
    linear-gradient(180deg, #fff, #F7FBFC);
}
.mesh-band {
  background:
    radial-gradient(ellipse 75% 150% at 0% 50%, rgba(255,255,255,.14), transparent 65%),
    linear-gradient(120deg, #1C87B0, #6B3D72);
}

/* ---------- Hero shell (sky-blue rounded container) ---------- */
.hero-shell {
  position: relative;
  border-radius: 2rem;
  padding: 2.25rem 1.5rem 2.25rem;
}
@media (min-width: 768px) { .hero-shell { padding: 2.75rem 3rem 2.75rem; } }
.hero-shell-full { border-radius: 0; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .hero-shell-full { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1280px) { .hero-shell-full { padding-left: 4rem; padding-right: 4rem; } }
.hero-shell-bg { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.hero-dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(28,135,176,.16) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 15%, #000 40%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 85% 15%, #000 40%, transparent 75%);
}

/* ---------- Rating chip + duo chips (Denty-style hero) ---------- */
.rating-chip { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border-light); border-radius: 999px; padding: .4rem .9rem .4rem .7rem; box-shadow: var(--shadow-soft); }
.rating-stars { color: #E8A33D; font-size: .8rem; letter-spacing: 1px; }
.rating-text { font-size: .76rem; font-weight: 600; color: var(--text-soft); }

.duo-chip { display: flex; align-items: center; gap: .65rem; border-radius: 1.1rem; padding: .65rem .8rem .65rem .65rem; min-width: 175px; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border-light); box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.duo-chip strong { display: block; font-size: .8rem; font-weight: 700; color: var(--text-main); }
.duo-chip small { display: block; font-size: .7rem; color: var(--text-soft); }
.duo-chip-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--mint); }
.duo-chip-avatar img { width: 100%; height: 100%; object-fit: cover; }
.duo-chip-avatar-cool { box-shadow: 0 0 0 2px var(--lavender); }
.duo-chip-arrow { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-section); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: .75rem; flex-shrink: 0; }
.duo-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.duo-chip-avatar-text {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1C87B0, #123F52); color: #fff;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: .68rem;
  border: 2px solid #fff; box-shadow: 0 0 0 2px var(--lavender);
}

.hero-trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.hero-trust-pill {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600;
  color: #146C8C; background: rgba(255,255,255,.7); border: 1px solid rgba(28,135,176,.12);
  padding: .4rem .75rem; border-radius: 999px;
}
.hero-trust-pill svg { flex-shrink: 0; color: #1C87B0; }

/* ---------- Hero stat badges over photo (replaces hero-float-card) ---------- */
.hero-stat-badge {
  position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6); border-radius: 1.1rem; padding: .85rem 1.15rem;
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 18px 36px -12px rgba(28,135,176,.22);
  display: flex; flex-direction: column; gap: .15rem;
}
.hero-stat-num { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.3rem; color: #1C87B0; line-height: 1; }
.hero-stat-label { font-size: .7rem; color: #8AA2AA; font-weight: 500; }
.hero-stat-1 { top: 6%; left: -6%; }
.hero-stat-2 { top: 42%; right: -8%; }
.hero-stat-3 { bottom: 6%; left: 4%; }
@media (max-width: 1024px) {
  .hero-stat-1 { left: 2%; } .hero-stat-2 { right: 2%; } .hero-stat-3 { left: 2%; bottom: 4%; }
}
@media (max-width: 640px) {
  .hero-stat-badge { padding: .55rem .8rem; }
  .hero-stat-num { font-size: 1rem; }
  .hero-stat-1 { top: 3%; }
  .hero-stat-2 { top: auto; bottom: 38%; }
  .hero-stat-3 { bottom: 3%; }
}

/* ---------- Featured doctor strip ---------- */
.doctor-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .doctor-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .doctor-strip { grid-template-columns: repeat(5, 1fr); } }
.doctor-strip-item {
  display: block; text-decoration: none;
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  border-radius: 1.25rem; padding: 1.4rem 1rem; text-align: center;
  box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 12px 28px -16px rgba(28,135,176,.16);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.doctor-strip-item:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(28,135,176,.06), 0 22px 40px -16px rgba(28,135,176,.24); }
.doctor-strip-avatar {
  position: relative;
  width: 58px; height: 58px; margin: 0 auto .75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1C87B0, #123F52); color: #fff;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem;
  box-shadow: 0 0 0 4px #F7FBFC;
  transition: box-shadow .3s ease;
}
.doctor-strip-avatar::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid rgba(28,135,176,.35); opacity: 0; transform: scale(.85);
  transition: opacity .3s ease, transform .3s ease;
}
.doctor-strip-item:hover .doctor-strip-avatar::after { opacity: 1; transform: scale(1); }
.doctor-strip-item:hover .doctor-strip-avatar { box-shadow: 0 0 0 4px #F7FBFC, 0 0 20px -2px rgba(28,135,176,.5); }
.doctor-strip-name { font-size: .82rem; font-weight: 600; color: #0B3142; }
.doctor-strip-dept { font-size: .7rem; color: #8B4F8C; font-weight: 600; margin-top: .15rem; }

/* ---------- Booking card ---------- */
.booking-card { display: grid; grid-template-columns: 1fr; border-radius: 1.75rem; overflow: hidden; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border-light); box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 24px 56px -20px rgba(28,135,176,.22); }
@media (min-width: 900px) { .booking-card { grid-template-columns: 0.85fr 1.15fr; } }
.booking-photo { min-height: 260px; }
.booking-photo img { width: 100%; height: 100%; object-fit: cover; }
.booking-form-wrap { padding: 2rem 1.75rem; background: linear-gradient(180deg, #F7FBFC, #fff); }
@media (min-width: 768px) { .booking-form-wrap { padding: 2.5rem; } }

/* ---------- Footer newsletter ---------- */
.newsletter-row { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; justify-content: space-between; padding-bottom: 1rem; }
@media (min-width: 768px) { .newsletter-row { flex-direction: row; align-items: center; } }
.newsletter-form { display: flex; gap: .6rem; width: 100%; }
@media (min-width: 768px) { .newsletter-form { width: auto; } }
.newsletter-input { flex: 1; min-width: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .7rem 1.1rem; font-size: .85rem; color: #fff; }
.newsletter-input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-input:focus { outline: none; border-color: rgba(255,255,255,.6); }

/* ---------- Accordion ---------- */
.accordion-item { border-bottom: 1px solid var(--border-light); }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; text-align: left; font-weight: 600; font-size: .95rem; color: var(--text-main); background: none; border: none; cursor: pointer; }
.accordion-chevron { font-size: 1.4rem; color: var(--primary); transition: transform .25s ease; font-weight: 400; }
.accordion-item.is-open .accordion-chevron { transform: rotate(90deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.accordion-item.is-open .accordion-panel { max-height: 200px; padding-bottom: 1.1rem; }
.accordion-panel p { font-size: .85rem; color: var(--text-soft); line-height: 1.6; }

/* ---------- Consultation card ---------- */
.consult-card { background: #fff; border-radius: 1.5rem; padding: 1rem; box-shadow: var(--shadow-card); max-width: 420px; margin: 0 auto; }
.consult-card-top { display: flex; align-items: center; justify-content: space-between; padding: 0 .25rem .65rem; }
.consult-live-dot { font-size: .68rem; font-weight: 700; color: #E0584F; }
.consult-close { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-section); color: var(--text-soft); font-size: .7rem; border: none; }
.consult-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 1.1rem; }
.consult-info { padding: 1.1rem .4rem .3rem; }
.consult-list { display: flex; gap: 1.25rem; margin-top: .9rem; }
.consult-list li { display: flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; color: var(--text-soft); }
.consult-list-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-section); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: .65rem; }

/* ---------- Bento image grid ---------- */
.bento-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 140px); gap: 1rem; }
@media (min-width: 640px) { .bento-grid { grid-template-rows: repeat(2, 180px); } }
.bento-item { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-soft); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bento-item:hover img { transform: scale(1.06); }
.bento-tall { grid-row: span 2; }

/* ---------- Get in touch ---------- */
.get-in-touch { text-align: center; border-radius: 2rem; padding: 3rem 1.5rem; }
.git-avatar-stack { display: flex; justify-content: center; }
.git-avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), #123F52); color: #fff; font-family: 'Fraunces', serif; font-weight: 600; font-size: .8rem; border: 3px solid #fff; margin-left: -12px; box-shadow: var(--shadow-soft); }
.git-avatar:first-child { margin-left: 0; }
.git-avatar-more { background: var(--text-main); }

/* ---------- Contact page ---------- */
.contact-form-card { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-light); border-radius: 1.75rem; padding: 2rem; box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 18px 40px -16px rgba(28,135,176,.18); }
.form-label { display: block; font-size: .78rem; font-weight: 600; color: #5D7A84; margin-bottom: .4rem; }
.form-input {
  width: 100%; font-size: .88rem; color: #0B3142; background: #F7FBFC;
  border: 1px solid rgba(28,135,176,.14); border-radius: .85rem; padding: .75rem .95rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus { outline: none; border-color: #1C87B0; box-shadow: 0 0 0 3px rgba(28,135,176,.12); }
.contact-info-card { display: flex; gap: 1rem; align-items: flex-start; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--border-light); border-radius: 1.5rem; padding: 1.25rem 1.4rem; box-shadow: 0 1px 2px rgba(28,135,176,.04), 0 10px 24px -14px rgba(28,135,176,.14); }
.contact-info-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: .75rem; background: #EEF9FD; color: #1C87B0; display: flex; align-items: center; justify-content: center; }
.contact-info-title { font-weight: 600; font-size: .9rem; color: #0B3142; }
.contact-info-text { font-size: .82rem; color: #5D7A84; margin-top: .3rem; line-height: 1.5; }
.contact-info-link { display: block; font-size: .85rem; color: #1C87B0; font-weight: 600; margin-top: .25rem; }
.contact-info-link:hover { color: #146C8C; }

/* ---------- Mobile bottom action bar ---------- */
.mobile-action-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(28,135,176,.1);
  padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px -12px rgba(28,135,176,.18);
}
.mobile-action-item { display: flex; flex-direction: column; align-items: center; gap: .25rem; font-size: .68rem; font-weight: 600; color: #5D7A84; padding: .4rem; }
.mobile-action-primary { color: #1C87B0; }
.mobile-action-primary svg { color: #fff; background: #1C87B0; border-radius: 50%; padding: 6px; width: 32px; height: 32px; margin-top: -18px; box-shadow: 0 6px 16px -4px rgba(28,135,176,.5); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .orb, .strip-orb, .particle, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
