/* ==========================================================================
   SerpClix /reviews/ — member review wall, page-specific styles
   Layers on top of vnext/seo/css/seo_landing.css (Inter + Outfit).
   All rw- prefixed to avoid collisions.
   ========================================================================== */

/* ===== HERO ===== */
.rw-hero { background: linear-gradient(170deg, #e8f5f0 0%, #f0faf6 40%, #fef9ed 100%); padding: 52px 0 56px; border-bottom: 1px solid #eaeff4; }
.rw-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.rw-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #228176; background: #edf8f7; border: 1px solid #d4efec; padding: 6px 14px; border-radius: 100px; margin-bottom: 18px; }
.rw-eyebrow svg { width: 13px; height: 13px; }
.rw-h1 { font-family: 'Outfit', sans-serif; font-size: 42px; line-height: 1.12; letter-spacing: -1.2px; font-weight: 700; color: #1a2b3c; text-align: left; margin-bottom: 16px; }
.rw-hl { color: #2a9d8f; }
.rw-lede { font-size: 16.5px; line-height: 1.7; color: #4a5d72; max-width: 540px; margin-bottom: 26px; text-align: left; }
.rw-lede strong { color: #1a2b3c; font-weight: 600; }
.rw-hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* stars */
.rw-stars { display: inline-flex; gap: 2px; }
.rw-stars svg { width: 16px; height: 16px; fill: #f5a623; }
.rw-stars svg.rw-empty { fill: #dde4eb; }
.rw-stars.rw-lg svg { width: 26px; height: 26px; }

/* aggregate card */
.rw-agg { background: #fff; border: 1px solid #dde4eb; border-radius: 16px; box-shadow: 0 12px 40px rgba(26,43,60,0.12); padding: 32px; }
.rw-agg-top { display: flex; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #eaeff4; margin-bottom: 20px; }
.rw-agg-score { font-family: 'Outfit', sans-serif; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -2px; color: #1a2b3c; }
.rw-agg-meta .rw-stars { margin-bottom: 6px; }
.rw-agg-meta p { font-size: 13.5px; color: #4a5d72; margin: 0; }
.rw-agg-meta p strong { color: #1a2b3c; }
.rw-dist-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rw-dist-label { font-size: 12.5px; font-weight: 600; color: #4a5d72; width: 44px; flex-shrink: 0; }
.rw-dist-track { flex: 1; height: 8px; border: 0; border-radius: 100px; overflow: hidden; appearance: none; background: #f7f9fb; }
.rw-dist-track::-webkit-progress-bar { background: #f7f9fb; border-radius: 100px; }
.rw-dist-track::-webkit-progress-value { background: #f5a623; border-radius: 100px; }
.rw-dist-track::-moz-progress-bar { background: #f5a623; border-radius: 100px; }
.rw-dist-pct { font-size: 12px; color: #7b8e9e; width: 34px; text-align: right; flex-shrink: 0; }
.rw-agg-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid #eaeff4; font-size: 12.5px; color: #7b8e9e; line-height: 1.55; }
.rw-agg-note a { color: #228176; font-weight: 600; text-decoration: none; }

/* ===== REVIEW GRID ===== */
.rw-reviews { padding: 56px 0 48px; background: #f7f9fb; }
.rw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rw-card { background: #fff; border: 1px solid #dde4eb; border-radius: 12px; box-shadow: 0 1px 3px rgba(26,43,60,0.05); padding: 26px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.rw-card:hover { box-shadow: 0 4px 16px rgba(26,43,60,0.08); transform: translateY(-2px); }
.rw-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rw-date { font-size: 12.5px; color: #7b8e9e; }
.rw-body { font-size: 14.5px; line-height: 1.65; color: #4a5d72; flex: 1; margin-bottom: 18px; }
.rw-rating-only { color: #7b8e9e; font-style: italic; }
.rw-card-footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #eaeff4; }
.rw-avatar { width: 38px; height: 38px; border-radius: 50%; background: #edf8f7; color: #228176; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rw-avatar.rw-avatar-buyer { background: #1a2b3c; color: #fff; }
.rw-who { min-width: 0; }
.rw-name { font-family: 'Outfit', sans-serif; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: #1a2b3c; }
.rw-loc { font-size: 12px; color: #7b8e9e; }
.rw-badge { display: inline-flex; align-items: center; gap: 5px; font-family: 'Outfit', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; border-radius: 100px; padding: 4px 10px; margin-left: auto; flex-shrink: 0; }
.rw-badges { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.rw-badges .rw-badge { margin-left: 0; }
.rw-badge svg { width: 10px; height: 10px; }
.rw-badge-clicker { background: #edf8f7; color: #228176; }
.rw-badge-buyer { background: #eef3fa; color: #3a5f8f; }
.rw-badge-google { background: #f7f9fb; color: #4a5d72; border: 1px solid #eaeff4; }
.rw-pager { text-align: center; margin-top: 36px; }
.rw-pager-note { font-size: 12.5px; color: #7b8e9e; margin-top: 12px; }
.rw-pager .rw-btn-outline { margin: 0 6px; }

/* buttons (match seo landing buttons) */
.rw-btn-yellow { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #1a2b3c; background: #ffd600; padding: 14px 30px; border: none; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; text-decoration: none; }
.rw-btn-yellow:hover, .rw-btn-yellow:focus, .rw-btn-yellow:active { color: #1a2b3c; text-decoration: none; }
.rw-btn-yellow:hover { background: #ffe033; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,214,0,.35); }
.rw-btn-yellow[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.rw-btn-outline { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #228176; background: #fff; padding: 13px 28px; border: 2px solid #d4efec; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; text-decoration: none; }
.rw-btn-outline:hover, .rw-btn-outline:focus, .rw-btn-outline:active { color: #228176; text-decoration: none; }
.rw-btn-outline:hover { border-color: #2a9d8f; transform: translateY(-1px); }

/* ===== WRITE A REVIEW ===== */
.rw-write { padding: 80px 0; background: #fff; }
.rw-write-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.rw-kicker { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #2a9d8f; margin-bottom: 12px; }
.rw-h2 { font-family: 'Outfit', sans-serif; font-size: 31px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.18; color: #1a2b3c; margin-bottom: 14px; text-align: left; }
.rw-sub { font-size: 16px; line-height: 1.7; color: #4a5d72; max-width: 520px; text-align: left; }

.rw-form { background: #fff; border: 1px solid #dde4eb; border-radius: 16px; box-shadow: 0 8px 32px rgba(26,43,60,0.1); padding: 32px; }
.rw-identity { display: flex; align-items: center; gap: 12px; background: #edf8f7; border: 1px solid #d4efec; border-radius: 12px; padding: 12px 16px; margin-bottom: 22px; }
.rw-identity svg { width: 18px; height: 18px; color: #228176; flex-shrink: 0; }
.rw-identity p { font-size: 13px; line-height: 1.5; color: #4a5d72; margin: 0; }
.rw-identity p strong { color: #228176; font-weight: 700; }
.rw-identity a { color: #228176; font-weight: 600; }
.rw-label { display: block; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: #1a2b3c; margin-bottom: 8px; }
.rw-label span { font-weight: 400; color: #7b8e9e; font-size: 12px; }
.rw-group { margin-bottom: 20px; }
.rw-star-input { display: flex; gap: 6px; }
.rw-star-input button { background: none; border: none; cursor: pointer; padding: 2px; }
.rw-star-input svg { width: 32px; height: 32px; fill: #dde4eb; transition: fill .15s, transform .15s; }
.rw-star-input button:hover svg { transform: scale(1.12); }
.rw-star-input button.rw-on svg, .rw-star-input button.rw-hover svg { fill: #f5a623; }
.rw-input, .rw-textarea { width: 100%; font-family: 'Inter', sans-serif; font-size: 14.5px; color: #1a2b3c; border: 2px solid #dde4eb; border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; background: #fff; box-sizing: border-box; }
.rw-input:focus, .rw-textarea:focus { border-color: #2a9d8f; box-shadow: 0 0 0 3px rgba(42,157,143,.12); }
.rw-textarea { min-height: 120px; resize: vertical; }
.rw-hint { font-size: 12px; color: #7b8e9e; margin-top: 6px; }
.rw-error { font-size: 12.5px; color: #c0392b; margin-top: 6px; }
.rw-consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 22px; }
.rw-consent input { margin-top: 4px; accent-color: #2a9d8f; width: 15px; height: 15px; flex-shrink: 0; }
.rw-consent label { font-size: 13px; line-height: 1.55; color: #4a5d72; }
.rw-submit { width: 100%; justify-content: center; }
.rw-thanks { text-align: center; padding: 40px 20px; }
.rw-thanks svg { width: 48px; height: 48px; color: #2a9d8f; margin: 0 auto 16px; display: block; }
.rw-thanks h3 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; color: #1a2b3c; margin-bottom: 10px; }
.rw-thanks p { font-size: 14.5px; color: #4a5d72; max-width: 380px; margin: 0 auto; }
.rw-signin { text-align: center; padding: 32px 20px; }
.rw-signin p { font-size: 14.5px; color: #4a5d72; margin-bottom: 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .rw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .rw-hero-grid, .rw-write-grid { grid-template-columns: 1fr; gap: 36px; }
  .rw-h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .rw-grid { grid-template-columns: 1fr; }
  .rw-hero { padding: 40px 0 44px; }
  .rw-h1 { font-size: 27px; }
  .rw-h2 { font-size: 24px; }
}
