/* ==========================================================================
   Home: "Years of Experienced Team" + Client Testimonials
   ========================================================================== */

/* ------------------------------------------------------------ team */
.team-sec { background: #fff; overflow: hidden; }
.team-sec::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--grad-soft); filter: blur(60px); left: -200px; top: 12%; pointer-events: none; }
.team-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }

.team-visual { width: 100%; max-width: 470px; margin: 0 auto; }
.yrs { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.yr { position: absolute; border-radius: 50%; }
.yr.r1 { inset: 0; border: 1.5px dashed rgba(91, 80, 245, .32); animation: yrSpin 70s linear infinite; }
.yr.r2 { inset: 11%; border: 1.5px solid rgba(91, 80, 245, .14); }
.yr.r3 { inset: 21%; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; opacity: .55; animation: yrSpin 46s linear infinite reverse; }
.yr.r1::after, .yr.r3::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); top: 12%; left: 12%; box-shadow: 0 0 0 6px rgba(240, 116, 91, .18); }
.yr.r3::after { width: 11px; height: 11px; background: var(--brand); top: auto; left: auto; right: 10%; bottom: 14%; box-shadow: 0 0 0 5px rgba(91, 80, 245, .16); }
.yrs-core { position: relative; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 30px 60px -20px rgba(91, 80, 245, .6), inset 0 0 0 8px rgba(255, 255, 255, .12); }
.yrs-core strong { font-family: var(--font-h); font-size: clamp(4.2rem, 9vw, 6.6rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.yrs-core b { font-family: var(--font-h); font-size: 1.05rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; margin: 6px 0 2px .32em; }
.yrs-core small { font-size: .78rem; opacity: .85; letter-spacing: .04em; }
.yr-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-family: var(--font-h); font-weight: 700; font-size: .9rem; color: var(--ink); animation: yrFloat 6s ease-in-out infinite; }
.yr-chip .ic { width: 20px; height: 20px; color: var(--brand); }
.yr-chip.c1 { top: 7%; left: 6%; }
.yr-chip.c2 { top: 17%; right: -2%; animation-delay: -1.5s; } .yr-chip.c2 .ic { color: var(--coral); }
.yr-chip.c3 { bottom: 15%; left: -3%; animation-delay: -3s; } .yr-chip.c3 .ic { color: var(--coral); }
.yr-chip.c4 { bottom: 5%; right: 8%; animation-delay: -4.5s; }
@keyframes yrSpin { to { transform: rotate(360deg); } }
@keyframes yrFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.team-copy h2 { margin-bottom: 16px; }
.team-copy h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.team-lead { font-size: 1.08rem; color: var(--text); max-width: 56ch; margin-bottom: 28px; }
.team-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-cards li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.team-cards li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(91, 80, 245, .35); }
.team-cards li:hover .ico-badge { background: var(--grad); color: #fff; }
.team-cards b { display: block; font-family: var(--font-h); color: var(--ink); font-size: 1rem; margin-bottom: 3px; }
.team-cards small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.team-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px 36px; flex-wrap: wrap; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.team-nums { display: flex; gap: 14px 34px; flex-wrap: wrap; }
.team-nums strong { display: block; font-family: var(--font-h); font-size: 1.75rem; font-weight: 800; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.team-nums span { font-size: .84rem; color: var(--muted); }

/* ------------------------------------------------------------ testimonials */
.testi-sec { padding: 104px 0 96px; }
.testi-top { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.testi-top .sec-head { margin: 0; max-width: 680px; }
.testi-side { display: flex; align-items: center; gap: 28px; }
.testi-score { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 22px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.testi-score strong { font-family: var(--font-h); font-size: 1.9rem; line-height: 1.1; color: #fff; margin-top: 4px; }
.testi-score > span:last-child { font-size: .8rem; color: #aeb7dd; }
.testi-nav { display: flex; gap: 10px; }
.testi-nav button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: background .2s, transform .2s, opacity .2s, border-color .2s; }
.testi-nav button:hover:not(:disabled) { background: var(--grad); border-color: transparent; transform: translateY(-2px); }
.testi-nav button:disabled { opacity: .35; cursor: default; }
.testi-nav .ic { width: 20px; height: 20px; }
.testi-nav .flip { display: inline-grid; transform: rotate(180deg); }

.testi-track { position: relative; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 2px 30px; margin: 0 -2px; scrollbar-width: none; outline: none; -webkit-overflow-scrolling: touch; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-track:focus-visible { outline: 2px solid rgba(255, 154, 124, .6); outline-offset: 6px; border-radius: 12px; }
.t-card { position: relative; flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; margin: 0; padding: 32px 28px 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; overflow: hidden; transition: transform .3s, border-color .3s, background .3s; }
.t-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.t-card:hover { transform: translateY(-6px); border-color: rgba(255, 154, 124, .4); background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)); }
.t-card:hover::before { opacity: 1; }
.t-q { position: absolute; top: 24px; right: 26px; width: 46px; color: rgba(255, 154, 124, .22); }
.t-q svg { display: block; width: 100%; height: auto; }
.t-stars { display: inline-flex; gap: 3px; }
.t-stars .ic { width: 18px; height: 18px; color: rgba(255, 255, 255, .22); }
.t-stars .on .ic { color: #ffb64d; fill: #ffb64d; }
.t-card blockquote { margin: 20px 0 28px; flex: 1; font-size: 1.02rem; line-height: 1.78; color: #e3e7fa; }
.t-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.t-av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--grad); color: #fff; font-family: var(--font-h); font-weight: 800; font-size: 1.15rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .1); }
.t-av img { width: 100%; height: 100%; object-fit: cover; }
.t-card figcaption b { display: block; color: #fff; font-family: var(--font-h); font-size: 1rem; line-height: 1.3; }
.t-card figcaption small { display: block; color: #aeb7dd; font-size: .84rem; line-height: 1.45; }

@media (max-width: 1099px) {
	.t-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 899px) {
	.team-grid { grid-template-columns: 1fr; }
	.team-visual { max-width: 380px; }
	.testi-sec { padding: 80px 0 72px; }
}
@media (max-width: 640px) {
	.team-cards { grid-template-columns: 1fr; }
	.t-card { flex-basis: 86%; padding: 28px 22px 22px; }
	.testi-side { width: 100%; justify-content: space-between; }
	.team-foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.yr, .yr-chip { animation: none; }
	.testi-track { scroll-behavior: auto; }
}
