/* ==========================================
   ULTRAKIT TESTIMONIAL SLIDER — 7 skins
   ========================================== */
.ultrakit-tsl { --a: #6c5ce7; --b: #00cec9; --star: #f5a623; --card: #fff; --gap: 24px; --r: 24px; --qs: 17px; --per: 3; --pv: var(--per); --msp: 50s; --dur: 6s; position: relative; width: 100%; box-sizing: border-box; font-family: inherit; outline: none; }
.ultrakit-tsl *, .ultrakit-tsl *::before, .ultrakit-tsl *::after { box-sizing: border-box; }
.tsl-item { position: relative; margin: 0; }
.tsl-quote { margin: 0; font-size: var(--qs); line-height: 1.72; font-weight: 500; color: var(--ink, var(--skin-ink, #2d2d48)); }
.tsl-stars, .uk-stars { display: inline-flex; gap: 2px; color: var(--star); }
.tsl-qi { display: inline-flex; color: var(--a); opacity: .9; margin-bottom: 14px; }
.tsl-qi .uk-quote { color: var(--a); }
.tsl-who { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.tsl-av { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 3px var(--card), 0 8px 20px -6px rgba(20,20,43,.35); }
.tsl-id { display: flex; flex-direction: column; min-width: 0; }
.tsl-id b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--ink, var(--skin-ink, #14142b)); }
.tsl-id em { font-style: normal; font-size: 13.5px; color: var(--skin-mut, #7a7a95); }
.tsl-plat { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 20px; background: color-mix(in srgb, var(--pc) 12%, transparent); color: var(--pc); font-size: 12px; font-weight: 800; white-space: nowrap; }
.tsl-plat i { width: 8px; height: 8px; border-radius: 50%; background: var(--pc); }
.tsl-metric { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.tsl-metric b { font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1; background: linear-gradient(120deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tsl-metric span { font-size: 13px; font-weight: 700; color: var(--skin-mut, #7a7a95); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- single-slide engine ---------- */
.tsl-m-single .tsl-slides { display: grid; }
.tsl-m-single .tsl-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(26px); transition: opacity .7s ease, transform .85s cubic-bezier(.22,.9,.3,1), visibility 0s linear .85s; }
.tsl-m-single .tsl-item.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; z-index: 2; }
.tsl-t-slide.tsl-m-single .tsl-item { transform: translateX(70px); }
.tsl-t-slide.tsl-m-single .tsl-item.is-prev { transform: translateX(-70px); }
.tsl-t-slide.tsl-m-single .tsl-item.is-active { transform: none; }

/* ---------- nav ---------- */
.tsl-nav { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 38px; }
.tsl-arrow { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; padding: 0 !important; border: 0; border-radius: 50%; background: var(--card); color: #14142b !important; cursor: pointer; box-shadow: 0 10px 26px -10px rgba(20,20,43,.35), inset 0 0 0 1px rgba(20,20,43,.06); transition: transform .3s, background .3s, color .3s; }
.tsl-arrow:hover { background: linear-gradient(135deg, var(--a), var(--b)); color: #fff !important; transform: scale(1.08); }
.tsl-dots { display: flex; align-items: center; gap: 8px; }
.tsl-dot { position: relative; width: 10px; height: 10px; padding: 0 !important; border: 0; border-radius: 10px; background: rgba(20,20,43,.18) !important; cursor: pointer; overflow: hidden; transition: width .4s cubic-bezier(.22,.9,.3,1); }
.tsl-dot i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--a), var(--b)); transform: scaleX(0); transform-origin: left; }
.tsl-dot.is-active { width: 44px; }
.tsl-dot.is-active i { transform: scaleX(1); }
.ultrakit-tsl.is-playing .tsl-dot.is-active i { animation: tslProg var(--dur) linear forwards; }
.ultrakit-tsl.is-paused .tsl-dot.is-active i { animation-play-state: paused; }
@keyframes tslProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 1 · centered ---------- */
.tsl-s-centered .tsl-slides { max-width: 880px; margin: 0 auto; text-align: center; }
.tsl-s-centered .tsl-quote { font-size: calc(var(--qs) * 1.7); line-height: 1.55; font-weight: 600; letter-spacing: -.015em; }
.tsl-s-centered .tsl-qi { margin-bottom: 20px; }
.tsl-s-centered .tsl-stars { margin-bottom: 18px; }
.tsl-s-centered .tsl-who { justify-content: center; margin-top: 32px; flex-wrap: wrap; text-align: left; }
.tsl-s-centered .tsl-av { width: 62px; height: 62px; }

/* ---------- 2 · split ---------- */
.tsl-s-split .tsl-item { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 64px; align-items: center; }
.tsl-s-split .tsl-media { position: relative; aspect-ratio: 1; border-radius: calc(var(--r) + 10px); overflow: hidden; box-shadow: 0 40px 70px -30px color-mix(in srgb, var(--a) 60%, rgba(20,20,43,.5)); }
.tsl-s-split .tsl-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsl-s-split .tsl-badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #14142b; box-shadow: 0 12px 26px -10px rgba(0,0,0,.4); }
.tsl-s-split .tsl-badge b { font-size: 16px; font-weight: 900; }
.tsl-s-split .tsl-badge svg { color: var(--star); }
.tsl-s-split .tsl-quote { font-size: calc(var(--qs) * 1.5); line-height: 1.6; font-weight: 600; letter-spacing: -.01em; }
.tsl-s-split .tsl-plat { position: absolute; right: 18px; top: 18px; z-index: 3; background: rgba(255,255,255,.92); }
.tsl-thumbs { display: flex; justify-content: center; gap: 14px; margin-top: 46px; }
.tsl-thumb { width: 62px; height: 62px; padding: 0 !important; border: 0; border-radius: 50%; overflow: hidden; background: #e9e9f3 !important; cursor: pointer; opacity: .55; filter: grayscale(.6); transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s, filter .3s, box-shadow .3s; }
.tsl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsl-thumb:hover { opacity: 1; filter: none; }
.tsl-thumb.is-active { opacity: 1; filter: none; transform: scale(1.18); box-shadow: 0 0 0 3px var(--card), 0 0 0 6px var(--a); }
.tsl-s-split .tsl-nav { margin-top: 26px; }

/* ---------- 3 · spotlight ---------- */
.tsl-s-spotlight { --skin-ink: #fff; --skin-mut: #b4b4d0; background: #0e0e26; border-radius: calc(var(--r) + 12px); padding: 76px 64px 56px; overflow: hidden; isolation: isolate; }
.tsl-s-spotlight::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a) 60%, transparent), transparent 68%); animation: tslFloat 12s ease-in-out infinite; }
.tsl-s-spotlight::after { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -120px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--b) 50%, transparent), transparent 68%); animation: tslFloat 14s ease-in-out infinite reverse; }
@keyframes tslFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
.tsl-s-spotlight .tsl-slides { max-width: 900px; margin: 0 auto; text-align: center; }
.tsl-s-spotlight .tsl-quote { font-size: calc(var(--qs) * 1.75); line-height: 1.5; font-weight: 600; letter-spacing: -.02em; }
.tsl-s-spotlight .tsl-qi { color: var(--b); }
.tsl-s-spotlight .tsl-stars { display: flex; justify-content: center; margin-bottom: 18px; }
.tsl-s-spotlight .tsl-metric { justify-content: center; margin-top: 30px; padding: 16px 28px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: inline-flex; }
.tsl-s-spotlight .tsl-metric b { font-size: 38px; }
.tsl-s-spotlight .tsl-who { justify-content: center; }
.tsl-s-spotlight .tsl-id b { color: #fff; }
.tsl-s-spotlight .tsl-arrow { background: rgba(255,255,255,.1); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.tsl-s-spotlight .tsl-dot { background: rgba(255,255,255,.2) !important; }
.tsl-s-spotlight .tsl-av { box-shadow: 0 0 0 3px #0e0e26, 0 0 0 5px color-mix(in srgb, var(--b) 70%, transparent); }

/* ---------- track (cards / bubble) ---------- */
.tsl-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px 6px 46px; margin: -16px -6px -46px; -webkit-overflow-scrolling: touch; }
.tsl-track::-webkit-scrollbar { display: none; }
.tsl-m-track .tsl-item { flex: 0 0 calc((100% - var(--gap) * (var(--pv) - 1)) / var(--pv)); scroll-snap-align: start; }
.tsl-m-track .tsl-nav { margin-top: 62px; }

/* ---------- 4 · cards ---------- */
.tsl-s-cards .tsl-item { display: flex; flex-direction: column; padding: 34px; border-radius: var(--r); background: var(--card); box-shadow: 0 1px 2px rgba(20,20,43,.04), 0 20px 44px -20px rgba(20,20,43,.2); border: 1px solid rgba(20,20,43,.05); transition: transform .5s cubic-bezier(.22,.9,.3,1), box-shadow .5s; }
.tsl-s-cards .tsl-item:hover { transform: translateY(-8px); box-shadow: 0 2px 4px rgba(20,20,43,.05), 0 36px 60px -24px color-mix(in srgb, var(--a) 42%, rgba(20,20,43,.3)); }
.tsl-s-cards .tsl-main { display: flex; flex-direction: column; flex: 1; }
.tsl-s-cards .tsl-qi { position: absolute; right: 26px; top: 22px; margin: 0; opacity: .16; }
.tsl-s-cards .tsl-qi svg { width: 56px; height: 56px; }
.tsl-s-cards .tsl-stars { margin-bottom: 14px; }
.tsl-s-cards .tsl-plat { position: absolute; left: 34px; top: 30px; display: none; }
.tsl-s-cards .tsl-who { margin-top: auto; padding-top: 24px; border-top: 1px dashed rgba(20,20,43,.12); }
.tsl-s-cards .tsl-metric { margin: 18px 0 0; }
.tsl-s-cards .tsl-quote { margin-bottom: 6px; }

/* ---------- 5 · chat bubbles ---------- */
.tsl-s-bubble .tsl-item { display: flex; flex-direction: column; }
.tsl-s-bubble .tsl-main { position: relative; padding: 30px; border-radius: var(--r); background: var(--card); box-shadow: 0 20px 44px -22px rgba(20,20,43,.28); border: 1px solid rgba(20,20,43,.05); }
.tsl-s-bubble .tsl-main::after { content: ""; position: absolute; left: 44px; bottom: -13px; width: 26px; height: 26px; background: var(--card); transform: rotate(45deg); border-right: 1px solid rgba(20,20,43,.05); border-bottom: 1px solid rgba(20,20,43,.05); }
.tsl-s-bubble .tsl-stars { margin-bottom: 12px; }
.tsl-s-bubble .tsl-plat { position: absolute; right: 18px; top: 18px; }
.tsl-s-bubble .tsl-who { margin: 30px 0 0 18px; }
.tsl-s-bubble .tsl-av { width: 58px; height: 58px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px color-mix(in srgb, var(--a) 50%, transparent); }
.tsl-s-bubble .tsl-item:nth-child(even) .tsl-main { background: linear-gradient(140deg, var(--a), var(--b)); color: #fff; --ink: #fff; }
.tsl-s-bubble .tsl-item:nth-child(even) .tsl-main::after { background: var(--b); border-color: transparent; }
.tsl-s-bubble .tsl-item:nth-child(even) .tsl-stars { --star: #ffe27a; }
.tsl-s-bubble .tsl-item:nth-child(even) .tsl-plat { background: rgba(255,255,255,.2); color: #fff; }
.tsl-s-bubble .tsl-item:nth-child(even) .tsl-plat i { background: #fff; }

/* ---------- 6 · marquee ---------- */
.tsl-s-marquee { display: flex; flex-direction: column; gap: var(--gap); }
.tsl-mrow { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); padding: 14px 0; margin: -14px 0; }
.tsl-mtrack { display: flex; width: max-content; animation: tslMarq var(--msp) linear infinite; }
.tsl-mrow.is-rev .tsl-mtrack { animation-direction: reverse; }
.tsl-mrow:hover .tsl-mtrack { animation-play-state: paused; }
.tsl-mset { display: flex; gap: var(--gap); padding-right: var(--gap); }
@keyframes tslMarq { to { transform: translateX(-50%); } }
.tsl-s-marquee .tsl-item { width: 380px; flex: 0 0 auto; padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: 0 1px 2px rgba(20,20,43,.04), 0 16px 36px -18px rgba(20,20,43,.2); border: 1px solid rgba(20,20,43,.05); display: flex; flex-direction: column; }
.tsl-s-marquee .tsl-main { display: flex; flex-direction: column; flex: 1; }
.tsl-s-marquee .tsl-stars { margin-bottom: 10px; }
.tsl-s-marquee .tsl-quote { font-size: calc(var(--qs) - 1px); line-height: 1.65; }
.tsl-s-marquee .tsl-who { margin-top: auto; padding-top: 18px; }
.tsl-s-marquee .tsl-av { width: 46px; height: 46px; }
.tsl-s-marquee .tsl-plat { position: absolute; right: 18px; top: 18px; }

/* ---------- 7 · 3D stack ---------- */
.tsl-s-stack .tsl-slides { max-width: 760px; margin: 0 auto; padding-bottom: 64px; }
.tsl-s-stack .tsl-item { padding: 44px; border-radius: calc(var(--r) + 6px); background: var(--card); box-shadow: 0 30px 60px -30px rgba(20,20,43,.4), 0 0 0 1px rgba(20,20,43,.05); transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.22,.9,.3,1), opacity .6s ease, visibility 0s; }
.tsl-s-stack .tsl-item[data-pos="0"] { opacity: 1; visibility: visible; transform: none; z-index: 5; }
.tsl-s-stack .tsl-item[data-pos="1"] { opacity: 1; visibility: visible; transform: translateY(26px) scale(.955); z-index: 4; filter: brightness(.97); }
.tsl-s-stack .tsl-item[data-pos="2"] { opacity: 1; visibility: visible; transform: translateY(52px) scale(.91); z-index: 3; filter: brightness(.94); }
.tsl-s-stack .tsl-item[data-pos="3"], .tsl-s-stack .tsl-item[data-pos="4"], .tsl-s-stack .tsl-item[data-pos="5"], .tsl-s-stack .tsl-item[data-pos="6"], .tsl-s-stack .tsl-item[data-pos="7"], .tsl-s-stack .tsl-item[data-pos="8"] { opacity: 0; visibility: hidden; transform: translateY(70px) scale(.88); z-index: 1; }
.tsl-s-stack .tsl-item[data-pos="1"] .tsl-main, .tsl-s-stack .tsl-item[data-pos="2"] .tsl-main { opacity: 0; }
.tsl-s-stack .tsl-quote { font-size: calc(var(--qs) * 1.3); line-height: 1.65; font-weight: 600; }
.tsl-s-stack .tsl-stars { margin-bottom: 14px; }
.tsl-s-stack .tsl-qi { position: absolute; right: 36px; top: 30px; margin: 0; opacity: .14; }
.tsl-s-stack .tsl-qi svg { width: 68px; height: 68px; }
.tsl-s-stack .tsl-metric { margin-top: 20px; }
.tsl-s-stack .tsl-plat { position: absolute; left: 44px; top: 44px; display: none; }
.tsl-s-stack .tsl-nav { margin-top: 30px; }

@media (max-width: 1024px) { .ultrakit-tsl { --pv: min(var(--per), 2); } .tsl-s-split .tsl-item { gap: 36px; } .tsl-s-spotlight { padding: 56px 36px 44px; } }
@media (max-width: 767px) {
	.ultrakit-tsl { --pv: 1; }
	.tsl-s-split .tsl-item { grid-template-columns: 1fr; gap: 26px; }
	.tsl-s-split .tsl-media { max-width: 300px; margin: 0 auto; }
	.tsl-s-spotlight { padding: 44px 22px 34px; } .tsl-s-spotlight .tsl-quote { font-size: calc(var(--qs) * 1.3); }
	.tsl-s-centered .tsl-quote { font-size: calc(var(--qs) * 1.25); }
	.tsl-s-stack .tsl-item { padding: 28px; } .tsl-s-stack .tsl-quote { font-size: var(--qs); }
	.tsl-s-marquee .tsl-item { width: 300px; }
	.tsl-thumb { width: 50px; height: 50px; }
	.tsl-arrow { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .tsl-mtrack, .tsl-s-spotlight::before, .tsl-s-spotlight::after { animation: none !important; } .tsl-m-single .tsl-item { transition-duration: .2s !important; } .ultrakit-tsl.is-playing .tsl-dot.is-active i { animation: none; transform: scaleX(1); } }
