/* ============================================================
   Conversion pieces shared by the home, quote and pricing pages:
   quote-page intro, "how it works" steps, typical-price table,
   mobile review collapse. Loaded after style.v6.css. Change the
   ?v= on the <link> whenever this file changes (cached a year).
============================================================ */

/* ── Quote page intro ── */
.qp-intro {
  background-color: var(--navy-mid);
  padding: calc(var(--nav-height) + 2.25rem) 1.5rem 2.25rem;
  text-align: center;
}
.qp-intro-inner { max-width: 720px; margin: 0 auto; }
.qp-intro h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 0.9rem;
}
.qp-intro p { font-size: 1.02rem; color: var(--text-muted); margin: 0 auto; max-width: 600px; }
.qp-intro p + p { margin-top: 0.6rem; }
.qp-intro a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.qp-intro .qp-links { font-size: 0.92rem; }

/* ── "How it works" steps ── */
.how-steps-section { background-color: var(--navy); padding: 3.5rem 0; }
.how-steps-section--tight { padding: 2.5rem 0 0.5rem; background-color: var(--navy-mid); }
.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  counter-reset: how;
}
.how-steps--three { grid-template-columns: repeat(3, 1fr); max-width: 980px; }
.how-step {
  position: relative;
  background-color: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.25rem 1.3rem;
  counter-increment: how;
}
.how-steps-section--tight .how-step { background-color: var(--navy); }
.how-step::before {
  content: counter(how);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.how-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin: 0 0 0.35rem;
}
.how-step p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.how-note {
  max-width: 820px;
  margin: 1.6rem auto 0;
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.how-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.how-note strong { color: var(--white); }
.how-cta { text-align: center; margin-top: 1.4rem; }
@media (max-width: 900px) {
  .how-steps, .how-steps--three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .how-steps, .how-steps--three { grid-template-columns: 1fr; gap: 0.7rem; }
  .how-steps-section { padding: 2.5rem 0; }
  /* compact rows on phones: number on the left, text beside it */
  .how-step { padding: 0.85rem 1rem 0.85rem 3.6rem; }
  .how-step::before { position: absolute; left: 0.9rem; top: 0.95rem; margin: 0; }
  .how-step-title { font-size: 1.15rem; margin-bottom: 0.15rem; }
  .how-step p { font-size: 0.9rem; line-height: 1.5; }
  .how-note { margin-top: 1.2rem; font-size: 0.93rem; }
}

/* ── Typical-price table (pricing page) ── */
.price-table-wrap { max-width: 760px; margin: 1.25rem auto 0; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.price-table caption { text-align: left; color: var(--text-muted); font-size: 0.88rem; padding-bottom: 0.6rem; }
.price-table th, .price-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border); }
.price-table th { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table td:last-child { color: var(--white); font-weight: 600; }
.price-table-note { max-width: 760px; margin: 0.9rem auto 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Home: collapse the long review list on phones ── */
.reviews-more { display: none; text-align: center; margin: 1.25rem 0 0; }
@media (max-width: 640px) {
  .testimonials.reviews-collapsed .testimonials-grid--five > .testimonial-card:nth-child(n+3) { display: none; }
  .testimonials.reviews-collapsed .reviews-more { display: block; }
}
