:root {
  --bg: #ffffff;
  --ink: #1d2737;
  --body: #5c6472;
  --muted: #f4f7f9;
  --line: #dde5ec;
  --blue: #0f67b1;
  --blue-light: #6fb6e8;
  --navy: #17233a;
  --gold: #c99a2f;
  --green: #2b8a6a;
  --shadow: 0 18px 50px rgba(18, 35, 58, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(23, 35, 58, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text {
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #657080;
  font-size: 14px;
  font-weight: 700;
}

.nav-menu a:hover {
  color: var(--blue);
}

.nav-cta {
  color: #fff !important;
  background: var(--blue);
  padding: 10px 18px;
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2200&q=85");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 29, 49, 0.94), rgba(18, 29, 49, 0.78), rgba(18, 29, 49, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 0 80px;
  max-width: 1160px;
}

.eyebrow,
.section-label {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  display: inline-flex;
  padding: 9px 16px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(48px, 6vw, 82px);
}

.hero h1 span {
  display: block;
  color: var(--blue-light);
}

.mobile-only {
  display: none;
}

.hero-copy {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.hero-location {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 103, 177, 0.32);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(560px, 100%);
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.muted {
  background: var(--muted);
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading.centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.split h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4vw, 52px);
}

.section-heading p:last-child {
  margin-top: 18px;
  font-size: 18px;
}

.divider {
  display: block;
  width: 72px;
  height: 3px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.divider.left {
  margin-left: 0;
}

.feature-grid,
.service-grid,
.process-grid {
  display: grid;
  gap: 24px;
}

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

.feature-card,
.service-card,
.process-grid article,
.contact-form,
.contact-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.feature-card {
  padding: 28px;
  box-shadow: 0 10px 32px rgba(23, 35, 58, 0.06);
}

.feature-card .icon {
  display: inline-flex;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 20px;
}

.feature-card h3,
.service-card h3,
.process-grid h3,
.contact-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

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

.service-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding-inline: 24px;
}

.service-card h3 {
  padding-top: 24px;
}

.service-card p {
  padding-bottom: 28px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split p:not(.section-label) {
  margin-top: 22px;
  font-size: 18px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about-points span {
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  background: var(--muted);
  color: var(--ink);
  font-weight: 800;
}

.image-collage {
  position: relative;
  min-height: 520px;
}

.image-collage img {
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.main-image {
  width: 84%;
  height: 440px;
}

.small-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 245px;
  border: 8px solid #fff;
}

.dark {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy);
}

.dark h2,
.dark h3 {
  color: #fff;
}

.dark .section-label {
  color: var(--blue-light);
}

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

.process-grid article,
.scope-grid article {
  padding: 34px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.process-grid span,
.scope-grid span {
  display: inline-grid;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius);
  font-weight: 900;
}

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

.scope-grid article:last-child {
  grid-column: 1 / -1;
}

.scope-grid h3 {
  max-width: 520px;
}

.scope-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.scope-grid li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.scope-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 999px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  max-width: 1020px;
  margin: 0 auto;
}

.contact-form,
.contact-card {
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(15, 103, 177, 0.16);
  border-color: var(--blue);
}

.form-note {
  min-height: 24px;
  margin-top: 12px;
  color: var(--green);
  font-weight: 800;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 18px;
  color: var(--body);
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.map-block {
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 8px;
  margin-top: 8px;
  padding: 24px;
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(23, 35, 58, 0.9), rgba(15, 103, 177, 0.72)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=900&q=80") center/cover;
}

.map-block span {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.62);
  background: #10192b;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand .brand-text {
  color: #fff;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .nav {
    height: 72px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 10px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 72px;
  }

  .feature-grid,
  .service-grid,
  .split-grid,
  .process-grid,
  .scope-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .scope-grid article:last-child {
    grid-column: auto;
  }

  .split-grid {
    gap: 40px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .brand-text {
    font-size: 15px;
  }

  .hero h1 {
    max-width: calc(100vw - 28px);
    font-size: 38px;
  }

  .hero-content,
  .hero-copy,
  .hero-actions,
  .hero-stats {
    max-width: calc(100vw - 28px);
  }

  .mobile-only {
    display: block;
  }

  .hero .eyebrow {
    border-radius: var(--radius);
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-stats,
  .form-row,
  .about-points {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .image-collage {
    min-height: auto;
  }

  .main-image,
  .small-image {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
    margin-top: 14px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
