/* Gobanimo Microfinance — shared site chrome (header, footer, buttons) for all marketing pages.
   Pair with styles.css (tokens). Page-specific styles live in each page. */

/* Eyebrow kicker: pasture green (the old #9C7C3A olive read as gold — off-brand
   per the brand guide's no-gold rule — and fell below AA contrast on white). */
:root { --eyebrow: var(--pasture-dark); }
body { --cta: var(--pasture); --cta-press: var(--pasture-dark); background: #fff; margin: 0; color: var(--ink); font-family: var(--font-body); }
.site { max-width: 1500px; margin: 0 auto; }
a { text-decoration: none; color: inherit; }
.ic { width: 20px; height: 20px; stroke-width: 1.6; }

/* Header */
header.nav { display: flex; align-items: center; gap: 28px; padding: 16px clamp(20px,3vw,40px); border-bottom: 1px solid var(--line); }
.logo-lockup { display: flex; flex-direction: row; align-items: center; gap: 12px; text-decoration: none; }
.logo-lockup .lk-mark { height: 54px; width: 54px; display: block; flex: none; }
.logo-lockup .lk-stack { display: flex; flex-direction: column; }
.logo-lockup .lk-name { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: .05em; color: var(--green); text-transform: uppercase; }
.logo-lockup .lk-sub { font-size: 10px; font-weight: 800; letter-spacing: .33em; color: var(--leaf); text-transform: uppercase; margin: 3px 0 2px; }
.logo-lockup .lk-sub::before { content: "\00b7\2009"; } .logo-lockup .lk-sub::after { content: "\2009\00b7"; }
.logo-lockup .lk-tag { font-size: 9.5px; font-weight: 900; letter-spacing: .12em; color: var(--green); text-transform: uppercase; white-space: nowrap; }
.lk-foot .lk-name { color: #F7F2E8; } .lk-foot { margin-bottom: 10px; }
nav.links { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600; color: #3a4a40; }
nav.links a { position: relative; padding-bottom: 2px; }
nav.links a:hover { color: var(--green); }
nav.links a.active { color: var(--green); }
nav.links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2.5px; background: var(--pasture); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Nav dropdowns */
.dropdown { position: relative; }
.dropbtn { background: none; border: 0; font: inherit; font-weight: 600; color: #3a4a40; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; padding: 0; }
.dropbtn svg { width: 15px; height: 15px; transition: transform .2s ease; }
.dropbtn:hover { color: var(--green); }
.dropdown:hover .dropbtn, .dropdown:focus-within .dropbtn { color: var(--green); }
.dropdown:hover .dropbtn svg, .dropdown:focus-within .dropbtn svg { transform: rotate(180deg); }
.dropmenu { position: absolute; top: calc(100% + 12px); left: 0; min-width: 212px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 44px rgba(18,61,38,.16); padding: 7px; display: none; flex-direction: column; z-index: 70; }
.dropmenu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown:hover .dropmenu, .dropdown:focus-within .dropmenu { display: flex; }
.dropmenu a { padding: 10px 12px; border-radius: 7px; font-size: 14px; font-weight: 600; color: #3a4a40; white-space: nowrap; }
.dropmenu a:hover { background: var(--sage); color: var(--green); }


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 800; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .14s ease, background .14s ease, box-shadow .14s ease, border-color .14s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: #fff; box-shadow: 0 10px 22px rgba(18,61,38,.18); }
.btn-primary:hover { background: var(--cta-press); box-shadow: 0 12px 26px rgba(18,61,38,.24); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--green); }
.btn-outline:hover { border-color: var(--green); background: var(--sage-100); }
.btn-ghost { background: rgba(255,255,255,.85); border-color: rgba(30,94,58,.2); color: var(--green); }
.btn-ghost:hover { background: #fff; border-color: var(--green); }
.btn-ongreen { background: #fff; color: var(--green); }
.btn-ongreen:hover { background: var(--sage-100); box-shadow: 0 12px 26px rgba(18,61,38,.24); }
/* Outline button on dark/green surfaces (CTA bands) — replaces the per-page
   inline style="background:transparent;border-color:rgba(255,255,255,.6)…". */
.btn-outline-on { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline-on:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn-lg { height: 56px; padding: 0 26px; font-size: 15px; }

/* Section + eyebrow */
.section { max-width: 1180px; margin: 0 auto; padding: 60px clamp(20px,3vw,28px) 0; }
.eyebrow { text-align: center; color: var(--eyebrow); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; }
/* h2 gets the landing's roomier 28px rhythm; a following .sub pulls itself
   back up so eyebrow+h2+sub sections keep their existing tight spacing. */
.section > h2 { text-align: center; font-family: var(--font-display); color: var(--green-dark); font-size: clamp(30px,3.4vw,40px); margin: 0 0 28px; }
.section > .sub { text-align: center; color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 640px; margin: -16px auto 32px; }

/* Footer */
footer.ft { background: var(--green-deep); color: #fff; margin-top: 64px; padding: 48px clamp(20px,4vw,72px) 28px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 30px; }
.ft-brand img { height: 58px; width: auto; margin-bottom: 16px; display: block; }
.ft-brand p { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; max-width: 280px; margin: 0; }
.ft-col h4 { font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 4px 0 14px; }
.ft-col a { display: block; color: rgba(255,255,255,.74); font-size: 14px; margin-bottom: 10px; }
.ft-col a:hover { color: var(--leaf); }
.ft-social { display: flex; gap: 10px; margin-top: 4px; }
.ft-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.ft-social a:hover { background: var(--pasture); }
.ft-social svg { width: 18px; height: 18px; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 20px; color: rgba(255,255,255,.66); font-size: 13px; }
.ft-bottom a { margin-left: 18px; color: rgba(255,255,255,.66); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--green-deep)); color: #fff; border-radius: 18px; margin: 64px clamp(20px,3vw,28px) 0; padding: 48px clamp(28px,4vw,56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(28px,3vw,38px); margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hamburger (mobile / narrow). The checkbox stays in the accessibility tree
   (visually hidden, not display:none) so the menu is keyboard/AT-operable:
   Tab reaches it, Space toggles it, and the ring shows on the hamburger. */
.nav-toggle { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.nav-toggle:focus-visible ~ .nav-right .hamburger { outline: 2px solid var(--green); outline-offset: 2px; box-shadow: var(--ring); }
.hamburger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--green); cursor: pointer; flex: none; }
.hamburger svg { width: 24px; height: 24px; }
.hamburger .x { display: none; }
.nav-toggle:checked ~ .nav-right .hamburger .menu { display: none; }
.nav-toggle:checked ~ .nav-right .hamburger .x { display: block; }

@media (max-width: 1080px) {
  header.nav { flex-wrap: wrap; position: relative; gap: 14px; }
  .logo-lockup .lk-mark { height: 46px; width: 46px; } .logo-lockup .lk-name { font-size: 20px; }
  nav.links { display: none; }
  .nav-right { margin-left: auto; }
  .hamburger { display: inline-flex; }
  .nav-right .btn-outline { display: none; }
  .nav-toggle:checked ~ nav.links {
    display: flex; flex-direction: column; gap: 0; margin: 0; padding: 6px 0;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 44px rgba(18,61,38,.14);
  }
  .nav-toggle:checked ~ nav.links a { padding: 15px clamp(20px,4vw,40px); border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-toggle:checked ~ nav.links a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ nav.links a.active { color: var(--green); }
  .nav-toggle:checked ~ nav.links a.active::after { display: none; }

  .nav-toggle:checked ~ nav.links .dropdown { display: block; width: 100%; }
  .nav-toggle:checked ~ nav.links .dropbtn { width: 100%; justify-content: space-between; padding: 15px clamp(20px,4vw,40px); border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-toggle:checked ~ nav.links .dropmenu { display: flex; position: static; border: 0; box-shadow: none; padding: 0; min-width: 0; }
  .nav-toggle:checked ~ nav.links .dropmenu::before { display: none; }
  .nav-toggle:checked ~ nav.links .dropmenu a { padding: 13px clamp(30px,6vw,54px); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }

  .ft-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .ft-grid { grid-template-columns: 1fr; }
  .logo-lockup .lk-tag { display: none; }
}

/* Nav alignment + bilingual language switcher (added) */
header.nav { flex-wrap: nowrap; }
nav.links { align-items: center; }
nav.links a, .dropbtn { white-space: nowrap; }

/* One-click EN | SO language toggle */
.langtoggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.langtoggle button { border: 0; background: transparent; cursor: pointer; font: inherit; font-weight: 800; font-size: 13px; color: var(--muted); padding: 6px 12px; line-height: 1; }
.langtoggle button.on { background: var(--green); color: #fff; }
.langtoggle button:not(.on):hover { color: var(--green); }
