:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5e6a61;
  --line: #dce4dc;
  --paper: #fbfcf7;
  --surface: #ffffff;
  --green: #126447;
  --green-dark: #0c4935;
  --gold: #c88b2c;
  --clay: #b85b38;
  --sky: #dcefed;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.brand {
  font-weight: 800;
}

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

.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(220, 239, 237, 0.95), rgba(251, 252, 247, 0.82)),
    linear-gradient(45deg, rgba(18, 100, 71, 0.12), rgba(200, 139, 44, 0.12));
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.18;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(38px, 6vw, 76px);
}

.hero__lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.button--primary {
  color: #fff;
  background: var(--green);
}

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

.hero__visual {
  position: relative;
  min-height: 420px;
}

.hero__visual img {
  display: block;
  width: 100%;
  height: min(56vw, 520px);
  min-height: 380px;
  object-fit: cover;
  border: 1px solid rgba(18, 100, 71, 0.16);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(23, 32, 27, 0.16);
}

.hero__panel {
  position: absolute;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  max-width: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 60px rgba(23, 32, 27, 0.1);
  backdrop-filter: blur(12px);
}

.hero__panel span,
.tag,
.member-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.hero__panel strong {
  display: block;
  margin-top: 10px;
  font-size: 42px;
  line-height: 1;
}

.section {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.section__heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section h2 {
  max-width: 850px;
  font-size: clamp(28px, 4vw, 48px);
}

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

.problem__grid,
.steps,
.price-grid,
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.problem article,
.steps article,
.price-grid article,
.package__card,
.member-card,
.lead-form,
.lead-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.problem article,
.steps article,
.price-grid article {
  padding: 22px;
}

.package {
  background: #eef5ec;
}

.package__card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: clamp(22px, 4vw, 36px);
}

.package__card ul {
  margin: 0;
  padding-left: 20px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
  background: #f7f1e7;
}

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

.price-grid strong {
  display: block;
  font-size: 30px;
}

.price-grid span {
  color: var(--muted);
  font-size: 14px;
}

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

.member-card {
  overflow: hidden;
}

.member-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.member-card div {
  padding: 20px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.lead-summary {
  grid-column: 2;
  display: block;
  padding: 18px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

  .hero,
  .package__card,
  .pricing,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 0;
  }

  .hero__visual img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero__panel {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .problem__grid,
  .steps,
  .price-grid,
  .team__grid {
    grid-template-columns: 1fr;
  }

  .lead-summary {
    grid-column: auto;
  }
}
