/* SoftCraft Testimonials Slider CSS */
:root {
  --scts-bg: #07081A;
  --scts-card: #030048;
  --scts-txt: #D7E0FF;
  --scts-muted: #8B93B5;
  --scts-accent1: #FF5EA3;
  --scts-accent2: #FFB36B;
  --scts-ring: #2908EB;
  --scts-radius: 22px;
}

.scts-wrap {
  max-width: 1400px;
  margin: clamp(16px, 4vw, 48px) auto;
  padding: 0 16px;
  font-family: Inter, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.scts-swiper {
  padding: 8px 8px 48px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* KARTA: flex kolumna, aby móc dociągnąć podpis na dół i wycentrować treść */
.scts-testimonial-card {
  position: relative;
  background: var(--scts-card);
  border-radius: var(--scts-radius);
  padding: 28px clamp(18px, 2.6vw, 32px);
  isolation: isolate;
  height: 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 
              0 10px 30px rgba(4, 6, 24, 0.6);
  display: flex;
  flex-direction: column;
  border: solid 1px var(--scts-ring);
  min-height: 200px;
}

.scts-testimonial-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--scts-radius) + 1px);
  padding: 1px;
  background: var(--scts-ring);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.2;
  pointer-events: none;
}

/* Cytat: własne cudzysłowy przed/po tekście i centrowanie wertykalne */
.scts-quote {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.6;
  margin: 0;
  color: var(--scts-txt);
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.scts-quote::before,
.scts-quote::after {
  font-weight: 800;
  font-size: 1.6em;
  line-height: 0;
  position: relative;
}

.scts-quote::before {
  content: "\201C";
  color: var(--scts-accent1);
  margin-right: 0.35em;
  top: -2em;
}

.scts-quote::after {
  content: "\201D";
  color: var(--scts-accent2);
  margin-left: 0.35em;
  top: 2em;
}

.scts-person {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

.scts-name {
  font-weight: 700;
  font-size: 15px;
  color: #F0F3FF;
}

.scts-role {
  font-size: 13px;
  color: var(--scts-muted);
}

.scts-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.scts-swiper .swiper-button-prev,
.scts-swiper .swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  position: static;
  margin: 0;
  transform: none;
}

.scts-swiper .swiper-button-prev::after,
.scts-swiper .swiper-button-next::after {
  font-size: 16px;
  color: var(--scts-txt);
}

.scts-swiper .swiper-pagination {
  position: static;
  margin-top: 20px;
}

.scts-swiper .swiper-pagination-bullets .swiper-pagination-bullet {
  background: linear-gradient(90deg, var(--scts-accent1), var(--scts-accent2));
  opacity: 0.4;
  width: 12px;
  height: 12px;
  margin: 0 6px;
}

.scts-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.scts-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.scts-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Responsywność */
@media (max-width: 640px) {
  .scts-testimonial-card {
    padding: 24px 18px;
  }
  
  .scts-quote::before,
  .scts-quote::after {
    font-size: 1.4em;
  }
  
  .scts-wrap {
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .scts-testimonial-card {
    padding: 20px 16px;
    min-height: 180px;
  }
  
  .scts-quote {
    font-size: 16px;
  }
  
  .scts-name {
    font-size: 14px;
  }
  
  .scts-role {
    font-size: 12px;
  }
}

/* Animacje hover */
.scts-testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scts-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 
              0 20px 40px rgba(4, 6, 24, 0.8);
}

.scts-swiper .swiper-button-prev:hover,
.scts-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Wsparcie dla trybu ciemnego WordPress */
.wp-admin .scts-wrap {
  background: var(--scts-bg);
  border-radius: var(--scts-radius);
  padding: 20px;
}

/* Dodatkowe style dla długich tekstów */
.scts-swiper .swiper-slide.scts-double-width .scts-testimonial-card {
  min-height: 240px;
}

.scts-swiper .swiper-slide.scts-double-width .scts-quote {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
}