main#testimonials{color:#1d1761;background:#fff}
main#testimonials .tm-hero{position:relative;overflow:hidden;isolation:isolate;height:560px;display:flex;align-items:flex-end;justify-content:center;padding:0 64px;background:#1d1761}
main#testimonials .tm-hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.4) 34%,rgba(0,0,0,.12) 62%,rgba(0,0,0,0) 100%)}
main#testimonials .tm-hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;display:block;z-index:0}
main#testimonials .tm-hero__inner{position:relative;z-index:2;max-width:900px;text-align:center;padding-bottom:64px;color:#fff}
main#testimonials .tm-kicker{display:block;margin:0 0 12px;font-size:15px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.5)}
main#testimonials .tm-hero h1{margin:0;padding:0;font-size:60px;line-height:66px;font-weight:500;color:#fff;width:100%;text-shadow:0 2px 18px rgba(0,0,0,.35)}
main#testimonials .tm-hero__intro{margin:18px auto 0;max-width:640px;font-size:19px;line-height:30px;color:#fff}
main#testimonials .tm-stars{display:inline-flex;gap:2px;vertical-align:middle}
main#testimonials .tm-stars svg{width:17px;height:17px}
main#testimonials .tm-stars .on{fill:#f2b01e}
main#testimonials .tm-stars .off{fill:#d9dae8}
main#testimonials .tm-summary{background:#f5f5f8;padding:0 64px}
main#testimonials .tm-summary__inner{max-width:1280px;margin:0 auto;padding:26px 0;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
main#testimonials .tm-summary__score{font-size:40px;line-height:1;font-weight:600;color:#1d1761}
main#testimonials .tm-summary .tm-stars svg{width:22px;height:22px}
main#testimonials .tm-summary__count{font-size:17px;color:#1d1761}
main#testimonials .tm-wall{padding:64px 64px 20px}
main#testimonials .tm-wall__inner{max-width:1280px;margin:0 auto}
main#testimonials .tm-card{position:relative;margin:0;background:#fff;border:1px solid rgba(29,23,97,.12);border-top:4px solid #e1001e;box-shadow:0 1px 4px rgba(29,23,97,.1);padding:28px 28px 24px;display:flex;flex-direction:column;gap:18px;break-inside:avoid;transition:transform .25s ease,box-shadow .25s ease}
main#testimonials .tm-card:hover{transform:translateY(-4px);box-shadow:0 8px 22px rgba(29,23,97,.16)}
main#testimonials .tm-quote{fill:#e1001e;flex:none}
main#testimonials .tm-card blockquote{margin:0;padding:0;border:0;font-size:18px;line-height:30px;color:#1d1761;quotes:none}
main#testimonials .tm-card blockquote p{margin:0 0 14px;font-size:inherit;line-height:inherit;color:inherit;font-weight:400}
main#testimonials .tm-card blockquote p:last-child{margin-bottom:0}
main#testimonials .tm-who strong{color:inherit}
main#testimonials .tm-card figcaption{margin-top:auto;padding-top:16px;border-top:1px solid rgba(29,23,97,.12);display:flex;align-items:center;gap:12px;flex-wrap:wrap}
main#testimonials .tm-avatar{width:42px;height:42px;border-radius:50%;background:#f5f5f8;border:1px solid rgba(29,23,97,.16);color:#1d1761;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;flex:none}
main#testimonials .tm-who{display:flex;flex-direction:column;min-width:0;margin-right:auto}
main#testimonials .tm-who strong{font-size:16px;line-height:22px;font-weight:600}
main#testimonials .tm-who span{font-size:14px;line-height:20px;color:#5f5e82}
main#testimonials .tm-featured{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 24px}
main#testimonials .tm-featured:has(.tm-card:only-child){grid-template-columns:minmax(0,1fr)}
main#testimonials .tm-card--featured{background:#fff;border:1px solid rgba(29,23,97,.12);border-top:4px solid #e1001e;box-shadow:0 4px 18px rgba(29,23,97,.1);padding:36px 36px 30px}
main#testimonials .tm-card--featured .tm-quote{width:42px;height:32px}
main#testimonials .tm-card--featured blockquote{font-size:22px;line-height:34px}
main#testimonials .tm-card--featured .tm-avatar{background:#e1001e;border-color:#e1001e;color:#fff}
main#testimonials .tm-grid{column-count:3;column-gap:24px}
main#testimonials .tm-grid .tm-card{display:flex;width:100%;margin:0 0 24px}
main#testimonials .tm-end{padding:20px 64px 84px}
main#testimonials .tm-end__inner{max-width:1280px;margin:0 auto;background:#f5f5f8;border-top:4px solid #e1001e;padding:52px 40px;text-align:center}
main#testimonials .tm-end h2{margin:0 0 12px;font-size:40px;line-height:46px;font-weight:400;color:#1d1761}
main#testimonials .tm-end p{margin:0 auto 28px;max-width:620px;font-size:18px;line-height:28px;color:#1d1761}
main#testimonials .tm-end__buttons{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
main#testimonials .tm-btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 30px;border-radius:60px;border:1px solid transparent;font-size:14px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;white-space:nowrap;transition:background-color .25s ease,color .25s ease,border-color .25s ease}
main#testimonials .tm-btn--primary{background:#e1001e;border-color:#e1001e;color:#fff}
main#testimonials .tm-btn--primary:hover,main#testimonials .tm-btn--primary:focus-visible{background:#1d1761;border-color:#1d1761;color:#fff}
main#testimonials .tm-btn--ghost{border-color:#1d1761;color:#1d1761;background:transparent}
main#testimonials .tm-btn--ghost:hover,main#testimonials .tm-btn--ghost:focus-visible{background:#1d1761;color:#fff}
main#testimonials a:focus-visible{outline:3px solid #1d1761;outline-offset:3px}
@media(min-width:768px) and (max-width:1100px){main#testimonials .tm-hero{height:480px;padding:0 30px}main#testimonials .tm-hero h1{font-size:46px;line-height:52px}main#testimonials .tm-summary,main#testimonials .tm-wall,main#testimonials .tm-end{padding-left:30px;padding-right:30px}main#testimonials .tm-grid{column-count:2}main#testimonials .tm-featured{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){main#testimonials .tm-hero{height:440px;padding:0 14px}main#testimonials .tm-hero__inner{padding-bottom:36px}main#testimonials .tm-hero h1{font-size:34px;line-height:40px}main#testimonials .tm-hero__intro{font-size:16px;line-height:25px}main#testimonials .tm-kicker{font-size:13px}main#testimonials .tm-summary,main#testimonials .tm-wall,main#testimonials .tm-end{padding-left:14px;padding-right:14px}main#testimonials .tm-wall{padding-top:36px}main#testimonials .tm-grid{column-count:1}main#testimonials .tm-featured{grid-template-columns:minmax(0,1fr);gap:16px}main#testimonials .tm-card{padding:22px 20px 20px}main#testimonials .tm-card blockquote{font-size:17px;line-height:27px}main#testimonials .tm-card--featured{padding:26px 22px 22px}main#testimonials .tm-card--featured blockquote{font-size:19px;line-height:29px}main#testimonials .tm-summary__score{font-size:34px}main#testimonials .tm-end{padding-bottom:48px}main#testimonials .tm-end__inner{padding:36px 18px}main#testimonials .tm-end h2{font-size:28px;line-height:34px}main#testimonials .tm-btn{width:100%}}
@media(prefers-reduced-motion:reduce){main#testimonials .tm-card,main#testimonials .tm-btn{transition:none}main#testimonials .tm-card:hover{transform:none}}
main#testimonials .tm-card::after{content:"";position:absolute;left:0;right:0;top:100%;height:8px}
main#testimonials .tm-grid .tm-card:hover{transform:none;box-shadow:0 10px 26px rgba(29,23,97,.2)}
@media(max-width:767px){
main#testimonials .tm-hero{height:500px}
main#testimonials .tm-hero::before{background:linear-gradient(0deg,rgba(0,0,0,.7) 0%,rgba(0,0,0,.5) 36%,rgba(0,0,0,.2) 66%,rgba(0,0,0,.06) 100%)}
main#testimonials .tm-hero__inner{padding-bottom:30px}
main#testimonials .tm-hero h1{font-size:31px;line-height:37px;text-shadow:0 2px 14px rgba(0,0,0,.7)}
main#testimonials .tm-hero__intro{font-size:15px;line-height:23px;margin-top:12px;text-shadow:0 1px 10px rgba(0,0,0,.7)}
main#testimonials .tm-kicker{text-shadow:0 1px 10px rgba(0,0,0,.7)}
}
