/* ===========================================================
   Kang'ari Advocates LLP — Website Stylesheet
   Brand palette: deep royal purple + gold on cream
   =========================================================== */

:root {
  --purple-900: #1F0F3A;
  --purple-800: #2E1A55;
  --purple-700: #3A1F6C;
  --purple-600: #4B2A8A;
  --gold-500:   #C99A3B;
  --gold-400:   #D9B25F;
  --gold-300:   #E9CF92;
  --cream-50:   #FBF6EA;
  --cream-100:  #F5EED9;
  --ink-900:    #14112A;
  --ink-700:    #3A3550;
  --ink-500:    #6B667E;
  --white:      #FFFFFF;
  --shadow-sm:  0 2px 10px rgba(31, 15, 58, 0.08);
  --shadow-md:  0 10px 30px rgba(31, 15, 58, 0.12);
  --shadow-lg:  0 20px 60px rgba(31, 15, 58, 0.20);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --max-width:  1200px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--cream-50);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-500); }
ul { list-style: none; }

/* ----------  Typography  ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--purple-900);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-bottom: 0.6rem; }
p  { color: var(--ink-700); }

.accent { color: var(--gold-500); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.8rem;
}

/* ----------  Layout  ---------- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
section { padding: clamp(3rem, 8vw, 6rem) 0; }

/* ----------  Navbar  ---------- */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(251, 246, 234, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 26, 85, 0.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-brand img { height: 52px; width: auto; }
.nav-brand .brand-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--purple-900);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.nav-brand .brand-tag {
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--gold-500);
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--purple-900);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 0; background: var(--gold-500);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold-500); }

.nav-cta {
  background: var(--purple-800); color: var(--cream-50) !important;
  padding: 0.6rem 1.3rem !important; border-radius: 999px;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-500); color: var(--white) !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 0.4rem; color: var(--purple-900);
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; margin: 6px 0;
  background: var(--purple-900); transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--purple-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--purple-800);
  color: var(--cream-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--cream-50);
  border-color: var(--cream-50);
}
.btn-outline:hover {
  background: var(--cream-50);
  color: var(--purple-900);
}
.btn-dark {
  background: var(--purple-800);
  color: var(--cream-50);
}
.btn-dark:hover {
  background: var(--purple-900);
  color: var(--gold-400);
}

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(31, 15, 58, 0.92) 0%, rgba(58, 31, 108, 0.88) 100%),
    radial-gradient(circle at 20% 20%, rgba(201, 154, 59, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 154, 59, 0.15) 0%, transparent 50%),
    var(--purple-900);
  color: var(--cream-50);
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(4rem, 10vw, 8rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 30px 30px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  align-items: center;
}
.hero h1 { color: var(--cream-50); margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--gold-400); }
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(251, 246, 234, 0.85);
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201, 154, 59, 0.15);
  border: 1px solid rgba(201, 154, 59, 0.35);
  color: var(--gold-300);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: ''; display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-400);
}

/* Page sub-hero (About / Contact) */
.subhero {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  color: var(--cream-50);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subhero::after {
  content: '';
  position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px; background: var(--gold-500); border-radius: 2px;
}
.subhero h1 { color: var(--cream-50); }
.subhero p { color: rgba(251, 246, 234, 0.85); max-width: 700px; margin: 0.8rem auto 0; }
.subhero .eyebrow { color: var(--gold-400); }

/* ----------  Section helpers  ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-head p { color: var(--ink-500); font-size: 1.05rem; }

/* ----------  Feature grid (Why choose us)  ---------- */
.grid-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(46, 26, 85, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  color: var(--gold-400);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.feature-card h3 { color: var(--purple-900); }
.feature-card p { font-size: 0.95rem; }

/* ----------  Practice areas  ---------- */
.practice-section { background: var(--cream-100); }
.grid-practice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.practice-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--purple-700);
}
.practice-card h3 { color: var(--purple-900); margin-bottom: 0.75rem; }
.practice-card p { font-size: 0.95rem; margin-bottom: 1rem; }
.practice-card ul { padding-left: 0; }
.practice-card ul li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: var(--ink-700);
  margin-bottom: 0.35rem;
}
.practice-card ul li::before {
  content: ''; position: absolute; left: 0; top: 0.55rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-500);
}

/* ----------  Two column (about preview)  ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.two-col .media {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-900));
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  color: var(--gold-400);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.two-col .media::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(201,154,59,0.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(201,154,59,0.15) 0%, transparent 50%);
}
.two-col .media .emblem {
  position: relative;
  font-size: clamp(4rem, 12vw, 8rem);
  font-family: 'Playfair Display', serif;
  color: var(--gold-400);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.two-col .stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 2rem;
}
.stat { text-align: center; padding: 1rem 0.5rem;
  border-right: 1px solid rgba(46,26,85,0.1);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--purple-900);
  display: block; font-weight: 700;
}
.stat .label {
  font-size: 0.8rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-500);
  font-weight: 600;
}

/* ----------  CTA strip  ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  color: var(--cream-50);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201,154,59,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,154,59,0.15) 0%, transparent 50%);
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip h2 { color: var(--cream-50); }
.cta-strip p { color: rgba(251, 246, 234, 0.85); max-width: 640px; margin: 0.5rem auto 1.5rem; }
.cta-strip .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ----------  About page ---------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-card h3 { margin-bottom: 0.5rem; }

.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.mv-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.mv-card.mission { background: var(--purple-900); color: var(--cream-50); }
.mv-card.mission h3 { color: var(--gold-400); }
.mv-card.mission p { color: rgba(251,246,234,0.88); }
.mv-card.vision { background: var(--gold-500); color: var(--purple-900); }
.mv-card.vision h3 { color: var(--purple-900); }
.mv-card.vision p { color: rgba(31, 15, 58, 0.82); }
.mv-card .num-tag {
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 3rem; line-height: 1; opacity: 0.25;
  font-weight: 700;
}

/* ----------  Contact page  ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.contact-info {
  background: var(--purple-900);
  color: var(--cream-50);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,154,59,0.25) 0%, transparent 70%);
}
.contact-info h3 { color: var(--gold-400); margin-bottom: 1.5rem; position: relative; }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(251,246,234,0.1);
  position: relative;
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .ci-icon {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(201,154,59,0.15);
  border: 1px solid rgba(201,154,59,0.3);
  color: var(--gold-400);
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.contact-item .ci-label {
  font-size: 0.75rem; letter-spacing: 2px;
  color: var(--gold-400); text-transform: uppercase;
  font-weight: 600;
}
.contact-item .ci-value {
  color: var(--cream-50);
  font-size: 1rem;
  margin-top: 0.15rem;
}
.contact-item .ci-value a { color: var(--cream-50); }
.contact-item .ci-value a:hover { color: var(--gold-400); }

.contact-form {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(46,26,85,0.06);
}
.contact-form h3 { color: var(--purple-900); margin-bottom: 1.5rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-900);
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(46,26,85,0.15);
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: all var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,154,59,0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(201,154,59,0.1);
  color: var(--purple-900);
  font-size: 0.9rem;
  display: none;
}
.form-status.show { display: block; }

/* Map */
.map-wrap {
  margin-top: 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(46,26,85,0.08);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ----------  Footer  ---------- */
.footer {
  background: var(--purple-900);
  color: rgba(251,246,234,0.75);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer h4 {
  color: var(--gold-400);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.footer-about p { font-size: 0.9rem; color: rgba(251,246,234,0.7); margin-top: 0.8rem; }
.footer-brand {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.footer-brand img {
  height: 48px; width: auto;
  background: var(--cream-50);
  border-radius: 10px;
  padding: 4px;
}
.footer-brand .bn {
  font-family: 'Playfair Display', serif;
  color: var(--cream-50); font-size: 1.05rem; font-weight: 700;
}
.footer-brand .bt {
  font-size: 0.65rem; letter-spacing: 2px;
  color: var(--gold-400); text-transform: uppercase;
}
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a {
  color: rgba(251,246,234,0.75);
  font-size: 0.92rem;
}
.footer ul a:hover { color: var(--gold-400); }
.footer-contact p { font-size: 0.92rem; color: rgba(251,246,234,0.75); margin-bottom: 0.6rem; }
.footer-contact a { color: rgba(251,246,234,0.75); }
.footer-contact a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(251,246,234,0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(251,246,234,0.5);
}
.footer-bottom a { color: var(--gold-400); }

/* ----------  Responsive breakpoints  ---------- */
@media (min-width: 600px) {
  .grid-features   { grid-template-columns: repeat(2, 1fr); }
  .grid-practice   { grid-template-columns: repeat(2, 1fr); }
  .values-grid     { grid-template-columns: repeat(2, 1fr); }
  .form-row.two    { grid-template-columns: 1fr 1fr; }
  .mv-grid         { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .grid-features   { grid-template-columns: repeat(3, 1fr); }
  .grid-practice   { grid-template-columns: repeat(3, 1fr); }
  .values-grid     { grid-template-columns: repeat(4, 1fr); }
  .two-col         { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .contact-grid    { grid-template-columns: 5fr 7fr; }
  .footer-grid     { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
  .hero-inner      { grid-template-columns: 1.3fr 1fr; }
}

/* Mobile nav */
@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--cream-50);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(46,26,85,0.08);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
    padding-top: 0; padding-bottom: 0;
  }
  .nav-links.open {
    max-height: 420px;
    padding: 1.25rem 1.5rem;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(46,26,85,0.06);
  }
  .nav-links a.nav-cta { text-align: center; margin-top: 0.5rem; }
  .nav-links a::after { display: none; }
}

/* ---------- Premier pillars (5 proof points) ---------- */
.pillars-section { background: var(--cream-100); }
.pillars-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.pillar {
  background: var(--white);
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 3px solid var(--purple-700);
}
.pillar h3 { color: var(--purple-900); font-size: 1.15rem; margin-bottom: 0.5rem; }
.pillar p { font-size: 0.93rem; color: var(--ink-700); }
.pillar .pn {
  position: absolute; top: -14px; left: 18px;
  background: var(--gold-500); color: var(--purple-900);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Services journey ---------- */
.journey-section { position: relative; }
.journey-head {
  max-width: 820px; margin: 0 auto 3rem;
  text-align: center;
}
.journey-head p { color: var(--ink-500); font-size: 1.05rem; }
.journey-pillars {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
.jpillar {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold-500);
  transition: all var(--transition);
}
.jpillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--purple-700);
}
.jpillar .eyebrow { margin-bottom: 0.3rem; font-size: 0.7rem; }
.jpillar h3 {
  color: var(--purple-900);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(46,26,85,0.1);
}
.jpillar h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0.9rem 0 0.4rem;
  font-weight: 700;
}
.jpillar ul li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-700);
}
.jpillar ul li::before {
  content: '';
  position: absolute; left: 0; top: 0.55rem;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- Split intro (From Kenya, for Kenya) ---------- */
.split-section {
  background:
    linear-gradient(135deg, var(--purple-900) 0%, var(--purple-700) 100%);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}
.split-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,154,59,0.18) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(201,154,59,0.12) 0%, transparent 40%),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: auto, auto, 30px 30px;
  pointer-events: none;
}
.split-section .container { position: relative; z-index: 1; }
.split-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  align-items: flex-start;
}
.split-section .eyebrow { color: var(--gold-400); }
.split-section h2 { color: var(--cream-50); }
.split-section p { color: rgba(251,246,234,0.85); }

/* ---------- Ongoing compliance modules ---------- */
.modules-section { background: var(--cream-100); }
.modules-intro {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}
.modules-intro .eyebrow { color: var(--gold-500); }
.modules-intro p { color: var(--ink-700); }
.modules-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.module {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold-500);
  transition: all var(--transition);
}
.module:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.module .mi {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--purple-900);
  font-size: 1.3rem; margin-bottom: 1rem;
  font-weight: 700;
}
.module h3 { color: var(--purple-900); font-size: 1.15rem; margin-bottom: 0.5rem; }
.module p { font-size: 0.92rem; color: var(--ink-700); }

/* Pull-quote */
.pullquote {
  background: var(--white);
  padding: 1.75rem 1.75rem 1.75rem 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--purple-900);
  line-height: 1.5;
}
.pullquote::before {
  content: '\201C';
  position: absolute; top: -0.2rem; left: 0.9rem;
  font-size: 4rem; color: var(--gold-500);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}
.pullquote cite {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-top: 0.8rem;
  font-weight: 600;
}

/* Responsive upgrades for the new sections */
@media (min-width: 600px) {
  .pillars-grid    { grid-template-columns: repeat(2, 1fr); }
  .modules-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .pillars-grid    { grid-template-columns: repeat(5, 1fr); }
  .journey-pillars { grid-template-columns: repeat(3, 1fr); }
  .modules-grid    { grid-template-columns: repeat(4, 1fr); }
  .modules-intro   { grid-template-columns: 5fr 7fr; gap: 3rem; }
  .split-grid      { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* Subtle fade-in on load */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(.4,0,.2,1) forwards;
  }
  .fade-up.d1 { animation-delay: 0.1s; }
  .fade-up.d2 { animation-delay: 0.2s; }
  .fade-up.d3 { animation-delay: 0.3s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}
