/* ===========================
   Nairobi Plumbers — style.css
   Inspired by quickfixplumbers.co.ke
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary:       #e63946;   /* Red — primary brand */
  --primary-dark:  #c1121f;   /* Darker red on hover */
  --blue:          #1d3557;   /* Deep navy blue */
  --blue-dark:     #0f1c2e;
  --background:    #ffffff;
  --surface:       #f8fafc;   /* Slate-50 */
  --surface-2:     #f1f5f9;   /* Slate-100 */
  --text:          #0f172a;
  --text-light:    #475569;
  --muted:         #94a3b8;
  --border:        rgba(0,0,0,0.08);
  --whatsapp:      #25D366;
  --whatsapp-dark: #128C7E;
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     14px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg:     0 8px 24px rgba(0,0,0,0.12);
  --topbar-h:      40px;
  --navbar-h:      60px;
  --container:     85rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }
p  { line-height: 1.7; }

/* ---------- Layout Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 3.5rem 0; }
.section--alt  { background: var(--surface); }
.section--dark { background: var(--blue); color: #fff; }
.section--primary { background: var(--primary); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary    { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-blue       { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-outline    { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-white      { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--surface); }
.btn-whatsapp   { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-ghost { background: none; border: none; color: var(--primary); padding: 0; font-weight: 600; display:inline-flex; align-items:center; gap:0.4rem; }
.btn-ghost:hover { color: var(--primary-dark); gap: 0.6rem; }

/* ============================
   TOP ANNOUNCEMENT BAR
   ============================ */
.topbar {
  width: 100%;
  min-height: var(--topbar-h);
  background: linear-gradient(135deg, #c1121f 0%, var(--primary) 80%, #000 80%, #000 100%);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.topbar__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar__left,
.topbar__right { display: flex; align-items: center; gap: 0.5rem; }
.topbar__right a { color: rgba(255,255,255,0.9); display:flex; align-items:center; gap:0.4rem; }
.topbar__right a:hover { color: #fff; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: #fff;
  border-bottom: 2px solid var(--primary);
  height: var(--navbar-h);
  display: flex;
  align-items: center;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.navbar__logo img {
  height: 100px;
  max-width: none;
  width: auto;
  display: block;
  object-fit: contain;
}
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}
.navbar__nav a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  color: var(--text);
}
.navbar__nav a:hover,
.navbar__nav a.active { background: var(--primary); color: #fff; }
.navbar__cta {
  font-size: 0.875rem;
  padding: 0.55rem 1.4rem;
  white-space: nowrap;
}
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  width: 38px;
  height: 38px;
  justify-content: center;
}
.navbar__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown__trigger {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s, color 0.15s;
}
.dropdown__trigger:hover { background: var(--primary); color: #fff; }
.dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
}
.dropdown:hover .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown__menu a {
  display: block;
  padding: 0.55rem 0.875rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background 0.12s, color 0.12s;
}
.dropdown__menu a:hover { background: var(--surface-2); color: var(--primary); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  padding: 1.5rem 1.25rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-menu__close { font-size: 1.75rem; line-height: 1; color: var(--text); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--surface-2);
}
.mobile-menu nav a:hover { background: var(--surface); color: var(--primary); }
.mobile-menu__phone {
  display: flex;
  margin-top: 2rem;
  padding: 0.875rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  justify-content: center;
}

/* ============================
   HERO SLIDER
   ============================ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--topbar-h) - var(--navbar-h));
  min-height: 420px;
  max-height: 700px;
  overflow: hidden;
  background: #111;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 2;
}
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}
.hero__text { color: #fff; max-width: 56rem; }
.hero__brand {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 5vw, 3.75rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero__subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.9);
}
.hero__desc {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.75rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* Arrow buttons */
.hero__prev, .hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.hero__prev { left: 1rem; }
.hero__next { right: 1rem; }
.hero__prev:hover, .hero__next:hover { background: var(--primary); }
/* Dots */
.hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.hero__dot.active { background: var(--primary); transform: scale(1.3); }

/* ============================
   CATEGORY TILES (Product Highlights)
   ============================ */
.categories { padding: 2.5rem 0; }
.categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* Red accent top bar */
.cat-card__accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
}
.cat-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.cat-card__label {
  display: inline-block;
  margin: 0.75rem auto 0.875rem;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: #000;
  text-align: center;
  transition: background 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90%;
}
.cat-card:hover .cat-card__label { background: var(--primary); }

/* ============================
   ABOUT SNIPPET (left-border style)
   ============================ */
.about-box {
  background: var(--surface-2);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem;
}
.about-box h2 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.about-box p { color: var(--text-light); margin-bottom: 1.25rem; }

/* ============================
   FEATURED SERVICES
   ============================ */
.services-section { padding: 3rem 0; }
.services-section__header { margin-bottom: 1.5rem; }
.services-section__header h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.services-section__header p { color: var(--text-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.service-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card__img-wrap {
  background: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.service-card__img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: transform 0.3s;
}
.service-card:hover .service-card__img-wrap img { transform: scale(1.04); }
.service-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: space-between;
}
.service-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  transition: color 0.2s;
}
.service-card:hover .service-card__title { color: var(--primary); }
.service-card__desc {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
  text-align: center;
}
.service-card:hover .service-card__wa { border-color: var(--primary); color: var(--primary); }

/* ============================
   PRODUCT CARDS (uniform size)
   ============================ */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.product-card__img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  text-transform: uppercase;
}
.product-card__content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.product-card__desc {
  font-size: 0.8rem;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.875rem;
  flex: 1;
}
.product-card__prices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  margin-top: auto;
}
.product-card__price { font-size: 1rem; font-weight: 700; color: var(--blue); }
.product-card__original { font-size: 0.8rem; color: var(--muted); text-decoration: line-through; }
.product-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--text);
  color: var(--text);
  transition: all 0.2s;
}
.product-card:hover .product-card__btn { border-color: var(--primary); color: var(--primary); }

/* Products Layout (sidebar + grid) */
.products-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .products-layout { grid-template-columns: 260px 1fr; }
}
.products-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--navbar-h) + 1rem);
}
.products-sidebar h3 { font-size: 1rem; margin-bottom: 1rem; border-bottom: 2px solid var(--primary); padding-bottom: 0.5rem; }
.products-search {
  width: 100%;
  padding: 0.6rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.products-search:focus { border-color: var(--primary); }
#category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text);
  transition: all 0.15s;
}
#category-list li a:hover, #category-list li a.active {
  background: var(--surface-2);
  color: var(--primary);
  font-weight: 600;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

/* ============================
   TRUST BAR
   ============================ */
.trustbar {
  background: var(--blue);
  padding: 0.875rem 0;
}
.trustbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.trustbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============================
   SECTION HEADINGS
   ============================ */
.section-heading { margin-bottom: 2rem; }
.section-heading__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.section-heading__title { color: var(--text); }
.section-heading__desc { color: var(--text-light); margin-top: 0.5rem; }
.section-heading--center { text-align: center; }

/* ============================
   AREAS SECTION
   ============================ */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.area-btn {
  padding: 0.55rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  transition: all 0.2s;
}
.area-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.cta-banner p  { opacity: 0.85; font-size: 1rem; }

/* ============================
   FAQ
   ============================ */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item__q {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  cursor: pointer;
}
.faq-item__q svg { flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a {
  padding: 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
}
.faq-item.open .faq-item__a { max-height: 200px; padding: 0 1.25rem 1rem; }

/* ============================
   REVIEW CARDS
   ============================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.review-card__stars { color: #f59e0b; margin-bottom: 0.75rem; font-size: 0.875rem; }
.review-card__text { font-size: 0.875rem; color: var(--text-light); margin-bottom: 1rem; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 0.75rem; }
.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__name { font-size: 0.875rem; font-weight: 700; }
.review-card__location { font-size: 0.75rem; color: var(--muted); }

/* ============================
   BLOG CARDS
   ============================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card__img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.04); }
.blog-card__body { padding: 1.25rem; }
.blog-card__meta { font-size: 0.75rem; color: var(--primary); font-weight: 600; margin-bottom: 0.5rem; }
.blog-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card__excerpt { font-size: 0.875rem; color: var(--text-light); }
.blog-card__link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-top: 0.875rem; }

/* ============================
   LOCATION / ELDORET BANNER
   ============================ */
.location-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.location-banner__body { display: flex; align-items: center; gap: 1rem; }
.location-banner__icon { font-size: 2rem; }
.location-banner__title { font-size: 1.25rem; margin-bottom: 0.25rem; }
.location-banner__desc { opacity: 0.8; }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--blue);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer__col-title {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.footer__col-list li { margin-bottom: 0.5rem; }
.footer__col-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}
.footer__col-list a:hover { color: var(--primary); }
.footer__contact-item {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.footer__contact-item a { color: inherit; }
.footer__contact-item a:hover { color: var(--primary); }
.footer__social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer__social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s;
}
.footer__social-btn:hover { border-color: var(--primary); color: var(--primary); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* ============================
   FLOATING WHATSAPP
   ============================ */
.floating-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-wa:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.floating-wa__dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #fff;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* ============================
   INQUIRY DRAWER
   ============================ */
.inquiry-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 90;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background 0.2s;
}
.inquiry-float:hover { background: var(--blue-dark); }
.inquiry-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}
.inquiry-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.25s;
}
.inquiry-drawer.open { pointer-events: all; }
.inquiry-drawer.open .inquiry-drawer__backdrop { opacity: 1; }
.inquiry-drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(400px, 100vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
.inquiry-drawer.open .inquiry-drawer__panel { transform: translateX(0); }
.inquiry-drawer__header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.inquiry-drawer__header h3 { font-size: 1.1rem; }
.inquiry-drawer__close { font-size: 1.5rem; cursor: pointer; color: var(--text); }
.inquiry-drawer__empty { padding: 2rem 1.25rem; text-align: center; color: var(--muted); font-size: 0.875rem; }
.inquiry-drawer__list { flex: 1; overflow-y: auto; padding: 0.75rem; }
.inquiry-drawer__item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 0.5rem; font-size: 0.875rem; }
.inquiry-drawer__item button { color: #ef4444; font-size: 1.1rem; line-height: 1; }
.inquiry-drawer__footer { padding: 1.25rem; border-top: 1px solid var(--border); }
.inquiry-total { display: flex; justify-content: space-between; font-size: 0.875rem; margin-bottom: 0.875rem; }
.inquiry-clear { width: 100%; margin-top: 0.5rem; padding: 0.5rem; font-size: 0.8125rem; color: var(--muted); border: none; background: none; cursor: pointer; text-decoration: underline; }

/* ============================
   MOBILE STICKY CALL BAR
   ============================ */
.mobile-sticky-cta { display: none; }
@media (max-width: 767px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 80;
    padding: 0.5rem;
    background: var(--primary);
    text-align: center;
  }
  .mobile-sticky-cta a {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.6rem;
  }
}

/* ============================
   SERVICE PAGE STYLES
   ============================ */
.service-hero {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
}
.service-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.service-hero__title { font-size: clamp(1.6rem, 4vw, 2.75rem); margin-bottom: 0.75rem; }
.service-hero__desc { opacity: 0.85; max-width: 40rem; }

/* ============================
   CONTACT PAGE
   ============================ */
.contact-hero {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.35rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.contact-info-card h3 { font-size: 1rem; margin-bottom: 0.875rem; }
.contact-info-card p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 0.5rem; }

/* ============================
   UTILITY CLASSES
   ============================ */
.text-primary { color: var(--primary); }
.text-blue    { color: var(--blue); }
.text-muted   { color: var(--muted); }
.text-light   { color: var(--text-light); }
.text-white   { color: #fff; }
.text-center  { text-align: center; }
.font-bold    { font-weight: 700; }
.font-semibold { font-weight: 600; }
.uppercase    { text-transform: uppercase; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 65ch; }

/* ============================
   GRID HELPERS
   ============================ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .categories__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar__nav,
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; }
  .location-banner { flex-direction: column; text-align: center; }
  .topbar__left { display: none; }
}
@media (max-width: 540px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
}
