.feedback-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.feedback-wrapper {
    position: relative;
    overflow: hidden;
}


.feedback-track {
    display: flex;
    transition: transform 0.6s ease, opacity 0.4s ease;
    will-change: transform, opacity;
}

.feedback-track.fade {
    opacity: 0.2;
}

/* Cada tarjeta */
.feedback-card {
    flex: 0 0 33.333%;
    box-sizing: border-box;
    padding: 1.5rem;
    transition: transform 4s ease;
}

.feedback-card-inner {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Hover sutil desktop */
@media (hover: hover) {
    .feedback-card-inner:hover {
        transform: translateY(-4px);
    }
}

/* Texto */
.fb-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Autor */
.fb-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Estrellas */
.fb-stars {
    color: #f4b400;
    margin-top: 0.5rem;
}

/* Fecha */
.fb-date {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.5rem;
}

/* Flechas */
.feedback-prev,
.feedback-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.feedback-prev { left: 0; }
.feedback-next { right: 0; }

/* Dots */
.feedback-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.feedback-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.feedback-dots span.active {
    background: #333;
}

/* Contador */
.feedback-counter {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .feedback-card { flex: 0 0 50%; }
}

@media (max-width: 600px) {
    .feedback-card { flex: 0 0 100%; }
}

/* Feedback destacado */
.fb-featured .feedback-card-inner {
    border: 2px solid #f4c430;
    background: linear-gradient(180deg, #fffaf0, #ffffff);
}

/* Estilo para el encabezado del feedback (fb_subject) */
.feedback-card .fb-subject {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Para diferenciarlo un poco más */
.feedback-card .fb-subject strong {
    color: #FF6633; /* O el color que prefieras */
}


/* Texto */
.fb-text {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    transition: max-height 0.4s ease;
}

/* Enlace leer más */
.fb-toggle {
    display: inline-block;
    font-size: 0.9rem;
    color: #c0392b;
    cursor: pointer;
    margin-bottom: 1rem;
    text-decoration: none;
}

.fb-toggle:hover {
    text-decoration: underline;
}

/* Animación expansión */
.feedback-card-inner.expanded {
    transform: scale(1.02);
}

/* Estrellas */
.fb-stars {
    color: #f4c430;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
