:root {
  --ink: #20293a;
  --muted: #6b7280;
  --green: #7aa638;
  --green-dark: #638c2d;
  --line: #e8edf2;
  --soft: #f6f9f2;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  width: min(1130px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 238px;
  max-width: min(238px, 70vw);
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  color: #252b36;
}

.nav-quote,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--green);
  box-shadow: 0 16px 30px rgba(122, 166, 56, 0.22);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-quote {
  min-height: 46px;
}

.button:hover,
.nav-quote:hover {
  background: var(--green-dark);
}

.hero {
  width: min(1035px, calc(100% - 40px));
  min-height: 485px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 450px;
  align-items: center;
  gap: 86px;
}

.hero h1 {
  max-width: 470px;
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.96;
  font-weight: 800;
}

.hero h1 span {
  color: var(--green);
}

.hero-copy > p {
  max-width: 530px;
  margin: 26px 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.hero-actions {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.trust {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.trust span,
.icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  aspect-ratio: 1;
  margin-right: 8px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.hero-photo {
  width: 100%;
  height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--soft);
  box-shadow: 0 18px 45px rgba(24, 37, 52, 0.08);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.intro {
  width: min(760px, calc(100% - 40px));
  margin: 30px auto 86px;
  text-align: center;
}

.intro h2,
.split-section h2,
.quote-band h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.98;
  font-weight: 800;
}

.intro p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  width: min(1035px, calc(100% - 40px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(23, 34, 48, 0.05);
}

.service-grid h3 {
  margin: 20px 0 10px;
  font-size: 20px;
}

.service-grid p,
.split-section p,
footer span {
  color: var(--muted);
  line-height: 1.7;
}

.split-section,
.quote-band {
  width: min(1035px, calc(100% - 40px));
  margin: 0 auto 92px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green) !important;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 14px;
}

.steps p {
  margin: 0;
  padding: 18px 20px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--soft);
}

.steps strong {
  margin-right: 16px;
  color: var(--green);
}

.quote-band {
  padding: 44px;
  border-radius: 8px;
  background: #253044;
}

.quote-band h2 {
  color: var(--white);
}

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

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

.quote-form label:nth-child(3),
.quote-form button {
  grid-column: 1 / -1;
}

.quote-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.quote-form input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

footer {
  width: min(1035px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

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

  .nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero,
  .split-section,
  .quote-band {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero {
    min-height: auto;
    padding: 46px 0 0;
  }

  .hero-photo {
    height: clamp(240px, 58vw, 360px);
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .intro,
  .service-grid,
  .split-section,
  .quote-band,
  footer {
    width: min(100% - 28px, 1035px);
  }

  .nav {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .quote-band {
    padding: 28px 18px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
