/* =========================================================
   HSA — Hemophilia Society Azamgarh
   Compact rhythm · floating app nav · polished chatbot
   ========================================================= */
:root {
  --crimson: #8B1A2B;
  --crimson-deep: #5C0F1C;
  --teal: #0F766E;
  --teal-soft: #14B8A6;
  --ink: #1A1523;
  --muted: #5C5666;
  --line: rgba(26, 21, 35, 0.08);
  --card: #ffffff;
  --shadow: 0 12px 32px rgba(92, 15, 28, 0.1);
  --radius: 16px;
  --nav-h: 58px;
  --bottom-float: 14px;
  --bottom-h: 64px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -5%, rgba(139, 26, 43, 0.1), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(15, 118, 110, 0.1), transparent 50%),
    #F6F3F0;
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-h) + var(--bottom-float) + var(--safe-b) + 28px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--crimson-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}
h2 { font-size: clamp(1.45rem, 3.5vw, 1.9rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 0.75rem; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--crimson); color: #fff; padding: 8px 12px; z-index: 9999;
}
.skip-link:focus { left: 8px; }

/* —— Header —— */
.site-header {
  position: sticky; top: 0; z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(26, 21, 35, 0.04);
}
.header-bar {
  display: none;
  background: linear-gradient(90deg, var(--crimson-deep), var(--teal));
  color: rgba(255,255,255,.92);
  font-size: 0.78rem;
  font-weight: 600;
}
.header-bar-inner {
  width: 100%;
  padding: 6px 28px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.header-bar a { color: #fff; }
.header-bar i { margin-right: 4px; opacity: .9; }
.header-inner {
  width: 100%;
  margin: 0;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; flex-shrink: 0; }
.brand img {
  width: 46px; height: 46px;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}
.site-header .brand img {
  background: #fff;
  box-shadow: 0 4px 14px rgba(139, 26, 43, 0.15);
}
.brand-text .brand-name-short { display: none; }
.brand-text .brand-name-full { display: block; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--crimson);
}
.brand-text small {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
  margin-left: auto;
  gap: 2px;
  background: rgba(246, 243, 240, 0.85);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.desktop-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.88rem;
  white-space: nowrap;
}
.desktop-nav a:hover {
  color: var(--crimson);
  background: rgba(255,255,255,.9);
}
.desktop-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--crimson), #B42338);
  box-shadow: 0 6px 14px rgba(139, 26, 43, 0.28);
}
.header-actions {
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.icon-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal);
  transition: transform .15s ease, background .15s ease;
}
.icon-btn:hover { background: rgba(15, 118, 110, 0.08); transform: translateY(-1px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 0.92rem;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary, .btn-donate {
  background: linear-gradient(135deg, var(--crimson), #B42338);
  color: #fff;
  box-shadow: 0 8px 18px rgba(139, 26, 43, 0.25);
}
.btn-donate { padding: 9px 14px; }
.btn-donate-pulse {
  position: relative;
  animation: donatePulse 1.8s ease-in-out infinite;
}
.btn-donate-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(196, 35, 56, 0.55);
  animation: donateRing 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes donatePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 18px rgba(139, 26, 43, 0.28); }
  50% { transform: scale(1.05); box-shadow: 0 12px 28px rgba(139, 26, 43, 0.45); }
}
@keyframes donateRing {
  0% { opacity: .9; transform: scale(0.95); }
  100% { opacity: 0; transform: scale(1.2); }
}
.btn-outline {
  background: transparent;
  color: var(--crimson);
  border: 1.5px solid rgba(139, 26, 43, 0.35);
}
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-soft));
  color: #fff;
}
.btn-ghost { background: transparent; color: var(--muted); }
.btn-light { background: #fff; color: var(--crimson); }

/* —— Layout —— full width —— */
.wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 20px;
}
.section { padding: 32px 20px; }
.section-tight { padding: 18px 20px; }
.section > .wrap,
.section-tight > .wrap {
  padding: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.lead {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 0.85rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(48vh, 480px);
  max-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 0;
  width: 100%;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 21, 35, 0.08) 0%, rgba(26, 21, 35, 0.25) 100%),
    url("../img/banner.jpeg") center 28% / cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
/* Desktop: photo only — no text overlay */
.hero-content-mobile { display: none; }
.hero-content {
  position: relative; z-index: 1;
  padding: 22px 20px 26px;
  width: 100%;
  color: #fff;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 7vw, 1.95rem);
  font-weight: 800;
  margin-bottom: 4px;
  text-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.hero p {
  font-size: 0.92rem;
  opacity: .95;
  margin-bottom: 0;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

@media (max-width: 767px) {
  .hero {
    min-height: min(46vh, 360px);
    max-height: 400px;
  }
  .hero-media {
    background:
      linear-gradient(180deg, rgba(26, 21, 35, 0.1) 15%, rgba(92, 15, 28, 0.78) 100%),
      url("../img/banner.jpeg") center 28% / cover no-repeat;
  }
  .hero-content-mobile { display: block; }
}

.ticker {
  overflow: hidden;
  background: linear-gradient(90deg, #FFF1F0, #E8F7F5);
  border-block: 1px solid var(--line);
  padding: 8px 0;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--crimson);
}
.ticker-track {
  display: flex; gap: 36px; white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— Quick action tiles —— */
.quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}
.action-tile {
  border-radius: 14px;
  padding: 16px 18px;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
  min-height: 0;
}
.action-tile > div { flex: 1; min-width: 0; }
.action-tile:nth-child(1) {
  background: linear-gradient(145deg, var(--crimson), #C23045);
}
.action-tile:nth-child(2) {
  background: linear-gradient(145deg, var(--teal), #0D9488);
}
.action-tile h3 { font-size: 1.05rem; margin-bottom: 4px; }
.action-tile p {
  opacity: .92;
  margin: 0;
  font-size: .82rem;
  line-height: 1.4;
}
.action-tile .btn {
  flex-shrink: 0;
  padding: 9px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* —— Split / images —— */
.split {
  display: grid;
  gap: 18px;
  align-items: center;
}
.split-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #efeae6;
  aspect-ratio: 4 / 3;
  max-height: 340px;
}
.split-media img,
img.split-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.split-media.is-illustration,
.split-media.is-illustration img {
  object-fit: contain;
  background: #f3eeea;
  padding: 8px;
}

.check-list { list-style: none; padding: 0; margin: 10px 0 0; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.5 11.2 3.2 7.9l1.1-1.1 2.2 2.2 4.2-4.2 1.1 1.1z'/%3E%3C/svg%3E") center/11px no-repeat;
}

.feature-grid, .card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.feature-card, .info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 6px 18px rgba(26, 21, 35, 0.04);
}
.feature-card p, .info-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}
.feature-card .media,
.feature-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  margin-bottom: 10px;
  background: linear-gradient(160deg, #f7f1ec, #e8f4f2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.feature-card img,
.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
}
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.feature-icon.red { background: rgba(139, 26, 43, 0.1); color: var(--crimson); }

.band-full {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.banner-responsive {
  border-radius: 0;
  overflow: hidden;
  background: #f8e8ec;
  line-height: 0;
  width: 100%;
}
.band-full .banner-responsive {
  margin: 0;
  width: 100%;
}
.banner-responsive img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
.banner-responsive .mobile-only { display: block; }
.banner-responsive .desktop-only { display: none; }

.page-hero {
  position: relative;
  padding: 0;
  color: #fff;
  border-radius: 0;
  overflow: hidden;
  min-height: 220px;
  display: grid;
  align-items: end;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-position: center 35%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.55);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(92,15,28,.88), rgba(15,118,110,.72));
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 36px 14px 28px;
}
.page-hero h1 { font-size: clamp(1.55rem, 5vw, 2.35rem); max-width: 18ch; }
.page-hero p { margin-bottom: 0; font-size: 0.95rem; opacity: .92; max-width: 36rem; }
.breadcrumb { opacity: .85; font-size: .82rem; margin-bottom: 8px; }
.breadcrumb a { color: #fff; }

.prose h3 { margin-top: 1.15rem; color: var(--crimson-deep); font-size: 1.1rem; }
.prose ul { padding-left: 1.1rem; color: var(--muted); margin: 0.4rem 0 0.8rem; }
.prose li { margin-bottom: .35rem; font-size: 0.92rem; }

.quote-strip {
  background: linear-gradient(120deg, var(--crimson-deep), var(--teal));
  color: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
}
.quote-strip p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.quote-strip small { opacity: .85; font-size: 0.8rem; }

.testimonial-grid { display: grid; gap: 10px; }
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--line);
}
.testimonial img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 8px;
}
.testimonial p { font-size: 0.88rem; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--crimson); font-size: 0.88rem; }

.contact-grid { display: grid; gap: 12px; }
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
}
.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  margin-bottom: 10px;
}
.form-stack input:focus,
.form-stack textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  border-color: var(--teal);
}
.map-frame {
  border: 0;
  width: 100%;
  min-height: 240px;
  border-radius: var(--radius);
}

.cta-band {
  margin: 8px 0 0;
  border-radius: 16px;
  padding: 22px 16px;
  background:
    linear-gradient(135deg, rgba(92, 15, 28, 0.92), rgba(15, 118, 110, 0.88)),
    url("../img/pic-h2.jpg") center / cover;
  color: #fff;
  text-align: center;
}
.cta-band p { opacity: .92; font-size: 0.92rem; }
.cta-band .hero-cta { justify-content: center; }

.video-shell {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  margin-top: 16px;
  max-width: 680px;
}
.video-shell iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  margin-top: 64px;
  background: #0C0810;
  color: rgba(255,255,255,.78);
  overflow: hidden;
  padding-bottom: calc(28px + var(--safe-b));
}
.footer-top {
  background: linear-gradient(105deg, #5C0F1C 0%, #7A1E2E 40%, #0F766E 100%);
  padding: 48px 0;
}
.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  padding: 10px 0;
}
.footer-cta-title {
  color: #fff;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  margin: 8px 0 0;
  max-width: 34rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-main {
  padding: 64px 0 48px;
}
.footer-columns {
  display: grid;
  gap: 36px;
}
.footer-logo {
  margin-bottom: 16px;
  gap: 12px;
}
.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
}
.footer-brand p {
  font-size: 0.9rem;
  max-width: 32rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: rgba(255,255,255,.78);
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.55); }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}
.footer-badges span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.88);
}
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff !important;
  padding: 0 !important;
  font-size: 1.05rem;
  transition: background .2s ease, transform .15s ease;
}
.footer-social a:hover { background: var(--crimson); transform: translateY(-2px); }
.footer-main h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0; }
.footer-links a,
.footer-link-btn {
  display: block;
  color: rgba(255,255,255,.72);
  padding: 5px 0;
  font-size: .9rem;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: color .15s ease, padding-left .15s ease;
}
.footer-links a:hover,
.footer-link-btn:hover { color: #fff; padding-left: 4px; }
.footer-addr-block {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-addr-block:last-of-type {
  border-bottom: 0;
  margin-bottom: 8px;
  padding-bottom: 0;
}
.footer-addr-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9FE8DF;
  margin: 0 0 4px;
}

/* —— Dual address cards —— */
.address-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.address-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(26, 21, 35, 0.05);
}
.address-card h2 { font-size: 1.25rem; margin-bottom: 8px; }
.address-card p { color: var(--muted); }
.address-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.address-icon.red {
  background: rgba(139, 26, 43, 0.1);
  color: var(--crimson);
}
@media (min-width: 768px) {
  .address-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}

.footer-hours { font-size: 0.88rem; color: #9FE8DF; margin-bottom: 10px; }
.footer-leaders {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
  line-height: 1.55;
}
.footer-map-btn {
  color: #fff !important;
  border-color: rgba(255,255,255,.35);
  padding: 9px 14px;
  font-size: 0.85rem;
}
.footer-map-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer-bar {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  background: #08050B;
}
.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
.footer-bar p { margin: 0; }
.footer-bar a { color: #fff; display: inline; }

@media (min-width: 768px) {
  .footer-top { padding: 56px 0; }
  .footer-main { padding: 72px 0 56px; }
  .footer-columns {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 40px;
  }
}

/* —— Floating bottom nav —— */
.bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--bottom-float) + var(--safe-b));
  z-index: 200;
  height: var(--bottom-h);
  padding: 6px 6px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 22px;
  box-shadow:
    0 10px 28px rgba(26, 21, 35, 0.14),
    0 2px 8px rgba(26, 21, 35, 0.06);
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 14px;
  padding: 6px 2px;
  min-height: 50px;
}
.bn-item i { font-size: 1.15rem; }
.bn-item.is-active {
  color: var(--crimson);
  background: rgba(139, 26, 43, 0.08);
}
.bn-center { position: relative; }
.bn-fab {
  width: 44px; height: 44px;
  margin-top: -18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--crimson), #C23045);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(139, 26, 43, 0.38);
  font-size: 1.1rem;
  border: 3px solid #fff;
}
.bn-center span:last-child { margin-top: 0; }
.bn-center.is-active { background: transparent; }

/* —— Donate modal —— */
.modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(20, 14, 24, 0.55);
  display: grid; place-items: end center;
  padding: 16px;
}
.modal-overlay[hidden] { display: none !important; }
.modal-sheet {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  max-height: 85vh;
  overflow: auto;
  animation: sheet .28s ease;
}
@keyframes sheet {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal-close {
  position: absolute; right: 12px; top: 8px;
  border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; color: var(--muted);
}
.modal-lead { color: var(--muted); font-size: .9rem; }
.donate-qr {
  margin: 10px auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  max-width: 180px;
  object-fit: contain;
}
.bank-box {
  background: #F4F7F6;
  border-radius: 12px;
  padding: 12px;
  font-size: .85rem;
}
.bank-box p { margin: 0 0 4px; }
.modal-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-h) + var(--bottom-float) + var(--safe-b) + 80px);
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: .82rem;
  z-index: 500;
}

/* —— Chatbot (AI assistant) —— */
.chatbot {
  position: fixed;
  right: 14px;
  bottom: calc(var(--bottom-h) + var(--bottom-float) + var(--safe-b) + 16px);
  z-index: 300;
}
.chat-fab {
  height: 54px;
  min-width: 54px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #0F766E 0%, #0D9488 45%, #115E59 100%);
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(15, 118, 110, 0.4),
    0 0 0 4px rgba(20, 184, 166, 0.18);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  font-family: var(--font-body);
}
.chat-fab-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.chat-fab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  padding-right: 4px;
}
.chat-fab-text strong { font-size: 0.78rem; font-weight: 800; }
.chat-fab-text small { font-size: 0.62rem; opacity: .85; font-weight: 600; }
.chat-fab-pulse {
  position: absolute; inset: -5px;
  border-radius: 999px;
  border: 2px solid rgba(20, 184, 166, 0.45);
  animation: pulse 2s ease infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(.95); opacity: 1; }
  100% { transform: scale(1.12); opacity: 0; }
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: min(340px, calc(100vw - 28px));
  height: min(480px, 68vh);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(26, 21, 35, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}
.chat-panel[hidden] { display: none !important; }

.chat-head {
  background: linear-gradient(135deg, #5C0F1C 0%, #0F766E 100%);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.chat-head-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
}
.chat-avatar::after {
  content: "";
  position: absolute;
  right: -1px; bottom: -1px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #34d399;
  border: 2px solid #5C0F1C;
}
.chat-head strong { display: block; font-size: 0.92rem; }
.chat-head small { display: block; opacity: .85; font-size: .7rem; }
.ai-chip {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.chat-close {
  border: 0;
  background: rgba(255,255,255,.15);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background:
    radial-gradient(280px 120px at 0% 0%, rgba(139,26,43,.05), transparent),
    #F8F7F5;
}
.msg {
  max-width: 88%;
  padding: 9px 11px;
  border-radius: 14px;
  margin-bottom: 8px;
  font-size: .84rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.msg.bot {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.msg.user {
  margin-left: auto;
  background: linear-gradient(135deg, var(--crimson), #B42338);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg.typing { opacity: .7; font-style: italic; }

.chat-options {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: #fff;
  max-height: 88px;
  overflow-y: auto;
}
.chat-options button {
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: rgba(15, 118, 110, 0.07);
  color: var(--teal);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.chat-options button:hover {
  background: rgba(15, 118, 110, 0.14);
}

.chat-form {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #F7FBFB);
}
.chat-form[hidden] { display: none !important; }
.chat-form-title {
  font-size: .75rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--crimson);
}
.chat-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chat-form input, .chat-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  font-size: .8rem;
  margin-bottom: 6px;
  background: #fff;
}
.chat-form-actions { display: flex; justify-content: flex-end; gap: 6px; }
.chat-form-actions .btn { padding: 8px 12px; font-size: 0.8rem; }

.chat-compose {
  display: flex; gap: 6px;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.chat-compose input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.85rem;
  background: #F8F7F5;
}
.chat-compose button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--teal), #0D9488);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

/* —— Desktop —— */
@media (min-width: 768px) {
  body { padding-bottom: 28px; }
  .bottom-nav { display: none; }
  .chatbot { bottom: 22px; right: 22px; }
  .header-bar { display: block; }
  .desktop-nav { display: flex; }
  .header-actions { margin-left: 0; }
  .header-inner { padding: 10px 28px; }
  .section { padding: 40px 28px; }
  .section-tight { padding: 20px 28px; }
  .wrap { padding: 0 28px; }
  .section > .wrap,
  .section-tight > .wrap { padding: 0; }
  .hero { min-height: min(62vh, 560px); max-height: 620px; border-radius: 0; }
  .article-layout { grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
  .article-aside { position: sticky; top: 100px; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .action-tile { padding: 18px 20px; }
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
  .split-media { max-height: 420px; border-radius: 12px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.1fr 1fr; }
  .banner-responsive .mobile-only { display: none; }
  .banner-responsive .desktop-only { display: block; }
  .modal-overlay { place-items: center; }
  .chat-fab-text { display: flex; }
  .page-hero-inner { padding: 48px 28px 36px; }
  .ticker { width: 100%; }
}

@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .doctors-grid { grid-template-columns: repeat(4, 1fr); }
  .people-grid.team-grid { grid-template-columns: repeat(4, 1fr); }
}

/* —— Doctors + Team (mobile app cards) —— */
.people-section {
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(15,118,110,.07), transparent 55%),
    radial-gradient(500px 240px at 100% 40%, rgba(139,26,43,.06), transparent 50%);
  padding-bottom: 28px;
  margin-bottom: 8px;
}
.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.people-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(26, 21, 35, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.people-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(26, 21, 35, 0.1);
}
.doctor-card { border-color: rgba(15, 118, 110, 0.2); }
.people-card-lead { border-color: rgba(139, 26, 43, 0.22); }
.people-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #f4ede8 0%, #e7f3f1 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.people-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* Transparent cutouts only — portrait PNGs use cover like JPEG */
.people-photo.is-cutout img {
  object-fit: contain;
  object-position: center bottom;
  padding: 6px 6px 0;
}
.people-photo.img-fallback {
  background: #fff;
}
.people-photo.img-fallback img {
  object-fit: contain;
  padding: 18%;
}
.people-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: var(--crimson);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.doctor-card .people-badge { color: var(--teal); }
.people-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.people-role {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 4px;
  line-height: 1.35;
}
.doctor-card .people-role { color: var(--teal); }
.people-info h3 {
  font-size: 0.9rem;
  margin: 0 0 6px;
  line-height: 1.25;
}
.people-bio {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .people-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .people-info { padding: 14px; }
  .people-info h3 { font-size: 1rem; }
}

@media (max-width: 420px) {
  .people-grid { gap: 10px; }
  .people-info { padding: 10px; }
  .people-info h3 { font-size: 0.84rem; }
  .people-bio { font-size: 0.72rem; -webkit-line-clamp: 2; }
}

@media (max-width: 767px) {
  .brand-text .brand-name-full { display: none; }
  .brand-text .brand-name-short { display: block; font-size: 1.15rem; }
  .header-inner { padding: 8px 14px; }
}

@media (max-width: 380px) {
  .chat-fab-text { display: none; }
  .chat-fab { min-width: 54px; padding: 0; width: 54px; justify-content: center; }
  .action-tile { flex-direction: column; align-items: flex-start; }
}

/* —— Reveal animation —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Article pages (inhibitors / history) —— */
.article-layout {
  display: grid;
  gap: 18px;
}
.article-figure {
  border-radius: 16px;
  overflow: hidden;
  background: #efeae6;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-height: 420px;
}
.article-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s ease;
}
.article-figure:hover img { transform: scale(1.04); }
.aside-card {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.aside-card h3 { margin-bottom: 6px; }
.aside-card p { font-size: 0.88rem; color: var(--muted); }
.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 8px;
}
.info-chips span {
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}
.timeline-mini {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.timeline-mini div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.88rem;
  animation: riseIn .5s ease both;
}
.timeline-mini div:nth-child(2) { animation-delay: .08s; }
.timeline-mini div:nth-child(3) { animation-delay: .16s; }
.timeline-mini div:nth-child(4) { animation-delay: .24s; }
.timeline-mini strong { color: var(--crimson); display: block; font-size: 0.78rem; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* —— Testimonial slider —— */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(15,118,110,.05)); }
.section-head { margin-bottom: 14px; }
.t-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.t-track {
  display: flex;
  transition: transform .45s cubic-bezier(.22,.7,.3,1);
  will-change: transform;
}
.t-slide {
  flex: 0 0 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-right: 0;
  box-sizing: border-box;
  min-height: 180px;
}
.t-slide img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 10px;
  border: 3px solid rgba(139,26,43,.15);
}
.t-slide p { font-size: 0.95rem; }
.t-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.t-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--crimson);
  display: grid; place-items: center;
}
.t-btn:hover { background: rgba(139,26,43,.08); }
.t-dots { display: flex; gap: 6px; }
.t-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(26,21,35,.2);
  cursor: pointer;
  padding: 0;
}
.t-dots button.is-active {
  background: var(--crimson);
  width: 18px;
  border-radius: 999px;
}

@media (min-width: 768px) {
  .t-slide { flex-basis: 100%; padding: 22px 24px; }
}

/* —— Gallery —— */
.gallery-section { padding-top: 28px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1523;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 28px rgba(26, 21, 35, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26, 21, 35, 0.14);
  outline: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(12,8,16,.55) 100%);
  color: #fff;
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay { opacity: 1; }
.gallery-item-num {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(12, 8, 16, 0.55);
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 5, 11, 0.92);
  cursor: zoom-out;
}
.gallery-lb-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(960px, 100%);
  max-height: min(82vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.gallery-lb-figure img {
  max-width: 100%;
  max-height: min(72vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.gallery-lb-figure figcaption {
  color: rgba(255,255,255,.75);
  font-size: 0.9rem;
}
.gallery-lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-lb-close:hover { background: var(--crimson); }
.gallery-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gallery-lb-nav:hover { background: var(--crimson); }
.gallery-lb-prev { left: 12px; }
.gallery-lb-next { right: 12px; }

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .gallery-item-wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
  .gallery-lb-prev { left: 28px; }
  .gallery-lb-next { right: 28px; }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

