:root {
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-soft: #eef2ec;
  --dark: #101512;
  --text: #17201b;
  --muted: #637067;
  --green: #17804d;
  --green-dark: #0e5d38;
  --line: rgba(16, 21, 18, .12);
  --shadow: 0 18px 50px rgba(16, 21, 18, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, .42);
}

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

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(16, 21, 18, .08);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 32px rgba(16, 21, 18, .1);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: center;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #27322d;
}

.nav a {
  transition: color .2s ease;
}

.nav a:hover {
  color: var(--green);
}

.header-action {
  justify-self: end;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(23, 128, 77, .22);
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lang-btn {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #27322d;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--green);
  color: #fff;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--dark);
  transition: transform .2s ease, opacity .2s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .7)),
    url("img/hero.jpg") center/cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 76px;
  display: grid;
  justify-items: center;
  gap: 22px;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 600;
}

h2 {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.32;
  font-weight: 600;
}

.hero h2 {
  max-width: 760px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .86);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.22;
  font-weight: 850;
}

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

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 34px rgba(23, 128, 77, .28);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.section {
  padding: 88px 0;
}

.section-label {
  display: block;
  margin-bottom: 18px;
  color: #333532;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  text-transform: none;
}

.section-label::before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--green);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.about-grid,
.company-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.company-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.lead-block {
  padding-top: 34px;
}

.lead-block p {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 19px;
}

.lead-block p:last-child {
  margin-bottom: 0;
}

.offers {
  background: var(--surface);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.offer-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 21, 18, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.offer-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-soft);
}

.offer-card div {
  flex: 1;
  padding: 24px;
}

.offer-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-weight: 900;
}

.offer-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.identity {
  background: var(--dark);
  color: #fff;
}

.identity .section-label,
.identity p {
  color: rgba(255, 255, 255, .86);
}

.identity .section-label {
  color: #fff;
}

.identity .section-label::before {
  background: #8dd85f;
}

.identity-inner {
  max-width: 980px;
}

.identity-inner p {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
}

.company-main,
.company-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.company-card {
  background: var(--surface-soft);
}

.company-card p {
  margin-bottom: 0;
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #314039;
  font-size: 17px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.why {
  padding-top: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-item {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.why-item strong {
  color: var(--green-dark);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.why-item p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.certificates {
  background: var(--surface);
}

.certificates-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.certificates-frame img {
  width: 100%;
  height: auto;
}

.footer {
  padding: 56px 0 26px;
  background: var(--dark);
  color: rgba(255, 255, 255, .78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .7fr;
  gap: 42px;
  align-items: start;
}

.footer-logo {
  margin-bottom: 18px;
}

.footer-logo img {
  width: 178px;
  filter: brightness(0) invert(1);
}

.footer p {
  max-width: 460px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .7);
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact span {
  color: #fff;
  font-weight: 900;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-action {
  display: flex;
  justify-content: flex-end;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
    font-size: 13px;
  }

  .logo img {
    width: 148px;
  }


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

@media (max-width: 860px) {
  .header-inner {
    min-height: 70px;
  }

  .header-action {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    z-index: 60;
    display: none;
    margin-left: 0;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .nav a:hover {
    background: var(--surface-soft);
  }

  .hero {
    min-height: 680px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 23px;
  }

  .section {
    padding: 70px 0;
  }

  .about-grid,
  .company-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .lead-block {
    padding-top: 0;
  }

  .identity-inner p {
    font-size: 22px;
  }

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

  .footer-action {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .logo img {
    width: 136px;
  }

  .nav {
    top: 78px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner {
    gap: 24px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 21px;
  }

  h3 {
    font-size: 19px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 26px;
  }

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

  .offer-card div,
  .company-main,
  .company-card,
  .why-item {
    padding: 22px;
  }

  .lead-block p {
    font-size: 17px;
  }

  .identity-inner p {
    font-size: 19px;
  }

  .btn {
    width: 100%;
  }
}
