/* ============================================================
   Bridge Diaspora Share Company — Styles
   Palette (from the logo): deep green, leaf/lime green, earth brown, black, cream
   ============================================================ */
:root {
  --forest: #0f2914;
  --forest-2: #1b4d22;
  --forest-3: #2f772b;
  --leaf: #9bc53d;
  --leaf-2: #c4d763;
  --earth: #7a4f1c;
  --earth-2: #4c300b;
  --cream: #f6f5ec;
  --cream-2: #e9eadb;
  --ink: #111712;
  --muted: #56635a;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(14, 59, 44, 0.35);
  --ease: cubic-bezier(.22, .8, .25, 1);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
em { font-style: italic; color: var(--leaf); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--leaf);
  padding: .4rem .9rem; border: 1px solid rgba(155,197,61,.45); border-radius: 999px;
  margin-bottom: 1.1rem;
}
.eyebrow.dark { color: var(--forest-2); border-color: rgba(27,77,34,.3); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn-gold { background: var(--leaf); color: var(--forest); box-shadow: 0 10px 25px -10px rgba(155,197,61,.8); }
.btn-gold:hover { transform: translateY(-3px); background: var(--leaf-2); }
.btn-ghost { color: var(--cream); border: 1.5px solid rgba(246,245,236,.4); }
.btn-ghost:hover { background: rgba(246,245,236,.1); transform: translateY(-3px); }
.btn.full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.header.scrolled {
  background: rgba(15,41,20,.88); backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.4);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
/* Logo lockup: white plate keeps the brand colours (black arch, brown furrows) true on dark green */
.logo {
  display: flex; align-items: center; gap: .85rem; flex-shrink: 0;
  padding: 6px 18px 6px 10px; background: #fff; border-radius: 18px;
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.55), 0 0 0 1px rgba(155,197,61,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.logo:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0,0,0,.6), 0 0 0 2px var(--leaf); }
.logo-mark { height: 56px; width: auto; max-width: none; transition: height .35s var(--ease); }
.logo .logo-text { display: flex; flex-direction: column; gap: 2px; padding-left: .85rem; border-left: 1px solid rgba(17,23,18,.12); }
.logo-name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: .01em; color: var(--ink); line-height: 1; }
.logo-amharic { font-family: "Noto Sans Ethiopic", var(--font-body); font-weight: 600; font-size: .78rem; color: var(--forest-2); line-height: 1.2; }
.header.scrolled .logo-mark { height: 46px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 10px 14px; }
.footer-logo img { width: 240px; height: auto; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.05; }
.logo-text small { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu ul { display: flex; gap: 1.6rem; }
.nav-link { white-space: nowrap; color: rgba(246,245,236,.85); font-weight: 600; font-size: .93rem; position: relative; padding: .3rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--leaf); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { padding: .7rem 1.2rem; white-space: nowrap; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger span {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--cream); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; color: var(--cream); overflow: hidden;
  background: var(--forest);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(155,197,61,.35), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(122,79,28,.35), transparent 60%),
    radial-gradient(70% 70% at 40% 40%, rgba(47,119,43,.6), transparent 70%),
    linear-gradient(160deg, #0a2410 0%, #0f2914 50%, #1b4d22 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: repeating-linear-gradient(115deg, var(--cream) 0 1px, transparent 1px 28px);
}
.hero { padding: calc(var(--header-h) + 72px) 0 112px; }
.hero::after { /* soft fade into the next section */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(8,36,27,.55)); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf-2);
  padding: .55rem 1.1rem .55rem .9rem; border-radius: 999px;
  background: rgba(246,245,236,.06); border: 1px solid rgba(196,215,99,.28);
  backdrop-filter: blur(8px); margin-bottom: 2rem;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(155,197,61,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(155,197,61,0); } 100% { box-shadow: 0 0 0 0 rgba(155,197,61,0); } }

/* Headline */
.hero-title {
  font-size: clamp(2.9rem, 5.4vw, 5.25rem); font-weight: 800; line-height: .98; letter-spacing: -0.035em;
  color: var(--cream); text-wrap: balance;
}
.hero-highlight {
  position: relative; display: inline-block; white-space: nowrap; font-style: italic; font-weight: 700;
  background: linear-gradient(100deg, #e4f2b0 0%, var(--leaf-2) 40%, var(--leaf) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}
.hero-highlight svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.hero-highlight path {
  fill: none; stroke: var(--leaf); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s .6s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.75; color: rgba(246,245,236,.78); margin: 2rem 0 2.75rem; max-width: 540px; }

/* CTAs */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }
.btn-hero-primary {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 1rem;
  padding: .55rem .55rem .55rem 1.9rem; border-radius: 999px;
  background: linear-gradient(135deg, #d3e88a 0%, var(--leaf) 55%, #7aa82c 100%);
  color: var(--forest); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em;
  box-shadow: 0 18px 40px -14px rgba(155,197,61,.85), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-hero-primary::before { /* shine sweep */
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: shine 4.5s 1.5s infinite;
}
@keyframes shine { 0% { left: -60%; } 18%, 100% { left: 130%; } }
.btn-arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); transition: transform .35s var(--ease); }
.btn-arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--leaf); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -14px rgba(155,197,61,.95), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-hero-primary:hover .btn-arrow { transform: translateX(4px) rotate(-45deg); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: .85rem; padding: .55rem 1.6rem .55rem .55rem;
  border-radius: 999px; color: var(--cream); font-weight: 700; font-size: 1rem;
  background: rgba(246,245,236,.06); border: 1px solid rgba(246,245,236,.22); backdrop-filter: blur(8px);
  transition: background .3s, border-color .3s, transform .35s var(--ease);
}
.btn-hero-secondary .play { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(246,245,236,.4); transition: background .3s, border-color .3s; }
.btn-hero-secondary .play svg { width: 16px; height: 16px; fill: var(--cream); margin-left: 2px; transition: fill .3s; }
.btn-hero-secondary:hover { background: rgba(246,245,236,.12); border-color: rgba(246,245,236,.4); transform: translateY(-3px); }
.btn-hero-secondary:hover .play { background: var(--cream); border-color: var(--cream); }
.btn-hero-secondary:hover .play svg { fill: var(--forest); }
.btn-hero-primary:focus-visible, .btn-hero-secondary:focus-visible { outline: 3px solid var(--leaf-2); outline-offset: 4px; }

/* Social proof */
.hero-trust { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(246,245,236,.12); max-width: 540px; }
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 800; color: var(--forest); border: 3px solid var(--forest); margin-left: -12px;
}
.trust-avatars span:first-child { margin-left: 0; background: var(--leaf); }
.trust-avatars span:nth-child(2) { background: #b98a4e; }
.trust-avatars span:nth-child(3) { background: var(--cream); }
.trust-avatars span:nth-child(4) { background: var(--forest-3); color: var(--cream); }
.hero-trust p { font-size: .92rem; line-height: 1.45; color: rgba(246,245,236,.7); }
.hero-trust strong { color: var(--cream); }

.hero-art { position: relative; }
.hero-svg { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.sun { animation: pulse 5s ease-in-out infinite; transform-origin: 380px 120px; }
.tractor { animation: drive 6s ease-in-out infinite; }
.wheel { animation: spin 2s linear infinite; transform-box: fill-box; transform-origin: center; }
.smoke { animation: smoke 2.4s ease-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drive { 0%,100% { transform: translate(130px,255px); } 50% { transform: translate(175px,252px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes smoke { 0% { transform: translate(0,0); opacity: .6; } 100% { transform: translate(-12px,-30px) scale(1.8); opacity: 0; } }

.float-card {
  position: absolute; background: rgba(246,245,236,.95); color: var(--forest);
  padding: .8rem 1.1rem; border-radius: 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; font-size: .8rem; animation: float 5s ease-in-out infinite;
}
.float-card strong { font-family: var(--font-display); font-size: 1.15rem; }
.float-1 { top: 8%; left: -4%; }
.float-2 { bottom: 6%; right: -3%; animation-delay: -2.5s; background: var(--leaf); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Stats ---------- */
.stats { background: var(--leaf); color: var(--forest); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .num, .stat .plus { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.stat p { font-weight: 600; font-size: .95rem; opacity: .85; }
.sample-note { margin-top: 1.4rem; text-align: center; font-size: .8rem; font-weight: 600; opacity: .7; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }
.section-head.left { text-align: left; margin: 0; }
.section-head.left p a { color: var(--forest-3); font-weight: 700; text-decoration: underline; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.about-copy > p { color: var(--muted); margin: 1.3rem 0 2rem; font-size: 1.05rem; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pillar { background: var(--white); padding: 1.5rem; border-radius: var(--radius); border-top: 4px solid var(--leaf); box-shadow: var(--shadow); }
.pillar h3 { margin-bottom: .5rem; color: var(--forest); }
.pillar p { color: var(--muted); font-size: .95rem; }
.about-panel {
  background: linear-gradient(150deg, var(--forest) 0%, var(--forest-2) 100%);
  border-radius: 32px; padding: 2.2rem; color: var(--cream); display: grid; gap: 1.4rem; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.about-panel::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--earth); opacity: .25; right: -80px; top: -80px; filter: blur(10px); }
.value { display: flex; gap: 1.1rem; align-items: flex-start; position: relative; }
.value span { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--leaf); min-width: 46px; }
.value h4 { font-size: 1.15rem; margin-bottom: .2rem; }
.value p { color: rgba(246,245,236,.75); font-size: .93rem; }

/* Services */
.services { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 100% 0%, rgba(155,197,61,.2), transparent 60%), radial-gradient(40% 40% at 0% 100%, rgba(122,79,28,.2), transparent 60%); }
.services .section-head p { color: rgba(246,245,236,.75); }
.cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: rgba(246,245,236,.06); border: 1px solid rgba(246,245,236,.12); border-radius: var(--radius);
  padding: 2rem; transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.card:hover { transform: translateY(-8px); background: rgba(246,245,236,.1); border-color: rgba(155,197,61,.5); }
.icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--leaf); margin-bottom: 1.3rem; }
.icon svg { width: 28px; height: 28px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: .6rem; }
.card p { color: rgba(246,245,236,.72); font-size: .95rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--leaf) 0 10px, transparent 10px 18px); }
.step { text-align: center; position: relative; padding: 0 .5rem; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: var(--leaf); font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  border: 5px solid var(--cream); box-shadow: 0 0 0 2px var(--leaf); position: relative;
}
.step h3 { color: var(--forest); margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Invest */
.invest { padding-top: 0; }
.invest-box {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: center;
  background: linear-gradient(120deg, var(--earth-2) 0%, var(--earth) 35%, var(--forest-3) 100%);
  color: var(--cream); border-radius: 36px; padding: clamp(2rem, 5vw, 4rem); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.invest-box::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(155,197,61,.18); right: -100px; bottom: -140px; }
.invest-box .eyebrow { color: var(--leaf-2); border-color: rgba(196,215,99,.5); }
.invest-box p { margin-top: 1rem; color: rgba(246,245,236,.88); max-width: 560px; }
.invest-actions { display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 1; }

/* Projects */
.projects { background: var(--cream-2); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.project { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.project:hover { transform: translateY(-8px); }
.project-art { height: 210px; position: relative; overflow: hidden; }
.project-art::after { content: ""; position: absolute; inset: 0; transition: transform .8s var(--ease); }
.project:hover .project-art::after { transform: scale(1.08); }
.art-1::after { background: repeating-linear-gradient(170deg, transparent 0 14px, rgba(255,255,255,.18) 14px 16px), linear-gradient(180deg, #ffd27a 0 40%, #e8a93a 40% 100%); }
.art-2::after { background: radial-gradient(circle at 75% 30%, #fff4d6 0 30px, transparent 31px), repeating-linear-gradient(175deg, transparent 0 18px, rgba(120,210,255,.35) 18px 21px), linear-gradient(180deg, #8fd0e8 0 38%, #2f7a46 38% 100%); }
.art-3::after { background: radial-gradient(circle at 30% 60%, var(--leaf) 0 40px, transparent 41px), radial-gradient(circle at 70% 55%, var(--earth) 0 55px, transparent 56px), linear-gradient(135deg, var(--forest) 0%, var(--forest-3) 100%); }
.tag { position: absolute; z-index: 1; top: 16px; left: 16px; background: var(--forest); color: var(--leaf); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.project-body { padding: 1.6rem; }
.project-body h3 { color: var(--forest); margin-bottom: .5rem; }
.project-body p { color: var(--muted); font-size: .95rem; }

/* Testimonials */
.testimonials { background: linear-gradient(160deg, #0a2410, var(--forest-2)); color: var(--cream); }
.slider { max-width: 820px; margin: 0 auto; text-align: center; }
.slides { position: relative; min-height: 220px; }
.slide { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.slide p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.8vw, 2rem); line-height: 1.4; font-weight: 500; }
.slide cite { display: block; margin-top: 1.4rem; font-style: normal; color: var(--leaf); font-weight: 700; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2.2rem; }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(246,245,236,.35); font-size: 1.1rem; transition: background .3s, color .3s; }
.slider-btn:hover { background: var(--leaf); color: var(--forest); border-color: var(--leaf); }
.dots { display: flex; gap: .5rem; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(246,245,236,.35); transition: width .3s, background .3s; }
.dot.active { width: 28px; background: var(--leaf); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.acc-item { border-bottom: 1px solid rgba(15,41,20,.15); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; padding: 1.4rem 0; font-weight: 700; font-size: 1.08rem; color: var(--forest); }
.acc-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); position: relative; flex-shrink: 0; transition: background .3s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--leaf); transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.acc-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--earth); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%,-50%) rotate(0); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-panel p { color: var(--muted); padding-bottom: 1.4rem; }

/* Contact */
.contact { background: var(--forest); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-info > p { color: rgba(246,245,236,.78); margin: 1.2rem 0 2rem; }
.info-list { display: grid; gap: 1rem; }
.info-list li { display: flex; align-items: center; gap: .9rem; font-weight: 600; }
.info-list span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(246,245,236,.08); }
.info-list a:hover { color: var(--leaf); }
.contact-form { background: var(--cream); color: var(--ink); padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 28px; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .88rem; color: var(--forest); }
.field input, .field select, .field textarea {
  font: inherit; padding: .9rem 1rem; border-radius: 14px; border: 1.5px solid var(--cream-2); background: var(--white);
  transition: border-color .25s, box-shadow .25s; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(47,119,43,.15); }
.field.invalid input, .field.invalid textarea { border-color: #b3402a; }
.error { color: #b3402a; font-weight: 600; min-height: 1em; font-size: .8rem; }
.form-success { color: var(--forest-3); font-weight: 700; text-align: center; }

/* Footer */
.footer { background: #081c0c; color: rgba(246,245,236,.75); padding: 4.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.footer-tag { margin-top: 1rem; max-width: 300px; font-size: .93rem; }
.footer h4 { color: var(--cream); font-size: 1.05rem; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .6rem; font-size: .93rem; }
.footer ul a:hover { color: var(--leaf); }
.footer-bottom { border-top: 1px solid rgba(246,245,236,.1); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; text-align: center; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--leaf); color: var(--forest); font-weight: 800; font-size: 1.2rem; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }


/* ---------- Language toggle ---------- */
.nav-tools { display: flex; align-items: center; gap: .6rem; position: relative; z-index: 120; }
.lang-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; gap: 2px;
  background: rgba(246,245,236,.08); border: 1px solid rgba(246,245,236,.2); backdrop-filter: blur(8px);
}
.lang-toggle span {
  min-width: 40px; padding: .38rem .6rem; border-radius: 999px; text-align: center;
  font-size: .8rem; font-weight: 800; color: rgba(246,245,236,.75); transition: background .3s, color .3s;
}
.lang-toggle span[data-lang="am"] { font-family: "Noto Sans Ethiopic", var(--font-body); }
.lang-toggle span.active { background: var(--leaf); color: var(--forest); }
.lang-toggle:hover span:not(.active) { color: var(--white); }
.lang-toggle:focus-visible { outline: 3px solid var(--leaf-2); outline-offset: 3px; }

/* ---------- Amharic typography ---------- */
html[lang="am"] body { font-family: "Noto Sans Ethiopic", var(--font-body); line-height: 1.8; }
html[lang="am"] h1, html[lang="am"] h2, html[lang="am"] h3, html[lang="am"] h4,
html[lang="am"] .slide p, html[lang="am"] .stat .num {
  font-family: "Noto Serif Ethiopic", "Noto Sans Ethiopic", var(--font-display); letter-spacing: 0;
}
html[lang="am"] .hero-title { font-size: clamp(2.3rem, 4.4vw, 4.1rem); line-height: 1.2; }
html[lang="am"] h2 { line-height: 1.3; }
html[lang="am"] .hero-highlight { font-style: normal; }
html[lang="am"] .eyebrow, html[lang="am"] .hero-eyebrow, html[lang="am"] .tag { letter-spacing: .04em; }
html[lang="am"] .nav-link { font-size: .95rem; }

/* ---------- Photo slots ---------- */
.hero-photo { display: none; }
.hero-photo.has-photo {
  display: block; position: relative; width: min(100%, 460px); margin-left: auto; aspect-ratio: 4 / 5; border-radius: 36px;
  background: var(--photo) center / cover no-repeat; overflow: hidden;
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.6), 0 0 0 1px rgba(196,215,99,.25);
}
.hero-photo.has-photo::after { /* soft shade so the floating cards read well */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to top, rgba(10,36,16,.45), transparent 35%);
}
.hero-art.photo-loaded .float-1 { left: 0; top: 10%; }
.hero-art.photo-loaded .float-2 { right: -4%; bottom: 8%; }
@media (max-width: 900px) { .hero-photo.has-photo { margin-inline: auto; } }
.hero-art.photo-loaded .hero-svg { display: none; }
.project-art.has-photo::after { background: var(--photo) center / cover no-repeat; }

.plain { font-style: normal; color: inherit; }


/* ---------- Gallery ---------- */
.gallery { background: var(--forest); color: var(--cream); position: relative; overflow: hidden; }
.gallery::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 45% at 0% 0%, rgba(155,197,61,.16), transparent 60%), radial-gradient(40% 40% at 100% 100%, rgba(122,79,28,.25), transparent 60%); }
.gallery .section-head p { color: rgba(246,245,236,.72); }
.gallery-grid {
  position: relative; display: grid; gap: 14px;
  grid-template-columns: 1.15fr 1fr 1fr 1.15fr; grid-template-rows: 250px 250px;
  grid-template-areas: "a b c f" "a d e f";
}
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; }
.g-d { grid-area: d; } .g-e { grid-area: e; } .g-f { grid-area: f; }
.g-item { position: relative; overflow: hidden; border-radius: 20px; padding: 0; background: var(--forest-2); cursor: zoom-in; text-align: left; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-f img { object-position: center 60%; }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,36,16,.75), transparent 55%); opacity: .55; transition: opacity .4s; }
.g-cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  font-weight: 700; font-size: .92rem; color: var(--cream);
  transform: translateY(6px); opacity: .9; transition: transform .4s var(--ease), opacity .4s;
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { transform: none; opacity: 1; }
.g-item:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 24px; background: rgba(6,18,9,.94); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; justify-items: center; gap: .9rem; margin: 0; min-width: 0; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.lightbox figcaption { color: var(--cream); font-weight: 600; text-align: center; }
.lb-close { position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; line-height: 1; color: var(--cream); background: rgba(246,245,236,.1); }
.lb-nav { width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; color: var(--forest); background: var(--leaf); }
.lb-close:hover { background: rgba(246,245,236,.2); }
.lb-nav:hover { background: var(--leaf-2); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.member { background: var(--white); border-radius: var(--radius); padding: 2rem 1.4rem; text-align: center; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.member:hover { transform: translateY(-6px); }
.avatar {
  width: 120px; height: 120px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--forest-3), var(--forest)); color: var(--leaf-2);
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px var(--leaf);
}
.avatar.has-photo { background: var(--photo) center / cover no-repeat; }
.avatar.has-photo span { display: none; }
.member h3 { color: var(--forest); margin-bottom: .3rem; }
.member .role { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- Partners ---------- */
.partners { background: var(--cream-2); }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.partner {
  display: grid; justify-items: center; align-content: center; gap: .8rem; min-height: 150px; padding: 1.4rem 1rem;
  background: var(--white); border-radius: 18px; text-align: center; border: 1px solid rgba(17,23,18,.06);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.partner:hover { transform: translateY(-4px); border-color: var(--leaf); box-shadow: var(--shadow); }
.partner svg { width: 38px; height: 38px; fill: none; stroke: var(--forest-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.partner span { font-weight: 700; font-size: .88rem; color: var(--forest); line-height: 1.35; }
.partner img { max-height: 56px; width: auto; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.post:hover { transform: translateY(-6px); }
.post-img { height: 190px; background: var(--photo) center / cover no-repeat; }
.post-body { padding: 1.5rem 1.6rem 1.8rem; }
.post-meta { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; font-size: .8rem; color: var(--muted); font-weight: 600; }
.post-tag { background: rgba(155,197,61,.2); color: var(--forest-2); padding: .25rem .7rem; border-radius: 999px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .7rem; }
.post h3 { color: var(--forest); margin-bottom: .6rem; font-size: 1.2rem; }
.post p { color: var(--muted); font-size: .94rem; }

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 150px 150px; grid-template-areas: "a f" "a f" "b c" "d e"; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 12px 90px; }
  .lb-nav { position: absolute; bottom: 20px; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .member { padding: 1.4rem .8rem; }
  .avatar { width: 88px; height: 88px; font-size: 1.5rem; }
  .member h3 { font-size: 1.05rem; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .nav-menu ul { gap: 1.1rem; }
  .cards, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1240px) {
  .burger { display: block; }
  .nav-menu {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; gap: 2.5rem;
    background: rgba(10,30,14,.98); backdrop-filter: blur(12px);
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav-menu.open { transform: none; }
  .nav-menu ul { flex-direction: column; align-items: center; gap: 1.6rem; }
  .nav-link { font-size: 1.4rem; font-family: var(--font-display); }
}

@media (max-width: 900px) {

  .hero-grid, .about-grid, .faq-grid, .contact-grid, .invest-box { grid-template-columns: 1fr; }
  .hero { text-align: center; padding: calc(var(--header-h) + 48px) 0 88px; }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { margin-inline: auto; justify-content: center; text-align: left; }
  .hero-art { width: 100%; max-width: 520px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .steps::before { display: none; }
  .section-head.left { text-align: center; margin-bottom: 1rem; }
  .about-grid, .faq-grid, .contact-grid { gap: 2.5rem; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .cards, .project-grid, .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .logo { padding: 5px 12px 5px 6px; gap: .55rem; border-radius: 14px; }
  .logo-mark, .header.scrolled .logo-mark { height: 38px; }
  .logo .logo-text { padding-left: .55rem; }
  .logo-amharic { font-size: .6rem; }
  /* compact switch: show only the language you can switch to */
  .lang-toggle { padding: 3px; }
  .lang-toggle span { min-width: 36px; padding: .3rem .4rem; font-size: .74rem; }
  .lang-toggle span.active { display: none; }
  .lang-toggle span:not(.active) { background: rgba(246,245,236,.1); color: var(--cream); }
  .nav-tools { gap: .1rem; }
  .logo-name { font-size: .76rem; }
  .footer-tag { margin-inline: auto; }
  .float-1 { left: 0; } .float-2 { right: 0; }
  .hero-art.photo-loaded .float-2 { right: 8px; }
  .hero-art.photo-loaded .float-1 { left: 8px; }
  .float-card { font-size: .7rem; padding: .6rem .8rem; }
  .hero-title { font-size: clamp(2.6rem, 11.5vw, 3.4rem); }
  .hero-eyebrow { font-size: .62rem; letter-spacing: .1em; white-space: nowrap; margin-bottom: 1.5rem; }
  .hero-lead { margin: 1.5rem 0 2.25rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-hero-primary { justify-content: space-between; }
  .btn-hero-secondary { justify-content: center; padding-right: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-highlight path { stroke-dashoffset: 0; }
}
