.home-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 143, 98, .14), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(231, 131, 37, .12), transparent 28%),
    linear-gradient(135deg, #fbfdf8 0%, #edf7f0 52%, #fff7eb 100%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -36% -10%;
  height: 48%;
  background: rgba(255, 255, 255, .55);
  transform: rotate(-2deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange-600);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.centered {
  display: flex;
  justify-content: center;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  color: var(--green-950);
  font-size: clamp(2.55rem, 6vw, 5.35rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 0;
  color: #36584c;
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
  line-height: 1.78;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(23, 107, 74, .16);
  border-radius: var(--radius-sm);
  color: var(--green-900);
  background: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(23, 107, 74, .14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 28px 70px rgba(15, 61, 46, .14);
  backdrop-filter: blur(16px);
}

.panel-top,
.lesson-card,
.hero-metrics > div,
.feature-card,
.course-card,
.testimonial-card,
.faq-item,
.steps-list article,
.cta-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.panel-top span,
.card-kicker,
.course-content span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.panel-top strong {
  color: var(--orange-600);
  font-size: 1.45rem;
}

.lesson-card {
  padding: 22px;
}

.lesson-card.featured {
  background: linear-gradient(135deg, var(--green-950), var(--green-700));
}

.lesson-card h2,
.lesson-card p {
  color: #fff;
}

.lesson-card h2 {
  margin: 8px 0 8px;
  font-size: 1.55rem;
}

.lesson-card p {
  margin: 0;
  opacity: .86;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics > div {
  min-height: 104px;
  padding: 14px;
}

.hero-metrics strong {
  display: block;
  color: var(--green-950);
  font-size: 1.7rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}

.intro-strip,
.features-section,
.courses-section,
.method-section,
.testimonials-section,
.faq-section,
.cta-section {
  padding: 78px 0;
}

.intro-strip {
  background: #fff;
}

.intro-grid,
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: start;
}

.intro-grid h2,
.method-grid h2,
.cta-box h2 {
  margin: 12px 0 0;
  color: var(--green-950);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.1;
}

.intro-grid p,
.method-grid p,
.cta-box p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.features-section {
  background: linear-gradient(180deg, #f8fbf5 0%, #eef7f1 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover,
.course-card:hover,
.testimonial-card:hover,
.steps-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 107, 74, .24);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--orange-500));
  font-weight: 900;
}

.feature-card h2,
.course-content h2,
.steps-list h2 {
  margin: 0 0 9px;
  color: var(--green-950);
  font-size: 1.12rem;
  line-height: 1.25;
}

.feature-card p,
.course-content p,
.steps-list p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
}

.courses-section,
.faq-section {
  background: #fff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.course-card {
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.course-card img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.course-content {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.course-content .btn {
  justify-self: start;
  margin-top: 4px;
}

.method-section {
  background:
    linear-gradient(135deg, rgba(8, 41, 31, .94), rgba(23, 107, 74, .88)),
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, .08) 49%, rgba(255, 255, 255, .08) 51%, transparent 52%);
  color: #fff;
}

.method-grid h2,
.method-grid p {
  color: #fff;
}

.method-grid p {
  margin: 14px 0 24px;
  opacity: .84;
}

.steps-list {
  display: grid;
  gap: 14px;
}

.steps-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, .96);
  transition: transform .22s ease, box-shadow .22s ease;
}

.steps-list span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--orange-500);
  font-weight: 900;
}

.steps-list p {
  color: var(--muted);
  margin: 0;
}

.testimonials-section {
  background: linear-gradient(180deg, #fff7eb 0%, #f7fbf5 100%);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.stars {
  color: var(--orange-500);
  font-size: 1rem;
  letter-spacing: .08em;
}

.testimonial-card footer {
  display: grid;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-card strong {
  color: var(--green-950);
}

.testimonial-card span {
  color: var(--muted);
  font-size: .92rem;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--green-950);
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-question .icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  color: var(--green-900);
  background: rgba(23, 107, 74, .1);
}

.faq-item.open .faq-question .icon {
  color: #fff;
  background: var(--green-700);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.faq-item.open .faq-answer {
  display: block;
}

.cta-section {
  background: #f7fbf5;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 247, 235, .9)),
    linear-gradient(90deg, rgba(23, 107, 74, .08), rgba(231, 131, 37, .08));
}

.cta-box p {
  max-width: 620px;
  margin-top: 10px;
}

.cta-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

@media (max-width: 1040px) {
  .hero-grid,
  .intro-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .home-hero {
    padding: 68px 0 56px;
  }

  .courses-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .intro-strip,
  .features-section,
  .courses-section,
  .method-section,
  .testimonials-section,
  .faq-section,
  .cta-section {
    padding: 56px 0;
  }

  .hero-panel,
  .cta-box {
    padding: 16px;
  }

  .hero-metrics,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-points {
    display: grid;
  }

  .steps-list article {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
}
