:root {
  --ink: #18201d;
  --muted: #5d6863;
  --line: #d9dfdc;
  --paper: #fbfaf7;
  --soft: #eef3ef;
  --field: #ffffff;
  --brand: #176b54;
  --brand-dark: #0e4c3c;
  --accent: #c78636;
  --danger: #8b2f23;
  --shadow: 0 20px 45px rgba(24, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 7px;
  font-size: 14px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.button,
.nav-links a.button:hover {
  color: #fff;
}

.button {
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
}

.button.secondary {
  color: var(--brand-dark);
  background: #fff;
  border-color: var(--line);
}

.hero {
  min-height: min(680px, calc(100vh - 72px));
  display: flex;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(8, 22, 17, 0.82), rgba(8, 22, 17, 0.52), rgba(8, 22, 17, 0.16)),
    var(--hero-image) center/cover no-repeat;
  color: #fff;
}

.hero-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 92px 20px 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #d7e7df;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 16px;
  font-size: clamp(36px, 5.8vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 26px;
  color: #eef6f2;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section {
  padding: 58px 20px;
}

.section.soft {
  background: var(--soft);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.section-head p,
.muted {
  color: var(--muted);
}

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

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

.card {
  min-height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.callout {
  padding: 24px;
  background: var(--brand-dark);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.callout p {
  color: #e9f5ef;
}

.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 26px;
  align-items: start;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid #cdd5d1;
  border-radius: 7px;
  font: inherit;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.footer {
  padding: 26px 20px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 620px;
    background-position: center;
  }

  .hero-inner {
    padding-top: 78px;
    padding-bottom: 54px;
  }

  .grid,
  .grid.two,
  .form-wrap,
  form {
    grid-template-columns: 1fr;
  }
}
