/* Customer Reviews — premium, self-contained page styles */
.reviews-page {
  --reviews-ink: #14233b;
  --reviews-muted: #64748b;
  --reviews-line: #e5eaf1;
  --reviews-brand: #173d70;
  --reviews-accent: #d8ad62;
  color: var(--reviews-ink);
}
.reviews-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(216,173,98,.20), transparent 28%),
              linear-gradient(125deg, #0e203b 0%, #173d70 58%, #22558a 100%);
}
.reviews-hero:after {
  content: "";
  position: absolute;
  width: 310px; height: 310px;
  right: -95px; bottom: -205px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255,255,255,.035), 0 0 0 70px rgba(255,255,255,.025);
}
.reviews-hero .container { position: relative; z-index: 1; }
.reviews-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px; color: #f2d7a5; font-size: 12px;
  font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}
.reviews-hero h1 {
  margin: 0 auto 16px; color: #fff; font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12; font-weight: 800; letter-spacing: -1.2px;
}
.reviews-hero p {
  max-width: 700px; margin: 0 auto; color: rgba(255,255,255,.82);
  font-size: 17px; line-height: 1.85;
}
.reviews-breadcrumb { margin-top: 24px; color: rgba(255,255,255,.72); font-size: 13px; }
.reviews-breadcrumb a { color: #fff; text-decoration: none; }
.reviews-breadcrumb a:hover { text-decoration: underline; }
.reviews-main { padding: 62px 0 72px; background: #f6f8fb; }
.reviews-section-heading { margin-bottom: 28px; }
.reviews-section-heading .kicker {
  color: #a77932; font-size: 11px; letter-spacing: 1.8px;
  font-weight: 800; text-transform: uppercase;
}
.reviews-section-heading h2 {
  margin: 8px 0 10px; color: var(--reviews-ink);
  font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -.6px;
}
.reviews-section-heading p { margin: 0; color: var(--reviews-muted); line-height: 1.75; }
.review-card {
  height: 100%;     margin-bottom: 0px;
    padding: 26px 26px 12px 26px;
  background: #fff; border-top: 3px solid #182156;
  border-radius: 16px; box-shadow: 0 8px 28px rgba(19,39,69,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.review-card:hover {
  transform: translateY(-3px); border-color: #d2dce9;
  box-shadow: 0 16px 35px rgba(19,39,69,.09);
}
.review-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.review-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px;
  color: #173d70; background: #eaf1fa; font-size: 18px; font-weight: 800;
}
.review-author { display: flex; align-items: center; gap: 12px; min-width: 0; }
.review-author-name { margin: 0 0 4px; color: var(--reviews-ink); font-weight: 800; font-size: 15px; overflow-wrap: anywhere; }
.review-meta { color: var(--reviews-muted); font-size: 12px; line-height: 1.6; }
.review-verified {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 5px; padding: 4px 8px; border-radius: 999px;
  color: #176747; background: #eaf7f0; border: 1px solid #ccebd9;
  font-size: 10px; line-height: 1.2; font-weight: 800; white-space: nowrap;
}
.review-verified svg { width: 12px; height: 12px; }
.review-stars { display:inline-flex; align-items:center; gap:2px; color:#d49a2e; letter-spacing:0; font-size:18px; white-space:nowrap; }
.review-stars .star-empty { color:#d6dde7; }
.review-rating-label { margin-left:7px; color:#64748b; font-size:12px; letter-spacing:0; font-weight:700; }
.reviews-countline { margin:0 0 20px; color:#64748b; font-size:13px; }
.reviews-pagination { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:7px; margin:28px 0 12px; }
.reviews-pagination a, .reviews-pagination span { display:inline-flex; align-items:center; justify-content:center; min-width:40px; min-height:40px; padding:0 13px; border:1px solid #dfe6ef; border-radius:9px; background:#fff; color:#173d70; font-size:13px; font-weight:800; text-decoration:none; }
.reviews-pagination .current { color:#fff; background:#173d70; border-color:#173d70; }
.review-rating-field { margin:0px 0px 0px; padding: 0px 17px 16px 17px; border:1px solid #dce4ee; border-radius:10px; background:#fbfcfe; }
.review-rating-field legend { float:none; width:auto; margin:0px 0px 9px; color:#263750; font-size:12px; font-weight:800; }
.star-rating-input { display:inline-flex; flex-direction:row; direction:rtl; justify-content:flex-end; gap:4px; }
.star-rating-input input { position:absolute; opacity:0; width:1px; height:1px; }
.star-rating-input label { margin:0; padding:2px; color:#cbd5e1; font-size:32px; line-height:1; cursor:pointer; transition:color .15s ease; }
.star-rating-input label:hover, .star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color:#d49a2e; }
.star-rating-input input:focus-visible + label { outline:2px solid #173d70; outline-offset:3px; border-radius:4px; }
.rating-help { margin:8px 0 0; color:#64748b; font-size:12px; }
.review-text {
  margin: 12px 0 0; color: #46566d; font-size: 15px;
  line-height: 1.85; overflow-wrap: anywhere; white-space: normal;
}
.review-country {
    display: inline-block;
    margin-top: 8px;
    padding-top: 13px;
    border-top: 1px solid #edf1f6;
    width: 100%;
    color: #e61010;
    font-size: 14px;
    font-weight: 600;
}
.reviews-sidebar-card {
  padding: 25px; margin-bottom: 20px; background: #fff;
  border: 1px solid var(--reviews-line); border-radius: 16px;
  box-shadow: 0 8px 28px rgba(19,39,69,.045);
}
.reviews-sidebar-card h3 { margin: 0 0 8px; color: var(--reviews-ink); font-size: 19px; font-weight: 800; }
.reviews-sidebar-card p { color: var(--reviews-muted); font-size: 13px; line-height: 1.75; }
.reviews-write-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 16px; border-radius: 10px;
  background: var(--reviews-brand); color: #fff !important; font-weight: 800;
  text-decoration: none !important; transition: background .2s ease;
}
.reviews-write-btn:hover { background: #102d54; }
.reviews-external-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 13px 14px; border: 1px solid var(--reviews-line);
  border-radius: 10px; color: var(--reviews-ink) !important;
  background: #fff; text-decoration: none !important; font-size: 13px; font-weight: 700;
}
.reviews-external-link:hover { border-color: #b7c9df; background: #f8fbff; }
.reviews-external-link span { color: var(--reviews-muted); font-size: 11px; font-weight: 500; }
.reviews-note { margin-top: 14px; font-size: 11px !important; }
.reviews-empty {
  padding: 42px 24px; background: #fff; border: 1px dashed #cbd5e1;
  border-radius: 16px; text-align: center; color: var(--reviews-muted);
}
.reviews-empty h3 { margin-bottom: 8px; color: var(--reviews-ink); font-size: 20px; }
.reviews-form-section {
  padding: 72px 0; background: #fff;
}
.reviews-form-panel {
  overflow: hidden; border-radius: 20px;
  border: 1px solid #e3e9f1; box-shadow: 0 18px 55px rgba(19,39,69,.08);
}
.reviews-form-intro {
  height: 100%; padding: 42px;
  background: linear-gradient(145deg, #10233f, #1b4778); color: #fff;
}
.reviews-form-intro .kicker { color: #f2d7a5; font-size: 11px; letter-spacing: 1.8px; font-weight: 800; text-transform: uppercase; }
.reviews-form-intro h2 { margin: 12px 0; color: #fff; font-size: 30px; font-weight: 800; line-height: 1.2; }
.reviews-form-intro p { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.9; }
.reviews-form-content { padding: 38px; }
.reviews-form-content label { margin-top: 7px; color: #263750; font-size: 12px; font-weight: 800; }
.reviews-form-content .form-control {
  min-height: 48px; border: 1px solid #dce4ee; border-radius: 9px;
  box-shadow: none; color: #24354c; background: #fbfcfe;
}
.reviews-form-content .form-control:focus { border-color: #7d9fc8; background: #fff; box-shadow: 0 0 0 3px rgba(45,100,160,.10); }
.reviews-form-content textarea.form-control { min-height: 145px; resize: vertical; }
.reviews-submit {
  border: 0; border-radius: 9px; padding: 13px 22px;
  background: #173d70; color: #fff; font-weight: 800;
}
.reviews-submit:hover { background: #102d54; color: #fff; }
.reviews-privacy { margin: 12px 0 0; color: #7b8798; font-size: 11px; line-height: 1.7; }
@media (max-width: 767px) {
  .reviews-hero { padding: 60px 0 54px; }
  .reviews-main, .reviews-form-section { padding: 46px 0; }
  .review-card { padding: 21px; }
  .reviews-form-intro, .reviews-form-content { padding: 26px; }
  .review-card-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .review-card, .reviews-write-btn { transition: none; }
  .review-card:hover { transform: none; }
  .reviews-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0 15px;
}
}
.reviews-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0 15px;
}

.reviews-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    border: 1px solid #172b49;
    border-radius: 8px;
    background: #172b49;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.reviews-load-more:hover {
    background: #243e63;
    color: #ffffff;
    transform: translateY(-2px);
}

.reviews-load-more:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.reviews-load-more:focus-visible {
    outline: 3px solid #c5a15d;
    outline-offset: 4px;
}

.reviews-load-more-error {
    margin-top: 12px;
    color: #a12626;
    text-align: center;
    font-size: 14px;
}
.star-rating-input label {
    font-size: 38px;
    line-height: 1.2;
    cursor: pointer;
}

/* Right-side published tag and rating */
.review-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .review-card-top {
        gap: 12px;
    }

    .review-card-right {
        align-items: flex-end;
    }

    .review-verified {
        font-size: 11px;
    }

    .review-stars {
        white-space: nowrap;
    }
}
.reviews-sticky {
    position: sticky;
    top: 100px;
    z-index: 10;
}

/* Review Form Success / Error Messages */
.review-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    margin: 0 0 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    position: relative;
    animation: reviewAlertIn 0.3s ease;
}

.review-alert-success {
    color: #17643a;
    background: #f0faf4;
    border-color: #b9e6ca;
}

.review-alert-error {
    color: #9f2929;
    background: #fff4f3;
    border-color: #f2c4c0;
}

.review-alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
}

.review-alert-success .review-alert-icon {
    color: #fff;
    background: #21864b;
}

.review-alert-error .review-alert-icon {
    color: #fff;
    background: #c53b35;
}

.review-alert-close {
    margin-left: auto;
    padding: 0 0 0 8px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
}

.review-alert-close:hover {
    opacity: 1;
}

@keyframes reviewAlertIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
