:root {
  --blue: #003b7a;
  --blue-dark: #002b5c;
  --sage: #91a79d;
  --sage-light: #dfe8e4;
  --cream: #f7f5f1;
  --paper: #ffffff;
  --text: #1f2a2e;
  --muted: #657174;
  --line: rgba(0, 59, 122, 0.14);
  --shadow: 0 22px 60px rgba(0, 43, 92, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
  line-height: 1.05;
}
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand small { font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem; color: var(--sage); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--blue-dark);
}
.main-nav a { opacity: 0.88; transition: opacity 0.2s ease; }
.main-nav a:hover { opacity: 1; }
.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
}
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.8rem; color: var(--blue); }

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
}
.narrow { max-width: 920px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}
h1, h2, h3 { margin: 0; line-height: 1.08; color: var(--blue-dark); }
h1 { font-size: clamp(2.6rem, 6vw, 6rem); letter-spacing: -0.06em; max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.045em; max-width: 780px; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
p { font-size: 1.05rem; color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 92px);
}
.hero-text { font-size: clamp(1.15rem, 2vw, 1.38rem); max-width: 660px; margin: 26px 0 0; }
.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: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(0, 59, 122, 0.22); }
.button.secondary { border: 1px solid var(--sage); color: var(--blue-dark); background: rgba(255,255,255,0.45); }
.button.full { width: 100%; margin-top: 16px; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.hero-image img { width: 100%; height: min(72vh, 740px); object-fit: cover; }
.intro {
  padding-top: 0;
  text-align: center;
}
.intro p {
  color: var(--blue-dark);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}
.section-heading { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.cards { display: grid; gap: 18px; }
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 43, 92, 0.05);
}
.card-number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--sage);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.card p { margin-bottom: 0; }
.wide-card { grid-column: span 2; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.rounded-image { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.steps {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.steps div {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.steps strong { color: var(--sage); letter-spacing: 0.1em; }
.steps span { font-weight: 750; color: var(--blue-dark); }
.about {
  display: grid;
  grid-template-columns: minmax(350px, 0.82fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-gallery img {
  border-radius: 22px;
  height: 460px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 14px 40px rgba(0, 43, 92, 0.08);
}
.about-gallery img:first-child { margin-top: 42px; }
.projects { background: var(--paper); border-radius: 36px; border: 1px solid var(--line); }
.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.project-list span {
  padding: 18px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--blue-dark);
  font-weight: 750;
  border: 1px solid var(--line);
}
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 40px;
  align-items: stretch;
}
.cta h2 { max-width: 700px; }
.contact-card {
  background: var(--blue-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-card img { width: 120px; background: var(--cream); border-radius: 18px; padding: 8px; margin-bottom: 24px; }
.contact-card h3 { color: #fff; }
.contact-card p { color: rgba(255,255,255,0.72); margin: 8px 0 18px; }
.contact-card a:not(.button) { display: block; color: #fff; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.16); word-break: break-word; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; font-size: 0.95rem; }
.site-footer a { color: var(--blue-dark); font-weight: 750; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 86px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--paper);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .hero, .split, .about, .cta { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 44px; }
  .hero-image img { height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .project-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .brand span { display: none; }
  .brand img { width: 52px; height: 52px; }
  .site-header { padding: 12px 18px; }
  .section { padding-left: 18px; padding-right: 18px; }
  .hero-image img { height: 430px; }
  .services-grid, .project-list, .about-gallery { grid-template-columns: 1fr; }
  .wide-card { grid-column: auto; }
  .about-gallery img { height: 360px; }
  .about-gallery img:first-child { margin-top: 0; }
  .site-footer { flex-direction: column; }
}
