/* =============================================================
   TiCi Technologies — testimonials + client logos
   Same visual language as the "Why TiCi" proof cards:
   near-black section, glass cards, purple highlight, lime accents.
   ============================================================= */
.tc-testimonials {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #070612;
  color: #fff;
  padding: 110px 0 100px;
}
.tc-testimonials__glow {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.tc-testimonials__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.tc-testimonials__head h2 {
  margin: 0;
}
.tc-testimonials__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.tc-testimonials__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(166, 128, 241, 0.6);
  background: rgba(166, 128, 241, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.tc-testimonials__btn:hover { background: #a680f1; transform: translateY(-2px); }
.tc-testimonials__btn:focus-visible { outline: 2px solid #c8f560; outline-offset: 3px; }
.tc-testimonials__btn.swiper-button-disabled { opacity: 0.35; cursor: default; transform: none; }

.tc-testimonials__slider { overflow: hidden; padding-bottom: 46px; }
.tc-testimonials__slider .swiper-slide { height: auto; }

.tc-testimonial-card {
  height: 100%;
  margin: 0;
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.tc-testimonial-card:hover {
  border-color: rgba(166, 128, 241, 0.45);
  transform: translateY(-4px);
}
.tc-testimonial-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tc-testimonial-card__mark {
  font-size: 28px;
  color: #a680f1;
}
.tc-testimonial-card__stars { color: #c8f560; font-size: 13px; letter-spacing: 2px; }
.tc-testimonial-card blockquote {
  flex: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}
.tc-testimonial-card__project,
.tc-testimonial-card__project a {
  font-size: 13px !important;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #c8f560;
}
.tc-testimonial-card__project a { text-decoration: none; }
.tc-testimonial-card__project a:hover { text-decoration: underline; }
.tc-testimonial-card__project i { font-size: 10px; margin-left: 4px; }
.tc-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tc-testimonial-card__author img,
.tc-testimonial-card__initials {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  object-fit: cover;
}
.tc-testimonial-card__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7c4dff, #a680f1);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
.tc-testimonial-card__author strong { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.tc-testimonial-card__author small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 13px; margin-top: 2px; }

.tc-testimonials__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}
.tc-testimonials__pagination .swiper-pagination-bullet { background: rgba(255, 255, 255, 0.4); opacity: 1; }
.tc-testimonials__pagination .swiper-pagination-bullet-active { background: #a680f1; width: 22px; border-radius: 6px; }

/* ---------- Client logos ---------- */
.tc-logos {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tc-logos__label {
  text-align: center;
  margin: 0 0 26px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.tc-logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tc-logos__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: tcLogosScroll 40s linear infinite;
}
.tc-logos__viewport:hover .tc-logos__track { animation-play-state: paused; }
.tc-logos__track--static {
  width: auto;
  justify-content: center;
  flex-wrap: wrap;
  animation: none;
}
.tc-logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-width: 110px;
}
.tc-logos__item img {
  max-height: 48px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6) contrast(0.9);
  opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.tc-logos__item:hover img { filter: none; opacity: 1; }
@keyframes tcLogosScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Compact quote beside forms ---------- */
.tc-quote-compact {
  margin: 24px 0 0;
  padding: 22px 22px 18px;
  border-radius: 16px;
  border: 1px solid rgba(166, 128, 241, 0.3);
  background: rgba(124, 77, 255, 0.08);
  text-align: left;
}
.tc-quote-compact__mark { color: #a680f1; font-size: 20px; }
.tc-quote-compact blockquote {
  margin: 10px 0 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}
.tc-quote-compact figcaption strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.tc-quote-compact figcaption span { display: block; color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .tc-testimonials { padding: 80px 0 76px; }
}
@media (max-width: 767px) {
  .tc-testimonials { padding: 64px 0 60px; }
  .tc-testimonials .container { padding-left: 16px; padding-right: 16px; }
  .tc-testimonials__head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .tc-testimonials__nav { display: none; }
  .tc-testimonial-card { padding: 24px 20px 20px; }
  .tc-testimonial-card blockquote { font-size: 15px; }
  .tc-logos { margin-top: 40px; padding-top: 30px; }
  .tc-logos__track { gap: 36px; animation-duration: 28s; }
  .tc-logos__item img { max-height: 38px; max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .tc-logos__item[aria-hidden="true"] { display: none; }
  .tc-testimonial-card, .tc-testimonials__btn { transition: none; }
}

/* Inside the sticky form box on service/product pages: keep the box shorter than the screen */
.lead-form-embed .tc-quote-compact { margin-top: 20px; padding: 18px 18px 14px; }
.lead-form-embed .tc-quote-compact blockquote { font-size: 13.5px; margin: 8px 0 10px; }
@media (min-width: 992px) and (max-height: 949px) {
  .lead-form-embed .tc-quote-compact { display: none; }
}
