/* ==========================================================================
   Reusable website sections: client logos + video testimonials
   (drawn above the footer on the pages chosen in the admin). Site theme: Poppins, #3591c3 blues.
   ========================================================================== */
.sx-section { padding: 70px 0; background: #fff; }
.sx-head { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.sx-eyebrow { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: #e0a526; }
.sx-head h2 { margin: 0 0 12px; font-size: 34px; line-height: 1.25; font-weight: 700; color: #151a2d; letter-spacing: -.3px; }
.sx-head p { margin: 0; font-size: 17px; line-height: 1.7; color: #5b6478; }
.sx-clients { background: #f6f9fd; }

/* ---- client logos ---- */
.sx-clients { padding: 60px 0 90px; }
.sx-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 22px; background: #fff; border: 1px solid #e8edf6; border-radius: 16px; height: 110px; }
.sx-logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.sx-logo__city { font-size: 11px; color: #6b7388; letter-spacing: .3px; }
.sx-logo[hidden] { display: none; }
.sx-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.sx-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.sx-filter button { padding: 8px 20px; border-radius: 999px; border: 1px solid #d9e1ef; background: #fff; color: #3f4a63; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s ease; }
.sx-filter button:hover { border-color: #3591c3; color: #3591c3; }
.sx-filter button.is-active { background: #3591c3; border-color: #3591c3; color: #fff; }
.sx-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sx-marquee__track { display: flex; gap: 18px; width: max-content; animation: sx-scroll calc(var(--sx-n) * 4s) linear infinite; }
.sx-marquee:hover .sx-marquee__track { animation-play-state: paused; }
.sx-marquee .sx-logo { flex: 0 0 200px; }
@keyframes sx-scroll { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .sx-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }


/* ---- video testimonials ---- */
.sx-videos { background: linear-gradient(180deg, #f6f9fd 0%, #fff 100%); }
.sx-vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sx-vcard { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid #e8edf6; border-radius: 22px; background: #fff; overflow: hidden; cursor: pointer; box-shadow: 0 12px 34px rgba(30, 50, 110, .08); transition: transform .25s ease, box-shadow .25s ease; font-family: inherit; }
.sx-vcard:hover, .sx-vcard:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(30, 50, 110, .16); outline: 0; }
.sx-vthumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0f172a; overflow: hidden; }
.sx-vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sx-vcard:hover .sx-vthumb img { transform: scale(1.05); }
.sx-vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35)); }
.sx-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #3591c3; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .25s ease, background .25s ease, color .25s ease; }
.sx-vcard:hover .sx-play { transform: scale(1.1); background: #3591c3; color: #fff; }
.sx-vmeta { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 20px; }
.sx-vquote { font-size: 15px; line-height: 1.55; color: #3f4a63; margin-bottom: 6px; }
.sx-vmeta strong { font-size: 16px; font-weight: 600; color: #151a2d; }
.sx-vmeta small { font-size: 13px; color: #6b7388; }
.sx-videos .sol-slider__slide { flex-basis: calc((100% - 44px) / 3); }

/* popup */
.sx-modal { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 15, 35, .82); }
.sx-modal.is-open { display: flex; }
.sx-modal__box { position: relative; width: min(960px, 100%); }
.sx-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.sx-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sx-modal__x { position: absolute; right: 0; top: -46px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: #111; font-size: 22px; line-height: 1; cursor: pointer; }
.sx-modal__title { margin: 12px 4px 0; color: #e5e9f5; font-size: 14px; }

/* ---- awards & ratings ---- */
.sx-awards { background: #fff; padding: 56px 0 64px; }
.sx-eyebrow--plain { color: #4b5563; letter-spacing: 1.2px; font-size: 13px; }
.sx-rates { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-bottom: 50px; }
.sx-rate { display: flex; align-items: center; gap: 18px; min-width: 270px; padding: 22px 28px; background: var(--sx-card); border: 1px solid color-mix(in srgb, var(--sx-acc) 28%, #fff); border-radius: 18px; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
a.sx-rate:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(18, 51, 122, .12); }
.sx-rate__score { font-size: 38px; line-height: 1; font-weight: 700; color: var(--sx-acc); letter-spacing: -1px; }
.sx-rate__score--text { font-size: 22px; letter-spacing: 0; max-width: 120px; }
.sx-rate__body { display: flex; flex-direction: column; gap: 3px; }
.sx-rate__name { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: #111827; }
.sx-rate__name img { height: 20px; width: auto; max-width: 70px; object-fit: contain; }
.sx-rate__rev { font-size: 13px; color: #6b7280; }

/* stars: the chosen icon muted underneath, coloured on top and clipped to the fill % */
.sx-stars { display: inline-flex; gap: 3px; font-size: 14px; }
.sx-star { position: relative; display: inline-block; width: 1em; height: 1em; line-height: 1; }
.sx-star i { display: block; line-height: 1; }
.sx-star__bg { color: #cfd8d3; }
.sx-star__fill { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; white-space: nowrap; color: var(--sx-acc); }
.sx-star__fill i { width: 1em; }

.sx-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 34px; margin-bottom: 34px; }
.sx-badge { display: inline-flex; align-items: center; justify-content: center; transition: transform .25s ease; }
a.sx-badge:hover { transform: translateY(-3px); }
.sx-badge img { width: auto; height: auto; object-fit: contain; display: block; }
.sx-badge--large img { max-height: 118px; max-width: 160px; }
.sx-badge--small img { max-height: 46px; max-width: 110px; }

.sx-pills { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sx-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px; background: color-mix(in srgb, var(--sx-acc) 9%, #fff); border: 1px solid color-mix(in srgb, var(--sx-acc) 32%, #fff); color: color-mix(in srgb, var(--sx-acc) 78%, #000); font-size: 13.5px; font-weight: 500; }
.sx-pill i { font-size: 12px; color: var(--sx-acc); }
@media (max-width: 575px) {
  .sx-rate { min-width: 0; width: 100%; }
  .sx-badge--large img { max-height: 96px; }
}

@media (max-width: 991px) {
  .sx-vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-videos .sol-slider__slide { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 575px) {
  .sx-section { padding: 46px 0; }
  .sx-head h2 { font-size: 26px; }
  .sx-vgrid { grid-template-columns: 1fr; }
  .sx-videos .sol-slider__slide { flex-basis: 86%; }
  .sx-logos { grid-template-columns: repeat(2, 1fr); }
  .sx-modal__x { top: -44px; }
}
