.d-none {
  display: none !important;
}
/* Jan Swaraaj Samiti — blood red + warm orange */
:root {
  --brand: #b91c1c;
  --brand-dark: #991b1b;
  --brand-light: #fef2f2;
  --primary: #b91c1c;
  --primary-dark: #991b1b;
  --primary-light: #fecaca;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-light: #fff7ed;
  --blood: #b91c1c;
  --blood-dark: #991b1b;
  --dark: #292524;
  --text: #44403c;
  --text-muted: #78716c;
  --light: #fafafa;
  --white: #ffffff;
  --surface: #fef2f2;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(185, 28, 28, 0.08);
  --shadow-hover: 0 12px 32px rgba(185, 28, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── Header (site-wide) ── */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(185, 28, 28, 0.08);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(41, 37, 36, 0.1);
}
.site-header.is-scrolled .header-bar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Top utility bar + ticker */
.header-top {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-top__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 36px;
}
.header-ticker {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow: hidden;
}
.header-ticker__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.header-ticker__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.header-ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: headerTicker 40s linear infinite;
}
.header-ticker__track:hover {
  animation-play-state: paused;
}
.header-ticker__item {
  flex-shrink: 0;
  padding: 0 1.25rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
}
.header-ticker__sep {
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
@keyframes headerTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.header-top__contact {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-top__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: color 0.2s;
}
.header-top__contact a:hover { color: #fff; }

.header-bar {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  transition: padding 0.2s ease;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dark);
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.9; }
.logo-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.18);
}
.logo-icon .logo-img { display: block; width: 50px; height: 50px; object-fit: contain; }
.logo-copy { display: flex; flex-direction: column; gap: 0.1rem; }
.logo-text {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.logo-tagline {
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo-tagline { white-space: nowrap; }

@media (min-width: 769px) and (max-width: 1200px) {
  .header-bar { padding-left: 1rem; padding-right: 1rem; gap: 0.5rem; }
  .logo-icon, .logo-icon .logo-img { width: 42px; height: 42px; }
  .logo-text { font-size: 0.98rem; }
  .logo-tagline { display: none; }
  .nav-main a { padding: 0.45rem 0.5rem; font-size: 0.84rem; }
  .nav-main a::after { left: 0.5rem; right: 0.5rem; }
  .btn-header-donate { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
  .btn-header-outline { padding: 0.4rem 0.75rem; font-size: 0.82rem; }
}
.btn-header-donate {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-header-donate:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.32);
}
.btn-header-donate.active {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
}
.btn-header-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.btn-header-outline:hover,
.btn-header-outline.active {
  background: var(--primary);
  color: #fff !important;
}

/* Language toggle EN | हिं */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-right: 0.15rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  background: #fafaf9;
  line-height: 1;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  padding: 0.3rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 5px;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-switch__btn:hover {
  color: var(--primary);
  background: #fff;
}
.lang-switch__btn.is-active {
  color: #fff;
  background: var(--primary);
}
.lang-switch__sep {
  color: #d6d3d1;
  font-size: 0.7rem;
  font-weight: 400;
  user-select: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: var(--light); border-color: var(--primary); }
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
}
.nav-main a {
  position: relative;
  padding: 0.5rem 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-main a::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-main a:hover {
  color: var(--primary);
  background: var(--brand-light);
}
.nav-main a:hover::after { transform: scaleX(1); }
.nav-main a.active {
  color: var(--primary);
  font-weight: 700;
  background: var(--brand-light);
}
.nav-main a.active::after { transform: scaleX(1); }

.btn-app {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.btn-app:hover { transform: translateY(-2px); background: var(--primary-dark); }

/* Main content */
.main-content { min-height: 60vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Scroll & hover animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* Page Banner (full-width with image + overlay) */
.page-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--dark);
}
.page-banner--large { min-height: 85vh; max-height: 700px; }
.page-banner--home { min-height: 380px; max-height: 420px; }
.page-banner--medium { min-height: 340px; }
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,12,12,.78) 0%, rgba(185,28,28,.55) 50%, rgba(234,88,12,.35) 100%);
}
.page-banner__content { position: relative; z-index: 2; width: 100%; padding: 2rem 1rem; }
.page-banner--home .page-banner__content { padding: 1.5rem 1rem; }
.page-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.page-banner--home .page-banner__title { margin-bottom: 0.4rem; }
.page-banner__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.92);
  max-width: 560px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}
.page-banner--home .page-banner__subtitle { font-size: 1rem; margin-bottom: 1rem; }
.page-banner--home .page-banner__ctas { margin-top: 0; }
.page-banner__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
}
.btn--lg { padding: 0.85rem 1.75rem; font-size: 1.0625rem; }
.btn--primary {
  background: var(--accent);
  color: var(--white) !important;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255,255,255,.8);
}
.btn--outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--primary-dark) !important;
  border-color: var(--white);
}
.btn--white:hover { background: #fafaf9; transform: translateY(-2px); }

/* Hero (fallback if used elsewhere) */
.hero {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 40%, #fed7aa 100%);
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 2.35rem; color: var(--dark); margin: 0 0 1rem; font-weight: 700; }
.hero p { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }

/* Sections */
.section { padding: 3.25rem 0; }
.section--alt { background: var(--light); }
.section--events .section-title::after { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.section--content { padding: 3rem 0 4rem; }
.section-title {
  font-size: 1.75rem;
  color: var(--dark);
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}
.section-subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: 1rem; line-height: 1.65; max-width: 640px; }
.section--services .section-subtitle { margin-left: 0; margin-right: auto; }
.text-muted { color: var(--text-muted); }
.container--narrow { max-width: 720px; }

/* Work intro (home - our objectives) */
.section--work-intro { padding: 2rem 0; background: var(--surface); }
.work-intro {
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.work-intro strong { color: var(--primary-dark); font-weight: 700; }
.section--services { background: var(--white); }
.section--services .container { max-width: 1100px; }

/* CTA Block (full-width with bg image) */
.section--cta { padding: 0; }
.cta-block {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-block__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--dark);
}
.cta-block__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,25,23,.8) 0%, rgba(194,65,12,.6) 100%);
}
.cta-block__content { position: relative; z-index: 2; width: 100%; padding: 2.5rem 1.5rem; }
.cta-block__title { font-size: 1.6rem; font-weight: 700; color: var(--white); margin: 0 0 0.5rem; }
.cta-block__text { color: rgba(255,255,255,.92); margin: 0 0 1.25rem; max-width: 500px; margin-left: auto; margin-right: auto; font-size: 0.9375rem; }
.cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.cta-block__or { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ========== HOME PAGE — HERO SLIDER (polished) ========== */
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero--slider {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background-color: var(--dark);
}
.home-hero--ref { min-height: 560px; }
.home-hero__slides {
  position: relative;
  width: 100%;
  min-height: 560px;
}
.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  z-index: 0;
}
.home-hero__slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  will-change: transform;
}
.home-hero__slide--active .home-hero__bg {
  animation: heroKenBurns 7s ease-out forwards;
}
.home-hero__slide .home-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.home-hero__slide .home-hero__overlay::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(69, 10, 10, 0.8), transparent);
  pointer-events: none;
}
.home-hero__slide .home-hero__content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 3rem 0 4.5rem;
}
.home-hero__content .container {
  width: 100%;
  max-width: 1240px;
}
.home-hero__content-inner {
  max-width: 640px;
  text-align: left;
  opacity: 0;
  transform: translateY(24px);
}
.home-hero__slide--active .home-hero__content-inner {
  animation: heroContentIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.15s;
}
.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.35);
}
.home-hero__title {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.home-hero__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,.88);
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.home-hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.9);
  max-width: 520px;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.home-hero__actions .btn--outline {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,.55);
}
.home-hero__actions .btn--outline:hover {
  background: rgba(255,255,255,.22);
  border-color: #fff;
}

.home-hero__nav { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.home-hero__prev,
.home-hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
  z-index: 6;
  pointer-events: auto;
}
.home-hero__prev:hover,
.home-hero__next:hover {
  background: linear-gradient(135deg, var(--blood), var(--accent));
  border-color: transparent;
  transform: translateY(-50%) scale(1.05);
}
.home-hero__prev { left: 1.25rem; }
.home-hero__next { right: 1.25rem; }

.home-hero__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem 1.25rem;
  max-width: 1240px;
  margin: 0 auto;
  pointer-events: none;
}
.home-hero__counter {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.05em;
  min-width: 48px;
}
.home-hero__counter-current { color: #fff; font-size: 1.1rem; }

.home-hero__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  pointer-events: auto;
}
.home-hero__dot {
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.35s ease, background 0.25s ease;
  width: 10px;
  height: 10px;
}
.home-hero__dot:hover { background: rgba(255,255,255,.5); }
.home-hero__dot--active {
  width: 36px;
  height: 10px;
  background: linear-gradient(90deg, var(--blood), var(--accent));
  transform: none;
  box-shadow: 0 0 12px rgba(234, 88, 12, 0.45);
}

.home-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  line-height: 0;
  pointer-events: none;
}
.home-hero__wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* Legacy pillar blocks */
.home-pillars {
  padding: 3.5rem 0;
  background: var(--white);
}
.home-pillars__heading {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.4rem;
  text-align: center;
}
.home-pillars__heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.home-pillars__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}
.home-pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  max-width: 1000px;
  margin: 0 auto;
}
.home-pillar {
  background: var(--light);
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
  border: 1px solid #f5f5f4;
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.home-pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  background: var(--accent-light);
  color: var(--primary);
  border-radius: 12px;
}
.home-pillar__icon svg { display: block; }
.home-pillar__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.5rem;
}
.home-pillar__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.home-events {
  padding: 3rem 0;
  background: var(--surface);
}
.home-events__heading {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.4rem;
  text-align: center;
}
.home-events__heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.home-events__sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
}
.home-events__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.home-event {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid #f5f5f4;
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-event:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(185,28,28,.12);
}
.home-event__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e7e5e4;
}
.home-event__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.home-event:hover .home-event__img img { transform: scale(1.04); }
.home-event__body { padding: 1.25rem; }
.home-event__date {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.home-event__title { font-size: 1.1rem; font-weight: 600; color: var(--dark); margin: 0 0 0.35rem; }
.home-event__venue { font-size: 0.875rem; color: var(--text-muted); margin: 0; }
.home-event__desc { font-size: 0.9rem; color: var(--text); margin: 0.5rem 0 0; line-height: 1.5; }

.home-cta {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--dark);
}
.home-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.home-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,25,23,.85) 0%, rgba(185,28,28,.6) 100%);
}
.home-cta__content { position: relative; z-index: 2; width: 100%; padding: 2.5rem 1rem; }
.home-cta__title { font-size: 1.5rem; font-weight: 700; color: var(--white); margin: 0 0 0.4rem; }
.home-cta__text { color: rgba(255,255,255,.9); margin: 0 0 1.25rem; font-size: 0.9375rem; }
.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
/* Get in Touch: same padding for Contact Us and both app buttons */
.home-cta__actions .home-cta__btn,
.home-cta__actions .app-badge {
  padding: 14px 24px !important;
  min-height: 52px !important;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.home-cta__actions .app-badge { gap: 10px; }
.home-cta__btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-cta__btn .home-cta__btn-icon { margin-right: 8px; }
.home-cta__btn .home-cta__btn-icon svg { display: block; }
/* Contact Us button: same two-line layout as app store buttons */
.home-cta__btn.app-badge-style {
  flex-direction: row;
  gap: 10px;
  text-align: left;
}
.home-cta__btn .app-badge-style__icon { margin-right: 0; }
.home-cta__btn .app-badge-style__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.home-cta__btn .app-badge-style__line1 {
  font-size: 10px;
  opacity: .95;
  font-weight: 400;
  letter-spacing: .02em;
}
.home-cta__btn .app-badge-style__line2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
/* Contact Us in Get in Touch: white background, dark text (matches app buttons) */
.home-cta__btn {
  background: #fff !important;
  color: #1c1917 !important;
  border: 1px solid rgba(0,0,0,.1) !important;
}
.home-cta__btn:hover {
  background: #f5f5f4 !important;
  border-color: rgba(0,0,0,.15) !important;
  color: #1c1917 !important;
}

/* ========== HOME REDESIGN (reference layout) ========== */
.home-topbar {
  background: linear-gradient(90deg, #7f1d1d, #991b1b);
  color: #fff;
  font-size: 0.8125rem;
  border-bottom: 2px solid var(--accent);
}
.home-topbar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 38px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
.home-topbar__label {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
.home-topbar__ticker {
  flex: 1;
  min-width: 0;
  position: relative;
  height: 1.25rem;
  overflow: hidden;
}
.home-topbar__item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.home-topbar__item.is-active {
  opacity: 1;
  transform: translateY(0);
}
.home-topbar__phone {
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.home-topbar__phone:hover { text-decoration: underline; }

.home-band {
  padding: 2.25rem 0 2.75rem;
  background: var(--light);
  margin-top: -1px;
}
.home-band__grid {
  display: grid;
  grid-template-columns: 270px 1fr 270px;
  gap: 1.35rem;
  align-items: start;
}
.home-panel {
  background: #fff;
  border: 1px solid #fde8e8;
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.home-panel:hover { box-shadow: var(--shadow-hover); }
.home-panel__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.45rem;
}
.home-panel__title--center { text-align: center; border-bottom-color: var(--blood); }
.home-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.45rem;
}
.home-panel__head .home-panel__title { margin: 0; border: none; padding: 0; }

.home-quick-btn--primary {
  background: var(--gradient-brand);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(13, 122, 67, 0.25);
}
.home-quick-btn--primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.home-quick-btn--outline {
  background: #fff;
  color: var(--brand-dark) !important;
  border-color: var(--blood);
}
.home-quick-btn--outline:hover { background: var(--accent-light); }

.home-featured {
  background: #fff;
  border: 1px solid #fde8e8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}
.home-featured:hover { box-shadow: var(--shadow-hover); }

.home-framed-title {
  display: table;
  margin: 0 auto 1.75rem;
  padding: 0.5rem 1.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--blood);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-light), var(--shadow);
}
.home-event:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.15);
}
.home-event__badge {
  background: var(--gradient-brand);
}
.home-event__date { color: var(--brand); }

.home-cta__overlay {
  background: linear-gradient(135deg, rgba(28, 12, 12, 0.92) 0%, rgba(185, 28, 28, 0.75) 45%, rgba(234, 88, 12, 0.5) 100%);
}

.home-news-list { list-style: none; margin: 0; padding: 0; }
.home-news-list li { margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px dashed #e7e5e4; }
.home-news-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.home-news-list time { display: block; font-size: 0.75rem; color: var(--primary); font-weight: 600; margin-bottom: 0.2rem; }
.home-news-list a { color: var(--dark); font-weight: 600; text-decoration: none; font-size: 0.9rem; line-height: 1.35; }
.home-news-list a:hover { color: var(--primary); }
.home-news-list p { margin: 0.35rem 0 0; font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

.home-quick-actions { display: grid; gap: 0.5rem; }
.home-quick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-quick-btn--primary {
  background: var(--gradient-brand);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(13, 122, 67, 0.25);
}
.home-quick-btn--primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.home-quick-btn--outline {
  background: #fff;
  color: var(--brand-dark) !important;
  border-color: var(--brand);
}
.home-quick-btn--outline:hover { background: var(--green-light); }

.home-featured__media { aspect-ratio: 16/9; overflow: hidden; background: #e7e5e4; }
.home-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.home-featured__body { padding: 1.15rem 1.25rem 1.35rem; }
.home-featured__date { display: block; font-size: 0.8rem; font-weight: 600; color: var(--primary); margin-bottom: 0.35rem; }
.home-featured__title { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--dark); }
.home-featured__text { margin: 0; color: var(--text); line-height: 1.65; font-size: 0.9375rem; }
.home-link-more {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.home-link-more:hover { text-decoration: underline; }

.home-carousel-nav { display: flex; gap: 0.25rem; }
.home-carousel-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #d6d3d1;
  border-radius: 4px;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
}
.home-carousel-btn:hover { background: var(--accent-light); border-color: var(--blood); }
.home-people-carousel { position: relative; min-height: 210px; }
.home-person-card {
  display: none;
  text-align: center;
  padding: 0.25rem 0 0.5rem;
}
.home-person-card.is-active { display: block; }
.home-person-card__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--blood);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.home-person-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-person-card__name { margin: 0; font-size: 1rem; color: var(--dark); }
.home-person-card__role { margin: 0.2rem 0 0; font-size: 0.8125rem; color: var(--text-muted); font-weight: 600; }

.home-section { padding: 3rem 0; }
.home-section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.home-section-cta { text-align: center; margin-top: 1.5rem; }
.btn--block { width: 100%; max-width: 280px; }

.home-about { background: #fff; }
.home-about__grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.home-about__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px solid var(--accent-light);
  border-radius: 50%;
  background: var(--surface);
}
.home-about__logo img { display: block; }
.home-about__text p { margin: 0 0 0.75rem; line-height: 1.75; color: var(--text); }

.home-objectives { background: var(--light); }
.home-objectives__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.home-objective {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.home-objective:hover { transform: translateY(-4px); }
.home-objective__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.home-objective__img img { width: 100%; height: 100%; object-fit: cover; }
.home-objective__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.45rem 0.6rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}
.home-objective__text {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.home-events-block { background: var(--surface); }
.home-events__grid--ref { margin-top: 0.5rem; }
.home-event__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}
.home-event__img { position: relative; }

.home-gallery-preview { background: #fff; }
.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.home-gallery__item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.home-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.home-gallery__item:hover img { transform: scale(1.05); }
.home-gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.45rem 0.6rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.home-testimonials { background: var(--accent-light); }
.home-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.home-testimonial {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #fed7aa;
  box-shadow: var(--shadow);
  text-align: center;
}
.home-testimonial__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--blood);
}
.home-testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.home-testimonial__quote { margin: 0 0 0.75rem; font-style: italic; color: var(--text); line-height: 1.65; }
.home-testimonial footer strong { display: block; color: var(--dark); }
.home-testimonial footer span { font-size: 0.8125rem; color: var(--text-muted); }

.home-contact-map { background: #fff; padding-bottom: 3.5rem; }
.home-contact-map__wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  border: 2px solid #e7e5e4;
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  background: #f5f5f4;
}
.home-contact-map__wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.home-contact-map__card {
  padding: 1.25rem;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
}
.home-contact-map__card p { margin: 0 0 0.85rem; }
.home-contact-map__card a { color: var(--primary); }

@media (max-width: 768px) {
  .home-topbar__inner { flex-wrap: wrap; }
  .home-topbar__phone { width: 100%; text-align: right; font-size: 0.75rem; }
  .home-band__grid { grid-template-columns: 1fr; }
  .home-band__side--left { order: 2; }
  .home-band__main { order: 1; }
  .home-band__side--right { order: 3; }
  .home-about__grid { grid-template-columns: 1fr; text-align: center; }
  .home-about__logo { margin: 0 auto; max-width: 140px; }
  .home-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .home-contact-map__wrap { grid-template-columns: 1fr; }
  .home-pillars__grid { grid-template-columns: 1fr; }
  .home-events__grid { grid-template-columns: 1fr; }
  .home-cta { min-height: 280px; }
}

/* Content block (about page) */
.content-block { margin-bottom: 2.5rem; }
.content-block:last-child { margin-bottom: 0; }
.content-block__heading {
  font-size: 1.35rem;
  color: var(--dark);
  margin: 0 0 0.75rem;
  font-weight: 700;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
/* Inner page section titles (match home style) */
.inner-page .container { max-width: 1100px; }
.inner-section-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.5rem;
  text-align: center;
}
.inner-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  margin: 0.5rem auto 1.5rem;
  border-radius: 2px;
}
.inner-section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.content-block p { margin: 0 0 0.5rem; color: var(--text); line-height: 1.7; }
.content-list { margin: 0; padding-left: 1.5rem; color: var(--text); line-height: 1.8; }

/* Legal pages (privacy policy, terms) */
.legal-page { padding: 2.5rem 0 4rem; background: var(--light); }
.legal-page .animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: none;
}
.legal-doc {
  background: var(--white);
  border-radius: 14px;
  padding: 2.25rem 2.5rem;
  border: 1px solid #f5f5f4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.legal-doc__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.legal-doc__intro {
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.75;
  margin: 0 0 1rem;
}
.legal-doc h2 {
  font-size: 1.25rem;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
  font-weight: 700;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--primary-light);
}
.legal-doc h3 {
  font-size: 1.05rem;
  color: var(--dark);
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}
.legal-doc p {
  margin: 0 0 0.85rem;
  color: var(--text);
  line-height: 1.75;
}
.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: var(--text);
  line-height: 1.75;
}
.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc a:hover { color: var(--primary-dark); }
.legal-doc__contact { list-style: none; padding-left: 0; }
.legal-doc__contact li { margin-bottom: 0.5rem; }
@media (max-width: 640px) {
  .legal-doc { padding: 1.5rem 1.25rem; }
}

/* About stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.about-stat {
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #f5f5f4;
}
.about-stat__value { display: block; font-size: 1.125rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.about-stat__label { font-size: .875rem; color: var(--text-muted); }

/* Section app CTA */
.section-app-cta { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #e7e5e4; }
.section-app-cta__text { margin: 0 0 1rem; color: var(--text-muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid #f5f5f4;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
}
.card h3 { margin: 0 0 .5rem; color: var(--dark); font-size: 1.125rem; font-weight: 600; }
.card p { margin: 0; color: var(--text-muted); font-size: .9375rem; line-height: 1.6; }

/* Cards with image (What We Do) */
.card--with-image {
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #f5f5f4;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.card--with-image .card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e7e5e4;
  position: relative;
}
.card--with-image .card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,.15) 0%, transparent 50%);
  pointer-events: none;
}
.card--with-image .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card--with-image:hover .card__image img { transform: scale(1.05); }
.card--with-image .card__body {
  padding: 1.5rem 1.5rem 1.75rem;
  position: relative;
}
.card--with-image .card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--primary);
  color: var(--dark);
}
.card--with-image .card__body p { font-size: .9375rem; line-height: 1.65; margin: 0; }
.card-grid--with-images { gap: 1.75rem; }
.card-grid--with-images .card { border: none; }
.section--services { background: var(--white); }
.section--services .container { max-width: 1100px; }

/* Contact form (global) */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: .35rem; font-weight: 500; color: var(--dark); }
.form-group .required { color: var(--primary); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
  width: auto;
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  vertical-align: middle;
}
.form-group input[type="checkbox"]:focus,
.form-group input[type="radio"]:focus {
  outline: 2px solid rgba(185, 28, 28, 0.35);
  outline-offset: 2px;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185,28,28,.15);
}
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185,28,28,.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  padding: .75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
a.btn-submit {
  display: inline-block;
  text-decoration: none;
}
a.btn-submit:hover,
a.btn-submit:focus,
a.btn-submit:visited {
  color: var(--white);
  text-decoration: none;
}
.btn-submit:hover { background: var(--primary-dark); }
.btn-submit-block { width: 100%; margin-top: .5rem; }
.alert { padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.5rem; display: flex; align-items: flex-start; gap: .75rem; }
.alert-icon { font-weight: 700; flex-shrink: 0; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-success .alert-icon { color: #059669; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-error .alert-icon { color: #dc2626; }

/* Auth / account page */
.container-narrow { max-width: 520px; margin-left: auto; margin-right: auto; }
.auth-single-card { max-width: 720px; margin-left: auto; margin-right: auto; }
.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.auth-register-card { margin-top: 1rem; }
.auth-grid .auth-register-card { margin-top: 0; }
.auth-otp-card { margin-top: 1.5rem; }
.auth-pane-hidden { display: none; }
.auth-inline-links {
  margin: -0.35rem 0 1rem;
  text-align: right;
  font-size: 0.9rem;
}
.auth-inline-links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.auth-inline-links a:hover { text-decoration: underline; }
.auth-switch {
  margin: 1.15rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.auth-switch a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }
.auth-switch-text {
  margin: .85rem 0 0;
  font-size: .9375rem;
  color: var(--text-muted);
}
.auth-switch-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.auth-switch-link:hover { text-decoration: underline; }
.auth-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}
.auth-checkbox {
  display: flex;
  align-items: center;
  grid-column: 1 / -1;
}
.auth-checkbox label {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin: 0;
}
.auth-checkbox input[type="checkbox"] { width: auto; }
.auth-divider {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 1.2rem 0;
}
.btn-danger {
  background: #b91c1c;
}
.btn-danger:hover {
  background: #991b1b;
}

/* User portal layout */
.user-portal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  align-items: start;
}
.user-portal-page {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.user-portal-page .container-wide {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.user-portal-sidebar {
  background: #1f2937;
  border: 1px solid #111827;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 1rem;
  position: sticky;
  top: 0;
  min-height: 100vh;
  border-left: 0;
}
.user-portal-userbox {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .25rem .35rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: .75rem;
}
.user-portal-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #b91c1c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.user-portal-title {
  margin: 0;
  font-size: .95rem;
  color: #fff;
}
.user-portal-usertext {
  margin: .2rem 0 0;
  font-size: .82rem;
  color: #cbd5e1;
}
.user-portal-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.user-portal-nav a {
  text-decoration: none;
  color: #cbd5e1;
  padding: .6rem .7rem;
  border-radius: 8px;
  font-weight: 500;
}
.user-portal-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.user-portal-nav a.active {
  background: #b91c1c;
  color: #fff;
  font-weight: 600;
}
.user-portal-content {
  min-width: 0;
  padding: 1.25rem 1.5rem;
}
.user-portal-header {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #b91c1c;
  border-radius: 10px;
  padding: .9rem 1rem;
  margin-bottom: 1rem;
}
.user-portal-header h1 {
  margin: 0;
  font-size: 1.25rem;
  color: #111827;
}
.user-portal-header p {
  margin: .25rem 0 0;
  color: #6b7280;
  font-size: .9rem;
}
.user-portal-actions {
  display: flex;
  gap: .75rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}
.user-portal-actions .btn-submit {
  text-decoration: none;
}
.user-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.user-stat-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(15,23,42,.05);
}
.user-stat-label {
  display: block;
  color: #6b7280;
  font-size: .85rem;
  margin-bottom: .25rem;
}
.user-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}
.user-portal-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.user-quick-card {
  display: block;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 1rem;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.user-quick-card h4 {
  margin: 0 0 .35rem;
  color: var(--dark);
}
.user-quick-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
}
.user-quick-card:hover {
  border-color: #fecaca;
  transform: translateY(-2px);
}
.user-query-list {
  display: grid;
  gap: .75rem;
}
.user-query-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: .85rem 1rem;
  background: #fff;
}
.user-query-item p {
  margin: .5rem 0 0;
}
.user-query-head {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
}
.user-query-date {
  font-size: .85rem;
  color: #6b7280;
}
.user-query-status {
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
}
.user-query-status.pending {
  background: #fef3c7;
  color: #92400e;
}
.user-query-status.resolved {
  background: #d1fae5;
  color: #065f46;
}
.user-portal-page .contact-form-card {
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
/* Profile photo uploader (account) */
.profile-photo-card {
  margin-bottom: 1rem;
}
.profile-photo-card__head {
  margin-bottom: 1.25rem;
}
.profile-photo-card__title {
  margin-bottom: 0.35rem;
}
.profile-photo-card__desc {
  margin-bottom: 0;
}
.profile-photo-form {
  margin: 0;
}
.profile-photo-uploader {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}
.profile-photo-uploader__preview {
  flex-shrink: 0;
}
.profile-photo-uploader__frame {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.profile-photo-uploader__frame--has-new {
  border-color: #fecaca;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.profile-photo-uploader__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}
.profile-photo-uploader__badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.profile-photo-uploader__badge--current {
  background: rgba(17, 24, 39, 0.75);
  color: #fff;
}
.profile-photo-uploader__badge--new {
  background: #b91c1c;
  color: #fff;
}
.profile-photo-uploader__filename {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
  max-width: 168px;
  word-break: break-all;
  line-height: 1.35;
}
.profile-photo-uploader__side {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.profile-photo-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.35rem 1.25rem;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.profile-photo-dropzone:focus-within {
  outline: 2px solid #b91c1c;
  outline-offset: 2px;
}
.profile-photo-dropzone:hover {
  border-color: #b91c1c;
  background: #fff5f5;
}
.profile-photo-dropzone--active {
  border-color: #b91c1c;
  background: #fef2f2;
  border-style: solid;
}
.profile-photo-dropzone__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}
.profile-photo-dropzone__icon {
  color: #94a3b8;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.profile-photo-dropzone:hover .profile-photo-dropzone__icon {
  color: #b91c1c;
}
.profile-photo-dropzone__title {
  display: block;
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 0.25rem;
}
.profile-photo-dropzone__hint {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
}
.profile-photo-uploader__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.profile-photo-uploader__actions .btn-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.profile-photo-remove-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.btn-text-danger {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b91c1c;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-text-danger:hover {
  color: #991b1b;
}
@media (max-width: 600px) {
  .profile-photo-uploader {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-photo-uploader__preview {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .profile-photo-uploader__filename {
    max-width: 100%;
    text-align: center;
  }
}
.membership-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: .5rem;
}
.btn-submit-outline {
  background: #fff !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
}
a.btn-submit-outline:hover,
a.btn-submit-outline:focus,
a.btn-submit-outline:visited {
  color: var(--primary) !important;
  text-decoration: none;
}
.btn-submit-outline:hover {
  background: #fef2f2 !important;
}
.membership-card-section {
  margin-top: 1rem;
}
.membership-card-print-below {
  margin-top: 1.25rem;
  text-align: center;
}
.membership-card-print-below .btn-submit {
  text-decoration: none;
}
/* Lifetime membership card — front & back share same frame (print-ready) */
.membership-card-aadhaar {
  --mc-strip-top: 10px;
  --mc-strip-bottom: 6px;
  --mc-card-min-height: 320px;
  box-sizing: border-box;
  max-width: 420px;
  width: 100%;
  min-height: var(--mc-card-min-height);
  margin: 1rem auto 0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: inherit;
  border: 1px solid #b8b8b8;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 28px rgba(15, 23, 42, 0.12);
}
.mc-strip-top {
  height: var(--mc-strip-top);
  flex-shrink: 0;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
}
.mc-strip-bottom {
  height: var(--mc-strip-bottom);
  flex-shrink: 0;
  background: linear-gradient(90deg, #047857 0%, #059669 100%);
}
.mc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0.75rem 0.65rem;
  min-height: 0;
}
.mc-emblem {
  text-align: center;
  margin-bottom: 0.22rem;
}
.mc-logo {
  display: inline-block;
  vertical-align: middle;
}
.mc-header-text {
  text-align: center;
  margin-bottom: 0.45rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e5e7eb;
}
.mc-gov-en {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}
.mc-gov-tag {
  font-size: 0.65rem;
  color: #6b7280;
  line-height: 1.25;
  margin-top: 0.12rem;
}
.mc-sub {
  font-size: 0.72rem;
  color: #6b7280;
  margin-top: 0.12rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mc-main {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  flex: 1;
  min-height: 0;
}
.mc-photo-wrap {
  flex-shrink: 0;
}
.mc-photo {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border: 1px solid #9ca3af;
  border-radius: 2px;
  display: block;
  background: #f3f4f6;
}
.mc-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: -0.02em;
}
.mc-fields {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
}
.mc-row {
  display: flex;
  gap: 0.3rem 0.45rem;
  margin-bottom: 0.26rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.mc-label {
  color: #6b7280;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-width: 5rem;
  flex-shrink: 0;
}
.mc-value {
  font-weight: 600;
  color: #111827;
  word-break: break-word;
}
.mc-name {
  font-size: 0.95rem;
  font-weight: 700;
}
.mc-mono {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
}
.mc-valid .mc-value {
  color: #047857;
}
.mc-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}
.membership-card-aadhaar--back {
  background: #fff;
}
.mc-body--back {
  position: relative;
  overflow: hidden;
}
.mc-back-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.mc-watermark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-32deg);
  z-index: 0;
  pointer-events: none;
  text-align: center;
  opacity: 0.11;
  width: 120%;
  max-width: none;
}
.mc-watermark__line1 {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  color: #b91c1c;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.mc-watermark__line2 {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 0.2rem;
  letter-spacing: 0.06em;
  text-transform: capitalize;
}
.mc-back-foreground {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.mc-back-section-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
.mc-back-content {
  flex: 1;
  min-height: 0;
  margin-top: 0.15rem;
}
.mc-back-footer {
  flex-shrink: 0;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px dashed #e2e8f0;
  text-align: left;
}
.mc-back-footer__meta {
  margin: 0;
  font-size: 0.52rem;
  line-height: 1.35;
  color: #64748b;
  text-align: left;
}
.mc-back-footer__meta--cols {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.5rem 0.65rem;
}
.mc-back-footer__meta--cols.mc-back-footer__meta--single {
  gap: 0;
}
.mc-back-footer__meta--single .mc-back-footer__col {
  flex: 1 1 100%;
}
.mc-back-footer__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mc-back-footer__meta-line {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  word-break: break-word;
}
.mc-back-footer__ico {
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.12em;
  color: #94a3b8;
}
.mc-back-footer__meta-line:first-child .mc-back-footer__ico {
  margin-top: 0.18em;
}
.mc-back-footer__ico svg {
  display: block;
  width: 100%;
  height: 100%;
}
.mc-back-footer__val {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.mc-family-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}
.mc-family-row {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.mc-family-row:last-child {
  border-bottom: none;
}
.mc-family-line1 {
  display: flex;
  gap: 0.35rem;
  align-items: baseline;
}
.mc-family-i {
  color: #9ca3af;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.mc-family-main strong {
  color: #111827;
  font-weight: 700;
}
.mc-family-rel {
  display: inline-block;
  margin-left: 0.35rem;
  color: #6b7280;
  font-size: 0.78rem;
}
.mc-family-meta {
  margin: 0.2rem 0 0 1.15rem;
  font-size: 0.72rem;
  color: #64748b;
}
.mc-family-empty {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0.5rem 0 0;
  line-height: 1.45;
}
.blood-family-preview__box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.user-portal-nav a .nav-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  background: #b91c1c;
  color: #fff;
  border-radius: 999px;
  line-height: 1.2;
  vertical-align: middle;
}
.notification-unread {
  border-left: 3px solid #b91c1c;
  padding-left: 0.75rem;
}
.notification-donor-assigned {
  background: #fff1f2;
  border-radius: 8px;
  padding: 1rem 1rem 1rem 1rem;
  border: 1px solid #fecdd3;
}
.notification-message {
  margin-top: 0.35rem;
}
.notification-status-label {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notification-status-label--donor {
  background: #fce7f3;
  color: #9d174d;
}
/* Blood request workflow — shared by notifications + history table */
.notification-status-label--pending,
.request-status-badge--pending {
  background: #fef3c7;
  color: #92400e;
}
.notification-status-label--processing,
.request-status-badge--processing {
  background: #dbeafe;
  color: #1e40af;
}
.notification-status-label--arranged,
.request-status-badge--arranged {
  background: #ede9fe;
  color: #5b21b6;
}
.notification-status-label--fulfilled,
.request-status-badge--fulfilled {
  background: #d1fae5;
  color: #065f46;
}
.notification-status-label--cancelled,
.request-status-badge--cancelled {
  background: #f3f4f6;
  color: #4b5563;
}
.notification-status-label--general,
.notification-status-label--other {
  background: #f3f4f6;
  color: #4b5563;
}
.request-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.notification-actions {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}
.notification-actions a {
  color: var(--primary);
  font-weight: 600;
}
.family-member-card .text-muted {
  color: #64748b;
  font-weight: 500;
  margin-left: 0.35rem;
}
.family-member-meta {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: #475569;
}
.family-member-edit {
  margin-top: 0.5rem;
}
.family-member-edit summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}
.btn-danger-outline {
  background: #fff !important;
  color: #b91c1c !important;
  border: 1px solid #b91c1c !important;
}
.btn-danger-outline:hover {
  background: #fef2f2 !important;
}

/* Family members — list + modal */
.user-portal-header--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.user-portal-header__sub {
  margin: 0.35rem 0 0;
  max-width: 42rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.45;
}
.family-empty-card {
  text-align: center;
  padding: 2rem 1.25rem;
}
.family-empty-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #111827;
}
.family-list-card .family-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.family-member-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.family-member-list__item:last-child {
  border-bottom: none;
}
.family-member-list__name {
  font-size: 1.05rem;
  color: #111827;
}
.family-member-list__rel {
  color: #64748b;
  font-weight: 500;
  margin-left: 0.35rem;
}
.family-member-list__meta {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #475569;
}
.family-member-list__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.family-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.family-btn__icon {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1;
}
.family-btn--edit {
  background: #fff;
  color: #b91c1c;
  border-color: #fecaca;
}
.family-btn--edit:hover,
.family-btn--edit:focus {
  background: #fef2f2;
  border-color: #f87171;
  color: #991b1b;
}
.family-btn--remove {
  background: #fff;
  color: #b91c1c;
  border-color: #fecaca;
}
.family-btn--remove:hover,
.family-btn--remove:focus {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}
.family-delete-form {
  display: inline;
  margin: 0;
}
.family-max-note {
  color: #64748b;
  font-size: 0.9rem;
}
.portal-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.portal-modal.is-open {
  display: flex;
}
.portal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  cursor: pointer;
}
.portal-modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  border: 1px solid #e5e7eb;
}
.portal-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.portal-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
}
.portal-modal__close {
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}
.portal-modal__close:hover {
  color: #111827;
}
.portal-modal__body {
  padding: 1rem 1.25rem 0;
  margin: 0;
}
.portal-modal__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #f1f5f9;
  margin-top: 0.5rem;
}
body.portal-modal-open {
  overflow: hidden;
}
@media (max-width: 900px) {
  .user-portal-layout {
    grid-template-columns: 1fr;
  }
  .user-portal-page .container-wide {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .user-portal-sidebar {
    position: static;
    min-height: auto;
    border-radius: 12px;
    border-left: 1px solid #111827;
  }
  .user-portal-quick-grid {
    grid-template-columns: 1fr;
  }
  .user-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .user-portal-content {
    padding: 0;
  }
  .auth-grid,
  .auth-columns {
    grid-template-columns: 1fr;
  }
}

/* Contact page */
.hero-contact { padding: 3rem 1.5rem; }
.hero-desc { max-width: 560px; margin: 0 auto; font-size: 1.0625rem; color: var(--text-muted); }
.contact-section { padding: 2.5rem 0 3.5rem; background: var(--light); }
.contact-map-title {
  font-size: 1.25rem;
  font-weight: 700;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  margin-bottom: 1rem;
}
.container-wide { max-width: 1100px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
.contact-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid #f5f5f4;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.contact-form-title { font-size: 1.35rem; font-weight: 700; color: var(--dark); margin: 0 0 .35rem; }
.contact-form-desc { color: var(--text-muted); font-size: .9375rem; margin: 0 0 1.5rem; }
.auth-legal-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
}
.auth-legal-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-legal-note a:hover { color: var(--primary-dark); }
.contact-form .form-group:last-of-type { margin-bottom: 1rem; }
.contact-details-side { position: sticky; top: 6rem; }
.contact-side-title { font-size: 1.25rem; color: var(--dark); margin: 0 0 .35rem; }
.contact-side-desc { color: var(--text-muted); font-size: .9375rem; margin: 0 0 1.5rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-cards-empty { color: var(--text-muted); font-size: .9375rem; }
.contact-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-card-icon-phone { background: var(--accent-light); color: var(--primary); }
.contact-card-icon-email { background: var(--accent-light); color: var(--primary-dark); }
.contact-card-icon-address { background: var(--accent-light); color: var(--primary-dark); }
.contact-card h3 { margin: 0 0 .25rem; font-size: .8125rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.contact-card a, .contact-card span { color: var(--dark); font-weight: 500; text-decoration: none; }
.contact-card a:hover { color: var(--primary); }
.contact-card-address span { white-space: pre-line; }
/* Contact info block (proper address display) */
.contact-info-block {
  margin-bottom: 1.25rem;
}
.contact-info-row {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .75rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.contact-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-row:first-child { padding-top: 0; }
.contact-info-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.contact-info-value {
  font-size: 1rem;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.5;
}
.contact-info-value:hover { color: var(--primary); }
.contact-info-address { white-space: pre-line; }
.contact-info-row-address .contact-info-value { font-weight: 500; }

/* Contact social */
.contact-social-wrap { margin-bottom: 1.5rem; }
.contact-social-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

/* Contact map */
.contact-map-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e2e8f0; }
.contact-map-title { font-size: 1.25rem; color: var(--dark); margin: 0 0 1rem; }
.contact-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
}
.contact-map-iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.contact-map-link {
  display: block;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--primary);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  transition: background .2s;
}
.contact-map-link:hover { background: var(--light); }

/* Social icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: transform .2s, opacity .2s;
}
.social-icon:hover { transform: scale(1.08); opacity: .9; }
.social-icon svg { display: block; }
.social-icon-fb { background: #1877f2; }
.social-icon-insta { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.social-icon-tw { background: #000; }
.social-icon-yt { background: #ff0000; }
.social-icons-footer .social-icon {
  width: 36px;
  height: 36px;
  color: #94a3b8;
  background: rgba(255,255,255,.1);
}
.social-icons-footer .social-icon:hover { background: var(--primary); color: var(--white); }
.social-icons-footer .social-icon svg { width: 18px; height: 18px; }
.social-icons-contact .social-icon { width: 38px; height: 38px; }
.footer-social-wrap { margin-top: 1rem; }

.contact-app-cta {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
}
.contact-app-cta p { margin: 0 0 1rem; font-size: .9375rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: #292524;
  color: #d6d3d1;
  padding: 0;
  margin-top: 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { max-width: none; }
  .footer-app {
    align-items: center;
  }
  .footer-app__text {
    max-width: none;
  }
  .app-badges-footer {
    max-width: 220px;
    margin: 0 auto;
  }
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--white);
  margin-bottom: .75rem;
}
.footer-logo:hover { color: var(--white); opacity: .9; }
.footer-logo-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-logo-icon .footer-logo-img { display: block; width: 40px; height: 40px; object-fit: contain; }
.footer-logo-text { font-weight: 700; font-size: 1.125rem; }
.footer-tagline { margin: 0; font-size: .9rem; line-height: 1.6; color: #94a3b8; }
.footer-heading {
  color: var(--white);
  font-size: .9375rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: .02em;
}
.footer-links ul, .footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact-list li { margin-bottom: .5rem; }
.footer-links a, .footer-app a, .footer-contact-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: .9375rem;
  transition: color .2s;
}
.footer-links a:hover, .footer-contact-list a:hover { color: var(--white); }
.footer-app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-app p,
.footer-app__text {
  margin: 0 0 1rem;
  font-size: .9rem;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 240px;
}
.app-badges-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  max-width: 200px;
}
.app-badges-footer .app-badge {
  width: 100%;
  justify-content: flex-start;
  padding: 9px 12px 9px 10px;
  box-sizing: border-box;
}
.app-badges-footer .app-badge-text {
  align-items: flex-start;
  min-width: 0;
}
.btn-app-footer { margin-top: .25rem; }
.footer-contact-list li { font-size: .9375rem; }
.footer-contact-label { display: inline-block; min-width: 3.5rem; color: #64748b; }
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: .875rem; color: #64748b; }
.footer-legal-links {
  margin-top: 0.5rem !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}
.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: var(--white); }
.footer-legal-links span { color: #64748b; }

/* App Store / Google Play badges */
.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: #000;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15);
  transition: opacity .2s, transform .15s;
}
.app-badge:hover { opacity: .9; transform: translateY(-1px); }
.app-badge-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-badge-icon-apple { color: #fff; }
.app-badge-icon-google { color: #fff; }
.app-badge-icon-google svg { display: block; }
.app-badges--light .app-badge-icon-google { color: #1c1917; }
.app-badge-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.app-badge-line1 { font-size: 10px; opacity: .95; }
.app-badge-line2 { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.app-badges.app-badges-hero { justify-content: center; margin-top: 1rem; }
.app-badges.app-badges-hero .app-badge { padding: 10px 16px 10px 14px; }
.app-badges.app-badges-hero .app-badge-line1 { font-size: 11px; }
.app-badges.app-badges-hero .app-badge-line2 { font-size: 18px; }
.app-badges.app-badges-center { justify-content: center; margin-top: 1.25rem; }

/* Gallery */
.section--gallery { padding: 2.5rem 0 4rem; }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0;
  justify-content: center;
}
.gallery-filter-btn {
  padding: .5rem 1rem;
  border: 1px solid #e2e8f0;
  background: var(--white);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-size: .9375rem;
  transition: background .2s, border-color .2s, color .2s;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out, box-shadow 0.3s ease, visibility 0.35s ease;
}
.gallery-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.gallery-item.gallery-item--hidden {
  opacity: 0;
  transform: scale(0.96) translateY(10px);
  pointer-events: none;
  visibility: hidden;
}
.gallery-item.gallery-item--off {
  display: none !important;
}
.gallery-grid--animating {
  min-height: 200px;
}
.gallery-link {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.gallery-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-link:hover img { transform: scale(1.08); }
.gallery-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .5rem .75rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-size: .875rem;
}
.gallery-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }

/* Sunzine-style gallery: filter buttons, selected like a button */
.gallery-sunzine .gallery-filters {
  gap: 0.5rem 0.75rem;
  margin: 2rem 0 2.5rem;
  justify-content: center;
}
.gallery-sunzine .gallery-filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid #e5e7eb;
  background: var(--white);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.gallery-sunzine .gallery-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(185, 28, 28, 0.06);
}
.gallery-sunzine .gallery-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.gallery-sunzine .gallery-filter-btn.active:hover {
  background: #991b1b;
  border-color: #991b1b;
  color: var(--white);
}

.gallery-grid--sunzine {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}
.gallery-sunzine .gallery-item {
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, visibility 0.4s ease;
}
.gallery-sunzine .gallery-item.gallery-item--hidden {
  transform: scale(0.96) translateY(12px);
}
.gallery-sunzine .gallery-item:hover { transform: none; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.gallery-sunzine .gallery-link {
  background: #f3f4f6;
}
.gallery-sunzine .gallery-link-img-wrap {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery-sunzine .gallery-link img {
  transition: transform 0.5s ease;
}
.gallery-sunzine .gallery-link:hover img { transform: scale(1.06); }
.gallery-sunzine .gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-sunzine .gallery-link:hover .gallery-item-overlay { opacity: 1; }
.gallery-sunzine .gallery-item-overlay-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease;
}
.gallery-sunzine .gallery-link:hover .gallery-item-overlay-icon {
  transform: scale(1.05);
  background: rgba(255,255,255,.15);
}
.gallery-sunzine .gallery-item-overlay-title {
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: center;
  padding: 0 1rem;
  max-width: 100%;
}

.app-badges--light .app-badge { background: rgba(255,255,255,.95); color: #1c1917 !important; border-color: rgba(255,255,255,.5); }
.app-badges--light .app-badge:hover { background: var(--white); }
/* On white/light background, Apple icon black for visibility */
.app-badges--light .app-badge-icon-apple { color: #1c1917 !important; }

/* Events (home) */
.section--events { padding: 3rem 0; background: var(--surface); }
.section--events .section-title { margin-bottom: .5rem; }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f5f5f4;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.event-card__image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e7e5e4;
}
.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.event-card:hover .event-card__image img { transform: scale(1.05); }
.event-card__image--placeholder img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { padding: 1.25rem; }
.event-card__date {
  font-size: .8125rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: .35rem;
  display: block;
}
.event-card__title { font-size: 1.1rem; margin: 0 0 .5rem; color: var(--dark); font-weight: 600; }
.event-card__venue { font-size: .875rem; color: var(--text-muted); margin: 0; }
.event-card__desc { font-size: .9rem; margin: .5rem 0 0; color: var(--text); line-height: 1.5; }
.section--events .section-subtitle { margin-bottom: 0; }

/* Page content */
.page-content { padding: 2rem 0 4rem; }
.page-content h1 { font-size: 1.75rem; color: var(--dark); margin: 0 0 1rem; }
.page-content p { margin-bottom: 1rem; color: var(--text); }
.page-content ul { margin: 0 0 1rem; padding-left: 1.5rem; }

/* Blood request — sectioned form */
.blood-request-page .user-portal-header {
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.25rem 1.15rem;
}
.blood-request-page .user-portal-content {
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.blood-request-page .user-portal-header + .alert,
.blood-request-page .alert {
  margin-bottom: 1.25rem;
}
.blood-request-page .blood-request-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}
.blood-request-page .alert + .blood-request-form-wrap {
  margin-top: 0.25rem;
}
.blood-request-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.blood-request-page .blood-form-panel.contact-form-card {
  padding: 1.75rem 2rem;
  border-radius: 14px;
  border: 1px solid #ebe4e4;
  box-shadow: 0 4px 18px rgba(185, 28, 28, 0.07);
  margin: 0;
}
.blood-form-panel {
  border: 1px solid #e8dede;
  box-shadow: 0 2px 10px rgba(185, 28, 28, 0.06);
  margin: 0;
}
.blood-form-panel__title {
  font-size: 1.125rem;
  margin: 0 0 0.35rem;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.blood-form-panel__hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.45;
}
.blood-request-page .blood-form-panel .auth-columns {
  gap: 1rem 1.25rem;
}
.blood-request-page .blood-form-panel .form-group {
  margin-bottom: 0.85rem;
}
.blood-request-page .blood-form-panel .auth-columns > .form-group:last-child {
  margin-bottom: 0;
}
.blood-checkbox-group {
  margin-bottom: 0.85rem;
}
.blood-request-page .auth-columns .blood-checkbox-group {
  grid-column: 1 / -1;
}
.blood-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: #fff9f9;
  border: 1px solid #f0dede;
  box-sizing: border-box;
}
.blood-checkbox-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.blood-checkbox-row label {
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  display: block;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
  cursor: pointer;
}
.blood-request-page .backup-toggle-row .blood-checkbox-row,
.blood-request-page .auth-columns .blood-checkbox-group .blood-checkbox-row {
  min-height: 2.85rem;
}
.backup-toggle-row {
  margin-top: 0;
  margin-bottom: 0;
}
.backup-donor-block {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f0e3e3;
}
.blood-form-panel--nested {
  border-style: dashed;
  background: #fffdfd;
}
.blood-request-page .blood-request-submit-card {
  margin-top: 0.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  border: 1px solid #ebe4e4;
  box-shadow: 0 4px 18px rgba(185, 28, 28, 0.07);
  background: linear-gradient(180deg, #fff 0%, #fffbfb 100%);
}
.blood-request-submit-card {
  border: 1px solid #e8dede;
  box-shadow: 0 2px 10px rgba(185, 28, 28, 0.06);
  padding: 1rem 1.25rem;
}
.blood-request-recent {
  margin-top: 2rem;
}
.blood-request-recent__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.blood-request-recent__head .contact-form-title {
  margin-bottom: 0;
}
.blood-request-recent__all {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.blood-request-recent__all:hover {
  text-decoration: underline;
}
.blood-request-history-page .user-portal-content {
  padding-bottom: 2rem;
}
.blood-request-history-card {
  padding: 0;
  overflow: hidden;
}
.blood-request-history-wrap {
  overflow-x: auto;
}
.blood-request-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.blood-request-history-table th,
.blood-request-history-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.blood-request-history-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  background: #fafafa;
  white-space: nowrap;
}
.blood-request-history-table tbody tr:last-child td {
  border-bottom: none;
}
.blood-request-history-table tbody tr:hover td {
  background: #fffafb;
}
@media (max-width: 720px) {
  .blood-request-history-table thead {
    display: none;
  }
  .blood-request-history-table tbody tr {
    display: block;
    border-bottom: 1px solid #f1f5f9;
    padding: 0.75rem 0;
  }
  .blood-request-history-table tbody tr:last-child {
    border-bottom: none;
  }
  .blood-request-history-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 1rem;
    border: none;
    text-align: right;
  }
  .blood-request-history-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748b;
    text-align: left;
    flex-shrink: 0;
  }
}
.backup-donor-row {
  border: 1px dashed #dfb5b5;
  background: #fffdfd;
}
@media (max-width: 768px) {
  .blood-request-page .blood-request-form-wrap {
    gap: 1.35rem;
    margin-top: 1.25rem;
  }
  .blood-request-page .blood-form-panel.contact-form-card {
    padding: 1.35rem 1.25rem;
  }
  .blood-request-page .user-portal-header {
    margin-bottom: 1.25rem;
    padding: 1rem 1rem 1.05rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-top__inner {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
  }
  .header-ticker { order: 1; width: 100%; }
  .header-top__contact {
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .header-top__contact a { font-size: 0.72rem; }
  .header-bar {
    display: flex;
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
  }
  .logo { flex: 1; min-width: 0; }
  .nav-toggle { display: flex; }
  .header-actions {
    order: 3;
    width: 100%;
    justify-content: stretch;
    gap: 0.5rem;
  }
  .header-actions .btn-header-donate,
  .header-actions .btn-header-outline { flex: 1; justify-content: center; text-align: center; }
  .header-actions .lang-switch { flex: 0 0 auto; margin-right: auto; }
  .nav-main {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    padding: 0.35rem 0 0.5rem;
    border-top: 1px solid #f5e6e8;
  }
  .site-header.nav-open .nav-main { display: flex; }
  .nav-main a { display: block; padding: 0.7rem 0.35rem; width: 100%; }
  .nav-main a::after { display: none; }
  .home-hero--slider { min-height: 460px; }
  .home-hero__slides,
  .home-hero__slide .home-hero__content { min-height: 460px; }
  .home-hero__title { font-size: 1.65rem; }
  .home-hero__slide .home-hero__content { padding: 2rem 0 5rem; text-align: center; }
  .home-hero__content-inner { max-width: 100%; text-align: center; margin: 0 auto; }
  .home-hero__actions { justify-content: center; }
  .home-hero__prev { left: 0.5rem; width: 42px; height: 42px; }
  .home-hero__next { right: 0.5rem; width: 42px; height: 42px; }
  .home-hero__footer { padding-bottom: 1rem; }
  .page-banner--large { min-height: 70vh; }
  .page-banner--home { min-height: 320px; max-height: none; }
  .page-banner--medium { min-height: 280px; }
  .page-banner__title { font-size: 1.5rem; }
  .page-banner__subtitle { font-size: 0.9375rem; }
  .page-banner__ctas { flex-direction: column; }
  .work-intro { font-size: 1rem; padding: 0 0.5rem; }
  .cta-block { min-height: 320px; }
  .cta-block__content { padding: 2rem 1rem; }
  .cta-block__title { font-size: 1.5rem; }
  .cta-block__actions { flex-direction: column; }
  .hero { padding: 2.5rem 1rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 2rem 0; }
  .section-title { font-size: 1.5rem; }
  .container { padding: 0 1rem; }
  .contact-details-side { position: static; }
  .contact-form-card { padding: 1.5rem; }
  .contact-map-iframe { height: 260px; }
  .app-badge { padding: 10px 12px; }
  .app-badge-line1 { font-size: 9px; }
  .app-badge-line2 { font-size: 14px; }
  .footer-social-wrap { margin-top: .75rem; }
}
/* ── Events (shared cards + pages) ── */
.event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  min-width: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.event-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.event-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.event-slider {
  position: relative;
  background: #f1f5f9;
}
.event-slider__viewport {
  overflow: hidden;
  width: 100%;
}
.event-slider__track {
  display: flex;
  align-items: stretch;
  transition: transform 0.35s ease;
}
.event-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
}
.event-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.event-slider__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.event-slider__btn--prev { left: 0.5rem; }
.event-slider__btn--next { right: 0.5rem; }
.event-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
}
.event-slider__dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}
.event-slider__dot.is-active { background: #fff; }
.event-slider--detail {
  margin: 0 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
}
.event-slider--detail .event-slider__slide img {
  max-height: 560px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.event-slider--detail .event-slider__btn {
  width: 36px;
  height: 36px;
}
.event-card:hover .event-slider--multi img { transform: none; }
.event-card__img {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}
.event-card__img .event-slider__slide img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}
.event-card__img--empty { background: var(--brand-light); min-height: 200px; }
.event-card__img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  object-position: center;
}
.event-card__date {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  background: #fff;
  border-radius: 8px;
  padding: 0.28rem 0.45rem;
  text-align: center;
  line-height: 1.1;
  border: 1px solid #e7e5e4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.event-card__date strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand);
}
.event-card__date span {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}
.event-card__status {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.event-card__status--upcoming {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.event-card__status--past {
  background: #f5f5f4;
  color: #57534e;
  border: 1px solid #e7e5e4;
}
.event-card__body {
  flex: 1;
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.event-card__body h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}
.event-card__meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--brand);
  font-weight: 600;
  line-height: 1.45;
}
.event-card__text {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-card__more {
  margin-top: auto;
  padding-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}

.section--events { padding: 3rem 0 3.5rem; }
.events-block { margin-bottom: 2.5rem; }
.events-block--past { margin-bottom: 0; padding-top: 0.5rem; border-top: 1px solid #e7e5e4; }
.events-block__title {
  display: none;
  margin: 0 0 1.25rem;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.events-empty {
  margin: 0;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
  background: #fff;
  border: 1px dashed #e7e5e4;
  border-radius: 12px;
}

.section--event-detail { padding: 2.5rem 0 3.5rem; }
.event-detail__back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.event-detail__back:hover { text-decoration: underline; }
.event-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
}
.event-detail__status {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.event-detail__status--upcoming {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.event-detail__status--past {
  background: #f5f5f4;
  color: #57534e;
  border: 1px solid #e7e5e4;
}
.event-detail__date {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
}
.event-detail__figure {
  margin: 0 0 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  background: #f1f5f9;
}
.event-detail__figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
.event-detail__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--brand-light);
  border: 1px solid #fecaca;
  border-radius: 10px;
}
.event-detail__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--text);
}
.event-detail__info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand);
}
.event-detail__content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}
.event-detail__content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

@media (max-width: 992px) {
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-card__img { min-height: 180px; }
  .event-card__img .event-slider__slide img,
  .event-card__img img { max-height: 220px; }
  .event-detail__figure img,
  .event-slider--detail .event-slider__slide img { max-height: 360px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.35rem; }
  .footer-top { padding: 2rem 0 1.5rem; gap: 1.5rem; }
  .footer-logo { justify-content: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
}

/* ── Our Team page ── */
.team-page {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 50% -8%, rgba(254, 202, 202, 0.4), transparent 55%),
    #f5f5f4;
}
.team-page > .container {
  position: relative;
  z-index: 1;
}

.team-empty {
  max-width: 460px;
  margin: 0.5rem auto;
  padding: 2.75rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
}
.team-empty__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-light);
}
.team-empty h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}
.team-empty p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.team-intro {
  max-width: 560px;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.team-intro__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.team-intro__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--dark);
}
.team-intro__text {
  margin: 0 auto;
  max-width: 44ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.team-directory {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1040px;
}

.team-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(28, 25, 23, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(16px);
  animation: teamCardIn 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.05s);
}
@keyframes teamCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(185, 28, 28, 0.12);
}

.team-card__photo {
  aspect-ratio: 1 / 1;
  background: #e7e5e4;
  overflow: hidden;
}
.team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}
.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

.team-card__body {
  flex: 1;
  padding: 1.25rem 1.25rem 1.1rem;
}
.team-card__name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #1c1917;
  word-break: break-word;
}

.team-card__footer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding: 0.9rem 1.25rem 1.1rem;
  border-top: 1px solid #e7e5e4;
}
.team-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--brand);
}
.team-card__role {
  font-size: 0.875rem;
  font-weight: 600;
  color: #57534e;
  line-height: 1.35;
  word-break: break-word;
}

.team-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  margin-top: 3.25rem;
  padding: 1.6rem 1.75rem;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand) 55%, #c2410c);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 14px 40px rgba(153, 27, 27, 0.22);
}
.team-cta__copy h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: #fff;
}
.team-cta__copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}
.team-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.team-cta .btn--primary {
  background: #fff;
  color: var(--brand-dark) !important;
  border-color: #fff;
  box-shadow: none;
}
.team-cta .btn--primary:hover {
  background: #fef2f2;
  border-color: #fef2f2;
  transform: none;
}
.team-cta .btn--outline-dark {
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: transparent;
}
.team-cta .btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

@media (max-width: 900px) {
  .team-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .team-page { padding: 2.5rem 0 3rem; }
  .team-intro { margin-bottom: 2rem; }
  .team-directory {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
  .team-card__name { font-size: 1.1rem; }
  .team-cta {
    flex-direction: column;
    text-align: center;
    padding: 1.35rem 1.25rem;
  }
  .team-cta__actions { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .team-card {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .team-card__photo img {
    transition: none;
  }
}
