/* Updated: 2026-02-03 */
/* Testimonios Section */
.testimonios-section {
  width: 100%;
  background: #f5f5f5;
  padding: 72px 40px;
}

.testimonios-badge {
  background: rgba(63, 174, 77, 0.15);
  border: 1px solid rgba(63, 174, 77, 0.3);
  color: #3fae4d;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.testimonios-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonios-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 8px;
  word-break: break-word;
  overflow: visible;
}

body.dark-theme .testimonios-title {
  color: #fff !important;
}

.testimonios-title .highlight {
  color: #3fae4d;
}

/* Testimonios Grid */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
  overflow: hidden;
}

.testimonios-card {
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-width: 0;
  overflow: hidden;
}

body.dark-theme .testimonios-card {
  background: var(--dark-bg3) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.testimonios-card:hover {
  border-color: #94a802c8;
  box-shadow: 0 8px 20px rgba(63, 174, 77, 0.15);
}

/* Comillas decorativas */
.testimonios-quote {
  font-size: 3.5rem;
  color: rgb(202, 188, 1);
  margin-bottom: -20px;
  line-height: 1;
  text-align: right;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.testimonios-quote i {
  display: block;
}

/* Rating stars */
.testimonios-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #d4a445;
}

.testimonios-rating i {
  color: #d4a445;
}

/* Testimonial text */
.testimonios-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  width: 100%;
}

body.dark-theme .testimonios-text {
  color: #ffffff !important;
}

/* Author section */
.testimonios-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

.testimonios-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3fae4d, #2d8a3b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonios-author-info {
  display: flex;
  flex-direction: column;
}

.testimonios-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

body.dark-theme .testimonios-author-name {
  color: #ffffff !important;
}

.testimonios-author-role {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.2;
}

body.dark-theme .testimonios-author-role {
  color: #b0bfd9 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonios-title {
    font-size: 2rem;
  }

  .testimonios-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .testimonios-card {
    padding: 32px 28px;
  }
}

@media (max-width: 768px) {
  .testimonios-section {
    padding: 48px 16px;
  }

  .testimonios-title {
    font-size: 1.75rem;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonios-card {
    padding: 28px 24px;
  }

  .testimonios-quote {
    font-size: 2rem;
  }
}

/* Testimonios Slider Styles */
.testimonios-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 10px;
}

.testimonios-slider-container .slider-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  min-width: 0;
}

.testimonios-slider-container .slider-track {
  display: flex !important;
  width: 100% !important;
  min-width: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonios-slider-container .slider-item {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.testimonios-slider-container .slider-item.active {
  opacity: 1;
}

.testimonios-slider-container .testimonios-card {
  height: 100%;
  margin: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-width: 0;
}

.testimonios-slider-container .testimonios-text {
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
}

.testimonios-slider-container .slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #112143;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-theme .testimonios-slider-container .slider-btn {
  background: var(--dark-bg3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

.testimonios-slider-container .slider-btn:hover {
  background: #8BD330;
  color: #fff;
  border-color: #8BD330;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .testimonios-slider-container {
    padding: 0;
    gap: 10px;
  }

  .testimonios-slider-container .slider-btn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .slider-btn-prev {
    left: -5px;
  }

  .slider-btn-next {
    right: -5px;
  }

  .testimonios-slider-container .slider-wrapper {
    margin: 0 35px;
  }
}

/* Modern Single Quote Section (Keeping for backward compatibility or different usage) */
.modern-quote-section {
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(141, 214, 48, 0.03) 0%, rgba(1, 92, 191, 0.05) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

body.dark-theme .modern-quote-section {
  background: #000c29;
}

.modern-quote-container {
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.modern-quote-icon {
  font-size: 10rem;
  color: rgba(141, 214, 48, 0.15);
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', serif;
  line-height: 1;
  pointer-events: none;
}

.modern-quote-text {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #112143;
  line-height: 1.25;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

body.dark-theme .modern-quote-text {
  color: #ffffff;
}

.modern-quote-metric-highlight {
  color: #8BD330;
  position: relative;
  display: inline-block;
}

.modern-quote-metric-highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(139, 211, 48, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.modern-quote-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.modern-quote-author {
  font-size: 1.2rem;
  font-weight: 700;
  color: #112143;
}

body.dark-theme .modern-quote-author {
  color: #8BD330;
}

.modern-quote-role {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

body.dark-theme .modern-quote-role {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .modern-quote-section {
    padding: 80px 0;
  }

  .modern-quote-icon {
    font-size: 6rem;
    top: -40px;
  }
}