/* ============================================================
 * Kelid Tehran 70.0.0 — s70-testimonials.css
 * Trust elevation, honest-by-design: no fabricated quotes, names,
 * or ratings — styling only. Enqueued AFTER corp-sections-b.css;
 * matching selectors win ties. Mobile-first, 390px master.
 * Signature motion: quiet card entrance (transform/opacity, <300ms).
 * ============================================================ */

/* ---------- review cards: refined quiet cards ---------- */
.cb2-testimonials .cb2-reviews{max-width:1080px;margin-inline:auto}
.cb2-testimonials .cb2-review{
  position:relative;overflow:hidden;
  border:1px solid var(--cb2-line);border-radius:18px;
  /* 70.0.0 loop7 (minimalist M-TESTI-1): flattened the gradient wash —
     loop-6 canon (elevation = hairline, not shadow/wash). Border + the 2px
     gold inline-start edge carry the card; base flat #1B2033 wins.
     Contrast recomputed 2026-09-30: text #F7F4EC 14.69:1, name #F5D67B
     11.37:1 on #1B2033 (≥4.5:1 PASS). */
  padding:24px 22px 20px;
  border-inline-start:2px solid var(--cb2-gold-line); /* RTL: gold hairline */
}
.cb2-testimonials .cb2-review__text{
  position:relative;z-index:1;overflow-wrap:break-word;
  margin:0 0 14px;font-size:15px;line-height:2.05;color:var(--cb2-ink);
}
.cb2-testimonials .cb2-review__name{
  display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:break-word;
  font-size:13.5px;font-weight:800;line-height:1.9;color:var(--cb2-gold-ink);
}
.cb2-testimonials .cb2-review__name::before{content:"— "}
@keyframes s70-review-in{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}
.cb2-testimonials .cb2-reviews.r-stagger .cb2-review{opacity:0} /* 70.0.0 loop2: scroll-gated entrance */
.cb2-testimonials .cb2-reviews.r-stagger.in .cb2-review{
  opacity:1;animation:s70-review-in 260ms var(--cb2-ease) backwards;
}
.cb2-testimonials .cb2-reviews.r-stagger.in .cb2-review:nth-child(2){animation-delay:70ms}
.cb2-testimonials .cb2-reviews.r-stagger.in .cb2-review:nth-child(3){animation-delay:140ms}
html.no-js .cb2-testimonials .cb2-reviews.r-stagger .cb2-review{opacity:1;animation:none}

/* ---------- google badge: quieter, centered ---------- */
.cb2-testimonials .cb2-google-badge{margin-block-start:24px}
.cb2-testimonials .cb2-google-badge__link{
  min-height:52px;padding:10px 20px;border-radius:999px;
  background:rgba(255,255,255,.035);
  transition:border-color 180ms var(--cb2-ease),background-color 180ms var(--cb2-ease),transform 160ms var(--cb2-ease);
}
.cb2-testimonials .cb2-google-badge__link:active{transform:scale(.97)}

/* ---------- union badge: quieter, centered ---------- */
.cb2-testimonials .cb2-union{margin-block-start:24px}
.cb2-testimonials .cb2-union__link{
  min-height:48px;padding:10px 20px;font-size:13.5px;
  background:rgba(255,255,255,.02);
  transition:border-color 180ms var(--cb2-ease),transform 160ms var(--cb2-ease);
}
.cb2-testimonials .cb2-union__link:active{transform:scale(.97)}

/* ---------- empty invitation: the live state, designed ---------- */
.cb2-testimonials .cb2-empty{
  max-width:760px;margin-inline:auto;margin-block-start:28px;
  border:1.5px dashed var(--cb2-gold-line);border-radius:22px;
  /* 70.0.0 loop6 (dark-mode canon): per-card radial flattened to a quiet
     tint — the dashed gold border already identifies the card. */
  background:rgba(217,169,63,.035);
  padding:30px 24px;gap:16px;
}
.cb2-testimonials .cb2-empty__icon{
  width:60px;height:60px;
  /* 70.0.0 loop6: deleted the .28-alpha gold glow shadow — shadows don't
     read in dark mode; the gold-identified card carries the icon. */
}
.cb2-testimonials .cb2-empty__title{
  font-size:18px;line-height:1.9;text-wrap:balance;
}
.cb2-testimonials .cb2-empty__text{
  font-size:14px;line-height:2.1;max-width:58ch;
}
.cb2-testimonials .cb2-empty__cta{
  min-height:52px;padding-inline:26px;font-size:15px;font-weight:800;
  border-radius:999px;white-space:nowrap;
  max-width:100%;overflow:hidden;text-overflow:ellipsis; /* 70.0.0 loop2: 390px guard */
}
@media(min-width:860px){
  .cb2-testimonials .cb2-empty{padding:32px 30px}
  .cb2-testimonials .cb2-empty__cta{justify-self:end}
}

/* ---------- hover (fine pointers only) ---------- */
@media(hover:hover) and (pointer:fine){
  .cb2-testimonials .cb2-google-badge__link:hover{border-color:var(--cb2-gold-line);background:rgba(217,169,63,.08)}
  .cb2-testimonials .cb2-union__link:hover{border-style:solid;border-color:var(--cb2-gold-line)}
  .cb2-testimonials .cb2-review:hover{border-color:var(--cb2-gold-line)}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  .cb2-testimonials .cb2-reviews.r-stagger .cb2-review,
  .cb2-testimonials .cb2-reviews.r-stagger.in .cb2-review{opacity:1;animation:none}
  .cb2-testimonials .cb2-google-badge__link,
  .cb2-testimonials .cb2-union__link{transition:none}
  .cb2-testimonials .cb2-google-badge__link:active,
  .cb2-testimonials .cb2-union__link:active{transform:none} /* 70.0.0 loop5: press-scale neutralized */
}

/* ---------- 70.0.0 loop5 (a11y): gold focus rings for badge, union and
   empty-state CTA links ---------- */
.cb2-testimonials .cb2-google-badge__link:focus-visible,
.cb2-testimonials .cb2-union__link:focus-visible,
.cb2-testimonials .cb2-empty__cta:focus-visible{
  outline:2px solid var(--cb2-gold);outline-offset:2px;border-radius:8px;
}
