/* =========================================================
   Testimonials — Martini SEO Power (tstx7k1-*)
   Light premium glass: cream + ink (black)
   - Center slide: crisp
   - Side slides: soft blur + scale down
   - Card: light glass + subtle edge + paper glow
========================================================= */

/* ---- Section ---- */
.tstx7k1-sec{
  position: relative;
  padding-top: calc(var(--gap) * 5);
  padding-bottom: calc(var(--gap) * 5);
  overflow: hidden;
  color: rgba(11,11,12,.88);
}

/* subtle grain */
.tstx7k1-sec::before{
  content:"";
  position:absolute;
  inset:-25%;
  pointer-events:none;
  opacity:0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  filter: blur(.25px);
}

/* soft cream haze + ink vignette */
.tstx7k1-sec::after{
  content:"";
  position:absolute;
  inset:-10%;
  pointer-events:none;
  opacity:.70;
  /* background:
    radial-gradient(120% 80% at 12% 10%, rgba(172,170,137,.28), transparent 62%),
    radial-gradient(90% 70% at 88% 24%, rgba(172,170,137,.14), transparent 58%),
    radial-gradient(120% 120% at 50% 120%, rgba(11,11,12,.07), transparent 58%); */
  filter: blur(18px);
}

/* ---- 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(11,11,12,.92);
  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.42;
  transform: scale(0.94);
  filter: blur(1.15px) 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;
}

/* .tstx7k1-slide.swiper-slide-active .tstx7k1-card{
  box-shadow:
    0 28px 74px rgba(11,11,12,.12),
    0 0 0 1px rgba(11,11,12,.10) inset,
    0 0 0 6px rgba(172,170,137,.16);
} */

/* ---- Card ---- */
.tstx7k1-card{
  width: min(760px, 92vw);
  text-align: center;

  border-radius: 24px;
  border: 1px solid rgba(11,11,12,.12);

  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, 0.18), transparent 58%),
    radial-gradient(110% 80% at 88% 20%, rgba(11,11,12,.06), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.60));

  padding: 30px 26px 28px;

  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);

  /* box-shadow:
    0 18px 52px rgba(11,11,12,.10),
    inset 0 1px 0 rgba(255,255,255,.70); */

  position: relative;
  overflow: hidden;

  transition:
    transform 220ms cubic-bezier(.2,.9,.2,1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

/* hover (only on active slide) */
.tstx7k1-slide.swiper-slide-active .tstx7k1-card:hover{
  transform: translateY(-2px);
  border-color: rgba(11,11,12,.18);
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(172,170,137,.22), transparent 58%),
    radial-gradient(110% 80% at 88% 20%, rgba(11,11,12,.07), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  /* box-shadow:
    0 34px 82px rgba(11,11,12,.16),
    0 0 0 1px rgba(11,11,12,.12) inset,
    0 0 0 8px rgba(172,170,137,.18); */
}

/* micro sweep (paper 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,.20) 18%,
    rgba(172,170,137,.38) 46%,
    rgba(255,255,255,.18) 62%,
    transparent 84%
  );

  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(11,11,12,.92);
  opacity: .92;
  filter: drop-shadow(0 10px 18px rgba(11,11,12,.08));
}

.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(11,11,12,.72);
  font-style: normal;
}

/* ---- Author ---- */
.tstx7k1-author{
  margin-top: calc(var(--gap) * 1.2);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(11,11,12,.55);
}

.tstx7k1-author::before{
  content:"";
  display:block;
  width: 92px;
  height: 2px;
  margin: 18px auto 14px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(11,11,12,.10),
    rgba(172,170,137,.75),
    rgba(11,11,12,.10),
    transparent
  );
  opacity: .95;
}

/* ---- Nav buttons (light glass + black hover) ---- */
.tstx7k1-nav{
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(11,11,12,.12);
  background: rgba(255,255,255,.70);
  color: rgba(11,11,12,.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 44px rgba(11,11,12,.10),
    inset 0 1px 0 rgba(255,255,255,.70);

  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(11,11,12,.18);
  background: rgba(11,11,12,.92);
  color: #fff;
  box-shadow:
    0 22px 54px rgba(11,11,12,.18),
    0 0 0 6px rgba(172,170,137,.16);
}

.tstx7k1-nav:active{ transform: translateY(-50%) scale(.98); }

.tstx7k1-nav:focus-visible{
  outline: 3px solid rgba(172,170,137,.28);
  outline-offset: 4px;
}

.tstx7k1-nav.swiper-button-disabled{
  opacity: 0.35;
  pointer-events: none;
}

/* ---- Pagination dots (ink + cream) ---- */
.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(11,11,12,.14);
  opacity: 1;
  margin: 0 !important;
  transition: background 220ms ease, transform 220ms ease;
}

.tstx7k1-pagi .swiper-pagination-bullet-active{
  background: linear-gradient(90deg, rgba(11,11,12,.92), rgba(172,170,137,.92));
  transform: scaleX(1.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; }
}
