:root {
  --ink: #121816;
  --ink-soft: #2a332e;
  --muted: #4a544e;
  --paper: #f7f8f6;
  --surface: #ffffff;
  --accent: #1f6b5a;
  --accent-deep: #154a3f;
  --line: rgba(18, 24, 22, 0.12);
  --shade: rgba(10, 18, 16, 0.55);
  --radius: 12px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --shadow-form: 0 24px 48px rgba(10, 18, 16, 0.22);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  overflow-x: hidden;
}

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

a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(247, 248, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
}

.topbar-link {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
}

.topbar-link:hover { color: var(--accent); }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  animation: hero-settle 0.7s ease-out both;
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 12, 10, 0.88) 0%, rgba(6, 12, 10, 0.72) 38%, rgba(6, 12, 10, 0.48) 72%, rgba(6, 12, 10, 0.4) 100%),
    linear-gradient(180deg, rgba(6, 12, 10, 0.35) 0%, transparent 40%, rgba(6, 12, 10, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 48px 22px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy { color: #f4f7f5; max-width: 34rem; }

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 247, 245, 0.78);
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 18px;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 500;
  color: rgba(244, 247, 245, 0.92);
  max-width: 34ch;
}

.hero-sub {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(244, 247, 245, 0.88);
  max-width: 40ch;
}

.form-panel {
  background: var(--surface);
  border: 1px solid rgba(18, 24, 22, 0.08);
  border-radius: calc(var(--radius) + 2px);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-form);
  animation: form-rise 0.65s ease-out 0.12s both;
  scroll-margin-top: 72px;
  color: var(--ink);
}

.form-title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.form-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.chip {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f3f5f3;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip.is-on {
  background: rgba(31, 107, 90, 0.12);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.ask-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.ask-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.ask-form label.span-2 { grid-column: 1 / -1; }

.phone-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 14px;
  align-items: end;
}

.phone-row label {
  min-width: 0;
}

@media (max-width: 520px) {
  .phone-row { grid-template-columns: 1fr; }
}

.ask-form input,
.ask-form select {
  font: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 13px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfbfa;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ask-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.ask-form input:focus,
.ask-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 107, 90, 0.18);
  background-color: #fff;
}

.form-panel--light {
  box-shadow: 0 12px 28px rgba(10, 18, 16, 0.08);
  animation: none;
}

.cta {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cta:hover { background: var(--accent-deep); }
.cta:focus-visible {
  outline: 3px solid rgba(31, 107, 90, 0.35);
  outline-offset: 2px;
}
.cta:active { transform: translateY(1px); }
.cta:disabled {
  opacity: 0.55;
  cursor: wait;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.25em;
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--accent);
}
.form-status.is-error { color: #9b2c2c; }

/* —— Below fold —— */
.section {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 64px 22px 8px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-num {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(31, 107, 90, 0.12);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
}

.steps strong { font-size: 1.05rem; }
.steps span:last-child { color: var(--muted); font-size: 0.95rem; }

.how-pro { padding-top: 40px; }

.pro-section {
  width: min(1120px, 100%);
  scroll-margin-top: 72px;
}

.pro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contrast {
  padding-bottom: 48px;
}

.contrast-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contrast-list li {
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
}

.contrast-list strong { color: var(--ink); }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 28px 22px 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-foot strong { color: var(--ink); }

.site-foot a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}
.site-foot a:hover { color: var(--accent); }

.foot-grid {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

@keyframes hero-settle {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes form-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 28px;
    padding-bottom: 36px;
    gap: 20px;
  }
  /* Form owns the fold on narrow screens (magnet CTA). */
  .hero .form-panel { order: -1; }
  .hero-copy h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero-lead { font-size: 1.05rem; max-width: none; }
  .hero-photo { object-position: center 28%; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 12, 10, 0.88) 0%, rgba(6, 12, 10, 0.78) 40%, rgba(6, 12, 10, 0.82) 100%);
  }
  .steps { grid-template-columns: 1fr; }
  .pro-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 520px) {
  .ask-form { grid-template-columns: 1fr; }
  .ask-form label.span-2 { grid-column: auto; }
  .topbar { padding: 12px 16px; }
  .hero-inner { padding-inline: 16px; }
  .section { padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero,
  .form-panel { animation: none; }
  .cta { transition: none; }
}
