* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1f2933;
  line-height: 1.6;
  background: #ffffff;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header__inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: #1b5e20;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  color: #374151;
}

.nav a:hover {
  color: #1b5e20;
}

.burger {
  display: none;
  width: 38px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background: #1f2933;
  border-radius: 10px;
}

/* Hero */

.hero {
  padding: 90px 0;
  background:
    linear-gradient(135deg, rgba(232, 245, 233, 0.95), rgba(200, 230, 201, 0.95)),
    url("../assets/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero__label {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #1b5e20;
  font-weight: 700;
  font-size: 14px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
  color: #123016;
}

.hero__text {
  max-width: 680px;
  margin: 0 0 30px;
  font-size: 20px;
  color: #263238;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.btn--primary {
  background: #2e7d32;
  color: #ffffff;
}

.btn--primary:hover {
  background: #1b5e20;
}

.btn--secondary {
  background: #ffffff;
  color: #1b5e20;
}

.btn--secondary:hover {
  background: #f1f8e9;
}

.hero__card {
  padding: 30px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.hero__card h3 {
  margin-top: 0;
  color: #1b5e20;
}

/* Sections */

.section {
  padding: 80px 0;
}

.section--gray {
  background: #f6f7f9;
}

.section--dark {
  background: #17351c;
  color: #ffffff;
}

.section__title {
  max-width: 760px;
  margin-bottom: 36px;
}

.section__title p {
  margin: 0 0 8px;
  color: #2e7d32;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section--dark .section__title p,
.contacts__label {
  color: #a5d6a7;
}

.section__title h2,
.contacts h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

/* About */

.about {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.about__text {
  font-size: 18px;
}

.about__text p:first-child {
  margin-top: 0;
}

.about__stats {
  display: grid;
  gap: 16px;
}

.stat {
  padding: 22px;
  border-radius: 16px;
  background: #f1f8e9;
  border: 1px solid #dcedc8;
}

.stat strong {
  display: block;
  font-size: 34px;
  color: #1b5e20;
}

.stat span {
  color: #52616b;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.card h3 {
  margin-top: 0;
  color: #1b5e20;
}

/* Documents */

.documents {
  display: grid;
  gap: 16px;
}

.document {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.document span {
  min-width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #e8f5e9;
  color: #1b5e20;
  font-weight: 700;
}

.document h3,
.document p {
  margin: 0;
}

/* Contacts */

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts__label {
  margin: 0 0 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.contacts__box {
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.contacts__box p {
  margin: 0 0 12px;
}

.contacts__box p:last-child {
  margin-bottom: 0;
}

/* Footer */

.footer {
  padding: 24px 0;
  background: #0f2413;
  color: #dce8dd;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

/* Adaptive */

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 16px 4%;
    border-top: 1px solid #e5e7eb;
  }

  .burger {
    display: block;
  }

  .hero__inner,
  .about,
  .contacts {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }

  .section {
    padding: 60px 0;
  }
}