/*
 * JPRO testimonials — full-bleed blue slider (live match)
 * Colors: #0846C1 panel · #ffffff type · #f5c518 stars · #03318f CTA
 * Fonts: Montserrat headings · Open Sans body
 */
 .t1-testimonials--jpro,
 .testimonials-section.t1-testimonials--jpro {
   --tm-blue: #0846c1;
   --tm-blue-deep: #03318f;
   --tm-star: #f5c518;
   --tm-ink: #ffffff;
   --tm-section-bg: #0846c1;
   position: relative;
   width: 100%;
   max-width: none;
   margin: 0;
   margin-top: 40px !important;
   padding: 0;
   background: var(--tm-section-bg, var(--tm-blue)) !important;
   background-color: var(--tm-section-bg, var(--tm-blue)) !important;
   border: 0 !important;
   border-top: 0 !important;
   box-shadow: none !important;
   outline: none !important;
   isolation: isolate;
   z-index: 2;
 }
 
 .t1-testimonials--jpro::before,
 .t1-testimonials--jpro::after,
 .testimonials-section.t1-testimonials--jpro::before,
 .testimonials-section.t1-testimonials--jpro::after {
   content: none !important;
   display: none !important;
   background: transparent !important;
   border: 0 !important;
   height: 0 !important;
 }
 
 /* Full-bleed blue band — edge to edge, no dark top edge */
 .t1-testimonials--jpro .tm-slider {
   position: relative;
   width: 100%;
   max-width: none;
   margin: 0;
   padding: 0;
   background: var(--tm-section-bg, var(--tm-blue)) !important;
   background-color: var(--tm-section-bg, var(--tm-blue)) !important;
   border: 0 !important;
   border-top: 0 !important;
   box-shadow: none !important;
   outline: none !important;
   min-height: 360px;
   display: grid;
   grid-template-columns: clamp(40px, 6vw, 80px) minmax(0, 1fr) clamp(40px, 6vw, 80px);
   grid-template-rows: 1fr auto;
   align-items: stretch;
 }

 /* Optional section title (about page) */
 .t1-testimonials--jpro .tm-section-head {
   position: relative;
   z-index: 2;
   text-align: center;
   padding: 36px 16px 0;
   background: var(--tm-section-bg, var(--tm-blue)) !important;
 }

 .t1-testimonials--jpro .tm-section-title {
   margin: 0;
   font-family: "Montserrat", "Open Sans", sans-serif !important;
   font-size: clamp(22px, 2.6vw, 30px);
   font-weight: 700;
   color: #ffffff !important;
   letter-spacing: 0.02em;
 }

 /* Optional circular avatar (about page) */
 .t1-testimonials--jpro .tm-avatar {
   width: 88px;
   height: 88px;
   margin: 0 auto 16px;
   border-radius: 50%;
   overflow: hidden;
   border: 3px solid rgba(255, 255, 255, 0.55);
   background: rgba(255, 255, 255, 0.15);
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
 }

 .t1-testimonials--jpro .tm-avatar img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
 }
 
 .t1-testimonials--jpro .tm-viewport {
   grid-column: 2;
   grid-row: 1;
   min-width: 0;
   width: 100%;
   padding: 56px 24px 28px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: transparent !important;
 }
 
 .t1-testimonials--jpro .tm-arrow--prev {
   grid-column: 1;
   grid-row: 1;
   justify-self: center;
   align-self: center;
 }
 
 .t1-testimonials--jpro .tm-arrow--next {
   grid-column: 3;
   grid-row: 1;
   justify-self: center;
   align-self: center;
 }
 
 .t1-testimonials--jpro .tm-track {
   width: 100%;
   position: relative;
   display: grid;
   align-items: center;
 }
 
 .t1-testimonials--jpro .tm-slide {
   display: block;
   grid-area: 1 / 1;
   text-align: center;
   color: var(--tm-ink);
   width: 100%;
   max-width: 920px;
   margin: 0 auto;
   opacity: 0;
   visibility: hidden;
   pointer-events: none;
 }
 
 .t1-testimonials--jpro .tm-slide.is-active {
   display: block;
   opacity: 1;
   visibility: visible;
   pointer-events: auto;
   animation: tm-fade 0.35s ease;
 }
 
 .t1-testimonials--jpro .tm-slide[hidden] {
   /*
    * Keep inactive slides in the grid for sizing. The tallest review defines
    * one stable track height, while hidden slides remain invisible/inert.
    */
   display: block !important;
   opacity: 0 !important;
   visibility: hidden !important;
   pointer-events: none !important;
 }
 
 @keyframes tm-fade {
   from { opacity: 0; transform: translateY(6px); }
   to { opacity: 1; transform: translateY(0); }
 }
 
 .t1-testimonials--jpro .tm-quote {
   font-family: Georgia, "Times New Roman", serif;
   font-size: clamp(56px, 7vw, 84px);
   line-height: 0.75;
   color: #ffffff;
   margin: 0 0 18px;
   font-weight: 400;
   opacity: 0.95;
 }
 
 .t1-testimonials--jpro .tm-heading {
   font-family: "Montserrat", "Open Sans", sans-serif !important;
   font-size: clamp(22px, 2.6vw, 32px);
   font-weight: 700;
   color: #ffffff !important;
   margin: 0 0 16px;
   line-height: 1.25;
   letter-spacing: 0.01em;
 }
 
 .t1-testimonials--jpro .tm-text {
   font-family: "Open Sans", "Montserrat", sans-serif;
   font-size: clamp(15px, 1.35vw, 17px);
   font-weight: 400;
   line-height: 1.7;
   color: rgba(255, 255, 255, 0.96);
   margin: 0 auto 22px;
   max-width: 820px;
 }
 
 .t1-testimonials--jpro .tm-stars {
   display: flex;
   justify-content: center;
   gap: 4px;
   margin: 0 0 14px;
   color: var(--tm-star);
   font-size: 22px;
   line-height: 1;
   letter-spacing: 1px;
 }
 
 .t1-testimonials--jpro .tm-author {
   font-family: "Open Sans", "Montserrat", sans-serif;
   font-size: 15px;
   font-weight: 600;
   color: #ffffff;
   margin: 0;
 }
 
 /*
  * Arrows: compact icon only — NEVER full-column black hover
  * (theme.css button:hover sets background #000 !important)
  */
 .t1-testimonials--jpro .tm-arrow,
 .t1-testimonials--jpro button.tm-arrow,
 .t1-testimonials--jpro .tm-arrow--prev,
 .t1-testimonials--jpro .tm-arrow--next,
 .t1-testimonials--jpro [data-tm-prev],
 .t1-testimonials--jpro [data-tm-next] {
   appearance: none !important;
   -webkit-appearance: none !important;
   border: 0 !important;
   outline: none !important;
   box-shadow: none !important;
   background: transparent !important;
   background-color: transparent !important;
   color: #ffffff !important;
   -webkit-text-fill-color: #ffffff !important;
   cursor: pointer;
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   padding: 8px !important;
   margin: 0 !important;
   transition: opacity 0.2s ease, color 0.2s ease;
   align-self: center !important;
   justify-self: center !important;
   width: 48px !important;
   max-width: 48px !important;
   height: 48px !important;
   max-height: 48px !important;
   min-width: 48px !important;
   min-height: 48px !important;
   border-radius: 0 !important;
   line-height: 1 !important;
 }
 
 .t1-testimonials--jpro .tm-arrow:hover,
 .t1-testimonials--jpro .tm-arrow:focus,
 .t1-testimonials--jpro .tm-arrow:focus-visible,
 .t1-testimonials--jpro .tm-arrow:active,
 .t1-testimonials--jpro button.tm-arrow:hover:not(:disabled),
 .t1-testimonials--jpro button.tm-arrow:focus:not(:disabled),
 .t1-testimonials--jpro [data-tm-prev]:hover:not(:disabled),
 .t1-testimonials--jpro [data-tm-next]:hover:not(:disabled),
 .t1-testimonials--jpro [type="button"].tm-arrow:hover:not(:disabled) {
   background: transparent !important;
   background-color: transparent !important;
   border-color: transparent !important;
   box-shadow: none !important;
   color: #ffffff !important;
   -webkit-text-fill-color: #ffffff !important;
   opacity: 0.72 !important;
 }
 
 .t1-testimonials--jpro .tm-arrow svg {
   display: block;
   width: 28px;
   height: 28px;
   pointer-events: none;
   stroke: currentColor;
 }
 
 .t1-testimonials--jpro .tm-dots {
   grid-column: 1 / -1;
   grid-row: 2;
   display: flex;
   justify-content: center;
   gap: 10px;
   margin: 0;
   background: transparent !important;
   padding: 4px 16px 28px;
 }
 
 .t1-testimonials--jpro .tm-dot,
 .t1-testimonials--jpro button.tm-dot {
   width: 10px;
   height: 10px;
   border-radius: 50%;
   border: 2px solid #ffffff !important;
   background: transparent !important;
   background-color: transparent !important;
   box-shadow: none !important;
   padding: 0;
   cursor: pointer;
 }
 
 .t1-testimonials--jpro .tm-dot:hover,
 .t1-testimonials--jpro button.tm-dot:hover:not(:disabled) {
   background: transparent !important;
   background-color: transparent !important;
   opacity: 0.85;
 }
 
 .t1-testimonials--jpro .tm-dot.is-active,
 .t1-testimonials--jpro .tm-dot.is-active:hover {
   background: #ffffff !important;
   background-color: #ffffff !important;
 }
 
 .t1-testimonials--jpro .tm-cta-wrap {
   display: flex;
   justify-content: center;
   padding: 28px 16px 8px;
   background: #ffffff !important;
 }
 
 .t1-testimonials--jpro .tm-cta {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-width: 220px;
   padding: 14px 28px;
   background: var(--tm-blue-deep);
   color: #ffffff !important;
   font-family: "Montserrat", "Open Sans", sans-serif;
   font-size: 13px;
   font-weight: 700;
   text-decoration: none;
   text-transform: none;
   letter-spacing: 0.02em;
   border: 0;
   border-radius: 0;
   transition: background 0.2s ease;
 }
 
 .t1-testimonials--jpro .tm-cta:hover {
   background: var(--tm-blue);
   color: #ffffff !important;
 }
 
 /* Hide legacy dark-card markup if any leftover attrs exist */
 .t1-testimonials--jpro .section-header,
 .t1-testimonials--jpro .testimonials-grid,
 .t1-testimonials--jpro .testimonial-card {
   display: none !important;
   height: 0 !important;
   margin: 0 !important;
   padding: 0 !important;
   overflow: hidden !important;
   background: transparent !important;
   border: 0 !important;
 }
 
 @media (max-width: 760px) {
   .t1-testimonials--jpro .tm-slider {
     grid-template-columns: 40px 1fr 40px;
     min-height: 320px;
   }
 
   .t1-testimonials--jpro .tm-viewport {
     padding: 40px 8px 20px;
   }
 
   .t1-testimonials--jpro .tm-text {
     font-size: 14px;
   }
 
   .t1-testimonials--jpro .tm-dots {
     padding-bottom: 22px;
   }
 
   .t1-testimonials--jpro .tm-arrow,
   .t1-testimonials--jpro button.tm-arrow {
     width: 40px !important;
     max-width: 40px !important;
     height: 40px !important;
     max-height: 40px !important;
     min-width: 40px !important;
     min-height: 40px !important;
   }
 }
 
/* ═══════════════════════════════════════════
 * Light / About variant — gray bg, title, avatar
 * ═══════════════════════════════════════════ */
.t1-testimonials--light,
.testimonials-section.t1-testimonials--light {
  --tm-section-bg: #f2f2f2;
  --tm-ink: #1a1a1a;
  --tm-heading: #0d2b6b;
  --tm-star: #f5a623;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 56px 16px 64px;
  background: var(--tm-section-bg) !important;
  background-color: var(--tm-section-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
  isolation: isolate;
  z-index: 2;
}

.t1-testimonials--light::before,
.t1-testimonials--light::after {
  content: none !important;
  display: none !important;
}

.t1-testimonials--light .tm-light-inner {
  max-width: 920px;
  margin: 0 auto;
}

.t1-testimonials--light .tm-light-head {
  text-align: center;
  margin: 0 0 28px;
}

.t1-testimonials--light .tm-light-title {
  display: inline-block;
  margin: 0;
  padding: 0 0 12px;
  font-family: "Montserrat", "Open Sans", sans-serif !important;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--tm-heading) !important;
  letter-spacing: 0.01em;
  position: relative;
  line-height: 1.2;
}

.t1-testimonials--light .tm-light-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background: var(--tm-heading);
  border-radius: 2px;
}

.t1-testimonials--light .tm-light-slider,
.t1-testimonials--light .tm-slider {
  position: relative;
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0 !important;
  box-shadow: none !important;
}

.t1-testimonials--light .tm-viewport {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 8px 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}

.t1-testimonials--light .tm-arrow--prev {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}

.t1-testimonials--light .tm-arrow--next {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
}

.t1-testimonials--light .tm-track {
  width: 100%;
  position: relative;
  display: grid;
  align-items: start;
}

.t1-testimonials--light .tm-slide {
  grid-area: 1 / 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--tm-ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.t1-testimonials--light .tm-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: tm-fade 0.35s ease;
}

.t1-testimonials--light .tm-slide[hidden] {
  display: block !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.t1-testimonials--light .tm-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.t1-testimonials--light .tm-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.t1-testimonials--light .tm-text {
  font-family: "Open Sans", "Montserrat", sans-serif;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
  line-height: 1.75;
  color: #333 !important;
  margin: 0 auto 18px;
  max-width: 720px;
}

.t1-testimonials--light .tm-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0 0 14px;
  color: var(--tm-star);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 1px;
}

.t1-testimonials--light .tm-author {
  font-family: "Montserrat", "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-heading) !important;
  margin: 0;
}

.t1-testimonials--light .tm-arrow,
.t1-testimonials--light button.tm-arrow,
.t1-testimonials--light [data-tm-prev],
.t1-testimonials--light [data-tm-next] {
  appearance: none !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #0d2b6b !important;
  -webkit-text-fill-color: #0d2b6b !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  line-height: 1 !important;
  transition: opacity 0.2s ease;
}

.t1-testimonials--light .tm-arrow:hover,
.t1-testimonials--light .tm-arrow:focus,
.t1-testimonials--light button.tm-arrow:hover:not(:disabled) {
  background: transparent !important;
  color: #0d2b6b !important;
  opacity: 0.65 !important;
}

.t1-testimonials--light .tm-arrow svg {
  display: block;
  width: 28px;
  height: 28px;
  pointer-events: none;
  stroke: currentColor;
}

.t1-testimonials--light .tm-dots,
.t1-testimonials--light .tm-cta-wrap,
.t1-testimonials--light .tm-quote,
.t1-testimonials--light .tm-heading {
  display: none !important;
}

@media (max-width: 760px) {
  .t1-testimonials--light {
    padding: 40px 12px 48px;
  }

  .t1-testimonials--light .tm-light-slider,
  .t1-testimonials--light .tm-slider {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }

  .t1-testimonials--light .tm-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }

  .t1-testimonials--light .tm-text {
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════
 * About page ONLY — light bg, black text, no quote/heading
 * Never matches home (.t1-testimonials--jpro without --about)
 * ═══════════════════════════════════════════ */
.t1-testimonials--about.t1-testimonials--jpro,
.testimonials-section.t1-testimonials--about {
  --tm-ink: #1a1a1a !important;
  --tm-heading: #0d2b6b;
  color: #1a1a1a !important;
}

.t1-testimonials--about .tm-section-head {
  background: transparent !important;
}

.t1-testimonials--about .tm-section-title {
  color: #0d2b6b !important;
}

.t1-testimonials--about .tm-quote,
.t1-testimonials--about .tm-heading,
.t1-testimonials--about [data-tm-heading] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  opacity: 0 !important;
}

.t1-testimonials--about .tm-slide,
.t1-testimonials--about .tm-text,
.t1-testimonials--about .tm-author,
.t1-testimonials--about [data-tm-text],
.t1-testimonials--about [data-tm-author] {
  color: #1a1a1a !important;
}

.t1-testimonials--about .tm-author,
.t1-testimonials--about [data-tm-author] {
  font-weight: 700 !important;
  color: #0d2b6b !important;
}

.t1-testimonials--about .tm-arrow,
.t1-testimonials--about button.tm-arrow,
.t1-testimonials--about [data-tm-prev],
.t1-testimonials--about [data-tm-next] {
  color: #0d2b6b !important;
  -webkit-text-fill-color: #0d2b6b !important;
}

.t1-testimonials--about .tm-arrow:hover,
.t1-testimonials--about button.tm-arrow:hover:not(:disabled) {
  color: #0d2b6b !important;
  -webkit-text-fill-color: #0d2b6b !important;
  opacity: 0.7 !important;
  background: transparent !important;
}

.t1-testimonials--about .tm-dot,
.t1-testimonials--about button.tm-dot {
  border-color: #0d2b6b !important;
  background: transparent !important;
}

.t1-testimonials--about .tm-dot.is-active,
.t1-testimonials--about .tm-dot.is-active:hover {
  background: #0d2b6b !important;
  background-color: #0d2b6b !important;
}

.t1-testimonials--about .tm-avatar {
  border-color: rgba(13, 43, 107, 0.25);
}

/* Home stays white-on-blue — lock ink when NOT about */
.t1-testimonials--jpro:not(.t1-testimonials--about) {
  --tm-ink: #ffffff;
  --tm-section-bg: #0846c1;
}

.t1-testimonials--jpro:not(.t1-testimonials--about) .tm-text,
.t1-testimonials--jpro:not(.t1-testimonials--about) .tm-heading,
.t1-testimonials--jpro:not(.t1-testimonials--about) .tm-author,
.t1-testimonials--jpro:not(.t1-testimonials--about) .tm-quote {
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════
 * Home Trustpilot embed — blue band + white panel
 * ═══════════════════════════════════════════ */
.t1-testimonials--trustpilot {
  padding: 72px 24px 80px !important;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t1-testimonials--trustpilot .tm-trustpilot {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.t1-testimonials--trustpilot .tm-trustpilot-head {
  margin: 0 0 32px;
}

.t1-testimonials--trustpilot .tm-heading {
  margin: 0 0 10px;
  font-family: "Montserrat", "Open Sans", sans-serif !important;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.t1-testimonials--trustpilot .tm-trustpilot-sub {
  margin: 0;
  font-family: "Open Sans", "Montserrat", sans-serif;
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.t1-testimonials--trustpilot .tm-trustpilot-panel {
  width: 100%;
  padding: 28px 28px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow:
    0 12px 40px rgba(0, 24, 80, 0.28),
    0 2px 8px rgba(0, 24, 80, 0.12);
  overflow: hidden;
}

.t1-testimonials--trustpilot .trustpilot-widget {
  display: block;
  width: 100%;
  min-height: 280px;
}

.t1-testimonials--trustpilot .trustpilot-widget iframe {
  display: block;
  width: 100% !important;
  margin: 0 auto;
  border: 0;
}

@media (max-width: 760px) {
  .t1-testimonials--trustpilot {
    padding: 52px 16px 60px !important;
    min-height: 0;
  }

  .t1-testimonials--trustpilot .tm-trustpilot-head {
    margin-bottom: 22px;
  }

  .t1-testimonials--trustpilot .tm-trustpilot-panel {
    padding: 18px 12px 12px;
    border-radius: 10px;
  }

  .t1-testimonials--trustpilot .trustpilot-widget {
    min-height: 240px;
  }
}