/* ==================== Banjara Dental Care ==================== */
:root {
  /* Charcoal & White — monochrome (default) */
  --bg: #ffffff;
  --bg-soft: #f4f4f5;
  --bg-card: #ffffff;
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --ink-mute: #7d7d85;
  --line: #e6e6e8;
  --accent: #1c1c20;
  --accent-deep: #0c0c0e;
  --accent-soft: #b6b6bd;
  --accent-tint: #ededef;
  --gold: #18181b;            /* mono: stars/accents render near-black */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.06);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --font-display: "Manrope", "Noto Sans Gujarati", system-ui, sans-serif;
  --font-body: "Manrope", "Noto Sans Gujarati", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Classic — white / black / red */
[data-palette="classic"] {
  --bg: #ffffff;
  --bg-soft: #f6f5f4;
  --bg-card: #ffffff;
  --ink: #141414;
  --ink-soft: #3d3d3d;
  --ink-mute: #808080;
  --line: #e7e5e3;
  --accent: #c1121f;
  --accent-deep: #8c0d17;
  --accent-soft: #e7a9ad;
  --accent-tint: #fbe9ea;
  --gold: #c1121f;
}

/* Warm brown */
[data-palette="warm"] {
  --bg: #faf6f1;
  --bg-soft: #f3ece1;
  --bg-card: #ffffff;
  --ink: #2a1f17;
  --ink-soft: #5a4a3d;
  --ink-mute: #8a7a6c;
  --line: #e8ddcc;
  --accent: #8a6a4a;
  --accent-deep: #5e4631;
  --accent-soft: #c8a884;
  --accent-tint: #efe2d0;
  --gold: #b8935e;
}

[data-palette="sage"] {
  --bg: #f6f5f1;
  --bg-soft: #ebe9df;
  --ink: #1f2a23;
  --ink-soft: #455048;
  --ink-mute: #7a8079;
  --line: #d8dccf;
  --accent: #6a8068;
  --accent-deep: #43543f;
  --accent-soft: #a8baa1;
  --accent-tint: #dde3d3;
  --gold: #8a9b6b;
}



/* Clinical blue — classic, trustworthy dental */
[data-palette="ocean"] {
  --bg: #f5f8fb;
  --bg-soft: #e7eef6;
  --ink: #14222f;
  --ink-soft: #3a4d5e;
  --ink-mute: #6f8092;
  --line: #d4e0ec;
  --accent: #2f6f9e;
  --accent-deep: #1d4a6e;
  --accent-soft: #9cc1de;
  --accent-tint: #d6e6f2;
  --gold: #4e93c0;
}

/* Fresh mint-teal — modern & clean */
[data-palette="teal"] {
  --bg: #f3f9f7;
  --bg-soft: #e2f0ec;
  --ink: #11251f;
  --ink-soft: #345048;
  --ink-mute: #6b8980;
  --line: #cfe5dd;
  --accent: #2f8f7a;
  --accent-deep: #1c6253;
  --accent-soft: #9ad3c5;
  --accent-tint: #d1eae2;
  --gold: #58a894;
}

/* Sophisticated plum — premium & calm */
[data-palette="plum"] {
  --bg: #faf6f8;
  --bg-soft: #f0e6ec;
  --ink: #271820;
  --ink-soft: #543e4a;
  --ink-mute: #8a727e;
  --line: #e6d4dd;
  --accent: #8a4f6b;
  --accent-deep: #5e3247;
  --accent-soft: #c9a3b6;
  --accent-tint: #ecdae3;
  --gold: #b07089;
}

/* Warm terracotta — friendly & inviting */
[data-palette="clay"] {
  --bg: #fbf6f3;
  --bg-soft: #f3e7e0;
  --ink: #2e1d16;
  --ink-soft: #5c4338;
  --ink-mute: #94786b;
  --line: #ead8cd;
  --accent: #b5654a;
  --accent-deep: #823f29;
  --accent-soft: #dba893;
  --accent-tint: #f2ddd1;
  --gold: #c97d54;
}

[data-display-font="serif"] {
  --font-display: "Cormorant Garamond", "Noto Serif Gujarati", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; }
h2 { font-size: clamp(32px, 4.5vw, 54px); font-weight: 700; }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; }

/* Serif display mode softens the weights for an editorial feel */
[data-display-font="serif"] h1 { font-weight: 400; letter-spacing: -0.01em; }
[data-display-font="serif"] h2 { font-weight: 400; letter-spacing: -0.01em; }
[data-display-font="serif"] h3 { font-weight: 500; }

p { text-wrap: pretty; color: var(--ink-soft); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.guj {
  font-family: "Noto Serif Gujarati", serif;
  font-style: normal;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
}
.logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo-img-lg { width: 72px; height: 72px; margin: 0 auto 16px; }
.logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  line-height: 1;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-inner a.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .2s, background .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }
/* Mobile nav — CTA + hamburger, links live in a dropdown menu */
.nav-mobile { display: none; align-items: center; gap: 10px; }
.nav-menu { display: none; }
@media (max-width: 860px) {
  .nav-inner { padding: 12px 20px; }
  .logo { font-size: 17px; gap: 10px; }
  .logo-img { width: 44px; height: 44px; }
  .nav-links { display: none; }
  .nav-mobile { display: flex; }
  .nav-cta { padding: 10px 16px; font-size: 13px; }
  .nav-cta svg { width: 14px; height: 14px; }
  .nav.menu-open { background: var(--bg); }
  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg);
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-burger span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s, opacity .2s;
  }
  .nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--bg);
    transition: max-height .35s ease;
  }
  .nav.menu-open .nav-menu {
    max-height: 360px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-menu a {
    display: block;
    padding: 15px 24px;
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu-lang { padding: 16px 24px; }
}

/* ============ HERO ============ */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}
[data-display-font="serif"] .hero h1 em {
  font-style: italic;
  font-weight: 300;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn {
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 460px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta-item .label {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* Hero image */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
}
.hero-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  position: absolute;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge.b1 { top: 24px; left: -24px; }
.hero-badge.b2 { bottom: 32px; right: -16px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf50; box-shadow: 0 0 0 4px rgba(76,175,80,.15); }
.hero-badge .dot.dot-off { background: #b0b0b0; box-shadow: 0 0 0 4px rgba(150,150,150,.15); }
.hero-badge .text { font-size: 13px; }
.hero-badge .text strong { display: block; font-weight: 600; color: var(--ink); }
.hero-badge .text span { color: var(--ink-mute); font-size: 12px; }

/* Marquee */
.marquee {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  margin-top: 60px;
}
.marquee-track {
  display: flex;
  /* width must fit the duplicated content: translateX(-50%) then equals
     exactly one full set of items, so the loop passes through all of them */
  width: max-content;
  animation: scroll 60s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-soft);
}
.marquee-track span::after {
  content: "•";
  margin: 0 60px;
  color: var(--accent);
  font-style: normal;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .marquee-track { font-size: 17px; animation-duration: 30s; }
  .marquee-track span::after { margin: 0 40px; }
}

/* ============ SECTION ============ */
.section {
  padding: 120px 0;
}
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: var(--ink);
  color: var(--bg);
}
.section-dark h2, .section-dark h3 { color: var(--bg); }
.section-dark p { color: rgba(255,255,255,.78); }
.section-dark .section-head .lead { color: rgba(255,255,255,.95); }
.section-dark .eyebrow { color: var(--accent-soft); }
.section-dark .eyebrow::before { background: var(--accent-soft); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}
.section-head h2 { max-width: 600px; }
.section-head .lead { color: var(--ink-soft); font-size: 17px; max-width: 460px; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-img {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center top;
  width: 100%;
  display: block;
}
.about-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.cred {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.cred .key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cred .val {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 6px;
  color: var(--ink);
}
.signature {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  margin-top: 24px;
}

/* ============ TREATMENTS ============ */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .treatments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .treatments-grid { grid-template-columns: 1fr; } }
.treatment {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 36px 32px;
  background: var(--bg);
  cursor: pointer;
  transition: background .25s;
  position: relative;
}
.treatment:hover { background: var(--bg-soft); }
.treatment.expanded { background: var(--ink); color: var(--bg); }
.treatment.expanded h3 { color: var(--bg); }
.treatment.expanded .t-num,
.treatment.expanded .t-meta { color: rgba(255,255,255,.6); }
.treatment.expanded .t-desc { color: rgba(255,255,255,.85); }
.treatment.expanded .t-more { color: var(--accent-soft); }
.t-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
}
.t-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 18px;
  margin-bottom: 14px;
  gap: 12px;
}
.t-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-tint);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .3s;
}
.treatment.expanded .t-icon { background: var(--accent); transform: rotate(45deg); }
.t-icon svg { width: 20px; height: 20px; }
.treatment h3 { font-size: 24px; font-weight: 500; }
.t-guj {
  font-family: "Noto Serif Gujarati", serif;
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 4px;
  display: block;
}
.treatment.expanded .t-guj { color: rgba(255,255,255,.55); }
.t-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
.t-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, margin .4s;
}
.treatment.expanded .t-detail {
  max-height: 400px;
  margin-top: 16px;
}
.t-detail-inner {
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.t-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}
.t-detail li {
  padding: 6px 0;
  display: flex;
  gap: 10px;
}
.t-detail li::before {
  content: "→";
  color: var(--accent-soft);
}
.t-meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  display: flex;
  gap: 16px;
  letter-spacing: 0.05em;
}
.t-more {
  margin-top: 20px;
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* ============ WHY ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all .3s;
}
.why-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}
.why-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent-soft);
  font-style: italic;
  display: block;
  line-height: 1;
  margin-bottom: 24px;
}
.why-card h3 { font-size: 22px; margin-bottom: 12px; }
.why-card p { font-size: 14px; }

/* Counters */
.counters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 980px) { .counters { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
@media (max-width: 700px) { .counters { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
.counter { min-width: 0; }
.counter .n {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 50px);
  color: var(--bg);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.counter .n em { color: var(--accent-soft); font-style: normal; }
.counter .l {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

/* ============ TECHNOLOGY ============ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tech-img {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(60deg, var(--accent-tint) 0 8px, var(--bg-soft) 8px 16px);
  display: grid;
  place-items: center;
  position: relative;
}
.tech-img-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
}
.tech-body { padding: 28px; }
.tech-body .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.tech-body h3 { font-size: 22px; margin: 10px 0 10px; }
.tech-body p { font-size: 14px; margin: 0; }

/* ============ GALLERY ============ */
.gallery {
  position: relative;
}
.gallery-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
}
.gallery-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
}
.gallery-imgs > div {
  background: repeating-linear-gradient(45deg, var(--accent-tint) 0 8px, var(--bg-soft) 8px 16px);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-mute);
  position: relative;
}
.gallery-imgs > div span {
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 4px;
}
.gallery-imgs::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--bg);
  transform: translateX(-50%);
}
.gallery-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 0 4px;
}
.gallery-label .case {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}
.gallery-label h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin: 4px 0 0;
}
.gallery-controls {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.gallery-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .2s;
  color: var(--ink);
}
.gallery-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery-btn svg { width: 20px; height: 20px; }

/* Clinic photo cards */
.clinic-card {
  flex: 0 0 440px;
  max-width: 88vw;
  scroll-snap-align: start;
  cursor: pointer;
  margin: 0;
}
.clinic-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}
.clinic-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.clinic-card:hover .clinic-img-wrap img { transform: scale(1.04); }
.clinic-zoom {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 75%, transparent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity .25s;
}
.clinic-card:hover .clinic-zoom { opacity: 1; }
.clinic-card figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding: 0 2px;
}
.clinic-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.clinic-cap {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
[data-display-font="serif"] .clinic-cap { font-weight: 500; }

/* Clinic lightbox */
.clinic-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: color-mix(in srgb, #000 82%, transparent);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 24px;
  animation: fadeIn .25s ease;
}
.clinic-lightbox-fig {
  margin: 0;
  max-width: min(1000px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-self: center;
}
.clinic-lightbox-fig img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.clinic-lightbox-fig figcaption {
  color: rgba(255,255,255,.9);
  font-family: var(--font-display);
  font-size: 20px;
}
.clinic-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
}
.clinic-lightbox-close:hover { background: rgba(255,255,255,.2); }
.clinic-lightbox-nav {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s;
  z-index: 2;
}
.clinic-lightbox-nav:hover { background: rgba(255,255,255,.2); }
.clinic-lightbox-nav svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .clinic-lightbox { grid-template-columns: 1fr; }
  .clinic-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
  .clinic-lightbox-nav.prev { left: 12px; }
  .clinic-lightbox-nav.next { right: 12px; }
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial {
  padding: 36px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial p {
  font-size: 16px;
  color: var(--ink);
  flex: 1;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.5;
}
.testimonial-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.tf-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-tint);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--accent-deep);
  font-size: 18px;
}
.tf-name { font-weight: 600; font-size: 14px; }
.tf-meta { font-size: 12px; color: var(--ink-mute); }
.stars { color: var(--gold); margin-top: 4px; font-size: 12px; letter-spacing: 2px; }

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq-item {
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all .25s;
  font-size: 16px;
  color: var(--ink-soft);
}
.faq-item.open .faq-toggle {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 280px; }
.faq-a-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 90%;
}

/* ============ BOOKING ============ */
.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }
.booking-info {
  background: var(--ink);
  color: var(--bg);
  padding: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}
.booking-info h2 { color: var(--bg); margin-bottom: 24px; }
.booking-info p { color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.bi-list { margin-top: auto; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.bi-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bi-row:last-child { border-bottom: none; }
.bi-row .k { color: rgba(255,255,255,0.55); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.bi-row .v { color: var(--bg); }

.booking-form {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

/* Call-to-book card */
.call-card {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.call-card-h {
  font-size: clamp(28px, 3vw, 38px);
  margin: 16px 0 12px;
}
.call-card-sub {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 90%;
}
.call-number {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--accent-tint);
  text-decoration: none;
  margin-bottom: 20px;
  transition: transform .2s;
}
.call-number:hover { transform: translateY(-2px); }
.call-number-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.call-number-icon svg { width: 24px; height: 24px; }
.call-number-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.call-number-val {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 2px;
}
.call-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.call-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 18px;
  font-size: 14px;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.call-actions .btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-2px);
}
.call-actions .btn svg { width: 18px; height: 18px; }
.call-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
  text-align: center;
}
.bf-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.bf-pill {
  height: 4px;
  flex: 1;
  background: var(--line);
  border-radius: 2px;
  transition: background .3s;
}
.bf-pill.done { background: var(--accent); }
.bf-pill.active { background: var(--accent); }
.bf-field {
  margin-bottom: 18px;
}
.bf-field label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.bf-field input, .bf-field select, .bf-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s;
}
.bf-field input:focus, .bf-field select:focus, .bf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bf-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.bf-chip {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  background: var(--bg);
  transition: all .2s;
}
.bf-chip:hover { border-color: var(--accent); }
.bf-chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.bf-time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 500px) { .bf-time-grid { grid-template-columns: repeat(3, 1fr); } }
.bf-time {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  background: var(--bg);
  transition: all .2s;
}
.bf-time:hover { border-color: var(--accent); }
.bf-time.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.bf-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}
.bf-confirm {
  text-align: center;
  padding: 40px 0;
}
.bf-confirm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-tint);
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: var(--accent-deep);
}
.bf-confirm h3 { font-size: 28px; margin-bottom: 8px; }
.bf-confirm p { color: var(--ink-soft); }
.bf-summary {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  text-align: left;
  font-size: 13px;
}
.bf-summary div { display: flex; justify-content: space-between; padding: 4px 0; }
.bf-summary div span:first-child { color: var(--ink-mute); font-family: var(--font-mono); font-size: 11px; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: stretch;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.contact-card .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-card .val {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 8px;
  color: var(--ink);
}
.contact-card .sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}

.map-wrap {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border: 1px solid var(--line);
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .5;
}
.map-roads {
  position: absolute; inset: 0;
  pointer-events: none;
}
.map-pin {
  position: absolute;
  top: 45%; left: 50%;
  transform: translate(-50%, -100%);
}
.map-pin-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  position: relative;
  margin: 0 auto;
}
.map-pin-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .25;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: translate(-50%,-50%) scale(.4); opacity: .4; }
  100% { transform: translate(-50%,-50%) scale(1.4); opacity: 0; }
}
.map-pin-label {
  margin-top: 16px;
  background: var(--bg-card);
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  white-space: nowrap;
  text-align: center;
}
.map-pin-label strong { display: block; font-size: 15px; }
.map-pin-label span { color: var(--ink-mute); font-size: 12px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 6px 0; }
.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.footer a:hover { color: var(--accent-soft); }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--bg);
  margin: 20px 0;
  font-weight: 400;
  font-style: italic;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
}

/* ============ FAB ============ */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .2s;
  position: relative;
  color: white;
}
.fab-btn:hover { transform: scale(1.08); }
.fab-btn svg { width: 26px; height: 26px; }
.fab-wa { background: #25D366; }
.fab-call { background: var(--accent-deep); }
.fab-btn::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  font-family: var(--font-body);
}
.fab-btn:hover::after { opacity: 1; }

/* fade-in on scroll — resting state is visible by default; only
   un-revealed items are hidden, and only once JS marks the page ready */
.reveal {
  transition: opacity .7s ease, transform .7s ease;
}
html.reveal-ready .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(24px);
}
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal:not(.visible) { opacity: 1; transform: none; }
}

/* ============ LANGUAGE TOGGLE ============ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  transition: background .2s, color .2s;
  line-height: 1;
}
.lang-toggle button.active {
  background: var(--ink);
  color: var(--bg);
}
.lang-toggle button:not(.active):hover { color: var(--ink); }
.lang-toggle .guj { font-family: "Noto Sans Gujarati", sans-serif; }

/* ============ LANGUAGE POPUP ============ */
.lang-pop-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lang-pop {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: popUp .35s cubic-bezier(.2,.8,.3,1);
}
@keyframes popUp { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.lang-pop h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.lang-pop .sub { font-size: 14px; color: var(--ink-mute); margin: 0 0 32px; }
.lang-pop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lang-pop-btn {
  padding: 22px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-display);
}
.lang-pop-btn:hover { border-color: var(--accent); background: var(--accent-tint); transform: translateY(-2px); }
.lang-pop-btn .big { display: block; font-size: 30px; color: var(--ink); line-height: 1.1; }
.lang-pop-btn .small { display: block; font-size: 12px; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.lang-pop-btn .big.guj { font-family: "Noto Serif Gujarati", serif; }

/* ============ MAP EMBED ============ */
.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: block;
  border-radius: var(--radius-lg);
}
.map-embed-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  min-height: 480px;
}
@media (max-width: 860px) {
  .lang-toggle button { padding: 8px 10px; font-size: 12px; }
}

/* ============ MOBILE POLISH ============ */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; gap: 20px; }

  .hero { padding: 104px 0 48px; }
  .hero-grid { gap: 40px; }
  .hero-sub { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .marquee { margin-top: 40px; }

  /* keep floating badges inside the photo so they can't overflow the viewport */
  .hero-badge { padding: 12px 16px; }
  .hero-badge.b1 { top: 16px; left: 16px; }
  .hero-badge.b2 { bottom: 16px; right: 16px; }

  .about-grid { gap: 40px; }
  .treatment { padding: 28px 22px; }
  .why-card { padding: 26px 22px; }
  .counters { margin-top: 56px; padding-top: 44px; }
  .testimonial { padding: 28px 22px; }
  .faq-q { font-size: 18px; }
  .booking-info, .call-card, .booking-form { padding: 32px 24px; }
  .call-number { padding: 18px 18px; gap: 14px; }
  .call-number-val { font-size: 25px; }
  .map-embed, .map-embed-wrap { min-height: 340px; }

  .footer { padding: 64px 0 32px; }
  .footer-grid { gap: 32px; margin-bottom: 44px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .fab { bottom: 16px; right: 16px; }
  .fab-btn { width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .about-credentials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* keep the top bar on one line on small phones */
  .nav-inner { padding: 12px 14px; }
  .logo { font-size: 15px; gap: 8px; }
  .logo-img { width: 38px; height: 38px; }
  .nav .logo-sub { display: none; }
  .footer .logo-sub { display: block; }
}
