/* Customer reviews — Awexa International.
   Matches the existing site tokens (site.css / atelier.css):
   --paper #0b1420, --ink #edf4fa, --muted #afbfce, --line #2b3b4d,
   accent #31c5f4. Stars use a warm gold so the rating reads instantly. */

/* ---- summary + empty state ---- */
.reviews-summary{border:1px solid var(--line);background:#111f30;padding:28px}
.reviews-average{display:flex;flex-wrap:wrap;align-items:baseline;gap:14px;margin-top:0}
.reviews-average-number{font-size:3rem;line-height:1;letter-spacing:-.045em;font-weight:500;color:var(--ink)}
.reviews-average .review-stars{font-size:1.6rem;letter-spacing:.1em}
.reviews-count{color:var(--muted);font-size:14px}
.reviews-empty{border:1px solid var(--line);background:#111f30;padding:36px}
.reviews-empty p{max-width:640px}
.reviews-empty .button{margin-top:22px}

/* ---- review cards (horizontal carousel) ---- */
/* The grid is a horizontal scroll track: cards sit side by side and the
   track moves one card at a time (see assets/review-carousel.js). Native
   touch swipe works; arrows + dots drive it too. Desktop 3 across,
   tablet 2, mobile 1. */
.review-carousel{position:relative}
.review-grid{display:flex;gap:22px;margin-top:30px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:6px}
.review-grid::-webkit-scrollbar{display:none}
.review-grid .reviews-empty{flex:1 1 100%}
.review-card{flex:0 0 calc((100% - 44px)/3);scroll-snap-align:start;border:1px solid var(--line);background:#111f30;padding:28px;display:flex;flex-direction:column;gap:16px;min-width:0}
.review-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.review-stars{color:#e8a838;font-size:1.15rem;letter-spacing:.12em;line-height:1;white-space:nowrap}
.review-product{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);padding:5px 10px}
.review-text p{color:var(--ink);font-size:15px;line-height:1.7;margin-top:0}
.review-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.review-photos img{width:100%;height:110px;object-fit:cover;background:#0b1725}
.review-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;border-top:1px solid var(--line);padding-top:16px;margin-top:auto;font-size:13px}
.review-name{font-weight:700;color:var(--ink)}
.review-company{color:var(--muted)}
.review-country{color:var(--muted)}
.review-verified{font-size:11px;font-weight:700;letter-spacing:.06em;color:#081a25;background:var(--lime);padding:4px 9px;border-radius:20px}
.review-response{border-left:3px solid var(--lime);background:#0b1725;padding:14px 16px}
.review-response p{font-size:13px;margin-top:0;color:var(--muted)}
.review-response strong{color:var(--ink)}

/* ---- carousel controls (hidden until JS finds more cards than fit) ---- */
.carousel-controls{display:none;align-items:center;justify-content:center;gap:18px;margin-top:24px}
.review-carousel.has-carousel .carousel-controls{display:flex}
.carousel-arrow{width:46px;height:46px;flex:0 0 auto;border-radius:50%;border:1px solid var(--line);background:#111f30;color:var(--ink);font-size:1.5rem;line-height:1;cursor:pointer;padding:0 0 2px}
.carousel-arrow:hover,.carousel-arrow:focus-visible{border-color:#31c5f4;color:#31c5f4;outline:none}
.carousel-dots{display:flex;gap:9px;align-items:center}
.carousel-dot{width:10px;height:10px;border-radius:50%;border:0;background:#5b7186;padding:0;cursor:pointer}
.carousel-dot[aria-current="true"]{background:#31c5f4;transform:scale(1.3)}

/* ---- form extras ---- */
.field-note{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px}
.star-field{margin-bottom:24px}
.star-field legend{font-size:16px;font-weight:600;letter-spacing:0;margin-bottom:12px}
.star-selector{display:inline-flex;flex-direction:row-reverse;gap:4px}
.star-selector input{position:absolute;opacity:0;width:1px;height:1px}
.star-selector label{font-size:2rem;line-height:1;color:#5b7186;cursor:pointer;padding:6px 2px;min-width:44px;text-align:center}
.star-selector input:checked ~ label,
.star-selector label:hover,
.star-selector label:hover ~ label{color:#e8a838}
.star-selector input:focus-visible + label{outline:3px solid #74daff;outline-offset:4px}
.form-notice{font-size:14px;background:#19354a;padding:15px;margin-bottom:20px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- responsive ---- */
@media(max-width:1023px){
  .review-card{flex-basis:calc((100% - 22px)/2)}
}
@media(max-width:760px){
  .review-grid{gap:16px}
  .review-card{flex-basis:100%;padding:22px}
  .reviews-summary,.reviews-empty{padding:24px}
  .star-selector label{font-size:2.2rem;min-width:48px}
  .review-photos img{height:90px}
  .carousel-arrow{width:42px;height:42px}
}
@media(max-width:380px){
  .review-photos{grid-template-columns:1fr 1fr}
}

/* The closing CTA is the site's cream band (.closing{background:#eee6db}).
   Its paragraph inherits the light --muted colour, which is unreadable on
   cream. Force the site's own closing text colour here. */
.closing p{color:#151a10}
