/* =================== TOKENS & RESET =================== */
:root {
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1280px;
  --pad: clamp(16px,3vw,28px);

  --bg: #f6fafc;
  --paper: #ffffff;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #57c0b9;
  --brand2: #7aa3ff;
  --ink: #0E1116;
  --stroke: rgba(0,0,0,0.1);
  --ring: rgba(87,192,185,0.35);
  --teal: #12B2A0;

  --glass-bg: rgba(255,255,255,0.6);
  --glass-bd: rgba(0,0,0,0.08);
  --glass-shadow: 0 6px 20px rgba(0,0,0,0.12);
  --radius: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a, a:visited, a:focus, a:hover {
  text-decoration: none !important;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

/* =================== CONTAINERS =================== */
.container,
.hero-container,
.git-wrap,
.ndc-selfcheck-wrap,
.ndc-faq .container,
.blog-grid,
.footer-grid {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
  box-sizing: border-box;
  width: 100%;
}


/* =================== HEADER =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* 🩹 Prevent CLS by fixing height */
  min-height: 72px;
  padding: 12px var(--pad);

  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(14px) saturate(160%); /* ✅ Safari support */
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.shrink {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.brand-title span {
  color: var(--brand);
}

/* =================== NAVIGATION =================== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-pill {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 6px 12px;
  border-radius: var(--radius);

  background: rgba(255,255,255,0.45);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow:
    inset 1px 1px 2px rgba(255,255,255,0.4),
    inset -2px -2px 6px rgba(0,0,0,0.08),
    0 4px 14px rgba(0,0,0,0.15);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 600;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  outline: none;
}

/* =================== SUBMENU =================== */
.has-submenu { position: relative; }

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 480px;

  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);

  list-style: none;
  display: none;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 6px 14px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.submenu[aria-hidden="false"] {
  display: grid;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
}

.submenu__all a {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand-dark, var(--ink));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}

.submenu__all a:hover,
.submenu__all a:focus-visible {
  background: color-mix(in srgb, var(--brand) 25%, white 15%);
  color: #fff;
}

.submenu a:hover,
.submenu a:focus-visible {
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  outline: none;
}

/* =================== MOBILE NAV =================== */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  font-size: 1.6rem;
  padding: 6px;
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }

  .nav-pill {
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    transform: translateX(100%);
    transition: transform .3s ease;
    background: linear-gradient(160deg, #fdfdff, #f5faff 55%, #eef9f7);
    box-shadow: -20px 0 40px rgba(0,0,0,0.25);
    padding: calc(1rem + env(safe-area-inset-top)) var(--pad)
             calc(2rem + env(safe-area-inset-bottom));
  }

  .nav-pill.is-open { transform: translateX(0); }

  .submenu {
    position: static;
    margin-top: 6px;
    min-width: auto;
    grid-template-columns: 1fr;
    box-shadow: none;
    border-radius: 10px;
    padding: 8px;
  }
}

/* =================== HERO =================== */
.hero-background {
  position: relative;
  min-height: 75vh;
  display: grid;
  align-items: center;
  background: linear-gradient(160deg, #e9f2ff 0%, #dfe7ff 50%, #c9e7e4 100%);
  background-size: 200% 200%;
  animation: softShift 16s ease-in-out infinite;
  overflow: hidden;
}

/* ✅ Removed blackhole layer entirely */
.blackhole-box { display: none !important; }

@keyframes softShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-inline: var(--pad);
  max-width: var(--max);
  margin-inline: auto;
  text-align: left;
}

.hero-info-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-heading {
  font-size: clamp(2rem, 2.6rem + 1.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--ink);
}

.hero-heading .gradient {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  background: linear-gradient(145deg, var(--brand), var(--brand2));
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform .2s, box-shadow .2s;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Variants */
.hero-button.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.hero-button.call { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.hero-button.location { background: linear-gradient(135deg, #d946ef, #9333ea); }

@media (max-width: 640px) {
  .hero-container { text-align: center; }
  .hero-info-title { justify-content: center; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-button { justify-content: center; width: 100%; }
}



/* ================= TEAM (Doctor cards) ================= */
.ndc-team-android {
  background: var(--paper);
  padding: 56px 0;
  contain: layout paint; /* 🧠 isolates layout cost */
}

/* Appbar */
.ndc-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 4px 12px;
  border-bottom: 1px solid var(--stroke);
  min-height: 56px; /* 🩹 prevents CLS on title load */
}
.ndc-appbar .bx-heart {
  font-size: 22px;
  color: var(--brand);
  will-change: transform;
  transition: transform .25s ease;
}
.ndc-appbar .bx-heart:hover { transform: scale(1.1); }

.ndc-appbar .title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  background: linear-gradient(90deg,#0E1116 0%,#0D6EFD 45%,#12B2A0 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Filter chips */
.chip--ghost {
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--ink);
  padding: .46rem .8rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  will-change: transform;
}
.chip--ghost[aria-pressed="true"] {
  outline: 2px solid var(--ring);
  border-color: #bcd6ff;
  background: color-mix(in srgb, var(--brand) 10%, white);
  transform: scale(1.03);
}

/* Search */
.ndc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 14px;
  padding: 8px 10px;
  margin: 12px 0 10px;
  transition: box-shadow .2s ease;
}
.ndc-search:focus-within {
  box-shadow: 0 0 0 3px var(--ring);
}
.ndc-search input {
  border: none;
  outline: none;
  flex: 1;
  padding: 6px 4px;
  font-size: 1rem;
  color: var(--ink);
}
.ndc-search .clear {
  border: none;
  background: transparent;
  color: #7D8CA1;
  cursor: pointer;
}

/* Cards grid */
.ndc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(244px, 288px));
  justify-content: center;
  gap: 18px;
  padding: 16px 0;
  perspective: 1000px;
}

/* Doctor card */
.ndc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  box-shadow: var(--glass-shadow);
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.ndc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(16,20,25,.15);
}
.ndc-card img {
  width: 100%;
  aspect-ratio: 4 / 5; /* 🩹 fixes CLS on slow load */
  object-fit: cover;
  display: block;
}

/* Gradient overlay */
.ndc-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  pointer-events: none;
}

/* Info */
.ndc-card .info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px;
  color: #fff;
  z-index: 2;
  backdrop-filter: blur(0px);
}
.ndc-card .name {
  font-weight: 800;
  font-size: 1.1rem;
}
.ndc-card .role {
  font-size: .95rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 4px 0 8px;
}
.ndc-card .meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #e2e8f0;
}

/* Open button */
.ndc-card .open {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #fff;
  color: #0D6EFD;
  display: grid;
  place-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(13,110,253,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ndc-card .open:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(13,110,253,.25);
}

/* Bottom sheet */
.ndc-sheet {
  width: min(900px, 96vw);
  max-height: 90vh;
  margin: auto;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(16,20,25,.25);
  transform: translateY(30px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.ndc-sheet[open] {
  transform: translateY(0);
  opacity: 1;
}
.ndc-sheet::backdrop {
  background: rgba(16,20,25,.45);
  backdrop-filter: blur(6px);
}

/* Dialog inner */
.sheet-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 1px solid var(--stroke);
}
.sheet-body {
  padding: 16px;
  overflow-y: auto;
  max-height: calc(90vh - 280px);
}
.sheet-body .muted { color: #64748b; }
.sheet-actions { display: flex; gap: 10px; margin-top: 10px; }
.sheet-footnote {
  font-size: .9rem;
  color: #64748b;
  display: flex;
  gap: .35rem;
  margin-top: .75rem;
}



/* ================= SELF-CHECK BANNER ================= */
:root {
  --sc-brand: #12b2a0;
  --sc-brand2: #0d6efd;
  --sc-grad: linear-gradient(
    90deg,
    rgba(42, 123, 155, 1) 0%,
    rgba(92, 73, 252, 0.79) 50%,
    #13aba4db 100%
  );
}

/* Gradient background animation */
.ndc-selfcheck-hero {
  background: var(--sc-grad);
  background-size: 400% 400%;
  animation: pastelShift 22s ease-in-out infinite;
  color: #fff;
  padding: clamp(48px, 6vw, 84px) 0;
  position: relative;
  overflow: hidden;
}
@keyframes pastelShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Layout */
.ndc-selfcheck-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 980px) {
  .ndc-selfcheck-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Typography */
.ndc-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
  color: #d9fdfb;
}
.ndc-title {
  font-size: clamp(28px, 4.8vw, 52px);
  line-height: 1.05;
  margin: .2rem 0 .5rem;
  background: linear-gradient(90deg, #fff, #e2f3f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ndc-sub {
  font-size: 1.05rem;
  max-width: 60ch;
  margin-bottom: 1.2rem;
  color: #f0f9ff;
}

/* Buttons */
.ndc-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.ndc-btn {
  display: inline-block;
  font-weight: 800;
  border-radius: 999px;
  padding: .8rem 1.2rem;
  border: 2px solid transparent;
  transition: all .3s ease;
  text-decoration: none;
}
.ndc-btn--primary {
  background: #fff;
  color: #080808;
  animation: pulseGlow 2s infinite;
}
.ndc-btn--primary:hover {
  background: #f8fdfd;
  color: var(--sc-brand2);
  box-shadow: 0 0 18px rgba(13,110,253,.4);
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(18,178,160,.6); }
  70% { box-shadow: 0 0 0 16px rgba(18,178,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(18,178,160,0); }
}
.ndc-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.ndc-btn--ghost:hover { background: rgba(255,255,255,.12); }

/* Bullets */
.ndc-bullets {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.ndc-bullets li {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 600;
}

/* Visual */
.ndc-selfcheck-visual {
  border-radius: 22px;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.ndc-hero-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}


/* ================= CONTACT (Booking) ================= */
.contact-band {
  background: linear-gradient(
    135deg,
    rgba(87,192,185,.08),
    rgba(128,160,255,.08)
  );
  padding: 4rem 0;
}

.git-wrap {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  max-width: 1150px;
  margin: auto;
}
@media (max-width: 980px) {
  .git-wrap { grid-template-columns: 1fr; }
}

.git-left { display: flex; flex-direction: column; gap: 1.5rem; }

.git-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.cta-pill.call {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
}
.cta-pill.whats {
  background: #25d366;
  color: #fff;
}
.cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.git-points {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}
.git-points li {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .5rem;
}

.git-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.git-form-grid {
  display: grid;
  gap: 12px;
}

.f { display: flex; flex-direction: column; font-size: 0.95rem; }
.f span { margin-bottom: 6px; font-weight: 600; }
.f input, .f select, .f textarea {
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 12px;
  background: #f9fafb;
  color: var(--text);
  font-size: 1rem;
}

.git-summary {
  margin-top: 20px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,0.1);
  background: #f9f9ff;
  color: var(--muted);
}
.git-submit {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
}
.btn.primary:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.t-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(87,192,185,0.12);
  color: inherit;
  border: 1px solid var(--stroke);
}

.appt-toast {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--brand);
}


/* =================== Testimonials =================== */
.testimonials-track {
  overflow: hidden;
  width: 100%;
  contain: layout paint; /* isolate reflows */
}

.testimonials-loop {
  display: flex;
  gap: 80px;
  animation: loopScroll 40s linear infinite;
  width: max-content;
  padding: 10px 0;
  will-change: transform;
  transform: translateZ(0);
}

.testimonials-track:hover .testimonials-loop {
  animation-play-state: paused;
}

@keyframes loopScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.testimonial-card {
  flex: 0 0 auto;
  width: 320px;
  padding: 1.5rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  contain: layout paint;
}

.testimonial-card .stars {
  font-size: 1.1rem;
  color: var(--brand2);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.testimonial-card .quote {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.5;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card .author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--brand2);
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1; /* prevent CLS */
}

.testimonial-card .name {
  font-weight: 700;
  color: var(--ink);
}
.testimonial-card .source {
  font-size: .9rem;
  color: var(--muted);
}

/* Mobile: stack layout */
@media (max-width: 640px) {
  .testimonials-loop {
    animation: none;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
}

/* =================== Blog =================== */
.blog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  contain: layout paint;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.blog-card img.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9; /* Fix CLS */
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 1rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.blog-title a {
  color: inherit;
  text-decoration: none;
}
.blog-title a:hover {
  color: var(--brand2);
}

.blog-excerpt {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.5;
  flex-grow: 1;
}

.blog-read {
  font-weight: 600;
  color: var(--brand2);
  text-decoration: none;
}
.blog-read:hover { text-decoration: underline; }

.blog-cta {
  text-align: center;
  margin-top: 32px;
}

.btn-viewall {
  display: inline-block;
  padding: .9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .25s, box-shadow .25s;
}
.btn-viewall:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,.25);
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}


/* =================== FAQ =================== */
.ndc-faq {
  padding: 56px 0;
  background: var(--paper);
  contain: layout paint;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.ndc-faq details {
  border: 1px solid var(--glass-bd);
  border-radius: 12px;
  padding: 12px 16px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px) saturate(140%);
  transition: box-shadow .25s ease, border-color .25s ease;
  will-change: box-shadow;
}

.ndc-faq details[open] {
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: var(--brand);
}

.ndc-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.ndc-faq summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  font-weight: 700;
  transition: transform .2s ease;
}
.ndc-faq details[open] summary::after {
  content: "－";
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ndc-faq a {
  color: var(--brand2);
  text-decoration: none;
  font-weight: 600;
}
.ndc-faq a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .ndc-faq .container { padding-inline: var(--pad); }
}

/* ================= Certificates Ticker ================= */
#certs-ticker {
  padding: 100px 0;
  text-align: center;
}

#certs-ticker .ticker-head .eyebrow {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--brand);
}

#certs-ticker .section-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 900;
  margin: 0.2rem 0 0.6rem;
  color: var(--ink);
}

#certs-ticker .section-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2px;
}

/* Viewport */
.ticker-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-bd);
  border-radius: 16px;
  background: var(--glass-bg);
  padding: 56px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px) saturate(140%);
}

/* Track */
.ticker-track {
  display: flex;
  gap: 50px;
  list-style: none;
  padding: 0;
  margin: 0;
  will-change: transform;
  align-items: center;
  animation: scrollTicker 40s linear infinite;
}

.ticker-viewport:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes scrollTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Images */
.ticker-track li img {
  height: 160px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.ticker-track li img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
}

/* Controls */
.ticker-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 12px;
  display: grid;
  place-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
}
.ticker-ctrl.prev { left: 10px; }
.ticker-ctrl.next { right: 10px; }
.ticker-ctrl:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand2);
}

/* Mobile adjustments */
@media (max-width: 640px) {
  #certs-ticker {
    padding: 60px 0;
  }
  #certs-ticker .ticker-viewport {
    padding: 24px;
  }
  .ticker-track li img {
    height: 100px;
  }
}


/* =================== Footer =================== */
.site-footer {
  background: linear-gradient(180deg,#12274c 0%,#1a1d43 60%,#011330 100%);
  color:#d7deea;
  padding: 32px 0 20px;
  font-size:.95rem;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  margin-bottom: 20px;
}

/* Brand */
.footer-brand img {
  background:#fff;
  border-radius:12px;
  border:1px solid #fff;
  margin-bottom:10px;
}

/* Headings */
.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  margin:0 0 8px;
  color:#fff;
  font-weight:700;
}

/* Links */
.footer-nav a {
  color:#d7deea;
  text-decoration:none;
  position:relative;
}
.footer-nav a::after {
  content:"";
  position:absolute;
  left:0; bottom:-2px;
  width:100%; height:2px;
  background:linear-gradient(90deg,var(--brand),var(--brand2));
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .3s;
}
.footer-nav a:hover::after {
  transform:scaleX(1);
  transform-origin:left;
}

/* Map */
.footer-map {
  margin-top:10px;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,0.3);
}

/* Social icons */
.footer-social a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px; height:42px;
  border:1px solid #233248;
  border-radius:10px;
  margin-right:6px;
  background:#0f172a;
  transition:background .3s, transform .3s;
  color:#d7deea;
}
.footer-social a:hover {
  background:var(--brand);
  color:#fff;
  border-color:var(--brand2);
  transform:translateY(-2px);
}
.footer-social a svg {
  width:20px; height:20px;
  fill:currentColor;
  display:block;
}

/* Tooltip */
.footer-social a {
  position:relative;
}
.footer-social a::after {
  content: attr(data-tooltip);
  position:absolute;
  bottom:110%;
  left:50%; transform:translateX(-50%);
  background:#111827;
  color:#fff;
  font-size:0.75rem;
  font-weight:600;
  padding:4px 8px;
  border-radius:6px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s, transform .25s;
}
.footer-social a:hover::after {
  opacity:1;
  transform:translateX(-50%) translateY(-4px);
}

/* Bottom */
.footer-bottom {
  border-top:1px solid #192233;
  padding-top:12px;
  text-align:center;
  font-size:.85rem;
  color:#9fb0c9;
  position:relative;
}

/* Back to top */
#backToTop {
  position:absolute;
  right:10px; top:-20px;
  width:36px; height:36px;
  border:none;
  border-radius:50%;
  background:linear-gradient(135deg,var(--brand),var(--brand2));
  color:#fff;
  cursor:pointer;
  font-size:1.1rem;
  box-shadow:0 6px 16px rgba(0,0,0,0.3);
  transition:transform .25s;
}
#backToTop:hover {
  transform:translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align:center;
  }
  .footer-social a {
    margin:4px;
  }
}

/* Floating CTA group */
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 80px; /* above footer safe space */
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.floating-cta.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cta .cta-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-cta .cta-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* Color variations */
.cta-btn.call { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.cta-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.cta-btn.book { background: linear-gradient(135deg, var(--brand), var(--brand2)); }

/* Mobile adjustments */
@media (max-width: 640px) {
  .floating-cta {
    right: 12px;
    bottom: 70px;
  }
  .floating-cta .cta-btn {
    width: 46px; height: 46px;
    font-size: 1.2rem;
  }
}

/* =================== TREATMENTS SECTION =================== */
#treatments {
  font-family: 'Poppins', sans-serif;
  padding: 40px 20px;
  position: relative;
}

#treatments h2 {
  font-size: 2rem;
  color: #1c1f21;
  margin-bottom: 15px;
}

#treatments p {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
  position: relative;
}

.filter-bar input,
.filter-bar select {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: border 0.3s, box-shadow 0.3s;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: #3498db;
  box-shadow: 0 3px 8px rgba(52,152,219,0.25);
  outline: none;
}

/* Clear button */
.clear-btn {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.3s, opacity 0.3s;
  display: none; /* hidden by default */
}

.clear-btn.show {
  display: inline-block;
}

.clear-btn:hover {
  background: #c0392b;
}

/* Grid container */
#slides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  transition: all 0.4s ease;
}

/* Card */
.service-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeIn 0.6s forwards;
  transition: transform 0.4s ease, background 0.3s ease;
}

.service-card:hover {
  background: #d0e9ff;
  transform: scale(1.05);
}

/* Zoom contents */
.service-card:hover .text-section,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover ul,
.service-card:hover .read-more {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Text section */
.text-section {
  flex: 1;
  padding: 20px;
  transition: all 0.4s ease;
}

.service-card h3 {
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: #13191c;
  font-weight: 600;
  transition: font-size 0.4s ease, transform 0.4s ease;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0 14px;
  line-height: 1.5;
  transition: font-size 0.4s ease, transform 0.4s ease;
}

.service-card ul.tips {
  padding-left: 18px;
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: #444;
  transition: font-size 0.4s ease, transform 0.4s ease;
}

/* Image */
.service-card img {
  width: 40%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, width 0.4s ease, height 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

/* Button */
.read-more {
  background: #3498db;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.4s ease;
}

.read-more:hover {
  background: #2980b9;
}

/* ========= SINGLE VIEW MODE ========= */
#slides.single-view {
  grid-template-columns: 1fr !important;
}

#slides.single-view .service-card {
  grid-column: span 2;
  height: 420px;
  transform: scale(1) !important;
}

#slides.single-view .text-section { padding: 30px; }
#slides.single-view h3 { font-size: 1.8rem; }
#slides.single-view p { font-size: 1.1rem; }
#slides.single-view ul.tips { font-size: 1rem; }
#slides.single-view img { width: 45%; height: 100%; }

/* ========= CONTROLS ========= */
.controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 5;
}

.controls button {
  pointer-events: auto;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 50%;
  transition: background 0.3s;
}

.controls button:hover {
  background: rgba(0,0,0,0.8);
}

/* Responsive */
@media (max-width: 768px) {
  #slides { grid-template-columns: 1fr; }
  .service-card { flex-direction: column; height: auto; }
  .service-card img { width: 100%; height: 220px; }
  #slides.single-view .service-card { height: auto; }
  #slides.single-view img { width: 100%; height: 260px; }
}

/* ===============================
   🌐 Local SEO Section Styling
   (Hidden from users, crawlable)
=================================*/

.local-seo {
  background: #fff;
  color: #0b1a2f;
  font-family: var(--font-main, 'Manrope', sans-serif);
  line-height: 1.6;
}

.local-seo-header {
  margin-bottom: 24px;
}

.local-seo-grid {
  display: grid;
  gap: 2rem;
}

.local-seo-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.local-seo-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.local-seo-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.local-seo-note {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted, #556275);
}

.local-seo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.local-seo-table th,
.local-seo-table td {
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 0.75rem;
  text-align: left;
}

.local-seo-table th {
  background: rgba(18, 178, 160, 0.08);
}

.local-seo-map iframe {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  margin-top: 1rem;
}

.local-seo-cta {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--teal, #12b2a0);
  text-decoration: none;
}

/* ✅ HIDE from users — keep crawlable */
.seo-only {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}



