/* ==========================================================================
   ABOUT PAGE & INNER PAGE HERO STYLES
   Shared across about.html, contact.html and future inner pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   ABOUT PAGE HERO
   -------------------------------------------------------------------------- */
.about-page-hero {
  background: var(--cream);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.about-hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--navy);
  margin: 18px 0 20px;
}

.about-hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

.about-hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #4C5B6B;
  max-width: 500px;
  margin-bottom: 28px;
}

/* Stat cards grid — 2×2 */
.about-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-stat-card.stat-gold {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
}

.about-stat-card.stat-blue {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
}

.about-stat-card.stat-green {
  background: var(--green-light);
  border-left: 4px solid var(--green);
}

.about-stat-card.stat-navy {
  background: #EEF3F9;
  border-left: 4px solid var(--navy);
}

.about-stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   CONTACT PAGE HERO (page-hero reusable pattern)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 50%, rgba(177, 138, 69, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(11, 143, 77, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-hero-copy .eyebrow {
  color: var(--gold-accent);
}

.page-hero-copy .eyebrow::before {
  background: var(--gold-accent);
}

.page-hero-copy h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  color: #fff;
  margin: 16px 0 20px;
}

.page-hero-copy h1 em {
  font-style: normal;
  color: var(--gold-accent);
}

.page-hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 28px;
}

.page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Contact page info cards on the right of the hero */
.contact-hero-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.contact-info-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-info-card .cic-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(215, 170, 66, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .cic-icon .lucide {
  width: 18px;
  height: 18px;
  stroke: var(--gold-accent) !important;
}

.contact-info-card .cic-body strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 3px;
}

.contact-info-card .cic-body span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12.5px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   CONTACT PAGE CONTENT
   -------------------------------------------------------------------------- */
.contact-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

/* Pathway quick-links */
.contact-pathways-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-pathway-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
  transition: var(--transition);
}

.contact-pathway-link:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  transform: translateX(4px);
}

.contact-pathway-link .cpl-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-pathway-link:hover .cpl-icon {
  background: var(--blue-light);
}

.contact-pathway-link .cpl-icon .lucide {
  width: 16px;
  height: 16px;
  stroke: var(--blue);
}

.contact-pathway-link .cpl-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.contact-pathway-link .cpl-text span {
  font-size: 12.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 40px;
  }

  .about-hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .contact-hero-cards {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .contact-info-card {
    flex: 1;
    min-width: 220px;
  }

  .contact-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-hero-stats {
    grid-template-columns: 1fr;
  }

  .about-hero-copy h1 {
    font-size: 2rem;
  }

  .contact-hero-cards {
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   ABOUT PAGE: VISUAL SYSTEM REFINEMENT
   -------------------------------------------------------------------------- */
.about-page-hero {
  isolation: isolate;
  min-height: 510px;
  background:
    linear-gradient(90deg, rgba(4,25,51,.97) 0%, rgba(6,37,73,.91) 46%, rgba(6,37,73,.5) 100%),
    url('../assets/images/secretariat-executive-board.jpg') center/cover;
  border-bottom: 0;
}
.about-page-hero::before {
  position: absolute;
  z-index: -1;
  top: -130px;
  right: -105px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(215,170,66,.42);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(215,170,66,.055), 0 0 0 82px rgba(255,255,255,.025);
  content: '';
}
.about-page-hero::after {
  position: absolute;
  z-index: -1;
  bottom: -90px;
  left: 43%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(50,131,214,.16);
  content: '';
  filter: blur(2px);
}
.about-hero-inner { min-height:510px; padding-top:84px; padding-bottom:84px; }
.about-hero-copy .eyebrow { color:#F6D87F; }
.about-hero-copy .eyebrow::before { background:#F6D87F; }
.about-hero-eyebrow { white-space:nowrap; letter-spacing:.1em; }
.about-hero-copy h1 { max-width:620px; color:#FFF; text-shadow:0 3px 18px rgba(0,0,0,.18); }
.about-hero-copy h1 em { color:#F1C55C; }
.about-hero-lead { max-width:560px; color:#D7E5F1; }
.about-page-hero .btn-outline { border-color:rgba(255,255,255,.48); color:#FFF; background:rgba(255,255,255,.07); }
.about-page-hero .btn-outline:hover { border-color:#F1C55C; background:rgba(255,255,255,.14); }
.about-hero-stats { position:relative; z-index:1; gap:12px; }
.about-stat-card {
  min-height:128px;
  justify-content:center;
  border:1px solid rgba(255,255,255,.16) !important;
  border-left-width:4px !important;
  box-shadow:0 12px 25px rgba(0,0,0,.18);
  backdrop-filter:blur(12px);
}
.about-stat-card.stat-gold { background:rgba(215,170,66,.17); }
.about-stat-card.stat-blue { background:rgba(36,121,211,.2); }
.about-stat-card.stat-green { background:rgba(16,185,129,.16); }
.about-stat-card.stat-navy { background:rgba(255,255,255,.11); }
.about-stat-num { color:#FFF; font-size:clamp(1.7rem,3vw,2.35rem); }
.about-stat-lbl { color:#D9E7F4; font-size:.74rem; font-weight:700; }
.about-page .stripe { position:relative; z-index:2; }
.about-page .section-heading { margin-bottom:34px; }
.about-heritage-timeline {
  position:relative;
  overflow:hidden;
  border:1px solid rgba(116,169,222,.25);
}
.about-heritage-timeline::after {
  position:absolute;
  right:-70px;
  bottom:-100px;
  width:230px;
  height:230px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  content:'';
}
.about-heritage-timeline > div { position:relative; z-index:1; }
.about-page .heritage-pillar-card {
  min-height:215px;
  border-color:#DDE8F1;
  box-shadow:0 8px 22px rgba(8,45,88,.05);
  transition:transform .25s ease, box-shadow .25s ease;
}
.about-page .heritage-pillar-card:hover { transform:translateY(-5px); box-shadow:0 16px 30px rgba(8,45,88,.11); }
.about-page #architecture {
  position:relative;
  overflow:hidden;
  margin-bottom:64px;
  padding-top:64px;
  background:linear-gradient(135deg,#051A33,#0B4F9C);
}
.about-page #architecture::before {
  position:absolute;
  top:-150px;
  left:-120px;
  width:330px;
  height:330px;
  border:1px solid rgba(215,170,66,.24);
  border-radius:50%;
  content:'';
}
.about-page #architecture > div { position:relative; z-index:1; }
.about-page .layer-card { box-shadow:0 12px 24px rgba(0,0,0,.14); }
.about-page .layer-card:hover { transform:translateY(-5px); }
.about-page .layer-card img { transition:transform .45s ease; }
.about-page .layer-card:hover img { transform:scale(1.05); }
.about-page #philosophy .card,
.about-page .partner-category-box,
.about-page .function-card {
  border-color:#DCE7F0;
  box-shadow:0 7px 18px rgba(8,45,88,.045);
}
.about-page #philosophy .card:hover,
.about-page .partner-category-box:hover,
.about-page .function-card:hover { transform:translateY(-4px); box-shadow:0 15px 28px rgba(8,45,88,.09); }
@media (max-width:900px) {
  .about-page-hero { min-height:0; background-position:62% center; }
  .about-hero-inner { min-height:0; padding-top:58px; padding-bottom:58px; }
  .about-page #architecture { margin-bottom:46px; padding-top:50px; }
}
@media (max-width:600px) {
  .about-page-hero { background:linear-gradient(0deg,rgba(4,25,51,.97),rgba(6,37,73,.78)),url('../assets/images/secretariat-executive-board.jpg') 58% center/cover; }
  .about-hero-inner { padding-top:48px; padding-bottom:48px; }
  .about-stat-card { min-height:0; padding:20px; }
  .about-hero-eyebrow { font-size:.59rem; letter-spacing:.075em; }
}

/* About: impact dashboard */
.impact-dashboard {
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 5% 88%, rgba(11,79,156,.07), transparent 28%),
    #FFF !important;
}
.impact-dashboard::after {
  position:absolute;
  z-index:0;
  top:-115px;
  right:-105px;
  width:280px;
  height:280px;
  border:1px solid rgba(215,170,66,.2);
  border-radius:50%;
  box-shadow:0 0 0 28px rgba(215,170,66,.04);
  content:'';
}
.impact-dashboard .container { position:relative; z-index:1; }
.impact-stats-grid {
  gap:14px;
  margin:0 0 18px !important;
}
.impact-dashboard .impact-stat-card {
  position:relative;
  min-height:205px;
  padding:22px 20px 20px;
  overflow:hidden;
  border:1px solid #DCE8F2;
  border-left:0;
  border-radius:12px;
  background:linear-gradient(145deg,#FFF,#F8FBFE);
  box-shadow:0 9px 20px rgba(8,45,88,.045);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.impact-dashboard .impact-stat-card::before {
  position:absolute;
  right:-24px;
  bottom:-35px;
  width:112px;
  height:112px;
  border:1px solid rgba(11,79,156,.11);
  border-radius:50%;
  content:'';
}
.impact-dashboard .impact-stat-card:nth-child(2)::before { border-color:rgba(215,170,66,.2); }
.impact-dashboard .impact-stat-card:nth-child(3)::before { border-color:rgba(11,143,77,.18); }
.impact-dashboard .impact-stat-card:nth-child(4)::before { border-color:rgba(215,25,32,.15); }
.impact-dashboard .impact-stat-card:hover { transform:translateY(-5px); border-color:#BFD8EE; box-shadow:0 18px 32px rgba(8,45,88,.1); }
.impact-stat-icon {
  display:grid;
  width:39px;
  height:39px;
  place-items:center;
  margin-bottom:17px;
  border-radius:10px;
  background:#EAF2FB;
  color:var(--blue);
}
.impact-stat-icon .lucide { width:19px; height:19px; }
.impact-dashboard .impact-stat-card:nth-child(2) .impact-stat-icon { background:#F7F0DF; color:#A77014; }
.impact-dashboard .impact-stat-card:nth-child(3) .impact-stat-icon { background:#E7F7EE; color:var(--green); }
.impact-dashboard .impact-stat-card:nth-child(4) .impact-stat-icon { background:#FDECEC; color:#C62828; }
.impact-dashboard .stat-number { margin-bottom:5px; font-size:clamp(2rem,3.1vw,2.65rem); }
.impact-dashboard .stat-label { color:var(--navy); font-size:.88rem; font-weight:800; }
.impact-dashboard .stat-sub { margin-top:5px; color:#698098; font-size:.72rem; line-height:1.45; }
.impact-interpretation {
  display:grid;
  grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);
  gap:30px;
  align-items:center;
  padding:22px 24px;
  border:1px solid #D9E7F3;
  border-radius:12px;
  background:linear-gradient(100deg,#082D58,#0B4F9C);
  box-shadow:0 15px 30px rgba(8,45,88,.12);
}
.impact-interpretation > div > span { display:block; margin-bottom:6px; color:#F6D87F; font-size:.66rem; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.impact-interpretation > div > strong { color:#FFF; font-family:'Manrope',sans-serif; font-size:1.05rem; line-height:1.45; }
.impact-track-list { display:grid; gap:11px; }
.impact-track-list > div { display:grid; grid-template-columns:1fr auto; gap:4px 14px; align-items:center; }
.impact-track-list span { color:#D9E8F5; font-size:.72rem; font-weight:600; }
.impact-track-list b { color:#FFF; font-size:.72rem; }
.impact-track-list i { grid-column:1 / -1; display:block; height:4px; border-radius:999px; background:rgba(255,255,255,.18); }
.impact-track-list > div:nth-child(1) i { box-shadow:inset 48px 0 #F6D87F; }
.impact-track-list > div:nth-child(2) i { box-shadow:inset 48px 0 #7BC4FF; }
.impact-track-list > div:nth-child(3) i { box-shadow:inset 48px 0 #78E4B2; }
@media (max-width:800px) {
  .impact-dashboard .impact-stat-card { min-height:185px; }
  .impact-interpretation { grid-template-columns:1fr; gap:20px; }
}
@media (max-width:560px) {
  .impact-dashboard .impact-stats-grid { grid-template-columns:1fr; }
  .impact-dashboard .impact-stat-card { min-height:0; }
  .impact-interpretation { padding:20px; }
}

/* Shared inner-page hero system */
.inner-page-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:78px 0 70px;
  background:
    linear-gradient(90deg,rgba(4,25,51,.96) 0%,rgba(6,37,73,.88) 48%,rgba(6,37,73,.54) 100%),
    var(--inner-hero-image) center/cover;
  border-bottom:0;
}
.inner-page-hero--villages { --inner-hero-image:url('../assets/images/village-circle-baraza.jpg'); }
.inner-page-hero--villages .inner-page-hero-grid { grid-template-columns:minmax(0,760px); }
.inner-page-hero--networks { --inner-hero-image:url('../assets/images/county-leadership-podium.jpg'); }
.inner-page-hero--boosts { --inner-hero-image:url('../assets/images/chapa-hustle-banner.jpg'); }
.inner-page-hero::before {
  position:absolute;
  z-index:-1;
  top:-150px;
  right:-100px;
  width:390px;
  height:390px;
  border:1px solid rgba(215,170,66,.36);
  border-radius:50%;
  box-shadow:0 0 0 35px rgba(215,170,66,.045);
  content:'';
}
.inner-page-hero::after {
  position:absolute;
  z-index:-1;
  bottom:-90px;
  left:40%;
  width:230px;
  height:230px;
  border-radius:50%;
  background:rgba(59,130,246,.15);
  content:'';
}
.inner-page-hero-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:46px;
  align-items:center;
}
.inner-page-hero-copy { position:relative; z-index:1; }
.inner-page-hero-copy .eyebrow { color:#F6D87F; }
.inner-page-hero-copy .eyebrow::before { background:#F6D87F; }
.inner-page-hero-copy h1,
.inner-page-hero h1 { max-width:700px; color:#FFF; text-shadow:0 3px 18px rgba(0,0,0,.16); }
.inner-page-hero h1 em { color:#F1C55C; font-style:normal; }
.inner-page-hero-copy > p,
.inner-page-hero > .container > p { color:#D8E7F3 !important; }
.inner-page-hero .btn-outline { border-color:rgba(255,255,255,.45); color:#FFF; background:rgba(255,255,255,.07); }
.inner-page-hero .btn-outline:hover { border-color:#F1C55C; background:rgba(255,255,255,.14); }
.inner-page-hero-visual { position:relative; z-index:1; }
.inner-page-hero-visual > div:first-child { border-color:rgba(255,255,255,.68) !important; box-shadow:0 20px 48px rgba(0,0,0,.3) !important; }
.inner-page-hero-visual > div:last-child { border:1px solid rgba(255,255,255,.18); }
.inner-page-hero--networks .container { max-width:1180px; }
.inner-page-hero--networks .hero-actions { margin-top:28px; }
@media (max-width:850px) {
  .inner-page-hero { padding:58px 0; }
  .inner-page-hero-grid { grid-template-columns:1fr; gap:30px; }
  .inner-page-hero-visual { max-width:610px; }
}
@media (max-width:600px) {
  .inner-page-hero {
    padding:48px 0;
    background:
      linear-gradient(0deg,rgba(4,25,51,.97),rgba(6,37,73,.76)),
      var(--inner-hero-image) 58% center/cover;
  }
  .inner-page-hero h1 { font-size:clamp(2rem,10vw,2.8rem) !important; }
  .inner-page-hero .hero-actions .btn { width:100%; justify-content:center; }
  .inner-page-hero-visual > div:first-child img { height:280px !important; }
}
