/* ============================================
   REVIEWS SECTION - STAIR & GLASS DESIGN
   ============================================ */

.reviews-section {
    padding: 80px 5%;
    background: var(--fondo);
}

.reviews-filters {
    display: flex;
    justify-content: center; /* Esto ya lo tienes, pero necesita espacio para actuar */
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
    width: 100%;             /* <--- AGREGA ESTO */
    text-align: center;      /* <--- AGREGA ESTO por seguridad */
}


.filter-review-btn {
    background: transparent;
    border: 1px solid var(--borde);
    color: var(--texto-gris);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-review-btn:hover,
.filter-review-btn.active {
    background: var(--oro);
    border-color: var(--oro);
    color: var(--fondo);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: transparent; /* Fondo limpio, sin el gris pesado */
    
    /* 1. Grosor de HILO: Siempre 1px, opacidad sutil (0.15) */
    border: 1px solid rgba(166, 145, 119, 0.15) !important;
    
    /* 2. Radio de precisión: 4px en lugar de 12px para más seriedad técnica */
    border-radius: 4px !important; 
    
    overflow: hidden;
    
    /* 3. Transición de SEDA: Forzamos 1000ms (1 segundo) */
    transition: border-color 1000ms cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1000ms cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 1000ms cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.review-card:hover {
    /* 4. Iluminación Oro Viejo: Sin engrosar la línea */
    border-color: rgba(166, 145, 119, 0.6) !important;
    
    /* Elevación mínima elegante */
    transform: translateY(-5px) !important;
    
    /* Sombra profunda para que la card "flote" */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
}

.review-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.review-body {
    padding: 1.5rem;
}

.review-stars {
    color: #a69177 !important; /* Tu nuevo Oro Viejo */
    margin-bottom: 0.5rem;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-stars i {
    margin-right: 2px;
}

.review-text {
    color: var(--blanco);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #7a7a7a;
    font-size: 0.75rem;
    border-top: 1px solid rgba(166, 145, 119, 0.15) !important;
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.review-location i,
.review-date i {
    margin-right: 4px;
}

.review-name {
    color: #a69177 !important; /* Tu nuevo Oro Viejo */
    font-weight: 600;
}

.reviews-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-load-more,
.btn-view-all {
    padding: 0.8rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    border-radius: 40px;
    font-size: 0.85rem;
}

.btn-load-more {
    background: transparent;
    border: 1px solid var(--oro);
    color: var(--oro);
}

.btn-load-more:hover {
    background: var(--oro);
    color: var(--fondo);
    transform: translateY(-2px);
}

.btn-view-all {
    background: var(--oro);
    color: var(--fondo);
}

.btn-view-all:hover {
    background: var(--oro-oscuro);
    transform: translateY(-2px);
}

.reviews-empty {
    text-align: center;
    padding: 4rem;
    color: var(--texto-gris);
}

.reviews-empty i {
    font-size: 3rem;
    color: var(--oro);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.reviews-loading {
    text-align: center;
    padding: 3rem;
}

.reviews-loading i {
    font-size: 2rem;
    color: var(--oro);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-review-badge {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--borde);
}

.footer-review-stars {
    color: var(--oro);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.footer-review-text {
    font-size: 0.7rem;
    color: var(--texto-gris);
}

.footer-review-text a {
    color: var(--oro);
    text-decoration: none;
}

.footer-review-text a:hover {
    text-decoration: underline;
}

.footer-featured-review {
    margin-top: 0.8rem;
    font-size: 0.7rem;
    color: var(--texto-gris);
    font-style: italic;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .reviews-filters {
        gap: 0.5rem;
    }
    
    .filter-review-btn {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
    
    .reviews-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-load-more,
    .btn-view-all {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .review-image {
        height: 180px;
    }
    
    .review-body {
        padding: 1rem;
    }
}