:root {
  --bg: #f7fbf9;
  --ink: #10201d;
  --muted: #5a6b66;
  --line: #d7e5e0;
  --accent: #0f766e;
  --accent-dark: #0b514d;
  --paper: #ffffff;
  --soft: #e8f4ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px min(5vw, 56px);
  background: rgba(247, 251, 249, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.hero,
.section,
.band,
.cta,
.form-hero,
.form-shell {
  padding: 64px min(5vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 56px);
  padding-top: 46px;
  padding-bottom: 56px;
}

.hero-copy,
.section-heading,
.cta {
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

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

.actions.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--accent);
}

.button.secondary {
  color: var(--accent-dark);
  background: var(--soft);
  border: 1px solid var(--line);
}

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

.hero-image {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 118, 110, 0.12);
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-card span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: 17px;
}

.line {
  display: block;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

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

.card,
.offer {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card p,
.offer p {
  color: var(--muted);
}

.band {
  background: #eef8f4;
}

.price {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 30px;
  font-weight: 800;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps strong::before {
  content: counter(steps) ". ";
  color: var(--accent);
}

.steps span {
  color: var(--muted);
}

.cta {
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.contact-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card h3 {
  margin-top: 8px;
}

.contact-card p {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px min(5vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-hero {
  max-width: 980px;
  padding-bottom: 36px;
}

.form-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.form-shell {
  padding-top: 0;
}

.entry-form {
  display: grid;
  gap: 22px;
  max-width: 840px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(16, 32, 29, 0.08);
}

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

label,
legend {
  font-weight: 700;
}

label small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

label span {
  color: var(--accent);
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  border-color: var(--accent);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 8px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
}

.check input {
  width: auto;
  margin-top: 7px;
}

.consent {
  color: var(--muted);
  font-size: 14px;
}

.form-submit {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  color: var(--accent-dark);
  font-weight: 700;
}

.legal-body {
  display: grid;
  gap: 18px;
  max-width: 980px;
  padding: 0 min(5vw, 56px) 72px;
}

.legal-body h2 {
  margin: 18px 0 0;
  font-size: 24px;
}

.legal-body p {
  color: var(--muted);
}

.compact {
  padding-top: 0;
}

.faq-body {
  display: grid;
  gap: 14px;
  max-width: 980px;
  padding: 0 min(5vw, 56px) 72px;
}

.faq-body h2 {
  margin: 24px 0 4px;
  font-size: 26px;
}

details {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 800px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .grid.three,
  .grid.two,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .field-grid,
  fieldset {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
