/* GMEP Engineers — brand & layout */
:root {
  --color-orange: #f2711c;
  --color-navy: #2d2b82;
  --color-grey: #545454;
  --color-grey-light: #6b6b6b;
  --color-bg: #f8f9fb;
  --color-white: #ffffff;
  --color-border: #e8eaef;
  --font-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(45, 43, 130, 0.08);
  --shadow-md: 0 8px 32px rgba(45, 43, 130, 0.12);
  --radius: 12px;
  --header-h: 76px;
  --max-w: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-grey);
  background: var(--color-bg);
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-orange);
}

h1,
h2,
h3,
h4 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

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

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-grey);
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--color-navy);
  background: rgba(45, 43, 130, 0.06);
}

.nav a[aria-current="page"] {
  color: var(--color-orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--primary:hover {
  background: #d96216;
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn--secondary {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--secondary:hover {
  background: #23216a;
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--ghost:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.hero__actions .btn--ghost {
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero__actions .btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

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

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section__head p {
  color: var(--color-grey-light);
  font-size: 1.05rem;
}

.tagline-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding: 1rem;
  background: linear-gradient(90deg, rgba(45, 43, 130, 0.06), rgba(242, 113, 28, 0.08));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.tagline-bar span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(85vh, 720px);
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(45, 43, 130, 0.92) 0%,
    rgba(45, 43, 130, 0.75) 45%,
    rgba(242, 113, 28, 0.35) 100%
  );
}

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

.hero__content {
  max-width: 640px;
  padding: 2rem 0;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero__sub {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

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

/* Grid cards */
.grid-2 {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(242, 113, 28, 0.15), rgba(45, 43, 130, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--color-grey-light);
}

/* Why list */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .why-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-weight: 600;
  color: var(--color-navy);
}

.why-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.85rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e1c5e 100%);
  color: var(--color-white);
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  border-radius: var(--radius);
  margin: 0 0;
}

.cta-band h2 {
  color: var(--color-white);
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  opacity: 0.92;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #25247a 50%, #3d3a9e 100%);
  color: var(--color-white);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  max-width: 560px;
  margin-inline: auto;
}

/* Content blocks */
.prose {
  max-width: 720px;
}

.prose.wide {
  max-width: 800px;
}

.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

/* Services page */
.service-block {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

@media (min-width: 800px) {
  .service-block {
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
}

.service-block h2 {
  font-size: 1.35rem;
  margin: 0;
  color: var(--color-orange);
}

.service-block p {
  margin: 0;
}

/* Projects */
.project-section {
  margin-bottom: 3rem;
}

.project-section h2 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-orange);
  display: inline-block;
}

.placeholder-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.placeholder-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.placeholder-card::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(45, 43, 130, 0.92));
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
  padding-left: 0;
}

.contact-list strong {
  display: block;
  color: var(--color-navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(45, 43, 130, 0.15);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--color-grey-light);
  margin-top: 1rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(45, 43, 130, 0.08);
  border: 1px solid var(--color-navy);
  border-radius: 8px;
  color: var(--color-navy);
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--color-orange);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  opacity: 0.85;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-credit {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

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

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 8px;
  }
}

/* Home page redesign (screenshot-inspired) */
.home-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 21, 42, 0.92) 0%, rgba(9, 23, 45, 0.84) 38%, rgba(9, 23, 45, 0.3) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 4rem 0 3rem;
}

.home-pill {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #e7c595;
  border: 1px solid rgba(231, 197, 149, 0.5);
  padding: 0.3rem 0.55rem;
  margin-bottom: 1rem;
}

.home-hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

.home-hero h1 span {
  color: var(--color-orange);
}

.home-hero p {
  max-width: 530px;
  color: rgba(255, 255, 255, 0.87);
  margin-bottom: 1.5rem;
}

.home-hero__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.home-hero .btn {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  border-width: 1px;
  border-radius: 2px;
  padding: 0.75rem 1.15rem;
}

.home-about {
  background: #f5f7fa;
}

.home-about__grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .home-about__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.home-about__image-wrap {
  position: relative;
}

.home-about__image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.home-about__stat {
  position: absolute;
  right: -18px;
  bottom: -18px;
  max-width: 195px;
  background: #0d1e3d;
  color: rgba(255, 255, 255, 0.88);
  padding: 1rem;
}

.home-about__stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.home-about__stat span {
  font-size: 0.78rem;
  line-height: 1.45;
}

.home-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  color: var(--color-orange);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.home-kicker--dark {
  color: #f5b56d;
}

.home-about h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-bottom: 1rem;
  color: #102241;
}

.home-about p {
  color: #526276;
}

.home-inline-link {
  display: inline-block;
  margin-top: 0.55rem;
  text-transform: uppercase;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #1b2c4a;
}

.home-services {
  background: #e8f2f8;
}

.home-services__head {
  margin-bottom: 1.5rem;
}

.home-services__head h2 {
  color: #11253f;
}

.home-services__grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .home-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .home-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-service-card {
  background: var(--color-white);
  border: 1px solid #dde7f0;
  padding: 1.25rem;
}

.home-service-card__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
  background: #eff5fa;
}

.home-service-card h3 {
  font-size: 0.95rem;
  color: #0f213f;
}

.home-service-card p {
  font-size: 0.85rem;
  color: #69788a;
  margin: 0;
}

.home-why {
  background-image:
    linear-gradient(90deg, rgba(12, 29, 56, 0.94), rgba(12, 29, 56, 0.9)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.home-why__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.home-why h2 {
  color: #fff;
}

.home-why__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 680px) {
  .home-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1050px) {
  .home-why__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.home-why__grid article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 1rem;
  min-height: 165px;
}

.home-why__grid h3 {
  color: #f7a64f;
  font-size: 0.95rem;
}

.home-why__grid p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.home-why__grid--single {
  grid-template-columns: 1fr !important;
  max-width: 52rem;
  margin-inline: auto;
}

.home-why__quote {
  min-height: 0 !important;
}

.home-why__quote p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.home-cta-wrap {
  padding-top: 2.25rem;
}

.home-cta {
  background: #b95a16;
  color: #fff;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-cta h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.home-cta p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.92;
}

.home-cta .btn--secondary {
  border-radius: 2px;
  background: #0d1f3c;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

/* Inner pages aligned with home theme */
.inner-theme {
  background: #edf2f7;
}

.page-hero--image {
  background-size: cover;
  background-position: center;
  text-align: left;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.page-hero--image h1 {
  max-width: 720px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero--image p {
  max-width: 660px;
}

.section--soft {
  background: #dfeef7;
}

.section__head--left {
  text-align: left;
  margin-inline: 0;
}

.card--clean {
  border-radius: 0;
  border: 1px solid #e5e9f1;
  box-shadow: none;
}

.inner-card-title {
  color: #102241;
  font-size: 1.4rem;
}

.strength-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 860px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.strength-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d5e1ed;
  padding: 1.25rem;
}

.strength-card h3 {
  margin-bottom: 0.45rem;
  color: #0f213f;
}

.strength-card p {
  margin: 0;
  color: #4f6175;
  font-size: 0.92rem;
}

.strength-card--dark {
  background: linear-gradient(145deg, #091d3a, #102b56);
  border-color: #0f2f5f;
}

.strength-card--dark h3,
.strength-card--dark p {
  color: #fff;
}

/* About page specific layout */
.about-mv {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.about-mv__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 860px) {
  .about-mv__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }
}

.about-mv__item {
  max-width: 470px;
}

.about-mv__icon {
  color: var(--color-orange);
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
  display: inline-block;
}

.about-mv__item h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: #0e203d;
}

.about-mv__item p {
  color: #556578;
  margin: 0;
}

.about-strength {
  background: #dcecf6;
}

.about-strength__head {
  margin-bottom: 1.4rem;
}

.about-strength__head h2 {
  color: #0e203d;
  margin: 0;
}

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

@media (min-width: 700px) {
  .about-strength__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-strength__card {
  position: relative;
  min-height: 180px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  border: 1px solid rgba(20, 38, 64, 0.08);
}

.about-strength__card--photo {
  background-image: url("https://images.unsplash.com/photo-1566552881565-23122563c9ed?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
}

.about-strength__card--photo2 {
  background-image: url("https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
}

.about-strength__card--dark {
  background: linear-gradient(145deg, #02122d, #0e2b54);
}

.about-strength__card--light {
  background: #c9e5f6;
}

.about-strength__overlay {
  position: absolute;
  inset: 0;
  background: rgba(249, 251, 255, 0.72);
}

.about-strength__content {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
}

.about-strength__content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #0d1f3c;
}

.about-strength__content p {
  margin: 0;
  color: #4f5f72;
  font-size: 0.85rem;
}

.about-strength__card--dark .about-strength__content h3,
.about-strength__card--dark .about-strength__content p {
  color: #fff;
}

.about-cta-wrap {
  padding-top: 1.8rem;
}

.about-cta {
  background: linear-gradient(90deg, #082047 0%, #0e2a56 100%);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.about-cta h2 {
  color: #fff;
  margin-bottom: 0.3rem;
}

.about-cta p {
  margin: 0;
  opacity: 0.88;
  font-size: 0.92rem;
}

.about-cta .btn {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .about-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Services page screenshot-style layout */
.service-showcase {
  background: #edf3f8;
}

.service-showcase .container {
  display: grid;
  gap: 1.35rem;
}

.service-row {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid #dbe5ef;
  padding: 0.9rem;
}

@media (min-width: 880px) {
  .service-row {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 1rem;
  }

  .service-row--reverse {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .service-row--reverse .service-row__content {
    order: 2;
  }

  .service-row--reverse .service-row__media {
    order: 1;
  }
}

.service-row__content {
  padding: 0.45rem;
}

.service-row__content h2 {
  font-size: clamp(1.3rem, 2.7vw, 1.9rem);
  color: #0d2242;
  margin-bottom: 0.6rem;
}

.service-row__content p {
  color: #536477;
  margin-bottom: 0.75rem;
}

.service-row__media {
  min-height: 230px;
  border: 1px solid #cfd9e4;
  box-shadow: var(--shadow-sm);
  background-size: cover;
  background-position: center;
}

.service-row__media--hvac {
  background-image: url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=900&q=80");
}

.service-row__media--elec {
  background-image: url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=80");
}

.service-row__media--plumb {
  background-image: url("https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=900&q=80");
}

.service-row__media--fire {
  background-image: url("https://images.unsplash.com/photo-1615906655593-ad0386982a0f?auto=format&fit=crop&w=900&q=80");
}

.service-row__media--mep {
  background-image: url("https://images.unsplash.com/photo-1581092446327-9d45d6d2d3f4?auto=format&fit=crop&w=900&q=80");
}

.service-row__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.service-row__list li {
  position: relative;
  padding-left: 1rem;
  color: #32475e;
  font-size: 0.9rem;
}

.service-row__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
}

.service-row__stats {
  display: flex;
  gap: 1rem;
  border-top: 1px solid #d6e1ec;
  padding-top: 0.7rem;
}

.service-row__stats strong {
  display: block;
  color: #0d2242;
  font-size: 1.05rem;
}

.service-row__stats span {
  color: #6d7d8f;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-row__band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-row__band span {
  background: #0c2246;
  color: #fff;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Projects page screenshot-style layout */
.projects-hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.01em;
}

.projects-layout {
  padding-top: 2.4rem;
}

.projects-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.projects-heading h2 {
  margin: 0;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  color: #0a1d3a;
}

.projects-nav {
  display: flex;
  gap: 0.35rem;
}

.projects-nav button {
  width: 30px;
  height: 30px;
  border: 1px solid #ced9e5;
  background: #fff;
  color: #0d2141;
  cursor: default;
}

.projects-completed-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .projects-completed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-tile {
  min-height: 170px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border: 1px solid #ccd7e3;
}

.project-tile--large {
  grid-column: span 2;
}

@media (min-width: 900px) {
  .project-tile--large {
    grid-column: span 2;
  }
}

.project-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(8, 22, 43, 0.92) 100%);
}

.project-tile span {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.6rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  z-index: 1;
  text-transform: uppercase;
}

.projects-ongoing h2 {
  color: #0a1d3a;
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}

.ongoing-grid {
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 900px) {
  .ongoing-grid {
    grid-template-columns: 1.3fr 1fr 0.7fr;
    grid-template-areas:
      "main image image"
      "main light accent";
  }
}

.ongoing-card {
  min-height: 150px;
  border: 1px solid #ced9e5;
  padding: 1rem;
  background: #fff;
}

.ongoing-card h3 {
  margin-bottom: 0.5rem;
  color: #0c2040;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.ongoing-card p,
.ongoing-card small {
  color: #58697d;
}

.ongoing-card--main {
  border-left: 2px solid #db4d3f;
}

.ongoing-card--image {
  background-size: cover;
  background-position: center;
  color: #fff;
}

.ongoing-card--image h3 {
  color: #fff;
  max-width: 240px;
}

.ongoing-card--light {
  background: #d9ebf8;
}

.ongoing-card--accent {
  background: #f07a12;
}

.ongoing-card--accent h3,
.ongoing-card--accent p {
  color: #fff;
}

@media (min-width: 900px) {
  .ongoing-card--main {
    grid-area: main;
  }
  .ongoing-card--image {
    grid-area: image;
  }
  .ongoing-card--light {
    grid-area: light;
  }
  .ongoing-card--accent {
    grid-area: accent;
  }
}

.projects-clients {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}

.projects-clients__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: #8a99ab;
  margin-bottom: 0.8rem;
}

.projects-clients__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.3rem 1.8rem;
}

.projects-clients__logos span {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  color: #293f60;
  font-weight: 600;
}

.projects-cta-wrap {
  padding-top: 1.6rem;
}

.projects-cta {
  background: linear-gradient(90deg, #082047 0%, #0d2a57 100%);
  color: #fff;
  padding: 1.3rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.projects-cta h2 {
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
}

.projects-cta p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

.projects-cta .btn {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .projects-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Contact page screenshot-style layout */
.contact-layout {
  padding-top: 2.6rem;
}

.contact-split {
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 980px) {
  .contact-split {
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
  }
}

.contact-panel {
  padding: 0.35rem 0.6rem;
}

.contact-panel__item {
  margin-bottom: 1.15rem;
}

.contact-panel__item h3 {
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
  color: #0c2244;
}

.contact-panel__item p {
  margin: 0;
  color: #5a6c81;
  font-size: 0.88rem;
}

.contact-panel__meta {
  border-top: 1px solid #d5e1ed;
  border-bottom: 1px solid #d5e1ed;
  padding: 0.85rem 0;
  margin-bottom: 1rem;
}

.contact-panel__meta p {
  margin: 0 0 0.7rem;
}

.contact-panel__meta p:last-child {
  margin-bottom: 0;
}

.contact-panel__meta strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
  color: #7f8ea1;
  margin-bottom: 0.1rem;
}

.contact-panel__meta a {
  color: #0c2246;
  font-weight: 600;
}

.contact-panel__visual {
  position: relative;
  border: 1px solid #cfdbe7;
  overflow: hidden;
}

.contact-panel__visual-image {
  min-height: 180px;
  background-image: url("https://images.unsplash.com/photo-1542744173-8e7e53415bb0?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
}

.contact-panel__visual small {
  position: absolute;
  left: 0.7rem;
  bottom: 0.6rem;
  background: rgba(7, 22, 44, 0.78);
  color: #fff;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.38rem 0.45rem;
}

.contact-form-wrap {
  background: #f3f4f6;
  border: 1px solid #d6e0ec;
  border-top: 4px solid #081f43;
  padding: 1.25rem 1.2rem;
}

.contact-form-wrap h2 {
  margin-bottom: 0.4rem;
  color: #0d2243;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.contact-form-wrap > p {
  color: #5f7084;
  margin-bottom: 1rem;
}

.contact-form-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .contact-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-group--full {
    grid-column: span 2;
  }
}

.contact-form-wrap .form-group {
  margin-bottom: 0;
}

.contact-form-wrap .form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-wrap .form-group input,
.contact-form-wrap .form-group textarea,
.contact-form-wrap .form-group select {
  width: 100%;
  background: #ddebf5;
  border: 1px solid #c9d8e6;
  border-radius: 0;
  color: #0e223f;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form-wrap .form-group textarea {
  min-height: 96px;
}

.contact-form-wrap .form-group input::placeholder,
.contact-form-wrap .form-group textarea::placeholder {
  color: #7f91a5;
}

.contact-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0 1rem;
  font-size: 0.72rem;
  color: #6a798d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-consent input {
  width: 13px;
  height: 13px;
}

.contact-form-wrap .btn {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  min-width: 168px;
}

.contact-footprint {
  background: #dcecf6;
  padding-top: 2.5rem;
  padding-bottom: 2.7rem;
}

.contact-footprint h2 {
  text-align: center;
  color: #0e223f;
  margin-bottom: 1.25rem;
}

.footprint-grid {
  display: grid;
  gap: 0.7rem;
}

@media (min-width: 720px) {
  .footprint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1050px) {
  .footprint-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footprint-grid article {
  background: #f8fbff;
  border: 1px solid #d3dfec;
  text-align: center;
  padding: 1rem 0.7rem;
}

.footprint-grid strong {
  display: block;
  color: #ca660f;
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.footprint-grid span {
  color: #384e6b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.69rem;
  font-weight: 600;
}

/* Final consistency pass: header + button scale */
:root {
  --nav-font-size: 0.72rem;
  --nav-letter-space: 0.06em;
  --btn-font-size: 0.72rem;
  --btn-letter-space: 0.06em;
  --btn-pad-y: 0.78rem;
  --btn-pad-x: 1.2rem;
}

.site-header .logo img {
  height: 60px;
}

.site-header .nav a {
  font-size: var(--nav-font-size);
  letter-spacing: var(--nav-letter-space);
  text-transform: uppercase;
  font-weight: 600;
}

.btn,
.home-hero .btn,
.home-cta .btn,
.about-cta .btn,
.projects-cta .btn,
.contact-form-wrap .btn {
  font-size: var(--btn-font-size);
  letter-spacing: var(--btn-letter-space);
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
}

/* Content refresh: prose, sectors, clients, ELV grid, values, footer social */
.page-prose {
  max-width: 40rem;
  margin-inline: auto;
  color: #556578;
  font-size: 0.95rem;
  line-height: 1.65;
}

.page-prose p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-prose p:last-child {
  margin-bottom: 0;
}

.page-prose--wide {
  max-width: 52rem;
}

.page-prose a {
  color: #0c2246;
  font-weight: 600;
}

.about-mv__item--full {
  max-width: 42rem;
  margin-inline: auto;
}

.values-section {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.values-two-col {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .values-two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.values-card {
  background: #f8fbff;
  border: 1px solid #d3dfec;
  padding: 1.25rem 1.35rem;
}

.values-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #ca660f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.values-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #384e6b;
  font-size: 0.9rem;
  line-height: 1.7;
}

.sector-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.sector-grid li {
  background: #f8fbff;
  border: 1px solid #d3dfec;
  padding: 0.7rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0e223f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.client-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.client-grid span {
  display: block;
  background: #fff;
  border: 1px solid #d3dfec;
  padding: 0.75rem 0.85rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.78rem;
  color: #0e223f;
  line-height: 1.35;
}

.services-block-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: #0e203d;
  margin: 0 0 0.75rem;
}

.service-subheading {
  font-size: 0.95rem;
  color: #0e203d;
  margin: 1.25rem 0 0.5rem;
}

.elv-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .elv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.elv-block {
  background: #fff;
  border: 1px solid #dde7f0;
  padding: 1rem 1.1rem;
}

.elv-block--wide {
  grid-column: 1 / -1;
}

@media (min-width: 1100px) {
  .elv-block--wide {
    grid-column: span 3;
  }
}

.elv-block h3 {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ca660f;
}

.service-sublist {
  margin: 0;
  padding-left: 1.1rem;
  color: #556578;
  font-size: 0.85rem;
  line-height: 1.55;
}

.footer-social {
  font-size: 0.78rem;
  color: #8a9aac;
}

.site-footer .footer-social {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-social a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-decoration: none;
}

.site-footer .footer-social a:hover {
  text-decoration: underline;
  color: var(--color-orange);
}

.contact-panel .footer-social a {
  color: #0c2246;
  font-weight: 600;
}

.contact-panel .footer-social a:hover {
  color: var(--color-orange);
}

.footprint-grid span {
  line-height: 1.35;
  hyphens: auto;
}
