@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/Manrope-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/Manrope-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #ffffff;
  --ink: #030303;
  --muted: #555555;
  --line: #161616;
  --green: #4da543;
  --green-dark: #31852f;
  --green-soft: #edf7eb;
  --radius-lg: 40px;
  --radius-md: 28px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.35;
}

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

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px clamp(24px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}

.logo-link img {
  width: 172px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  font-size: 18px;
  font-weight: 500;
}

.site-nav a,
.mail-link {
  transition: color 160ms ease;
}

.site-nav a:hover,
.mail-link:hover {
  color: var(--green-dark);
}

.mail-link {
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.hero {
  min-height: calc(100vh - 93px);
  display: grid;
  align-content: space-between;
  gap: 56px;
  padding: clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.hero__topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
}

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

h1 {
  max-width: 1320px;
  margin-bottom: 0;
  font-size: clamp(58px, 9vw, 164px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__summary {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.hero__summary p {
  margin-bottom: 0;
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: 400;
}

.button {
  display: inline-flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 18px 34px;
  background: var(--green);
  color: #ffffff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.section {
  padding: clamp(56px, 7vw, 108px) clamp(24px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 74px);
}

.section-heading span {
  font-size: clamp(20px, 2vw, 34px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(46px, 7vw, 116px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

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

.service-card {
  min-height: 360px;
  display: grid;
  align-content: space-between;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--green);
  color: #ffffff;
}

.service-card__number {
  margin-left: -22px;
  font-size: clamp(78px, 8vw, 140px);
  font-weight: 300;
  line-height: 0.8;
}

.service-card h3 {
  margin-bottom: 18px;
  font-size: clamp(25px, 2.3vw, 42px);
  font-weight: 700;
  line-height: 1.1;
}

.service-card p {
  margin-bottom: 0;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 500;
}

.process-stack {
  display: grid;
  gap: 0;
}

.process-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  min-height: 190px;
  align-items: center;
  padding: clamp(28px, 4vw, 54px);
  background: var(--green);
  color: #ffffff;
}

.process-row:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.process-row:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.process-row + .process-row {
  border-top: 2px solid rgba(255, 255, 255, 0.34);
}

.process-row h3 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 64px);
  font-weight: 700;
  line-height: 1.08;
}

.process-row p {
  margin-bottom: 0;
  font-size: clamp(22px, 2.5vw, 44px);
  font-weight: 400;
  line-height: 1.18;
}

.result {
  background: var(--green-soft);
}

.result__inner {
  max-width: 1240px;
}

.result p {
  margin-bottom: 24px;
  font-size: clamp(24px, 3vw, 46px);
}

.result h2 {
  color: var(--green);
  font-weight: 700;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
}

.footer__brand img {
  width: 190px;
  height: auto;
}

.footer__brand p {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 26px);
}

.contacts {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(18px, 1.5vw, 24px);
  font-style: normal;
}

.contacts strong {
  margin-bottom: 10px;
  font-size: clamp(22px, 2vw, 32px);
}

.contacts a {
  color: var(--green-dark);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 300px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 150px 1fr;
  }

  .logo-link img {
    width: 148px;
  }

  .site-nav {
    display: none;
  }

  .mail-link {
    justify-self: end;
    font-size: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero__summary,
  .section-heading,
  .process-row,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero__summary {
    align-items: start;
  }

  .button {
    width: fit-content;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px;
  }

  .logo-link img {
    width: 128px;
  }

  .hero,
  .section,
  .footer {
    padding-inline: 18px;
  }

  .hero__topline {
    display: grid;
    gap: 4px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 42px;
  }

  .hero__summary p {
    font-size: 21px;
  }

  .button {
    width: 100%;
    min-height: 58px;
    padding-inline: 22px;
    font-size: 18px;
  }

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

  .service-card {
    min-height: 260px;
    border-radius: 24px;
  }

  .process-row {
    min-height: 0;
    border-radius: 0;
  }

  .process-row:first-child {
    border-radius: 28px 28px 0 0;
  }

  .process-row:last-child {
    border-radius: 0 0 28px 28px;
  }
}
