/* ===== Bone Marrow Transplant Center — front-end ===== */
:root {
  --primary: #6d0f1f; --primary-dark: #430812; --accent: #d4a24c;
  --p-50: color-mix(in srgb, var(--primary) 5%, #fff);
  --p-100: color-mix(in srgb, var(--primary) 11%, #fff);
  --p-200: color-mix(in srgb, var(--primary) 22%, #fff);
  --p-light: color-mix(in srgb, var(--primary) 80%, #fff);
  --ink: #1f1a1c; --ink-2: #4b4447; --muted: #7a7175;
  --line: #ece4e6; --bg: #fff; --bg-soft: #faf7f8;
  --radius: 14px; --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(40, 10, 18, .18);
  --shadow-sm: 0 2px 10px -4px rgba(40, 10, 18, .14);
  --font: 'Poppins', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15.5px; line-height: 1.65; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.3em; border-radius: 999px; font: 600 14.5px/1.2 var(--font); border: 2px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #2a1a0a; }
.btn-accent:hover { filter: brightness(1.07); color: #2a1a0a; transform: translateY(-1px); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: .45em .95em; font-size: 13px; }
.btn-lg { padding: .9em 1.6em; font-size: 15.5px; }
.btn-block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--primary-dark); color: #f4e6e8; font-size: 13px; }
.topbar a { color: #f4e6e8; }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar i { opacity: .85; margin-right: 3px; }
.topbar .emergency { background: var(--accent); color: #2a1a0a; padding: 3px 12px; border-radius: 999px; font-weight: 600; }
.topbar .emergency i { opacity: 1; }
.topbar .social { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand > img { max-height: 54px; width: auto; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--p-100); display: grid; place-items: center; flex-shrink: 0; }
.brand-mark img { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15.5px; color: var(--primary); max-width: 210px; }
.brand-text small { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255,255,255,.7); }
.brand-light .brand-mark { background: rgba(255,255,255,.12); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-head, .nav-foot { display: none; }
.menu, .submenu { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 6px; padding: 26px 10px; font-weight: 500; font-size: 14px; color: var(--ink-2); position: relative; white-space: nowrap; }
.menu > li > a .menu-ico { display: none; }
.menu > li > a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 18px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.menu > li:hover > a, .menu > li.active > a { color: var(--primary); }
.menu > li:hover > a::after, .menu > li.active > a::after { transform: scaleX(1); }
.sub-toggle { display: none; }
.menu .star { color: var(--accent); font-size: .8em; }

/* dropdowns (desktop) */
.submenu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: var(--radius-sm); box-shadow: 0 18px 40px -14px rgba(40,10,18,.3); border: 1px solid var(--line); border-top: 3px solid var(--primary); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; z-index: 50; }
.submenu li { position: relative; }
.submenu a { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 7px; color: var(--ink-2); font-size: 14px; line-height: 1.35; }
.submenu a:hover, .submenu li.active > a { background: var(--p-50); color: var(--primary); }
.submenu li.has-children > a::after { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: auto; font-size: 12px; opacity: .6; }
.submenu li.featured > a { color: var(--primary); font-weight: 600; }
.menu li:hover > .submenu, .menu li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu .submenu { top: -9px; left: 100%; margin-left: 6px; }
.menu > li.align-right > .submenu { left: auto; right: 0; }
.menu > li.align-right .submenu .submenu { left: auto; right: 100%; margin: 0 6px 0 0; }
.submenu.mega { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); width: max-content; max-width: 760px; gap: 0 6px; }
.menu > li:not(.align-right) > .submenu.mega { left: 50%; transform: translate(-50%, 8px); }
.menu > li:not(.align-right):hover > .submenu.mega, .menu > li:not(.align-right):focus-within > .submenu.mega { transform: translate(-50%, 0); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--p-50); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: .2s; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(20,5,10,.5); opacity: 0; visibility: hidden; transition: .25s; z-index: 190; }

/* ---------- Heroes ---------- */
.home-hero, .page-hero, .story-hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--primary) 55%, #ff6b81) 0, transparent 60%),
              linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, color-mix(in srgb, var(--primary) 75%, #000) 100%); }
.page-hero.has-image, .story-hero.has-image { background: linear-gradient(100deg, color-mix(in srgb, var(--primary-dark) 92%, transparent) 30%, color-mix(in srgb, var(--primary) 45%, transparent)), var(--hero-img) center/cover; }
.hero-cells span { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.18), rgba(255,255,255,.03) 60%, transparent 70%); pointer-events: none; }
.hero-cells span:nth-child(1) { width: 340px; height: 300px; right: -80px; top: -90px; }
.hero-cells span:nth-child(2) { width: 160px; height: 140px; right: 22%; bottom: -60px; }
.hero-cells span:nth-child(3) { width: 90px; height: 80px; left: 6%; top: 18%; }
.hero-cells span:nth-child(4) { width: 220px; height: 200px; left: -70px; bottom: -110px; }
.hero-cells span:nth-child(5) { width: 60px; height: 52px; left: 46%; top: 12%; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); margin-bottom: 14px; }
.hero-sub { font-size: 16.5px; color: rgba(255,255,255,.88); max-width: 720px; margin: 0; }
.page-hero { padding: 34px 0 46px; }
.page-hero h1, .story-hero h1, .home-hero h1 { color: #fff; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 12px; max-width: 900px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; margin-bottom: 20px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { font-size: 9px; opacity: .6; }
.breadcrumb span[aria-current] { color: #fff; font-weight: 500; }
.badge-draft { display: inline-block; margin-top: 14px; background: #ffd666; color: #3b2a00; padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; }

.home-hero { padding: 64px 0 90px; }
.home-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
.home-hero h1 { font-size: clamp(32px, 4.8vw, 56px); margin-bottom: 16px; letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 12px 18px; min-width: 130px; }
.hero-stats strong { display: block; font-size: 24px; color: var(--accent); line-height: 1.1; }
.hero-stats span { font-size: 12.5px; color: rgba(255,255,255,.82); }
.home-hero-visual { position: relative; }
.cells-art { width: 100%; max-width: 480px; display: block; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.hero-photo { border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); display: block; }
.float { animation: floaty 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.float.b { animation-duration: 9s; animation-delay: -2s; }
.float.c { animation-duration: 11s; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }
.hero-float-card { position: absolute; left: 0; bottom: 6%; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); max-width: 290px; }
.hero-float-card i { width: 42px; height: 42px; display: grid; place-items: center; background: var(--p-100); color: var(--primary); border-radius: 10px; font-size: 18px; flex-shrink: 0; }
.hero-float-card strong { display: block; font-size: 14px; }
.hero-float-card span { font-size: 12px; color: var(--muted); }

/* ---------- Home sections ---------- */
.quick-links { margin-top: -46px; position: relative; z-index: 3; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick-card { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); color: var(--ink); transition: .2s; }
.quick-card:hover { transform: translateY(-4px); border-color: var(--p-200); color: var(--ink); }
.quick-card > i { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 20px; flex-shrink: 0; }
.quick-card strong { display: block; font-size: 15.5px; }
.quick-card small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }

.section-pad { padding: 72px 0; }
.tint { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 4px 0 8px; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }

.cancer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cancer-card { border-radius: 18px; padding: 26px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--p-50), #fff 60%); display: flex; flex-direction: column; }
.cancer-card.peds { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, #fff), #fff 60%); }
.cancer-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.cancer-card-head h3 { font-size: 21px; margin: 0; }
.cancer-card-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.cancer-ico { width: 54px; height: 54px; border-radius: 14px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.peds .cancer-ico { background: var(--accent); color: #2a1a0a; }
.chip-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list a { display: inline-block; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); transition: .15s; }
.chip-list a:hover { border-color: var(--primary); color: var(--primary); background: var(--p-50); }
.text-link { margin-top: auto; font-weight: 600; font-size: 14px; }
.text-link i { transition: transform .2s; }
.text-link:hover i { transform: translateX(4px); }

.treat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.treat-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 24px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 14.5px; transition: .2s; }
.treat-card i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--p-100); color: var(--primary); font-size: 21px; transition: .2s; }
.treat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--primary); }
.treat-card:hover i, .treat-card.featured i { background: var(--primary); color: #fff; }
.treat-card.featured { border-color: var(--primary); background: var(--p-50); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--p-200) 0 8px, transparent 8px 14px); }
.steps li { counter-increment: s; position: relative; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 62px 12px 18px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translate(-50%, 0); width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 6px #fff; top: 0; }
.steps li:nth-child(4)::before { background: var(--accent); color: #2a1a0a; }
.steps { padding-top: 0; }
.steps li { margin-top: 22px; }
.steps li::before { top: -22px; }
.steps strong { display: block; font-size: 15px; color: var(--ink); }
.steps span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 4px; }

.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.explore-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: .2s; }
.explore-card:hover { box-shadow: var(--shadow); }
.explore-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--primary); color: #fff; }
.explore-head i { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.15); display: grid; place-items: center; font-size: 14px; border-bottom: 3px solid var(--c); }
.explore-head:hover { color: #fff; background: var(--primary-dark); }
.explore-card ul { list-style: none; margin: 0; padding: 10px 16px 14px; }
.explore-card li a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--ink-2); }
.explore-card li a:hover { color: var(--primary); padding-left: 4px; }
.explore-card li a.more { color: var(--primary); font-weight: 600; }

/* ---------- Page layout ---------- */
.inpage-nav { position: sticky; top: var(--header-h); z-index: 60; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 16px -14px rgba(0,0,0,.4); }
.inpage-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.inpage-nav ul::-webkit-scrollbar { display: none; }
.inpage-nav a { display: block; padding: 16px 18px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; border-bottom: 3px solid transparent; }
.inpage-nav a:hover { color: var(--primary); }
.inpage-nav a.active { color: var(--primary); border-color: var(--primary); }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; padding-top: 44px; padding-bottom: 72px; align-items: start; }
.page-layout.full { grid-template-columns: 1fr; }
.content-section { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.content-section:last-of-type { border-bottom: 0; }
.section-title { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 18px; position: relative; padding-left: 16px; }
.section-title::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: linear-gradient(var(--primary), var(--accent)); }

.page-sidebar { position: sticky; top: calc(var(--header-h) + 72px); display: flex; flex-direction: column; gap: 18px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.side-card h4 { font-size: 16px; margin-bottom: 12px; }
.side-cta { display: flex; flex-direction: column; gap: 10px; background: var(--p-50); }
.side-links { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow: auto; }
.side-links a { display: flex; gap: 8px; align-items: baseline; padding: 7px 8px; border-radius: 7px; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.side-links a i { font-size: 11px; color: var(--primary); }
.side-links a:hover, .side-links .current a { background: var(--p-50); color: var(--primary); }
.side-links .current a { font-weight: 600; }

.child-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.child-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); transition: .2s; position: relative; }
.child-card:hover { border-color: var(--p-200); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.child-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--p-100); color: var(--primary); font-size: 18px; flex-shrink: 0; transition: .2s; }
.child-card:hover .child-icon { background: var(--primary); color: #fff; }
.child-body { flex: 1; min-width: 0; }
.child-body strong { display: block; font-size: 15px; line-height: 1.35; }
.child-body small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 3px; }
.child-arrow { color: var(--primary); opacity: .4; transition: .2s; }
.child-card:hover .child-arrow { opacity: 1; transform: translateX(3px); }
.child-card.featured { border-color: var(--primary); background: var(--p-50); }
.child-card .star, .star { color: var(--accent); font-size: .85em; }
.child-card.story { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.child-card.story .child-body { padding: 0 18px 18px; }
.child-card.story .child-arrow { position: absolute; right: 16px; bottom: 18px; }
.child-thumb { height: 150px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)) center/cover; display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 34px; }
.child-thumb[style] i { display: none; }

.empty-state { text-align: center; padding: 60px 24px; border: 2px dashed var(--p-200); border-radius: 18px; background: var(--p-50); max-width: 760px; margin: 0 auto; }
.empty-state > i { font-size: 46px; color: var(--primary); opacity: .7; margin-bottom: 14px; }
.empty-state p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.empty-inline { color: var(--muted); text-align: center; padding: 30px; }

/* ---------- Prose (rich content, imported Word/PDF) ---------- */
.prose { color: var(--ink-2); font-size: 16px; }
.prose.narrow { max-width: 860px; margin: 0 auto 34px; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose .lead, .prose > p:first-child:not(:only-child) { font-size: 1.12em; color: var(--ink); }
.prose h1, .prose h2 { font-size: 1.6em; margin: 1.4em 0 .55em; color: var(--ink); }
.prose h3 { font-size: 1.25em; margin: 1.4em 0 .5em; color: var(--primary); }
.prose h4 { font-size: 1.07em; margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
.prose ul > li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.prose ul > li::before { content: ''; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--p-100); }
.prose ol:not(.steps) { counter-reset: li; }
.prose ol:not(.steps) > li { counter-increment: li; position: relative; padding-left: 40px; margin-bottom: .7em; min-height: 28px; }
.prose ol:not(.steps) > li::before { content: counter(li); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--p-100); color: var(--primary); font-weight: 700; font-size: 13.5px; display: grid; place-items: center; }
.prose li > ul, .prose li > ol { margin: .5em 0 0; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px 18px 58px; background: var(--p-50); border-left: 4px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-style: italic; position: relative; }
.prose blockquote::before { content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 20px; top: 18px; color: var(--primary); opacity: .45; font-style: normal; font-size: 20px; }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.2em 0 1.6em; font-size: 14.5px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: block; overflow-x: auto; }
.prose table tbody, .prose table thead { width: 100%; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th, .prose thead td { background: var(--primary); color: #fff; font-weight: 600; }
.prose tr:nth-child(even) td { background: var(--bg-soft); }
.prose tr:last-child td { border-bottom: 0; }
.prose td p:last-child, .prose th p:last-child { margin: 0; }
.prose img { border-radius: var(--radius-sm); margin: .6em 0; height: auto; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.prose small { color: var(--muted); }
.prose iframe, .prose video { max-width: 100%; border-radius: var(--radius-sm); }
.prose .info-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 1em 0 1.4em; }
.prose .info-card { border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 18px 20px; background: #fff; box-shadow: var(--shadow-sm); }
.prose .info-card:nth-child(2) { border-top-color: var(--accent); }
.prose .info-card:nth-child(3) { border-top-color: var(--p-light); }
.prose .info-card:nth-child(4) { border-top-color: var(--primary-dark); }
.prose .info-card h4 { margin: 0 0 6px; color: var(--primary); }
.prose .info-card p { margin: 0; font-size: 14.5px; }
.prose .steps { grid-template-columns: repeat(3, 1fr); margin: 1.6em 0; }
.prose .steps::before { display: none; }
.prose .steps li { padding-left: 12px; }
.prose .btn { text-decoration: none; }
.prose .btn-primary { color: #fff; }
.prose .doc-callout { background: var(--p-50); border: 1px solid var(--p-200); border-radius: var(--radius-sm); padding: 16px 20px; margin: 1.2em 0; }

/* ---------- Doctors ---------- */
.doctor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.page-main .doctor-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.doctor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.doctor-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.doctor-photo { display: grid; place-items: center; aspect-ratio: 4/3.3; background: linear-gradient(160deg, var(--p-100), var(--p-50)); overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 30px; font-weight: 600; box-shadow: 0 0 0 8px rgba(255,255,255,.7); }
.doctor-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.doctor-body h3 { font-size: 16.5px; margin: 8px 0 2px; }
.doctor-body h3 a { color: var(--ink); }
.doctor-desig { margin: 0; font-size: 13.5px; color: var(--primary); font-weight: 500; }
.doctor-spec { margin: 2px 0 14px; font-size: 13px; color: var(--muted); }
.doctor-actions { display: flex; gap: 8px; margin-top: auto; }
.doctor-actions .btn { flex: 1; }
.chip { display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--p-100); color: var(--primary); }
.doctor-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.search-box { position: relative; flex: 1; max-width: 420px; min-width: 220px; }
.search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; padding: 12px 16px 12px 42px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--bg-soft); }
.search-box input:focus { outline: none; border-color: var(--primary); background: #fff; }
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-pills button { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font: 500 13.5px var(--font); cursor: pointer; color: var(--ink-2); }
.filter-pills button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.doctor-profile { padding: 0 20px 72px; }
.doctor-profile-card { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin: -30px auto 36px; position: relative; box-shadow: var(--shadow); max-width: 960px; }
.doctor-profile-card h1 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 4px; }
.doctor-profile-card p { margin: 4px 0; }
.doctor-profile-card .btn { margin-top: 14px; }
.doctor-photo.lg { border-radius: 14px; }
.doctor-photo.lg .avatar-initials { width: 120px; height: 120px; font-size: 40px; }

/* ---------- Forms ---------- */
.inquiry-form h3 { font-size: 18px; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-bottom: 14px; }
.inquiry-form.compact .form-grid { grid-template-columns: 1fr; }
.form-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 11px 13px; border: 1px solid #dfd5d8; border-radius: 9px; font: 400 14.5px var(--font); background: #fff; color: var(--ink); transition: .15s; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--p-100); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.alert { padding: 12px 14px; border-radius: 9px; font-size: 14px; margin-bottom: 14px; }
.alert-success { background: #e8f7ee; color: #1b6b3a; border: 1px solid #bfe7cd; }
.alert-error { background: #fdecec; color: #a12727; border: 1px solid #f5c2c2; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.section-form { max-width: 720px; }
.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: m; }
.mini-steps li { counter-increment: m; position: relative; padding: 0 0 14px 42px; }
.mini-steps li::before { content: counter(m); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.mini-steps strong { display: block; font-size: 14.5px; }
.mini-steps span { font-size: 13px; color: var(--muted); }
.big-phone { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; color: var(--primary); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); transition: .2s; }
a.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow); color: var(--ink); }
.contact-card i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--p-100); color: var(--primary); font-size: 18px; margin-bottom: 8px; }
.contact-card span { font-size: 13px; color: var(--muted); }
.contact-card strong { font-size: 15px; word-break: break-word; }
.contact-card.urgent { background: var(--primary); color: #fff; border-color: var(--primary); }
.contact-card.urgent i { background: rgba(255,255,255,.15); color: #fff; }
.contact-card.urgent span { color: rgba(255,255,255,.8); }
a.contact-card.urgent:hover { color: #fff; background: var(--primary-dark); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; margin-bottom: 40px; }
.map-card { border-radius: 18px; overflow: hidden; min-height: 380px; border: 1px solid var(--line); background: var(--bg-soft); }
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Story ---------- */
.story-hero { padding: 34px 0 56px; }
.story-hero h1 { font-size: clamp(28px, 4vw, 46px); max-width: 860px; }
.story-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.8); }
.story-body { font-size: 17px; }
.story-body > p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .9; padding: 6px 10px 0 0; color: var(--primary); font-weight: 700; }
.share-row { display: flex; align-items: center; gap: 10px; padding: 18px 0; margin: 20px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.share-row span { font-weight: 600; font-size: 14px; margin-right: 6px; }
.share-row a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--p-100); color: var(--primary); }
.share-row a:hover { background: var(--primary); color: #fff; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -80px; width: 260px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(21px, 2.6vw, 28px); margin-bottom: 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: #1b0f12; background: color-mix(in srgb, var(--primary-dark) 35%, #120a0c); color: rgba(255,255,255,.72); padding-top: 60px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; }
.footer-about p { margin: 16px 0; line-height: 1.7; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.72); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: baseline; }
.footer-contact i { color: var(--accent); width: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.footer-social a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12.5px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.fab-bar { display: none; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 80; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.admin-bar { position: fixed; left: 16px; bottom: 16px; z-index: 300; display: flex; gap: 4px; background: #1f1a1c; padding: 5px; border-radius: 999px; box-shadow: var(--shadow); }
.admin-bar a { color: #fff; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; }
.admin-bar a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ===================== Responsive ===================== */
@media (max-width: 1320px) {
  .header-cta span { display: none; }
  .header-cta { padding: .72em .9em; }
  .menu > li > a { padding-left: 8px; padding-right: 8px; font-size: 13.5px; }
}
@media (max-width: 1180px) {
  /* Off-canvas mobile navigation */
  .nav-toggle { display: flex; }
  .header-cta span { display: inline; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } /* a filter would trap the fixed drawer */
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 200; flex-direction: column; justify-content: flex-start; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,.2); }
  body.nav-open .main-nav { transform: none; visibility: visible; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-open .site-header { z-index: 300; }
  body.nav-open .admin-bar { display: none; }
  body.nav-open { overflow: hidden; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--primary); color: #fff; position: sticky; top: 0; z-index: 2; }
  .nav-close { border: 0; background: rgba(255,255,255,.15); color: #fff; width: 38px; height: 38px; border-radius: 10px; font-size: 18px; cursor: pointer; }
  .nav-foot { display: flex; flex-direction: column; gap: 10px; padding: 20px; margin-top: auto; border-top: 1px solid var(--line); }
  .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .menu li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .menu li:last-child { border-bottom: 0; }
  .menu > li > a { flex: 1; padding: 14px 20px; font-size: 15px; }
  .menu > li > a .menu-ico { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: var(--p-50); color: var(--primary); font-size: 13px; margin-right: 6px; }
  .menu > li > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 46px; height: 46px; margin-right: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 10px; transition: .2s; }
  .sub-toggle:hover { background: var(--p-50); }
  li.open > .sub-toggle { transform: rotate(180deg); color: var(--primary); }
  .submenu, .submenu.mega, .menu > li:not(.align-right) > .submenu.mega { position: static; display: none; width: 100%; max-width: none; min-width: 0; opacity: 1; visibility: visible; transform: none !important; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px; background: var(--bg-soft); margin: 0; grid-template-columns: 1fr; }
  .main-nav .menu li.open > ul.submenu { display: block; }
  .submenu li { border-bottom: 0; }
  .submenu a { flex: 1; padding: 10px 20px 10px 34px; font-size: 14px; }
  .submenu .submenu a { padding-left: 50px; }
  .submenu li.has-children > a::after { display: none; }
  .submenu .sub-toggle { width: 40px; height: 40px; }
  .main-nav .menu li:focus-within > .submenu { opacity: 1; }

  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .page-layout { grid-template-columns: 1fr; gap: 30px; }
  .page-sidebar { position: static; }
  .cancer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hide-md { display: none !important; }
  .doctor-profile-card { grid-template-columns: 1fr; text-align: center; }
  .doctor-profile-card .chip { align-self: center; }
  .doctor-photo.lg { max-width: 260px; margin: 0 auto; width: 100%; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar-inner { justify-content: center; min-height: 34px; }
  .topbar-left { display: none; }
  .topbar .emergency { white-space: nowrap; font-size: 12.5px; }
  .hero-stats { gap: 8px; }
  .hero-stats div { flex: 1 1 0; min-width: 0; padding: 10px; }
  .hero-stats strong { font-size: 20px; }
  .hero-stats span { font-size: 11.5px; line-height: 1.35; display: block; }
  .brand-text strong { font-size: 14px; max-width: 170px; }
  .brand-text small { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .header-cta { display: none; }
  .home-hero { padding: 40px 0 76px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-float-card { position: relative; margin: -20px auto 0; bottom: auto; }
  .quick-grid { grid-template-columns: 1fr; gap: 10px; }
  .quick-card { padding: 14px; }
  .section-pad { padding: 50px 0; }
  .explore-grid { grid-template-columns: 1fr; }
  .steps, .prose .steps { grid-template-columns: repeat(2, 1fr); }
  .prose .info-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-contact { grid-column: 1 / -1; }
  .contact-cards { grid-template-columns: 1fr; }
  .page-layout { padding-top: 30px; padding-bottom: 50px; }
  .inpage-nav a { padding: 13px 14px; font-size: 14px; }
  .child-grid { grid-template-columns: 1fr; }
  .doctor-grid, .page-main .doctor-grid { grid-template-columns: 1fr; gap: 12px; }
  .doctor-card { flex-direction: row; }
  .doctor-card .doctor-photo { width: 112px; aspect-ratio: auto; flex-shrink: 0; }
  .doctor-body { padding: 12px 14px; }
  .doctor-body h3 { margin-top: 6px; }
  .doctor-spec { margin-bottom: 10px; }
  .avatar-initials { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 0 0 5px rgba(255,255,255,.7); }
  .cta-actions .btn { flex: 1 1 100%; }
  .fab-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -6px 20px -8px rgba(0,0,0,.2); }
  .fab-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; font-weight: 600; font-size: 14.5px; }
  .fab-call { color: var(--primary); }
  .fab-book { background: var(--primary); color: #fff; }
  .fab-book:hover { color: #fff; }
  .to-top { bottom: 78px; right: 14px; }
  .admin-bar { bottom: 74px; }
}
@media (max-width: 400px) {
  .steps, .prose .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media print {
  .topbar, .site-header, .inpage-nav, .page-sidebar, .cta-band, .site-footer, .fab-bar, .to-top, .admin-bar { display: none !important; }
  .page-hero { background: none !important; color: #000; }
  .page-hero h1 { color: #000; }
}

/* ---------- In-page tabs: one panel at a time ---------- */
.tab-panel { animation: tabIn .28s ease both; }
.tab-panel[hidden] { display: none !important; }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose h3 + p, .prose h3 + ul { margin-top: .3em; }
.prose .callout { background: var(--p-50); border: 1px solid var(--p-200); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); padding: 14px 18px; margin: 18px 0; }
.prose .callout p:last-child { margin-bottom: 0; }

/* ---------- Top bar: customisable, language picker, login ---------- */
.topbar { background: var(--tb-bg, var(--primary-dark)); color: var(--tb-color, #f4e6e8); position: relative; z-index: 120; }
.topbar a, .topbar .tb-text { color: var(--tb-color, #f4e6e8); }
.topbar a:hover { color: var(--tb-color, #fff); opacity: .85; }
.topbar.tb-light { border-bottom: 1px solid var(--line); }
.topbar.tb-light .social { background: var(--p-100); }
.topbar .tb-text { font-weight: 500; }
.tb-lang { position: relative; }
.tb-lang-btn, .tb-login { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border: 1px solid color-mix(in srgb, var(--tb-color, #fff) 40%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--tb-color, #fff) 8%, transparent); color: var(--tb-color, #fff); font: 500 12.5px/1.6 var(--font); cursor: pointer; white-space: nowrap; transition: .2s; }
.tb-lang-btn:hover, .tb-lang-btn[aria-expanded=true], .tb-login:hover { background: var(--accent); border-color: var(--accent); color: #2a1a0a !important; opacity: 1 !important; }
.tb-lang-btn:disabled { opacity: .7; cursor: wait; }
.tb-lang-cur { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.tb-lang-btn .caret { transition: transform .2s; font-size: 10px; }
.tb-lang-btn[aria-expanded=true] .caret { transform: rotate(180deg); }
.tb-lang-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 270px; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 26px 54px -18px rgba(40,10,18,.55), 0 0 0 1px var(--line); padding: 10px; z-index: 1700; animation: tabIn .18s ease both; }
.tb-lang-q { display: block; width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: 13.5px var(--font); background: var(--bg-soft); outline: 0; margin: 0 0 8px; color: var(--ink); }
.tb-lang-q:focus { border-color: var(--primary); }
.tb-lang-list { max-height: 300px; overflow-y: auto; margin: 0; padding: 0; list-style: none; overscroll-behavior: contain; }
.tb-lang-list li { padding: 7px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; color: var(--ink); }
.tb-lang-list li:hover, .tb-lang-list li:focus { background: var(--p-50); outline: 0; }
.tb-lang-list li.on { background: var(--primary); color: #fff; font-weight: 600; }
.tb-lang-list li.none { cursor: default; color: var(--muted); background: none; }
#google_translate_element { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
body { top: 0 !important; }
iframe.skiptranslate, .goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-ZVi9od-aZ2wEe-OiiCO, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font { vertical-align: inherit; }

/* ---------- Recent news bar ---------- */
.news-bar { background: var(--p-50); border-bottom: 1px solid var(--p-200); font-size: 14px; }
.news-inner { display: flex; align-items: stretch; min-height: 42px; }
.news-label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--primary); color: #fff; font-weight: 600; font-size: 13px; white-space: nowrap; position: relative; }
.news-label::after { content: ""; position: absolute; right: -10px; top: 0; bottom: 0; width: 10px; background: var(--primary); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.news-label .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.news-track { flex: 1; overflow: hidden; display: flex; align-items: center; padding-left: 18px; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.news-move { display: flex; gap: 48px; white-space: nowrap; animation: newsScroll var(--news-dur, 40s) linear infinite; padding-right: 48px; }
.news-bar:hover .news-move, .news-move:focus-within { animation-play-state: paused; }
.news-move a, .news-move span { color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.news-move a:hover { color: var(--primary); }
.news-move i { color: var(--primary); font-size: 8px; }
@keyframes newsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .news-move { animation: none; } .news-track { overflow-x: auto; } }

/* ---------- Pop-up ---------- */
.site-pop { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .3s; }
.site-pop.on { opacity: 1; }
.site-pop-bg { position: absolute; inset: 0; background: rgba(20, 4, 9, .74); backdrop-filter: blur(3px); }
.site-pop-card { position: relative; max-width: min(92vw, 760px); transform: translateY(16px) scale(.97); transition: transform .35s; }
.site-pop.on .site-pop-card { transform: none; }
.site-pop-card img { display: block; max-width: 100%; max-height: 86vh; width: auto; margin: 0 auto; border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.7); background: #fff; }
.site-pop-x { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--primary); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.35); display: grid; place-items: center; }
.site-pop-x:hover { background: var(--accent); }
html.pop-open { overflow: hidden; }

/* ---------- Appointment closed notice ---------- */
.booking-closed { text-align: center; padding: 40px 24px; border: 1px dashed var(--p-200); border-radius: var(--radius); background: var(--p-50); }
.booking-closed i { font-size: 42px; color: var(--primary); margin-bottom: 12px; }

@media (max-width: 680px) {
  .topbar-right { gap: 8px; }
  .tb-lang { position: static; }
  .tb-lang-panel { left: 12px; right: 12px; width: auto; top: 100%; }
  .tb-lang-cur { max-width: 70px; }
  .topbar .tb-text { display: none; }
  .news-label { padding: 0 12px; }
  .news-label b { display: none; }
}

/* ---------- Footer: Important Links (same idea as the TMC & RCH website) ---------- */
.footer-grid { grid-template-columns: 1.25fr 1.35fr 1fr; gap: 44px; }
.footer-links .links-scroll { list-style: none; margin: 0; padding: 0 10px 0 0; max-height: 330px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; font-size: 13.5px; }
.footer-links .links-scroll::-webkit-scrollbar { width: 5px; }
.footer-links .links-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 9px; }
.footer-links .links-scroll li { margin: 0; break-inside: avoid; }
.footer-links .links-scroll a { display: flex; gap: 10px; align-items: baseline; padding: 5px 0; color: rgba(255,255,255,.74); transition: color .2s, transform .2s; }
.footer-links .links-scroll a i { color: var(--accent); font-size: 12px; flex-shrink: 0; }
.footer-links .links-scroll a:hover { color: #fff; transform: translateX(3px); }
.footer-contact a { color: rgba(255,255,255,.72); }
.footer-contact a:hover { color: #fff; }
.footer-bottom .credit a { color: var(--accent); font-weight: 600; }
.footer-bottom .credit a:hover { color: #fff; }
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact { grid-column: auto; }
  .footer-links .links-scroll { max-height: 260px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ---------- About Us: message of the ED / DED ---------- */
.leader-msg { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.leader-card { text-align: center; position: sticky; top: calc(var(--header-h) + 70px); }
.leader-photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--p-100), var(--p-50)); display: grid; place-items: center; box-shadow: 0 14px 30px -16px rgba(40,10,18,.45); border: 5px solid #fff; outline: 1px solid var(--line); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { margin: 18px 0 4px; font-size: 18px; color: var(--primary); }
.leader-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.leader-text { position: relative; padding-top: 8px; }
.leader-quote { font-size: 38px; color: var(--p-200); display: block; margin-bottom: 6px; }
.leader-sign { margin-top: 26px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; }
.leader-sign strong { color: var(--ink); font-size: 16px; }
.leader-sign span { color: var(--muted); font-size: 14px; }
.child-photo { overflow: hidden; padding: 0; }
.child-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .leader-msg { grid-template-columns: 1fr; padding: 22px; gap: 22px; }
  .leader-card { position: static; max-width: 260px; margin: 0 auto; }
}

/* ---------- About Us: management team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; text-align: center; }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-photo { aspect-ratio: 1/1; background: linear-gradient(160deg, var(--p-100), var(--p-50)); display: grid; place-items: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.team-body h3 { font-size: 16.5px; margin: 0 0 4px; }
.team-desig { margin: 0; color: var(--primary); font-weight: 500; font-size: 14px; line-height: 1.45; }
.team-dept { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.team-bio { margin: 10px 0 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.team-contact { display: flex; gap: 8px; justify-content: center; margin-top: auto; padding-top: 12px; }
.team-contact a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--p-100); color: var(--primary); font-size: 13px; }
.team-contact a:hover { background: var(--primary); color: #fff; }
@media (max-width: 1180px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) { .team-grid { grid-template-columns: 1fr; } .team-card { flex-direction: row; text-align: left; } .team-photo { width: 110px; aspect-ratio: auto; flex-shrink: 0; } .team-contact { justify-content: flex-start; } }
@media (min-width: 681px) { .footer-bottom-inner { padding-right: 64px; } }
