:root {
  --green: #01684b;
  --green-2: #2f755a;
  --gold: #d7a332;
  --ink: #102033;
  --muted: #667386;
  --soft: #f5faf7;
  --cream: #fffaf0;
  --line: #e4ece8;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(16, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 7px;
  background: var(--green);
  color: var(--white);
  border: 1px solid var(--green);
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.button.secondary {
  background: var(--white);
  color: var(--green);
}

.hero {
  background:
    linear-gradient(90deg, rgba(245, 250, 247, 0.98), rgba(255, 250, 240, 0.92)),
    url("/assets/meta_banner.png") center/cover;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--ink);
}

.lead {
  margin: 20px 0 0;
  max-width: 660px;
  color: #435268;
  font-size: 18px;
}

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

.hero-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(1, 104, 75, 0.14);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-panel img {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 18px;
}

.hero-panel h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.hero-panel p {
  margin: 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 14px;
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

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

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

.section-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(16, 32, 51, 0.04);
}

.item h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.item p {
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: start;
}

.notice {
  background: var(--cream);
  border: 1px solid rgba(215, 163, 50, 0.34);
  border-radius: 8px;
  padding: 24px;
}

.notice h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.notice p {
  margin: 0;
  color: #5d4f32;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--white);
}

.calculator-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 16px;
}

.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8e2dd;
  border-radius: 7px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fcfefd;
  font: inherit;
  outline: none;
}

.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(1, 104, 75, 0.12);
}

.calculator-result {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid rgba(1, 104, 75, 0.14);
}

.calculator-result span {
  color: var(--muted);
  font-weight: 800;
}

.calculator-result strong {
  color: var(--green);
  font-size: 24px;
}

.calculator-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.cta .section {
  padding: 54px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
}

.cta p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta .button {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

.form-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  scroll-margin-top: 98px;
}

.request-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.request-summary {
  position: sticky;
  top: 104px;
  border: 1px solid rgba(1, 104, 75, 0.16);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: var(--shadow);
}

.request-summary .eyebrow {
  margin-bottom: 10px;
}

.request-summary h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.request-summary p {
  margin: 14px 0 0;
  color: var(--muted);
}

.request-summary ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.request-summary li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.request-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.form-title h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.form-title p {
  margin: 6px 0 0;
  color: var(--muted);
}

.form-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid rgba(215, 163, 50, 0.34);
  color: #705923;
  font-size: 12px;
  font-weight: 800;
}

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.field label span {
  color: #b42318;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8e2dd;
  border-radius: 7px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fcfefd;
  font: inherit;
  outline: none;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(1, 104, 75, 0.12);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.form-message {
  min-height: 22px;
  color: var(--muted);
  font-weight: 700;
}

.form-message.success {
  color: var(--green);
}

.form-message.error {
  color: #b42318;
}

.request-form.is-loading .button {
  opacity: 0.72;
  pointer-events: none;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

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

  .nav-links {
    gap: 14px;
    font-size: 14px;
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 54px 0;
  }

  h1 {
    font-size: 40px;
  }

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

  .request-layout {
    grid-template-columns: 1fr;
  }

  .request-summary {
    position: static;
  }

  .cta .section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-panel {
    padding: 20px;
  }

  .stats,
  .grid,
  .steps,
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .calculator-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .section {
    padding: 46px 0;
  }

  .section-head h2,
  .cta h2 {
    font-size: 28px;
  }

  .footer {
    flex-direction: column;
  }

  .request-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .form-title {
    flex-direction: column;
  }
}
