/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: #374151; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== BRAND COLORS (from logo) =====
   Royal Blue  #1565C0  — circle background
   Gold        #C8960C  — ribbon banner
   Cross Red   #C62828  — medical cross / emergency
   Dark Blue   #0D3B8E  — deep backgrounds
===== */
:root {
  --blue:         #1565C0;
  --blue-mid:     #1976D2;
  --blue-dark:    #0D3B8E;
  --blue-deeper:  #082669;
  --blue-light:   #EBF3FD;
  --blue-faint:   #F4F8FE;

  --gold:         #C8960C;
  --gold-mid:     #D9A512;
  --gold-dark:    #9A700A;
  --gold-light:   #FFF8E6;
  --gold-border:  #E8B830;

  --red:          #C62828;
  --red-dark:     #8E1515;
  --red-light:    #FEF2F2;

  --text-dark:    #1A237E;
  --text:         #374151;
  --text-soft:    #6B7280;
  --border:       #DBEAFE;
  --border-gray:  #E5E7EB;
  --white:        #FFFFFF;
  --off-white:    #F8FAFF;
  --shadow-sm:    0 2px 8px rgba(21,101,192,0.10);
  --shadow:       0 4px 20px rgba(21,101,192,0.12);
  --shadow-md:    0 8px 32px rgba(21,101,192,0.16);
  --r:            8px;
  --r-lg:         14px;
  --ease:         0.25s ease;
}

/* ===== TYPE ===== */
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; color: var(--blue-dark); font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; }
p  { color: var(--text-soft); line-height: 1.75; }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.6rem; border-radius: var(--r);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .88rem;
  cursor: pointer; border: 2px solid transparent; transition: var(--ease);
  white-space: nowrap; letter-spacing: .2px;
}
.btn-gold   { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: 0 4px 14px rgba(200,150,12,.35); }

.btn-blue   { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: 0 4px 14px rgba(21,101,192,.30); }

.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: #fff; color: var(--blue); }

.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

.btn-red    { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); }
.btn-sm  { padding: .45rem 1rem; font-size: .82rem; }
.btn-lg  { padding: .85rem 2rem; font-size: .95rem; }

/* ===== TOP BAR ===== */
.top-bar { background: var(--blue-deeper); color: rgba(255,255,255,.85); font-size: .79rem; padding: .4rem 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.top-bar a { color: rgba(255,255,255,.9); }
.top-bar a:hover { color: var(--gold-mid); }
.top-bar-right { display: flex; align-items: center; gap: 1.5rem; }
.top-bar-left  { display: flex; align-items: center; gap: 1.5rem; }
.emg-pill { background: var(--red); color: #fff; font-weight: 700; padding: .18rem .75rem; border-radius: 3px; letter-spacing: .3px; }

/* ===== HEADER ===== */
header {
  background: #fff;
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(13,59,142,.10);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .65rem 0; }

.logo-wrap { display: flex; align-items: center; gap: .9rem; }
.logo-wrap img { width: 58px; height: 58px; object-fit: contain; }
.logo-text .hospital-name {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: .97rem; color: var(--blue-dark); line-height: 1.15;
}
.logo-text .hospital-sub { font-size: .65rem; color: var(--text-soft); letter-spacing: .4px; margin-top: 1px; }
.nabh-tag {
  display: inline-block; background: var(--gold); color: #fff;
  font-size: .58rem; font-weight: 700; padding: 1px 5px;
  border-radius: 3px; letter-spacing: .6px; margin-top: 3px;
}

/* ===== NAV ===== */
nav ul { display: flex; align-items: center; gap: .1rem; }
nav ul li { position: relative; }
nav ul li a {
  display: block; padding: .55rem .9rem;
  font-family: 'Poppins', sans-serif; font-size: .84rem; font-weight: 600;
  color: var(--text-dark); border-radius: var(--r); transition: var(--ease);
}
nav ul li a:hover { color: var(--blue); background: var(--blue-faint); }
nav ul li a.active { color: var(--blue); }
nav ul li a.active::after {
  content: ''; display: block; height: 2px;
  background: var(--gold); border-radius: 2px; margin-top: 2px;
}
.nav-has-dropdown > a::after { content: ' ▾'; font-size: .7rem; }
.nav-cta-btn {
  background: var(--gold) !important; color: #fff !important;
  border-radius: var(--r) !important; margin-left: .5rem;
  padding: .5rem 1.1rem !important;
}
.nav-cta-btn:hover { background: var(--gold-dark) !important; color: #fff !important; }
.nav-cta-btn::after { display: none !important; }

.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-md);
  min-width: 220px; padding: .5rem; z-index: 999;
  border: 1px solid var(--border);
}
.dropdown a { font-size: .83rem; padding: .45rem .8rem; border-radius: 6px; color: var(--text) !important; background: none !important; }
.dropdown a:hover { background: var(--blue-faint) !important; color: var(--blue) !important; }
.dropdown a.active::after { display: none; }
nav li:hover .dropdown { display: block; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: var(--ease); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(8,38,105,.90) 0%, rgba(13,59,142,.78) 50%, rgba(21,101,192,.45) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; padding: 3rem 0 5rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(200,150,12,.18); border: 1px solid rgba(200,150,12,.45);
  color: var(--gold-mid); font-size: .75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 4px; margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; font-size: clamp(2rem,5vw,3rem); line-height: 1.12; }
.hero h1 em { color: var(--gold-mid); font-style: normal; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-divider { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 2rem; }

.hero-facts { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-fact .n { font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--gold-mid); line-height: 1; }
.hero-fact .l { font-size: .72rem; color: rgba(255,255,255,.75); letter-spacing: .5px; text-transform: uppercase; margin-top: 2px; }

.hero-dots { position: absolute; bottom: 5.5rem; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: .5rem; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: var(--ease); }
.hero-dot.active { background: var(--gold-mid); transform: scale(1.3); }

.hero-emergency {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: var(--red); padding: .6rem 0;
}
.hero-emergency .container { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; color: #fff; font-size: .88rem; font-weight: 600; }
.hero-emergency a { color: #fff; font-weight: 700; }
.hero-emergency a:hover { color: #ffd; }
.hero-emergency .sep { opacity: .4; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--blue-dark); padding: 0; }
.stats-bar-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-block { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat-block:last-child { border-right: none; }
.stat-block .n { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: var(--gold-mid); line-height: 1; }
.stat-block .l { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: .3rem; letter-spacing: .4px; text-transform: uppercase; }

/* ===== NOTICE MARQUEE ===== */
.notice-bar { background: var(--blue); padding: .55rem 0; overflow: hidden; }
.notice-inner { display: flex; align-items: center; gap: 1.5rem; }
.notice-label { background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .65rem; border-radius: 3px; letter-spacing: .6px; flex-shrink: 0; text-transform: uppercase; }
.notice-track { overflow: hidden; flex: 1; }
.notice-scroll { display: flex; gap: 0; white-space: nowrap; animation: marquee 28s linear infinite; font-size: .83rem; color: rgba(255,255,255,.9); }
.notice-scroll span { padding: 0 2rem; border-right: 1px solid rgba(255,255,255,.25); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTION COMMON ===== */
.section-title { margin-bottom: .6rem; }
.section-intro { max-width: 580px; margin-bottom: 2.5rem; }
.gold-rule { width: 44px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 1.2rem; }
.centered { text-align: center; }
.centered .gold-rule { margin-left: auto; margin-right: auto; }
.centered .section-intro { margin-left: auto; margin-right: auto; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img-main img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--gold); color: #fff;
  padding: 1.2rem 1.5rem; border-radius: var(--r); text-align: center;
  box-shadow: 0 6px 20px rgba(200,150,12,.4);
}
.about-badge .n { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.about-badge .t { font-size: .7rem; opacity: .9; margin-top: 2px; letter-spacing: .3px; }
.about-check { display: flex; flex-direction: column; gap: .65rem; margin: 1.5rem 0; }
.about-check li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; color: var(--text); }
.about-check li::before {
  content: ''; min-width: 18px; height: 18px;
  background: var(--blue); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  flex-shrink: 0; margin-top: 2px;
}
.nabh-ribbon {
  display: inline-flex; align-items: center; gap: .75rem;
  border: 2px solid var(--gold); border-radius: var(--r);
  padding: .75rem 1.2rem; margin-top: 1rem; background: var(--gold-light);
}
.nabh-ribbon .icon { font-size: 1.8rem; }
.nabh-ribbon .t { font-family: 'Poppins', sans-serif; font-size: .88rem; font-weight: 700; color: var(--gold-dark); }
.nabh-ribbon .s { font-size: .72rem; color: var(--text-soft); }

/* ===== SPECIALTY CARDS ===== */
.specialties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px,1fr)); gap: 1.25rem; }
.spec-card {
  background: #fff; border-radius: var(--r); padding: 1.5rem;
  border: 1px solid var(--border-gray); transition: var(--ease);
  display: flex; flex-direction: column; gap: .75rem;
}
.spec-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.spec-card:hover .spec-icon { background: var(--blue); color: #fff; }
.spec-icon {
  width: 50px; height: 50px; border-radius: var(--r);
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; transition: var(--ease);
}
.spec-card h3 { font-size: .95rem; color: var(--blue-dark); margin: 0; }
.spec-card p  { font-size: .82rem; color: var(--text-soft); margin: 0; line-height: 1.55; }
.spec-link { font-size: .8rem; font-weight: 700; color: var(--blue); font-family: 'Poppins', sans-serif; display: flex; align-items: center; gap: .3rem; margin-top: auto; transition: var(--ease); }
.spec-card:hover .spec-link { gap: .55rem; color: var(--gold-dark); }

/* ===== DOCTOR CARDS ===== */
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }
.doc-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-gray); transition: var(--ease); display: flex; flex-direction: column; height: 100%; }
.doc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--border); }
.doc-card:hover .doc-photo-section img { transform: scale(1.08); }
.doc-photo { height: 210px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.doc-card:hover .doc-photo img { transform: scale(1.04); }
.doc-photo-section { width: 100%; height: 200px; background: var(--blue-light); overflow: hidden; display: flex; align-items: center; justify-content: center; transition: transform .3s ease; flex-shrink: 0; }
.doc-photo-section img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .4s ease; padding: .4rem; }
.doc-avatar {
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem;
}
.doc-body { padding: 0; display: flex; flex-direction: column; height: 100%; }
.doc-info { padding: .9rem 1.1rem; flex-grow: 1; display: flex; flex-direction: column; }
.doc-body h4 { font-size: .92rem; margin-bottom: .1rem; color: var(--blue-dark); font-weight: 700; }
.doc-qual { font-size: .74rem; color: var(--text-soft); margin-bottom: .4rem; line-height: 1.25; }
.doc-spec {
  display: inline-block; background: var(--blue-light); color: var(--blue-dark);
  font-size: .7rem; font-weight: 600; padding: .15rem .5rem;
  border-radius: 3px; margin-bottom: .4rem; margin-top: .2rem;
}
.doc-timing { font-size: .76rem; color: var(--text-soft); display: flex; align-items: flex-start; gap: .35rem; padding-top: .3rem; }
.doc-timing::before { content: '◷'; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.doc-footer { display: none; }
.btn-xs { padding: .38rem .7rem; font-size: .75rem; border-radius: 4px; }

/* ===== FILTER BAR ===== */
.filter-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r); padding: 1rem 1.25rem;
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 2rem; box-shadow: var(--shadow-sm);
}
.filter-wrap input, .filter-wrap select {
  flex: 1; min-width: 180px;
  padding: .6rem .9rem; border: 1.5px solid var(--border-gray);
  border-radius: var(--r); font-family: 'Open Sans', sans-serif;
  font-size: .87rem; color: var(--text); outline: none;
  transition: border-color var(--ease); background: var(--off-white);
}
.filter-wrap input:focus, .filter-wrap select:focus { border-color: var(--blue); background: #fff; }

/* ===== SERVICE / FACILITY CARDS ===== */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 1.25rem; }
.svc-card { background: #fff; border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--border-gray); transition: var(--ease); }
.svc-card:hover { box-shadow: var(--shadow); border-color: var(--border); }
.svc-card .icon { font-size: 2rem; margin-bottom: .85rem; }
.svc-card h4 { font-size: .95rem; margin-bottom: .4rem; }
.svc-card p  { font-size: .83rem; margin: 0; }

/* ===== PACKAGES ===== */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1.25rem; }
.pkg-card { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r-lg); padding: 1.75rem; transition: var(--ease); position: relative; overflow: hidden; }
.pkg-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-border); }
.pkg-card.highlight { border-color: var(--gold); }
.pkg-card.highlight::before { content: 'Popular'; position: absolute; top: 1rem; right: -1.8rem; background: var(--gold); color: #fff; font-size: .68rem; font-weight: 700; padding: .2rem 2.5rem; transform: rotate(45deg); letter-spacing: .5px; }
.pkg-price { font-family: 'Poppins', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--blue-dark); margin: .75rem 0; }
.pkg-price span { font-size: .9rem; font-weight: 400; color: var(--text-soft); }
.pkg-items { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.25rem; }
.pkg-items li { font-size: .82rem; color: var(--text); display: flex; align-items: flex-start; gap: .45rem; }
.pkg-items li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: .9rem; }
.gallery-item { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gal-overlay { position: absolute; inset: 0; background: rgba(8,38,105,.55); opacity: 0; transition: var(--ease); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; }
.gallery-item:hover .gal-overlay { opacity: 1; }

/* ===== TESTIMONIALS ===== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1.25rem; }
.testi-card { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r-lg); padding: 1.75rem; position: relative; }
.testi-card .quote-mark { font-size: 4rem; color: var(--blue-light); line-height: .8; font-family: Georgia; position: absolute; top: .8rem; left: 1.2rem; }
.testi-card p { font-style: italic; font-size: .88rem; color: var(--text); position: relative; line-height: 1.7; }
.stars { color: var(--gold); font-size: .85rem; margin-bottom: .6rem; letter-spacing: 2px; }
.testi-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border-gray); }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .88rem; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: .87rem; color: var(--blue-dark); }
.testi-role { font-size: .75rem; color: var(--text-soft); }

/* ===== INFO CARDS ===== */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 1.25rem; }
.info-card { background: #fff; border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--border-gray); transition: var(--ease); }
.info-card:hover { box-shadow: var(--shadow); border-left: 3px solid var(--blue); }
.info-card .ico { font-size: 2.2rem; margin-bottom: 1rem; }
.info-card h4 { margin-bottom: .4rem; font-size: .95rem; }
.info-card p  { font-size: .83rem; margin: 0; }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.c-card { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); padding: 1.1rem 1.25rem; display: flex; gap: 1rem; align-items: flex-start; }
.c-card .ico { width: 44px; height: 44px; background: var(--blue-light); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.c-card h4 { font-size: .88rem; margin-bottom: .2rem; }
.c-card p, .c-card a { font-size: .84rem; color: var(--text-soft); margin: 0; }
.c-card a:hover { color: var(--blue); }
.c-card.emergency { background: var(--red-light); border-color: rgba(198,40,40,.3); }
.c-card.emergency .ico { background: rgba(198,40,40,.12); }
.c-card.emergency h4 { color: var(--red); }
.c-card.emergency a { color: var(--red); font-weight: 800; font-size: 1.15rem; }
.appt-form { background: #fff; border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: .65rem .9rem; border: 1.5px solid var(--border-gray);
  border-radius: var(--r); font-family: 'Open Sans', sans-serif;
  font-size: .87rem; outline: none; color: var(--text);
  transition: border-color var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-success { display: none; background: rgba(21,101,192,.07); border: 1px solid rgba(21,101,192,.25); border-radius: var(--r); padding: 1rem; text-align: center; color: var(--blue-dark); font-weight: 600; font-size: .88rem; margin-top: 1rem; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(120deg, var(--blue-deeper) 0%, var(--blue-dark) 60%, var(--blue) 100%); padding: 3rem 0 3.5rem; border-bottom: 4px solid var(--gold); }
.page-hero h1 { color: #fff; margin-bottom: .45rem; }
.page-hero p   { color: rgba(255,255,255,.82); max-width: 600px; margin: 0; }
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: .85rem; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--gold-mid); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ===== SPECIALTY PAGE ===== */
.spec-hero { background: linear-gradient(120deg, var(--blue-deeper) 0%, var(--blue-dark) 70%); padding: 3.5rem 0 4.5rem; position: relative; }
.spec-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.spec-hero h1  { color: #fff; }
.spec-hero p   { color: rgba(255,255,255,.82); font-size: 1rem; max-width: 580px; margin-top: .5rem; }
.spec-icon-lg { width: 64px; height: 64px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.1rem; }

.spec-layout { display: grid; grid-template-columns: 1fr 290px; gap: 2.5rem; }
.spec-main { min-width: 0; }
.spec-sidebar { position: sticky; top: 90px; height: fit-content; }
.sidebar-box { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); padding: 1.35rem; margin-bottom: 1.25rem; }
.sidebar-box h4 { font-size: .9rem; margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border-gray); color: var(--blue-dark); }
.sidebar-box.urgent { background: var(--red); border-color: var(--red); }
.sidebar-box.urgent h4 { color: #fff; border-color: rgba(255,255,255,.3); }
.sidebar-box.urgent p { color: rgba(255,255,255,.85); font-size: .83rem; margin-bottom: .9rem; }
.sidebar-box.urgent a.num { display: block; text-align: center; color: #fff; font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 800; }
.spec-section { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); padding: 1.75rem; margin-bottom: 1.25rem; }
.spec-section h2 { font-size: 1.15rem; margin-bottom: 1.1rem; color: var(--blue-dark); }
.conditions-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; }
.cond-item { font-size: .83rem; background: var(--off-white); border: 1px solid var(--border); border-radius: 6px; padding: .5rem .8rem; color: var(--text); display: flex; align-items: center; gap: .45rem; }
.cond-item::before { content: '·'; color: var(--blue); font-weight: 900; }
.treat-list { display: flex; flex-direction: column; gap: .65rem; }
.treat-item { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; background: var(--off-white); border-left: 3px solid var(--blue); border-radius: 0 var(--r) var(--r) 0; }
.treat-num { width: 26px; height: 26px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; flex-shrink: 0; }
.treat-item span { font-size: .87rem; font-weight: 600; color: var(--text); }
.other-specs li a { display: flex; align-items: center; gap: .5rem; font-size: .83rem; color: var(--text-soft); padding: .4rem 0; border-bottom: 1px solid var(--border-gray); transition: var(--ease); }
.other-specs li:last-child a { border-bottom: none; }
.other-specs li a:hover { color: var(--blue); padding-left: 4px; }

/* ===== ACCORDION ===== */
.accordion { display: flex; flex-direction: column; gap: .6rem; }
.acc-item { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); overflow: hidden; }
.acc-header { padding: 1.1rem 1.4rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--blue-dark); font-family: 'Poppins', sans-serif; font-size: .9rem; user-select: none; }
.acc-header:hover { background: var(--blue-faint); }
.acc-arrow { transition: transform var(--ease); font-size: .75rem; color: var(--text-soft); }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; }
.acc-item.open .acc-body { max-height: 400px; }
.acc-body-inner { padding: 0 1.4rem 1.1rem; font-size: .87rem; color: var(--text-soft); line-height: 1.7; }

/* ===== ADMISSION STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1.25rem; counter-reset: steps; }
.step-card { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); padding: 1.6rem 1.25rem 1.25rem; text-align: center; position: relative; counter-increment: steps; transition: var(--ease); }
.step-card:hover { box-shadow: var(--shadow); }
.step-card::before { content: counter(steps); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; background: var(--gold); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .8rem; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(200,150,12,.4); }
.step-card .s-ico { font-size: 2rem; margin-bottom: .85rem; }
.step-card h4 { font-size: .9rem; margin-bottom: .4rem; }
.step-card p  { font-size: .8rem; margin: 0; }

/* ===== TIMELINE ===== */
.timeline { padding-left: 2rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 1.75rem; }
.tl-item::before { content: ''; position: absolute; left: -1.65rem; top: 5px; width: 13px; height: 13px; background: var(--blue); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue); }
.tl-year { font-family: 'Poppins', sans-serif; font-size: .75rem; font-weight: 700; color: var(--gold-dark); margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .5px; }
.tl-item h4 { font-size: .95rem; margin-bottom: .25rem; }
.tl-item p  { font-size: .83rem; margin: 0; }

/* ===== EMERGENCY STRIP ===== */
.emg-section { background: linear-gradient(90deg, var(--red-dark), var(--red)); padding: 3rem 0; }
.emg-section .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.emg-text h2 { color: #fff; margin-bottom: .3rem; }
.emg-text p  { color: rgba(255,255,255,.85); margin: 0; font-size: .9rem; }
.emg-number { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.emg-num { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; color: #fff; }

/* ===== MAP ===== */
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); height: 390px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ===== FOOTER ===== */
footer { background: var(--blue-deeper); color: rgba(255,255,255,.8); }
.footer-top { padding: 4rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.4fr; gap: 3rem; }
.footer-brand .f-logo { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.footer-brand .f-logo img { width: 48px; height: 48px; object-fit: contain; }
.footer-brand .f-logo .n { font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff; font-size: .95rem; line-height: 1.25; }
.footer-brand .f-logo .s { font-size: .66rem; color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .83rem; color: rgba(255,255,255,.65); line-height: 1.75; }
.f-socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.f-social { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 700; transition: var(--ease); }
.f-social:hover { background: var(--gold); color: #fff; }
footer h5 { font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 700; color: var(--gold-mid); text-transform: uppercase; letter-spacing: .7px; margin-bottom: 1.1rem; }
.f-links li { margin-bottom: .45rem; }
.f-links a { font-size: .83rem; color: rgba(255,255,255,.65); transition: var(--ease); }
.f-links a:hover { color: var(--gold-mid); padding-left: 3px; }
.f-contact-item { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7rem; font-size: .82rem; }
.f-contact-item .ico { color: var(--gold-mid); flex-shrink: 0; margin-top: 2px; }
.f-contact-item span, .f-contact-item a { color: rgba(255,255,255,.72); }
.f-contact-item a:hover { color: var(--gold-mid); }
.f-emg { background: rgba(198,40,40,.2); border: 1px solid rgba(198,40,40,.4); border-radius: var(--r); padding: .8rem; text-align: center; margin-top: .6rem; }
.f-emg .n { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.05rem; color: #fff; }
.f-emg .l { font-size: .68rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .78rem; color: rgba(255,255,255,.45); }
.footer-bottom .nabh-foot { color: var(--gold-mid); font-weight: 600; }

/* ===== MODAL ===== */
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(8,38,105,.65); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(3px); }
.modal-bg.open { display: flex; }
.modal { background: #fff; border-radius: var(--r-lg); max-width: 580px; width: calc(100% - 2rem); max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: var(--off-white); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--ease); z-index: 1; }
.modal-close-btn:hover { background: var(--blue); color: #fff; }
.modal-hdr { padding: 1.75rem 1.75rem 1.25rem; border-bottom: 1px solid var(--border-gray); }
.modal-hdr h3 { font-size: 1rem; }
.modal-bdy { padding: 1.5rem 1.75rem 1.75rem; }
.doc-modal-top { display: flex; gap: 1.25rem; align-items: flex-start; }
.doc-modal-photo { width: 90px; height: 90px; border-radius: var(--r); overflow: hidden; background: var(--blue-light); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.doc-modal-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== SCROLL TOP / WHATSAPP ===== */
.scroll-top-btn { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--blue); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: 1rem; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(16px); transition: var(--ease); z-index: 999; display: flex; align-items: center; justify-content: center; }
.scroll-top-btn.show { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--gold); }
.wa-float { position: fixed; bottom: 5rem; right: 2rem; width: 48px; height: 48px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,.45); z-index: 999; transition: var(--ease); }
.wa-float:hover { transform: scale(1.1); }

/* ===== TOAST ===== */
.toast { position: fixed; top: 1.5rem; right: 1.5rem; background: var(--blue); color: #fff; padding: .8rem 1.4rem; border-radius: var(--r); box-shadow: var(--shadow-md); font-size: .88rem; font-weight: 600; z-index: 9999; transform: translateY(-60px); opacity: 0; transition: .35s cubic-bezier(.175,.885,.32,1.275); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.err { background: var(--red); }

/* ===== ADMIN ===== */
.admin-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 256px; background: var(--blue-deeper); color: rgba(255,255,255,.85); display: flex; flex-direction: column; z-index: 100; overflow-y: auto; }
.admin-sidebar-logo { padding: 1.4rem 1.4rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar-logo img { width: 42px; height: 42px; object-fit: contain; border-radius: 6px; margin-bottom: .65rem; }
.admin-sidebar-logo h3 { font-size: .88rem; color: #fff; line-height: 1.3; }
.admin-sidebar-logo p  { font-size: .7rem; color: rgba(255,255,255,.5); margin: 0; }
.admin-nav { padding: .75rem 0; flex: 1; }
.admin-nav-item { display: flex; align-items: center; gap: .65rem; padding: .8rem 1.4rem; color: rgba(255,255,255,.7); cursor: pointer; transition: var(--ease); font-size: .85rem; font-weight: 500; border-left: 3px solid transparent; }
.admin-nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-nav-item.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--gold); }
.admin-nav-item .nav-ico { font-size: 1rem; width: 20px; text-align: center; }
.admin-sidebar-foot { padding: 1rem 1.4rem; border-top: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-foot a { color: rgba(255,255,255,.55); font-size: .8rem; display: flex; align-items: center; gap: .4rem; transition: var(--ease); margin-bottom: .4rem; }
.admin-sidebar-foot a:hover { color: #fff; }
.admin-main { margin-left: 256px; padding: 2rem; background: #F0F2F7; min-height: 100vh; }
.admin-topbar { background: #fff; border-radius: var(--r); padding: 1.1rem 1.6rem; margin-bottom: 1.75rem; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-sm); }
.admin-topbar h1 { font-size: 1.25rem; color: var(--blue-dark); }
.admin-topbar .usr { display: flex; align-items: center; gap: .65rem; font-size: .83rem; color: var(--text-soft); }
.admin-topbar .av { width: 34px; height: 34px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .8rem; }
.admin-sec { display: none; }
.admin-sec.active { display: block; }
.stat-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
.stat-card { background: #fff; border-radius: var(--r); padding: 1.35rem; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 1.1rem; }
.stat-card .s-ico { width: 50px; height: 50px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.s-ico.blue { background: var(--blue-light); }
.s-ico.gold { background: var(--gold-light); }
.s-ico.red  { background: var(--red-light); }
.s-ico.soft { background: var(--off-white); }
.stat-card .sv { font-family: 'Poppins', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.stat-card .sl { font-size: .75rem; color: var(--text-soft); margin-top: .15rem; }
.admin-card { background: #fff; border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-sm); margin-bottom: 1.75rem; }
.admin-card-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.35rem; flex-wrap: wrap; gap: 1rem; }
.admin-card-hdr h3 { font-size: 1rem; color: var(--blue-dark); }
.overflow-x { overflow-x: auto; border-radius: var(--r); }
.admin-tbl { width: 100%; border-collapse: collapse; }
.admin-tbl th { background: var(--blue-faint); padding: .75rem .9rem; text-align: left; font-size: .75rem; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.admin-tbl td { padding: .9rem; border-bottom: 1px solid var(--border-gray); font-size: .85rem; color: var(--text); vertical-align: middle; }
.admin-tbl tr:last-child td { border-bottom: none; }
.admin-tbl tr:hover td { background: var(--off-white); }
.doc-cell { display: flex; align-items: center; gap: .7rem; }
.doc-thumb-sm { width: 38px; height: 38px; border-radius: 6px; background: var(--blue-light); object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: .9rem; overflow: hidden; flex-shrink: 0; }
.doc-thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.act-btns { display: flex; gap: .4rem; }
.btn-ed { background: var(--blue-light); color: var(--blue); border: none; padding: .35rem .8rem; border-radius: 5px; font-size: .78rem; cursor: pointer; font-weight: 600; transition: var(--ease); }
.btn-ed:hover { background: var(--blue); color: #fff; }
.btn-dl { background: var(--red-light); color: var(--red); border: none; padding: .35rem .8rem; border-radius: 5px; font-size: .78rem; cursor: pointer; font-weight: 600; transition: var(--ease); }
.btn-dl:hover { background: var(--red); color: #fff; }
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 4px; font-size: .72rem; font-weight: 700; }
.badge-yes { background: rgba(21,101,192,.1); color: var(--blue-dark); }
.badge-no  { background: var(--border-gray); color: var(--text-soft); }
.badge-spec { background: var(--blue-light); color: var(--blue-dark); }
.admin-form-modal { display: none; position: fixed; inset: 0; background: rgba(8,38,105,.55); z-index: 3000; align-items: center; justify-content: center; backdrop-filter: blur(4px); overflow-y: auto; padding: 1rem; }
.admin-form-modal.open { display: flex; }
.admin-form-box { background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 660px; max-height: 92vh; overflow-y: auto; }
.afm-hdr { padding: 1.35rem 1.6rem; border-bottom: 1px solid var(--border-gray); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; z-index: 1; }
.afm-hdr h3 { font-size: 1rem; color: var(--blue-dark); }
.afm-body { padding: 1.6rem; }
.afm-body .form-group { margin-bottom: 1.1rem; }
.afm-body .form-group label { font-size: .82rem; font-weight: 600; color: var(--text); display: block; margin-bottom: .35rem; }
.afm-body .form-group input, .afm-body .form-group select, .afm-body .form-group textarea { width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--border-gray); border-radius: var(--r); font-family: 'Open Sans', sans-serif; font-size: .85rem; outline: none; transition: border-color var(--ease); }
.afm-body .form-group input:focus, .afm-body .form-group select:focus, .afm-body .form-group textarea:focus { border-color: var(--blue); }
.afm-foot { padding: 1.1rem 1.6rem; border-top: 1px solid var(--border-gray); display: flex; gap: .85rem; justify-content: flex-end; position: sticky; bottom: 0; background: #fff; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue-deeper), var(--blue-dark)); }
.login-box { background: #fff; border-radius: var(--r-lg); padding: 2.75rem; max-width: 400px; width: calc(100% - 2rem); box-shadow: var(--shadow-md); }
.login-box .logo-area { text-align: center; margin-bottom: 1.75rem; }
.login-box .logo-area img { width: 68px; height: 68px; object-fit: contain; border-radius: var(--r); margin: 0 auto .75rem; }
.login-box h2 { font-size: 1.3rem; text-align: center; margin-bottom: .2rem; }
.login-box .sub { text-align: center; color: var(--text-soft); font-size: .83rem; margin-bottom: 1.75rem; }
.seo-page-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.seo-pill { padding: .42rem .9rem; border: 1.5px solid var(--border-gray); background: #fff; border-radius: var(--r); font-size: .8rem; font-weight: 600; cursor: pointer; transition: var(--ease); color: var(--text); }
.seo-pill:hover { border-color: var(--blue); color: var(--blue); }
.seo-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.seo-form-panel { display: none; }
.seo-form-panel.active { display: block; }
.toggle-wrap { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.toggle { position: relative; width: 42px; height: 22px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-sl { position: absolute; cursor: pointer; inset: 0; background: #ccc; transition: .3s; border-radius: 22px; }
.toggle-sl:before { position: absolute; content: ''; height: 16px; width: 16px; left: 3px; bottom: 3px; background: white; transition: .3s; border-radius: 50%; }
input:checked + .toggle-sl { background: var(--blue); }
input:checked + .toggle-sl:before { transform: translateX(20px); }
.srch-bar { padding: .5rem .9rem; border: 1.5px solid var(--border-gray); border-radius: var(--r); font-size: .83rem; outline: none; width: 220px; transition: border-color var(--ease); }
.srch-bar:focus { border-color: var(--blue); }
#loginErr { display: none; color: var(--red); font-size: .82rem; text-align: center; margin-top: .5rem; }

/* ===== BACKWARDS COMPAT ALIASES (for inline styles in older HTML) ===== */
:root {
  --primary:      var(--blue);
  --primary-light:var(--blue-mid);
  --primary-dark: var(--blue-dark);
  --accent:       var(--gold);
  --accent-light: var(--gold-mid);
  --green:        #22863a;
  --light:        var(--off-white);
  --lighter:      var(--blue-faint);
  --border:       var(--border-gray);
  --text-light:   var(--text-soft);
  --shadow-md:    0 8px 32px rgba(21,101,192,.16);
  --radius:       var(--r);
  --radius-lg:    var(--r-lg);
  --transition:   var(--ease);
}
/* broken span artifacts from sed */
span[class=""] { display: none; }
.section-header { margin-bottom: 2.5rem; }
.section-header h2 { margin-bottom: .5rem; }
/* bg util aliases */
.bg-light { background: var(--off-white); }
/* specialty index page card aliases */
.specialty-card { background: #fff; border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--border-gray); transition: var(--ease); display: flex; flex-direction: column; gap: .75rem; }
.specialty-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.specialty-card:hover .specialty-icon { background: var(--blue); color: #fff; }
.specialty-icon { width: 50px; height: 50px; border-radius: var(--r); background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: var(--ease); }
.specialty-card h3 { font-size: .95rem; color: var(--blue-dark); margin: 0; }
.specialty-card p  { font-size: .82rem; color: var(--text-soft); margin: 0; line-height: 1.55; }
.card-link { font-size: .8rem; font-weight: 700; color: var(--blue); font-family: 'Poppins',sans-serif; display: flex; align-items: center; gap: .3rem; margin-top: auto; transition: var(--ease); }
.specialty-card:hover .card-link { gap: .55rem; color: var(--gold-dark); }
/* timeline aliases (about page uses .timeline-item / .year) */
.timeline-item { position: relative; margin-bottom: 1.75rem; }
.timeline-item::before { content: ''; position: absolute; left: -1.65rem; top: 5px; width: 13px; height: 13px; background: var(--blue); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue); }
.timeline-item h4 { font-size: .95rem; margin-bottom: .25rem; }
.timeline-item p  { font-size: .83rem; margin: 0; }
.year { font-family: 'Poppins',sans-serif; font-size: .75rem; font-weight: 700; color: var(--gold-dark); margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .5px; }
/* icon aliases for emoji in info-cards, step-cards, no-results */
.info-card .icon  { font-size: 2.2rem; margin-bottom: 1rem; }
.step-card .step-icon { font-size: 2rem; margin-bottom: .85rem; }
.no-results .icon { font-size: 2.5rem; opacity: .4; margin-bottom: .75rem; }
/* old class names still in some pages */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); padding: 1.1rem 1.25rem; display: flex; gap: 1rem; align-items: flex-start; }
.contact-card .icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.contact-card h4 { font-size: .88rem; margin-bottom: .2rem; }
.contact-card p, .contact-card a { font-size: .84rem; color: var(--text-soft); margin: 0; }
.contact-form { background: #fff; border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border-gray); }
.map-embed { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); height: 390px; }
.map-embed iframe { width: 100%; height: 100%; border: none; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px,1fr)); gap: 1.25rem; }
.service-card { background: #fff; border-radius: var(--r); padding: 1.5rem; border: 1px solid var(--border-gray); transition: var(--ease); }
.service-card:hover { box-shadow: var(--shadow); }
.service-card .service-icon { font-size: 2rem; margin-bottom: .85rem; }
.service-card h4 { font-size: .95rem; margin-bottom: .4rem; }
.service-card p { font-size: .83rem; margin: 0; }
.info-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 1.25rem; }
.about-list { display: flex; flex-direction: column; gap: .65rem; margin: 1.5rem 0; }
.about-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; color: var(--text); }
.about-list li::before { content: ''; min-width: 18px; height: 18px; background: var(--blue); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; flex-shrink: 0; margin-top: 2px; }
.filter-bar { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); padding: 1rem 1.25rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.filter-bar input, .filter-bar select { flex: 1; min-width: 180px; padding: .6rem .9rem; border: 1.5px solid var(--border-gray); border-radius: var(--r); font-family: 'Open Sans',sans-serif; font-size: .87rem; color: var(--text); outline: none; transition: border-color var(--ease); background: var(--off-white); }
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--blue); background: #fff; }
.doctors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1.25rem; }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1.25rem; }
.package-card { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r-lg); padding: 1.75rem; transition: var(--ease); position: relative; overflow: hidden; }
.package-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-border); }
.package-card.featured { border-color: var(--gold); }
.package-card.featured::before { content: 'Popular'; position: absolute; top: 1rem; right: -1.8rem; background: var(--gold); color: #fff; font-size: .68rem; font-weight: 700; padding: .2rem 2.5rem; transform: rotate(45deg); }
.package-price { font-family: 'Poppins',sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--blue-dark); margin: .75rem 0; }
.package-price span { font-size: .9rem; font-weight: 400; color: var(--text-soft); }
.package-list { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.25rem; }
.package-list li { font-size: .82rem; color: var(--text); display: flex; align-items: flex-start; gap: .45rem; }
.package-list li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.emergency-section { background: linear-gradient(90deg, var(--red-dark), var(--red)); padding: 3rem 0; }
.emergency-section .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.emergency-content h2 { color: #fff; margin-bottom: .3rem; }
.emergency-content p { color: rgba(255,255,255,.85); margin: 0; }
.emergency-number { font-family: 'Poppins',sans-serif; font-size: 2.2rem; font-weight: 800; color: #fff; }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(8,38,105,.65); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(3px); }
.modal-overlay.open { display: flex; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: var(--off-white); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--ease); z-index: 1; }
.modal-close:hover { background: var(--blue); color: #fff; }
.modal-header { padding: 1.75rem 1.75rem 1.25rem; border-bottom: 1px solid var(--border-gray); }
.modal-header h3 { font-size: 1rem; }
.modal-body { padding: 1.5rem 1.75rem 1.75rem; }
/* admin old names */
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.35rem; flex-wrap: wrap; gap: 1rem; }
.admin-card-header h3 { font-size: 1rem; color: var(--blue-dark); }
.user-info { display: flex; align-items: center; gap: .65rem; font-size: .83rem; color: var(--text-soft); }
.user-info .avatar { width: 34px; height: 34px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .8rem; }
.stat-card .icon { width: 50px; height: 50px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-card .icon.blue { background: var(--blue-light); }
.stat-card .icon.orange { background: var(--gold-light); }
.stat-card .icon.green { background: rgba(34,134,58,.1); }
.stat-card .icon.purple { background: var(--off-white); }
.stat-card .value { font-family: 'Poppins',sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.stat-card .lbl { font-size: .75rem; color: var(--text-soft); margin-top: .15rem; }
.admin-login-box { background: #fff; border-radius: var(--r-lg); padding: 2.75rem; max-width: 400px; width: calc(100% - 2rem); box-shadow: var(--shadow-md); }
.admin-login-box .logo { text-align: center; margin-bottom: 1.75rem; }
.admin-login-box .logo img { width: 68px; height: 68px; object-fit: contain; border-radius: var(--r); margin: 0 auto .75rem; }
.admin-login-box h2 { font-size: 1.3rem; text-align: center; margin-bottom: .2rem; }
.admin-login-box .sub { text-align: center; color: var(--text-soft); font-size: .83rem; margin-bottom: 1.75rem; }
.seo-form-section { display: none; }
.seo-form-section.active { display: block; }
.seo-page-select { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.seo-page-btn { padding: .42rem .9rem; border: 1.5px solid var(--border-gray); background: #fff; border-radius: var(--r); font-size: .8rem; font-weight: 600; cursor: pointer; transition: var(--ease); color: var(--text); }
.seo-page-btn:hover { border-color: var(--blue); color: var(--blue); }
.seo-page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.doctor-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-gray); transition: var(--ease); }
.doctor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.doctor-photo { height: 210px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-info { padding: 1.1rem 1.25rem; }
.doctor-info h4 { font-size: .95rem; margin-bottom: .2rem; color: var(--blue-dark); }
.doctor-info .qualification { font-size: .78rem; color: var(--text-soft); margin-bottom: .5rem; }
.specialty-tag { display: inline-block; background: var(--blue-light); color: var(--blue-dark); font-size: .72rem; font-weight: 700; padding: .18rem .6rem; border-radius: 4px; margin-bottom: .6rem; }
.doctor-info .timings { font-size: .78rem; color: var(--text-soft); }
.doctor-actions { padding: .9rem 1.25rem 1.1rem; display: flex; gap: .6rem; border-top: 1px solid var(--border-gray); }
.placeholder-avatar { width: 86px; height: 86px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.5rem; }
.overflow-table { overflow-x: auto; border-radius: var(--r); }
.search-bar { padding: .5rem .9rem; border: 1.5px solid var(--border-gray); border-radius: var(--r); font-size: .83rem; outline: none; width: 220px; transition: border-color var(--ease); }
.search-bar:focus { border-color: var(--blue); }
.btn-edit { background: var(--blue-light); color: var(--blue); border: none; padding: .35rem .8rem; border-radius: 5px; font-size: .78rem; cursor: pointer; font-weight: 600; transition: var(--ease); }
.btn-edit:hover { background: var(--blue); color: #fff; }
.btn-delete { background: var(--red-light); color: var(--red); border: none; padding: .35rem .8rem; border-radius: 5px; font-size: .78rem; cursor: pointer; font-weight: 600; transition: var(--ease); }
.btn-delete:hover { background: var(--red); color: #fff; }
.badge-success { background: rgba(34,134,58,.1); color: #22863a; }
.badge-primary { background: var(--blue-light); color: var(--blue-dark); }
.action-btns { display: flex; gap: .4rem; }
.doctor-cell { display: flex; align-items: center; gap: .7rem; }
.doctor-thumb { width: 38px; height: 38px; border-radius: 6px; background: var(--blue-light); object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: .9rem; overflow: hidden; flex-shrink: 0; }
.doctor-thumb img { width: 100%; height: 100%; object-fit: cover; }
.accordion { display: flex; flex-direction: column; gap: .6rem; }
.accordion-item { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); overflow: hidden; }
.accordion-header { padding: 1.1rem 1.4rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--blue-dark); font-family: 'Poppins',sans-serif; font-size: .9rem; user-select: none; }
.accordion-header:hover { background: var(--blue-faint); }
.accordion-header .arrow { transition: transform var(--ease); font-size: .75rem; color: var(--text-soft); }
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease; }
.accordion-item.open .accordion-body { padding: 0 1.4rem 1.1rem; max-height: 400px; }
.accordion-item.open .acc-body-inner, .accordion-body p { font-size: .87rem; color: var(--text-soft); line-height: 1.7; }
.specialty-hero { background: linear-gradient(120deg, var(--blue-deeper) 0%, var(--blue-dark) 70%); padding: 3.5rem 0 4.5rem; position: relative; }
.specialty-hero::after { content:''; position:absolute; bottom:0; left:0; right:0; height:3px; background:var(--gold); }
.specialty-hero h1 { color: #fff; }
.specialty-hero p { color: rgba(255,255,255,.82); font-size: 1rem; max-width: 580px; margin-top: .5rem; }
.specialty-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.specialty-icon-lg { width: 64px; height: 64px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.1rem; }
.specialty-body { display: grid; grid-template-columns: 1fr 290px; gap: 2.5rem; }
.specialty-main { min-width: 0; }
.specialty-sidebar { position: sticky; top: 90px; height: fit-content; }
.sidebar-card { background: #fff; border: 1px solid var(--border-gray); border-radius: var(--r); padding: 1.35rem; margin-bottom: 1.25rem; }
.sidebar-card h4 { font-size: .9rem; margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 1px solid var(--border-gray); color: var(--blue-dark); }
.conditions-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; }
.condition-item { font-size: .83rem; background: var(--off-white); border: 1px solid var(--border-gray); border-radius: 6px; padding: .5rem .8rem; color: var(--text); display: flex; align-items: center; gap: .45rem; }
.condition-item::before { content: '·'; color: var(--blue); font-weight: 900; }
.treatments-list { display: flex; flex-direction: column; gap: .65rem; }
.treatment-item { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; background: var(--off-white); border-left: 3px solid var(--blue); border-radius: 0 var(--r) var(--r) 0; }
.treatment-num { width: 26px; height: 26px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; flex-shrink: 0; }
.treatment-item p { font-size: .87rem; font-weight: 600; color: var(--text); margin: 0; }
.step-card .step-icon { font-size: 2rem; margin-bottom: .85rem; }
.page-content { background: var(--off-white); }

/* ===== BG UTILS ===== */
.bg-white     { background: #fff; }
.bg-offwhite  { background: var(--off-white); }
.bg-blue-faint{ background: var(--blue-faint); }
.bg-blue      { background: var(--blue); }
.bg-blue-dark { background: var(--blue-dark); }
.bg-gold-light{ background: var(--gold-light); }

/* ===== MISC ===== */
.no-results { text-align: center; padding: 4rem 2rem; color: var(--text-soft); }
.no-results .ico { font-size: 2.5rem; opacity: .4; margin-bottom: .75rem; }
.divider { height: 1px; background: var(--border-gray); margin: 2rem 0; }

/* ===== BESPOKE HERO (2-column editorial) ===== */
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 272px; gap: 3.5rem; align-items: center; padding: 5rem 0 7rem; min-height: 86vh; }
.hero-label { font-size: .65rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1.5rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem,5vw,3.4rem); line-height: 1.07; margin-bottom: 1.25rem; }
.hero h1 em { color: var(--gold-mid); font-style: normal; }
.hero-sub { font-size: .97rem; color: rgba(255,255,255,.78); margin-bottom: 2.5rem; max-width: 460px; line-height: 1.75; }
.hero-ctas { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.btn-ghost { color: rgba(255,255,255,.72); font-family: 'Poppins',sans-serif; font-size: .86rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; transition: var(--ease); border: none; background: none; cursor: pointer; padding: 0; }
.btn-ghost:hover { color: var(--gold-mid); }
.hero-numbers { border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); background: rgba(0,0,0,.35); backdrop-filter: blur(14px); overflow: hidden; }
.hn { padding: 1.1rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 1rem; }
.hn:last-child { border-bottom: none; }
.hn-n { font-family: 'Poppins',sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--gold-mid); line-height: 1; min-width: 52px; }
.hn-l { font-size: .65rem; color: rgba(255,255,255,.58); letter-spacing: .6px; text-transform: uppercase; line-height: 1.4; }

/* ===== ABOUT EDITORIAL SPLIT ===== */
.about-editorial { display: grid; grid-template-columns: 1fr 1fr; }
.ae-img { position: relative; overflow: hidden; min-height: 520px; background: var(--blue-faint); }
.ae-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ae-badge { position: absolute; bottom: 2.5rem; right: 0; background: var(--gold); color: #fff; padding: 1rem 1.5rem; box-shadow: -4px 4px 20px rgba(0,0,0,.2); }
.ae-badge .n { font-family: 'Poppins',sans-serif; font-size: 1.65rem; font-weight: 800; line-height: 1; }
.ae-badge .t { font-size: .6rem; letter-spacing: .6px; opacity: .9; margin-top: 3px; text-transform: uppercase; }
.ae-content { background: var(--blue-deeper); padding: 5rem 4.5rem; display: flex; flex-direction: column; justify-content: center; }
.ae-content .ey { font-size: .63rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-mid); margin-bottom: 1rem; }
.ae-content h2 { color: #fff; font-size: clamp(1.5rem,2.8vw,2rem); margin-bottom: 1.25rem; line-height: 1.22; }
.ae-content > p { color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.8; margin-bottom: 1.25rem; }
.ae-checks { display: flex; flex-direction: column; gap: .6rem; margin: 1.25rem 0 2rem; }
.ae-check { font-size: .83rem; color: rgba(255,255,255,.72); padding-left: 1.25rem; position: relative; line-height: 1.5; }
.ae-check::before { content: '—'; position: absolute; left: 0; color: var(--gold-mid); font-weight: 700; }
.ae-ctas { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ===== SECTION SPLIT HEADER ===== */
.section-split { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.eyebrow { font-size: .65rem; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .4rem; display: block; }

/* ===== SPECIALTY LIST ROWS ===== */
.spec-list-grid { border-top: 1px solid var(--border-gray); border-left: 1px solid var(--border-gray); display: grid; grid-template-columns: 1fr 1fr; }
.spec-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--border-gray); border-right: 1px solid var(--border-gray); transition: background var(--ease); text-decoration: none; background: #fff; }
.spec-row:hover { background: var(--blue-faint); }
.spec-row:hover .sr-name { color: var(--blue); }
.spec-row:hover .sr-arrow { opacity: 1; color: var(--blue); transform: translateX(4px); }
.sr-num { font-family: 'Poppins',sans-serif; font-size: .62rem; font-weight: 700; color: var(--text-soft); min-width: 22px; }
.sr-icon { font-size: 1.2rem; min-width: 26px; }
.sr-name { font-family: 'Poppins',sans-serif; font-size: .88rem; font-weight: 600; color: var(--blue-dark); flex: 1; }
.sr-arrow { color: var(--text-soft); font-size: .78rem; opacity: .3; transition: var(--ease); }

/* ===== DOCTOR CTA STRIP ===== */
.doc-cta-strip { background: var(--blue-dark); padding: 4.5rem 0; }
.doc-cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.dcs-text h2 { color: #fff; font-size: clamp(1.4rem,3vw,1.9rem); line-height: 1.2; }
.dcs-text h2 em { color: var(--gold-mid); font-style: normal; }
.dcs-text p { color: rgba(255,255,255,.55); margin: .5rem 0 0; font-size: .87rem; max-width: 420px; }
.dcs-btns { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ===== EMERGENCY BOLD ===== */
.emg-bold { background: var(--red); text-align: center; padding: 4.5rem 0; }
.eb-label { font-size: .65rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.eb-num { font-family: 'Poppins',sans-serif; font-size: clamp(3rem,9vw,5.5rem); font-weight: 800; color: #fff; line-height: 1; display: block; letter-spacing: -2px; margin-bottom: 1rem; transition: var(--ease); }
.eb-num:hover { color: var(--gold-mid); }
.eb-sub { font-size: .8rem; color: rgba(255,255,255,.55); letter-spacing: .5px; }

/* ===== BIG QUOTE TESTIMONIAL ===== */
.testimonials-new { background: var(--blue-deeper); padding: 6rem 0; }
.big-quote { max-width: 720px; margin: 0 auto; text-align: center; }
.bq-icon { font-size: 5rem; color: var(--gold); font-family: Georgia,serif; line-height: .7; margin-bottom: 1.75rem; opacity: .45; }
.bq-text { font-size: clamp(1rem,2.4vw,1.22rem); color: rgba(255,255,255,.88); font-style: italic; line-height: 1.82; margin-bottom: 2.25rem; transition: opacity .3s; min-height: 5rem; }
.bq-author-row { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2.25rem; }
.bq-av { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .88rem; flex-shrink: 0; }
.bq-nm { font-family: 'Poppins',sans-serif; font-size: .88rem; font-weight: 700; color: #fff; }
.bq-rl { font-size: .72rem; color: rgba(255,255,255,.4); margin-top: 2px; }
.bq-nav { display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.bq-btn { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: .95rem; display: flex; align-items: center; justify-content: center; transition: var(--ease); }
.bq-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.bq-dots { display: flex; gap: .5rem; align-items: center; }
.bq-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: var(--ease); }
.bq-dot.active { background: var(--gold-mid); width: 20px; border-radius: 4px; }

/* ===== PAGE HERO (inner pages) – more dramatic ===== */
.page-hero { background: linear-gradient(120deg, var(--blue-deeper) 0%, var(--blue-dark) 60%, var(--blue) 100%); padding: 3.5rem 0 4rem; border-bottom: 3px solid var(--gold); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; border: 60px solid rgba(255,255,255,.03); pointer-events: none; }
.page-hero::before { content: ''; position: absolute; bottom: -40px; left: 10%; width: 200px; height: 200px; border-radius: 50%; background: rgba(200,150,12,.06); pointer-events: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .spec-layout  { grid-template-columns: 1fr; }
  .spec-sidebar { position: static; }
  .stat-cards   { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .top-bar-left { display: none; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow-md); padding: .75rem; gap: 0; z-index: 200; border-top: 3px solid var(--gold); }
  nav ul.open { display: flex; }
  nav ul li a { border-radius: 6px; padding: .65rem .9rem; border-bottom: 1px solid var(--border-gray); }
  nav ul li:last-child a { border-bottom: none; }
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 1rem; background: var(--blue-faint); display: none; }
  nav li:hover .dropdown { display: none; }
  nav li.dd-open .dropdown { display: block; }
  .hamburger { display: flex; }
  header { position: sticky; top: 0; }
  .header-inner { position: relative; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr; }
  .admin-sidebar { width: 100%; position: relative; height: auto; }
  .admin-main { margin-left: 0; }
  .emg-section .container { flex-direction: column; text-align: center; }
  .emg-number { align-items: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .hero { min-height: 74vh; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
@media print { .top-bar, header, footer, .hero-emergency, .scroll-top-btn, .wa-float { display: none !important; } }
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 8rem; }
  .hero-numbers { display: grid; grid-template-columns: repeat(2,1fr); max-width: 480px; }
  .hn { border-right: 1px solid rgba(255,255,255,.1); }
  .hn:nth-child(even) { border-right: none; }
  .hn:nth-child(3), .hn:nth-child(4) { border-bottom: none; }
  .about-editorial { grid-template-columns: 1fr; }
  .ae-img { min-height: 340px; }
  .ae-content { padding: 3.5rem 3rem; }
}
@media (max-width: 768px) {
  .spec-list-grid { grid-template-columns: 1fr; }
  .spec-row { border-right: 1px solid var(--border-gray) !important; }
  .doc-cta-strip .container { flex-direction: column; text-align: center; }
  .dcs-text p { margin: .5rem auto 0; }
  .testimonials-new { padding: 4rem 0; }
  .ae-content { padding: 2.5rem 1.5rem; }
}
@media (max-width: 480px) {
  .ae-content { padding: 2rem 1.25rem; }
  .ae-content h2 { font-size: 1.4rem; }
  .bq-text { font-size: .95rem; }
}

/* ============================================================
   OVERRIDES & NEW COMPONENTS — applied after all base rules
   ============================================================ */

/* ── Card hover: Apple-style lift (NO left-border) ── */
:root {
  --card-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.spec-card, .doc-card, .svc-card, .info-card,
.service-card, .step-card, .pkg-card, .package-card,
.specialty-card, .testi-card {
  transition: transform 0.32s var(--card-ease),
              box-shadow 0.32s var(--card-ease),
              border-color 0.22s ease !important;
}
.spec-card:hover, .specialty-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 36px rgba(21,101,192,.13) !important;
  border-color: var(--blue) !important;
}
.doc-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.10) !important;
  border-color: var(--border) !important;
}
.svc-card:hover, .service-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.09) !important;
  border-color: var(--border) !important;
}
.info-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 30px rgba(21,101,192,.11) !important;
  border-color: var(--border) !important;
  /* NO border-left change */
}
/* Override base rule that adds the ugly left border */
.info-card:hover { border-left: 1px solid var(--border-gray) !important; }
.step-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.09) !important;
}
.pkg-card:hover, .package-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 36px rgba(200,150,12,.12) !important;
}
.testi-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.08) !important;
}

/* ── Treatment items: remove border-left, use pill style ── */
.treat-item, .treatment-item {
  border-left: none !important;
  border-radius: var(--r) !important;
  border: 1px solid var(--border-gray) !important;
  background: #fff !important;
}
.treat-item:hover, .treatment-item:hover {
  border-color: var(--blue) !important;
  box-shadow: 0 4px 12px rgba(21,101,192,.08) !important;
}

/* ── Doctor card photo: show faces, not mid-body ── */
.doc-photo img, .doctor-photo img {
  object-position: top center !important;
}

/* ── Nav chevron (replaces CSS ▾) ── */
.nav-has-dropdown > a::after,
.nav-has-mega > a::after { content: none !important; }
.nav-chevron {
  font-size: .65rem; margin-left: .25rem;
  transition: transform 0.25s var(--card-ease);
  display: inline-block;
  vertical-align: middle;
  color: var(--text-soft);
}
.nav-has-mega.mega-open .nav-chevron { transform: rotate(180deg); }

/* ── Mega Menu ── */
.nav-mega {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 3px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,.13);
  z-index: 997;
  padding: 1.75rem 0 2rem;
}
.nav-mega.open { display: block; }
.mega-top-row {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.mega-top-row span {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-soft);
}
.mega-columns {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: .2rem;
}
.mega-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .62rem .85rem; border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .81rem; font-weight: 600;
  color: var(--text); text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.mega-item:hover { background: var(--blue-faint); color: var(--blue); }
.mega-item:hover .mega-ico { background: var(--blue); color: #fff; }
.mega-ico {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--blue-light); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--blue);
  transition: background .18s ease, color .18s ease;
}

/* ── Nav Backdrop ── */
.nav-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 996;
  cursor: pointer;
}
.nav-backdrop.show { display: block; }

/* desktop: suppress old inline dropdown for mega items */
@media (min-width: 769px) {
  .nav-has-mega .dropdown { display: none !important; }
}
/* mobile: suppress mega, keep accordion dropdown */
@media (max-width: 768px) {
  .nav-mega, .nav-backdrop { display: none !important; }
  nav li.dd-open .dropdown { display: block !important; }
}

/* ── Lightbox ── */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 3500;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img {
  max-width: 90vw; max-height: 82vh;
  object-fit: contain; border-radius: 4px;
  user-select: none;
}
.lb-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.12); border: none;
  width: 44px; height: 44px; border-radius: 50%;
  color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none;
  width: 50px; height: 50px; border-radius: 50%;
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }
.lb-counter {
  position: absolute; bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: .82rem;
  font-family: 'Poppins', sans-serif;
}
@media (max-width: 768px) {
  .lb-prev { left: .5rem; }
  .lb-next { right: .5rem; }
}

/* ── Gallery: always show the zoom hint ── */
.gallery-item { cursor: pointer; }
.gal-overlay { font-size: 1.1rem; }

/* ── Doctor filter redesign ── */
.doc-filter-wrap {
  background: #fff; border: 1px solid var(--border-gray);
  border-radius: var(--r-lg); padding: 1.6rem 1.75rem;
  margin-bottom: 2.5rem; box-shadow: var(--shadow-sm);
}
.doc-search-row {
  display: flex; gap: .75rem; align-items: center;
  margin-bottom: 0;
}
.doc-search-field {
  flex: 1; position: relative;
  display: flex; align-items: center;
}
.doc-search-field i {
  position: absolute; left: .9rem;
  color: var(--text-soft); font-size: .82rem; pointer-events: none;
}
.doc-search-field input {
  width: 100%;
  padding: .7rem .9rem .7rem 2.4rem;
  border: 1.5px solid var(--border-gray);
  border-radius: var(--r);
  font-family: 'Open Sans', sans-serif;
  font-size: .87rem; outline: none; color: var(--text);
  transition: border-color var(--ease);
  background: var(--off-white);
}
.doc-search-field input:focus { border-color: var(--blue); background: #fff; }
.spec-scroll-track {
  overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right,transparent,#000 1.5rem,#000 calc(100% - 1.5rem),transparent);
  mask-image: linear-gradient(to right,transparent,#000 1.5rem,#000 calc(100% - 1.5rem),transparent);
}
.spec-scroll-track::-webkit-scrollbar { display: none; }
.spec-scroll-track .spec-pills {
  display: flex; gap: .45rem;
  flex-wrap: nowrap; padding: .15rem 1.5rem;
}
.spec-pill { white-space: nowrap; }
@media (max-width: 640px) {
  .doc-search-row { flex-wrap: wrap; }
  .doc-search-field { min-width: 100%; }
}

/* ── Spec-row icons: FA icons need sizing ── */
.sr-icon { display: flex; align-items: center; justify-content: center; }
.sr-icon i, .spec-icon i, .specialty-icon i,
.spec-icon-lg i, .specialty-icon-lg i,
.mega-ico i { font-size: inherit; }
.spec-icon i, .specialty-icon i { font-size: 1.2rem; }
.spec-icon-lg i, .specialty-icon-lg i { font-size: 1.6rem; }
.mega-ico i { font-size: .8rem; }

/* ── Footer: FA social icons ── */
.f-social i { font-size: .9rem; }
.f-contact-item .f-ico { color: var(--gold-mid); flex-shrink: 0; margin-top: 2px; font-size: .85rem; }

/* ── Scroll-top & WA buttons ── */
.scroll-top-btn i, .wa-float i { font-size: 1.1rem; }
.wa-float { font-size: 0; } /* hide any text fallback */

/* ── Service card / info card icons: FA sizing ── */
.step-icon i, .service-icon i, .info-card .icon i { font-size: 1.6rem; }
.svc-card .icon i { font-size: 1.6rem; }
.step-icon, .service-icon { font-size: 0; } /* suppress direct text, show only i */
.step-icon i, .service-icon i { display: block; }

/* ── No-results icon ── */
.no-results .ico i, .no-results .icon i { font-size: 2rem; opacity: .4; }

/* ── Responsive: hero full stack on mobile ── */
@media (max-width: 640px) {
  .hero-inner { padding: 3.5rem 0 7rem !important; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn-ghost { padding-left: 0; }
  .hero-numbers { max-width: 100% !important; }
}

/* ── Responsive: spec-body layout ── */
@media (max-width: 768px) {
  .specialty-body, .spec-layout { grid-template-columns: 1fr !important; }
  .specialty-sidebar, .spec-sidebar { position: static !important; }
  .mega-columns { grid-template-columns: repeat(2,1fr); }
}

/* ── Responsive: about-editorial ── */
@media (max-width: 768px) {
  .about-editorial { grid-template-columns: 1fr; }
  .ae-img { min-height: 260px; }
}

/* ── Services grid responsive ── */
@media (max-width: 480px) {
  .services-grid, .grid-auto { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .doc-filter-wrap { padding: 1rem; }
  .hero-numbers { grid-template-columns: 1fr 1fr !important; }
}

/* ── Specialty index: filter bar ── */
.filter-bar input { padding-left: 1rem; }

/* ── Emergency grid on mobile ── */
@media (max-width: 640px) {
  .contact-layout, .contact-grid { grid-template-columns: 1fr !important; }
}

/* ── Doc card: large photo + compact header ── */
.doc-card-hd {
  display: block; margin-bottom: .3rem;
}
.doc-card-hd h4 {
  font-size: .95rem; margin-bottom: .1rem; color: var(--blue-dark); line-height: 1.2;
}
.doc-photo-avatar {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #fff;
}

/* ── Spec-pill: proper button style ── */
.spec-pill {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center;
  padding: .42rem 1.05rem;
  border: 1.5px solid var(--border-gray);
  border-radius: 99px; background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .79rem; font-weight: 600;
  color: var(--text-soft); cursor: pointer;
  transition: border-color .2s ease, background .2s ease,
              color .2s ease, box-shadow .2s ease, transform .15s ease;
  white-space: nowrap;
}
.spec-pill:hover {
  border-color: var(--blue); color: var(--blue);
  background: var(--blue-faint); transform: translateY(-1px);
}
.spec-pill.active {
  background: var(--blue); border-color: var(--blue);
  color: #fff; box-shadow: 0 3px 10px rgba(21,101,192,.25);
}
.spec-pill:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ── Icon hover fixes ── */
/* Footer nav links: transform instead of padding-left to prevent layout jump */
.f-links a { display: inline-block; }
.f-links a:hover { padding-left: 0 !important; transform: translateX(4px); }
.other-specs li a:hover { padding-left: 0 !important; transform: translateX(4px); }

/* Svc / step / info card icons: scale on card hover */
.svc-card .icon, .service-card .service-icon,
.step-card .s-ico, .step-card .step-icon,
.info-card .ico, .info-card .icon { transition: transform .25s ease; display: inline-block; }
.svc-card:hover .icon, .service-card:hover .service-icon { transform: scale(1.18); }
.step-card:hover .s-ico, .step-card:hover .step-icon { transform: scale(1.18); }
.info-card:hover .ico, .info-card:hover .icon { transform: scale(1.12); }

/* ── Full responsiveness ── */

/* 1024px — large tablet */
@media (max-width: 1024px) {
  .doctors-grid    { grid-template-columns: repeat(3, 1fr) !important; }
  .specialties-grid{ grid-template-columns: repeat(3, 1fr) !important; }
  .testi-grid      { grid-template-columns: repeat(2, 1fr) !important; }
  .packages-grid   { grid-template-columns: repeat(2, 1fr) !important; }
  .info-grid       { grid-template-columns: repeat(2, 1fr) !important; }
  .steps-grid      { grid-template-columns: repeat(3, 1fr) !important; }
  .gallery-grid    { grid-template-columns: repeat(3, 1fr) !important; }
}

/* 768px — tablet / large phone */
@media (max-width: 768px) {
  .doctors-grid    { grid-template-columns: repeat(2, 1fr) !important; }
  .specialties-grid{ grid-template-columns: repeat(2, 1fr) !important; }
  .testi-grid      { grid-template-columns: 1fr !important; }
  .packages-grid   { grid-template-columns: 1fr !important; }
  .info-grid       { grid-template-columns: repeat(2, 1fr) !important; }
  .steps-grid      { grid-template-columns: repeat(2, 1fr) !important; }
  .gallery-grid    { grid-template-columns: repeat(2, 1fr) !important; }
  .page-hero       { padding: 2rem 0 2.5rem; }
  .footer-top      { padding: 2.5rem 0 2rem; }
  .section         { padding: 3.5rem 0; }
  .section-sm      { padding: 2.5rem 0; }
  .doc-filter-wrap { padding: 1rem; }
  .hero-facts      { gap: 1.5rem; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-block      { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .stat-block:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.12); }
  .stat-block:nth-last-child(-n+2) { border-bottom: none; }
  .hero-emergency .container { flex-wrap: wrap; gap: .75rem; }
  .emg-section .container    { flex-direction: column; text-align: center; }
  .doc-cta-strip .container  { flex-direction: column; text-align: center; }
}

/* 480px — phone portrait */
@media (max-width: 480px) {
  .doctors-grid    { grid-template-columns: 1fr !important; }
  .specialties-grid{ grid-template-columns: 1fr !important; }
  .info-grid       { grid-template-columns: 1fr !important; }
  .steps-grid      { grid-template-columns: 1fr !important; }
  .gallery-grid    { grid-template-columns: 1fr !important; }
  .packages-grid   { grid-template-columns: 1fr !important; }
  .doc-footer      { flex-direction: column; gap: .5rem; }
  .doc-footer .btn { width: 100%; justify-content: center; }
  .page-hero       { padding: 1.75rem 0 2rem; }
  .page-hero h1    { font-size: 1.5rem !important; }
  .page-hero p     { font-size: .85rem; }
  .hero-facts      { gap: .9rem; }
  .stat-block .n   { font-size: 1.6rem; }
  .stat-block .l   { font-size: .65rem; }
  .notice-scroll   { font-size: .76rem; }
  .emg-bold        { padding: 3rem 0; }
  .spec-section    { padding: 1.25rem; }
  .sidebar-box, .sidebar-card { padding: 1rem 1.1rem; }
  .modal           { width: calc(100% - 1rem); }
  .modal-bdy       { padding: 1.25rem 1.25rem 1.5rem; }
  .doc-card-hd .doc-avatar { width: 40px; height: 40px; font-size: .85rem; }
  .hero-emergency .container { flex-direction: column; gap: .4rem; font-size: .8rem; }
  .f-socials       { gap: .5rem; }
  .section         { padding: 2.5rem 0; }
  .testi-card      { padding: 1.25rem; }
}

/* 360px — very small phones */
@media (max-width: 360px) {
  .container                { padding: 0 .75rem; }
  .logo-wrap img            { width: 44px; height: 44px; }
  .logo-text .hospital-name { font-size: .84rem; }
  .logo-text .hospital-sub  { display: none; }
  .btn                      { padding: .6rem 1.1rem; }
  .btn-sm                   { padding: .38rem .8rem; font-size: .77rem; }
  .nav-cta-btn              { padding: .42rem .9rem !important; font-size: .78rem !important; }
}

/* ===== DOCTORS PAGE — grid + filter overhaul ===== */

/* 1. Filter: wrap pills with count badges */
#specPills {
  display: flex; flex-wrap: wrap;
  gap: .6rem; margin-top: 1.25rem;
}
.pill-cnt {
  display: inline-block;
  font-size: .63rem; font-weight: 700;
  background: var(--blue-light); color: var(--blue-mid);
  padding: .08rem .45rem; border-radius: 99px; margin-left: .35rem;
  transition: background .2s ease, color .2s ease;
}
.spec-pill.active .pill-cnt { background: rgba(255,255,255,.22); color: #fff; }

/* 2. Grid */
.doctors-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
}

/* 3. Card: horizontal row with generous breathing room */
.doc-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  border-radius: var(--r-lg) !important;
}

/* Body */
.doc-body {
  flex: 1 !important;
  min-width: 0 !important;
  padding: 2rem 2rem 1.75rem !important;
}

/* Avatar header */
.doc-card-hd {
  gap: 1rem !important;
  margin-bottom: 1rem !important;
  align-items: flex-start !important;
}
.doc-card-hd .doc-avatar {
  width: 56px !important; height: 56px !important;
  font-size: 1rem !important; flex-shrink: 0 !important;
  margin-top: .1rem !important;
}
.doc-card-hd h4 {
  font-size: 1rem !important;
  margin-bottom: .3rem !important;
  line-height: 1.3 !important;
}
.doc-card-hd .doc-qual {
  font-size: .82rem !important;
  line-height: 1.55 !important;
  margin-bottom: 0 !important;
}

/* Specialty badge + timing */
.doc-card .doc-spec {
  display: inline-block !important;
  margin-bottom: .75rem !important;
}
.doc-card .doc-timing {
  font-size: .82rem !important;
  line-height: 1.55 !important;
}

/* Button column */
.doc-footer {
  border-top: none !important;
  border-left: 1px solid var(--border-gray) !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  padding: 2rem 1.5rem !important;
  gap: .65rem !important;
  flex-shrink: 0 !important;
  min-width: 145px !important;
}
.doc-footer .btn {
  flex: none !important;
  width: 100% !important;
  justify-content: center !important;
}

/* 4. Responsive */
@media (max-width: 960px) {
  .doctors-grid           { grid-template-columns: 1fr !important; }
  .doc-body               { padding: 1.75rem 1.75rem 1.5rem !important; }
  .doc-footer             { padding: 1.75rem 1.4rem !important; }
}
@media (max-width: 600px) {
  .doc-card               { flex-direction: column !important; }
  .doc-body               { padding: 1.5rem 1.5rem 1.25rem !important; }
  .doc-card-hd            { align-items: center !important; }
  .doc-footer {
    flex-direction: row !important;
    border-left: none !important;
    border-top: 1px solid var(--border-gray) !important;
    padding: 1rem 1.5rem !important;
    min-width: auto !important;
  }
  .doc-footer .btn { flex: 1 !important; }
}
