/* =========================================================
   Testimonials — Dyson Forestry (tstx7k1-*)
   Premium minimal + warm cyber glow (orange/red)
   - Center slide: crisp
   - Side slides: soft blur + scale down
   - Card: glass, subtle scanline, hover glow
   ========================================================= */

/* ---- Section ---- */
.tstx7k1-sec{
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  color: rgba(255,255,255,.92);

  /* мягкий теплый фон только на секцию (не перебивает общий) */
 
}

/* subtle grain + scanline */
.tstx7k1-sec::before{
  content:"";
  position:absolute;
  inset:-25%;
  pointer-events:none;
  opacity:.35;
  
  filter: blur(0.2px);
}

/* glow orbs */
.tstx7k1-sec::after{
  position:absolute;
  inset:-10%;
  pointer-events:none;
  opacity:.35;
  background:
    radial-gradient(240px 240px at 12% 40%, rgba(255,138,0,.18), transparent 60%),
    radial-gradient(260px 260px at 92% 30%, rgba(255,59,47,.14), transparent 62%),
    radial-gradient(340px 340px at 72% 88%, rgba(255,138,0,.12), transparent 60%);
  filter: blur(14px);
}

/* ---- Container ---- */
.tstx7k1-shell{
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tstx7k1-head{
  text-align: center;
  margin-bottom: 26px;
}

.tstx7k1-title{
  margin: 0;
  /* defaultH2 already styles; keep spacing only */
}

/* ---- Stage ---- */
.tstx7k1-stage{
  position: relative;
  padding-top: 10px;
}

/* Swiper */
.tstx7k1-sw{
  width: 100%;
  overflow: visible;
}

/* Slide behavior */
.tstx7k1-slide{
  display: flex;
  justify-content: center;
  padding: 36px 0 18px;

  opacity: 0.22;
  transform: scale(0.90);
  filter: blur(1.2px) saturate(.9);

  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;
}

.tstx7k1-slide.swiper-slide-active .tstx7k1-card{
  box-shadow:
    0 26px 70px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 34px rgba(255,138,0,.12),
    0 0 26px rgba(255,59,47,.08);
}

/* ---- Card ---- */
.tstx7k1-card{
  width: min(760px, 100vw);
  text-align: center;

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);

  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255,138,0,.10), transparent 55%),
    radial-gradient(110% 80% at 88% 20%, rgba(255,59,47,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.18));

  padding: 30px 26px 28px;

  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);

  box-shadow:
    0 18px 44px rgba(0,0,0,.45),
    0 0 0 1px rgba(0,0,0,.25);

  position: relative;
  overflow: hidden;

  transition:
    transform .22s cubic-bezier(.2,.9,.2,1),
    border-color .22s ease,
    box-shadow .22s ease;
}

/* micro highlight sweep on hover (only when active slide is hovered) */
.tstx7k1-slide.swiper-slide-active .tstx7k1-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,138,0,.18);
  box-shadow:
    0 30px 78px rgba(0,0,0,.60),
    0 0 0 1px rgba(255,255,255,.07) inset,
    0 0 44px rgba(255,138,0,.16),
    0 0 30px rgba(255,59,47,.10);
}

.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,.06) 18%,
    rgba(255,138,0,.18) 46%,
    rgba(255,59,47,.12) 62%,
    transparent 84%
  );
  transform: translateX(-55%);
  transition: opacity .22s ease, transform .36s cubic-bezier(.2,.9,.2,1);
  mix-blend-mode: screen;
}

.tstx7k1-slide.swiper-slide-active .tstx7k1-card:hover::before{
  opacity: .85;
  transform: translateX(0%);
}

/* ---- Quote mark ---- */
.tstx7k1-quoteMark{
  display: inline-flex;
  margin-bottom: 14px;

  color: rgba(255,138,0,.92);
  opacity: .9;

  filter: drop-shadow(0 0 14px rgba(255,138,0,.14));
}

.tstx7k1-quoteMark svg{
  width: 54px;
  height: auto;
}

/* ---- Text ---- */
.tstx7k1-text{
  margin: 0 auto;
  width: min(680px, 92%);
  font-size: 17px;
  line-height: 1.85;

  color: rgba(255,255,255,.78);
  font-style: normal; /* premium clean */
}

/* ---- Author ---- */
.tstx7k1-author{
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}

.tstx7k1-author::before{
  content:"";
  display:block;
  width: 92px;
  height: 2px;
  margin: 18px auto 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,138,0,.70), rgba(255,59,47,.55), transparent);
  opacity: .8;
}

/* ---- Nav buttons (minimal, warm glow) ---- */
.tstx7k1-nav{
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);

  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  user-select: none;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    transform 180ms cubic-bezier(.2,.9,.2,1),
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s 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(255,138,0,.22);
  background: rgba(255,138,0,.10);
  box-shadow:
    0 18px 40px rgba(0,0,0,.45),
    0 0 18px rgba(255,138,0,.14),
    0 0 14px rgba(255,59,47,.10);
}

.tstx7k1-nav:active{
  transform: translateY(-50%) scale(.98);
}

.tstx7k1-nav:focus-visible{
  outline: 2px solid rgba(255,138,0,.70);
  outline-offset: 4px;
}

.tstx7k1-nav.swiper-button-disabled{
  opacity: 0.35;
  pointer-events: none;
}

/* ---- Pagination dots (thin + premium) ---- */
.tstx7k1-pagi{
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tstx7k1-pagi .swiper-pagination-bullet{
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  opacity: 1;
  margin: 0 !important;
  transition: background .22s ease, transform .22s ease;
}

.tstx7k1-pagi .swiper-pagination-bullet-active{
  background: linear-gradient(90deg, rgba(255,138,0,.92), rgba(255,59,47,.82));
  transform: scaleX(1.08);
}

/* ---- Responsive ---- */
@media (max-width: 900px){
  .tstx7k1-sec{ padding: 70px 0 78px; }
  .tstx7k1-text{ font-size: 16px; line-height: 1.8; }
  .tstx7k1-card{ padding: 26px 18px 24px; border-radius: 20px; }
  .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; }
}
