.reviews { padding:38px 0 100px; scroll-margin-top:36px; }
.reviews-heading { text-align:center; margin:0 auto 35px; }
.reviews-heading h2 { margin:0; font-size:clamp(32px,3.8vw,50px); line-height:1.2; font-weight:750; letter-spacing:-.04em; }
.reviews-heading h2 span { display:inline-block; color:#eaff00; font-family:'Orange Marker',Manrope,sans-serif; font-size:1.28em; font-weight:400; letter-spacing:0; margin-left:.08em; transform:rotate(-2deg); }
.reviews-carousel { --slide-width:390px; position:relative; }
.reviews-track { position:relative; display:flex; align-items:stretch; gap:12px; overflow-x:auto; overflow-y:hidden; padding:34px max(0px,calc((100% - var(--slide-width))/2)) 48px; scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-x:contain; cursor:grab; touch-action:pan-x pan-y; -webkit-tap-highlight-color:transparent; }
.reviews-track::-webkit-scrollbar { display:none; }
.reviews-track.is-dragging { cursor:grabbing; scroll-snap-type:none; user-select:none; }
.review-slide { position:relative; flex:0 0 var(--slide-width); min-width:0; scroll-snap-align:center; perspective:1200px; }
.review-slide.is-current { z-index:1; }
.review-slide-surface { height:100%; transform-origin:center 48%; perspective:1100px; }
.review-card { position:relative; isolation:isolate; display:flex; flex-direction:column; height:100%; padding:7px; border-radius:29px; background:#10110ff5; box-shadow:0 20px 48px #0005; transform-origin:center; }
.review-card[data-moving] { will-change:transform; }
.review-card>.author-glare { z-index:3; contain:paint; }
.review-copy { padding:24px 23px 27px; min-height:222px; text-align:left; }
.review-person { margin:0 0 12px; color:#a1a79a; font-size:14px; line-height:1.4; font-weight:550; }
.review-copy h3 { margin:0; color:#f1f0e9; font-size:25px; line-height:1.24; letter-spacing:-.035em; font-weight:720; text-wrap:pretty; }
.review-highlight { color:#eaff00; white-space:nowrap; }
.review-description { margin:14px 0 0; color:#b1b5aa; font-size:16px; font-weight:500; line-height:1.55; text-wrap:pretty; }
.review-shot { position:relative; display:block; width:100%; flex:none; aspect-ratio:1/1.06; border-radius:23px; overflow:hidden; background:#090909; cursor:inherit; isolation:isolate; }
.review-shot img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% var(--review-position,40%); user-select:none; -webkit-user-drag:none; }
.review-shot::after { content:''; position:absolute; inset:65% 0 0; background:linear-gradient(transparent,#000b); pointer-events:none; }
.review-zoom { position:absolute; z-index:1; display:flex; align-items:center; justify-content:center; gap:8px; left:50%; bottom:16px; transform:translateX(-50%); width:max-content; max-width:calc(100% - 24px); padding:10px 15px; background:#171814f2; border-radius:30px; color:#d2d5c8; font-size:12px; font-weight:500; opacity:0; transition:opacity .15s,background .15s; }
.review-slide.is-current .review-zoom,.reviews-carousel:not([data-ready]) .review-zoom { opacity:1; }
.review-slide.is-current .review-shot { cursor:zoom-in; }
.review-zoom svg { width:17px; height:17px; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; }
.review-shot:hover .review-zoom { background:#31372a; color:#f0f5e6; }
.review-shot:focus-visible,.reviews-track:focus-visible,.reviews-navigation button:focus-visible,.review-dialog button:focus-visible { outline:2px solid #eaff00; outline-offset:4px; }
.reviews-track:focus-visible { outline-offset:-2px; border-radius:24px; }
.reviews-navigation { display:flex; justify-content:center; align-items:center; gap:24px; margin-top:0; }
.reviews-navigation[hidden] { display:none; }
.reviews-navigation button { display:grid; place-items:center; width:48px; height:48px; padding:0; border:0; border-radius:50%; background:#191c16; color:#d8dece; cursor:pointer; transition:background .15s,color .15s; }
.reviews-navigation button:hover { color:#eaff00; background:#293021; }
.reviews-navigation button svg { width:22px; height:22px; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.reviews-counter { min-width:54px; margin:0; color:#697060; font-size:14px; font-variant-numeric:tabular-nums; }
.reviews-current { color:#dce2d0; }
.reviews-swipe-hint { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; width:88px; height:62px; color:#b6bca9; font-size:12px; font-weight:500; line-height:1; user-select:none; }
.reviews-swipe-hint svg { display:block; width:88px; height:42px; overflow:visible; }
.reviews-swipe-trail { stroke:#b4c57f; stroke-width:1; stroke-linecap:round; opacity:.25; }
.reviews-swipe-hand { animation:review-swipe 2.8s ease-in-out infinite; transform-origin:48px 30px; }
.reviews-swipe-shadow { fill:#000; opacity:.5; }
.reviews-swipe-paper { fill:#e0dfce; }
.reviews-swipe-accent { fill:#d97750; }
.reviews-swipe-ink { stroke:#242b26; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; }
.reviews-swipe-sketch { stroke:#e0dfce; stroke-width:.8; stroke-linecap:round; opacity:.55; }
.reviews-announcement { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@keyframes review-swipe { 0%,10%,100% { transform:translateX(13px) rotate(5deg); } 45%,60% { transform:translateX(-13px) rotate(-5deg); } }
@media(prefers-reduced-motion:reduce) { .reviews-swipe-hand { animation:none; transform:none; opacity:1; } }

@media (max-width:760px) {
  .reviews { padding:20px 0 70px; }
  .reviews-heading { margin-bottom:15px; }
  .reviews-heading h2 { font-size:31px; }
  .reviews-heading h2 span { display:block; margin:3px 0 0; }
  .reviews-carousel { --slide-width:min(80vw,360px); margin-inline:-19px; }
  .reviews-track { gap:4px; padding-block:24px 38px; }
  .review-card { padding:5px; border-radius:25px; }
  .review-shot { border-radius:21px; }
  .review-copy { padding:21px 19px 24px; min-height:232px; }
  .review-copy h3 { font-size:23px; }
  .review-person { font-size:13px; margin-bottom:11px; }
  .review-description { font-size:15px; margin-top:12px; }
}
@media (prefers-reduced-motion:reduce) {
  .review-zoom { transition:none; }
  .review-card { transform:none !important; }
  .review-card>.author-glare { display:none; }
}
@media (hover:none),(pointer:coarse) {
  .review-card { transform:none !important; }
  .review-card>.author-glare { display:none; }
}
.review-dialog { box-sizing:border-box; width:min(740px,calc(100% - 32px)); max-width:none; height:calc(100dvh - 48px); max-height:100%; margin:auto; padding:0; border:0; border-radius:22px; background:#10110f; color:#eee; overflow:hidden; }
.review-dialog[open] { display:flex; flex-direction:column; }
.review-dialog::backdrop { background:#000d; }
.review-dialog-bar { display:flex; align-items:center; gap:14px; flex:none; padding:12px 16px 12px 24px; }
.review-dialog-bar p { margin:0; flex:1; font-size:14px; line-height:1.4; font-weight:500; }
.review-dialog-close { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:10px; border:0; border-radius:50%; background:#252820; color:#f0f2e9; cursor:pointer; }
.review-dialog-close svg { width:22px; height:22px; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
.review-dialog-content { overflow:auto; overscroll-behavior:contain; min-height:0; background:#000; }
.review-dialog-image { display:block; width:100%; height:auto; }
html:has(.review-dialog[open]) { overflow:hidden; }
@media (max-width:760px) {
  .review-dialog { width:calc(100% - 16px); height:calc(100dvh - 20px); border-radius:16px; }
  .review-dialog-bar { padding:8px 8px 8px 14px; gap:8px; }
  .review-dialog-bar p { font-size:12px; }
}

/* Small payment strip, with no image viewer. Reviews retain their full-size layout. */
.receipts { margin-top:64px; scroll-margin-top:36px; }
.receipts .reviews-heading { margin-bottom:5px; }
.clients .receipts .reviews-heading h2 { margin:0; max-width:none; font-size:26px; line-height:1.2; }
.receipts .reviews-heading h2 span { display:inline-block; margin:0 0 0 .08em; }
.receipts .reviews-carousel { --slide-width:min(240px,38svh); }
.receipts .reviews-track { gap:8px; padding-block:12px 18px; }
.receipts .review-card { height:auto; aspect-ratio:16/9; padding:4px; border-radius:17px; box-shadow:0 8px 24px #0004; }
.receipts .receipt-shot { flex:1; min-height:0; aspect-ratio:auto; border-radius:13px; }
.receipts .review-slide .receipt-shot { cursor:inherit; }
.receipt-preview { display:block; width:100%; height:100%; background:#050605; user-select:none; }
.receipts .receipt-preview { object-fit:contain; object-position:center; }
.receipts .review-shot::after { display:none; }
.receipts .reviews-swipe-hint { flex-direction:row; width:auto; height:28px; gap:8px; font-size:11px; }
.receipts .reviews-swipe-hint svg { width:58px; height:28px; }
.receipts + .client-program { margin-top:64px; }
@media (max-width:760px) {
  .receipts { margin-top:48px; }
  .clients .receipts .reviews-heading h2 { font-size:23px; }
  .receipts .reviews-carousel { --slide-width:min(200px,56vw,38svh); }
  .receipts .review-card { padding:3px; border-radius:15px; }
  .receipts .receipt-shot { border-radius:12px; }
  .receipts + .client-program { margin-top:48px; }
}
