/* ============================================================
   KENWAD HOLDINGS LIMITED  |  Global Stylesheet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

:root {
  --navy:        #1E2A5E;
  --navy-dark:   #141C42;
  --navy-light:  #2D3B7A;
  --teal:        #3BBFA5;
  --teal-dark:   #2A9A86;
  --teal-light:  #5ECFB8;
  --white:       #ffffff;
  --off-white:   #F4F6FB;
  --mid-grey:    #8A93B0;
  --light-grey:  #E4E8F4;
  --text:        #1A2040;
  --nav-h:       84px;
  --section-pad: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Prevent grid/flex children from blowing out their container width */
img, video, iframe, input, select, textarea, button {
  max-width: 100%;
}

/* ── REVEAL ANIMATIONS ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
.reveal-d4 { transition-delay: .48s; }

/* ── DIVIDER ─────────────────────────────────────── */
.divider {
  width: 48px; height: 3px;
  background: var(--teal);
  margin: 16px 0 28px;
  border-radius: 2px;
}
.divider-center { margin: 16px auto 28px; }

/* ── TYPOGRAPHY ──────────────────────────────────── */
.section-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal);
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700; line-height: 1.18;
  color: var(--navy-dark);
}
.section-title em { font-style: italic; color: var(--teal); }
.section-body {
  font-size: 16px; font-weight: 400;
  line-height: 1.75; color: #4A5272;
  max-width: 640px;
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--teal); color: var(--white);
  padding: 14px 34px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  border-radius: 4px;
  transition: background .25s, transform .2s;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-navy {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: 14px 34px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  border-radius: 4px;
  transition: background .25s, transform .2s;
}
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--white);
  padding: 13px 32px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 4px;
  transition: border-color .25s, background .25s;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-ghost-dark {
  display: inline-block;
  background: transparent; color: var(--navy);
  padding: 13px 32px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  transition: background .25s, color .25s;
}
.btn-ghost-dark:hover { background: var(--navy); color: var(--white); }

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: var(--nav-h);
  background: transparent;
  transition: background .4s ease, box-shadow .4s ease;
}
nav.scrolled {
  background: rgba(20,28,66,.97);
  box-shadow: 0 2px 28px rgba(0,0,0,.3);
}
nav.solid-dark { background: var(--navy-dark); }

.nav-logo img { height: 52px; width: auto; display: block; }
.footer-logo-wrap img { height: 48px; width: auto; display: block; margin-bottom: 20px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-size: 11px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--white);
  transition: color .2s;
  position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 2px; background: var(--teal);
  transition: right .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

/* Services dropdown */
.nav-has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: -20px;
  background: var(--navy-dark); min-width: 220px;
  border-top: 2px solid var(--teal); border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
  list-style: none; padding: 8px 0;
}
.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1; pointer-events: auto; transform: none;
}
.nav-dropdown li a {
  display: block; padding: 10px 22px;
  font-size: 11px; letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  text-decoration: none; transition: color .2s, background .2s;
  text-shadow: none;
}
.nav-dropdown li a::after { display: none; }
.nav-dropdown li a:hover { color: var(--teal); background: rgba(255,255,255,.05); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  display: inline-block;
  background: var(--teal); color: var(--white) !important;
  padding: 10px 26px;
  font-size: 10px !important; font-weight: 700 !important;
  letter-spacing: .16em !important; text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px; transition: background .2s;
  white-space: nowrap; text-shadow: none !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
  position: relative; z-index: 1002; /* always above menu overlay */
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
/* Animate to X when menu is open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--navy-dark); z-index: 1001; /* above nav (1000) */
  flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  opacity: 0; transition: opacity .3s ease;
  padding: 80px 32px 40px; /* top padding clears the nav bar */
}
.mobile-menu.open { display: flex; opacity: 1; }

/* Individual nav links */
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  padding: 14px 40px; width: 100%; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s, background .2s;
  max-width: 360px;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { color: var(--teal); background: rgba(255,255,255,.04); }

/* Quote CTA button inside mobile menu */
.mobile-menu .mobile-cta {
  margin-top: 12px;
  display: inline-block;
  background: var(--teal); color: var(--white) !important;
  padding: 14px 40px; border-radius: 4px;
  font-size: 12px !important; font-weight: 700 !important;
  letter-spacing: .18em !important; text-transform: uppercase;
  border-bottom: none !important;
  transition: background .2s !important;
}
.mobile-menu .mobile-cta:hover { background: var(--teal-dark) !important; }

/* Close button inside overlay — visible at top right of open menu */
.mobile-close {
  display: block;
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  color: rgba(255,255,255,.7); font-size: 28px; line-height: 1;
  cursor: pointer; padding: 8px 12px;
  transition: color .2s;
  z-index: 1003;
}
.mobile-close:hover { color: var(--teal); }

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-content {
  position: relative; z-index: 2;
  padding: 88px 72px 90px; /* top = navbar height clearance */
  max-width: 780px;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: #3E4095; margin-bottom: 18px;
  text-shadow: 0 1px 3px rgba(255,255,255,.4), 0 2px 8px rgba(0,0,0,.35);
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 700; line-height: 1.08;
  color: var(--white); margin-bottom: 24px;
  text-shadow: 0 1px 0 rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.5), 0 4px 24px rgba(0,0,0,.35);
}
.hero h1 em { font-style: italic; color: var(--teal-light); }
.hero-sub {
  font-size: 16px; font-weight: 400; line-height: 1.7;
  color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 40px;
  text-shadow: 0 1px 4px rgba(0,0,0,.55), 0 2px 12px rgba(0,0,0,.4);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-dots {
  position: absolute; bottom: 40px; right: 72px; z-index: 3;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: background .3s;
}
.hero-dot.active { background: var(--teal); }



/* ── STATS STRIP ─────────────────────────────────── */
.stats-strip {
  background: var(--navy); padding: 48px 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; border-bottom: 3px solid var(--teal);
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px; font-weight: 700;
  color: var(--white); line-height: 1;
}
.stat-num span { color: var(--teal); }
.stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-top: 8px;
}

/* ── HOME ABOUT ──────────────────────────────────── */
.home-about {
  padding: var(--section-pad) 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-wrap {
  position: relative; aspect-ratio: 4/3;
}
.about-img-main {
  position: absolute; inset: 0; border-radius: 6px; overflow: hidden;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img-accent {
  position: absolute; bottom: -32px; right: -32px;
  width: 48%; aspect-ratio: 3/4;
  border-radius: 6px; overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 12px 48px rgba(0,0,0,.2);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.pillar {
  padding: 20px; background: var(--off-white);
  border-radius: 6px; border-left: 3px solid var(--teal);
}
.pillar h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 600; color: var(--navy-dark); margin-bottom: 8px;
}
.pillar p { font-size: 13px; line-height: 1.6; color: #4A5272; }

/* ── VM GRID ─────────────────────────────────────── */
.vm-grid {
  background: var(--navy); padding: 64px 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.vm-card {
  padding: 52px 56px; background: var(--navy-light);
  transition: background .3s;
}
.vm-card:first-child { background: var(--navy); }
.vm-card:hover { background: var(--navy-light); }
.vm-card .section-label { color: var(--teal-light); }
.vm-card p {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 400; line-height: 1.6;
  color: rgba(255,255,255,.85); margin-top: 20px;
}

/* ── SERVICES SECTION ───────────────────────────── */
.services-section {
  padding: var(--section-pad) 72px;
  background: var(--off-white);
}
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .divider { margin: 16px auto 28px; }
.services-header .section-body { margin: 0 auto; text-align: center; }

.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.svc-card {
  background: var(--white); padding: 44px 32px;
  text-decoration: none; color: inherit;
  transition: background .3s, transform .3s;
  border-bottom: 3px solid transparent;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
}
.svc-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 100%;
  height: 3px; background: var(--teal);
  transition: right .35s ease;
}
.svc-card:hover::before { right: 0; }
.svc-card:hover { transform: translateY(-4px); background: var(--navy-dark); }
.svc-card:hover .svc-num,
.svc-card:hover .svc-title,
.svc-card:hover .svc-body { color: var(--white); }
.svc-card:hover .svc-title { color: var(--teal-light); }

.svc-icon {
  width: 94px; height: 94px;
  background: var(--off-white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.svc-card:hover .svc-icon { background: rgba(255,255,255,.1); }
/* SVG size controlled here — inline width/height attributes stripped from HTML */
.svc-icon svg { width: 47px !important; height: 47px !important; stroke: var(--teal); stroke-width: 1.8; max-width: 47px; max-height: 47px; }

.svc-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 400; letter-spacing: .18em; color: var(--teal);
  transition: color .3s;
}
.svc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px; font-weight: 600; color: var(--navy-dark); line-height: 1.25;
  transition: color .3s;
}
.svc-body { font-size: 13px; line-height: 1.65; color: #4A5272; transition: color .3s; }
.svc-arrow {
  font-size: 18px; color: var(--teal); margin-top: auto;
  transition: transform .3s;
}
.svc-card:hover .svc-arrow { transform: translateX(6px); }

/* ── WHO WE SERVE (from Sterdts) ─────────────────── */
.serve-section {
  padding: var(--section-pad) 72px;
  background: var(--white);
}
.serve-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-top: 56px;
}
.serve-card {
  padding: 44px 36px 36px;
  border: 1px solid var(--light-grey); border-radius: 8px;
  text-decoration: none; color: inherit;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  display: flex; flex-direction: column;
}
.serve-card:hover {
  border-color: var(--teal); transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(30,42,94,.1);
}
.serve-card-icon {
  font-size: 36px; margin-bottom: 20px;
}
.serve-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 600; color: var(--navy-dark); margin-bottom: 14px;
}
.serve-card p { font-size: 14px; line-height: 1.7; color: #4A5272; flex: 1; }
.serve-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
  transition: gap .2s;
}
.serve-card:hover .serve-card-link { gap: 14px; }

/* ── PROCESS SECTION (from Sterdts) ──────────────── */
.process-section {
  padding: var(--section-pad) 72px;
  background: var(--navy-dark); position: relative; overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,191,165,.12) 0%, transparent 70%);
  pointer-events: none;
}
.process-section .section-label { color: var(--teal-light); }
.process-section .section-title { color: var(--white); }
.process-section .section-title em { color: var(--teal); }

.process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-top: 56px;
}
.process-step {
  padding: 40px 32px; background: rgba(255,255,255,.04);
  border-top: 2px solid rgba(59,191,165,.25);
  transition: background .3s, border-color .3s;
}
.process-step:hover { background: rgba(255,255,255,.08); border-top-color: var(--teal); }
.ps-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px; font-weight: 700; line-height: 1;
  color: rgba(59,191,165,.25); margin-bottom: 20px;
  transition: color .3s;
}
.process-step:hover .ps-num { color: rgba(59,191,165,.55); }
.ps-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 12px;
}
.ps-body { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); }

/* ── KENYA COMPLIANCE STRIP ──────────────────────── */
.compliance-strip {
  background: var(--teal); padding: 56px 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.compliance-strip h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px; font-weight: 700; color: var(--white); line-height: 1.3;
}
.compliance-strip p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.85); margin-top: 14px; }
.compliance-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.comp-badge {
  background: rgba(255,255,255,.2); color: var(--white);
  padding: 10px 18px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35);
  transition: background .2s;
}
.comp-badge:hover { background: rgba(255,255,255,.3); }

/* ── QUOTE WIDGET ─────────────────────────────────── */
.quote-section {
  padding: var(--section-pad) 72px;
  background: var(--off-white);
}
.quote-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  margin-top: 56px;
}
.quote-left p { font-size: 14px; line-height: 1.75; color: #4A5272; margin-top: 20px; }
.quote-checklist { list-style: none; margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.quote-checklist li {
  font-size: 13px; color: #4A5272;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.quote-checklist li::before {
  content: '✓';
  color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

.quote-form {
  background: var(--white); border-radius: 8px; padding: 44px 40px;
  box-shadow: 0 8px 48px rgba(30,42,94,.1);
}
.quote-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; font-weight: 600; color: var(--navy-dark); margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--light-grey); border-radius: 4px;
  font-family: 'Nunito', sans-serif; font-size: 14px; color: var(--text);
  background: var(--white); transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 15px;
  background: var(--navy); color: var(--white); border: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; border-radius: 4px;
  transition: background .25s;
}
.form-submit:hover { background: var(--navy-light); }

/* ── RESOURCES / WHY CHOOSE (from Sterdts) ───────── */
.resources-section {
  padding: var(--section-pad) 72px;
  background: var(--white);
}
.resources-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  margin-top: 56px;
}
.res-card {
  padding: 40px 28px; background: var(--off-white);
  border-bottom: 3px solid var(--light-grey);
  transition: border-color .3s, background .3s;
}
.res-card:hover { border-bottom-color: var(--teal); background: var(--white); }
.res-icon { font-size: 30px; margin-bottom: 18px; }
.res-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--navy-dark); margin-bottom: 10px;
}
.res-body { font-size: 13px; line-height: 1.65; color: #4A5272; }

/* ── INSIGHTS TEASER ─────────────────────────────── */
.insights-section {
  padding: var(--section-pad) 72px;
  background: var(--off-white);
}
.insights-header {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px;
}
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.ins-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.ins-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(30,42,94,.12); }
.ins-img {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.ins-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ins-card:hover .ins-img img { transform: scale(1.05); }
.ins-cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--teal); color: var(--white);
  padding: 4px 12px; border-radius: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.ins-body { padding: 28px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.ins-date { font-size: 11px; color: var(--mid-grey); margin-bottom: 10px; }
.ins-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--navy-dark); line-height: 1.35; margin-bottom: 12px;
}
.ins-excerpt { font-size: 13px; line-height: 1.6; color: #4A5272; flex: 1; }
.ins-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--light-grey);
}
.ins-link { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }

/* ── WHATSAPP CTA (from Sterdts) ─────────────────── */
.whatsapp-cta {
  background: var(--navy); padding: 60px 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.whatsapp-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px; font-weight: 600; color: var(--white);
}
.whatsapp-cta p { font-size: 15px; color: rgba(255,255,255,.65); margin-top: 8px; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: var(--white);
  padding: 14px 28px; border-radius: 100px; text-decoration: none;
  font-weight: 700; font-size: 13px; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.wa-btn:hover { background: #1DB955; transform: scale(1.03); }
.wa-btn svg { width: 20px; height: 20px; fill: var(--white); }

/* ── PAGE HERO (inner pages) ─────────────────────── */
.page-hero {
  height: 52vh; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 72px 64px;
  position: relative; overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,28,66,.82) 0%, rgba(20,28,66,.35) 55%, rgba(0,0,0,.15) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-breadcrumb {
  font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.page-breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--teal); }
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  color: var(--white); line-height: 1.12;
}
.page-hero p {
  font-size: 16px; color: rgba(255,255,255,.75);
  margin-top: 16px; max-width: 540px;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--navy-dark); padding: 72px 72px 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-desc {
  font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 280px;
}
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,.55);
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--teal); }

/* Contact column — icon + text rows */
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.6; margin-bottom: 12px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a {
  color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s;
}
.footer-contact-item a:hover { color: var(--teal); text-decoration: none; }

.footer-bottom {
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--teal); }

/* ── COOKIE BANNER ───────────────────────────────── */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--navy-dark); border-top: 2px solid var(--teal);
  transform: translateY(100%); transition: transform .4s ease;
  padding: 20px 72px;
}
#cookieBanner.visible { transform: none; }
.cookie-inner {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cookie-text p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }
.cookie-text p a { color: var(--teal); }
.cookie-text strong { color: var(--white); font-size: 14px; }
.cookie-btns { display: flex; gap: 12px; white-space: nowrap; }
.cookie-btn-primary {
  padding: 10px 22px; background: var(--teal); color: var(--white);
  border: none; border-radius: 4px; cursor: pointer;
  font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s;
}
.cookie-btn-primary:hover { background: var(--teal-dark); }
.cookie-btn-secondary {
  padding: 10px 22px; background: transparent; color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.25); border-radius: 4px; cursor: pointer;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.cookie-btn-secondary:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --section-pad: 72px; }
  nav { padding: 0 24px; }
  .hero-content { padding: 88px 40px 72px; }
  .stats-strip { padding: 40px 40px; }
  .home-about, .serve-section, .services-section,
  .process-section, .quote-section, .resources-section,
  .insights-section, .whatsapp-cta, .compliance-strip,
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  #cookieBanner { padding: 20px 40px; }

  /* ── Landscape tablet nav: shrink to fit everything on one line ───────── */
  .nav-logo img { height: 36px; }            /* 52px × 0.7 = 36px (−30%) */
  .nav-links { gap: 18px; }                  /* tighter gap between links */
  .nav-links a {
    font-size: 9px;                           /* smaller link text */
    letter-spacing: .08em;
  }
  .nav-cta {
    padding: 8px 14px !important;
    font-size: 9px !important;
    letter-spacing: .1em !important;
  }
}
@media (max-width: 900px) {
  /* ── NAV: portrait tablet — logo + hamburger only ─────────────────────── */
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 24px; }
  .nav-logo img { height: 36px; } /* kept at 36px matching tablet reduction */

  /* ── CONTENT GRIDS ────────────────────────────────────────────────────── */
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .home-about { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { max-width: 520px; margin: 0 auto; }
  .vm-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .serve-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 2px; }
  .compliance-strip { grid-template-columns: 1fr; }
  .quote-split { grid-template-columns: 1fr; gap: 48px; }
  .resources-grid { grid-template-columns: repeat(2,1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-logo-wrap { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .about-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav { padding: 0 16px; }
  /* nav-links/hamburger already handled at 900px breakpoint */
  .hero-content { padding: 80px 16px 60px; }
  .hero h1 { font-size: clamp(32px, 8vw, 52px); }
  .stats-strip { padding: 32px 20px; grid-template-columns: repeat(2,1fr); }

  /* ── HOME PAGE: override 72px horizontal padding to 20px on all sections ── */
  .home-about,
  .vm-grid,
  .services-section,
  .serve-section,
  .process-section,
  .compliance-strip,
  .quote-section,
  .resources-section,
  .insights-section,
  .whatsapp-cta,
  .portal-section,
  footer { padding-left: 20px; padding-right: 20px; }

  /* ── HOME PAGE: single column grids ─────────────────────────────────────── */
  .home-about { grid-template-columns: 1fr; gap: 36px; }
  .vm-grid { grid-template-columns: 1fr; }
  .services-section { padding-top: 48px; padding-bottom: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .serve-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .compliance-strip { grid-template-columns: 1fr; gap: 24px;
                      padding-top: 40px; padding-bottom: 40px; }
  .compliance-badges { gap: 8px; }
  .quote-split { grid-template-columns: 1fr; gap: 32px; }
  .resources-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .whatsapp-cta { flex-direction: column; align-items: flex-start;
                  padding-top: 40px; padding-bottom: 40px; }
  .about-img-wrap { max-width: 100%; }
  .about-pillars { grid-template-columns: 1fr; }

  /* ── PAGE HERO ───────────────────────────────────────────────────────────── */
  .page-hero { padding: 0 20px 48px; }

  /* ── FOOTER ──────────────────────────────────────────────────────────────── */
  footer { padding-left: 20px; padding-right: 20px; padding-top: 48px; }
  /* Footer: col1 full width, cols 2+3 side by side, col4 full width */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-logo-wrap {
    grid-column: 1 / -1;  /* logo row spans full width */
    text-align: center;
  }
  .footer-logo-wrap img { margin: 0 auto 16px; }
  .footer-desc { max-width: 100%; text-align: center; margin: 0 auto; }
  .footer-col { text-align: center; }
  .footer-col ul { align-items: center; }
  .footer-col:last-child {
    grid-column: 1 / -1; /* contact col full width on mobile */
    text-align: center;
  }
  .footer-contact-item { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; padding: 24px 20px; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; }

  /* ── CONTACT PAGE: prevent horizontal scroll ─────────────────────────────── */
  .contact-split { padding: 40px 20px; grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 24px 16px; box-shadow: none; }
  .form-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .form-tab { padding: 10px 14px; font-size: 10px; white-space: nowrap; flex-shrink: 0; }
  .form-tab-content { width: 100%; }
  .human-check { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .notify-input-row { flex-direction: column; gap: 8px; }
  .notify-input-row input { border-right: 1.5px solid rgba(255,255,255,.2);
                             border-radius: 6px; }
  .notify-input-row button { border-radius: 6px; width: 100%; }

  /* ── COOKIE ──────────────────────────────────────────────────────────────── */
  #cookieBanner { padding: 16px 20px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  /* ── NAV: portrait mobile — reduce logo 40% from desktop base ─────────── */
  .nav-logo img { height: 31px; } /* 52px × 0.6 = 31px (40% reduction) */
  nav { padding: 0 14px; }
}

/* ── No underline on any site link — colour change only ─────────────────── */
a { text-decoration: none; }
a:hover { text-decoration: none; }

/* Tailored Bay Digital footer credit — purple on hover ──────────────────── */
.footer-bottom a[href*="tailoredbay"],
footer a[href*="tailoredbay"] {
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}
.footer-bottom a[href*="tailoredbay"]:hover,
footer a[href*="tailoredbay"]:hover {
  color: #AA2CA5;
  text-decoration: none;
}

/* Footer contact links — teal on hover, no underline ────────────────────── */
.footer-contact-item a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.footer-contact-item a:hover { color: var(--teal); text-decoration: none; }

/* Contact page detail links ─────────────────────────────────────────────── */
.contact-detail-body a {
  text-decoration: none;
  transition: color .2s;
}
.contact-detail-body a:hover { color: var(--teal); text-decoration: none; }

/* Legal page inline links ───────────────────────────────────────────────── */
.legal-body a { text-decoration: none; transition: color .2s; }
.legal-body a:hover { text-decoration: none; opacity: .8; }

/* Nav links — already colour-change only, enforce no underline ──────────── */
.nav-links a, .nav-links a:hover { text-decoration: none; }

