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

:root {
  --color-ink: #1a1a1a;
  --color-text: #333333;
  --color-muted: #69757d;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f5;
  --color-surface: #5e6b75;
  --color-footer: #222222;
  --color-border: #e7e7e7;
  --color-primary: #9ee000;
  --color-secondary: #fd5e03;
  --color-white: #ffffff;
  --shadow-soft: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-card: 0 14px 34px rgba(16, 24, 40, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ===== TOP BAR IMPROVEMENT ===== */
.site-header__top {
	background: #0b1c39;
	color: #fff;
	font-size: 13px;
}

.site-header__top-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Contact */
.site-header__contact a {
	margin-right: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0b1c39;
	text-decoration: none;
	transition: 0.3s;
}

.site-header__contact a i {
	color: #f4a100;
}

.site-header__contact a:hover {
	color: #f4a100;
}

/* Right section */
.site-header__right {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* Badge */
.site-header__badge {
	font-weight: 500;
}

/* ===== SOCIAL ICONS ===== */
.site-header__social {
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-header__social a {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0b1c39;
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	transition: all 0.3s ease;
}

.site-header__social a:hover {
	background: #f4a100;
	color: #0b1c39;
	transform: translateY(-2px);
}

/* ===== MAIN HEADER ===== */
.site-header__main {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Navigation spacing */
.site-header__main-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* ===== SEARCH BUTTON ===== */
.search-toggle {
	background: #f4a100;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.3s;
}

.search-toggle i {
	color: #0b1c39;
	font-size: 16px;
}

.search-toggle:hover {
	background: #0b1c39;
}

.search-toggle:hover i {
	color: #fff;
}

/* ===== STICKY HEADER (OPTIONAL PREMIUM FEEL) ===== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
}

img {
  max-width: 100%;
  height: auto;
}

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

p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-family: "Manrope", sans-serif;
  color: var(--color-ink);
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  background: var(--color-bg);
  min-height: 100vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
}

.eyebrow::before {
  content: "";
  width: 2.75rem;
  height: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.65rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary,
.button--secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.button--primary:hover,
.button--secondary:hover {
  background: var(--color-primary);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled .site-header__main {
  background: rgba(15, 19, 24, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.site-header__top {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0.98), rgba(255, 255, 255, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header__top-inner,
.site-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__top-inner {
  min-height: 2.5rem;
  font-size: 0.92rem;
}

.site-header__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-header__social {
  font-weight: 700;
}

.site-header__badge {
  font-weight: 700;
  color: var(--color-text);
}

.site-header__main {
  background: rgba(0, 0, 0, 0.5);
}

.site-header__main-inner {
  min-height: 5.2rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--color-white);
}

.custom-logo-link img {
  max-height: 64px;
  width: auto;
}

.site-brand--image {
  gap: 1rem;
}

.site-brand__logo {
  width: auto;
  max-height: 64px;
}

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--color-primary), #c3ff43);
  color: #0d1a05;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.site-brand__text {
  display: grid;
  gap: 0.12rem;
}

.site-brand__text strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-brand__text small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.7rem;
  cursor: pointer;
}

.site-nav__toggle span {
  width: 100%;
  height: 2px;
  background: var(--color-white);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  padding: 1.1rem 1rem;
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
}

.nav-menu > li:hover > a,
.nav-menu > li:focus-within > a,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--color-primary);
}

.sub-menu {
  position: absolute;
  top: calc(100% - 0.3rem);
  left: 0;
  min-width: 17rem;
  padding: 0.65rem;
  margin: 0;
  list-style: none;
  border-radius: 1rem;
  background: rgba(18, 21, 26, 0.96);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sub-menu li a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  color: rgba(255, 255, 255, 0.86);
}

.sub-menu li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-primary);
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-toggle {
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-weight: 600;
  cursor: pointer;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 12, 16, 0.92);
}

.search-overlay__inner {
  width: min(calc(100% - 2rem), 54rem);
  margin: 12vh auto 0;
}

.search-overlay__close {
  display: inline-flex;
  margin: 0 0 1rem auto;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-size: 1rem;
  cursor: pointer;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.search-field,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: 0.9rem;
  background: var(--color-bg-alt);
  font: inherit;
  color: var(--color-ink);
}

.search-submit {
  border: 0;
  border-radius: 0.9rem;
  background: var(--color-primary);
  color: #102300;
  padding: 0 1.35rem;
  font-weight: 800;
  font-family: "Manrope", sans-serif;
  cursor: pointer;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  color: var(--color-white);
}

.hero__slides,
.hero__overlay,
.page-hero__art,
.page-hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slide,
.page-hero__art {
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide--1 {
  background:
    radial-gradient(circle at 15% 20%, rgba(158, 224, 0, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(5, 15, 22, 0.92), rgba(25, 42, 53, 0.72)),
    linear-gradient(120deg, #0f1419 0%, #31414d 100%);
}

.hero__slide--2 {
  background:
    radial-gradient(circle at 84% 18%, rgba(253, 94, 3, 0.18), transparent 28%),
    linear-gradient(125deg, rgba(16, 18, 22, 0.96), rgba(52, 58, 67, 0.74)),
    linear-gradient(135deg, #181f25 0%, #4f5963 100%);
}

.hero__slide--3 {
  background:
    radial-gradient(circle at 70% 70%, rgba(158, 224, 0, 0.15), transparent 30%),
    linear-gradient(135deg, rgba(7, 11, 18, 0.95), rgba(34, 50, 64, 0.72)),
    linear-gradient(140deg, #0d1117 0%, #44525f 100%);
}

.hero__slide--4 {
  background:
    radial-gradient(circle at 25% 60%, rgba(253, 94, 3, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(12, 14, 18, 0.94), rgba(42, 51, 59, 0.78)),
    linear-gradient(135deg, #11161d 0%, #56636d 100%);
}

.hero__slide::after,
.page-hero__art::after,
.section--cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 45rem;
  height: 45rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9rem;
  transform: rotate(28deg);
}

.hero__overlay,
.page-hero__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.55));
}

.hero__content,
.page-hero__content {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 10rem 0 5rem;
}

.hero__copy {
  max-width: 48rem;
}

.hero-card {
  display: none;
}

.hero-card.is-active {
  display: block;
}

.hero-card__text {
  max-width: 42rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero h1  {
font-size: clamp(2rem, 4vw, 3rem);
color: var(--color-white);
}
.hero .eyebrow{
	font-size: 11px;
	letter-spacing: 1px;
}
.hero p,
.page-hero h1,
.page-hero .eyebrow,
.page-hero p {
	  color: var(--color-white);
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.section--light {
  background: var(--color-bg);
}

.section--stats {
  background: linear-gradient(180deg, #ffffff 0%, #f8faf6 100%);
}

.section--logos {
  overflow: hidden;
}

.section--cta {
  background:
    linear-gradient(135deg, rgba(20, 21, 24, 0.9), rgba(20, 21, 24, 0.65)),
    linear-gradient(125deg, #2f363d 0%, #66727b 100%);
  color: var(--color-white);
  overflow: hidden;
}

.section--cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent);
}

.section__heading {
  max-width: 54rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section__heading--left {
 	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.section__heading--compact {
  margin-bottom: 1.5rem;
}

/* Reduce heading size */
.section__heading h2 {
	font-size: 28px; /* adjust if needed */
}

.section__heading .eyebrow {
	font-size: 13px;
	letter-spacing: 1px;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-muted);
}

.service-grid,
.card-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.info-card,
.project-card,
.stat-card {
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.service-card {
  padding: 1.45rem 1.2rem 1.6rem;
  text-align: center;
  border: 1px solid rgba(158, 224, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(158, 224, 0, 0.45);
  box-shadow: 0 18px 38px rgba(36, 41, 46, 0.12);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 5.25rem;
  height: 5.25rem;
  margin: 0 auto 1rem;
  border-radius: 1.6rem;
  background: linear-gradient(145deg, rgba(158, 224, 0, 0.16), rgba(253, 94, 3, 0.12));
  color: var(--color-ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 2rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(158, 224, 0, 0.14);
}

.stat-card__value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12rem;
  color: var(--color-primary);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.stat-card__value span {
  font-size: 2rem;
}

.stat-card__value strong {
  font-size: clamp(2.6rem, 4vw, 4rem);
}

.logo-marquee {
  overflow: hidden;
  padding: 0.6rem 0 2.2rem;
}

.logo-marquee__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.logo-marquee--reverse .logo-marquee__track {
  animation-direction: reverse;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  min-height: 4.1rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #f8f8f8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-banner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner h2 {
  color: var(--color-white);
  max-width: 32rem;
}

.team-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
justify-content: center;
}

.page-hero {
  min-height: 26rem;
  padding-top: 8rem;
}

.page-hero__content {
  padding: 7rem 0 4rem;
  max-width: 48rem;
}

.page-hero__art {
  opacity: 1;
}

.page-hero__art--who-we-are,
.page-hero__art--timeline,
.page-hero__art--qhsse,
.page-hero__art--nexus-green,
.page-hero__art--services,
.page-hero__art--asset-performance-management,
.page-hero__art--specialized-consulting,
.page-hero__art--capacity-building,
.page-hero__art--technical-support-services,
.page-hero__art--technology-solutions,
.page-hero__art--projects,
.page-hero__art--contact-us {
  background:
    radial-gradient(circle at 82% 18%, rgba(158, 224, 0, 0.16), transparent 26%),
    radial-gradient(circle at 18% 78%, rgba(253, 94, 3, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(8, 13, 18, 0.95), rgba(73, 84, 94, 0.72));
}

.content-block,
.split-layout,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.split-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.9fr);
  align-items: start;
}

.split-layout__cards,
.contact-locations {
  display: grid;
  gap: 1rem;
}

.info-card,
.project-card {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.team-card {
	max-width: 300px;
	text-align: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.team-card__image {
  aspect-ratio: 4 / 4.5;
  background: linear-gradient(180deg, #eef2f5, #dfe5e8);
}

.team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__body {
  padding: 1.35rem;
}

.team-card__role {
  margin-bottom: 0.9rem;
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), rgba(158, 224, 0, 0.15));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.2rem;
  padding-left: 2rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: 0.54rem;
  top: 0.55rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 6px rgba(158, 224, 0, 0.15);
}

.timeline__year {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-ink);
}

.timeline__body {
  padding: 1.2rem 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  box-shadow: var(--shadow-card);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  box-shadow: var(--shadow-card);
}

.checklist li::before {
  content: "01";
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #112300;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: "Manrope", sans-serif;
}

.checklist li:nth-child(2)::before { content: "02"; }
.checklist li:nth-child(3)::before { content: "03"; }
.checklist li:nth-child(4)::before { content: "04"; }
.checklist li:nth-child(5)::before { content: "05"; }
.checklist li:nth-child(6)::before { content: "06"; }

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
  padding: 1.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.form-notice {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  font-weight: 600;
}

.form-notice--success {
  background: rgba(158, 224, 0, 0.14);
  color: #315800;
}

.form-notice--error {
  background: rgba(253, 94, 3, 0.14);
  color: #9c3200;
}

.post-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.site-footer {
font-size: 14px;
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer__main {
  padding: 3rem 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

.site-footer h2,
.site-footer h3 {
font-size: 18px;
  color: var(--color-white);
}

.site-footer p,
.site-footer a {
	font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact-list {
  display: grid;
  gap: 1rem;
}

.footer-contact p {
  margin-bottom: 0;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 12px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-grid,
  .stats-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .contact-layout,
  .cta-banner {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 900px) {
  .site-header__top {
    display: none;
  }

  .site-header__main-inner {
    min-height: 4.5rem;
  }

  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 1.25rem;
    left: 1.25rem;
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(10, 12, 16, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav__panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu,
  .sub-menu {
    position: static;
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu > li > a {
    padding: 0.85rem 0.5rem;
  }

  .sub-menu li a {
    padding-left: 1.25rem;
  }

  .search-toggle {
    display: none;
  }

  .hero__content {
    padding-top: 8rem;
  }

  .service-grid,
  .team-grid,
  .card-grid,
  .stats-grid,
  .checklist,
  .project-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .timeline__year {
    padding-left: 0.6rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 1.4rem), var(--container));
  }

  .hero__content,
  .page-hero__content {
    padding-left: 0;
    padding-right: 0;
  }

  .button {
    width: 100%;
  }

  .search-form {
    grid-template-columns: 1fr;
  }
}