@charset "UTF-8";

/* ============================================
   KINETIX AFRICA — Design Tokens & Core Styles
   ============================================ */

:root {
  --bg: #060608;
  --bg-alt: #0c0c11;
  --bg-card: #101015;
  --line: #201f28;
  --text: #f2f1ec;
  --text-dim: #9a99a6;
  --text-faint: #626270;

  --magenta: #e0249f;
  --purple: #7b2ff7;
  --blue: #2f8fe0;
  --teal: #14b8a6;
  --green: #34c46a;
  --lime: #a8e022;
  --orange: #f2790f;

  --gradient-full: linear-gradient(115deg, var(--magenta) 0%, var(--purple) 20%, var(--blue) 40%, var(--teal) 58%, var(--green) 72%, var(--lime) 86%, var(--orange) 100%);
  --gradient-warm: linear-gradient(115deg, var(--orange), var(--magenta));
  --gradient-cool: linear-gradient(115deg, var(--blue), var(--teal), var(--green));

  --facet: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  --facet-sm: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);

  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --max: 1180px;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

html { 
  scroll-behavior: smooth; 
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

::selection { background: var(--purple); color: #fff; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- Typography Utility ---------- */
.grad {
  background: var(--gradient-full);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.single-line-text {
  display: inline-block;
  white-space: normal;
}

@media (min-width: 600px) {
  .single-line-text {
    white-space: nowrap;
  }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gradient-warm);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 14px; }
h3 { font-size: 22px; }

p.lede {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 56ch;
  margin-top: 18px;
}

/* ============================================
   BRAND LOGO (PROPER LARGE SIZE)
   ============================================ */
.brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-decoration: none !important;
  height: 80px !important;
  max-height: 80px !important;
  max-width: 380px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.brand-logo-img {
  height: 75px !important;
  max-height: 75px !important;
  width: auto !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: contain !important;
}

.footer-brand-logo {
  height: 90px !important;
  max-height: 90px !important;
}
.footer-brand-logo .brand-logo-img {
  height: 85px !important;
  max-height: 85px !important;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header.site {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(6, 6, 8, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 600px) { .nav { padding: 10px 20px; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -18px;
  height: 2px;
  background: var(--gradient-full);
}

/* CLIENT PORTAL BUTTON WITH SOLID WHITE TEXT */
.portal-btn {
  font-family: var(--mono) !important;
  font-size: 12.5px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 10px 18px !important;
  background: var(--gradient-full) !important;
  background-size: 200% 200% !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  clip-path: var(--facet-sm) !important;
  transition: background-position .4s !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
}
.portal-btn:hover { background-position: 100% 50% !important; color: #ffffff !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  z-index: 1000000;
  line-height: 1;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  header.site nav .nav-links,
  .nav-links {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: #0b1120 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    padding: 40px 20px !important;
    margin: 0 !important;
    z-index: 999999 !important;
    box-sizing: border-box !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
  }

  header.site nav .nav-links.open,
  header.site nav .nav-links.active,
  .nav-links.open,
  .nav-links.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-links li { width: auto; text-align: center; }
  .nav-links a {
    display: block;
    padding: 10px;
    font-size: 1.35rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-bottom: none;
  }
  .nav-links a.active::after { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 26px;
  clip-path: var(--facet);
  transition: transform .25s, background-position .4s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient-full);
  background-size: 200% 200%;
  color: #050506;
  font-weight: 700;
}
.btn-primary:hover { background-position: 100% 50%; }

.btn-ghost {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text-faint); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 901px) {
  .hero { padding: 90px 32px 80px; }
}

.hero-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: border-box;
}
.hero-text-col { 
  flex: 1.1; 
  max-width: 600px; 
  text-align: left; 
}
.hero-visual-col { 
  flex: 0.9; 
  max-width: 520px; 
  width: 100%; 
  display: flex; 
  justify-content: center; 
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
}

.hero-cta { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-container { 
    flex-direction: column; 
    text-align: left; 
    gap: 36px;
  }
  .hero-text-col, .hero-visual-col { max-width: 100%; }
  .hero-cta { flex-direction: row; }
}
@media (max-width: 600px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ============================================
   SECTIONS & CARDS
   ============================================ */
section { padding: 80px 0; max-width: 100%; overflow: hidden; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 56px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--bg);
  padding: 38px 32px;
  position: relative;
  transition: background .25s;
  border-left: 2px solid transparent;
}
.card:hover { background: var(--bg-card); border-left: 2px solid; border-image: var(--gradient-full) 1; }

.card .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

.card h3 { margin-top: 18px; }
.card p { color: var(--text-dim); margin-top: 12px; font-size: 15px; }

.card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  clip-path: var(--facet-sm);
  margin-bottom: 22px;
  filter: saturate(1.05);
}

/* ---------- STRENGTHS ---------- */
.strengths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}
@media (max-width: 700px) { .strengths { grid-template-columns: 1fr; } }

.strength { display: flex; gap: 18px; }
.strength .mark {
  flex-shrink: 0;
  width: 44px; height: 44px;
  clip-path: var(--facet-sm);
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.strength h4 { font-size: 16px; margin-bottom: 6px; }
.strength p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- CLIENT LOGOS (PROPER UNIFORM LARGE SIZING) ---------- */
.clients-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 32px !important;
  width: 100% !important;
  padding: 24px 0 !important;
}

.client-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 110px !important;
  transition: transform 0.25s ease !important;
}

.client-link:hover {
  transform: translateY(-4px) !important;
}

.clients-row img {
  height: 100% !important;
  width: 100% !important;
  max-width: 280px !important;
  max-height: 110px !important;
  object-fit: contain !important;
  filter: brightness(1.2) !important;
}

@media (max-width: 768px) {
  .clients-row {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-full);
  opacity: 0.12;
}
.cta-band .wrap { position: relative; }
.cta-band h2 { max-width: 640px; margin: 14px auto 0; }
.cta-band .btn { margin-top: 34px; }

/* ============================================
   FLOATING WHATSAPP WIDGET
   ============================================ */
.whatsapp-float {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 58px !important;
  height: 58px !important;
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  z-index: 99999 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.whatsapp-float:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6) !important;
}

/* ============================================
   FOOTER & SINGLE-LINE SOCIALS
   ============================================ */
footer.site {
  background: #090d16;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  padding: 50px 20px 30px;
  width: 100%;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-col-brand {
  max-width: 380px;
}

.footer-desc {
  color: #cbd5e1 !important;
  margin-top: 14px !important;
  line-height: 1.6 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}

.footer-col-nav h5,
.footer-col-social h5 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-nav-links a {
  color: #94a3b8;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-nav-links a:hover {
  color: #38bdf8;
}

.social-icons-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  align-items: center !important;
}

.social-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.social-btn:hover {
  transform: translateY(-3px) !important;
  filter: brightness(1.15) !important;
}

.social-fb { background: #1877f2 !important; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3) !important; }
.social-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3) !important; }
.social-li { background: #0a66c2 !important; box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3) !important; }
.social-tt { background: #000000 !important; border: 1px solid #222 !important; box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1) !important; }
.social-x  { background: #14171a !important; border: 1px solid #333 !important; box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1) !important; }
.social-yt { background: #ff0000 !important; box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35) !important; }

.footer-bottom-centered {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 32px;
  }
  .footer-col-brand,
  .footer-col-nav,
  .footer-col-social {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   SPLIT LAYOUT & VALUES
   ============================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.split-visual {
  aspect-ratio: 16 / 10;
  clip-path: var(--facet);
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   STAT CARDS
   ============================================ */
.stats-wrapper {
  width: 100% !important;
  padding: 50px 20px !important;
  background: var(--bg-alt) !important;
  border-top: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  box-sizing: border-box !important;
}

.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.stat-card {
  background: #101018 !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  clip-path: var(--facet-sm) !important;
  padding: 28px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.stat-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: var(--gradient-full) !important;
}

.stat-card .n {
  font-family: var(--display) !important;
  font-size: 44px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #38bdf8 !important;
  background: var(--gradient-full) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  margin-bottom: 10px !important;
  text-align: center !important;
  width: 100% !important;
}

.stat-card .l {
  color: #94a3b8 !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  line-height: 1.4 !important;
  width: 100% !important;
}

@media (max-width: 768px) {
  .stats-wrapper {
    padding: 36px 20px !important;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .stat-card {
    padding: 24px 18px !important;
  }
  .stat-card .n {
    font-size: 40px !important;
  }
}