/* Kenneth Bowman — modernized brand theme */

:root {
  --kb-navy: #003594;
  --kb-navy-dark: #002050;
  --kb-navy-mid: #1a4eb8;
  --kb-gold: #ffbc7d;
  --kb-gold-hover: #f0a868;
  --kb-white: #fdfdfd;
  --kb-gray: #5c6570;
  --kb-gray-light: #e8ecf1;
  --kb-black: #0b1220;
  --kb-font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --kb-font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --kb-container: 1140px;
  --kb-radius: 14px;
  --kb-radius-sm: 10px;
  --kb-shadow: 0 8px 30px rgba(0, 38, 112, 0.1);
  --kb-shadow-lg: 0 20px 50px rgba(0, 38, 112, 0.14);
  --kb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --kb-duration: 0.35s;
  --kb-duration-slow: 0.7s;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body.kb-body {
  margin: 0;
  font-family: var(--kb-font);
  color: var(--kb-black);
  background: var(--kb-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(0, 53, 148, 0.18);
  color: var(--kb-black);
}

.kb-container {
  width: 100%;
  max-width: var(--kb-container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

.kb-section {
  padding: 5rem 0;
}

.kb-section--dark {
  background: var(--kb-navy);
  color: var(--kb-white);
}

.kb-section--light {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
}

.kb-section__title {
  font-family: var(--kb-font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kb-navy);
  margin: 0 0 1rem;
  text-align: center;
}

.kb-section--dark .kb-section__title { color: var(--kb-white); }

.kb-section__subtitle {
  text-align: center;
  color: var(--kb-gray);
  max-width: 720px;
  margin: 0 auto 2.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.kb-section--dark .kb-section__subtitle { color: rgba(255,255,255,0.85); }

/* Header */
.kb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 53, 148, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 28px rgba(0, 20, 60, 0.18);
  transition: background var(--kb-duration) var(--kb-ease), box-shadow var(--kb-duration) var(--kb-ease), backdrop-filter var(--kb-duration) var(--kb-ease);
}

.kb-header.kb-header--scrolled {
  background: rgba(0, 42, 120, 0.98);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 12px 36px rgba(0, 16, 48, 0.28);
}

.kb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.kb-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--kb-white);
  transition: opacity var(--kb-duration) var(--kb-ease), transform var(--kb-duration) var(--kb-ease);
}

.kb-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.kb-logo__img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 142px;
  object-fit: contain;
}

.kb-logo__text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Navigation */
.kb-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.kb-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.kb-nav__link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 1.05rem;
  color: var(--kb-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background var(--kb-duration) var(--kb-ease), color var(--kb-duration) var(--kb-ease), transform var(--kb-duration) var(--kb-ease);
}

.kb-nav__link:hover,
.kb-nav__item--active > .kb-nav__link {
  background: rgba(255, 255, 255, 0.14);
}

.kb-nav__item--active > .kb-nav__link {
  border-radius: 999px;
  background: var(--kb-navy-mid);
}

.kb-nav__item { position: relative; }

.kb-nav__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--kb-white);
  border-radius: var(--kb-radius);
  box-shadow: var(--kb-shadow);
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  z-index: 100;
}

.kb-nav__submenu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--kb-navy);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background var(--kb-duration) var(--kb-ease), color var(--kb-duration) var(--kb-ease), padding-left var(--kb-duration) var(--kb-ease);
}

.kb-nav__submenu a:hover {
  background: #f0f4fa;
  padding-left: 1.45rem;
}

.kb-nav__item--has-children:hover .kb-nav__submenu,
.kb-nav__item--has-children.kb-nav__item--open .kb-nav__submenu {
  display: block;
}

.kb-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.kb-nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--kb-white);
}

.kb-nav__cta { white-space: nowrap; }

/* Buttons */
.kb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: var(--kb-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--kb-ease), box-shadow 0.25s var(--kb-ease), background 0.25s var(--kb-ease), border-color 0.25s var(--kb-ease);
}

.kb-btn:hover {
  transform: translateY(-2px);
}

.kb-btn--primary {
  background: var(--kb-gold);
  color: var(--kb-navy);
  border-color: var(--kb-gold);
  box-shadow: 0 8px 20px rgba(255, 188, 125, 0.28);
}

.kb-btn--primary:hover {
  background: var(--kb-gold-hover);
  border-color: var(--kb-gold-hover);
  box-shadow: 0 12px 28px rgba(255, 188, 125, 0.35);
}

.kb-nav__cta {
  white-space: nowrap;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
}

.kb-btn--outline {
  background: transparent;
  color: var(--kb-white);
  border-color: rgba(255,255,255,0.55);
}

.kb-btn--outline:hover {
  background: var(--kb-white);
  color: var(--kb-navy);
  border-color: var(--kb-white);
}

.kb-btn--navy {
  background: var(--kb-navy);
  color: var(--kb-white);
  border-color: var(--kb-navy);
  box-shadow: 0 10px 28px rgba(0, 53, 148, 0.35);
}

.kb-btn--navy:hover {
  background: var(--kb-navy-dark);
  border-color: var(--kb-navy-dark);
}

/* Hero — full-bleed media; copy uses same .kb-container as header/sections */
.kb-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--kb-navy-dark);
}

.kb-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.kb-hero__fallback {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  z-index: 0;
}

.kb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 60, 0.72) 0%, rgba(0, 20, 60, 0.35) 55%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 2;
}

/* Full-width rail — .kb-container inside matches header / Overview left edge */
.kb-hero__rail {
  position: relative;
  z-index: 4;
  width: 100%;
  padding-block: 5rem;
}

.kb-hero__content {
  /* legacy alias if used without rail */
  position: relative;
  z-index: 4;
  width: 100%;
  padding-block: 5rem;
  text-align: left;
}

.kb-hero__outline {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 188, 125, 0.55);
  pointer-events: none;
  opacity: 0.95;
  margin: 0;
  z-index: 3;
  white-space: nowrap;
}

.kb-hero__label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.kb-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  max-width: 14ch;
}

.kb-hero__text {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.92);
  margin: 0 0 1.75rem;
  max-width: 34rem;
  line-height: 1.65;
}

/* Home banner — split layout from design mock */
.kb-hero--home {
  justify-content: flex-end;
  min-height: 100vh;
}

.kb-hero--home .kb-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(5, 12, 28, 0.35) 0%,
    rgba(5, 12, 28, 0.45) 40%,
    rgba(5, 12, 28, 0.7) 100%
  );
}

.kb-hero--home .kb-hero__rail {
  padding-top: 1.5rem;
  /* Keep headline/CTA clear of outlined name */
  padding-bottom: clamp(6.5rem, 14vw, 9rem);
  margin-top: auto;
  z-index: 4;
}

.kb-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.25rem 2rem;
  align-items: end;
}

.kb-hero--home .kb-hero__title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(1.9rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 4;
}

.kb-hero__aside {
  justify-self: end;
  width: 100%;
  max-width: 24rem;
  position: relative;
  z-index: 4;
}

.kb-hero--home .kb-hero__text {
  margin: 0 0 0.85rem;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.5;
}

.kb-hero--home .kb-hero__outline {
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2.4rem, 9.5vw, 6.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.9;
  -webkit-text-stroke: 1.5px rgba(253, 253, 253, 0.4);
  opacity: 0.85;
  z-index: 1;
  padding-bottom: 0.15em;
}

@media (max-width: 900px) {
  .kb-hero__split {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    align-items: start;
  }

  .kb-hero__aside {
    justify-self: start;
    max-width: 36rem;
  }

  .kb-hero--home .kb-hero__title {
    max-width: none;
  }

  .kb-hero--home .kb-hero__rail {
    padding-top: 1rem;
    padding-bottom: clamp(4.5rem, 18vw, 6.5rem);
  }

  .kb-hero--home .kb-hero__outline {
    font-size: clamp(1.75rem, 12vw, 3.5rem);
  }
}

.kb-hero--page {
  min-height: 52vh;
  justify-content: flex-end;
}

.kb-hero--page .kb-hero__outline { display: none; }

.kb-hero--page .kb-hero__title {
  text-transform: none;
  max-width: none;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.kb-hero--page .kb-hero__rail,
.kb-hero--page .kb-hero__content {
  padding-block: 2.75rem 3.25rem;
  margin-top: auto;
}

.kb-hero--page .kb-hero__text {
  max-width: 40rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.kb-hero--page > .kb-hero__fallback {
  background-image: url("../images/inner-banner.jpg");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.kb-hero--page .kb-hero__overlay {
  background: linear-gradient(90deg, rgba(5, 12, 28, 0.78) 0%, rgba(5, 12, 28, 0.4) 45%, rgba(5, 12, 28, 0.2) 100%);
}

.kb-hero--solid {
  min-height: 48vh;
  background: #050a16;
}

.kb-hero--solid .kb-hero__fallback {
  display: none;
}

.kb-hero--solid .kb-hero__overlay {
  background:
    radial-gradient(ellipse 90% 55% at 70% 115%, rgba(0, 150, 160, 0.45), transparent 58%),
    radial-gradient(ellipse 50% 40% at 30% 120%, rgba(0, 100, 130, 0.3), transparent 50%),
    linear-gradient(180deg, #050a16 0%, #07101f 65%, #0a1628 100%);
}

.kb-hero--solid .kb-hero__title {
  text-transform: none;
  max-width: none;
}

.kb-section__title--left {
  text-align: left;
}

.kb-section__subtitle--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 52rem;
}

.kb-bio--large .kb-bio__content p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.kb-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.kb-facts__heading {
  color: var(--kb-navy);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

.kb-facts__list {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--kb-gray);
}

.kb-facts__list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.kb-faq {
  border: 1px solid var(--kb-gray-light);
  border-radius: var(--kb-radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  background: #fff;
}

.kb-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--kb-navy);
}

.kb-faq p {
  margin: 0.75rem 0 0;
  color: var(--kb-gray);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .kb-facts {
    grid-template-columns: 1fr;
  }
}

/* Cards grid */
.kb-grid {
  display: grid;
  gap: 1.5rem;
}

.kb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.kb-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.kb-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.kb-card {
  background: var(--kb-white);
  border-radius: var(--kb-radius);
  padding: 2rem;
  box-shadow: var(--kb-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.kb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,53,148,0.12);
}

.kb-card--linked {
  text-decoration: none;
  color: inherit;
  display: block;
}

.kb-card__icon {
  width: 48px;
  height: 48px;
  background: var(--kb-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kb-gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.kb-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--kb-navy);
  margin: 0 0 0.75rem;
}

.kb-card__text {
  color: var(--kb-gray);
  font-size: 0.95rem;
  margin: 0;
}

/* Trusted By / Logo strip */
.kb-trusted {
  background: var(--kb-navy);
  padding: 3rem 0;
  overflow: hidden;
}

.kb-trusted__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kb-trusted__title {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 600;
  margin: 0;
  text-align: left;
}

.kb-logos-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.kb-logos-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: kb-marquee 35s linear infinite;
}

.kb-logos-marquee:hover .kb-logos-track {
  animation-play-state: paused;
}

@keyframes kb-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.kb-logos__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 80px;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.6rem;
  text-decoration: none;
  transition: transform var(--kb-duration) var(--kb-ease), opacity var(--kb-duration) var(--kb-ease), box-shadow var(--kb-duration) var(--kb-ease);
}

.kb-logos__item:hover {
  transform: translateY(-3px);
  opacity: 0.92;
  box-shadow: var(--kb-shadow);
}

.kb-logos__item img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: transform var(--kb-duration) var(--kb-ease);
}

.kb-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0.7;
}

.kb-logos__item--text {
  height: 40px;
  background: var(--kb-gray-light);
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  color: var(--kb-gray);
  display: flex;
  align-items: center;
}

/* Bio section */
.kb-bio {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.kb-bio__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kb-bio__img {
  aspect-ratio: 4/5;
  background: var(--kb-gray-light);
  border-radius: var(--kb-radius);
  overflow: hidden;
}

.kb-bio__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--kb-ease);
}

.kb-bio__img:hover img {
  transform: scale(1.04);
}

.kb-bio__img--large {
  grid-row: span 2;
  aspect-ratio: auto;
}

.kb-bio__content h2 {
  color: var(--kb-navy);
  font-size: 2rem;
  margin: 0 0 1.5rem;
}

.kb-bio__content p {
  color: var(--kb-gray);
  margin-bottom: 1rem;
}

/* Values */
.kb-value {
  text-align: center;
  padding: 2rem;
}

.kb-value__title {
  color: var(--kb-navy);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

/* Stats */
.kb-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.kb-stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--kb-navy);
  line-height: 1;
}

.kb-stat__label {
  font-size: 0.9rem;
  color: var(--kb-gray);
  margin-top: 0.5rem;
}

/* Accordion / Collapsible offers */
.kb-accordion { border: 1px solid var(--kb-gray-light); border-radius: var(--kb-radius); overflow: hidden; }

.kb-accordion__item { border-bottom: 1px solid var(--kb-gray-light); }
.kb-accordion__item:last-child { border-bottom: none; }

.kb-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--kb-white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--kb-navy);
  text-align: left;
  transition: background 0.2s;
}

.kb-accordion__trigger:hover { background: #f5f7fa; }

.kb-accordion__trigger[aria-expanded="true"] {
  background: var(--kb-navy);
  color: var(--kb-white);
}

.kb-accordion__icon {
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.kb-accordion__trigger[aria-expanded="true"] .kb-accordion__icon {
  transform: rotate(45deg);
}

.kb-accordion__panel {
  display: none;
  padding: 2rem 1.5rem;
  background: #fafbfc;
}

.kb-accordion__panel[aria-hidden="false"] { display: block; }

.kb-accordion__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--kb-navy);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.kb-accordion__back:hover { text-decoration: underline; }

/* Offer detail sections */
.kb-offer-section { margin-bottom: 2rem; }
.kb-offer-section h3 {
  color: var(--kb-navy);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--kb-gold);
  display: inline-block;
}

.kb-offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kb-offer-list li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.kb-offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  background: var(--kb-gold);
  border-radius: 50%;
}

/* Phases timeline */
.kb-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.kb-phase {
  text-align: center;
  padding: 1.25rem;
  background: var(--kb-white);
  border-radius: var(--kb-radius);
  border: 1px solid var(--kb-gray-light);
}

.kb-phase__num {
  width: 36px;
  height: 36px;
  background: var(--kb-navy);
  color: var(--kb-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-weight: 700;
}

/* Case studies */
.kb-case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--kb-white);
  border-radius: var(--kb-radius);
  overflow: hidden;
  overflow: hidden;
  box-shadow: var(--kb-shadow);
}

.kb-case-study__image {
  aspect-ratio: 16/10;
  background: var(--kb-gray-light);
}

.kb-case-study__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kb-case-study__content { padding: 2rem; }

.kb-case-study__tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--kb-gold);
  font-weight: 600;
}

/* Booking form */
.kb-form {
  max-width: 600px;
  margin: 0 auto;
}

.kb-form__group { margin-bottom: 1.25rem; }

.kb-form__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--kb-navy);
  font-size: 0.9rem;
}

.kb-form__input,
.kb-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--kb-gray-light);
  border-radius: var(--kb-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.kb-form__input:focus,
.kb-form__textarea:focus {
  outline: none;
  border-color: var(--kb-navy);
}

.kb-form__textarea { min-height: 140px; resize: vertical; }

.kb-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kb-form__note {
  margin-top: 1rem;
  color: var(--kb-navy);
  font-size: 0.9rem;
}

/* Modern contact layout */
.kb-contact {
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(0, 53, 148, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 188, 125, 0.12), transparent 50%),
    #fafbfc;
}

.kb-contact__shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.15fr);
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 38, 112, 0.1);
  border: 1px solid rgba(0, 53, 148, 0.06);
}

.kb-contact__aside {
  background: linear-gradient(165deg, #003594 0%, #002670 55%, #001a4d 100%);
  color: #fff;
  padding: 2.75rem 2.25rem;
  position: relative;
}

.kb-contact__aside::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 188, 125, 0.15);
  pointer-events: none;
}

.kb-contact__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kb-gold);
}

.kb-contact__aside h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.kb-contact__lead {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  font-size: 0.98rem;
}

.kb-contact__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.kb-contact__card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

a.kb-contact__card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.kb-contact__card span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.kb-contact__card strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.kb-contact__card span span {
  font-size: 0.95rem;
  color: #fff;
}

.kb-contact__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 188, 125, 0.18);
  color: var(--kb-gold);
  flex-shrink: 0;
}

.kb-contact__offers {
  position: relative;
  z-index: 1;
}

.kb-contact__offers > p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.kb-contact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kb-contact__chips a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.kb-contact__chips a:hover {
  background: var(--kb-gold);
  border-color: var(--kb-gold);
  color: var(--kb-navy);
}

/* Floating-label modern fields */
.kb-form--modern {
  max-width: none;
  margin: 0;
  padding: 2.75rem 2.5rem;
  background: #fff;
}

.kb-form__header {
  margin-bottom: 1.75rem;
}

.kb-form__header h3 {
  margin: 0 0 0.35rem;
  color: var(--kb-navy);
  font-size: 1.5rem;
  font-weight: 600;
}

.kb-form__header p {
  margin: 0;
  color: var(--kb-gray);
  font-size: 0.95rem;
}

.kb-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
}

.kb-field {
  position: relative;
}

.kb-field--full { grid-column: 1 / -1; }

.kb-field__input {
  width: 100%;
  padding: 1.35rem 1rem 0.55rem;
  border: 1.5px solid #e3e8ef;
  border-radius: 12px;
  background: #f8fafc;
  font: inherit;
  font-size: 1rem;
  color: var(--kb-black);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
}

.kb-field--textarea .kb-field__input {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 1.5rem;
}

.kb-field__label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #8a93a3;
  pointer-events: none;
  transition: top 0.18s, transform 0.18s, font-size 0.18s, color 0.18s;
}

.kb-field--textarea .kb-field__label {
  top: 1.15rem;
  transform: none;
}

.kb-field__input:focus {
  outline: none;
  border-color: var(--kb-navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 53, 148, 0.12);
}

.kb-field__input:focus + .kb-field__label,
.kb-field__input:not(:placeholder-shown) + .kb-field__label {
  top: 0.45rem;
  transform: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--kb-navy);
}

.kb-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 0.2s, background 0.2s;
}

.kb-form__submit:hover {
  transform: translateY(-1px);
}

.kb-form__submit.is-sent {
  background: #0f7a45;
  border-color: #0f7a45;
  color: #fff;
}

.kb-form__submit:disabled {
  cursor: default;
}

@media (max-width: 900px) {
  .kb-contact__shell {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .kb-form--modern {
    padding: 2rem 1.35rem 2.25rem;
  }

  .kb-form__grid {
    grid-template-columns: 1fr;
  }

  .kb-contact__aside {
    padding: 2rem 1.5rem;
  }
}

/* Footer */
.kb-footer {
  background: linear-gradient(165deg, #003594 0%, #001a4a 55%, #000810 100%);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 1.75rem;
}

.kb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.kb-footer__brand p {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.kb-footer h4 {
  color: var(--kb-white);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.kb-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kb-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 2;
  transition: color var(--kb-duration) var(--kb-ease), opacity var(--kb-duration) var(--kb-ease);
}

.kb-footer a:hover { color: var(--kb-gold); }

.kb-subscribe {
  display: flex;
  margin-top: 0.75rem;
  max-width: 260px;
}

.kb-subscribe input {
  flex: 1;
  border: none;
  padding: 0.7rem 0.9rem;
  border-radius: 6px 0 0 6px;
  font: inherit;
}

.kb-subscribe button {
  background: var(--kb-gold);
  color: var(--kb-navy);
  border: none;
  padding: 0 1rem;
  border-radius: 0 6px 6px 0;
  font-weight: 700;
  cursor: pointer;
}

.kb-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.kb-social {
  display: flex;
  gap: 1rem;
}

.kb-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kb-white);
  text-decoration: none;
  font-size: 0.8rem;
  transition: background 0.25s var(--kb-ease), border-color 0.25s var(--kb-ease), transform 0.25s var(--kb-ease);
}

.kb-social a:hover {
  background: rgba(255, 188, 125, 0.18);
  border-color: var(--kb-gold);
  transform: translateY(-2px);
}

/* CTA banner */
.kb-cta {
  position: relative;
  text-align: center;
  padding-block: 5rem;
  min-height: 50vh;
  display: grid;
  align-content: center;
  justify-items: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--kb-white);
}

.kb-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.kb-cta__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, var(--kb-container));
  max-width: var(--kb-container);
  padding-inline: 1rem;
  text-align: center;
  justify-self: center;
}

.kb-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
  font-weight: 600;
}

.kb-cta p {
  margin: 0 auto 1.75rem;
  max-width: 560px;
  opacity: 0.92;
}

/* Overview of Services — live 3-col / photo span layout */
.kb-services { padding: 3.5rem 0; }

.kb-services__intro {
  margin-bottom: 2rem;
}

.kb-services__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--kb-black);
  margin: 0 0 0.75rem;
  max-width: 12ch;
}

.kb-services__subtitle {
  color: var(--kb-gray);
  font-size: 0.95rem;
  max-width: 36rem;
  margin: 0;
}

.kb-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(160px, auto));
  gap: 1rem;
}

.kb-service-card {
  background: #fff;
  border: 1px solid rgba(0, 53, 148, 0.08);
  border-radius: var(--kb-radius);
  padding: 1.6rem 1.45rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--kb-ease), box-shadow 0.3s var(--kb-ease), border-color 0.3s var(--kb-ease);
  box-shadow: 0 2px 10px rgba(0, 38, 112, 0.04);
}

.kb-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kb-shadow-lg);
  border-color: rgba(0, 53, 148, 0.16);
}

.kb-service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kb-navy);
}

.kb-service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--kb-gray);
  line-height: 1.55;
}

.kb-services__photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  border-radius: var(--kb-radius);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 280px;
  box-shadow: var(--kb-shadow);
}

/* Home insights block */
.kb-insights-home {
  padding: 4rem 0;
  background: var(--kb-white);
}

.kb-insights-home__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.kb-insights-home__title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--kb-black);
  margin: 0 0 0.5rem;
}

.kb-insights-home__subtitle {
  color: var(--kb-gray);
  margin: 0;
  max-width: 34rem;
}

.kb-insights-home__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.kb-insights-home__side {
  grid-row: span 2;
  min-height: 420px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.kb-insights-home__copy {
  color: var(--kb-gray);
  font-size: 0.95rem;
  line-height: 1.65;
}

.kb-insights-home__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kb-insight-card {
  position: relative;
  min-height: 280px;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.kb-insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  transition: background 0.2s;
}

.kb-insight-card:hover::before { background: rgba(0,0,0,0.35); }

.kb-insight-card__content {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
}

.kb-insight-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.kb-insight-card p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: rgba(255,255,255,0.9);
}

.kb-insight-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #dcdcdc;
}

@media (max-width: 900px) {
  .kb-services__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .kb-services__photo {
    grid-column: auto;
    grid-row: auto;
    order: -1;
    min-height: 220px;
  }

  .kb-insights-home__layout {
    grid-template-columns: 1fr;
  }

  .kb-insights-home__side {
    grid-row: auto;
    min-height: 240px;
  }

  .kb-insights-home__cards {
    grid-template-columns: 1fr;
  }

  .kb-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .kb-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Offer nav tabs */
.kb-offer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.kb-offer-tabs__link {
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--kb-navy);
  border: 2px solid var(--kb-gray-light);
  transition: all 0.2s;
}

.kb-offer-tabs__link:hover,
.kb-offer-tabs__link--active {
  background: var(--kb-navy);
  color: var(--kb-white);
  border-color: var(--kb-navy);
}

/* Industry pills */
.kb-industry-grid .kb-card { text-align: center; }

/* What I Do — How I Help cards with images */
.kb-help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.kb-help-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border-radius: var(--kb-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--kb-shadow);
  min-height: 200px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.kb-help-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,53,148,0.12);
}

.kb-help-card__media {
  background-size: cover;
  background-position: center;
  min-height: 180px;
}

.kb-help-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kb-help-card__body h3 {
  margin: 0 0 0.6rem;
  color: var(--kb-navy);
  font-size: 1.35rem;
  font-weight: 600;
}

.kb-help-card__body p {
  margin: 0;
  color: var(--kb-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .kb-help-grid { grid-template-columns: 1fr; }
  .kb-help-card { grid-template-columns: 1fr; }
}

/* Screen reader */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .kb-bio { grid-template-columns: 1fr; }
  .kb-case-study { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .kb-nav-toggle { display: flex; }

  .kb-nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--kb-navy-dark);
    padding: 1rem;
  }

  .kb-nav__list.kb-nav__list--open { display: flex; }

  .kb-nav__submenu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.08);
    margin-top: 0;
  }

  .kb-nav__submenu a { color: var(--kb-white); }

  .kb-nav { position: relative; }

  .kb-nav__cta { display: none; }

  .kb-header__inner { flex-wrap: wrap; }
}

/* —— Modern motion & polish —— */
@keyframes kb-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes kb-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.kb-hero--home .kb-hero__title,
.kb-hero--home .kb-hero__aside {
  animation: kb-fade-up 0.85s var(--kb-ease) both;
}

.kb-hero--home .kb-hero__aside {
  animation-delay: 0.12s;
}

.kb-hero--page .kb-hero__rail .kb-container {
  animation: kb-fade-up 0.7s var(--kb-ease) both;
}

.kb-hero--home .kb-hero__title {
  letter-spacing: -0.03em;
}

.kb-contact__shell {
  border-radius: 22px;
  box-shadow: var(--kb-shadow-lg);
}

.kb-nav__submenu {
  border-radius: var(--kb-radius-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 53, 148, 0.06);
}

.kb-help-card,
.kb-insight-card,
.kb-card,
.kb-service-card,
.kb-case-study,
.kb-contact__card {
  transition: transform 0.35s var(--kb-ease), box-shadow 0.35s var(--kb-ease), border-color 0.35s var(--kb-ease);
}

.kb-help-card:hover,
.kb-insight-card:hover,
.kb-card:hover,
.kb-service-card:hover,
.kb-case-study:hover,
.kb-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--kb-shadow-lg);
}

.kb-help-card__media,
.kb-insight-card,
.kb-case-study__image,
.kb-services__photo {
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--kb-ease), filter 0.45s var(--kb-ease);
}

.kb-help-card:hover .kb-help-card__media,
.kb-case-study:hover .kb-case-study__image {
  transform: scale(1.03);
}

.kb-insight-card:hover {
  transform: translateY(-5px) scale(1.015);
}

.kb-trusted {
  background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
}

.kb-cta__overlay {
  background: linear-gradient(180deg, rgba(0, 20, 50, 0.45) 0%, rgba(0, 10, 30, 0.72) 100%);
  transition: opacity 0.45s var(--kb-ease);
}

.kb-cta:hover .kb-cta__overlay {
  opacity: 0.92;
}

/* Scroll reveals */
.kb-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--kb-duration-slow) var(--kb-ease),
    transform var(--kb-duration-slow) var(--kb-ease);
  will-change: opacity, transform;
}

.kb-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.kb-reveal--delay-1 { transition-delay: 0.08s; }
.kb-reveal--delay-2 { transition-delay: 0.16s; }
.kb-reveal--delay-3 { transition-delay: 0.24s; }
.kb-reveal--delay-4 { transition-delay: 0.32s; }
.kb-reveal--delay-5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .kb-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .kb-help-card:hover,
  .kb-insight-card:hover,
  .kb-card:hover,
  .kb-service-card:hover,
  .kb-case-study:hover,
  .kb-contact__card:hover,
  .kb-bio__img:hover img {
    transform: none;
  }
}
