/* ============================================================
   TornadoGate —    ( )
    split-hero,  mobile money, list-
    styles.css, geo.css, country.css
   ============================================================ */

/* ----------  split-hero ---------- */
.afr-hero {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  padding: 132px 0 70px;
  overflow: hidden;
}

.afr-flag,
.afr-near-flag {
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 6px 16px rgba(6,78,59,0.16), inset 0 0 0 1px rgba(255,255,255,0.35);
}
.afr-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(16,185,129,0.12) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 70% at 85% 10%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 10%, #000 0%, transparent 62%);
}
.afr-hero::after {
  content: "";
  position: absolute;
  right: -160px; top: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.14), transparent 70%);
  pointer-events: none;
}
.afr-hero .wrap { position: relative; z-index: 1; }
.afr-hero .crumbs { color: var(--muted); margin-bottom: 34px; }
.afr-hero .crumbs a { color: var(--muted); }
.afr-hero .crumbs a:hover { color: var(--accent-deep); }
.afr-hero .crumbs .cur { color: var(--accent-deep); }
.afr-hero .crumbs svg { opacity: 0.5; }

.afr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 50px;
  align-items: center;
}
.afr-flag {
  width: 88px; height: 62px;
  border-radius: 14px;
  background-size: cover; background-position: center;
  box-shadow: 0 12px 30px rgba(6,78,59,0.2);
  outline: 1px solid rgba(0,0,0,0.07); outline-offset: -1px;
  margin-bottom: 22px;
}
.afr-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
}
.afr-cur {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent-deep); background: var(--tint);
  border: 1px solid transparent;
  border-radius: 999px; padding: 6px 15px; align-self: center;
}
.afr-hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--muted);
  max-width: 520px; margin-top: 18px; text-wrap: pretty;
}
.afr-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.afr-tags span {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm);
  border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
}
.afr-tags span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/*  mobile money /  */
.momo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.momo-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--accent-deep); margin-bottom: 20px;
}
.momo-head .mc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(16,185,129,0.15); }
.momo-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.momo-row:first-of-type { border-top: none; }
.momo-ico {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--accent-deep);
  background: linear-gradient(135deg, var(--tint), #d4f3e4);
}
.momo-ico svg { width: 19px; height: 19px; }
.momo-text b { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--ink); }
.momo-text small { font-size: 12.5px; color: var(--muted); }
.momo-row .momo-badge {
  margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent-deep); background: var(--tint-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}

/* ---------- List- « » ---------- */
.afr-close { padding: 96px 0; }
.afr-list { display: flex; flex-direction: column; gap: 14px; }
.afr-item {
  display: grid;
  grid-template-columns: 60px minmax(220px, 1fr) 2fr auto;
  gap: 26px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.afr-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #bfe8d4; }
.afr-item-ico {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 8px 18px rgba(16,185,129,0.28);
}
.afr-item-ico svg { width: 25px; height: 25px; }
.afr-item-title b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.afr-item-title small { font-size: 13px; color: var(--muted); }
.afr-item-desc { font-size: 14.5px; color: var(--muted); text-wrap: pretty; }
.afr-item-chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.afr-item-chips span {
  background: var(--tint-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--accent-dark); white-space: nowrap;
}

/* ----------  (-  country.css) ---------- */
.afr-prefs { padding: 0 0 96px; }

/* ----------  ---------- */
.afr-insights { padding: 0 0 96px; }
.afr-insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.afr-insight {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.afr-insight:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.afr-insight .ai-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 11px; background: var(--tint); color: var(--accent-deep);
  font-family: var(--font-display); font-size: 14px; font-weight: 700; margin-bottom: 18px;
}
.afr-insight h3 { font-family: var(--font-display); font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.afr-insight p { font-size: 14.5px; color: var(--muted); text-wrap: pretty; }

/* ----------   ---------- */
.afr-near { padding: 0 0 100px; }
.afr-near-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.afr-near-card {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.afr-near-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #bfe8d4; }
.afr-near-flag {
  width: 32px; height: 23px; border-radius: 5px; flex-shrink: 0;
  background-size: cover; background-position: center;
  outline: 1px solid rgba(0,0,0,0.08); outline-offset: -1px;
}
.afr-near-card span { font-size: 13.5px; font-weight: 600; }

@media (max-width: 980px) {
  .afr-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .afr-insights-grid { grid-template-columns: 1fr; }
  .afr-near-track { grid-template-columns: repeat(3, 1fr); }
  .afr-item { grid-template-columns: 48px 1fr; gap: 16px; }
  .afr-item-desc { grid-column: 1 / -1; }
  .afr-item-chips { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .afr-hero-grid { gap: 26px; }
  .afr-near-track { grid-template-columns: 1fr 1fr; }
  .afr-item { padding: 20px; }
}

@media (max-width: 760px) {
  .afr-hero {
    padding: 106px 0 52px;
  }

  .afr-hero .crumbs {
    margin-bottom: 22px;
    overflow-x: auto;
    padding-bottom: 4px;
    white-space: nowrap;
  }

  .afr-hero-grid {
    gap: 24px;
  }

  .afr-flag {
    width: 78px;
    height: 56px;
    border-radius: 13px;
  }

  .afr-hero h1 {
    font-size: clamp(29px, 9vw, 40px);
  }

  .afr-cur,
  .afr-tags span {
    font-size: 12.5px;
    padding: 7px 12px;
  }

  .afr-hero-sub {
    font-size: 16px;
  }

  .momo-card,
  .afr-item,
  .afr-insight {
    border-radius: 18px;
    padding: 22px 20px;
  }

  .momo-row {
    align-items: flex-start;
  }

  .momo-row .momo-badge {
    margin-left: 0;
  }

  .afr-close {
    padding: 66px 0;
  }

  .afr-prefs,
  .afr-insights,
  .afr-near {
    padding-bottom: 66px;
  }

  .afr-near-track {
    gap: 10px;
  }

  .afr-near-card {
    padding: 13px;
    border-radius: 14px;
  }
}

@media (max-width: 430px) {
  .afr-near-track {
    grid-template-columns: 1fr;
  }

  .momo-row {
    flex-wrap: wrap;
  }
}

.afr-flag,
.afr-near-flag {
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 6px 16px rgba(6,78,59,0.16), inset 0 0 0 1px rgba(255,255,255,0.35);
}
