/* ═══════════════════════════════════════════════
   EXTENSIA — SHARED SITE CSS v3
   7-Color Design System + All Components
   ═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cyan:         #0098C8;
  --cyan-hover:   #00AAD8;
  --cyan-10:      #e4f4fb;
  --cyan-20:      #c0e8f4;
  --cyan-50:      #40b8d8;
  --blue:         #0080D0;
  --blue-10:      #e0f0fa;
  --blue-20:      #b8d8f4;
  --midnight:     #0D1A2A;
  --midnight-80:  #162538;
  --midnight-60:  #1e3450;
  --white:        #FFFFFF;
  --green:        #00B870;
  --green-dark:   #006840;
  --green-10:     #e0f8f0;
  --amber:        #F0A020;
  --amber-dark:   #C07800;
  --amber-10:     #fff4e0;
  --violet:       #6050E0;
  --violet-10:    #eeecff;
  --slate-50:     #f4f7fb;
  --slate-100:    #e8ecf4;
  --slate-200:    #d0d8e8;
  --slate-400:    #8090a8;
  --slate-600:    #4a5a70;
  --slate-800:    #1e2a3a;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-ui:      'DM Sans', sans-serif;
  --section-pad:  80px 64px;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --nav-h:        64px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ui); background: var(--white); color: var(--midnight); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(.22,.68,0,1.2), transform 0.6s cubic-bezier(.22,.68,0,1.2); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--cyan); color: var(--midnight); font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: var(--radius-sm); z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

.nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--slate-100); height: var(--nav-h); display: flex; align-items: center; padding: 0 64px; justify-content: space-between; transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,30,60,0.08); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark { display: flex; gap: 3px; align-items: center; }
.nav-tri { width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.nav-tri-1 { border-left: 14px solid var(--cyan); }
.nav-tri-2 { border-left: 14px solid var(--blue); }
.nav-logo-text { font-family: var(--font-body); font-size: 20px; font-weight: 800; color: var(--midnight); letter-spacing: -0.03em; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--slate-600); transition: color 0.2s; position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform 0.2s; border-radius: 1px; }
.nav-links a:hover { color: var(--midnight); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--midnight); }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* Search icon button */
.nav-search-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: transparent; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm); cursor: pointer; transition: border-color 0.2s, background 0.2s; flex-shrink: 0; }
.nav-search-btn:hover { border-color: var(--cyan); background: var(--cyan-10); }
.nav-search-btn svg { width: 16px; height: 16px; stroke: var(--slate-600); }

.nav-cta { background: var(--cyan); color: var(--midnight); font-family: var(--font-ui); font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; white-space: nowrap; min-height: 44px; }
.nav-cta:hover { background: var(--cyan-hover); transform: translateY(-1px); }

.nav-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm); cursor: pointer; padding: 0; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 18px; height: 2px; background: var(--midnight); border-radius: 1px; transition: transform 0.25s, opacity 0.25s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--slate-100); box-shadow: 0 8px 32px rgba(0,30,60,0.1); z-index: 199; padding: 20px 24px 28px; transform: translateY(-8px); opacity: 0; transition: transform 0.25s ease, opacity 0.25s ease; pointer-events: none; }
.nav-drawer.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-drawer-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.nav-drawer-links a { display: flex; align-items: center; font-size: 16px; font-weight: 500; color: var(--slate-600); padding: 12px 0; border-bottom: 1px solid var(--slate-50); transition: color 0.15s; min-height: 44px; }
.nav-drawer-links a:hover { color: var(--midnight); }
.nav-drawer-search { width: 100%; background: var(--slate-50); border: 1.5px solid var(--slate-200); border-radius: var(--radius-sm); padding: 12px 16px; font-family: var(--font-ui); font-size: 15px; color: var(--midnight); outline: none; margin-bottom: 12px; }
.nav-drawer-cta { width: 100%; background: var(--midnight); color: var(--white); font-family: var(--font-ui); font-size: 15px; font-weight: 600; padding: 14px; border-radius: var(--radius-sm); border: none; cursor: pointer; min-height: 44px; }

/* ═══════════════════════════════════════════════
   SEARCH OVERLAY
   ═══════════════════════════════════════════════ */
.search-overlay { position: fixed; inset: 0; background: rgba(13,26,42,0.85); z-index: 500; display: flex; flex-direction: column; align-items: center; padding-top: 80px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box { width: 100%; max-width: 680px; padding: 0 20px; }
.search-input-wrap { position: relative; margin-bottom: 16px; }
.search-input { width: 100%; background: var(--white); border: none; border-radius: var(--radius-lg); padding: 18px 56px 18px 24px; font-family: var(--font-ui); font-size: 18px; color: var(--midnight); outline: none; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.search-input::placeholder { color: var(--slate-400); }
.search-input-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); }
.search-input-icon svg { width: 20px; height: 20px; stroke: var(--slate-400); }
.search-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--white); font-size: 20px; transition: background 0.2s; }
.search-close:hover { background: rgba(255,255,255,0.25); }
.search-results { background: var(--white); border-radius: var(--radius-lg); max-height: 480px; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.search-result { display: block; padding: 16px 20px; border-bottom: 1px solid var(--slate-100); cursor: pointer; transition: background 0.15s; text-decoration: none; }
.search-result:last-child { border-bottom: none; }
.search-result:hover, .search-result.focused { background: var(--cyan-10); }
.search-result-page { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.search-result-title { font-size: 15px; font-weight: 700; color: var(--midnight); margin-bottom: 4px; }
.search-result-excerpt { font-size: 13px; color: var(--slate-600); line-height: 1.5; }
.search-result-excerpt mark { background: rgba(0,152,200,0.15); color: var(--midnight); border-radius: 2px; padding: 0 2px; font-style: normal; }
.search-empty { padding: 32px 20px; text-align: center; color: var(--slate-400); font-size: 15px; }
.search-hint { font-size: 12px; color: rgba(255,255,255,0.45); text-align: center; margin-top: 12px; }

/* ═══════════════════════════════════════════════
   SECTION UTILITIES
   ═══════════════════════════════════════════════ */
.section { padding: var(--section-pad); }
.section-alt { background: var(--slate-50); }
.section-dark { background: var(--midnight); }
.section-header { text-align: center; margin-bottom: 52px; }

.section-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); background: var(--blue-10); border: 1px solid var(--blue-20); border-radius: 20px; padding: 4px 14px; margin-bottom: 14px; }
.section-tag.green  { color: var(--green-dark); background: var(--green-10); border-color: rgba(0,184,112,0.25); }
.section-tag.violet { color: #3828c8; background: var(--violet-10); border-color: rgba(96,80,224,0.25); }
.section-tag.amber  { color: #7a4800; background: var(--amber-10); border-color: rgba(240,160,32,0.3); }
.section-tag.cyan   { color: var(--cyan); background: rgba(0,152,200,0.1); border-color: rgba(0,152,200,0.25); }
.section-tag.white  { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

.section-h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--midnight); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 14px; }
.section-h2.light { color: var(--white); }
.section-sub { font-size: 16px; color: var(--slate-600); max-width: 540px; margin: 0 auto; line-height: 1.65; }
.section-sub.light { color: rgba(255,255,255,0.6); }

/* ── BUTTONS ── */
.btn-primary { background: var(--midnight); color: var(--white); font-family: var(--font-ui); font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.btn-primary:hover { background: var(--midnight-60); transform: translateY(-2px); }
.btn-cyan { background: var(--cyan); color: var(--midnight); font-family: var(--font-ui); font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: var(--radius-sm); border: none; cursor: pointer; transition: background 0.2s, transform 0.15s; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.btn-cyan:hover { background: var(--cyan-hover); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--slate-600); font-family: var(--font-ui); font-size: 15px; font-weight: 500; padding: 14px 22px; border-radius: var(--radius-sm); border: 1.5px solid var(--slate-200); cursor: pointer; transition: border-color 0.2s, color 0.2s, transform 0.15s; min-height: 44px; display: inline-flex; align-items: center; }
.btn-secondary:hover { border-color: var(--cyan); color: var(--midnight); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: rgba(255,255,255,0.7); font-family: var(--font-ui); font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,0.25); cursor: pointer; transition: border-color 0.2s, color 0.2s; min-height: 44px; display: inline-flex; align-items: center; }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ═══════════════════════════════════════════════
   URGENCY BANNER (Fundraising Orchestration highlight)
   ═══════════════════════════════════════════════ */
.urgency-banner { background: var(--white); border-top: 3px solid var(--cyan); border-bottom: 1px solid var(--slate-100); padding: 28px 64px; display: flex; align-items: center; gap: 32px; }
.urgency-banner-left { flex: 1; }
.urgency-label { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); background: var(--cyan-10); border: 1px solid var(--cyan-20); border-radius: 20px; padding: 4px 12px; margin-bottom: 12px; }
.urgency-label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
.urgency-headline { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--midnight); margin-bottom: 8px; line-height: 1.3; }
.urgency-body { font-size: 14px; color: var(--slate-600); line-height: 1.65; margin-bottom: 12px; max-width: 680px; }
.urgency-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.urgency-tag { font-size: 11px; font-weight: 600; color: var(--slate-600); background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 20px; padding: 4px 12px; }
.urgency-ctas { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.urgency-link { font-size: 13px; color: var(--cyan); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; }
.urgency-link:hover { color: var(--blue); }

/* ═══════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════ */
.trust-strip { background: var(--midnight); padding: 18px 64px; display: flex; align-items: center; overflow: hidden; }
.trust-strip-label { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3); white-space: nowrap; padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255,255,255,0.1); }
.trust-items { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,0.5); white-space: nowrap; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   VISION STRIP — FIXED: light text on cyan bg
   ═══════════════════════════════════════════════ */
.vision-strip { background: var(--cyan); padding: 28px 64px; display: flex; align-items: center; justify-content: center; }
.vision-quote { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.vision-quote em { font-style: italic; opacity: 0.85; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer { background: #060f1a; padding: 52px 64px 32px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-text { font-family: var(--font-body); font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: -0.02em; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; margin-bottom: 20px; max-width: 240px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link { width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s; }
.footer-social-link:hover { background: rgba(0,152,200,0.2); border-color: rgba(0,152,200,0.4); }
.footer-social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.5); transition: fill 0.2s; }
.footer-social-link:hover svg { fill: var(--cyan); }
.footer-links-group { display: flex; flex-direction: column; gap: 2px; }
.footer-links-title { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.45); transition: color 0.2s; cursor: pointer; padding: 4px 0; min-height: 32px; display: flex; align-items: center; }
.footer-link:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.2); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — 1100px
   ═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  :root { --section-pad: 64px 40px; }
  .nav { padding: 0 40px; }
  .trust-strip, .vision-strip, .urgency-banner { padding: 18px 40px; }
  .footer { padding: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 860px
   ═══════════════════════════════════════════════ */
@media (max-width: 860px) {
  :root { --section-pad: 52px 24px; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-search-btn { width: 44px; height: 44px; }
  .trust-strip { padding: 16px 24px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-strip-label { border-right: none; padding-right: 0; margin-right: 0; }
  .vision-strip { padding: 22px 24px; }
  .vision-quote { font-size: 17px; }
  .urgency-banner { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
  .urgency-ctas { align-items: flex-start; }
  .footer { padding: 36px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --section-pad: 40px 18px; }
  .nav { padding: 0 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .section-h2 { font-size: clamp(26px, 7vw, 34px); }
}
