:root {
  --ink: #17201b;
  --muted: #5f6d67;
  --panel: #ffffff;
  --panel-soft: #f5f7f4;
  --line: #d9dfd9;
  --green: #2f6b4f;
  --green-dark: #1f4a38;
  --gold: #c9902f;
  --blue: #d9e8ee;
  --danger: #a33a2d;
  --shadow: 0 18px 45px rgba(23, 32, 27, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f9faf7;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(23, 32, 27, 0.82);
  backdrop-filter: blur(14px);
}

.brand,
.topbar-cta,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gold);
  color: #111;
}

.nav-links {
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.topbar-cta {
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.topbar-cta svg,
.submit-btn svg,
.feature-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(790px, 88vh);
  color: #fff;
  background: #17201b;
}

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

.hero-media {
  background-image: url("assets/hero-consultation.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 19, 15, 0.9) 0%, rgba(21, 33, 27, 0.78) 42%, rgba(21, 33, 27, 0.42) 100%),
    linear-gradient(180deg, rgba(23, 32, 27, 0.15), rgba(23, 32, 27, 0.66));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 460px);
  gap: clamp(28px, 5vw, 62px);
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 8vh, 92px) 0 54px;
}

.hero-copy {
  align-self: center;
  max-width: 690px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

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

.hero-metrics div {
  min-height: 108px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.05;
  white-space: nowrap;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.35;
}

.lead-panel {
  align-self: center;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.form-heading h2 {
  margin-bottom: 6px;
  font-size: 26px;
  line-height: 1.1;
}

.form-heading p,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 107, 79, 0.14);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 12px;
}

.checkline {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
}

.checkline input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.submit-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-error {
  color: var(--danger);
}

.info-band,
.steps-band,
.faq-band {
  padding: clamp(54px, 8vw, 90px) 0;
}

.info-band {
  background: var(--panel-soft);
}

.steps-band {
  background: #fff;
}

.faq-band {
  background: var(--blue);
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

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

.feature-item {
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: var(--green);
}

.feature-item h3,
.step-list h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.feature-item p,
.step-list p,
.faq-list p,
.footer span {
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

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

.step-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.step-list li > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid rgba(23, 32, 27, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 18px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 48px);
  color: #fff;
  background: var(--ink);
}

.footer div {
  display: grid;
  gap: 4px;
}

.footer a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 940px) {
  .topbar {
    position: relative;
    color: var(--ink);
    background: #fff;
  }

  .nav-links {
    display: none;
  }

  .topbar-cta {
    color: var(--green-dark);
    border-color: var(--line);
    background: var(--panel-soft);
  }

  .hero {
    min-height: auto;
  }

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

  .hero-inner {
    padding-top: 44px;
  }

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

@media (max-width: 620px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .topbar-cta {
    justify-content: center;
  }

  .hero-inner {
    width: min(100% - 24px, 520px);
  }

  h1 {
    font-size: 38px;
  }

  .hero-metrics,
  .feature-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .lead-panel {
    padding: 18px;
  }

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