/* Kumar Health Welfare Society — KES-inspired NGO layout */
:root {
  --ink: #1a2332;
  --ink-soft: #4a5568;
  --brand: #0b5c8c;
  --brand-deep: #063a5c;
  --brand-mid: #1276b0;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --orange: #f07c1e;
  --orange-deep: #d9650a;
  --gold: #eab308;
  --green: #16a34a;
  --red: #dc2626;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: rgba(26, 35, 50, 0.1);
  --shadow: 0 12px 40px rgba(6, 58, 92, 0.12);
  --radius: 14px;
  --nav-h: 72px;
  --topbar-h: 42px;
  --max: 1200px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  background: var(--paper);
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* ——— Top bar ——— */
.topbar {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--teal-deep));
  color: var(--white);
  font-size: 0.88rem;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.topbar-news {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.topbar-news .label {
  flex-shrink: 0;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 28s linear infinite;
}

@keyframes ticker {
  to { transform: translateX(-100%); }
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.topbar-meta a {
  color: var(--white);
  font-weight: 600;
  opacity: 0.95;
}

.topbar-meta a:hover { color: var(--gold); }

.socials {
  display: flex;
  gap: 0.45rem;
}

.socials a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ——— Header / Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(6, 58, 92, 0.08);
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.55rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(11, 92, 140, 0.28);
}

.brand-mark span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--brand-deep);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
}

.brand-text small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-bar {
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem;
  padding: 0.35rem 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 550;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  transition: 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(240, 124, 30, 0.3);
}

.btn-blue {
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(11, 92, 140, 0.28);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  border-color: rgba(11, 92, 140, 0.25);
  color: var(--brand-deep);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
}

/* ——— Hero Slider ——— */
.hero-slider {
  position: relative;
  min-height: min(78vh, 640px);
  overflow: hidden;
  color: var(--white);
  background: var(--brand-deep);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: none;
}

.slide.active img {
  animation: slideZoom 8s var(--ease) forwards;
}

@keyframes slideZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.slide-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 58, 92, 0.88) 0%, rgba(6, 58, 92, 0.55) 45%, rgba(13, 148, 136, 0.35) 100%),
    linear-gradient(180deg, transparent 30%, rgba(6, 40, 60, 0.65));
}

.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  padding: 3rem 0;
  max-width: 680px;
  margin-left: max(1rem, calc((100% - var(--max)) / 2));
}

.slide-kicker {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  width: fit-content;
}

.slide-content h1,
.slide-content .slide-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.slide-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 550;
  margin: 0 0 0.85rem;
  max-width: 22ch;
}

.slide-content p {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 46ch;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.slider-dots button.active {
  background: var(--orange);
  transform: scale(1.2);
}

/* ——— Page hero ——— */
.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-media,
.page-hero .hero-shade { position: absolute; inset: 0; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-shade {
  background: linear-gradient(105deg, rgba(6, 58, 92, 0.88), rgba(13, 148, 136, 0.45));
}
.page-hero .hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.5rem;
}
.page-hero .hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 0.5rem;
}
.page-hero p { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, 0.9); }

/* ——— Sections ——— */
.section { padding: clamp(3rem, 6vw, 4.75rem) 0; }
.section-alt { background: var(--white); }
.section-tint {
  background: linear-gradient(180deg, #e8f4fc 0%, #f0faf8 100%);
}
.section-dark {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, var(--teal-deep));
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .eyebrow { color: var(--gold); }

.section-head h2,
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-dark .section-head p { color: rgba(255, 255, 255, 0.85); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-copy { order: 2; }

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  position: relative;
}

.media-frame.tall { aspect-ratio: 3 / 4; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.prose p + p { margin-top: 1rem; }
.prose ul {
  padding-left: 1.15rem;
  color: var(--ink-soft);
  list-style: disc;
}
.prose li + li { margin-top: 0.4rem; }

/* ——— Quick links (KES style) ——— */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.75rem;
  position: relative;
  z-index: 5;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--brand);
  transition: transform 0.25s var(--ease);
}

.quick-card:nth-child(2) { border-top-color: var(--teal); }
.quick-card:nth-child(3) { border-top-color: var(--orange); }
.quick-card:nth-child(4) { border-top-color: var(--green); }

.quick-card:hover { transform: translateY(-6px); }

.quick-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.85rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
}

.quick-card:nth-child(2) .quick-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
}
.quick-card:nth-child(3) .quick-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}
.quick-card:nth-child(4) .quick-icon {
  background: linear-gradient(135deg, var(--green), #15803d);
}

.quick-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.quick-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ——— Goals grid ——— */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.goal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 92, 140, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.goal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(6, 58, 92, 0.16);
}

.goal-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand), var(--teal));
}

.goal-card:nth-child(2) .icon { background: linear-gradient(135deg, #db2777, #f472b6); }
.goal-card:nth-child(3) .icon { background: linear-gradient(135deg, var(--green), #4ade80); }
.goal-card:nth-child(4) .icon { background: linear-gradient(135deg, var(--teal), #2dd4bf); }
.goal-card:nth-child(5) .icon { background: linear-gradient(135deg, var(--orange), var(--gold)); }
.goal-card:nth-child(6) .icon { background: linear-gradient(135deg, var(--red), #f97316); }

.goal-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.goal-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ——— Focus / service lists ——— */
.focus-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.focus-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  border-top: 3px solid var(--brand);
  box-shadow: var(--shadow);
}

.focus-item:nth-child(2) { border-top-color: var(--orange); }
.focus-item:nth-child(3) { border-top-color: var(--teal); }

.focus-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.45rem;
}

.focus-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-row:hover {
  background: #eef7fc;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--brand);
  font-weight: 700;
}

.service-row h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.service-row p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.service-link { color: var(--orange); font-weight: 700; white-space: nowrap; }

/* ——— Team / Management cards ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(11, 92, 140, 0.06);
}

.team-card .photo {
  aspect-ratio: 1;
  background:
    linear-gradient(145deg, rgba(11, 92, 140, 0.85), rgba(13, 148, 136, 0.75)),
    #0b5c8c;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .body { padding: 1.1rem 0.9rem 1.25rem; }

.team-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.team-card .role {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.team-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.leader {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  border-top: 3px solid var(--brand);
  box-shadow: var(--shadow);
}

.leader:nth-child(2) { border-top-color: var(--orange); }
.leader:nth-child(3) { border-top-color: var(--teal); }

.leader .role {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.leader h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 0.45rem;
}

.leader p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.member-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  padding: 0;
}

.member-list li {
  list-style: none;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.member-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* ——— Gallery ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery-grid a,
.gallery-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-grid a:hover img,
.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 0.75rem;
}

.mosaic figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(6, 58, 92, 0.85));
}

/* ——— Donate cards ——— */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.donate-card {
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem;
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.donate-card:nth-child(1) {
  background: linear-gradient(145deg, #0b5c8c, #1276b0);
}
.donate-card:nth-child(2) {
  background: linear-gradient(145deg, #dc2626, #f07c1e);
}
.donate-card:nth-child(3) {
  background: linear-gradient(145deg, #0d9488, #16a34a);
}
.donate-card:nth-child(4) {
  background: linear-gradient(145deg, #7c3aed, #db2777);
}
.donate-card:nth-child(5) {
  background: linear-gradient(145deg, #b45309, #eab308);
}
.donate-card:nth-child(6) {
  background: linear-gradient(145deg, #063a5c, #0f766e);
}

.donate-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
}

.donate-card p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* ——— Stats ——— */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: linear-gradient(125deg, var(--brand-deep), var(--brand), var(--teal-deep));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.stat-band strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 0.2rem;
}

.stat-band span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

/* ——— Trust / legal ——— */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
}

.trust-item {
  background: var(--white);
  border-radius: 10px;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
}

.trust-item dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.trust-item dd { margin: 0; font-weight: 560; }

.legal-note {
  background: #e8f4fc;
  border-left: 4px solid var(--brand);
  padding: 1rem 1.15rem;
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.timeline {
  display: grid;
  gap: 0;
  border-left: 3px solid rgba(11, 92, 140, 0.25);
  padding-left: 1.35rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 1.4rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(240, 124, 30, 0.2);
}

.timeline-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.timeline-item p { margin: 0; color: var(--ink-soft); }

/* ——— Forms ——— */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 650; }

.field input,
.field textarea,
.field select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem 0.95rem;
  background: #fafbfd;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(18, 118, 176, 0.15);
}

.field textarea { min-height: 130px; resize: vertical; }
.form-note { margin-top: 0.75rem; color: var(--ink-soft); font-size: 0.9rem; }

.amount-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.amount-options button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0.6rem 0.95rem;
  cursor: pointer;
  font-weight: 700;
}

.amount-options button.active,
.amount-options button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.contact-details { display: grid; gap: 1.1rem; }
.contact-details h3 {
  font-family: var(--font-display);
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
}
.contact-details p { margin: 0; color: var(--ink-soft); }
.contact-details a { color: var(--brand); font-weight: 700; }

/* ——— CTA ——— */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  min-height: 240px;
  display: grid;
  align-items: center;
}

.cta-band .bg,
.cta-band .shade { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .shade {
  background: linear-gradient(105deg, rgba(6, 58, 92, 0.92), rgba(13, 148, 136, 0.55), rgba(240, 124, 30, 0.45));
}
.cta-band .inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 560px;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.65rem;
}
.cta-band p { margin: 0 0 1.15rem; color: rgba(255, 255, 255, 0.9); }

/* ——— Footer ——— */
.site-footer {
  background: linear-gradient(160deg, #05263d, #063a5c 50%, #0a4a45);
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.site-footer h3,
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--white);
  margin: 0 0 0.85rem;
}

.site-footer p,
.site-footer li { color: rgba(255, 255, 255, 0.75); font-size: 0.93rem; }
.site-footer ul { display: grid; gap: 0.4rem; }
.site-footer a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ——— Responsive ——— */
@media (max-width: 1020px) {
  .quick-links,
  .goals-grid,
  .team-grid,
  .donate-grid,
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .split,
  .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-copy { order: 0; }

  .footer-grid,
  .focus-strip,
  .stat-band,
  .leader-grid { grid-template-columns: 1fr 1fr; }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 170px 170px;
  }
  .mosaic figure:first-child {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }

  .site-header.nav-open .nav-bar { max-height: 520px; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 0.85rem;
  }

  .header-actions .btn-outline { display: none; }

  .topbar-news .label { display: none; }
}

@media (max-width: 720px) {
  .quick-links,
  .goals-grid,
  .team-grid,
  .donate-grid,
  .gallery-grid,
  .focus-strip,
  .stat-band,
  .leader-grid,
  .member-list,
  .trust-grid,
  .footer-grid,
  .form-grid,
  .mosaic { grid-template-columns: 1fr; }

  .mosaic { grid-template-rows: none; }
  .mosaic figure,
  .mosaic figure:first-child {
    grid-column: auto;
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .service-row { grid-template-columns: 48px 1fr; }
  .service-link { grid-column: 2; }
  .brand-text small { display: none; }
  .slide-content { margin-left: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker span,
  .slide.active img,
  .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
