/* ============================================================
   Fahavi — global footer v2  (fahavi-footer.css)
   Mockup structure, existing navy palette (#0A1024 base).
   ============================================================ */

.fh-ft { background: #0A1024; color: #C6CCE0; font-size: 14px; }
.fh-ft a { text-decoration: none; }
.fh-ft__wrap { width: min(100% - clamp(32px, 4vw, 64px), var(--fh-maxw-wide)); margin-inline: auto; padding: clamp(26px, 3vw, 42px) 0 0; }

/* ---- newsletter band ---- */
.fh-ft__news {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(300px, 460px);
  gap: clamp(16px, 2.6vw, 30px); align-items: center;
  background: linear-gradient(115deg, #101B46 0%, #16255E 55%, #101B46 100%);
  border: 1px solid rgba(120, 150, 230, .18);
  border-radius: 18px;
  padding: clamp(20px, 2.6vw, 32px) clamp(20px, 3vw, 38px);
  position: relative; overflow: hidden;
}
.fh-ft__news::before {
  content: ''; position: absolute; inset: 0 78% 0 0;
  background-image: radial-gradient(rgba(147, 180, 255, .14) 1px, transparent 1.4px);
  background-size: 18px 18px; pointer-events: none;
  mask-image: linear-gradient(to right, rgba(0,0,0,.9), transparent);
}
.fh-ft__news::after {
  content: ''; position: absolute; inset: 0 0 0 60%;
  background-image: radial-gradient(rgba(147, 180, 255, .14) 1px, transparent 1.4px);
  background-size: 20px 20px; pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0,0,0,.8), transparent);
}
.fh-ft__newsico {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #2B45AB, #101B46 75%);
  color: #B9CDFF;
  border: 1px solid rgba(120, 150, 230, .4);
  box-shadow: 0 0 0 7px rgba(43, 69, 171, .22), 0 0 0 14px rgba(43, 69, 171, .1), 0 0 34px rgba(59, 130, 246, .35);
}
.fh-ft__newsico svg { width: 32px; height: 32px; }
.fh-ft__newscopy h2 { margin: 0 0 6px; font-size: clamp(19px, 2vw, 25px); font-weight: 800; color: #fff; }
.fh-ft__newscopy p { margin: 0; font-size: 14px; line-height: 1.55; color: #A7B1CE; }
.fh-ft__newsform { position: relative; z-index: 1; }
.fh-ft__newsrow { display: flex; gap: 10px; }
.fh-ft__newsfield {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px;
  background: rgba(8, 13, 34, .75); border: 1px solid rgba(120, 150, 230, .25);
  border-radius: 10px; padding: 0 14px; height: 48px;
}
.fh-ft__newsfield svg { width: 17px; height: 17px; color: #6E7FAF; flex: none; }
.fh-ft__newsfield input {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent;
  color: #fff; font-size: 14px; outline: none;
}
.fh-ft__newsfield input::placeholder { color: #6E7FAF; }
.fh-ft__newsfield:focus-within { border-color: #3B82F6; }
.fh-ft__newsrow button {
  height: 48px; padding: 0 24px; border: 0; border-radius: 10px;
  background: linear-gradient(120deg, #3B82F6, #2B45AB); color: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer;
}
.fh-ft__newsrow button:hover:not(:disabled) { filter: brightness(1.12); }
.fh-ft__newsrow button:disabled { opacity: .6; }
.fh-ft__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fh-ft__newsnote { display: flex; align-items: center; gap: 7px; margin: 9px 2px 0; font-size: 12.5px; color: #8FA0C7; }
.fh-ft__newsnote svg { width: 14px; height: 14px; color: #4ADE80; flex: none; }
.fh-ft__newsnote.is-ok { color: #4ADE80; }
.fh-ft__newsnote.is-err { color: #F87171; }

/* ---- link columns ---- */
.fh-ft__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.3fr);
  gap: clamp(20px, 2.6vw, 40px);
  padding: clamp(28px, 3.4vw, 46px) 0 clamp(22px, 2.6vw, 34px);
}
.fh-ft__cols > * + * { border-left: 1px solid rgba(120, 150, 230, .12); padding-left: clamp(18px, 2.2vw, 36px); }
.fh-ft__logo { max-width: 190px; height: auto; }
.fh-ft__brand p { margin: 14px 0 0; font-size: 13.5px; line-height: 1.7; color: #A7B1CE; max-width: 300px; }
.fh-ft__col h3 {
  margin: 0 0 14px; font-size: 13px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  padding-bottom: 9px; position: relative;
}
.fh-ft__col h3 { border-bottom: 1px solid rgba(120, 150, 230, .18); }
.fh-ft__col h3::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 34px; height: 2px; border-radius: 2px; background: #3B82F6; }
.fh-ft__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fh-ft__col ul a { display: inline-flex; align-items: center; gap: 8px; color: #C6CCE0; font-size: 13.5px; }
.fh-ft__col ul a:hover { color: #fff; }
.fh-ft__col ul a svg { width: 12px; height: 12px; color: #5B6BA0; flex: none; }
.fh-ft__col--contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.55; color: #C6CCE0; }
.fh-ft__col--contact li > svg {
  width: 30px; height: 30px; padding: 6px; flex: none; margin-top: -3px;
  color: #5B8CFF; border: 1px solid rgba(120, 150, 230, .3); border-radius: 50%;
}
.fh-ft__col--contact a { color: #C6CCE0; }
.fh-ft__col--contact a:hover { color: #fff; }

/* ---- payments + WhatsApp chip ---- */
.fh-ft__pay {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid rgba(120, 150, 230, .14);
  padding: 18px 0;
}
.fh-ft__paylist { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fh-ft__paylabel { font-size: 13px; color: #8FA0C7; }
.fh-ft__mpesa, .fh-ft__payitem {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(120, 150, 230, .2);
  border-radius: 8px;
}
.fh-ft__mpesa { font-size: 15px; font-weight: 800; letter-spacing: .02em; color: #25D366; }
.fh-ft__payitem { font-size: 13px; font-weight: 700; color: #E3E8F6; }
.fh-ft__paysep { width: 1px; height: 20px; background: rgba(120, 150, 230, .25); }
.fh-ft__wachip {
  display: inline-flex; align-items: center; gap: 11px;
  border: 1px solid rgba(37, 211, 102, .45); border-radius: 12px;
  padding: 9px 16px; color: #fff;
}
.fh-ft__wachip:hover { background: rgba(37, 211, 102, .08); }
.fh-ft__wachip > svg { width: 22px; height: 22px; color: #25D366; flex: none; }
.fh-ft__wachip strong { display: block; font-size: 13.5px; font-weight: 700; color: #fff; }
.fh-ft__wachip em { display: block; font-style: normal; font-size: 12px; color: #A7B1CE; margin-top: 1px; }

/* ---- legal ---- */
.fh-ft__legal {
  position: relative;
  display: flex; align-items: center; justify-content: flex-start;
  border-top: 1px solid rgba(120, 150, 230, .14);
  padding: 16px 0 22px;
  font-size: 13px; color: #8FA0C7;
}
/* © stays left; the three legal links sit dead-centre of the bar */
.fh-ft__legal nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 22px; flex-wrap: wrap; justify-content: center;
}
@media (max-width: 900px) {
  .fh-ft__legal { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .fh-ft__legal nav { position: static; transform: none; }
}
.fh-ft__legal a { color: #C6CCE0; }
.fh-ft__legal a:hover { color: #fff; }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .fh-ft__news { grid-template-columns: minmax(0, 1fr); }
  .fh-ft__newsico { display: none; }
  .fh-ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fh-ft__brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .fh-ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fh-ft__col--contact { grid-column: 1 / -1; }
  .fh-ft__pay { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .fh-ft__cols { grid-template-columns: 1fr; }
  .fh-ft__newsrow { flex-direction: column; }
  .fh-ft__newsrow button { width: 100%; }
  .fh-ft__legal { flex-direction: column; align-items: flex-start; }
}
/* brand-column trust list (new footer organization) */
.fh-ft__assure { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fh-ft__assure li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 600; color: #E3E8F6; }
.fh-ft__assure svg { width: 26px; height: 26px; padding: 5px; flex: none; color: #8FB0FF; border: 1px solid rgba(120, 150, 230, .28); border-radius: 8px; background: rgba(43, 69, 171, .18); }
@media (max-width: 1080px) { .fh-ft__cols > * + * { border-left: 0; padding-left: 0; } }
