/* === DESIGN SYSTEM === */
:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-light: #f0fdf4;
  --green-pale: #dcfce7;
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --text: #0f172a;
  --text-mid: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --max-width: 1100px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === LAYOUT === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--muted { background: var(--bg-muted); }
.section--green-light { background: var(--green-light); }
.section--green { background: var(--green); color: #fff; }
.section--dark { background: #0f172a; color: #fff; }

/* === NAV === */
.nav { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--max-width); margin: 0 auto; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo-icon { width: 36px; height: 36px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; flex-shrink: 0; }
.nav__logo-text { font-size: 15px; font-weight: 800; letter-spacing: 1px; color: var(--text); text-transform: uppercase; }
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a { color: var(--text-mid); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav__links a:hover { color: var(--green); }
.nav__cta { background: var(--green); color: #fff; padding: 8px 20px; border-radius: 4px; font-size: 14px; font-weight: 700; text-decoration: none; }
.nav__cta:hover { background: var(--green-dark); text-decoration: none; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--text); }

/* === HERO === */
.hero { padding: 48px 0; background: linear-gradient(to right, rgba(240,253,244,1.0) 0%, rgba(240,253,244,0.98) 25%, rgba(240,253,244,0.88) 40%, rgba(240,253,244,0.60) 58%, rgba(240,253,244,0.45) 75%, rgba(240,253,244,0.40) 100%), url('../images/family.png') right center / cover no-repeat; background-color: var(--green-light); }
.hero__label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.hero__title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.15; color: var(--text); margin-bottom: 16px; }
.hero__title span { color: var(--green); }
.hero__subtitle { font-size: 18px; color: var(--text-mid); max-width: 560px; margin-bottom: 32px; line-height: 1.6; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* === BUTTONS === */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background 0.15s, color 0.15s; }
.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); text-decoration: none; }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green-light); text-decoration: none; }
.btn--white { background: #fff; color: var(--green); border-color: #fff; }
.btn--white:hover { background: var(--green-pale); text-decoration: none; }

/* === TRUST BAR === */
.trust-bar { background: var(--green); padding: 14px 0; }
.trust-bar__inner { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.trust-bar__item { color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.trust-bar__item::before { content: '✓'; font-size: 15px; }

/* === SECTION HEADER === */
.section-header { margin-bottom: 40px; }
.section-header__label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.section-header__title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--text); }
.section-header--center { text-align: center; }
.section--green .section-header__title { color: #fff; }
.section--green .section-header__label { color: var(--green-pale); }

/* === CARDS === */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; border-top: 3px solid var(--green); }
.card__icon { font-size: 28px; margin-bottom: 12px; }
.card__title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.card__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.card__link { font-size: 14px; font-weight: 700; color: var(--green); }
.card__link:hover { text-decoration: underline; }

/* === BENEFITS === */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.benefit { display: flex; gap: 16px; }
.benefit__icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.benefit__title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.benefit__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* === HOW IT WORKS === */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.step { text-align: center; }
.step__num { width: 48px; height: 48px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; font-weight: 700; margin: 0 auto 12px; }
.step__title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step__text { font-size: 14px; color: var(--text-muted); }

/* === BLOG CARDS === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.blog-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.blog-card__thumb { background: var(--green-pale); height: 120px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.blog-card__body { padding: 20px; }
.blog-card__cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green); margin-bottom: 6px; }
.blog-card__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-card__title a { color: var(--text); text-decoration: none; }
.blog-card__title a:hover { color: var(--green); }
.blog-card__excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* === CTA BANNER === */
.cta-banner { text-align: center; }
.cta-banner__title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-banner__subtitle { font-size: 16px; color: var(--green-pale); margin-bottom: 28px; }

/* === FOOTER === */
.footer { background: #0f172a; color: #94a3b8; padding: 24px 0; }
.footer__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-size: 13px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 13px; color: #64748b; text-decoration: none; }
.footer__links a:hover { color: #94a3b8; }

/* === PAGE HERO (inner pages) === */
.page-hero { background: linear-gradient(160deg, var(--green-light) 0%, var(--bg-muted) 100%); padding: 60px 0; }
.page-hero__label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.page-hero__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.page-hero__subtitle { font-size: 17px; color: var(--text-mid); max-width: 600px; line-height: 1.6; margin-bottom: 24px; }

/* === PROSE (blog/articles) === */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; font-weight: 800; color: var(--text); margin: 40px 0 12px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--text); margin: 28px 0 8px; }
.prose p { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.prose ul, .prose ol { margin: 12px 0 20px 24px; }
.prose li { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.prose .callout { background: var(--green-light); border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.prose .callout p { margin-bottom: 0; color: var(--text); }
.article-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }

/* === FAQ === */
.faq { max-width: 720px; }
.faq__item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq__q { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.faq__a { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* === FORM === */
.form { max-width: 600px; }
.form__row { margin-bottom: 20px; }
.form__label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 15px; color: var(--text); font-family: var(--font);
  background: var(--bg);
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.15);
}
.form__textarea { min-height: 120px; resize: vertical; }
.form__two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__notice { background: var(--green-light); border: 1px solid var(--green-pale); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; color: var(--green-dark); font-size: 14px; font-weight: 600; }
.form__error { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 16px; margin-bottom: 24px; color: #dc2626; font-size: 14px; }

/* === TWO COLUMN LAYOUT === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  /* Nav */
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px 24px; gap: 16px;
  }

  /* Hero — plain background on mobile, no photo */
  .hero {
    padding: 40px 0;
    background: var(--green-light) !important;
  }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 16px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; text-align: center; }

  /* Trust bar — 2×2 grid */
  .trust-bar__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; justify-items: center; }

  /* Sections */
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }

  /* Cards / grid — single column */
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Layout */
  .two-col { grid-template-columns: 1fr; }
  .form__two-col { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .nav__logo-text { font-size: 13px; }
}
