/* "What customers are saying" reviews row. Bone canvas, porcelain cards, violet accent. */
.cst-rev { padding: 72px 0 80px; background: #F8F5F0; color: #11121B; }
.cst-rev__wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.cst-rev__head { text-align: center; margin-bottom: 28px; }
.cst-rev__eyebrow { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border: 1px solid #EAE5DD; border-radius: 999px; background: #FFFFFF; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: #792BEE; }
html body .cst-rev__title { margin: 0; font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; text-transform: none; color: #11121B; -webkit-text-fill-color: #11121B; background: none; }

.cst-rev__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 34px; }
html body .cst-rev__tab { min-height: 44px; padding: 10px 22px; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #11121B; background: #FFFFFF; border: 1.5px solid #11121B; border-radius: 999px; cursor: pointer; box-shadow: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
  html body .cst-rev__tab:hover { transform: translateY(-1px); background: #F3F0EA;
  }
}
html body .cst-rev__tab.is-active { color: #FFFFFF; background: #11121B; }
.cst-rev__tab:focus-visible { outline: 2px solid #8B5CF6; outline-offset: 3px; }

.cst-rev__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .cst-rev__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cst-rev__grid { grid-template-columns: repeat(3, 1fr); } }
.cst-rev__card[hidden] { display: none; }
.cst-rev__card { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0; padding: 30px 26px 26px; background: #FFFFFF; border: 1px solid #EAE5DD; border-radius: 24px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .cst-rev__card:hover { transform: translateY(-4px); border-color: rgba(121, 43, 238, 0.4); box-shadow: 0 14px 36px rgba(121, 43, 238, 0.14);
  }
}
.cst-rev__stars { display: flex; gap: 4px; margin-bottom: 14px; }
.cst-rev__stars svg { fill: #D9D3C8; }
.cst-rev__stars svg.is-on { fill: #792BEE; }
html body .cst-rev__card-title { margin: 0 0 10px; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: #11121B; }
.cst-rev__quote { margin: 0 0 18px; padding: 0; border: 0; font-size: 0.975rem; line-height: 1.6; color: #4A4741; font-style: normal; }
.cst-rev__name { margin: auto 0 8px; font-size: 1rem; font-weight: 700; color: #11121B; }
.cst-rev__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(121, 43, 238, 0.08); color: #6B21D6; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }

/* Mobile: swipeable row */
@media (max-width: 699px) {
	.cst-rev { padding: 52px 0 60px; }
	.cst-rev__grid { display: flex; overflow-x: auto; gap: 14px; padding: 4px 20px 16px; margin: 0 -20px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.cst-rev__grid::-webkit-scrollbar { display: none; }
	.cst-rev__card { flex: 0 0 84%; scroll-snap-align: center; }
	.cst-rev__tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 2px 4px 8px; scrollbar-width: none; }
	.cst-rev__tabs::-webkit-scrollbar { display: none; }
	html body .cst-rev__tab { flex: 0 0 auto; white-space: nowrap; }
}

/* Scroll-reveal (only when JS + motion allowed) */
.cst-rev--anim [data-rev-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.cst-rev--anim .cst-rev__card[data-rev-reveal] { transition-delay: calc(var(--rev-i, 0) * 90ms); }
.cst-rev--anim [data-rev-reveal].is-in { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .cst-rev--anim .cst-rev__card.is-in:hover { transform: translateY(-4px); transition-delay: 0s;
  }
}
@media (prefers-reduced-motion: reduce) {
	.cst-rev--anim [data-rev-reveal] { opacity: 1; transform: none; transition: none; }
	.cst-rev__card { transition: none; transform: none; }
	@media (hover: hover) and (pointer: fine) {
	  .cst-rev__card:hover { transition: none; transform: none;
	  }
	}
}
