/* ==========================================================================
   DESIGN SYSTEM FOR DRBHARTISURGERY.COM
   Core Stack: Merriweather (Headings) + Plus Jakarta Sans (Body)
   Palette: HSL-tuned Navy, Blue, Teal, and Gold accents
   ========================================================================== */

/* --- Import Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Custom Variables & Theme Tokens --- */
:root {
  /* Colors */
  --b800: #0f2d52;      /* Navy — Primary Dark */
  --b600: #1e5ba8;      /* Blue — Primary CTA */
  --b500: #2269c4;      /* Blue Mid */
  --b300: #93c5fd;      /* Blue Light */
  --b50:  #f5f9ff;      /* Blue Tint Background */
  
  --n900: #111827;      /* Near Black Text */
  --n700: #374151;      /* Dark Gray */
  --n600: #4b5563;      /* Body Text */
  --n400: #9ca3af;      /* Muted Gray */
  --n200: #e5e7eb;      /* Borders & Lines */
  --n100: #f3f4f6;      /* Off-white Background */
  --n50:  #f9fafb;      /* Very Light Gray */
  
  --teal: #0d9488;      /* Accent/CTA Alternate */
  --teal-dark: #0f766e;
  --teal-50: #f0fdfa;
  
  --gold: #b98722;      /* Highlights, Ratings, Trust elements */
  --gold-50: #fefbeb;
  
  --red: #dc2626;       /* Alerts & Emergencies */
  --red-50: #fef2f2;
  --white: #ffffff;
  
  /* Fonts */
  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Shadow Systems */
  --sh-sm: 0 1px 3px rgba(15, 45, 82, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --sh-md: 0 4px 6px -1px rgba(15, 45, 82, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --sh-lg: 0 10px 25px -5px rgba(15, 45, 82, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --sh-xl: 0 20px 50px -12px rgba(15, 45, 82, 0.12);
  
  /* Layout tokens */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--n900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: transparent;
}

/* --- Scroll Progress Bar --- */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--b600), var(--teal));
  z-index: 9999;
  width: 0;
  transition: width 0.1s ease-out;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4 {
  color: var(--b800);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

p {
  color: var(--n600);
  margin-bottom: 1.2rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--n400); }
.font-serif { font-family: var(--serif); }

/* --- Top Utility Bar --- */
.utbar {
  background: var(--b800);
  padding: 8px 0;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ut-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.ut-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.ut-item a {
  color: var(--white);
  font-weight: 600;
}

.ut-item a:hover {
  color: var(--b300);
}

.ut-item strong {
  color: var(--white);
}

.ut-emg {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: pulse-border 2.5s infinite;
}

@keyframes pulse-border {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* --- Sticky Navigation Bar --- */
#nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--n200);
  height: 76px;
  transition: var(--transition);
}

#nav.raised {
  box-shadow: var(--sh-md);
  height: 70px;
  background: rgba(255, 255, 255, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo-link {
  height: 54px;
  display: flex;
  align-items: center;
}

.nav-logo-link img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}

#nav.raised .nav-logo-link img {
  height: 46px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--n700);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active {
  color: var(--b600);
  background: var(--b50);
}

/* Dropdown Menu */
.nav-dd-trigger:hover .nav-dd {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
  display: inline-block;
}

.nav-dd-trigger:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-dd {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  min-width: 290px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1010;
}

.nav-dd a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--n600);
  border-radius: var(--r-sm);
  font-weight: 500;
}

.nav-dd a:hover {
  color: var(--b600);
  background: var(--b50);
}

.nav-dd a::before {
  content: '›';
  color: var(--b500);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50px;
  border: 1px solid var(--n200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n600);
}

.nav-social-btn:hover {
  color: var(--b600);
  border-color: var(--b300);
  background: var(--b50);
}

.nav-social-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Common Buttons & Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--b600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30, 91, 168, 0.25);
}

.btn-primary:hover {
  background: var(--b800);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(15, 45, 82, 0.3);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}

.btn-wa {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

.btn-wa:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}

.btn-wa svg, .btn-teal svg, .btn-primary svg {
  fill: currentColor;
  flex-shrink: 0;
}

.btn-outline {
  background: var(--white);
  color: var(--b600);
  border-color: var(--b300);
}

.btn-outline:hover {
  background: var(--b50);
  border-color: var(--b500);
}

.btn-outline-w {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-w:hover {
  background: rgba(255, 255, 255, 0.22);
}

.burger {
  display: none;
  font-size: 1.5rem;
  color: var(--b800);
  cursor: pointer;
}

/* Mobile Nav Menu (Drawer Style) */
.mob-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 990;
  padding: 20px;
  border-bottom: 1px solid var(--n200);
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--sh-xl);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}

#nav.raised + .mob-nav {
  top: 70px;
}

.mob-nav.open {
  display: flex;
}

.mob-nav a {
  font-weight: 600;
  color: var(--n700);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--n100);
}

.mob-nav a:hover, .mob-nav a.active {
  color: var(--b600);
  background: var(--b50);
}

.mob-dd-section {
  display: flex;
  flex-direction: column;
  padding-left: 15px;
  border-left: 2px solid var(--b100);
  margin: 5px 0 10px 14px;
  gap: 4px;
}

.mob-dd-section a {
  padding: 6px 10px;
  font-size: 0.85rem;
  border-bottom: none;
  font-weight: 500;
}

.mob-cta {
  background: var(--b600) !important;
  color: var(--white) !important;
  text-align: center;
  border: none !important;
  margin-top: 10px;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--b50) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30, 91, 168, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 91, 168, 0.08);
  border: 1px solid rgba(30, 91, 168, 0.12);
  color: var(--b800);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.hero h1 em {
  font-style: normal;
  color: var(--b600);
  position: relative;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--n600);
  line-height: 1.8;
  margin-bottom: 25px;
}

.hero-sub strong {
  color: var(--b800);
  font-weight: 700;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  background: var(--white);
  border: 1px solid var(--n200);
  color: var(--n700);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}

.hero-photo-wrapper {
  position: relative;
  height: 380px;
  background: var(--b800);
  overflow: hidden;
}

.hero-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px;
  background: linear-gradient(transparent, rgba(15, 45, 82, 0.95));
  color: var(--white);
}

.hero-photo-badge h4 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.hero-photo-badge p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  margin-bottom: 0;
}

.hero-card-meta {
  padding: 20px;
}

.hero-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.hero-meta-row:last-child {
  margin-bottom: 0;
}

.hero-meta-lbl {
  color: var(--n400);
  font-weight: 600;
  min-width: 90px;
  flex-shrink: 0;
}

.hero-meta-val {
  color: var(--n700);
  font-weight: 600;
}

.hero-card-socials {
  padding: 12px 20px;
  background: var(--n50);
  border-top: 1px solid var(--n200);
  display: flex;
  gap: 10px;
}

.hero-social-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--n600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--n200);
  background: var(--white);
}

.hero-social-link:hover {
  border-color: var(--b300);
  color: var(--b600);
  background: var(--b50);
}

.hero-social-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* --- Section Layouts --- */
.sec {
  padding: 80px 0;
}

.sec-bg {
  background: var(--n50);
}

.sec-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--b600);
  border-left: 3px solid var(--b600);
  padding-left: 8px;
  margin-bottom: 12px;
}

.ctr .sec-tag {
  border-left: none;
  border-bottom: 2px solid var(--b600);
  padding-left: 0;
  padding-bottom: 2px;
}

.sec-h {
  margin-bottom: 15px;
}

.sec-p {
  color: var(--n600);
  font-size: 0.98rem;
  max-width: 680px;
  margin-bottom: 40px;
}

.ctr .sec-p {
  margin-left: auto;
  margin-right: auto;
}

/* --- Credentials Trust Bar --- */
.trust-bar {
  background: var(--b800);
  padding: 24px 0;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tb-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.tb-ico {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.tb-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
}

.tb-text span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* --- Trust Badges Logo Row --- */
.logos-sec {
  background: var(--n50);
  padding: 35px 0;
  border-bottom: 1px solid var(--n200);
}

.logos-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--n400);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.logo-item img {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: var(--transition);
}

.logo-item:hover img {
  opacity: 1;
}

.logo-item span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--n400);
  text-align: center;
}

/* --- Grid of Treatments (Homepage) --- */
.tx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.tx-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--b300);
}

.tx-head {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid var(--n100);
}

.tx-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--b50);
  border: 1px solid rgba(30, 91, 168, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-ico svg {
  width: 22px;
  height: 22px;
  fill: var(--b600);
}

.tx-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--b800);
  line-height: 1.3;
}

.tx-sub {
  font-size: 0.7rem;
  color: var(--n400);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 3px;
}

.tx-body {
  padding: 20px 24px;
  flex: 1;
}

.tx-body p {
  font-size: 0.88rem;
  color: var(--n600);
  line-height: 1.6;
  margin-bottom: 15px;
}

.tx-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--b600);
  font-weight: 700;
  font-size: 0.82rem;
  border-bottom: 1px dashed var(--b300);
  padding-bottom: 2px;
}

.tx-link:hover {
  color: var(--b800);
  border-bottom-color: var(--b800);
}

.tx-chips {
  padding: 0 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tx-chip {
  background: var(--n50);
  border: 1px solid var(--n200);
  color: var(--n600);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

/* --- "Do You Have These Symptoms?" Card Section --- */
.symptom-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.symptom-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--sh-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.symptom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--teal);
  transition: var(--transition);
}

.symptom-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-lg);
  border-color: var(--teal);
}

.symptom-card h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.symptom-card p {
  font-size: 0.82rem;
  color: var(--n600);
  line-height: 1.5;
  margin-bottom: 15px;
}

.symptom-card a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.symptom-card a:hover {
  color: var(--teal-dark);
}

/* --- About Timeline & Academic Details --- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.cred-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
  position: sticky;
  top: 96px;
}

.cred-h {
  background: linear-gradient(135deg, var(--b800), var(--b700));
  padding: 20px 24px;
  color: var(--white);
}

.cred-h h3 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.cred-h p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  margin-bottom: 0;
  font-weight: 500;
}

.cred-list {
  padding: 10px 0;
}

.ci {
  display: flex;
  gap: 15px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--n100);
  transition: var(--transition);
}

.ci:last-child {
  border-bottom: none;
}

.ci:hover {
  background: var(--b50);
}

.ci-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--n200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
  overflow: hidden;
}

.ci-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}

.ci-yr {
  font-size: 0.68rem;
  color: var(--b600);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ci-inst {
  font-weight: 700;
  color: var(--n900);
  font-size: 0.85rem;
  line-height: 1.3;
  margin-bottom: 2px;
}

.ci-deg {
  font-size: 0.76rem;
  color: var(--n600);
  line-height: 1.4;
}

.ci.active {
  background: var(--b50);
  border-left: 3px solid var(--b600);
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 18px 24px;
  background: var(--n50);
  border-top: 1px solid var(--n200);
}

.etag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--n200);
  color: var(--n700);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.etag::before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
  font-size: 0.65rem;
}

.ap {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--n600);
  margin-bottom: 1.4rem;
}

.ap strong {
  color: var(--b800);
  font-weight: 700;
}

.about-hl {
  background: var(--b50);
  border: 1px solid rgba(30, 91, 168, 0.08);
  border-left: 4px solid var(--b600);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  margin: 25px 0;
}

.about-hl h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--b800);
  margin-bottom: 8px;
}

.about-hl p {
  color: var(--n700);
  font-size: 0.88rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 8px;
}

.about-hl cite {
  display: block;
  font-size: 0.72rem;
  color: var(--b600);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Published Research Card Component --- */
.pub-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 24px;
  margin-top: 25px;
  position: relative;
  overflow: hidden;
}

.pub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--b600), var(--teal));
}

.pub-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--b600);
  margin-bottom: 8px;
}

.pub-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--b800);
  line-height: 1.4;
  margin-bottom: 8px;
}

.pub-meta {
  font-size: 0.78rem;
  color: var(--n600);
  margin-bottom: 15px;
  line-height: 1.6;
}

.pub-meta strong {
  color: var(--n700);
  font-weight: 600;
}

.pub-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pub-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  transition: var(--transition);
}

.pub-link.orcid {
  background: #a6ce39;
  color: var(--white);
}

.pub-link.orcid:hover {
  background: #95ba32;
}

.pub-link.doi {
  background: var(--b600);
  color: var(--white);
}

.pub-link.doi:hover {
  background: var(--b800);
}

.pub-link.read {
  background: var(--white);
  color: var(--b600);
  border: 1px solid var(--b300);
}

.pub-link.read:hover {
  background: var(--b50);
}

/* --- Filterable Image Gallery --- */
.gallery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.gtab {
  background: var(--white);
  border: 1px solid var(--n200);
  color: var(--n600);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.gtab:hover, .gtab.active {
  background: var(--b600);
  color: var(--white);
  border-color: var(--b600);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.gitem {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--n100);
  border: 1px solid var(--n200);
  cursor: pointer;
  transition: var(--transition);
}

.gitem:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gitem:hover img {
  transform: scale(1.04);
}

.gitem-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 10px 15px;
  opacity: 0;
  transition: var(--transition);
}

.gitem:hover .gitem-label {
  opacity: 1;
}

/* Lightbox overlay style */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 60, 0.95);
  z-index: 9990;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --- BMI Calculator Component --- */
.bmi-sec {
  background: var(--b800);
  color: var(--white);
}

.bmi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.bmi-form {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--sh-xl);
  color: var(--n900);
}

.bmi-form h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--b800);
  margin-bottom: 6px;
}

.bmi-form p {
  font-size: 0.78rem;
  color: var(--n400);
  margin-bottom: 20px;
}

.bmi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.bmi-fg {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bmi-fg label {
  font-size: 0.68rem;
  color: var(--n700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bmi-fg input {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--n900);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
}

.bmi-fg input:focus {
  border-color: var(--b500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 91, 168, 0.15);
}

.bmi-btn {
  width: 100%;
  background: var(--b600);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.bmi-btn:hover {
  background: var(--b800);
}

#bmi-result {
  margin-top: 20px;
  padding: 15px;
  border-radius: var(--r-md);
  border: 1px solid var(--n200);
  background: var(--n50);
  display: none;
}

#bmi-result.show {
  display: block;
}

#bmi-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--b600);
  line-height: 1;
}

#bmi-cat {
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 4px;
}

#bmi-tip {
  font-size: 0.78rem;
  color: var(--n600);
  margin-top: 6px;
  line-height: 1.6;
}

.bmi-r .sec-tag {
  color: rgba(255, 255, 255, 0.6);
  border-left-color: rgba(255, 255, 255, 0.4);
}

.bmi-r h2 {
  color: var(--white);
}

.bmi-r p {
  color: rgba(255, 255, 255, 0.65);
}

.bmi-tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.bmi-tbl th {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  text-align: left;
}

.bmi-tbl td {
  padding: 8px 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bmi-tbl tr:last-child td {
  border-bottom: none;
}

.bmi-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
}

.bmi-underweight { background: #eff6ff; color: #1d4ed8; }
.bmi-normal { background: #ecfdf5; color: #047857; }
.bmi-overweight { background: #fffbeb; color: #b45309; }
.bmi-obese { background: #fef2f2; color: #b91c1c; }

/* --- Bariatric Obesity Grid --- */
.ob-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.ob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.ob-chip {
  background: var(--white);
  border: 1px solid var(--n200);
  color: var(--b800);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: var(--sh-sm);
}

.ob-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--sh-xl);
  border: 1px solid var(--n200);
}

.ob-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--b800);
  margin-bottom: 15px;
}

.ob-stat {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--n100);
}

.ob-stat:last-child {
  border-bottom: none;
}

.ob-n {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  min-width: 70px;
}

.ob-l {
  font-size: 0.82rem;
  color: var(--n600);
  line-height: 1.5;
}

/* --- FAQ Accordion Component --- */
.faq-wrap {
  max-width: 900px;
  margin: 30px auto 0;
}

.fi {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.fi:hover {
  box-shadow: var(--sh-sm);
}

.fi.on {
  box-shadow: var(--sh-md);
  border-color: var(--b300);
}

.fq {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--b800);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
  user-select: none;
}

.fq:hover {
  background: var(--n50);
}

.fi.on .fq {
  color: var(--b600);
  background: var(--b50);
}

.fq-arr {
  color: var(--b500);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.fi.on .fq-arr {
  transform: rotate(45deg);
}

.fa-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fi.on .fa-wrap {
  max-height: 600px;
}

.fa {
  padding: 5px 20px 18px;
  color: var(--n600);
  font-size: 0.85rem;
  line-height: 1.75;
}

.fa strong {
  color: var(--n900);
  font-weight: 600;
}

/* --- Clinic Locations --- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 1000px;
  margin: 35px auto 0;
}

.lc {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--n200);
  box-shadow: var(--sh-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.lc:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-4px);
}

.lc-top {
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--b800), var(--b700));
}

.lc-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.lc-badge.gold {
  background: rgba(185, 135, 34, 0.25);
  color: #ffe082;
}

.lc-top h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}

.lc-top p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  margin-bottom: 0;
}

.lc-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--n600);
  margin-bottom: 10px;
  line-height: 1.5;
}

.lr-i {
  flex-shrink: 0;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.lr b {
  color: var(--n900);
}

.lc-map-placeholder {
  margin-top: 15px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--n200);
  position: relative;
  aspect-ratio: 16/9;
  background: #eef2f7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.lc-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 82, 0.4);
  transition: var(--transition);
}

.lc-map-placeholder:hover::before {
  background: rgba(15, 45, 82, 0.5);
}

.lc-map-btn {
  position: relative;
  z-index: 5;
  background: var(--white);
  color: var(--b800);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: var(--sh-md);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lc-acts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--n100);
}

.lc-btn-wa {
  flex: 1;
  background: #22c55e;
  color: var(--white);
  font-size: 0.72rem;
  padding: 8px 12px;
  border-radius: 50px;
  text-align: center;
  font-weight: 700;
}

.lc-btn-wa:hover { background: #16a34a; }

.lc-btn-ph {
  flex: 1;
  background: var(--b600);
  color: var(--white);
  font-size: 0.72rem;
  padding: 8px 12px;
  border-radius: 50px;
  text-align: center;
  font-weight: 700;
}

.lc-btn-ph:hover { background: var(--b800); }

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-left .sec-tag {
  color: rgba(255, 255, 255, 0.6);
  border-left-color: rgba(255, 255, 255, 0.4);
}

.contact-left h2 {
  color: var(--white);
}

.contact-left p {
  color: rgba(255, 255, 255, 0.55);
}

.cm-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.cm-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 15px 20px;
  color: var(--white);
  transition: var(--transition);
}

.cm-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.cm-ico-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-ico-box.wa { background: rgba(34, 197, 94, 0.2); }
.cm-ico-box.ph { background: rgba(30, 91, 168, 0.25); }

.cm-ico-box svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.cm-lbl {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cm-val {
  font-size: 0.88rem;
  font-weight: 600;
}

/* Contact Form */
.cf-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--sh-xl);
}

.cf-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--b50);
  padding-bottom: 10px;
}

.cf-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cf-fg {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cf-fg label {
  font-size: 0.68rem;
  color: var(--n700);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cf-fg input, .cf-fg select, .cf-fg textarea {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  color: var(--n900);
  font-size: 0.88rem;
  transition: var(--transition);
  width: 100%;
}

.cf-fg input:focus, .cf-fg select:focus, .cf-fg textarea:focus {
  border-color: var(--b500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 91, 168, 0.1);
}

.cf-fg select {
  cursor: pointer;
}

.cf-fg textarea {
  resize: vertical;
  min-height: 100px;
}

.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.cf-btn {
  background: var(--b600);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 4px 14px rgba(30, 91, 168, 0.2);
}

.cf-btn:hover {
  background: var(--b800);
  transform: translateY(-1px);
}

/* --- Treatment Pages Template Layout --- */
.breadcrumb {
  background: var(--n50);
  padding: 12px 0;
  border-bottom: 1px solid var(--n200);
  font-size: 0.74rem;
  color: var(--n400);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--b600);
  font-weight: 600;
}

.breadcrumb span {
  margin: 0 6px;
  color: var(--n400);
}

/* Treatment Page Hero */
.page-hero {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--white) 0%, var(--b50) 100%);
  border-bottom: 1px solid var(--n200);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--b600);
}

.page-hero-sub {
  font-size: 0.98rem;
  color: var(--n600);
  line-height: 1.75;
  margin-bottom: 25px;
}

.page-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.chips-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip-hero {
  background: var(--white);
  border: 1px solid var(--b300);
  color: var(--b800);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.feature-img {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--n200);
  box-shadow: var(--sh-lg);
  background: var(--white);
}

/* 2-Column Content Layout (Prose + Sidebar) */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
  padding: 60px 0;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--b800);
  font-weight: 700;
  margin: 35px 0 12px;
  line-height: 1.3;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--b800);
  font-weight: 700;
  margin: 25px 0 8px;
}

.prose p {
  font-size: 0.94rem;
  color: var(--n600);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.prose p strong {
  color: var(--n900);
  font-weight: 700;
}

.prose ul, .prose ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 15px 0 25px 5px;
}

.prose ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--n600);
}

.prose ul li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.prose ul li strong {
  color: var(--n900);
}

/* Warnings and Special Info Blocks */
.emergency-warning-box {
  background: var(--red-50);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px;
  margin: 25px 0;
}

.emergency-warning-box h4 {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.emergency-warning-box ul {
  margin: 8px 0 0;
  gap: 6px;
}

.emergency-warning-box ul li {
  color: #7f1d1d;
  font-size: 0.85rem;
}

.emergency-warning-box ul li::before {
  color: var(--red);
}

.hindi-info-box {
  background: var(--gold-50);
  border: 1px solid rgba(185, 135, 34, 0.15);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px;
  margin: 25px 0;
}

.hindi-info-box h4 {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hindi-info-box p {
  font-size: 0.85rem;
  color: var(--n700);
  margin: 0;
  line-height: 1.6;
}

.info-box-blue {
  background: var(--b50);
  border: 1px solid rgba(30, 91, 168, 0.1);
  border-left: 4px solid var(--b600);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px;
  margin: 25px 0;
}

.info-box-blue h4 {
  color: var(--b800);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-box-blue p {
  font-size: 0.85rem;
  color: var(--n600);
  margin: 0;
}

/* Sticky Sidebar Components */
.sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--n200);
  box-shadow: var(--sh-md);
  overflow: hidden;
}

.sc-head {
  background: linear-gradient(135deg, var(--b800), var(--b700));
  padding: 20px;
  color: var(--white);
}

.sc-head h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--white);
}

.sc-head p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  font-weight: 500;
}

.sc-body {
  padding: 20px;
}

.sc-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.sc-row:last-child {
  margin-bottom: 0;
}

.sc-row .ico {
  flex-shrink: 0;
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.sc-row b {
  color: var(--n900);
  display: block;
  font-size: 0.78rem;
  line-height: 1.3;
}

.sc-row span {
  color: var(--n600);
  font-weight: 500;
}

.sc-acts {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--n100);
  background: var(--n50);
}

.sca-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: var(--transition);
  color: var(--white);
}

.sca-btn.wa { background: #22c55e; }
.sca-btn.wa:hover { background: #16a34a; }
.sca-btn.ph { background: var(--b600); }
.sca-btn.ph:hover { background: var(--b800); }

.related-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--n200);
  box-shadow: var(--sh-sm);
  padding: 20px;
}

.related-card h4 {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--n400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.related-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--n100);
  font-size: 0.82rem;
  color: var(--n700);
  font-weight: 600;
}

.related-link:last-child {
  border-bottom: none;
}

.related-link:hover {
  color: var(--b600);
  padding-left: 3px;
}

.related-link::before {
  content: '→';
  color: var(--b300);
  font-weight: 700;
}

/* --- Research & Scholarly Blog Articles Layout --- */
.art-cats {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.ac-tag {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.ac-tag.research { background: #f0fdf4; color: #166534; }
.ac-tag.surgery { background: var(--b50); color: var(--b800); }

.art-h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  margin-bottom: 10px;
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--n400);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--n200);
}

.art-meta strong {
  color: var(--b600);
}

.journal-box {
  background: linear-gradient(135deg, var(--b50), var(--teal-50));
  border: 1px solid rgba(30, 91, 168, 0.05);
  border-left: 4px solid var(--b600);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px;
  margin-bottom: 25px;
}

.jb-lbl {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--b600);
  margin-bottom: 6px;
}

.jb-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--b800);
  line-height: 1.35;
  margin-bottom: 4px;
}

.jb-journal {
  font-size: 0.82rem;
  color: var(--n700);
  font-weight: 600;
  margin-bottom: 4px;
}

.jb-authors {
  font-size: 0.76rem;
  color: var(--n600);
  margin-bottom: 12px;
  line-height: 1.4;
}

.jb-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.key-finding {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 25px 0;
}

.key-finding strong {
  color: #15803d;
  display: block;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.key-finding p {
  color: #166534;
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.art-body blockquote {
  border-left: 3px solid var(--b300);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--b50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--n700);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Author info card at end of article */
.author-card {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-top: 35px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.ac-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--b100);
  flex-shrink: 0;
}

.ac-details {
  flex: 1;
}

.ac-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--b800);
}

.ac-qual {
  font-size: 0.72rem;
  color: var(--b600);
  font-weight: 700;
  margin-bottom: 6px;
}

.ac-bio {
  font-size: 0.8rem;
  color: var(--n600);
  line-height: 1.6;
  margin-bottom: 0;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 35px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--n200);
  flex-wrap: wrap;
}

.share-lbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--n400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--white);
}

.share-btn.li { background: #0a66c2; }
.share-btn.li:hover { background: #08529c; }
.share-btn.tw { background: #111111; }
.share-btn.tw:hover { background: #2b2b2b; }
.share-btn.wa { background: #22c55e; }
.share-btn.wa:hover { background: #16a34a; }

.share-btn svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* --- Footer --- */
footer {
  background: var(--b800);
  color: rgba(255, 255, 255, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.f-brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.f-brand span {
  color: var(--b300);
}

.f-sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.f-desc {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.f-ci {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.f-ci a {
  color: var(--white);
}

.f-ci a:hover {
  color: var(--b300);
}

.f-h {
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 15px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.f-ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-ul a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.f-ul a:hover {
  color: var(--white);
  padding-left: 2px;
}

.f-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.f-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
}

.f-disc {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.25);
  max-width: 500px;
  text-align: right;
  line-height: 1.5;
}

/* --- WhatsApp Floating Button Component --- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4);
  animation: wa-bounce 3.5s ease-in-out infinite;
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: var(--white);
}

.wa-float:hover {
  animation: none;
  transform: scale(1.08);
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* --- Mobile Stickies --- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--n200);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
  z-index: 998;
  grid-template-columns: 1fr 1fr 1fr;
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.mobile-cta-btn.wa {
  background: #22c55e;
  color: var(--white);
}

.mobile-cta-btn.ph {
  background: var(--b600);
  color: var(--white);
}

.mobile-cta-btn.dir {
  background: var(--b800);
  color: var(--white);
}

.mobile-cta-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Media Queries (Responsiveness breakpoints) --- */
@media (max-width: 990px) {
  .nav-menu, .nav-socials, .nav-right .nav-book {
    display: none;
  }
  
  .burger {
    display: block;
  }
  
  .hero-grid, .about-layout, .bmi-inner, .ob-layout, .contact-grid, .page-hero-grid, .content-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  .hero-photo-wrapper {
    height: 320px;
  }
  
  .cred-card {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .f-disc {
    text-align: left;
    max-width: 100%;
  }
  
  .mobile-cta {
    display: grid;
  }
  
  /* Add padding bottom to body so content doesn't get hidden behind mobile sticky bar */
  body {
    padding-bottom: 52px;
  }
  
  .wa-float {
    bottom: 76px; /* Raise above mobile sticky bar */
    right: 16px;
    width: 48px;
    height: 48px;
  }
  
  .wa-float svg {
    width: 22px;
    height: 22px;
  }
  
  .sec {
    padding: 50px 0;
  }
}

@media (max-width: 600px) {
  .utbar {
    display: none;
  }
  
  #nav {
    height: 64px;
  }
  
  #nav.raised {
    height: 60px;
  }
  
  .mob-nav {
    top: 64px;
    max-height: calc(100vh - 64px);
  }
  
  #nav.raised + .mob-nav {
    top: 60px;
  }
  
  .nav-logo-link {
    height: 44px;
  }
  
  .nav-logo-link img {
    height: 42px;
  }
  
  #nav.raised .nav-logo-link img {
    height: 32px;
  }
  
  .tx-grid, .symptom-section-grid, .gallery-grid, .loc-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .cf-grid, .bmi-row {
    grid-template-columns: 1fr;
  }
  
  .page-hero {
    padding: 30px 0;
  }
  
  .content-wrap {
    padding: 30px 0;
  }
  
  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ===== Bridging styles for migrated treatment pages ===== */
.page-hero-inner{max-width:900px;margin:auto;position:relative;z-index:1;}
.page-hero-tag{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.12);color:rgba(255,255,255,.9);font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:.28rem .8rem;border-radius:4px;margin-bottom:1rem;}
.chips-hero{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1.5rem;}
.chip-w{background:rgba(255,255,255,.12);color:rgba(255,255,255,.9);font-size:.69rem;font-weight:700;padding:.22rem .65rem;border-radius:4px;letter-spacing:.04em;}
