/* Early-tester reviews on the homepage (#trust and the hero line). Miguel approved the
   design and words 2026-11-09; Studio shows no reviews (his call the same day).
   No words live here: every label is in the page, so the language catalogs translate it. */

/* Five gold stars from one mask, so a card carries no repeated SVG. */
.tr-stars{--star:16px;display:inline-block;flex:none;vertical-align:-2px;width:calc(var(--star)*5 + 10px);height:var(--star);background:#F5A524;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0/calc(var(--star) + 2px) var(--star) repeat-x;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0/calc(var(--star) + 2px) var(--star) repeat-x}
.tr-star1{width:calc(var(--star) + 2px)}
@media (forced-colors:active){.tr-stars{background:CanvasText}}
.tr-arrow{display:inline-block}
html[dir="rtl"] .tr-arrow{transform:scaleX(-1)}

/* ── Homepage hero line ── */
/* Plain inline text, so a long translation wraps word by word instead of leaving the dot alone on a line. */
.hero-rating{display:inline-block;max-width:100%;margin:0 0 12px;padding:4px 0;font-size:14px;line-height:1.5;color:var(--ink);text-decoration:none}
.hero-rating>*{margin-inline-end:6px}
.hero-rating>:last-child{margin-inline-end:0}
.hero-rating b{font-weight:700}
.hero-rating .hr-text{color:var(--muted)}
.hero-rating:hover .hr-text,.hero-rating:focus-visible .hr-text{text-decoration:underline}
.hero-rating:focus-visible{outline:3px solid var(--cobalt);outline-offset:3px;border-radius:6px}

/* ── Homepage section ── */
.trust{padding:56px 0 48px;overflow:hidden}
/* Land below the sticky header (two rows on desktop, one on phones). */
#trust,#trust-reviews{scroll-margin-top:132px}
@media(max-width:1200px){#trust,#trust-reviews{scroll-margin-top:72px}}
.trust h2{font-family:Fraunces,Georgia,serif;font-weight:500;font-size:clamp(28px,4vw,40px);line-height:1.15;letter-spacing:-.01em}
.sa{max-width:1040px;margin:26px auto 6px;display:grid;grid-template-columns:1.85fr 1fr 1fr 1fr;background:#fff;border:1px solid var(--hair-soft);border-radius:22px;box-shadow:var(--shadow);overflow:hidden;text-align:start}
.sa-rate{display:flex;align-items:center;gap:18px;padding:26px 28px;background:linear-gradient(135deg,#FFF6E5,#FFFDF8 70%);min-width:0}
.sa-num{font:500 68px/.9 Fraunces,Georgia,serif;letter-spacing:-.03em;color:var(--ink)}
.sa-copy{min-width:0}
.sa-copy .tr-stars{--star:22px;width:calc(var(--star)*5 + 12px);-webkit-mask-size:calc(var(--star) + 3px) var(--star);mask-size:calc(var(--star) + 3px) var(--star);margin-bottom:8px}
.sa-who{margin:0;font:600 15px/1.35 Inter,sans-serif;color:var(--ink)}
/* The disclosure stays readable: full ink colour, 14px, never hidden on phones. */
.sa-sub{margin:2px 0 0;font:500 14px/1.4 Inter,sans-serif;color:#3A3A3A}
.sa-link{display:inline-block;margin-top:6px;padding:4px 0;font-size:14px;color:var(--cobalt);font-weight:600;text-decoration:none}
.sa-link:hover{text-decoration:underline}
.sa-link:focus-visible{outline:3px solid var(--cobalt);outline-offset:2px;border-radius:4px}
.sa-cell{padding:26px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-inline-start:1px solid var(--hair-soft);gap:6px;min-width:0}
.sa-ico{width:30px;height:30px;border-radius:9px;background:var(--tint);color:var(--cobalt);display:grid;place-items:center;margin-bottom:4px}
.sa-ico svg{width:16px;height:16px}
.sa-big{max-width:100%;font:500 40px/1.05 Fraunces,Georgia,serif;letter-spacing:-.02em;color:var(--ink)}
.sa-lab{font:500 14px/1.35 Inter,sans-serif;color:var(--muted)}
.sa-src{font:400 12px/1.3 Inter,sans-serif;color:#6E747C}
@media(max-width:700px){
  .sa{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sa-rate{grid-column:1/-1;padding:22px 20px}
  .sa-num{font-size:56px}
  .sa-cell{border-inline-start:0;border-top:1px solid var(--hair-soft);padding:18px 8px}
  .sa-cell+.sa-cell{border-inline-start:1px solid var(--hair-soft)}
  .sa-big{font-size:28px}
  .sa-lab{font-size:12.5px}
  .sa-ico{display:none}
}
@media(max-width:359px){.sa-rate{gap:12px;padding:20px 16px}.sa-num{font-size:46px}}

/* ── Review cards ── */
.rv-card{position:relative;margin:0;background:#fff;border:1px solid var(--hair-soft);border-radius:var(--r-md,14px);padding:16px 18px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:8px;text-align:start}
.rv-card blockquote{margin:0;font-size:15px;line-height:1.5;color:var(--ink)}
.rv-card .rv-en{font-size:13.5px;color:#4B5563;border-inline-start:2px solid var(--hair);padding-inline-start:10px}
.rv-card figcaption{margin-top:auto;font-size:13px;font-weight:600;color:var(--ink)}
.rv-role{color:var(--muted);font-weight:400}
/* "Translated from English" shows only in other languages. languages.js sets html[lang]. */
.rv-tr{display:none;margin:0;align-items:center;flex-wrap:wrap;gap:2px 8px;font-size:12px;line-height:1.4;color:var(--muted)}
html:not([lang="en"]) .rv-tr{display:flex}
html[lang="en"] .rv-en{display:none!important}
.rv-tr button{min-height:32px;padding:4px 0;border:0;background:none;color:var(--cobalt);font:600 12px Inter,sans-serif;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.rv-tr button:focus-visible{outline:3px solid var(--cobalt);outline-offset:2px;border-radius:4px}

/* Static by default: a wrapped grid. That is what visitors without JavaScript, visitors
   who ask for reduced motion, and "Read all 8 reviews" (#trust-reviews:target) get. */
.rv-marquee{margin:28px 0 8px}
/* Focusable, so a keyboard visit pauses the row the same way hovering does. */
.rv-marquee:focus-visible{outline:3px solid var(--cobalt);outline-offset:-3px;border-radius:6px}
.rv-track{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;max-width:1180px;margin:0 auto;padding:6px 16px 14px;list-style:none}
.rv-track .rv-card{flex:1 1 260px;max-width:360px}
.rv-clone{display:none!important}
@keyframes rv-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes rv-scroll-rtl{from{transform:translateX(0)}to{transform:translateX(50%)}}
/* The moving row. js/trust.js adds .rv-ready after it appends hidden copies of the cards,
   so the row loops without a gap. Each card carries its own end margin (no flex gap) so
   half the track is exactly one set of cards. */
@media (prefers-reduced-motion:no-preference){
  .rv-ready:not(:target){overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
  .rv-ready:not(:target) .rv-track{flex-wrap:nowrap;justify-content:flex-start;gap:0;width:max-content;max-width:none;margin:0;padding:6px 0 14px;animation:rv-scroll 75s linear infinite}
  html[dir="rtl"] .rv-ready:not(:target) .rv-track{animation-name:rv-scroll-rtl}
  .rv-ready:not(:target) .rv-card{flex:0 0 300px;max-width:none;margin-inline-end:16px}
  .rv-ready:not(:target) .rv-clone{display:flex!important}
  .rv-ready:not(:target):hover .rv-track,.rv-ready:not(:target):focus-within .rv-track{animation-play-state:paused}
}
@media(max-width:860px){.rv-ready:not(:target) .rv-card{flex-basis:260px}.trust{padding:40px 0 36px}}
