/* =============================================================
   Swasa Foundation — Global Design System
   A premium, accessible, responsive stylesheet
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette: trust & calm — deep blue + teal on white */
  --ink: #0f1b30;
  --ink-soft: #1f2d44;
  --slate: #4c5a72;
  --muted: #7382a0;
  --line: #e6eaf1;
  --paper: #ffffff;
  --cloud: #f5f8fc;
  --cloud-2: #eaf0f8;

  --brand: #15407c;        /* logo navy */
  --brand-deep: #0c2b57;
  --brand-soft: #e7eef8;
  --teal: #6aa023;         /* logo green = life / growth */
  --teal-deep: #4f7d18;
  --teal-soft: #eef5e1;
  --gold: #f5a51b;         /* logo gold = warmth / giving */
  --gold-deep: #d98a13;
  --coral: #ff6b5e;
  --sky: #2f80ed;

  --grad-hero: linear-gradient(140deg, rgba(10,38,82,.93) 0%, rgba(8,30,66,.88) 50%, rgba(12,43,87,.85) 100%);
  --grad-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  --grad-teal: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(15,27,48,.05), 0 2px 8px rgba(15,27,48,.05);
  --shadow: 0 10px 30px rgba(15,27,48,.09), 0 2px 8px rgba(15,27,48,.05);
  --shadow-lg: 0 30px 60px rgba(15,27,48,.16), 0 8px 20px rgba(15,27,48,.09);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1200px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--slate); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-soft);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow.on-dark { color: #ffdd9e; background: rgba(255,255,255,.1); }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); font-weight: 700; }
h2.title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 18px 0 16px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad-gold); color: #3a2400; box-shadow: 0 8px 24px rgba(217,138,19,.34); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(217,138,19,.46); }
.btn-brand { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 24px rgba(21,64,124,.32); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(21,64,124,.44); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav.scrolled { background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 rgba(11,18,32,.07); }
.nav.on-dark:not(.scrolled) { --navtext: #fff; }
.nav { --navtext: var(--ink); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.12rem; color: var(--navtext); transition: color .3s; }
.brand .logo { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; object-fit: contain; padding: 3px; box-shadow: 0 2px 6px rgba(15,27,48,.14); }
.brand span { white-space: nowrap; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--navtext); font-weight: 500; font-size: .95rem; padding: 9px 14px; border-radius: 10px; transition: background .2s, color .2s, opacity .2s; opacity: .9; }
.nav-links a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.nav-cta { margin-left: 10px; }
.nav .btn-primary { padding: 10px 20px; font-size: .92rem; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navtext); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-top: var(--nav-h);
  background:
    var(--grad-hero),
    url("https://images.unsplash.com/photo-1542810634-71277d95dcbb?auto=format&fit=crop&w=2000&q=80")
    center 30% / cover no-repeat;
  background-color: #0c2052;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,18,42,.55) 100%);
  pointer-events: none;
}
.hero-orbs span { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .35; animation: float 16s ease-in-out infinite; }
.hero-orbs span:nth-child(1) { width: 420px; height: 420px; background: rgba(245,165,27,.42); top: -80px; right: -60px; }
.hero-orbs span:nth-child(2) { width: 360px; height: 360px; background: rgba(106,160,35,.45); bottom: -100px; left: -80px; animation-delay: -4s; }
.hero-orbs span:nth-child(3) { width: 260px; height: 260px; background: rgba(21,64,124,.5); top: 40%; left: 55%; animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-30px) translateX(20px); } }
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 820px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); color: #fff; letter-spacing: -0.03em; }
.hero h1 .accent { background: linear-gradient(120deg, #ffd98a, #f5a51b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: rgba(255,255,255,.85); max-width: 620px; margin: 24px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 54px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-trust .item .n { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; }
.hero-trust .item .l { font-size: .85rem; color: rgba(255,255,255,.7); letter-spacing: .02em; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,.6); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: rgba(255,255,255,.7); border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,12px); } }

/* ---------- Marquee / trusted strip ---------- */
.strip { background: var(--cloud); border-bottom: 1px solid var(--line); padding: 22px 0; }
.strip .row { display: flex; align-items: center; justify-content: center; gap: clamp(24px,5vw,64px); flex-wrap: wrap; color: var(--muted); font-weight: 600; font-size: .92rem; }
.strip .row span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Mission cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: var(--brand-soft); color: var(--brand-deep); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); }
.ic.gold { background: var(--teal-soft); color: var(--teal-deep); }
.ic.coral { background: #ffe9e7; color: #d6453a; }
.ic.sky { background: #e6f0fd; color: #1c5fc4; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,90px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge {
  position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
}
.split-media .badge .n { font-size: 1.5rem; font-weight: 800; color: var(--brand-deep); }
.split-media .badge .l { font-size: .78rem; color: var(--slate); line-height: 1.3; }
.feature-list { margin-top: 24px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; margin-top: 2px; }
.feature-list b { display: block; color: var(--ink); }
.feature-list span { color: var(--slate); }

/* ---------- Impact / stats band ---------- */
.band { background: var(--grad-hero), linear-gradient(140deg, #0f2e6e, #0c2052); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 120%, rgba(245,165,27,.22), transparent 60%); }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; position: relative; z-index: 2; }
.stat { text-align: center; }
.stat .n { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; background: linear-gradient(120deg,#fff,#ffd98a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: rgba(255,255,255,.78); margin-top: 6px; font-weight: 500; }

/* ---------- Programs (large alternating list) ---------- */
.program { padding: clamp(40px,6vw,72px) 0; border-bottom: 1px solid var(--line); }
.program:last-child { border-bottom: none; }

/* ---------- Stories / testimonials ---------- */
.stories { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.story { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.story .quote { font-size: 1.06rem; color: var(--ink-soft); flex: 1; }
.story .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.story .who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.story .who b { display: block; }
.story .who span { font-size: .85rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 180px; gap: 16px; }
.gallery .tile { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery .tile:hover img { transform: scale(1.07); }
.gallery .tile.tall { grid-row: span 2; }
.gallery .tile.wide { grid-column: span 2; }
.gallery .tile .cap { position: absolute; inset: auto 0 0 0; padding: 24px 16px 14px; background: linear-gradient(transparent, rgba(11,18,32,.7)); color: #fff; font-weight: 600; font-size: .9rem; }

/* ---------- Gallery page: filters + masonry + lightbox ---------- */
.gx-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gx-filters button {
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  color: var(--slate); background: var(--cloud); border: 1.5px solid transparent; transition: all .25s var(--ease);
}
.gx-filters button:hover { color: var(--brand-deep); }
.gx-filters button.active { color: #fff; background: var(--grad-brand); box-shadow: 0 6px 18px rgba(21,64,124,.3); }

.masonry { columns: 4; column-gap: 16px; }
.masonry .g-item {
  position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; display: block; width: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .4s, filter .4s;
}
.masonry .g-item img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.masonry .g-item:hover { box-shadow: var(--shadow-lg); }
.masonry .g-item:hover img { transform: scale(1.06); }
.masonry .g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; color: #fff; font-weight: 600; font-size: .92rem;
  background: linear-gradient(transparent, rgba(11,18,32,.78)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.masonry .g-item:hover figcaption { opacity: 1; transform: none; }
.masonry .g-item .zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; color: var(--brand-deep); }
.masonry .g-item:hover .zoom { opacity: 1; transform: none; }
.masonry .g-item.hide { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 3000; background: rgba(8,14,28,.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s;
  padding: 24px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox .lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; font-size: 1rem; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 22px; right: 22px; font-size: 1.6rem; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.08); }

@media (max-width: 980px) { .masonry { columns: 3; } }
@media (max-width: 720px) { .masonry { columns: 2; } .lb-prev { left: 10px; } .lb-next { right: 10px; } }
@media (max-width: 480px) { .masonry { columns: 1; } }

/* ---------- Donate tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tier { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 32px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tier.featured { border-color: var(--brand); box-shadow: var(--shadow); }
.tier.featured::before { content: "Most loved"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.tier .amt { font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.tier .amt small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.tier .desc { color: var(--slate); margin: 10px 0 20px; min-height: 48px; }

/* ---------- Donation widget ---------- */
.donate-card { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: clamp(26px,4vw,44px); border: 1px solid var(--line); }
.seg { display: inline-flex; background: var(--cloud-2); border-radius: 999px; padding: 5px; gap: 4px; }
.seg button { padding: 9px 20px; border-radius: 999px; font-weight: 600; color: var(--slate); transition: all .25s; }
.seg button.active { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-sm); }
.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 22px 0; }
.amount-grid button { padding: 18px 10px; border-radius: 16px; border: 1.5px solid var(--line); font-weight: 700; font-size: 1.1rem; color: var(--ink); transition: all .2s; background: #fff; }
.amount-grid button:hover { border-color: var(--brand); }
.amount-grid button.active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.field { position: relative; margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px;
  font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.input-prefix input { padding-left: 36px; }

/* ---------- Payment methods ---------- */
.pay-methods { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pay-methods .chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: .85rem; font-weight: 600; color: var(--slate); background: #fff; }

/* ---------- Bank / info table ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 15px 20px; }
.info-table td:first-child { color: var(--muted); font-weight: 600; width: 42%; }
.info-table td:last-child { color: var(--ink); font-weight: 600; }

/* ---------- Steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step .num { counter-increment: step; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-gold); color: #2a1a00; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 18px; }
.step .num::after { content: counter(step); }

/* ---------- FAQ / accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.acc { border-bottom: 1px solid var(--line); }
.acc-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-align: left; }
.acc-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s; }
.acc.open .acc-q .pm { background: var(--brand); color: #fff; border-color: var(--brand); transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-a .inner { padding: 0 4px 24px; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-brand); color: #fff; border-radius: var(--radius-xl); padding: clamp(40px,6vw,72px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 20% 0%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 14px auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms (contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 72px 0 34px; }
.footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer a { display: block; padding: 6px 0; transition: color .2s, transform .2s; }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand small { color: rgba(255,255,255,.6); }
.footer .desc { font-size: .95rem; max-width: 320px; }
.footer .ftag { color: #a6d36a; font-weight: 700; letter-spacing: .01em; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transform: none; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.footer .bottom { margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer .bottom a { display: inline; }

/* ---------- Page header (interior pages) ---------- */
.page-hero { background: var(--grad-hero), linear-gradient(140deg, #0f2e6e, #0c2052); color: #fff; padding: calc(var(--nav-h) + 70px) 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(245,165,27,.18), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 620px; margin-top: 16px; font-size: 1.15rem; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Values ---------- */
.value { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius-lg); transition: background .3s; }
.value:hover { background: var(--cloud); }
.value .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .ph { width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); background: var(--grad-brand); display: grid; place-items: center; }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.team-card .ph .initials { font-size: 2.4rem; font-weight: 800; color: #fff; }
.team-card h4 { font-size: 1.15rem; }
.team-card .role { color: var(--brand-deep); font-weight: 600; font-size: .9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 2000; font-weight: 600; transition: transform .4s var(--ease); display: flex; align-items: center; gap: 10px; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Mobile menu panel ---------- */
.mobile-panel {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
}
body.menu-open .mobile-panel { opacity: 1; transform: none; pointer-events: auto; }
.mobile-panel a { font-size: 1.3rem; font-weight: 600; padding: 16px 8px; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-panel .btn { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .stories, .gallery, .tiers, .steps, .stats { grid-template-columns: repeat(2,1fr); }
  .footer .top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .gallery { grid-auto-rows: 150px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .stories, .tiers, .steps, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 30px 16px; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .gallery .tile.wide { grid-column: span 2; }
  .footer .top { grid-template-columns: 1fr; }
  .hero-trust { gap: 22px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .amount-grid { grid-template-columns: repeat(2,1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
