:root {
  --green-700: #2f5d3b;
  --green-600: #4d7a52;
  --green-100: #eef7ed;
  --text: #16311f;
  --muted: #5c6f61;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(12, 34, 18, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(6, 29, 15, 0.78) 0%, rgba(6, 29, 15, 0.48) 100%),
    url('carl-tronders-YhxOrHGrQQc-unsplash.jpg') center/cover;
  color: var(--white);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  font-weight: 500;
}

.hero-content {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 2rem 0 4rem;
}

.hero-copy {
  max-width: 680px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green-100);
  color: var(--green-700);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--green-100);
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green-600);
  margin-bottom: 0.4rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.7rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  height: 220px;
  object-fit: cover;
}

.card h3,
.feature-list h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.card p,
.feature-list p,
.cta-box p,
.about-grid p {
  color: var(--muted);
}

.card > *:not(img) {
  padding: 0 1.25rem 1.25rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list > div {
  background: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.cta-box {
  background: linear-gradient(135deg, #2f5d3b, #4d7a52);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
}

.cta-box .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
}

.footer {
  padding: 1.5rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid #e3eee3;
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding: 4rem 0 4.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
  }
}
