:root {
  --bg: #f4fbf5;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --primary: #16a34a;
  --accent: #22c55e;
  --shadow: rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

header.hero {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.banner-hero {
  position: relative;
  width: 100%;
  height: 400px;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf7ed;
  margin-bottom: 2rem;
}

.banner-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.04);
}

.banner-image.active {
  opacity: 1;
  transform: scale(1);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.4) 0%, rgba(255, 255, 255, 0.12) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.banner-text {
  color: white;
  max-width: 620px;
}

.banner-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0 0 1rem;
  font-weight: 800;
  line-height: 1.05;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.banner-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  margin: 0 0 2rem;
  max-width: 520px;
  opacity: 0.95;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.banner-cta {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}


.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0;
}

.hero p {
  font-size: 1.2rem;
  margin: 1rem auto 2rem;
  max-width: 720px;
}

.button {
  display: inline-block;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

.section,
.card-grid,
.cta {
  margin-bottom: 3rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.list-item,
.cta {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 12px 30px var(--shadow);
}

.card h2,
.section h2,
.cta h2 {
  margin-top: 0;
}

.card ul {
  padding-left: 1.2rem;
}

.list-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.list-item h3 {
  margin-top: 0;
}

.section ol {
  padding-left: 1.2rem;
}

.cta {
  text-align: center;
}

footer {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    max-width: 280px;
  }
}
