:root {
  --navy: #10284b;
  --blue: #1768d4;
  --blue-dark: #0e4fa8;
  --sky: #eaf3ff;
  --ink: #17253d;
  --muted: #66758d;
  --line: #e1e8f1;
  --surface: #ffffff;
  --canvas: #f7f9fc;
  --green: #16834a;
  --amber: #a9630a;
  --red: #b42335;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(25, 52, 91, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.page-shell { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.brand-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e7edf5; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark, .mini-brand { display: grid; place-items: center; background: linear-gradient(145deg, #0e3c78, #2786f5); color: #fff; font-weight: 900; font-style: italic; border-radius: 12px 4px 12px 4px; }
.brand-mark { width: 44px; height: 44px; font-size: 25px; box-shadow: 0 5px 14px #1768d426; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 17px; letter-spacing: -.4px; }
.brand-copy em { color: var(--blue); font-style: normal; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.header-note, .admin-chip { display: inline-flex; align-items: center; gap: 9px; color: #52627a; font-size: 12px; font-weight: 650; background: #fff; border: 1px solid var(--line); padding: 9px 12px; border-radius: 999px; }
.status-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: #1aab68; box-shadow: 0 0 0 4px #1aab6818; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: center; padding: 62px 0 48px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.hero-copy h1, .reviews-hero h1, .admin-welcome h1 { margin: 0; color: var(--navy); font-size: clamp(35px, 5vw, 56px); letter-spacing: -.055em; line-height: 1.08; }
.hero-copy h1 span, .reviews-hero h1 span { color: var(--blue); }
.hero-description { max-width: 610px; margin: 22px 0 26px; color: #586982; font-size: 15px; line-height: 1.8; }
.trust-points { display: grid; gap: 17px; }
.trust-points > div { display: flex; align-items: center; gap: 12px; }
.trust-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 10px; color: var(--blue); background: var(--sky); font-weight: 900; }
.trust-points strong, .trust-points small { display: block; }
.trust-points strong { font-size: 13px; }
.trust-points small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.quote-card { min-height: 310px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 34px; border-radius: 22px; color: white; background: linear-gradient(145deg, #0d2e5c, #1768d4); box-shadow: 0 20px 42px #174b8c25; }
.quote-mark { height: 52px; color: #85bcff; font-family: Georgia, serif; font-size: 76px; line-height: 1; }
.quote-card > p { position: relative; z-index: 1; max-width: 300px; margin: 8px 0 28px; font-size: 23px; font-weight: 720; line-height: 1.35; letter-spacing: -.025em; }
.quote-footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.mini-brand { width: 34px; height: 34px; background: #fff; color: var(--blue); font-size: 19px; }
.quote-footer strong, .quote-footer small { display: block; }
.quote-footer strong { font-size: 12px; }
.quote-footer small { margin-top: 2px; color: #c5dcfa; font-size: 11px; }
.decor { position: absolute; border: 1px solid #ffffff24; border-radius: 50%; }
.decor-one { width: 240px; height: 240px; right: -85px; top: -70px; }
.decor-two { width: 180px; height: 180px; right: -45px; top: -35px; }
.form-card, .admin-panel, .reviews-section { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 24px; letter-spacing: -.035em; }
.section-heading .eyebrow { margin-bottom: 5px; }
.required-note { color: var(--muted); font-size: 11px; }
.required-note span, .field b, .consent-row b, legend b { color: #d3394b; }
.prototype-alert { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 24px; padding: 12px 14px; border: 1px solid #cfe2ff; border-radius: 10px; background: #f2f7ff; color: #526987; font-size: 12px; }
.prototype-alert strong { flex: 0 0 auto; color: #1558a8; }
.prototype-alert.warning { border-color: #f2d5a1; background: #fff9ed; }
.prototype-alert.warning strong { color: #8d5a09; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; color: #253751; font-size: 12px; font-weight: 750; }
.field > span small { color: #8a96a9; font-weight: 500; }
.field input, .field select, .field textarea, .filter-row input, .filter-row select { width: 100%; min-width: 0; border: 1px solid #dbe3ee; border-radius: 9px; outline: none; background: #fff; color: var(--ink); padding: 12px 13px; font-size: 13px; font-weight: 450; transition: border .15s, box-shadow .15s; }
.field input, .field select { height: 46px; }
.field textarea { min-height: 90px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus, .filter-row input:focus, .filter-row select:focus { border-color: #75aef6; box-shadow: 0 0 0 3px #1768d414; }
.field input::placeholder, .field textarea::placeholder, .filter-row input::placeholder { color: #9aa6b7; }
.field-hint { color: #8490a3; font-size: 11px; font-weight: 450; }
.rating-field { min-width: 0; margin: 0 0 23px; padding: 0; border: 0; }
.rating-field legend { margin-bottom: 12px; color: #253751; font-size: 12px; font-weight: 750; }
.rating-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.rating-options label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 13px 6px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: .15s; }
.rating-options input { position: absolute; opacity: 0; }
.rating-options label span { color: #f0a21a; font-size: 15px; letter-spacing: -2px; white-space: nowrap; }
.rating-options label small { color: #78869a; font-size: 10px; }
.rating-options label:has(input:checked) { border-color: #4b91ed; background: #f0f6ff; box-shadow: 0 0 0 2px #1768d410; }
.rating-options label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 10px; background: #f7f9fc; color: #66758b; font-size: 11px; line-height: 1.7; }
.consent-row input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; accent-color: var(--blue); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.form-footer p { margin: 0; color: #78869a; font-size: 11px; }
.lock-icon { margin-right: 5px; color: var(--blue); }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 12px 18px; border: 0; border-radius: 9px; font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.primary-button { color: #fff; background: var(--blue); box-shadow: 0 7px 15px #1768d426; }
.primary-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.secondary-button { border: 1px solid #d9e4f2; background: #fff; color: var(--blue); }
.form-message { margin-top: 14px; font-size: 12px; }
.form-message:empty { display: none; }
.form-message.error { color: var(--red); }
.form-message.success { padding: 12px 14px; border: 1px solid #bfe8d0; border-radius: 9px; background: #effbf4; color: #176b3d; }
.page-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0 30px; color: #8b97a8; font-size: 10px; }
.reviews-hero { padding: 66px 0 36px; text-align: center; }
.reviews-hero h1 { font-size: clamp(38px, 5vw, 58px); }
.reviews-hero > p:not(.eyebrow) { max-width: 620px; margin: 20px auto 28px; color: #64748b; font-size: 14px; }
.review-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; max-width: 760px; margin: 0 auto; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-stats > div { min-width: 190px; padding: 5px 24px; border-right: 1px solid var(--line); }
.review-stats > div:last-child { border-right: 0; }
.review-stats strong, .review-stats small { display: block; }
.review-stats strong { color: var(--navy); font-size: 12px; }
.review-stats small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.reviews-section { margin-bottom: 26px; }
.verified-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #cdebd9; border-radius: 999px; background: #f0fbf4; color: #167744; font-size: 10px; font-weight: 750; white-space: nowrap; }
.empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; padding: 42px 20px; border: 1px dashed #cfd9e7; border-radius: 14px; background: #fbfdff; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--sky); color: var(--blue); font-size: 25px; }
.empty-state h3 { margin: 16px 0 6px; color: var(--navy); font-size: 18px; }
.empty-state p { max-width: 480px; margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; padding: 26px 30px; border-radius: 16px; background: #edf4ff; }
.bottom-cta h2 { margin: 0; color: var(--navy); font-size: 21px; letter-spacing: -.03em; }
.bottom-cta p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.link-button { flex: 0 0 auto; }
.admin-page { background: #f5f7fb; }
.admin-shell { width: min(1240px, calc(100% - 44px)); }
.admin-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 38px 0 24px; }
.admin-welcome h1 { font-size: 34px; letter-spacing: -.04em; }
.admin-welcome p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.preview-badge { padding: 7px 10px; border: 1px solid #f3d39b; border-radius: 7px; background: #fff7e8; color: #9b620a; font-size: 9px; font-weight: 850; letter-spacing: .08em; white-space: nowrap; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.stat-card { position: relative; overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.stat-label { display: block; color: #68778c; font-size: 11px; font-weight: 650; }
.stat-card > strong { display: block; margin: 9px 0 4px; color: var(--navy); font-size: 29px; letter-spacing: -.04em; }
.stat-muted { color: #98a2b1; font-size: 10px; }
.stat-symbol { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-weight: 900; }
.stat-symbol.amber { background: #fff3dd; color: #a9630a; }.stat-symbol.green { background: #e8f8ef; color: #16834a; }.stat-symbol.red { background: #fff0f0; color: #b42335; }.stat-symbol.blue { background: #eaf3ff; color: #1768d4; }
.stars { color: #f0a21a; font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
.stat-card .stars { display: block; margin-top: 2px; font-size: 10px; }
.admin-panel { padding: 24px; }
.filter-row { display: flex; gap: 8px; }
.filter-row select { width: 140px; padding: 9px; font-size: 11px; }
.filter-row input { width: 190px; padding: 9px; font-size: 11px; }
.table-wrap { overflow-x: auto; }
.review-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
.review-table th { padding: 13px 12px; border-bottom: 1px solid var(--line); background: #f8fafd; color: #748198; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.review-table td { padding: 14px 12px; border-bottom: 1px solid #edf1f6; color: #506078; white-space: nowrap; }
.review-table tbody tr:last-child td { border-bottom: 0; }
.person-cell { display: flex; align-items: center; gap: 9px; }
.person-cell strong, .person-cell small { display: block; }
.person-cell strong { color: var(--ink); font-size: 11px; }
.person-cell small { margin-top: 3px; color: #96a0af; font-size: 9px; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #e8f6ef; color: #18824b; font-size: 10px; font-weight: 850; }
.avatar.violet { background: #f1eaff; color: #7752bb; }.avatar.blue { background: #e6f1ff; color: #1c68c7; }.avatar.rose { background: #ffedf0; color: #c3435a; }
.status-badge { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 800; }
.status-badge.pending { background: #fff5e4; color: #9d650c; }.status-badge.published { background: #e8f8ef; color: #16834a; }.status-badge.rejected { background: #ffeded; color: #b42335; }
.table-action { margin-right: 5px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #52627a; font-size: 9px; font-weight: 750; cursor: pointer; }
.table-action.approve { border-color: #bde7cd; color: #16834a; }.table-action.reject { border-color: #f3c6cc; color: #b42335; }.table-action.unpublish { border-color: #d6e2f3; color: #285b99; }
.admin-message { margin: 14px 0 0; color: #8a96a8; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 42px; }
  .quote-card { min-height: 250px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .section-heading { align-items: flex-start; }
  .admin-panel .section-heading { flex-direction: column; }
  .filter-row { width: 100%; }
  .filter-row select, .filter-row input { flex: 1; width: 50%; }
}
@media (max-width: 560px) {
  .page-shell, .admin-shell { width: min(100% - 28px, 1160px); }
  .brand-header { min-height: 78px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 9px; }
  .header-note, .admin-chip { padding: 7px 9px; font-size: 9px; }
  .hero-grid { gap: 24px; padding: 38px 0 30px; }
  .hero-copy h1 { font-size: 39px; }
  .form-card, .reviews-section { padding: 19px 15px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .rating-options { gap: 5px; }
  .rating-options label { padding: 10px 2px; }
  .rating-options label span { font-size: 12px; letter-spacing: -2px; }
  .rating-options label small { font-size: 9px; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .primary-button { width: 100%; }
  .page-footer { flex-direction: column; gap: 5px; }
  .reviews-hero { padding: 45px 0 28px; }
  .reviews-hero h1 { font-size: 41px; }
  .review-stats { align-items: stretch; flex-direction: column; }
  .review-stats > div { padding: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .review-stats > div:last-child { border-bottom: 0; }
  .bottom-cta { align-items: stretch; flex-direction: column; padding: 22px 18px; }
  .bottom-cta .primary-button { width: 100%; }
  .admin-welcome { align-items: flex-start; flex-direction: column; padding-top: 30px; }
  .admin-welcome h1 { font-size: 30px; }
  .admin-stats { gap: 8px; }
  .stat-card { padding: 14px; }
  .stat-card > strong { font-size: 25px; }
  .stat-symbol { top: 12px; right: 12px; width: 26px; height: 26px; }
  .admin-panel { padding: 15px 10px; }
  .filter-row { flex-direction: column; }
  .filter-row select, .filter-row input { width: 100%; }
}

/* Review form layout fix */
#reviewForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  align-items: start;
}

#reviewForm > .form-grid,
#reviewForm > .rating-field,
#reviewForm > .form-footer,
#reviewForm > .form-message {
  grid-column: 1 / -1;
  min-width: 0;
}

#reviewForm > .field {
  min-width: 0;
}

#reviewForm > .consent-row {
  min-width: 0;
  align-self: start;
  overflow-wrap: anywhere;
}

#reviewForm .consent-row label {
  min-width: 0;
}

#reviewForm .form-footer {
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  #reviewForm {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  #reviewForm > .form-grid,
  #reviewForm > .rating-field,
  #reviewForm > .form-footer,
  #reviewForm > .form-message {
    grid-column: 1;
  }

  #reviewForm > .field {
    grid-column: 1;
  }

  #reviewForm .rating-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #reviewForm .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  #reviewForm .primary-button {
    width: 100%;
  }
}

/* Final review form alignment */
#reviewForm.review-form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

#reviewForm.review-form-layout > .form-grid,
#reviewForm.review-form-layout > .rating-field,
#reviewForm.review-form-layout > .form-footer,
#reviewForm.review-form-layout > .form-message {
  grid-column: 1 / -1;
}

#reviewForm.review-form-layout > .field {
  min-width: 0;
  margin-bottom: 20px;
}

#reviewForm.review-form-layout > .field > span {
  display: block;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#reviewForm.review-form-layout > .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

#reviewForm.review-form-layout > .consent-row {
  grid-column: 1;
  align-self: start;
  min-width: 0;
}

#reviewForm.review-form-layout > .form-footer {
  grid-column: 2;
  margin-top: 0;
  align-self: start;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

#reviewForm.review-form-layout > .form-footer .primary-button {
  align-self: flex-start;
}

@media (max-width: 700px) {
  #reviewForm.review-form-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #reviewForm.review-form-layout > .form-grid,
  #reviewForm.review-form-layout > .rating-field,
  #reviewForm.review-form-layout > .field,
  #reviewForm.review-form-layout > .consent-row,
  #reviewForm.review-form-layout > .form-footer,
  #reviewForm.review-form-layout > .form-message {
    grid-column: 1;
  }

  #reviewForm.review-form-layout > .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #reviewForm.review-form-layout > .form-footer .primary-button {
    width: 100%;
  }
}

/* ===== PUBLIC REVIEWS PAGE: ALIGNMENT & CARD FIX ===== */

/* Reduce excess top spacing */
.reviews-hero {
  padding-top: 28px;
  padding-bottom: 24px;
}

.reviews-section {
  margin-top: 0;
  margin-bottom: 24px;
}

/* Separate each review into its own card */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.reviews-grid > article:not(.empty-state) {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 24px;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  overflow-wrap: anywhere;
}

.reviews-grid > article:not(.empty-state) + article {
  margin-top: 0;
}

.reviews-grid > article:not(.empty-state) p {
  line-height: 1.75;
}

.reviews-grid > article:not(.empty-state) h3 {
  line-height: 1.5;
}

/* Keep the bottom section clearly separated */
.bottom-cta {
  margin-top: 28px;
}

@media (max-width: 560px) {
  .reviews-hero {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .reviews-grid {
    gap: 14px;
  }

  .reviews-grid > article:not(.empty-state) {
    padding: 18px;
  }
}

/* ===== END PUBLIC REVIEWS PAGE FIX ===== */


/* ===== FINAL REVIEW CARD DESIGN ===== */

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.reviews-grid > article:not(.empty-state) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.045);
  text-align: left;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reviews-grid > article:not(.empty-state):hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.reviews-grid > article:not(.empty-state) h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.reviews-grid > article:not(.empty-state) p {
  margin: 12px 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}

.reviews-grid > article:not(.empty-state) p:last-child {
  margin-bottom: 0;
}

/* Star rating */
.reviews-grid > article:not(.empty-state) .stars,
.reviews-grid > article:not(.empty-state) .rating {
  color: #d99a00;
  letter-spacing: 2px;
}

/* Bottom call-to-action spacing */
.bottom-cta {
  margin-top: 28px;
}

/* Mobile layout */
@media (max-width: 560px) {
  .reviews-hero {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .reviews-grid {
    gap: 14px;
  }

  .reviews-grid > article:not(.empty-state) {
    padding: 20px 18px;
    border-radius: 13px;
  }

  .reviews-grid > article:not(.empty-state) h3 {
    font-size: 17px;
  }

  .reviews-grid > article:not(.empty-state) p {
    font-size: 14px;
    line-height: 1.75;
  }
}

/* ===== END FINAL REVIEW CARD DESIGN ===== */

/* ===== PREMIUM REVIEW ENHANCEMENTS ===== */

/* Main review container */
.reviews-section {
  padding-top: 36px;
  padding-bottom: 44px;
}

.reviews-section .section-heading {
  margin-bottom: 24px;
}

.reviews-section .section-heading h2 {
  color: #0f172a;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

/* Review cards */
.reviews-grid > article:not(.empty-state) {
  position: relative;
  padding: 26px 30px;
  border-color: #e5eaf2;
  border-radius: 16px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.035);
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease;
}

.reviews-grid > article:not(.empty-state):hover {
  transform: translateY(-2px);
  border-color: #c7d7fe;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

/* Review title */
.reviews-grid > article:not(.empty-state) h3 {
  color: #111827;
  letter-spacing: -0.2px;
}

/* Review body */
.reviews-grid > article:not(.empty-state) p {
  max-width: 100%;
  color: #475569;
  overflow-wrap: break-word;
}

/* Rating stars — supports common rating class names */
.reviews-grid .stars,
.reviews-grid .rating,
.reviews-grid .review-rating {
  color: #d99a00;
  font-size: 16px;
  letter-spacing: 2px;
}

/* Empty state */
.reviews-grid > .empty-state {
  padding: 36px 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}

/* Mobile adjustments */
@media (max-width: 560px) {
  .reviews-section {
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .reviews-section .section-heading {
    margin-bottom: 18px;
  }

  .reviews-grid > article:not(.empty-state) {
    padding: 21px 18px;
  }

  .reviews-grid > article:not(.empty-state):hover {
    transform: none;
  }
}

/* ===== END PREMIUM REVIEW ENHANCEMENTS ===== */



/* Fix only the Community Feedback heading */
.reviews-section .section-heading {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
}

.reviews-section .section-heading > div {
  width: 100%;
  text-align: left;
}

.reviews-section .section-heading .eyebrow {
  margin: 0 0 8px;
  text-align: left;
}

.reviews-section .section-heading h2 {
  margin: 0;
  text-align: left;
}
/* End heading alignment fix */
