/* ============================================
   J.N.NDUGU ADVOCATES – MODERN REDESIGN
   Colors: Navy #1a2744, Gold #b8960c, White #ffffff, Light #f5f7fa
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', serif;
  color: #1a2744;
  background: #ffffff;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Georgia', serif;
  color: #1a2744;
  line-height: 1.2;
}

p {
  font-family: Arial, sans-serif;
  line-height: 1.8;
  color: #3a4a6b;
}

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

/* ── TOP BAR ── */
.topbar {
  background: #1a2744;
  padding: 8px 0;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar a {
  color: #c8b06c;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

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

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ── NAVBAR ── */
.navbar {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(26, 39, 68, 0.10);
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(26, 39, 68, 0.18);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  background: #1a2744;
  padding: 6px 10px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: block;
  padding: 10px 14px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a2744;
  letter-spacing: 0.3px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  background: #f0f4ff;
  color: #b8960c;
}

/* dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e8ecf4;
  border-radius: 10px;
  padding: 8px 0;
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(26, 39, 68, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 999;
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
  font-size: 13.5px;
  color: #3a4a6b;
  transition: background 0.2s, color 0.2s;
}

.dropdown li a:hover {
  background: #f5f7fa;
  color: #b8960c;
}

.dropdown li a::before {
  content: '→ ';
  opacity: 0;
  transition: opacity 0.2s;
}

.dropdown li a:hover::before {
  opacity: 1;
}

.nav-cta {
  background: #b8960c !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
}

.nav-cta:hover {
  background: #9a7a08 !important;
  color: #ffffff !important;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a2744;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* mobile menu */
.mobile-menu {
  display: none;
  background: #ffffff;
  border-top: 2px solid #b8960c;
  padding: 16px 0;
  max-height: calc(100vh - 75px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.mobile-menu a {
  display: block;
  padding: 12px 40px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #1a2744;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu a:hover {
  background: #f5f7fa;
  color: #b8960c;
}

.mobile-menu a.sub {
  padding-left: 60px;
  font-size: 13px;
  color: #3a4a6b;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #1a2744 0%, #243660 60%, #1e3a5f 100%);
  padding: 90px 40px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.knmlawassociates.co.ke/wp-content/uploads/2020/10/Building-background.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.page-hero .breadcrumb {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #c8b06c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-hero .breadcrumb a {
  color: #c8b06c;
  transition: color 0.2s;
}

.page-hero .breadcrumb a:hover { color: #ffffff; }

.gold-bar {
  width: 60px;
  height: 3px;
  background: #b8960c;
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.btn-gold {
  background: #b8960c;
  color: #ffffff;
}

.btn-gold:hover {
  background: #9a7a08;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 150, 12, 0.35);
}

.btn-navy {
  background: #1a2744;
  color: #ffffff;
}

.btn-navy:hover {
  background: #243660;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.30);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  color: #b8960c;
  border: 2px solid #b8960c;
}

.btn-outline-gold:hover {
  background: #b8960c;
  color: #ffffff;
}

/* ── SECTIONS ── */
.section {
  padding: 90px 40px;
}

.section-sm {
  padding: 60px 40px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #b8960c;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
  line-height: 1.25;
}

.section-desc {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #5a6a8b;
  max-width: 600px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ── STAT STRIP ── */
.stat-strip {
  background: #1a2744;
  padding: 60px 40px;
}

.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 3rem;
  font-weight: 900;
  color: #b8960c;
  font-family: Georgia, serif;
  line-height: 1;
}

.stat-item .stat-label {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #c8d4e8;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── PRACTICE AREA CARDS ── */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.practice-card {
  background: #ffffff;
  border: 1px solid #e8ecf4;
  border-radius: 14px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
}

.practice-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #b8960c;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 39, 68, 0.12);
  border-color: #b8960c;
}

.practice-card:hover::after {
  transform: scaleX(1);
}

.practice-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1a2744, #2d4080);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.practice-icon svg {
  width: 28px;
  height: 28px;
  fill: #b8960c;
}

.practice-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.practice-card p {
  font-size: 14px;
  color: #5a6a8b;
  line-height: 1.7;
}

.practice-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #b8960c;
  margin-top: 18px;
  transition: gap 0.2s;
}

.practice-card:hover .card-link {
  gap: 10px;
}

/* ── WHY CHOOSE ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #f5f7fa;
  border-radius: 12px;
  border-left: 4px solid #b8960c;
  transition: background 0.2s;
}

.why-list li:hover {
  background: #eef1f8;
}

.why-icon {
  width: 40px;
  height: 40px;
  background: #1a2744;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  width: 20px;
  height: 20px;
  fill: #b8960c;
}

.why-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.why-text p {
  font-size: 13.5px;
  color: #5a6a8b;
  line-height: 1.6;
}

.why-image {
  position: relative;
}

.why-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.why-image .badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: #b8960c;
  color: #ffffff;
  padding: 18px 24px;
  border-radius: 12px;
  font-family: Georgia, serif;
  box-shadow: 0 10px 30px rgba(184, 150, 12, 0.4);
}

.why-image .badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.why-image .badge span {
  font-family: Arial, sans-serif;
  font-size: 12px;
  opacity: 0.9;
}

/* ── TEAM CARDS ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8ecf4;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26, 39, 68, 0.12);
}

.team-img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: top center;
  display: block;

}

.team-body {
  padding: 28px;
}

.team-body h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.team-role {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #b8960c;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: block;
}

.team-body p {
  font-size: 14px;
  color: #5a6a8b;
  line-height: 1.7;
  margin-bottom: 18px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  font-family: Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f0f4ff;
  color: #1a2744;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-contact a {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #5a6a8b;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.team-contact a:hover { color: #b8960c; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, #1a2744 0%, #243660 100%);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(184, 150, 12, 0.08);
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(184, 150, 12, 0.06);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-band p {
  color: #c8d4e8;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-ico {
  width: 48px;
  height: 48px;
  background: #1a2744;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-ico svg {
  width: 22px;
  height: 22px;
  fill: #b8960c;
}

.contact-item h4 {
  font-size: 14px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b8960c;
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #3a4a6b;
  line-height: 1.6;
}

.contact-item a:hover { color: #b8960c; }

.contact-form {
  background: #f5f7fa;
  padding: 40px;
  border-radius: 16px;
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.contact-form .sub {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #5a6a8b;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e6f0;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: #1a2744;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #b8960c;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ── VALUES SECTION ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e8ecf4;
  transition: all 0.3s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 39, 68, 0.10);
  border-color: #b8960c;
}

.value-num {
  font-size: 2.5rem;
  color: rgba(184, 150, 12, 0.2);
  font-family: Georgia, serif;
  font-weight: 900;
  display: block;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: #5a6a8b;
  line-height: 1.7;
}

/* ── FOOTER ── */
footer {
  background: #0f1c35;
  padding: 70px 40px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 18px;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 8px;
}

.footer-brand p {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #8a9abc;
  line-height: 1.8;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: #b8960c;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.footer-col h4 {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c8b06c;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #8a9abc;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: #b8960c;
  font-size: 16px;
}

.footer-col ul li a:hover { color: #ffffff; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: #b8960c;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #8a9abc;
  line-height: 1.6;
}

.footer-contact-item a {
  color: #8a9abc;
  transition: color 0.2s;
}

.footer-contact-item a:hover { color: #c8b06c; }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #5a6a8b;
}

.footer-bottom a {
  color: #c8b06c;
  transition: color 0.2s;
}

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

/* ── ABOUT PAGE SPECIFICS ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-intro img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.about-vmc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.vmc-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 28px;
  border: 1px solid #e8ecf4;
  text-align: center;
  transition: all 0.3s;
}

.vmc-card:hover {
  border-color: #b8960c;
  box-shadow: 0 16px 40px rgba(26,39,68,0.10);
  transform: translateY(-4px);
}

.vmc-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1a2744, #2d4080);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.vmc-icon svg {
  width: 28px;
  height: 28px;
  fill: #b8960c;
}

.vmc-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.vmc-card p {
  font-size: 14px;
  color: #5a6a8b;
  line-height: 1.7;
}

/* ── PRACTICE AREAS PAGE ── */
.practice-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.pa-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8ecf4;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26, 39, 68, 0.13);
  border-color: transparent;
}

.pa-card-header {
  background: linear-gradient(135deg, #1a2744, #243660);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.pa-num {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  color: rgba(184, 150, 12, 0.25);
  font-weight: 900;
  line-height: 1;
}

.pa-card-header h3 {
  color: #ffffff;
  font-size: 1.15rem;
}

.pa-card-body {
  padding: 28px;
  flex: 1;
}

.pa-card-body p {
  font-size: 14.5px;
  color: #5a6a8b;
  line-height: 1.75;
}

.pa-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pa-list li {
  font-family: Arial, sans-serif;
  font-size: 13.5px;
  color: #3a4a6b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pa-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8960c;
  flex-shrink: 0;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── HERO SPECIFIC (home) ── */
.hero {
  background: linear-gradient(to right, #0d1730 0%, #1a2744 50%, #1e3060 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://www.knmlawassociates.co.ke/wp-content/uploads/2020/10/Header-2-Copy.jpg') right center/cover no-repeat;
  opacity: 0.12;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left .eyebrow {
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #b8960c;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-left .eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #b8960c;
}

.hero-left h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-left h1 em {
  font-style: normal;
  color: #b8960c;
}

.hero-left p {
  font-family: Arial, sans-serif;
  font-size: 17px;
  color: #b0c0d8;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 22px;
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
}

.hero-card:hover {
  background: rgba(184, 150, 12, 0.12);
  border-color: rgba(184, 150, 12, 0.4);
}

.hero-card:nth-child(2) {
  margin-top: 24px;
}

.hero-card:nth-child(4) {
  margin-top: -24px;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(184, 150, 12, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hero-card-icon svg {
  width: 22px;
  height: 22px;
  fill: #b8960c;
}

.hero-card h4 {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 13px;
  color: #8a9abc;
  line-height: 1.6;
}

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: #b8960c;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  border: none;
}

#scrollTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  background: #9a7a08;
  transform: translateY(-3px);
}

#scrollTop svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero { min-height: auto; padding: 100px 0 80px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
  .about-vmc { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .topbar-right { display: none; }
  .section { padding: 60px 24px; }
  .section-sm { padding: 40px 24px; }
  .stat-strip { padding: 40px 24px; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-vmc { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .nav-inner { padding: 0 24px; }
  .topbar-inner { padding: 0 24px; }
  .contact-form { padding: 24px; }
  .about-intro img { height: 280px; }
}

@media (max-width: 480px) {
  .stat-strip .container { grid-template-columns: 1fr 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 70px 24px 50px; }
}
