@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* =====================================================
   TRUSTLINE COURIER
   GLOBAL STYLES
===================================================== */

:root {
  --purple: #39227a;
  --purple-dark: #21134f;
  --red: #ed1c24;
  --ink: #121218;
  --muted: #687083;
  --bg: #f6f6fb;
  --white: #ffffff;
  --line: rgba(57, 34, 122, 0.10);

  --shadow:
    0 24px 70px rgba(30, 18, 75, 0.12);

  --radius: 26px;
}


/* =====================================================
   RESET
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
}


/* =====================================================
   TYPOGRAPHY
===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  letter-spacing: 0.01em;
  word-spacing: 0.08em;
}

p {
  overflow-wrap: break-word;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}


/* =====================================================
   TOP BAR
===================================================== */

.topbar {
  background: var(--purple-dark);
  color: #ffffff;
  font-size: 12px;
  padding: 9px 0;
}

.topbar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.topbar a {
  color: #ffffff;
  font-weight: 800;
}


/* =====================================================
   NAVIGATION
===================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(18px);

  border-bottom:
    1px solid rgba(20, 10, 50, 0.07);
}

.nav-row {
  min-height: 80px;

  display: flex;
  align-items: center;

  gap: 25px;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: 150px;
  height: auto;
}

.links {
  display: flex;
  align-items: center;

  gap: 24px;

  margin-left: auto;
}

.links a {
  position: relative;

  font-size: 13px;
  font-weight: 800;

  color: #37343f;

  white-space: nowrap;
}

.links a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -9px;

  width: 0;
  height: 2px;

  background: var(--red);

  transition: width 0.3s ease;
}

.links a:hover::after,
.links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 10px;
  margin-left: 10px;
}

.menu {
  display: none;

  border: 0;
  background: transparent;

  font-size: 25px;

  color: var(--purple);

  margin-left: auto;
}


/* =====================================================
   MOBILE NAV
===================================================== */

.mobile-nav {
  display: none;

  padding: 10px 18px 20px;

  border-top:
    1px solid var(--line);

  background: #ffffff;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;

  padding: 12px 0;

  font-size: 14px;
  font-weight: 800;
}

.mobile-whatsapp {
  display: flex !important;

  align-items: center;

  gap: 10px;

  color: #168c42;
}


/* =====================================================
   BUTTONS
===================================================== */

.btn {
  border: 0;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 14px 21px;

  border-radius: 14px;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: var(--red);
  color: #ffffff;

  box-shadow:
    0 12px 28px rgba(237, 28, 36, 0.22);
}

.btn.dark {
  background: var(--purple);
  color: #ffffff;
}

.btn.light {
  background: #ffffff;
  color: var(--purple);
}

.btn.outline {
  border:
    1px solid rgba(255, 255, 255, 0.5);

  color: #ffffff;

  background:
    rgba(255, 255, 255, 0.08);
}


/* =====================================================
   EYEBROW
===================================================== */

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 15px;

  text-transform: uppercase;

  letter-spacing: 1.7px;

  font-size: 11px;
  font-weight: 900;

  color: var(--red);
}


/* =====================================================
   SECTIONS
===================================================== */

.section {
  padding: 100px 0;
}

.section.alt {
  background: var(--bg);
}

.section-head {
  margin-bottom: 42px;
}

.section-head.center {
  max-width: 760px;

  margin-left: auto;
  margin-right: auto;

  text-align: center;
}

.section-head h2,
.about h2,
.business-copy h2,
.order-copy h2 {
  font-family: "Plus Jakarta Sans", sans-serif;

  font-size:
    clamp(35px, 5vw, 58px);

  line-height: 1.05;

  letter-spacing: -2px;

  color: var(--purple);
}

.section-head p,
.card p,
.business-copy p,
.order-copy p {
  color: var(--muted);
}


/* =====================================================
   GRID
===================================================== */

.grid {
  display: grid;
  gap: 18px;
}

.card {
  background: #ffffff;

  border:
    1px solid var(--line);

  border-radius: var(--radius);

  padding: 28px;

  box-shadow:
    0 10px 35px rgba(20, 10, 50, 0.045);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-9px);

  box-shadow: var(--shadow);
}

.icon {
  width: 50px;
  height: 50px;

  border-radius: 15px;

  background:
    rgba(57, 34, 122, 0.08);

  color: var(--purple);

  display: grid;
  place-items: center;

  font-size: 19px;

  margin-bottom: 20px;
}

.card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;

  font-size: 19px;

  margin-bottom: 9px;
}

.features {
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}


/* =====================================================
   SERVICES
===================================================== */

.services {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.service {
  padding: 0;

  overflow: hidden;
}

.service-photo {
  width: 100%;
  height: 220px;

  object-fit: cover;

  transition:
    transform 0.55s ease;
}

.service:hover .service-photo {
  transform: scale(1.05);
}

.service-body {
  padding: 25px;
}

.service-body a {
  display: inline-flex;

  gap: 7px;

  color: var(--red);

  font-size: 12px;
  font-weight: 900;

  margin-top: 15px;
}


/* =====================================================
   PAGE HERO
===================================================== */

.page-hero {
  padding: 115px 0 95px;

  background:
    linear-gradient(
      120deg,
      var(--purple-dark),
      var(--purple)
    );

  color: #ffffff;
}

.page-hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;

  font-size:
    clamp(44px, 6vw, 72px);

  line-height: 1;

  letter-spacing: -3px;
}

.page-hero p {
  max-width: 680px;

  margin-top: 16px;

  color: #ddd7e8;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 50px;

  align-items: center;
}

.about p {
  color: var(--muted);

  margin-top: 15px;
}

.checks {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 10px;

  margin: 25px 0;
}

.check {
  font-size: 12px;
  font-weight: 900;
}

.check::before {
  content: "✓";

  color: var(--red);

  margin-right: 8px;
}

.about-photo {
  width: 100%;
  height: 470px;

  object-fit: cover;

  border-radius: 30px;
}

.stats {
  position: relative;

  width: 90%;

  margin:
    -45px auto 0;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 18px;

  background: #ffffff;

  border:
    1px solid var(--line);

  text-align: center;
}

.stat strong {
  display: block;

  color: var(--purple);

  font-size: 18px;
}

.stat span {
  font-size: 10px;

  color: var(--muted);
}


/* =====================================================
   FORM
===================================================== */

.form-card {
  background: #ffffff;

  border:
    1px solid var(--line);

  border-radius: 30px;

  padding: 30px;

  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 15px;
}

.field {
  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 10px;

  font-weight: 900;

  letter-spacing: 1px;

  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;

  min-width: 0;

  border:
    1px solid var(--line);

  border-radius: 14px;

  padding: 14px 15px;

  background: #fafafe;

  outline: 0;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple);

  box-shadow:
    0 0 0 4px rgba(57, 34, 122, 0.07);
}

textarea {
  min-height: 130px;

  resize: vertical;
}

.form-card .btn {
  width: 100%;

  margin-top: 18px;
}

.success,
.error {
  padding: 18px;

  border-radius: 16px;

  font-weight: 800;

  margin-top: 15px;
}

.success {
  background: #effaf2;
  color: #166534;
}

.error {
  background: #fff1f2;
  color: #9f1239;
}


/* =====================================================
   KENYA COVERAGE
   EQUAL MAP + COUNTY LIST
===================================================== */

.coverage-section {
  position: relative;

  overflow: hidden;
}

.coverage-section .section-head {
  max-width: 850px;

  margin-left: auto;
  margin-right: auto;
}


/* =====================================================
   COVERAGE MAIN GRID
   50% MAP / 50% COUNTIES
===================================================== */

.coverage-layout {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 24px;

  margin-top: 45px;

  align-items: stretch;
}


/* =====================================================
   KENYA MAP CARD — LEFT
===================================================== */

.kenya-map-card {
  position: relative;

  width: 100%;

  min-width: 0;

  display: flex;

  flex-direction: column;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f7f9fc 100%
    );

  border:
    1px solid rgba(0, 0, 0, 0.08);

  border-radius: 24px;

  padding: 22px;

  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.08);

  overflow: hidden;
}


/* =====================================================
   MAP HEADING
===================================================== */

.map-heading {
  display: block;

  margin-bottom: 18px;
}

.map-kicker {
  display: block;

  margin-bottom: 5px;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 2px;

  color: #ff4b51;
}

.map-heading h3 {
  margin: 0;

  font-size: 24px;

  line-height: 1.2;
}


/* =====================================================
   KENYA MAP IMAGE AREA
===================================================== */

.raster-kenya-map {
  position: relative;

  width: 100%;

  min-height: 0 !important;

  padding: 0 !important;

  margin-top: 8px;

  overflow: hidden;

  background: #ffffff !important;

  border-radius: 18px;

  flex: 1;
}

.raster-map-link {
  position: relative;

  display: block;

  width: 100%;

  line-height: 0;
}

.raster-map-link img {
  display: block;

  width: 100%;
  height: auto;

  max-width: 100%;

  max-height: 600px;

  object-fit: contain;

  background: #ffffff;
}


/* =====================================================
   MAP CTA
===================================================== */

.raster-map-cta {
  position: absolute;

  left: 14px;
  bottom: 14px;

  padding: 8px 12px;

  border-radius: 999px;

  background: var(--purple-dark);

  color: #ffffff;

  font-size: 11px;

  font-weight: 800;

  line-height: 1;

  box-shadow:
    0 8px 20px rgba(36, 16, 79, 0.22);
}


/* =====================================================
   COUNTY LIST — RIGHT
===================================================== */

.coverage-layout .county-list-wrapper {
  width: 100%;

  height: 100%;

  min-width: 0;

  margin-top: 0;

  padding: 22px;

  background: #ffffff;

  border:
    1px solid rgba(0, 0, 0, 0.08);

  border-radius: 24px;

  box-shadow:
    0 15px 45px rgba(15, 23, 42, 0.06);

  overflow: hidden;
}


/* =====================================================
   COUNTY LIST HEADING
===================================================== */

.coverage-layout .county-list-heading {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;

  margin-bottom: 18px;
}

.coverage-layout .county-list-heading h3 {
  margin: 5px 0 0;

  font-size: 22px;

  line-height: 1.2;
}

.county-count {
  flex-shrink: 0;

  padding: 7px 11px;

  border-radius: 999px;

  background: #f1f5f9;

  color: #475569;

  font-size: 11px;

  font-weight: 800;

  white-space: nowrap;
}


/* =====================================================
   COUNTY GRID
===================================================== */

.coverage-layout .county-list {
  width: 100%;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 9px;
}


/* =====================================================
   COUNTY BUTTON
===================================================== */

.coverage-layout .county-button {
  width: 100%;

  min-width: 0;

  min-height: 50px;

  padding: 8px 10px;

  border:
    1px solid #e2e8f0;

  border-radius: 12px;

  background: #ffffff;

  color: #111827;

  display: grid;

  grid-template-columns:
    25px minmax(0, 1fr) 15px;

  align-items: center;

  gap: 7px;

  text-align: left;

  font-family: "Manrope", Arial, sans-serif;

  font-size: 12px;

  font-weight: 700;

  line-height: 1.3;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;

  word-break: normal;

  overflow-wrap: normal;

  white-space: normal;
}


/* =====================================================
   COUNTY NAME
===================================================== */

.coverage-layout .county-button > * {
  min-width: 0;

  word-break: normal;

  overflow-wrap: normal;
}

.coverage-layout .county-button .county-name {
  min-width: 0;

  display: block;

  word-break: normal;

  overflow-wrap: normal;

  white-space: normal;

  hyphens: none;

  line-height: 1.3;
}


/* =====================================================
   COUNTY NUMBER
===================================================== */

.county-number {
  display: block;

  color: #94a3b8;

  font-size: 10px;

  font-weight: 900;

  white-space: nowrap;
}


/* =====================================================
   COUNTY ARROW
===================================================== */

.county-arrow {
  display: flex;

  align-items: center;

  justify-content: flex-end;

  opacity: 0.5;

  white-space: nowrap;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


/* =====================================================
   COUNTY HOVER
===================================================== */

.coverage-layout .county-button:hover {
  transform: translateY(-2px);

  border-color: #93c5fd;

  background: #eff6ff;

  box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.08);
}

.coverage-layout .county-button:hover .county-arrow {
  transform: translateX(3px);

  opacity: 1;
}


/* =====================================================
   COUNTY ACTIVE
===================================================== */

.coverage-layout .county-button.active {
  background: #111827;

  color: #ffffff;

  border-color: #111827;

  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.15);
}

.coverage-layout .county-button.active .county-number {
  color: #93c5fd;
}

.coverage-layout .county-button.active .county-arrow {
  opacity: 0.9;
}


/* =====================================================
   COUNTY FOCUS
===================================================== */

.coverage-layout .county-button:focus-visible {
  outline:
    3px solid rgba(37, 99, 235, 0.25);

  outline-offset: 2px;
}


/* =====================================================
   COUNTY INFORMATION
   If used elsewhere on the page
===================================================== */

.county-info {
  align-self: start;

  min-width: 0;

  background:
    linear-gradient(
      145deg,
      #111827,
      #172033
    );

  color: #ffffff;

  border-radius: 24px;

  padding: 30px;

  min-height: 350px;

  box-shadow:
    0 20px 60px rgba(15, 23, 42, 0.18);
}

.county-info-icon {
  width: 58px;
  height: 58px;

  display: grid;

  place-items: center;

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.1);

  font-size: 27px;
}

.county-info .eyebrow {
  color: #93c5fd;

  margin-top: 18px;
}

.county-info h3 {
  font-size: 32px;

  line-height: 1.15;

  margin: 10px 0 12px;

  word-break: normal;

  overflow-wrap: normal;
}

.county-info > p {
  color: #cbd5e1;

  line-height: 1.75;

  margin-bottom: 0;
}

.county-details {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 12px;

  margin: 25px 0;
}

.county-details div {
  min-width: 0;

  padding: 15px;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  border-radius: 15px;

  background:
    rgba(255, 255, 255, 0.03);
}

.county-details span {
  display: block;

  color: #94a3b8;

  font-size: 12px;

  margin-bottom: 5px;
}

.county-details strong {
  display: block;

  color: #ffffff;

  font-size: 14px;

  line-height: 1.4;

  word-break: normal;

  overflow-wrap: normal;
}


/* =====================================================
   SEO COVERAGE
===================================================== */

.coverage-seo {
  max-width: 950px;

  margin:
    45px auto 0;

  padding: 30px;

  background: #f8fafc;

  border-radius: 22px;

  border:
    1px solid #e2e8f0;
}

.coverage-seo h3 {
  margin-top: 0;

  font-size: 24px;

  line-height: 1.3;

  color: #111827;
}

.coverage-seo p {
  color: #64748b;

  line-height: 1.8;

  margin-bottom: 16px;
}

.coverage-seo p:last-child {
  margin-bottom: 0;
}


/* =====================================================
   REVEAL ANIMATION
===================================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(34px)
    scale(0.985);

  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
  opacity: 1;

  transform: none;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}


/* =====================================================
   CTA
===================================================== */

.cta {
  padding: 95px 20px;

  text-align: center;

  background: var(--red);

  color: #ffffff;
}

.cta h2 {
  font-family: "Plus Jakarta Sans", sans-serif;

  font-size:
    clamp(40px, 6vw, 70px);

  letter-spacing: -3px;

  line-height: 1;
}

.cta p {
  margin: 15px 0 25px;

  color: #ffe1e2;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
  background: #0e0b18;

  color: #ffffff;

  padding: 70px 0 0;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.4fr 1fr 1fr 1fr;

  gap: 35px;
}

.footer-logo {
  width: 145px;

  margin-bottom: 15px;
}

.footer p,
.footer a {
  color: #aaa3b7;

  font-size: 12px;
}

.footer a {
  display: block;

  margin: 9px 0;
}

.footer a:hover {
  color: #ffffff;
}

.footer h4 {
  font-size: 13px;

  margin-bottom: 15px;
}

.social-links {
  display: flex;

  align-items: center;

  justify-content: flex-start;

  gap: 12px;

  margin-top: 16px;

  padding-left: 0;
}

.social-links a {
  width: 40px;
  height: 40px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #5b21b6;

  color: #ffffff;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);

  background: #e11d48;
}

.footer-bottom {
  border-top:
    1px solid rgba(255, 255, 255, 0.08);

  margin-top: 45px;

  padding: 20px 0;

  display: flex;

  justify-content: space-between;

  gap: 15px;

  font-size: 11px;

  color: #77717f;
}

.designer-credit {
  display: inline !important;

  margin: 0 !important;

  color: #ffffff !important;

  font-weight: 800;
}


/* =====================================================
   MOBILE FOOTER NAV
===================================================== */

.footer-tabs {
  display: none;
}


/* =====================================================
   WHATSAPP
===================================================== */

.whatsapp-btn,
.mobile-whatsapp,
.whatsapp-tab,
.whatsapp,
.footer a[href*="wa.me"] {
  text-decoration: none;
}

.whatsapp-btn,
.mobile-whatsapp,
.footer a[href*="wa.me"] {
  display: inline-flex;

  align-items: center;

  gap: 10px;
}

.whatsapp-btn i,
.mobile-whatsapp i,
.footer a[href*="wa.me"] i {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  font-size: 1.1em;

  line-height: 1;

  flex-shrink: 0;
}

.whatsapp-tab {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 5px;
}

.whatsapp {
  position: fixed;

  right: 20px;
  bottom: 20px;

  z-index: 9999;

  width: 58px;
  height: 58px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #25d366;

  color: #ffffff;

  font-size: 25px;

  box-shadow:
    0 15px 35px rgba(37, 211, 102, 0.35);

  isolation: isolate;

  animation:
    pulse 2.5s infinite;
}

.whatsapp i {
  font-family:
    "Font Awesome 6 Brands";

  font-weight: 400;

  line-height: 1;

  font-size: 1.5rem;

  animation:
    whatsappBounce 2s ease-in-out infinite;
}

.whatsapp::before,
.whatsapp::after {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 50%;

  border:
    2px solid currentColor;

  opacity: 0;

  z-index: -1;

  pointer-events: none;

  animation:
    whatsappWave 2s infinite;
}

.whatsapp::after {
  animation-delay: 1s;
}

@keyframes whatsappWave {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.8);
    opacity: 0;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes whatsappBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.05);
  }
}


/* =====================================================
   TOAST
===================================================== */

.toast {
  position: fixed;

  right: 20px;
  bottom: 90px;

  z-index: 10000;

  padding: 14px 18px;

  border-radius: 12px;

  background: #16121f;

  color: #ffffff;

  font-size: 12px;

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.3s ease;
}

.toast.show {
  opacity: 1;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

  .links {
    gap: 14px;
  }

  .nav-cta .btn:first-child {
    display: none;
  }

  /* Keep map and counties equal */

  .coverage-layout {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);

    gap: 18px;
  }

  .coverage-layout .county-list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* =====================================================
   TABLET / SMALL LAPTOP
===================================================== */

@media (max-width: 900px) {

  .coverage-layout {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .kenya-map-card,
  .coverage-layout .county-list-wrapper {
    width: 100%;
  }

  .raster-map-link img {
    max-height: 520px;

    object-fit: contain;
  }

  .county-info {
    min-height: auto;
  }

  .county-details {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .about {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

  .container {
    width:
      min(100% - 28px, 1180px);
  }


  /* TOP BAR */

  .topbar .row {
    justify-content: center;
  }

  .topbar strong {
    display: none;
  }


  /* NAV */

  .nav-row {
    min-height: 68px;
  }

  .links,
  .nav-cta {
    display: none;
  }

  .menu {
    display: block;
  }

  .brand img {
    width: 125px;
  }


  /* SECTIONS */

  .section {
    padding: 75px 0;
  }


  /* HERO */

  .page-hero {
    padding: 85px 0;
  }


  /* GRIDS */

  .services,
  .form-grid,
  .features,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }


  /* ABOUT */

  .checks {
    grid-template-columns: 1fr;
  }

  .about-photo {
    height: 340px;
  }

  .stats {
    width: 95%;

    grid-template-columns: 1fr;
  }


  /* =================================================
     COVERAGE MOBILE
  ================================================= */

  .coverage-layout {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-top: 30px;
  }

  .kenya-map-card,
  .coverage-layout .county-list-wrapper {
    border-radius: 20px;

    padding: 16px;
  }


  /* MAP */

  .map-heading {
    align-items: flex-start;

    flex-direction: column;

    margin-bottom: 12px;
  }

  .map-heading h3 {
    font-size: 21px;
  }

  .raster-kenya-map {
    margin-top: 6px;

    border-radius: 14px;
  }

  .raster-map-link img {
    width: 100%;

    max-height: 430px;

    object-fit: contain;
  }


  /* COUNTY LIST */

  .coverage-layout .county-list-heading {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;

    margin-bottom: 16px;
  }

  .coverage-layout .county-list-heading h3 {
    font-size: 20px;
  }

  .coverage-layout .county-list {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 7px;
  }


  /* COUNTY BUTTON */

  .coverage-layout .county-button {
    min-height: 50px;

    padding:
      8px;

    grid-template-columns:
      22px minmax(0, 1fr) 12px;

    gap: 5px;

    font-size: 11px;

    line-height: 1.3;

    word-break: normal;

    overflow-wrap: normal;

    white-space: normal;
  }

  .coverage-layout .county-button .county-name {
    font-size: 11px;

    line-height: 1.3;

    word-break: normal;

    overflow-wrap: normal;

    white-space: normal;

    hyphens: none;
  }

  .county-number {
    font-size: 9px;
  }

  .county-arrow {
    font-size: 9px;
  }


  /* COUNTY INFORMATION */

  .county-info {
    padding: 24px;
  }

  .county-info h3 {
    font-size: 28px;
  }

  .county-details {
    grid-template-columns: 1fr;
  }


  /* SEO */

  .coverage-seo {
    padding: 22px;

    border-radius: 18px;
  }

  .coverage-seo h3 {
    font-size: 21px;
  }


  /* FOOTER */

  .footer {
    padding-bottom: 85px;
  }

  .footer-tabs {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 10000;

    display: flex;

    justify-content: space-around;

    padding: 9px 5px;

    background: #ffffff;

    border-top:
      1px solid var(--line);
  }

  .footer-tabs a {
    min-width: 58px;

    text-align: center;

    color: #555;

    font-size: 10px;
  }

  .footer-tabs span {
    display: block;

    margin-bottom: 0;

    color: #555;

    font-size: 10px;

    line-height: 1.1;
  }

  .footer-tabs i {
    display: block;

    margin-bottom: 3px;

    color: var(--purple);

    font-size: 18px;
  }

  .footer-tabs a.whatsapp-tab {
    color: #168c42;
  }

  .footer-tabs a.whatsapp-tab i {
    color: #25d366;
  }


  /* WHATSAPP */

  .whatsapp {
    right: 15px;
    bottom: 76px;
  }


  /* FOOTER BOTTOM */

  .footer-bottom {
    flex-direction: column;

    gap: 5px;
  }
}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 400px) {

  .container {
    width:
      calc(100% - 22px);
  }


  /* MAP */

  .kenya-map-card {
    padding: 13px;
  }

  .raster-map-link img {
    max-height: 360px;
  }


  /* COUNTY LIST */

  .coverage-layout .county-list-wrapper {
    padding: 13px;
  }

  .coverage-layout .county-list {
    grid-template-columns: 1fr;
  }

  .coverage-layout .county-button {
    min-height: 48px;

    grid-template-columns:
      25px minmax(0, 1fr) 16px;

    font-size: 12px;
  }

  .coverage-layout .county-button .county-name {
    font-size: 12px;
  }


  /* WHATSAPP */

  .whatsapp {
    width: 54px;
    height: 54px;

    right: 12px;
    bottom: 74px;
  }
}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;

    transform: none;
  }
}





/* =====================================================
   HOW WE SUPPORT SELLERS — PROCESS
===================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.step {
  position: relative;
  min-width: 0;
  padding: 30px;
  background: #ffffff;
  border: 1px solid rgba(49, 27, 116, 0.12);
  border-radius: 24px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  overflow: hidden;

  box-shadow:
    0 12px 35px rgba(20, 10, 60, 0.07);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);

  box-shadow:
    0 18px 45px rgba(20, 10, 60, 0.12);

  border-color: rgba(49, 27, 116, 0.25);
}


/* Number */

.step .number {
  width: 72px;
  height: 72px;

  flex: 0 0 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 24px;

  border-radius: 18px;

  background: #402080;
  color: #ffffff;

  font-size: 20px;
  font-weight: 800;
  line-height: 1;

  box-shadow:
    0 10px 25px rgba(64, 32, 128, 0.20);
}


/* Alternate red number */

.step:nth-child(2) .number,
.step:nth-child(4) .number {
  background: #ed1c24;

  box-shadow:
    0 10px 25px rgba(237, 28, 36, 0.20);
}


/* Heading */

.step h3 {
  width: 100%;

  margin: 0 0 12px;

  color: #30206b;

  font-size: 20px;
  font-weight: 800;

  line-height: 1.3;

  letter-spacing: -0.2px;

  overflow-wrap: normal;
  word-break: normal;
}


/* Description */

.step p {
  width: 100%;

  margin: 0;

  color: #6f7180;

  font-size: 16px;
  font-weight: 400;

  line-height: 1.65;

  letter-spacing: 0;

  overflow-wrap: normal;
  word-break: normal;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .step {
    padding: 26px;
  }

}


/* =====================================================
   PHONE
===================================================== */

@media (max-width: 600px) {

  .process {
    display: grid;

    grid-template-columns: 1fr;

    gap: 20px;

    width: 100%;
  }


  .step {
    width: 100%;
    min-width: 0;

    box-sizing: border-box;

    padding: 26px 24px;

    border-radius: 22px;

    display: grid;

    /*
      Two proper columns:
      number | heading
    */
    grid-template-columns: 78px minmax(0, 1fr);

    grid-template-rows: auto auto;

    column-gap: 20px;

    align-items: start;
  }


  /* Number */

  .step .number {
    grid-column: 1;
    grid-row: 1 / span 2;

    width: 78px;
    height: 78px;

    margin: 0;

    border-radius: 18px;

    font-size: 19px;
  }


  /* Heading */

  .step h3 {
    grid-column: 2;
    grid-row: 1;

    width: 100%;

    margin: 4px 0 10px;

    font-size: 19px;

    line-height: 1.3;

    white-space: normal;

    overflow-wrap: normal;

    word-break: normal;
  }


  /* Paragraph */

  .step p {
    grid-column: 2;
    grid-row: 2;

    width: 100%;

    margin: 0;

    font-size: 15.5px;

    line-height: 1.6;

    color: #70727f;

    white-space: normal;

    overflow-wrap: break-word;

    word-break: normal;
  }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 380px) {

  .step {
    padding: 22px 18px;

    grid-template-columns: 68px minmax(0, 1fr);

    column-gap: 16px;
  }

  .step .number {
    width: 68px;
    height: 68px;

    border-radius: 16px;

    font-size: 17px;
  }

  .step h3 {
    font-size: 17px;

    line-height: 1.3;
  }

  .step p {
    font-size: 14.5px;

    line-height: 1.55;
  }

}