/* ==========================================================================
   Familj (Family Protection) Page Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.familj-hero {
  padding-top: 6rem;
}

.familj-hero-content {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.familj-hero-content .subheading {
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   How it works (family-specific)
   -------------------------------------------------------------------------- */

.familj-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.familj-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.familj-step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid #000;
  background: #4b9a42;
  font-family: "Lexend", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 1.5rem;
}

.familj-step h3 {
  font-family: "Lexend", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e1f28;
}

.familj-step p {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Feature cards (inverse section)
   -------------------------------------------------------------------------- */

.familj-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

.familj-feature-card {
  padding: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
}

.familj-feature-card h3 {
  font-family: "Lexend", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.familj-feature-card p {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Quote / Testimonial
   -------------------------------------------------------------------------- */

.familj-quote {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.familj-quote blockquote {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  color: #444;
  margin: 0 0 1rem 0;
}

.familj-quote cite {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.9rem;
  color: #888;
  font-style: normal;
}

/* --------------------------------------------------------------------------
   CTA card
   -------------------------------------------------------------------------- */

.familj-cta-card {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  border: 3px solid #000;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  box-shadow: 4px 4px 0 #000;
}

.familj-cta-card h3 {
  font-family: "Lexend", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1e1f28;
}

.familj-cta-card p {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media screen and (max-width: 991px) {
  .familj-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 767px) {
  .familj-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 24rem;
  }

  .familj-step {
    padding: 1.5rem 1rem;
  }

  .familj-step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .familj-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .familj-cta-card {
    padding: 2rem 1.5rem;
  }
}
