@font-face { font-family: "Noto Sans Malayalam"; src: url("../assets/fonts/noto-sans-malayalam-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0D00-0D7F, U+200C-200D; }
@font-face { font-family: "Noto Sans Malayalam"; src: url("../assets/fonts/noto-sans-malayalam-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0D00-0D7F, U+200C-200D; }
@font-face { font-family: "Noto Sans Malayalam"; src: url("../assets/fonts/noto-sans-malayalam-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0D00-0D7F, U+200C-200D; }
@font-face { font-family: "Noto Serif Malayalam"; src: url("../assets/fonts/noto-serif-malayalam-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0D00-0D7F, U+200C-200D; }
@font-face { font-family: "Noto Serif Malayalam"; src: url("../assets/fonts/noto-serif-malayalam-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0D00-0D7F, U+200C-200D; }
@font-face { font-family: "Source Serif 4"; src: url("../assets/fonts/source-serif-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("../assets/fonts/noto-sans-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans"; src: url("../assets/fonts/noto-sans-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #ffffff;
  --bg-surface: #f8fafc;
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --accent: #0284c7;
  --accent-glow: rgba(2, 132, 199, 0.18);
  --accent-ink: #ffffff;
  --soft: #f0f9ff;
  --card-bg: #ffffff;
  --gold: #c5a059;
  --gold-soft: #fbf8f2;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 18px 38px -6px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --max: 1180px;
}

body[data-tier="standard"] {
  --bg: #f8fafc;
  --bg-surface: #ffffff;
  --ink: #0b192c;
  --ink-secondary: #1e293b;
  --muted: #526071;
  --line: rgba(15, 23, 42, 0.09);
  --accent: #0d9488;
  --accent-glow: rgba(13, 148, 136, 0.2);
  --accent-ink: #ffffff;
  --soft: #f0fdfa;
  --card-bg: #ffffff;
}

body[data-tier="luxury"] {
  --bg: #faf8f5;
  --bg-surface: #f4efe6;
  --ink: #181512;
  --ink-secondary: #2c2520;
  --muted: #6e655a;
  --line: rgba(24, 21, 18, 0.1);
  --line-strong: rgba(24, 21, 18, 0.2);
  --accent: #b08d44;
  --accent-glow: rgba(176, 141, 68, 0.25);
  --accent-ink: #ffffff;
  --soft: #f3ece0;
  --card-bg: rgba(255, 255, 255, 0.78);
  --shadow-md: 0 10px 30px -4px rgba(60, 48, 30, 0.09);
}

* { box-sizing: border-box; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: #0f172a; /* Guarantees seamless dark base matching footer - zero bottom white gap */
}
body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans Malayalam", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
}

body[data-lang="ml"] .en { display: none !important; }
body[data-lang="en"] .ml { display: none !important; }

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; line-height: 1.25; font-weight: 700; color: var(--ink); }

body[data-tier="luxury"] h1,
body[data-tier="luxury"] h2,
body[data-tier="luxury"] .serif-font {
  font-family: "Noto Serif Malayalam", "Source Serif 4", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ============================================================
   1. SLIM EXECUTIVE SHOWCASE BAR (Apple Minimalist Utility)
   ============================================================ */
.showcase-control-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 4px 0;
}
.showcase-control-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  gap: 12px;
}
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
}
.showcase-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px;
  border-radius: var(--radius-pill);
  gap: 2px;
}
.switch button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}
.switch button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.switch button[aria-pressed="true"] {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
body[data-tier="luxury"] .switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, #d4af37, #aa820a);
  color: #ffffff;
}
body[data-tier="standard"] .switch button[aria-pressed="true"] {
  background: #0d9488;
  color: #ffffff;
}

.btn-pitch-compare {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-pitch-compare:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

/* ============================================================
   2. SLIM ULTRA-PREMIUM CLINIC MAIN HEADER
   ============================================================ */
header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 42px;
  z-index: 90;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease;
}
body[data-tier="luxury"] header {
  background: rgba(250, 248, 245, 0.94);
}
header .header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  gap: 12px;
  min-width: 0;
  overflow: visible;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: none;
}
.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--accent), #0369a1);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 3px 10px var(--accent-glow);
}
body[data-tier="luxury"] .brand-icon {
  background: linear-gradient(135deg, #c5a059, #8e6c27);
  box-shadow: 0 3px 10px rgba(197, 160, 89, 0.35);
}
body[data-tier="standard"] .brand-icon {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.3);
}
.brand-icon svg {
  width: 20px;
  height: 20px;
}
.brand-titles {
  display: flex;
  flex-direction: column;
}
.brand-titles strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
}
.brand-status {
  font-size: 0.7rem;
  color: #059669;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.nav-menu a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-menu a:hover {
  color: var(--accent);
}
.nav-mobile-only {
  display: none;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  flex-shrink: 0;
}
.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-secondary);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.header-phone-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.header-phone-link svg {
  color: var(--accent);
}

.langs {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 2px;
  border-radius: var(--radius-pill);
}
.langs button {
  min-height: 26px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
body[data-lang="ml"] .langs button[data-lang-set="ml"],
body[data-lang="en"] .langs button[data-lang-set="en"] {
  background: var(--ink);
  color: #fff;
}
body[data-tier="luxury"][data-lang="ml"] .langs button[data-lang-set="ml"] {
  background: var(--accent);
  color: #fff;
}

.header-btn {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.78rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn.solid {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn.solid:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn.emergency {
  background: var(--danger);
  color: #ffffff;
  border-color: var(--danger);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}
.btn.gold {
  background: linear-gradient(135deg, #c5a059, #997424);
  color: #ffffff;
  border-color: #997424;
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.3);
}

/* ============================================================
   4. HERO SECTIONS (Atmospheric, High Conversion)
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 44px 0 36px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.category-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Trust checklist chips */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  color: var(--ink-secondary);
}
.trust-chip svg {
  width: 14px;
  height: 14px;
  color: var(--emerald);
  flex-none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-img-wrap:hover img {
  transform: scale(1.02);
}
.hero-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-floating-badge .stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

/* 24/7 SOS Banner */
.emergency-sos-bar {
  background: linear-gradient(135deg, #7f1d1d, #991b1b);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 24px 0 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
}
.emergency-sos-text {
  display: flex;
  align-items: center;
  gap: 12px;
}
.emergency-sos-text .sos-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.emergency-sos-bar strong {
  font-size: 0.98rem;
  display: block;
}
.emergency-sos-bar span {
  font-size: 0.85rem;
  color: #fecaca;
}

/* ============================================================
   5. SECTION ARCHITECTURE & CARDS (Watermelon UI Tokens)
   ============================================================ */
section {
  padding: 48px 0;
}
.section-header {
  text-align: left;
  margin-bottom: 24px;
}
.section-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  letter-spacing: -0.01em;
}
.section-header p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 6px;
  max-width: 65ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex-grow: 1;
}
.card-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

/* Interactive Tabs */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 12px;
  margin-bottom: 16px;
  scrollbar-width: thin;
}
.tab {
  flex: none;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  padding: 0 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  transition: all 0.2s ease;
}
.tab:hover {
  border-color: var(--ink);
}
.tab[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* ============================================================
   6. DOCTOR SPECIALIST CARDS (High Authority & Trust)
   ============================================================ */
.doctor-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  transition: all 0.2s ease;
}
.doctor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.doctor-avatar {
  width: 88px;
  height: 102px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #475569;
  position: relative;
  overflow: hidden;
}
.doctor-avatar svg {
  width: 48px;
  height: 48px;
  color: #64748b;
}
.doctor-avatar .kdc-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 0.62rem;
  text-align: center;
  padding: 2px 0;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.doctor-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.doctor-role {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.doctor-degree {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.doctor-days {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--soft);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* ============================================================
   7. INTERACTIVE BEFORE/AFTER SLIDER (Apple-Grade Comparison)
   ============================================================ */
.compare-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-strong);
  user-select: none;
}
.compare-box {
  position: relative;
  height: 420px;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.compare-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-layer-before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.compare-layer-before img {
  width: 900px; /* matched via JS */
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.compare-badge-left,
.compare-badge-right {
  position: absolute;
  top: 18px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}
.compare-badge-left { left: 18px; }
.compare-badge-right { right: 18px; }

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: ew-resize;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  border: 2px solid var(--accent);
  pointer-events: none;
}
.compare-input-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: ew-resize;
  z-index: 20;
}

/* ============================================================
   8. GOOGLE SOCIAL PROOF (4.9★ Real Reviews Showcase)
   ============================================================ */
.google-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.google-rating-score {
  display: flex;
  align-items: center;
  gap: 14px;
}
.google-g-logo {
  width: 38px;
  height: 38px;
  flex: none;
}
.score-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.stars-group {
  display: flex;
  color: #f59e0b;
  font-size: 1.1rem;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-avatar-initials {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-meta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}
.author-meta span {
  font-size: 0.78rem;
  color: var(--muted);
}
.review-text {
  font-size: 0.93rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  font-style: normal;
}
.treatment-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--soft);
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
}

/* ============================================================
   9. NRI / GULF FAST-TRACK & 0% EMI VALUE CARDS
   ============================================================ */
.nri-banner-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nri-banner-card h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.nri-banner-card p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
}
.nri-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nri-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.55;
  position: relative;
  width: 100%;
}
.nri-steps li > .ml,
.nri-steps li > .en {
  flex: 1;
  display: inline;
}
.nri-steps li > span:first-child {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex: none;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.nri-media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
.nri-media-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.nri-media-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: #f8fafc;
}
.nri-media-caption strong {
  color: #38bdf8;
  display: block;
  font-size: 0.82rem;
}

.emi-card {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.emi-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.emi-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1px solid var(--line);
  flex: none;
}

/* ============================================================
   10. FORMS & BOOKING WIDGETS
   ============================================================ */
form {
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 14px;
}
.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.form-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
}
input[type="text"],
input[type="tel"],
input[type="date"],
select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease;
  font-size: 0.95rem;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0;
}
.checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.checks label:hover {
  border-color: var(--accent);
}
.checks input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

/* Stepper Form for VIP Concierge */
.stepper-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.step-indicator {
  flex: 1;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}
.step-indicator.active {
  background: var(--accent);
}

/* Location Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}
.location-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* ============================================================
   11. FOOTER & STICKY MOBILE CALL BAR
   ============================================================ */
footer {
  border-top: 1px solid var(--line);
  background: #0f172a;
  color: #e2e8f0;
  padding: 48px 0 32px;
  margin-top: auto;
  margin-bottom: 0;
}
footer h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 14px;
  font-weight: 700;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}
.foot p, .foot li {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.6;
}
.foot-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-links-list a {
  color: #94a3b8;
  transition: color 0.2s ease;
}
.foot-links-list a:hover {
  color: #38bdf8;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  grid-template-columns: 0.9fr 1fr 1.05fr;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  z-index: 90;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.1);
}
.sticky a, .sticky button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  padding-inline: 8px;
}

.proof {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  border: 1px solid var(--accent);
  color: var(--ink);
  font-size: 0.9rem;
}

/* Tier visibility toggles */
.tier { display: none; }
body[data-tier="essential"] [data-show="essential"],
body[data-tier="standard"] [data-show="standard"],
body[data-tier="luxury"] [data-show="luxury"] {
  display: block;
}

/* Mid laptop / half-screen: keep Live Booking visible, collapse crowded nav */
@media (max-width: 1480px) {
  .header-phone-link {
    display: none;
  }
  .nav-menu {
    gap: 10px;
  }
  .nav-menu a {
    font-size: 0.76rem;
  }
}

@media (max-width: 1280px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    z-index: 120;
    flex: none;
    min-width: 0;
    justify-content: flex-start;
  }
  body.nav-open .nav-menu {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    white-space: normal;
    font-size: 0.9rem;
  }
  .nav-menu a:hover {
    background: var(--soft);
  }
  .nav-mobile-only {
    display: list-item;
  }
  .nav-book-btn {
    justify-content: center;
    width: 100%;
    margin-top: 4px;
  }
  header .header-wrap {
    position: relative;
  }
  .header-btn {
    padding: 0 12px;
    font-size: 0.74rem;
  }
}

/* Responsive layout adjustments */
@media (max-width: 900px) {
  .hero, .split, .nri-banner-card {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    padding-bottom: 0;
  }
  footer {
    padding-bottom: 104px;
  }
  .wrap {
    width: calc(100% - 24px);
  }
  .showcase-control-wrap {
    flex-wrap: wrap;
    padding: 6px 0;
    gap: 8px;
  }
  .showcase-badge {
    display: none;
  }
  .switch {
    width: auto;
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .switch button {
    flex: 1;
    min-height: 44px;
    padding: 8px 6px;
    font-size: 0.68rem;
  }
  .btn-pitch-compare {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }
  .langs button {
    min-height: 44px;
    min-width: 44px;
    padding: 0 12px;
  }
  header {
    top: 96px;
  }
  header .header-wrap {
    min-height: 52px;
    gap: 8px;
  }
  .brand-icon {
    width: 30px;
    height: 30px;
  }
  .brand-icon svg {
    width: 17px;
    height: 17px;
  }
  .brand-titles strong {
    font-size: 0.95rem;
  }
  .brand-status {
    font-size: 0.65rem;
  }
  .header-actions .btn {
    display: none; /* Mobile sticky + hamburger provide booking CTAs */
  }
  .grid, .grid.two, .grid.four, .foot {
    grid-template-columns: 1fr;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  .sticky {
    display: grid;
  }
  .compare-box {
    height: 260px;
  }
  .doctor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .doctor-avatar {
    margin: 0 auto;
  }
  .emergency-sos-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    padding: 10px 12px;
    margin: 12px 0 6px;
  }
  .emergency-sos-text {
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 180px;
    min-width: 0;
  }
  .emergency-sos-text .sos-icon {
    width: 28px;
    height: 28px;
  }
  .emergency-sos-text .sos-icon svg {
    width: 14px;
    height: 14px;
  }
  .emergency-sos-bar strong {
    font-size: 0.82rem;
    line-height: 1.3;
  }
  .emergency-sos-bar .emergency-sos-text span {
    font-size: 0.72rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .emergency-sos-bar .btn.emergency {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
    font-size: 0.84rem;
  }
}

/* ============================================================
   12. HIGH-TICKET SMILE & IMPLANT ESTIMATOR (Lead Engine)
   ============================================================ */
.estimator-section {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin: 36px auto;
}
.estimator-header {
  margin-bottom: 24px;
}
.estimator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.estimator-chip {
  background: var(--card-bg);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.estimator-chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.estimator-chip[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--soft);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.estimator-chip-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.estimator-chip strong {
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.3;
}
.estimator-chip span {
  font-size: 0.78rem;
  color: var(--muted);
}
.estimator-result-panel {
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.estimator-details h4 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.estimator-desc {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}
.estimator-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.estimator-metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.estimator-metric-box small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.estimator-metric-box strong {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 800;
}
.estimator-cta-box {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.estimator-cta-box small {
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

/* ============================================================
   13. LIVE STATUS PILL & TOPBAR PITCH BUTTON
   ============================================================ */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-soft);
  color: #065f46;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(5, 150, 105, 0.25);
}
.live-status-pill .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
  animation: pulse-green 2s infinite;
}

.btn-pitch-compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-pitch-compare:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* ============================================================
   14. SALES PITCH COMPARISON DRAWER / MODAL (Pitch Tool)
   ============================================================ */
.pitch-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.pitch-modal-backdrop:not(.open) {
  /* Closed modal must not widen the document (wide comparison table). */
  visibility: hidden;
  overflow: hidden;
}
.pitch-modal {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  max-width: min(960px, calc(100vw - 40px));
  width: 100%;
  max-height: 90vh;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-lg);
  padding: 32px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pitch-modal-backdrop.open .pitch-modal {
  transform: translateY(0) scale(1);
}
.pitch-modal-backdrop:not(.open) .pitch-table {
  display: none;
}
.pitch-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.pitch-modal-header h3 {
  font-size: 1.5rem;
  color: var(--ink);
}
.btn-close-modal {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.2s ease;
}
.btn-close-modal:hover {
  background: var(--ink);
  color: #fff;
}
.pitch-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.pitch-table th, .pitch-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.9rem;
}
.pitch-table th {
  background: var(--bg-surface);
  font-weight: 700;
  color: var(--ink);
}
.pitch-table th.highlight {
  background: var(--soft);
  color: var(--accent);
}
.pitch-check {
  color: var(--emerald);
  font-weight: 800;
}
.pitch-cross {
  color: #94a3b8;
}

/* Doctor card booking button */
.btn-doc-book {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--soft);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
}
.btn-doc-book:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .estimator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .estimator-result-panel {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .estimator-grid {
    grid-template-columns: 1fr;
  }
  .estimator-metrics {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   15. SMART CLINIC 4-IN-1 QR CODE ECOSYSTEM & RECEPTION STANDEE
   ============================================================ */
.qr-hub-section {
  padding: 52px 0 36px;
}
.qr-hub-card {
  background: var(--card-bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}
.qr-mode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.qr-mode-btn {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qr-mode-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.qr-mode-btn[aria-selected="true"] {
  background: var(--soft);
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.qr-mode-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qr-mode-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex: none;
}
.qr-mode-btn[aria-selected="true"] .qr-mode-icon {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.qr-mode-btn strong {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.25;
}
.qr-mode-btn p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Physical Acrylic Reception Desk QR Standee */
.qr-standee-card {
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 44px -8px rgba(15, 23, 42, 0.38);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
body[data-tier="luxury"] .qr-standee-card {
  background: linear-gradient(155deg, #181512 0%, #2b241d 100%);
  border-color: rgba(197, 160, 89, 0.35);
}
.qr-standee-top {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}
body[data-tier="luxury"] .qr-standee-top {
  color: #e5c168;
}
.qr-standee-clinic {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}
.qr-standee-loc {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 16px;
}
.qr-code-frame {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  width: 204px;
  height: 204px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  position: relative;
  margin-bottom: 14px;
}
.qr-code-frame svg {
  width: 100%;
  height: 100%;
  display: block;
}
.qr-center-badge {
  position: absolute;
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.qr-center-badge svg {
  width: 20px;
  height: 20px;
}
.qr-active-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.qr-active-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
  max-width: 28ch;
  margin-bottom: 16px;
}
.qr-standee-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}
.qr-standee-actions .btn {
  flex: 1;
  min-height: 44px;
  padding: 0 10px;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .qr-hub-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}
@media (max-width: 640px) {
  .qr-mode-list {
    grid-template-columns: 1fr;
  }
  .qr-standee-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
