/* ============================================================
   KAGEZI SEEDS — global.css
   Variables · Reset · Typography · Buttons · Utilities
   ============================================================ */

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

:root {
  --green-deep:  #1b3a2d;
  --green-mid:   #2d5a40;
  --green-light: #4a8c61;
  --green-pale:  #e8f2ec;
  --gold:        #c8a94a;
  --gold-light:  #f0d97a;
  --earth:       #8b6240;
  --cream:       #faf7f2;
  --white:       #ffffff;
  --text-dark:   #1a2e1a;
  --text-mid:    #4a5e4a;
  --text-light:  #7a917a;
  --border:      #dce8e0;
  --brand-lime:  #d4ff33;

  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  30px;

  --shadow-sm: 0 4px 16px rgba(0,0,0,.06);
  --shadow-md: 0 12px 36px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a  { color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}
.section-tag::before { content: '— '; }

.section-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}
.section-title em { font-style: italic; color: var(--green-light); }

.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
}

/* ── LAYOUT ──────────────────────────────────── */
section { padding: 96px 5%; }
.container { max-width: 1280px; margin: 0 auto; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-lime);
  color: var(--green-deep);
  padding: 14px 30px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #bfe52e; transform: translateY(-2px); }

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-deep);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary-dark:hover { background: var(--green-mid); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--border);
  color: var(--green-mid);
  padding: 13px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: var(--green-mid);
  background: var(--green-pale);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,.5);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

.btn-outline-white-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-white-pill:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  padding: 160px 5% 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/kagezi-hero-image.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 18px;
}
.page-hero-breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero-breadcrumb a:hover { color: var(--gold-light); }
.page-hero-breadcrumb span { color: var(--gold-light); }
.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--white);
  max-width: 700px;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-top: 16px;
  line-height: 1.75;
}

/* ── SCROLL REVEAL ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── TRUST BAR ───────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 26px 5%;
  overflow: hidden;
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.trust-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  background: var(--white);
  padding-right: 16px;
}
.trust-slider {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}
.trust-slide-track {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px; /* Symmetry for 50% translation */
  width: max-content;
  animation: scrollTrust 35s linear infinite;
}
.trust-slide-track:hover {
  animation-play-state: paused;
}
.trust-partner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-partner img {
  height: 48px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.trust-partner img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes scrollTrust {
  to { transform: translateX(-50%); }
}

/* ── STATS BAND ──────────────────────────────── */
.stats-section {
  background: var(--green-deep);
  padding: 80px 5%;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-block { text-align: center; }
.stat-block-num {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}
.stat-block-label {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin-top: 8px;
}

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials-section {
  background: var(--green-deep);
  padding: 96px 5%;
}
.testimonials-header {
  max-width: 1280px;
  margin: 0 auto 56px;
  text-align: center;
}
.testimonials-header .section-tag { color: var(--gold-light); }
.testimonials-header .section-title { color: var(--white); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.testi-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testi-quote {
  font-size: 38px;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 16px;
}
.testi-text {
  font-size: 15px;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--white); }
.testi-role { font-size: 12px; color: rgba(255,255,255,.5); }

/* ── CTA BANNER ──────────────────────────────── */
.cta-banner {
  background: var(--gold);
  padding: 72px 5%;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 46px);
  color: var(--green-deep);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 17px;
  color: var(--green-mid);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .testi-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 72px 5%; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .trust-partners { gap: 20px; }
}

/* ── COOKIE CONSENT BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  width: 100%;
  background: var(--green-deep);
  color: var(--white);
  border-top: 2px solid var(--gold);
  padding: 20px 5%;
  z-index: 99999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
  transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
  bottom: 0;
}
.cookie-content {
  flex: 1;
}
.cookie-content h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.cookie-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.cookie-content a {
  color: var(--gold-light);
  text-decoration: underline;
  transition: color 0.2s;
}
.cookie-content a:hover {
  color: var(--white);
}
.cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-btn-accept {
  background: var(--brand-lime);
  color: var(--green-deep);
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.cookie-btn-accept:hover {
  background: #bfe52e;
  transform: translateY(-1px);
}
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 9px 19px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.cookie-btn-decline:hover {
  color: var(--white);
  border-color: var(--white);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }
  .cookie-actions {
    justify-content: flex-end;
  }
}

