/* =========================================================
   MASONAL — Shared Stylesheet
   Design system: "The Bridge" — a visual language built on
   the idea of a bridge from hardship to stability. Arcs and
   connecting lines recur as the signature motif throughout
   stats, process steps, and section dividers.
   ========================================================= */

/* -------------------- Design Tokens -------------------- */
:root {
  /* Brand core */
  --blue-900: #003366;
  --blue-800: #0A4A85;
  --blue-100: #E7EEF6;
  --red-600: #D62828;
  --red-700: #AE1F1F;
  --red-100: #FBE6E6;
  --white: #FFFFFF;

  /* Supporting neutrals & warmth */
  --cream: #FAF8F4;
  --ink: #1B1E24;
  --slate: #5B6472;
  --slate-light: #8A93A2;
  --line: #E4E1D8;
  --gold: #E3A23C;
  --gold-100: #FBF0DD;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 51, 102, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 51, 102, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 51, 102, 0.16);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* -------------------- Reset -------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------- Typography -------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--blue-900);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { color: var(--slate); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red-600);
  display: inline-block;
}

.section-head {
  max-width: 1440px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.bg-cream { background: var(--cream); }
.section.bg-blue { background: var(--blue-900); }
.section.bg-blue h2, .section.bg-blue .eyebrow { color: var(--white); }
.section.bg-blue p { color: rgba(255,255,255,0.78); }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(214, 40, 40, 0.28);
}
.btn-primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(214,40,40,0.34); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-outline-blue {
  background: transparent;
  color: var(--blue-900);
  border: 1.5px solid var(--blue-900);
}
.btn-outline-blue:hover { background: var(--blue-900); color: var(--white); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
  width:100%;
  max-width:1600px;
}


.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  width:100%;
  max-width:1600px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-900);
}
.logo .mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.logo .mark svg { width: 20px; height: 20px; }
.logo .accent { color: var(--red-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.nav-links a:hover { background: var(--blue-100); color: var(--blue-900); }
.nav-links a.active { color: var(--blue-900); font-weight: 700; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--red-600);
  border-radius: 2px;
}

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

.mobile-only-cta { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  z-index: 1200;
}
.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding: 72px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-100);
  color: var(--red-600);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 22px; color: var(--blue-900); }
.hero h1 em { font-style: italic; color: var(--red-600); }
.hero-sub { font-size: 1.18rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-trust div strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--blue-900); }
.hero-trust div span { font-size: 0.85rem; color: var(--slate); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/4.4;
  box-shadow: var(--shadow-lg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.hero-badge .icon-circle { flex-shrink: 0; width: 44px; height: 44px; }
.hero-badge strong { display: block; color: var(--blue-900); font-size: 0.95rem; }
.hero-badge span { font-size: 0.82rem; color: var(--slate); }

/* Bridge arc divider — signature motif */
.bridge-divider { display: block; width: 100%; height: auto; }
.bridge-divider path { stroke: var(--line); }

/* -------------------- Icon circles -------------------- */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-900);
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle.red { background: var(--red-100); color: var(--red-600); }
.icon-circle.gold { background: var(--gold-100); color: var(--gold); }

/* -------------------- Stats -------------------- */
.stats-band {
  background: var(--blue-900);
  padding: 64px 0;
  position: relative;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  font-weight: 500;
}
.stat strong .plus { color: var(--gold); }
.stat span { color: rgba(255,255,255,0.72); font-size: 0.92rem; letter-spacing: 0.02em; }

/* -------------------- Cards -------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-circle { margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; margin-bottom: 16px; }
.card .card-link { color: var(--red-600); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.card .card-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }

/* -------------------- Process / Bridge Steps -------------------- */
.bridge-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.bridge-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background-image: linear-gradient(to right, var(--line) 60%, transparent 0%);
  background-size: 14px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: left; }
.step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-900);
  color: var(--blue-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.step:nth-child(2) .step-num, .step:nth-child(4) .step-num { border-color: var(--red-600); color: var(--red-600); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; }

/* -------------------- Testimonials -------------------- */
.testimonial-slider {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial-track { overflow: hidden; }
.testimonial-slides { display: flex; transition: transform 0.5s cubic-bezier(.4,0,.2,1); }
.t-slide { flex: 0 0 100%; padding: 8px; }
.t-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
}
.t-card .quote-mark { font-family: var(--font-display); font-size: 3.5rem; color: var(--red-600); line-height: 1; margin-bottom: 6px; }
.t-card p.quote { font-size: 1.15rem; color: var(--ink); font-style: italic; margin-bottom: 24px; }
.t-person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.t-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.t-person strong { display: block; color: var(--blue-900); font-size: 0.95rem; }
.t-person span { font-size: 0.82rem; color: var(--slate); }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 30px; }
.slider-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  color: var(--blue-900);
}
.slider-arrow:hover { background: var(--blue-900); border-color: var(--blue-900); color: var(--white); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all var(--transition); }
.slider-dots button.active { background: var(--red-600); width: 22px; border-radius: 4px; }

/* -------------------- Partners -------------------- */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  opacity: 0.75;
}
.partners-row .partner {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--slate);
  filter: grayscale(1);
  transition: filter var(--transition), opacity var(--transition);
}
.partners-row .partner:hover { filter: grayscale(0); opacity: 1; color: var(--blue-900); }

/* -------------------- CTA band -------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-900), #012548);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(214,40,40,0.18);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.75); }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

/* -------------------- Footer -------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.92rem; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--red-600); border-color: var(--red-600); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.03em; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.92rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }

.newsletter-form { display: flex; margin-top: 6px; border-radius: 999px; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); }
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { background: var(--red-600); color: var(--white); padding: 0 20px; font-weight: 600; font-size: 0.85rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* -------------------- Back to top -------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--red-600); }

/* -------------------- Page Header (inner pages) -------------------- */
.page-header {
  background: var(--blue-900);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  right: -80px; bottom: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.04);
}
.breadcrumb { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.page-header h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 3rem); max-width: 700px; }
.page-header p { color: rgba(255,255,255,0.7); max-width: 600px; margin-top: 14px; font-size: 1.05rem; }

/* -------------------- Forms -------------------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--blue-900); margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--slate-light); font-size: 0.8rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-900);
  box-shadow: 0 0 0 4px var(--blue-100);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--red-600); }
.field .error-msg { display: none; color: var(--red-600); font-size: 0.8rem; margin-top: 6px; }
.field.error .error-msg { display: block; }

.checkbox-field { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red-600); }
.checkbox-field label { font-weight: 400; color: var(--slate); font-size: 0.9rem; }

.file-drop {
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--blue-900); background: var(--blue-100); }
.file-drop svg { width: 32px; height: 32px; color: var(--blue-900); margin: 0 auto 10px; }
.file-drop .file-list { margin-top: 12px; font-size: 0.85rem; color: var(--blue-900); text-align: left; }

/* -------------------- Progress bar (multi-step form) -------------------- */
.progress-track { display: flex; align-items: center; margin-bottom: 44px; }
.progress-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; position: relative; }
.progress-step .circle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--slate-light);
  font-size: 0.9rem;
  z-index: 1;
  transition: all var(--transition);
}
.progress-step span.label { font-size: 0.78rem; color: var(--slate-light); font-weight: 600; text-align: center; }
.progress-step::before {
  content: "";
  position: absolute;
  top: 19px; left: -50%; width: 100%; height: 2px;
  background: var(--line); z-index: 0;
}
.progress-step:first-child::before { display: none; }
.progress-step.active .circle, .progress-step.done .circle { border-color: var(--blue-900); background: var(--blue-900); color: var(--white); }
.progress-step.active span.label, .progress-step.done span.label { color: var(--blue-900); }
.progress-step.done::before, .progress-step.active::before { background: var(--blue-900); }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.4s ease; }

.form-nav { display: flex; justify-content: space-between; margin-top: 32px; }

.success-panel { text-align: center; padding: 40px 20px; }
.success-panel .check-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-900);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.success-panel .ref-number {
  display: inline-block;
  margin-top: 16px;
  background: var(--cream);
  border: 1px dashed var(--slate-light);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--red-600);
  letter-spacing: 0.05em;
}

/* -------------------- FAQ Accordion -------------------- */
.accordion-item {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blue-900);
}
.accordion-trigger .plus {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--blue-900);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform var(--transition), background var(--transition);
}
.accordion-trigger .plus::before, .accordion-trigger .plus::after {
  content: "";
  position: absolute;
  background: var(--blue-900);
  transition: all var(--transition);
}
.accordion-trigger .plus::before { width: 10px; height: 1.5px; }
.accordion-trigger .plus::after { width: 1.5px; height: 10px; }
.accordion-item.open .accordion-trigger .plus { background: var(--red-600); border-color: var(--red-600); transform: rotate(180deg); }
.accordion-item.open .accordion-trigger .plus::before, .accordion-item.open .accordion-trigger .plus::after { background: var(--white); }
.accordion-item.open .accordion-trigger .plus::after { height: 0; }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-panel-inner { padding: 0 4px 22px; }
.accordion-panel-inner p { font-size: 0.95rem; }

/* -------------------- Donate page -------------------- */
.donate-toggle {
  display: inline-flex;
  background: var(--cream);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 30px;
}
.donate-toggle button {
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate);
  transition: all var(--transition);
}
.donate-toggle button.active { background: var(--blue-900); color: var(--white); }

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.amount-btn {
  padding: 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-900);
  transition: all var(--transition);
  text-align: center;
}
.amount-btn:hover { border-color: var(--blue-900); }
.amount-btn.active { background: var(--blue-900); color: var(--white); border-color: var(--blue-900); }

.impact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.impact-line:last-child { border-bottom: none; }
.impact-line strong { color: var(--blue-900); }

.progress-bar-outer {
  height: 12px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin: 14px 0 10px;
}
.progress-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--red-600), var(--gold));
  border-radius: 999px;
  width: 0%;
  transition: width 1.2s ease;
}

.secure-badges { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 22px; opacity: 0.8; }
.secure-badges span { font-size: 0.8rem; display: flex; align-items: center; gap: 6px; color: var(--slate); }

/* -------------------- Transparency dashboard -------------------- */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dash-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.dash-card strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--blue-900); }
.dash-card span { font-size: 0.85rem; color: var(--slate); }
.dash-card .trend { font-size: 0.78rem; color: #1B8A5A; font-weight: 700; margin-top: 6px; display: block; }

.allocation-bar { display: flex; height: 34px; border-radius: 999px; overflow: hidden; margin: 20px 0; }
.allocation-bar div { height: 100%; }
.allocation-legend { display: flex; flex-wrap: wrap; gap: 20px; }
.allocation-legend .item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--slate); }
.allocation-legend .dot { width: 10px; height: 10px; border-radius: 50%; }

/* -------------------- News page -------------------- */
.news-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.news-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  min-width: 260px;
}
.news-search input { border: none; outline: none; flex: 1; font-size: 0.92rem; }
.news-search svg { width: 18px; height: 18px; color: var(--slate-light); }
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate);
  transition: all var(--transition);
}
.filter-chip.active, .filter-chip:hover { background: var(--blue-900); color: var(--white); border-color: var(--blue-900); }

.news-card { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); background: var(--white); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 22px; }
.news-card .tag { display: inline-block; background: var(--red-100); color: var(--red-600); font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.news-card .meta { font-size: 0.78rem; color: var(--slate-light); margin-top: 14px; }
.news-card.hidden { display: none; }

/* -------------------- Volunteer opportunity cards -------------------- */
.opp-card { display: flex; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); align-items: flex-start; transition: all var(--transition); }
.opp-card:hover { box-shadow: var(--shadow-sm); border-color: var(--blue-900); }
.opp-card .tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.opp-card .tags span { font-size: 0.74rem; background: var(--cream); padding: 4px 10px; border-radius: 999px; color: var(--slate); }

/* -------------------- Team cards -------------------- */
.team-card { text-align: center; }
.team-card .photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; margin-bottom: 18px; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-card .role { color: var(--red-600); font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; }
.team-card p { font-size: 0.88rem; }

/* -------------------- Story cards -------------------- */
.story-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.story-card .photo { aspect-ratio: 4/3; overflow: hidden; }
.story-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.story-card .body { padding: 24px; }
.story-card .type-tag { font-size: 0.72rem; font-weight: 700; color: var(--blue-900); text-transform: uppercase; letter-spacing: 0.04em; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.ba-panel { background: var(--cream); border-radius: var(--radius-md); padding: 30px; }
.ba-panel h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-light); margin-bottom: 14px; }
.ba-panel.after h4 { color: var(--red-600); }
.ba-panel ul li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.93rem; color: var(--ink); align-items: flex-start; }
.ba-panel ul li svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }

/* -------------------- Value / mission cards -------------------- */
.value-card { text-align: left; padding: 26px; }

/* -------------------- Contact page -------------------- */
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card h4 { font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 4px; color: var(--blue-900); }
.contact-info-card p { font-size: 0.9rem; margin: 0; }
.map-placeholder {
  width: 100%; aspect-ratio: 16/8;
  background: var(--cream) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><path d="M0 40L40 0" stroke="%23E4E1D8" stroke-width="1"/></svg>');
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
  color: var(--slate);
}
.map-placeholder svg { width: 34px; height: 34px; color: var(--red-600); }

/* -------------------- Scroll reveal -------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.visible { transition-delay: 0.1s; }
.reveal-delay-2.visible { transition-delay: 0.2s; }
.reveal-delay-3.visible { transition-delay: 0.3s; }
.reveal-delay-4.visible { transition-delay: 0.4s; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* -------------------- Page loader -------------------- */
.page-loader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid var(--blue-100);
  border-top-color: var(--red-600);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------- Toast -------------------- */
.toast {
  position: fixed;
  bottom: 28px; left: 28px;
  background: var(--blue-900);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 2000;
  max-width: 320px;
}
.toast.visible { transform: translateY(0); opacity: 1; }

/* -------------------- Utilities -------------------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tag-pill { display: inline-block; background: var(--blue-100); color: var(--blue-900); padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn-outline-blue { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .bridge-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .bridge-steps::before { display: none; }
  .before-after { grid-template-columns: 1fr; }
  .cta-band { padding: 40px; flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 28px 28px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.open { display: flex; right: 0; }
  .nav-links a { width: 100%; padding: 14px 16px; font-size: 1rem; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1050; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
  .mobile-only-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; width: 100%; }
  .mobile-only-cta .btn { width: 100%; }
}

@media (max-width: 720px) {
  .card-grid, .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .bridge-steps { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 64px 0; }
  .form-panel { padding: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { gap: 20px; }
  .cta-band { padding: 28px; }
  .progress-step span.label { display: none; }
}