/* =========================================================
   Testimonials — Dynamic Vision (tstx7k1-*)
   Light premium glass + subtle neon (teal / lilac)
   - Center slide: crisp
   - Side slides: soft blur + scale down
   - Card: light glass + gradient edge + airy glow
========================================================= */

/* ---- Section ---- */
.tstx7k1-sec{
  position: relative;
  padding-top: calc(var(--gap) * 5);
  padding-bottom: calc(var(--gap) * 5);
  overflow: hidden;
  color: rgba(15,23,32,.92);
}



/* airy neon haze (light) */
.tstx7k1-sec::after{
  content:"";
  position:absolute;
  inset:-14%;
  pointer-events:none;
  opacity:.70;
 
  filter: blur(22px);
}

/* ---- Container ---- */
.tstx7k1-shell{
  width: min(1200px,92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tstx7k1-head{ text-align: center; }

.tstx7k1-title{
  margin: 0;
  color: rgba(15,23,32,.94);
  letter-spacing: -0.01em;
}

/* ---- Slide behavior ---- */
.tstx7k1-slide{
  display: flex;
  justify-content: center;
  padding: calc(var(--gap) * 2) 0 calc(var(--gap) * 1);

  opacity: 0.44;
  transform: scale(0.94);
  filter: blur(1.1px) saturate(.98);

  transition:
    opacity 360ms ease,
    transform 360ms cubic-bezier(.2,.9,.2,1),
    filter 360ms ease;
}

.tstx7k1-slide.swiper-slide-active{
  opacity: 1;
  transform: scale(1);
  filter: none;
}

/* ---- Card ---- */
.tstx7k1-card{
  width: min(760px, 92vw);
  text-align: center;

  border-radius: 24px;
  border: 1px solid rgba(15,23,32,.10);

  /* light glass with subtle teal/lilac tint */
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255,255,255,.22), transparent 58%),
    radial-gradient(110% 80% at 88% 20%, rgba(15,23,32,.05), transparent 62%),
    radial-gradient(700px 320px at 22% 18%, rgba(88,225,255,.10), transparent 56%),
    radial-gradient(700px 320px at 78% 22%, rgba(169,139,255,.10), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.56));

  padding: 30px 26px 28px;

  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);

 

  position: relative;
  overflow: hidden;

  transition:
    transform 220ms cubic-bezier(.2,.9,.2,1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

/* gradient edge (premium) */
.tstx7k1-card::after{
  content:"";
  position:absolute;
  inset:0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg,
    rgba(88,225,255,.46),
    rgba(169,139,255,.40),
    rgba(255,166,43,.22)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .50;
  pointer-events:none;
}

/* hover (only on active slide) */
.tstx7k1-slide.swiper-slide-active .tstx7k1-card:hover{
  border-color: rgba(15,23,32,.16);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255,255,255,.28), transparent 58%),
    radial-gradient(110% 80% at 88% 20%, rgba(15,23,32,.06), transparent 62%),
    radial-gradient(720px 340px at 22% 16%, rgba(88,225,255,.14), transparent 56%),
    radial-gradient(720px 340px at 78% 22%, rgba(169,139,255,.13), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.66));

}

/* micro sweep (glass shine) */
.tstx7k1-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  pointer-events:none;
  opacity: 0;

  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,.22) 18%,
    rgba(88,225,255,.22) 42%,
    rgba(169,139,255,.18) 56%,
    rgba(255,255,255,.16) 68%,
    transparent 86%
  );

  transform: translateX(-55%);
  transition: opacity 220ms ease, transform 360ms cubic-bezier(.2,.9,.2,1);
  mix-blend-mode: soft-light;
}

.tstx7k1-slide.swiper-slide-active .tstx7k1-card:hover::before{
  opacity: .9;
  transform: translateX(0%);
}

/* ---- Quote mark ---- */
.tstx7k1-quoteMark{
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(15,23,32,.90);
  opacity: .92;
  filter: drop-shadow(0 12px 22px rgba(15,23,32,.10));
}

.tstx7k1-quoteMark svg{
  width: 54px;
  height: auto;
}

/* ---- Text ---- */
.tstx7k1-text{
  margin: 0 auto;
  width: min(680px, 92%);
  font-size: 16px;
  line-height: 30px;
  color: rgba(15,23,32,.70);
  font-style: normal;
}

/* ---- Author ---- */
.tstx7k1-author{
  margin-top: calc(var(--gap) * 1.2);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(15,23,32,.54);
}

.tstx7k1-author::before{
  content:"";
  display:block;
  width: 92px;
  height: 2px;
  margin: 18px auto 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15,23,32,.10),
    rgba(88,225,255,.35),
    rgba(169,139,255,.28),
    rgba(15,23,32,.10),
    transparent
  );
  opacity: .95;
}

/* ---- Nav buttons (light glass + dark hover) ---- */
.tstx7k1-nav{
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(15,23,32,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.56));
  color: rgba(15,23,32,.92);

  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  user-select: none;

  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);

  box-shadow:
    0 18px 52px rgba(15,23,32,.10),
    inset 0 1px 0 rgba(255,255,255,.72);

  transition:
    transform 180ms cubic-bezier(.2,.9,.2,1),
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    opacity 180ms ease;
}

.tstx7k1-nav span{
  font-size: 22px;
  line-height: 1;
  transform: translateY(-1px);
}

.tstx7k1-prev{ left: clamp(10px, 6vw, 150px); }
.tstx7k1-next{ right: clamp(10px, 6vw, 150px); }

.tstx7k1-nav:hover{
  transform: translateY(-50%) scale(1.06);
  border-color: rgba(15,23,32,.14);
  background: rgba(15,23,32,.92);
  color: #ffffff;
  box-shadow:
    0 22px 64px rgba(15,23,32,.18),
    0 0 0 6px rgba(88,225,255,.10),
    0 0 0 10px rgba(169,139,255,.06);
}

.tstx7k1-nav:active{ transform: translateY(-50%) scale(.98); }

.tstx7k1-nav:focus-visible{
  outline: 3px solid rgba(88,225,255,.22);
  outline-offset: 4px;
}

.tstx7k1-nav.swiper-button-disabled{
  opacity: 0.35;
  pointer-events: none;
}

/* ---- Pagination dots (soft + neon active) ---- */
.tstx7k1-pagi{
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tstx7k1-pagi .swiper-pagination-bullet{
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(15,23,32,.12);
  opacity: 1;
  margin: 0 !important;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.tstx7k1-pagi .swiper-pagination-bullet-active{
  background: linear-gradient(90deg, rgba(15,23,32,.92), rgba(88,225,255,.60), rgba(169,139,255,.55));
  transform: scaleX(1.12);
  box-shadow: 0 10px 28px rgba(88,225,255,.12);
}

/* ---- Responsive ---- */
@media (max-width: 900px){
  .tstx7k1-sec{
    padding-top: calc(var(--gap) * 4);
    padding-bottom: calc(var(--gap) * 4);
  }
  .tstx7k1-text{
    font-size: 15px;
    line-height: 28px;
  }
  .tstx7k1-card{
    padding: 26px 18px 24px;
    border-radius: 22px;
  }
  .tstx7k1-prev{ left: 12px; }
  .tstx7k1-next{ right: 12px; }
}

@media (max-width: 520px){
  .tstx7k1-nav{ display: none; }
  .tstx7k1-slide{ padding-top: 22px; }
  .tstx7k1-quoteMark svg{ width: 46px; }
  .tstx7k1-pagi{ margin-top: 18px; }
}
