/* ═══════════════════════════════════════
   FamilyForge — Hearth & Home palette
   ═══════════════════════════════════════ */

:root {
  --primary: #C8553D;
  --primary-dark: #A8412C;
  --primary-light: #FBEEEA;
  --secondary: #2D5F5D;
  --secondary-dark: #1A3B3A;
  --accent: #E2A53D;
  --surface: #FAF3E7;
  --surface-raised: #FFFFFF;
  --ink: #2A2522;
  --ink-soft: #5C544F;
  --ink-faint: #8C8580;
  --success: #3F7A4E;
  --radius: 12px;
  --radius-lg: 20px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 243, 231, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.25rem; color: var(--secondary);
}
.nav__logo-img { height: 36px; width: auto; border-radius: 8px; }
.nav__links { display: flex; gap: 32px; }
.nav__link {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.2s;
}
.nav__link:hover { color: var(--primary); }

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  font-weight: 600; font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid var(--primary);
  transition: all 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.btn--lg { padding: 16px 40px; font-size: 1.1rem; }
.btn--outline { background: transparent; color: var(--primary); }
.btn--outline:hover { background: var(--primary-light); }
.btn--white { background: #fff; color: var(--secondary); border-color: #fff; }
.btn--white:hover { background: var(--surface); border-color: var(--surface); }

/* ─── Sections ─── */
.section__inner { max-width: 1200px; margin: 0 auto; padding: 100px 24px; }
.section__title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700;
  text-align: center; margin-bottom: 16px;
}
.section__subtitle {
  text-align: center; color: var(--ink-soft);
  font-size: 1.15rem; max-width: 600px; margin: 0 auto 60px;
}

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding-top: 72px;
}
.hero__inner {
  max-width: 800px; margin: 0 auto;
  padding: 120px 24px 100px;
  text-align: center;
}
.hero__headline {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 700;
  color: #fff; line-height: 1.1; margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.25rem; color: rgba(255,255,255,0.8);
  line-height: 1.7; margin-bottom: 40px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero__cta { margin-bottom: 0; }
.hero__note { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 16px; }

/* ─── Features ─── */
.features { background: var(--surface-raised); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border-top: 4px solid var(--primary);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.feature-card__icon { font-size: 2.5rem; display: block; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* ─── How It Works ─── */
.how-it-works { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.step { text-align: center; }
.step__number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ─── Pricing ─── */
.pricing { background: var(--surface-raised); }
.pricing__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; align-items: start;
}
.pricing__single {
  display: flex; justify-content: center;
}
.pricing-card--centered {
  max-width: 420px; width: 100%;
}
.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  border: 2px solid transparent;
}
.pricing-card--featured {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: scale(1.05);
}
.pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.pricing-card__price { font-size: 3rem; font-weight: 800; color: var(--primary); }
.pricing-card__period { color: var(--ink-faint); margin-bottom: 24px; }
.pricing-card ul { margin-bottom: 32px; }
.pricing-card li {
  padding: 8px 0; color: var(--ink-soft); font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.pricing-card__note {
  margin-top: 16px; font-size: 0.85rem; color: var(--ink-faint);
}

/* ─── FAQ ─── */
.faq { background: var(--surface); }
.faq__list { max-width: 700px; margin: 0 auto; }
.faq__item {
  background: var(--surface-raised);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item summary {
  padding: 20px 24px;
  font-weight: 600; font-size: 1rem;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); }
.faq__item[open] summary::after { content: '−'; }
.faq__item p {
  padding: 0 24px 20px;
  color: var(--ink-soft); font-size: 0.95rem; line-height: 1.7;
}

/* ─── Bottom CTA ─── */
.cta-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}
.cta-section .section__inner { text-align: center; padding: 80px 24px; }
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  color: #fff; font-size: 2.5rem; margin-bottom: 16px;
}
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.15rem; margin-bottom: 32px; }

/* ─── Footer ─── */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); }
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 24px 30px;
}
.footer__brand { margin-bottom: 40px; }
.footer__logo { font-size: 1.25rem; font-weight: 800; color: #fff; }
.footer__tagline { margin-top: 8px; font-size: 0.9rem; }
.footer__links { display: flex; gap: 80px; margin-bottom: 40px; }
.footer__col h4 { color: #fff; font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer__col a { display: block; font-size: 0.9rem; padding: 4px 0; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 0.8rem; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .hero__headline { font-size: 2.5rem; }
  .hero__inner { padding: 80px 24px 60px; }
  .section__title { font-size: 1.8rem; }
  .pricing-card--featured { transform: scale(1); }
  .footer__links { flex-direction: column; gap: 32px; }
  .cta-section h2 { font-size: 1.8rem; }
}
