/* ==========================================================
   Dr Afshan Qureshi: site styles
   Palette: Jodhpur blue (indigo) + Mehrangarh sandstone
   ========================================================== */

:root {
  color-scheme: light;

  --paper: #fffcf7;
  --sand: #f7f0e5;
  --sand-2: #efe3cf;
  --line: #e7dbc8;
  --ink: #18213a;
  --ink-2: #3c4660;
  --muted: #646d82;

  --blue: #2a4d9b;
  --blue-deep: #172d63;
  --blue-ink: #0f1f47;
  --blue-soft: #e6ecf8;

  --ochre: #b8652f;
  --ochre-soft: #f6e4d4;

  --wa: #1e9e52;
  --wa-deep: #17803f;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(24, 33, 58, .05), 0 8px 24px -8px rgba(24, 33, 58, .12);
  --shadow-lg: 0 2px 4px rgba(24, 33, 58, .05), 0 24px 48px -16px rgba(24, 33, 58, .22);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", "Noto Sans Devanagari", system-ui, -apple-system, sans-serif;
  --hi: "Noto Sans Devanagari", var(--sans);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%232a4d9b' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M28 0 L56 28 L28 56 L0 28Z'/%3E%3Ccircle cx='28' cy='28' r='9'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Ccircle cx='56' cy='0' r='9'/%3E%3Ccircle cx='0' cy='56' r='9'/%3E%3Ccircle cx='56' cy='56' r='9'/%3E%3C/g%3E%3C/svg%3E");
  --jaali-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1'%3E%3Cpath d='M28 0 L56 28 L28 56 L0 28Z'/%3E%3Ccircle cx='28' cy='28' r='9'/%3E%3Ccircle cx='0' cy='0' r='9'/%3E%3Ccircle cx='56' cy='0' r='9'/%3E%3Ccircle cx='0' cy='56' r='9'/%3E%3Ccircle cx='56' cy='56' r='9'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; margin: 0; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hi { font-family: var(--hi); }

/* Hindi hints: small Devanagari lines beside key English content */
.hi-sub { display: block; font-family: var(--hi); font-size: .86rem; font-weight: 500; color: var(--muted); margin-top: 3px; letter-spacing: 0; line-height: 1.5; }
.hi-desc { font-family: var(--hi); font-size: .88rem; color: var(--ink-2); margin: 4px 0 0; padding-left: 10px; border-left: 2px solid var(--ochre); line-height: 1.55; }
.hero__hi { font-family: var(--hi); font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 500; color: var(--blue-deep); margin: 14px 0 0; }
.hero__lang { font-family: var(--hi); font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.band .hi-sub { color: rgba(255, 255, 255, .6); }
.faq .hi-sub { font-size: .9rem; margin-top: 4px; }
.faq-note { text-align: center; font-family: var(--hi); color: var(--ink-2); margin: -20px 0 28px; }
.review-ask { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.review-ask h3 { font-size: 1.25rem; }
.review-ask .hi-sub { font-size: .92rem; }
.btn svg.g { width: 22px; height: 22px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--sand { background: var(--sand); }
.section--jaali { background: var(--sand) var(--jaali); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ochre); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 22px; height: 1.5px; background: currentColor; }

/* Placeholder marker: anything to be replaced with real content */
.ph {
  background: linear-gradient(transparent 60%, rgba(184, 101, 47, .16) 60%);
  border-bottom: 1.5px dashed rgba(184, 101, 47, .55);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px -6px rgba(30, 158, 82, .6); }
.btn--wa:hover { background: var(--wa-deep); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px -6px rgba(42, 77, 155, .55); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--blue-ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Top strip + header ---------- */
.topstrip { background: var(--blue-ink); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topstrip .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topstrip a { color: #fff; text-decoration: none; font-weight: 600; }
.topstrip span + span::before { content: "·"; margin: 0 10px; opacity: .5; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 247, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(24, 33, 58, .4); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
/* Logo: tooth outline in indigo with a sandstone highlight. The "AQ" text in the
   markup stays for screen readers but is hidden visually. */
:root {
  --tooth: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a4d9b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3c-2.2 0-4 1.8-4 4.3 0 2 .6 3.4 1.3 5 .7 1.7.9 3.6 1.3 5.6.3 1.5.8 3.1 2 3.1 1.6 0 1.6-3.2 2.1-5 .3-1 .8-1.6 2.3-1.6s2 .6 2.3 1.6c.5 1.8.5 5 2.1 5 1.2 0 1.7-1.6 2-3.1.4-2 .6-3.9 1.3-5.6.7-1.6 1.3-3 1.3-5C21 4.8 19.2 3 17 3c-1.9 0-2.9 1-5 1S8.9 3 7 3Z'/%3E%3Cpath d='M6.2 7.4c.3-1.3 1.2-2 2.4-2' stroke='%23b8652f' stroke-width='1.7'/%3E%3C/svg%3E");
  --tooth-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3c-2.2 0-4 1.8-4 4.3 0 2 .6 3.4 1.3 5 .7 1.7.9 3.6 1.3 5.6.3 1.5.8 3.1 2 3.1 1.6 0 1.6-3.2 2.1-5 .3-1 .8-1.6 2.3-1.6s2 .6 2.3 1.6c.5 1.8.5 5 2.1 5 1.2 0 1.7-1.6 2-3.1.4-2 .6-3.9 1.3-5.6.7-1.6 1.3-3 1.3-5C21 4.8 19.2 3 17 3c-1.9 0-2.9 1-5 1S8.9 3 7 3Z'/%3E%3Cpath d='M6.2 7.4c.3-1.3 1.2-2 2.4-2' stroke='%23f0b98f' stroke-width='1.7'/%3E%3C/svg%3E");
}
.brand__mark {
  width: 40px; height: 40px; flex: none; display: block; overflow: hidden;
  background: var(--tooth) center / contain no-repeat;
  color: transparent !important; font-size: 0 !important;
}
.footer .brand__mark { background-image: var(--tooth-light); }
.brand__name { font: 500 1.18rem/1.1 var(--serif); display: block; white-space: nowrap; }
.brand__sub { font-size: .74rem; color: var(--muted); letter-spacing: .04em; display: block; margin-top: 3px; white-space: nowrap; }

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink-2); white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.nav a:hover { background: var(--blue-soft); color: var(--blue); }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1120px) { .header .btn--wa { display: none; } }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header.menu-open .nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .header.menu-open .nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .topstrip .hide-sm { display: none; }
  .topstrip span + span::before { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 45%;
  background: var(--sand) var(--jaali);
  border-radius: 0 0 0 220px;
  z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 22px;
}
.hero__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(30, 158, 82, .18); }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero__lede { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 560px; margin: 22px 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item b { font: 500 1.7rem/1 var(--serif); color: var(--blue-ink); }
.trust-item > span { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.trust-item b .stars { font-size: 1.2rem; vertical-align: 2px; }
.stars { color: #e3a008; letter-spacing: 2px; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  position: relative; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: linear-gradient(160deg, #dfe6f5 0%, var(--sand-2) 100%);
  aspect-ratio: 4 / 5;
}
.arch::after {
  content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1.5px solid rgba(255, 255, 255, .7); pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px;
  color: var(--blue-deep); font-size: .88rem; font-weight: 600;
}
.photo-ph svg { width: 56px; height: 56px; opacity: .5; }
.photo-ph small { font-weight: 500; color: var(--muted); max-width: 220px; }

.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; font-size: .86rem; line-height: 1.35;
}
.float-card b { display: block; font-size: .95rem; }
.float-card--a { left: -36px; bottom: 64px; }
.float-card--b { right: -24px; top: 72px; }
.float-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.float-card .ico svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .hero::before { inset: 52% 0 0 0; border-radius: 120px 120px 0 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__visual { width: min(82%, 360px); margin-top: 8px; }
  .float-card--a { left: -12%; bottom: 40px; }
  .float-card--b { right: -10%; top: 40px; }
}

/* ---------- Symptom picker ---------- */
.picker { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 11px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  text-align: left; transition: border-color .15s, background-color .15s, transform .15s;
}
.chip:hover { border-color: var(--blue); transform: translateY(-1px); }
.chip b { font-weight: 700; font-size: .95rem; }
.chip span { font-family: var(--hi); font-size: .82rem; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .78); }

.answer {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(24px, 3.5vw, 36px); position: sticky; top: 100px; min-height: 300px;
}
.answer__empty { color: var(--muted); display: grid; place-content: center; text-align: center; min-height: 240px; gap: 10px; }
.answer__empty svg { width: 48px; height: 48px; margin-inline: auto; color: var(--ochre); opacity: .7; }
.answer h3 { margin-bottom: 4px; }
.answer .hi { color: var(--muted); font-size: .95rem; margin-bottom: 18px; display: block; }
.answer dl { margin: 0 0 24px; display: grid; gap: 14px; }
.answer dt { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre); }
.answer dd { margin: 2px 0 0; color: var(--ink-2); }
.answer__urgent { background: var(--ochre-soft); color: #7a3c14; border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin-bottom: 20px; font-weight: 600; }
.answer__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 860px) {
  .picker { grid-template-columns: 1fr; }
  .answer { position: static; min-height: 0; }
  .answer__empty { min-height: 140px; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__visual { position: relative; }
.about__visual .arch { aspect-ratio: 3 / 4; }
.about__sig {
  position: absolute; right: -18px; bottom: 36px; background: var(--blue); color: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-lg);
  max-width: 230px; font-size: .88rem; line-height: 1.4;
}
.about__sig b { font: 500 2rem/1 var(--serif); display: block; margin-bottom: 4px; }
.about p { color: var(--ink-2); }
.about blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--ochre);
  font: italic 400 1.28rem/1.5 var(--serif); color: var(--blue-ink);
}
.creds { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.creds li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .92rem; line-height: 1.45; }
.creds li b { display: block; font-size: .96rem; }
.creds svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__visual { width: min(80%, 360px); margin-inline: auto; }
  .about__sig { right: -8%; }
}
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font: 500 2.6rem/1 var(--serif); color: var(--blue); opacity: .22; display: block; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; font-size: 1.18rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Treatments ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: all .15s;
}
.tab:hover { border-color: var(--blue); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tcard[hidden] { display: none; }
.tcard .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 6px; }
.tcard .ico svg { width: 26px; height: 26px; }
.tcard--surgical .ico { background: var(--ochre-soft); color: var(--ochre); }
.tcard h3 { font-size: 1.2rem; }
.tcard p { color: var(--muted); font-size: .94rem; margin: 0; flex: 1; }
.tcard .tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .tgrid { grid-template-columns: 1fr; } }

/* ---------- Surgeon band ---------- */
.band { background: var(--blue-ink) var(--jaali-light); color: #fff; position: relative; overflow: hidden; }
.band .eyebrow { color: #f0b98f; }
.band h2 { color: #fff; }
.band .section-head p { color: rgba(255, 255, 255, .72); }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.band__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.band__list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.band__list li:last-child { border-bottom: 0; }
.band__list b { display: block; font: 500 1.2rem/1.3 var(--serif); margin-bottom: 2px; }
.band__list span { color: rgba(255, 255, 255, .68); font-size: .94rem; }
.band__list .num { font: 500 .9rem/1.9 var(--serif); color: #f0b98f; flex: none; width: 24px; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why__item { background: var(--paper); padding: 32px 28px; }
.why__item svg { width: 30px; height: 30px; color: var(--ochre); margin-bottom: 16px; }
.why__item h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why__item p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.video-ph {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, #2a4d9b 0%, #0f1f47 100%); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
}
.video-ph::before { content: ""; position: absolute; inset: 0; background: var(--jaali-light); }
.video-ph .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--blue-ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.video-ph .play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-ph b { position: relative; font-size: .95rem; }
.video-ph small { position: relative; color: rgba(255, 255, 255, .7); font-size: .8rem; }
@media (max-width: 900px) {
  .videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .video-ph { scroll-snap-align: start; }
}

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review p { margin: 0; color: var(--ink-2); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sand-2); color: var(--blue-deep); display: grid; place-items: center; font-weight: 800; }
.review footer small { display: block; color: var(--muted); }
.reviews-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(150deg, #e3e9f6, var(--sand-2)); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.gallery .photo-ph svg { width: 36px; height: 36px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 500 1.16rem/1.4 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--ink-2); padding-right: 44px; margin-bottom: 22px; }

/* ---------- Visit / contact ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: 0; }
.info-row svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.info-row b { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.book { margin-top: 20px; grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); background: var(--blue); color: #fff; border: 0; position: relative; overflow: hidden; }
.book::before { content: ""; position: absolute; inset: 0; background: var(--jaali-light); pointer-events: none; }
.book > * { position: relative; }
.book h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.book p { color: rgba(255, 255, 255, .78); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42, 77, 155, .15); }
.book .field input, .book .field select, .book .field textarea { border-color: transparent; }
.book .field input:focus, .book .field select:focus { box-shadow: 0 0 0 4px rgba(255, 255, 255, .3); }
.form small { grid-column: 1 / -1; color: rgba(255, 255, 255, .7); font-size: .82rem; }
@media (max-width: 860px) {
  .visit, .book { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 64px 0 120px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: rgba(255, 255, 255, .55); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .footer { padding-bottom: 48px; } }

/* ---------- Mobile action bar ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 252, 247, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.actionbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px;
  text-decoration: none; font-size: .78rem; font-weight: 700; background: #fff; border: 1px solid var(--line);
}
.actionbar a svg { width: 20px; height: 20px; }
.actionbar a.wa { background: var(--wa); color: #fff; border-color: var(--wa); flex-direction: row; gap: 8px; font-size: .92rem; }
@media (max-width: 760px) { .actionbar { display: grid; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   Review page
   ========================================================== */
.rv-body { background: var(--sand) var(--jaali); min-height: 100vh; }
.rv-header { padding: 22px 0; }
.rv-header .wrap { display: flex; justify-content: center; }
.rv { width: min(100% - 2 * var(--gutter), 560px); margin: 0 auto 64px; }
.rv-card { background: var(--paper); border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(26px, 5vw, 44px); }
.rv-card h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); text-align: center; }
.rv-card .lede { text-align: center; color: var(--muted); margin: 12px auto 28px; max-width: 400px; }
.rv-card .lede .hi { display: block; font-size: .92rem; margin-top: 4px; }

.rating { display: flex; justify-content: center; gap: 6px; flex-direction: row-reverse; margin-bottom: 6px; }
.rating input { position: absolute; opacity: 0; pointer-events: none; }
.rating label { cursor: pointer; padding: 4px; color: #d9cfbf; transition: transform .12s, color .12s; }
.rating label svg { width: 46px; height: 46px; }
.rating label:hover, .rating label:hover ~ label, .rating input:checked ~ label { color: #e3a008; }
.rating label:hover { transform: scale(1.12); }
.rating input:focus-visible + label { outline: 3px solid var(--ochre); border-radius: 10px; }
.rating-word { text-align: center; font-weight: 700; color: var(--blue-deep); min-height: 1.6em; margin-bottom: 22px; }

.rv-form { display: grid; gap: 16px; }
.rv-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .rv-form .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.rv-hint { font-size: .82rem; color: var(--muted); text-align: center; margin: 4px 0 0; }
.rv-err { color: #b42318; font-weight: 600; font-size: .9rem; text-align: center; min-height: 1.4em; margin: 0; }

.rv-thanks { text-align: center; }
.rv-thanks .big { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #e5f5ec; color: var(--wa); }
.rv-thanks .big svg { width: 36px; height: 36px; }
.rv-thanks p { color: var(--ink-2); }
.rv-google { margin-top: 26px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-align: left; }
.rv-google h2 { font-size: 1.25rem; margin-bottom: 6px; }
.rv-google ol { padding-left: 20px; color: var(--ink-2); font-size: .94rem; margin: 10px 0 16px; }
.rv-google .btns { display: grid; gap: 10px; }
.rv-alt { margin-top: 18px; text-align: center; font-size: .92rem; color: var(--muted); }
.rv-alt a { color: var(--blue); font-weight: 700; }

/* ==========================================================
   Before / after slider
   ========================================================== */
.ba {
  --pos: 50%;
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3; background: var(--sand-2); cursor: ew-resize;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 8px rgba(0, 0, 0, .35); pointer-events: none; }
.ba .ba-knob {
  position: absolute; top: 50%; left: var(--pos); width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); display: grid; place-items: center; pointer-events: none; color: var(--blue-ink);
}
.ba .ba-knob svg { width: 22px; height: 22px; }
.ba .ba-tag { position: absolute; top: 10px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ba .ba-tag--b { left: 10px; background: rgba(15, 31, 71, .78); color: #fff; }
.ba .ba-tag--a { right: 10px; background: rgba(255, 255, 255, .92); color: var(--blue-ink); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ba:focus-within { outline: 3px solid var(--ochre); outline-offset: 3px; }

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.result { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 16px; display: flex; flex-direction: column; gap: 12px; }
.result[hidden] { display: none; }
.result figcaption, .result .cap { padding: 0 8px; }
.result h3 { font-size: 1.08rem; line-height: 1.3; }
.result .hi-sub { font-size: .84rem; }
.result .cat { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre); display: block; margin-bottom: 4px; }
.results-note { margin-top: 22px; text-align: center; color: var(--muted); font-size: .88rem; }
.results-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 960px) { .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .results { grid-template-columns: 1fr; } }

/* Video testimonials (real videos sit beside the placeholder tiles) */
.video-card { position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--blue-ink); }
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card figcaption {
  position: absolute; left: 12px; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 2px;
  padding: 8px 12px; border-radius: 12px; background: rgba(15, 31, 71, .72); color: #fff; font-size: .82rem;
  pointer-events: none; transition: opacity .3s;
}
.video-card figcaption b { font-size: .92rem; }
.video-card figcaption small { color: rgba(255, 255, 255, .78); }
.video-card.is-playing figcaption { opacity: 0; }
@media (max-width: 900px) { .video-card { scroll-snap-align: start; } }

/* Clinic gallery tile sizes */
.gallery { grid-auto-flow: dense; }
.gallery figure.g-big { grid-column: span 2; grid-row: span 2; }
.gallery figure.g-tall { grid-row: span 2; }
.gallery figure.g-wide { grid-column: span 2; }

/* Real photos inside arch frames and the clinic gallery */
.arch img { position: absolute; inset: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* Oral-surgery band with photo */
.band__grid--photo { grid-template-columns: .8fr 1.2fr; align-items: start; }
.band__photo { position: relative; margin: 0; }
.band__photo .arch { aspect-ratio: 3 / 4; background: #0b1736; }
.band__photo .arch::after { border-color: rgba(255, 255, 255, .25); }
.band__photo figcaption { margin-top: 14px; font-size: .88rem; color: rgba(255, 255, 255, .65); text-align: center; }
.band__copy .band__list { margin-top: 28px; }
.band__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #f0b98f; font-weight: 700; text-decoration: none; }
.band__more:hover { color: #fff; }
.band__more svg { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .band__grid--photo { grid-template-columns: 1fr; }
  .band__photo { width: min(78%, 340px); margin-inline: auto; }
}

/* ==========================================================
   Sub-pages (Smile Gallery, Surgical Cases)
   ========================================================== */
.page-hero { background: var(--sand) var(--jaali); padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); }
.page-hero .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.page-hero .crumbs a { color: var(--blue); font-weight: 600; text-decoration: none; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero .lede { font-size: 1.1rem; color: var(--ink-2); max-width: 640px; margin: 16px 0 0; }
.page-hero .hi-sub { font-size: 1.02rem; margin-top: 10px; }
.page-hero--dark { background: var(--blue-ink) var(--jaali-light); color: #fff; }
.page-hero--dark h1 { color: #fff; }
.page-hero--dark .lede { color: rgba(255, 255, 255, .78); }
.page-hero--dark .hi-sub { color: rgba(255, 255, 255, .65); }
.page-hero--dark .crumbs, .page-hero--dark .crumbs a { color: rgba(255, 255, 255, .7); }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero__grid .arch { aspect-ratio: 3 / 4; width: 100%; max-width: 300px; margin-left: auto; background: #0b1736; }
@media (max-width: 760px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__grid .arch { margin: 0 auto; max-width: 240px; } }

.nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }

.cta-band { background: var(--blue); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--jaali-light); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-band .hi-sub { color: rgba(255, 255, 255, .75); font-size: .95rem; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Surgical cases */
.sx-gate { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--ochre-soft); color: #6e3412; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; }
.sx-gate p { margin: 0; max-width: 640px; font-size: .95rem; }
.sx-gate b { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.sx-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sx-case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.sx-case h3 { font-size: 1.2rem; }
.sx-case .hi-sub { margin-top: 2px; }
.sx-case p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.sx-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.sx-img { position: relative; margin: 0; border-radius: 10px; overflow: hidden; background: #e9e1d3; aspect-ratio: 4 / 3; }
.sx-img img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s ease; }
.sx-img figcaption { position: absolute; left: 6px; bottom: 6px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.sx-img.is-graphic img { filter: blur(18px) saturate(.6); transform: scale(1.1); }
.sx-img.is-graphic .reveal-btn { position: absolute; inset: 0; display: grid; place-content: center; gap: 4px; text-align: center; background: rgba(15, 31, 71, .35); color: #fff; border: 0; cursor: pointer; font: 700 .8rem/1.3 var(--sans); padding: 8px; }
.sx-img.is-graphic .reveal-btn span { font-weight: 500; font-size: .72rem; opacity: .85; }
.sx-img .reveal-btn { display: none; }
.sx-img.is-graphic .reveal-btn { display: grid; }
.sx-note { font-size: .8rem; color: var(--muted); }
@media (max-width: 860px) { .sx-list { grid-template-columns: 1fr; } }
