/* ============================================================
   BONHAM CONSULTING LLC — Inner Pages (reviews, testimonials)
   ============================================================ */

/* ---------- PAGE LAYOUT ---------- */
.page-main {
  min-height: 70vh;
  padding: 3rem 0 5rem;
  background: var(--cream);
}

.page-container {
  max-width: 780px;
}

/* ---------- PAGE HERO (title block) ---------- */
.page-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
}

.page-hero-icon {
  font-size: 2.5rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.page-sub {
  font-size: 1.05rem;
  color: var(--charcoal-soft);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- REVIEW SUBMISSION FORM ---------- */
.review-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ---------- STAR RATING ---------- */
.star-rating {
  display: flex;
  flex-direction: row-reverse; /* CSS trick: reverse order so hover works right-to-left */
  justify-content: flex-end;
  gap: 0.15rem;
  margin-top: 0.35rem;
}

.star-rating input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.star-rating label {
  font-size: 2.5rem;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s ease;
  line-height: 1;
  padding: 0 0.05rem;
}

/* Highlight hovered star and all stars to its right */
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--amber);
}

/* ---------- CHECKBOX ---------- */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 400 !important;
  color: var(--charcoal-mid) !important;
  font-size: 0.92rem;
  line-height: 1.5;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  cursor: pointer;
}

/* ---------- REVIEW NOTES ---------- */
.review-note {
  background: var(--cream-alt);
  border: 1px solid var(--amber-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--charcoal-mid);
  line-height: 1.6;
}

.review-note a {
  color: var(--green);
  font-weight: 700;
}

.review-note a:hover {
  text-decoration: underline;
}

/* ---------- TESTIMONIALS GRID (reused from styles.css) ---------- */
/* .testimonials-grid, .testimonial-card etc. are in styles.css */

/* Ensure the grid shows correctly on this page */
.testimonials-grid {
  margin-bottom: 2rem;
}

/* ---------- EMPTY STATE ---------- */
.no-reviews {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: 3rem;
}

.no-reviews-icon {
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 1rem;
  line-height: 1;
}

.no-reviews-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.no-reviews-text {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  max-width: 440px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

/* ---------- LEAVE A REVIEW CTA ---------- */
.leave-review-cta {
  background: linear-gradient(135deg, var(--amber-dark) 0%, var(--amber) 100%);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 1rem;
}

.leave-review-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .leave-review-inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 2rem;
  }
}

.leave-review-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.leave-review-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
}

.leave-review-cta .btn-primary {
  background: var(--white);
  color: var(--amber-dark);
  border-color: var(--white);
  flex-shrink: 0;
}

.leave-review-cta .btn-primary:hover {
  background: var(--cream-alt);
  border-color: var(--cream-alt);
}
