:root {
  --green: #214a35;
  --green-2: #73c66d;
  --ink: #202622;
  --muted: #647067;
  --line: #dfe7df;
  --soft: #f4f7f3;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 54, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.locked {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  padding: 12px 14px 12px 18px;
  color: var(--white);
  background: rgba(12, 30, 20, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(20, 40, 28, 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-mark {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--green-2), #d7f4b7);
  border-radius: 4px 10px 4px 10px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: inherit;
  font-size: 14px;
}

.main-nav a,
.header-cta {
  opacity: 0.9;
}

.main-nav a:hover,
.header-cta:hover {
  opacity: 1;
}

.header-cta {
  padding: 10px 16px;
  color: var(--green);
  background: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

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

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

.hero {
  position: relative;
  min-height: max(720px, 100vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 35, 23, 0.86), rgba(14, 35, 23, 0.42), rgba(14, 35, 23, 0.2)),
    linear-gradient(0deg, rgba(14, 35, 23, 0.65), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 170px 0 70px;
}

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

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

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 20px;
  color: var(--green);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 22px;
  line-height: 1.12;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--green);
  background: var(--green-2);
  box-shadow: 0 16px 34px rgba(115, 198, 109, 0.28);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 56px;
}

.trust-row span {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.trust-row span::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green-2);
  border-radius: 50%;
}

section:not(.hero) {
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.wide {
  max-width: 920px;
}

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

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  max-width: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 74px;
  color: var(--green-2);
  font-weight: 900;
}

.feature-card p,
.service-card p,
.segment-grid p,
.lead-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

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

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(33, 74, 53, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(24, 54, 38, 0.07);
}

.service-card img {
  height: 230px;
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.icon-button {
  width: 48px;
  height: 48px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.case-stage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.compare-card {
  overflow: hidden;
  min-height: 560px;
  background: var(--green);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.compare {
  position: relative;
  height: 100%;
  min-height: 560px;
}

.compare img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.compare .before-image {
  filter: saturate(0.72) contrast(0.88) brightness(0.72);
}

.compare .before-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: var(--split, 50%);
  background:
    linear-gradient(90deg, rgba(33, 74, 53, 0.2), rgba(33, 74, 53, 0.05)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  pointer-events: none;
}

.compare .after {
  clip-path: inset(0 0 0 var(--split, 50%));
}

.compare input {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.divider {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: var(--white);
  transform: translateX(-50%);
}

.divider::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
}

.compare-label {
  position: absolute;
  z-index: 4;
  top: 22px;
  padding: 9px 14px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.compare-label.before {
  left: 22px;
}

.compare-label.after-label {
  right: 22px;
}

.case-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  background: var(--soft);
  border-radius: 8px;
}

.case-meta {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.case-meta span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.case-meta strong {
  color: var(--green);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-list li {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--white);
}

.process-list span {
  color: var(--green-2);
  font-weight: 900;
}

.process-list strong {
  color: var(--green);
  font-size: 18px;
  line-height: 1.25;
}

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

.segment-grid article {
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(33, 74, 53, 0.04), rgba(33, 74, 53, 0.12)),
    var(--soft);
  border-radius: 8px;
}

.segment-grid span {
  margin-bottom: auto;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-stage {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 430px;
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.review-stage img {
  height: 100%;
  object-fit: cover;
}

.review-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px;
}

.quote {
  color: var(--green);
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.review-person {
  display: grid;
  gap: 4px;
  color: var(--muted);
}

.review-person strong {
  color: var(--ink);
}

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

details {
  padding: 24px 28px;
  background: var(--soft);
  border-radius: 8px;
}

summary {
  color: var(--green);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
}

details p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: start;
}

.lead-note {
  margin-top: 34px;
  padding: 22px;
  color: var(--green);
  background: var(--white);
  border-left: 4px solid var(--green-2);
  border-radius: 8px;
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(115, 198, 109, 0.18);
}

.lead-form .button {
  width: 100%;
}

.messenger-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.messenger-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: var(--green);
  background: #f8faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.messenger-actions a:hover {
  background: rgba(115, 198, 109, 0.12);
  border-color: rgba(115, 198, 109, 0.65);
  transform: translateY(-1px);
}

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

.footer {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 1fr 0.75fr;
  gap: 40px;
  padding: 58px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.8);
  background: var(--green);
}

.footer h3,
.footer .logo {
  color: var(--white);
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-addresses {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-addresses p {
  margin: 0;
}

.footer-meta {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .feature-grid,
  .service-grid,
  .process-list,
  .segment-grid,
  .case-stage,
  .review-stage,
  .lead,
  .footer {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 14px;
  }

  .process-list {
    gap: 0;
  }

  .process-list li {
    min-height: 120px;
  }

  .compare-card,
  .compare {
    min-height: 430px;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    padding: 10px;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 12px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-top: 126px;
    padding-bottom: 38px;
  }

  .hero {
    min-height: 680px;
  }

  section:not(.hero) {
    padding-top: 74px;
    padding-bottom: 74px;
  }

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

  .feature-card {
    min-height: 220px;
    padding: 26px;
  }

  .feature-number {
    margin-bottom: 52px;
  }

  .case-info,
  .review-copy,
  .lead-form {
    padding: 24px;
  }
}
