:root {
  --ink: #13233a;
  --muted: #617087;
  --paper: #f6f3ec;
  --surface: #ffffff;
  --blue: #0d4e84;
  --blue-dark: #07345a;
  --gold: #c89a49;
  --gold-soft: #f1d8a7;
  --line: rgba(19, 35, 58, 0.14);
  --shadow: 0 24px 70px rgba(12, 37, 64, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(10, 35, 59, 0.66);
  color: #fff;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(4, 18, 31, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.header-phone {
  padding: 13px 18px;
  border-radius: 6px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 780px) minmax(280px, 380px) minmax(24px, 1fr);
  align-items: end;
  gap: 34px;
  overflow: hidden;
  padding: 130px 0 54px;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 23, 40, 0.86), rgba(5, 23, 40, 0.44) 54%, rgba(5, 23, 40, 0.7)),
    linear-gradient(180deg, rgba(5, 23, 40, 0.25), rgba(5, 23, 40, 0.48));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  grid-column: 2;
  max-width: 780px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 9vw, 126px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #12110d;
  box-shadow: 0 18px 38px rgba(200, 154, 73, 0.28);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  position: relative;
  z-index: 1;
  grid-column: 3;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
}

.hero-card div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-soft);
  font-size: 28px;
  font-weight: 800;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

.section-kicker {
  color: var(--gold);
}

.intro-grid,
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: end;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.16;
}

.intro p,
.project-copy p,
.project-card p,
.feature-grid p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.stats {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stats div {
  min-height: 154px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  line-height: 1.5;
}

.section-head {
  margin-bottom: 34px;
}

.text-link {
  justify-self: end;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
  gap: 22px;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-feature img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.project-copy {
  padding: clamp(28px, 5vw, 54px);
}

.project-copy ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.project-copy li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 700;
}

.project-copy li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.project-card {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border-radius: 8px;
  background: var(--blue-dark);
  color: #fff;
}

.project-card p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.project-card span {
  margin-top: 30px;
  color: var(--gold-soft);
  font-weight: 800;
}

.feature-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid article,
.plan-grid article {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.feature-grid h3 {
  margin: 26px 0 14px;
}

.icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

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

.plan-grid article {
  min-height: 0;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(12, 37, 64, 0.1);
}

.plan-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 12px;
  border-radius: 6px;
  background: #f9fafb;
}

.plan-grid h3 {
  margin-top: 22px;
}

.plan-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.cta {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cta-media {
  min-height: 640px;
}

.cta-panel {
  padding: clamp(30px, 6vw, 70px);
}

.cta-panel h2 {
  margin-bottom: 22px;
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.lead-form small {
  color: var(--muted);
  line-height: 1.5;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  color: var(--blue);
  font-weight: 800;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer span,
.footer a {
  color: var(--ink);
  font-weight: 800;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 18px;
    border-radius: 8px;
    background: rgba(7, 52, 90, 0.96);
  }

  .site-header.menu-open .nav {
    display: grid;
  }

  .header-phone {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 24px 1fr 24px;
    align-items: end;
    gap: 22px;
  }

  .hero-content,
  .hero-card {
    grid-column: 2;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .section-head,
  .project-grid,
  .project-feature,
  .cta {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }

  .stats,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats div:nth-child(2) {
    border-right: 0;
  }

  .stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .project-card,
  .project-feature img,
  .cta-media {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span {
    max-width: 130px;
  }

  .hero {
    min-height: auto;
    padding: 116px 0 30px;
  }

  .hero h1 {
    font-size: clamp(52px, 19vw, 78px);
  }

  .hero-copy {
    max-width: min(310px, 100%);
    font-size: 18px;
  }

  .hero-actions,
  .button {
    width: min(100%, 310px);
  }

  .section {
    padding: 68px 0;
  }

  .stats,
  .feature-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .stats div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .project-copy,
  .project-card,
  .cta-panel {
    padding: 24px;
  }

  .footer {
    display: grid;
  }
}
