/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #1B5E20;
  --green-mid: #2E7D32;
  --green: #4CAF50;
  --green-light: #81C784;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --divider: rgba(0,0,0,0.1);
  --radius: 16px;
  --container: 1100px;
  --container-md: 820px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', serif;
  color: var(--text-primary);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container     { max-width: var(--container);    margin: 0 auto; padding: 0 24px; }
.container--md { max-width: var(--container-md); margin: 0 auto; padding: 0 24px; }

/* ── Animations ─────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-fade { animation: fadeInUp .8s ease-out both; }
.anim-scale { animation: scaleIn .8s ease-out .2s both; }

/* stagger delays */
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .30s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .55s; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.btn--primary {
  color: #fff;
  padding: 16px 40px;
  background: linear-gradient(45deg, var(--green-mid), var(--green));
  box-shadow: 0 10px 25px rgba(46,125,50,.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(46,125,50,.4);
  background: linear-gradient(45deg, var(--green-dark), var(--green-mid));
}
.btn--white {
  color: var(--green-mid);
  background: #fff;
  padding: 14px 48px;
}
.btn--white:hover { background: rgba(255,255,255,.9); }

/* ── Hero ───────────────────────────────────────── */
.hero { padding: 64px 0; }
@media (min-width: 768px) { .hero { padding: 128px 0 96px; } }

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
@media (min-width: 768px) { .hero__inner { flex-direction: row; } }

.hero__text { flex: 1; }
.hero__media { flex: 1; display: flex; justify-content: center; }
.hero__media img { max-height: 500px; }

.hero h1 {
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--green-dark);
  margin-bottom: 16px;
}
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero p { font-size: 1.25rem; } }

/* ── Section helpers ────────────────────────────── */
.section       { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section--tint { background: rgba(46,125,50,.04); }

.section__title {
  font-weight: 800;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}
@media (min-width: 768px) { .section__title { font-size: 2.75rem; } }

.section__subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* ── How-it-works grid ──────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }

.steps-grid__line {
  display: none;
}
@media (min-width: 768px) {
  .steps-grid__line {
    display: block;
    position: absolute;
    top: 36px;
    left: calc(16.66% + 36px);
    width: calc(66.66% - 72px);
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--green-mid));
    opacity: .25;
  }
}

.step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  border: 1px solid rgba(46,125,50,.1);
  transition: transform .25s, box-shadow .25s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.step-card__img-wrap { position: relative; }
.step-card__img { width: 100%; height: 200px; object-fit: cover; }

.step-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  font-family: 'Inter', sans-serif;
}

.step-card__body { padding: 24px; }
.step-card__body h3 { font-weight: 700; margin-bottom: 8px; font-size: 1.15rem; line-height: 1.3; }
.step-card__body p  { color: var(--text-secondary); line-height: 1.7; font-size: .95rem; }

/* ── Benefits grid ──────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 600px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }

.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--divider);
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) { .benefit-card { padding: 32px; } }

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.09);
}

.benefit-card__icon { width: 48px; height: 48px; object-fit: contain; margin-bottom: 16px; }
.benefit-card h3 { font-weight: 700; margin-bottom: 12px; font-size: 1.15rem; line-height: 1.3; }
.benefit-card p  { color: var(--text-secondary); line-height: 1.7; font-size: .95rem; margin-bottom: 20px; }

.benefit-card__callout {
  margin-top: auto;
  width: 100%;
  border-left: 3px solid var(--green-light);
  padding: 6px 0 6px 16px;
  background: rgba(46,125,50,.04);
  border-radius: 0 8px 8px 0;
  text-align: left;
}
.benefit-card__callout p {
  font-size: .875rem;
  color: var(--green-dark);
  font-style: italic;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  margin-bottom: 0;
}

/* ── FAQ accordion ──────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  border: 1px solid var(--divider);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .25s;
}
.faq-item.open { box-shadow: 0 4px 20px rgba(0,0,0,.06); }

.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-weight: 600;
  font-size: .95rem;
  text-align: left;
  gap: 16px;
  color: var(--text-primary);
}
@media (min-width: 768px) { .faq-item__q { font-size: 1.05rem; } }

.faq-item__q svg {
  flex-shrink: 0;
  width: 24px; height: 24px;
  fill: var(--green-mid);
  transition: transform .25s;
}
.faq-item.open .faq-item__q svg { transform: rotate(180deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-item__a {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-item__a p {
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-line;
}

/* ── CTA banner ─────────────────────────────────── */
.cta-banner {
  background: var(--green-mid);
  padding: 64px 0;
  color: #fff;
  text-align: center;
}
@media (min-width: 768px) { .cta-banner { padding: 80px 0; } }

.cta-banner h2 { font-weight: 800; font-size: 2rem; margin-bottom: 20px; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.75rem; } }

.cta-banner p { font-size: 1.15rem; opacity: .9; margin-bottom: 32px; }

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: rgba(0,0,0,.02);
  border-top: 1px solid var(--divider);
  padding: 32px 0;
  text-align: center;
}
.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--text-secondary);
  font-size: .9rem;
}
.footer a {
  color: var(--text-secondary);
  transition: color .2s;
}
.footer a:hover { color: var(--green-mid); }

.footer__links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--divider);
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.lang-select:focus {
  border-color: var(--green-mid);
}
