/* ================= TESTIMONIALS ================= */

.testimonials {
  border-radius: 22px;
  border: 1px solid rgba(23, 35, 66, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.t-wrap {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

.t-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding: 14px;
  border-bottom: 1px solid rgba(23, 35, 66, 0.08);
  background: linear-gradient(
    180deg,
    rgba(23, 35, 66, 0.03),
    rgba(255, 255, 255, 0)
  );
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(23, 35, 66, 0.12);
  background: rgba(23, 35, 66, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(254, 88, 98, 0.32);
  background: rgba(254, 88, 98, 0.1);
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

.t-item {
  flex: 0 0 33.333%;
  padding: 20px;
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 992px) {
  .t-item {
    flex: 0 0 50%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .t-item {
    flex: 0 0 100%;
  }
}

.t-item {
  flex: 0 0 100%;
  padding: 20px;
  box-sizing: border-box;
}

.quote {
  font-size: 16px;
  color: rgba(23, 35, 66, 0.88);
  margin-bottom: 12px;
}

.t-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 66, 0.1);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-name {
  font-weight: 900;
  color: var(--navy);
}

.t-role {
  color: var(--muted);
  font-size: 13px;
}

.logo-pill {
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(23, 35, 66, 0.06);
  border: 1px solid rgba(23, 35, 66, 0.1);
  font-size: 12px;
}

/* ================= CTA SECTION ================= */

.cta-geo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-box {
  background: rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: 18px;
}

.cta-box .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .cta-geo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .t-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-pill {
    margin-left: 0;
    margin-top: 8px;
  }

  .cta-geo-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-box .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Safety */
body {
  overflow-x: hidden;
}