* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #00883a;
  --green-dark: #006d2f;
  --yellow: #e4df12;
  --navy: #071733;
  --white: #ffffff;
  --text: #151515;
  --muted: #6d6d6d;
  --bg-light: #f3f3f3;
  --card-border: #e8e8e8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.brand-logo {
  height: 56px;
  width: auto;
}

.brand-accent {
  width: 16px;
  height: 58px;
  border-radius: 4px;
  background: var(--yellow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.8;
}

/* HERO */
.hero {
  position: relative;
  min-height: 640px;
  background-image: url("../img/hero-zepol.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 120px 0;
}

.hero h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: none;
  margin: 0 auto 22px;
  white-space: nowrap;
}
.hero p {
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 300;
  line-height: 1.45;
  max-width: 980px;
  margin: 0 auto;
} 

.hero-buttons {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 15px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-secondary {
  background: var(--yellow);
  color: var(--text);
}

.btn-light {
  background: var(--white);
  color: var(--green);
}

/* SECTIONS */
.features,
.about {
  padding: 90px 0;
}

.features {
  background: var(--bg-light);
}

.section-heading {
  margin-bottom: 46px;
}

.section-heading.center {
  text-align: center;
}

.section-heading h2,
.about h2,
.cta h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #eef8f1;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 22px;
}

.card h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
  font-size: 18px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  font-size: 20px;
  margin-bottom: 22px;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}

.about-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA */
.cta {
  background: var(--green);
  color: var(--white);
  padding: 90px 0;
}

.cta-content {
  text-align: center;
}

.cta-content p {
  font-size: 22px;
  max-width: 760px;
  margin: 0 auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-grid h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 22px 0 28px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .main-nav {
    justify-content: center;
    gap: 16px 20px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 90px 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .card h3 {
    font-size: 22px;
  }

  .card p,
  .about-text p,
  .cta-content p,
  .footer-grid p,
  .footer-grid li,
  .footer-grid a {
    font-size: 16px;
  }

  .brand-logo {
    height: 48px;
  }

  .brand-accent {
    height: 48px;
  }

  .btn {
    width: 100%;
    min-width: unset;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }
}