#testimonios {
    background-color: var(--bg-light);
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 0;
  }
  
  #testimonios-title {
    font-size: 2.5rem;
    font-family: var(--font-base);
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
  }
  
  #testimonios-subtitle {
    font-size: 1.2rem;
    font-family: var(--font-base);
    color: var(--text-color);
    opacity: 0;
    margin-bottom: 1rem;
    transform: translateY(-10px);
    transition: all 0.6s ease;
  }
  
  #testimonios-title.show, #testimonios-subtitle.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .testimonio-card {
    perspective: 1000px;
    margin-bottom: 2rem;
    cursor: pointer;
  }
  
  .testimonio-inner {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
  }
  
  /* ONLY flip when .flipped class is added manually */
  .testimonio-card.flipped .testimonio-inner {
    transform: rotateY(180deg);
  }
  
  .testimonio-front, .testimonio-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-base);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .testimonio-front {
    background: transparent;
    box-shadow: none;
  }
  
  .testimonio-front img {
    width: 100px; /* Bigger image */
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
  }
  
  .testimonio-front p {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
  }
  
  .testimonio-back {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transform: rotateY(180deg);
  }
  
  .testimonio-back p {
    font-size: 1rem;
    color: var(--text-color);
    text-align: center;
  }
  
  @media (min-width: 768px) {
    #testimonios-title {
      font-size: 3rem;
    }
    #testimonios-subtitle {
      font-size: 1.4rem;
    }
  }
  