/* === RESEÑAS: Sección premium para Google Reviews plugin === */
.niz-resenas {
    position: relative;
    padding: 120px 0;
    background-color: #06130f;
    background-image:
        linear-gradient(180deg, rgba(5,5,5,0.88) 0%, rgba(6,19,15,0.84) 48%, rgba(5,5,5,0.94) 100%),
        url('../../img/niz-botanical-pattern.svg');
    background-position: center, center top;
    background-repeat: no-repeat, repeat;
    background-size: cover, 520px auto;
    overflow: hidden;
}

.niz-resenas::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,5,5,0.82) 0%, rgba(5,5,5,0.26) 48%, rgba(5,5,5,0.86) 100%),
        linear-gradient(180deg, rgba(5,5,5,0.42) 0%, transparent 38%, rgba(5,5,5,0.72) 100%);
    pointer-events: none;
    z-index: 0;
}

.niz-resenas::after {
    content: 'NIZ';
    position: absolute;
    right: -0.06em;
    bottom: -0.16em;
    color: rgba(255,255,255,0.025);
    font-family: var(--font-display);
    font-size: 14rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

.niz-resenas-content {
    position: relative;
    z-index: 2;
}

.niz-resenas .niz-section-title {
    color: var(--niz-white);
}

/* Estilizar el plugin de Google Reviews */
.niz-resenas-plugin {
    max-width: 1000px;
    margin: 0 auto;
}

/* Override estilos del plugin embedder-for-google-reviews */
.niz-resenas-plugin .jejereviews-wrap {
    background: transparent !important;
}

.niz-resenas-plugin .jejereviews-review {
    background: rgba(5,10,8,0.74) !important;
    border: 1px solid var(--niz-glass-border) !important;
    border-radius: var(--niz-radius-sm) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    transition: var(--niz-transition) !important;
    padding: 28px !important;
}

.niz-resenas-plugin .jejereviews-review:hover {
    border-color: rgba(207,129,77,0.2) !important;
    transform: translateY(-4px) !important;
    box-shadow: var(--niz-shadow-md) !important;
}

.niz-resenas-plugin .jejereviews-review-text {
    color: rgba(255,255,255,0.8) !important;
    font-family: var(--font-primary) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    font-style: normal !important;
}

.niz-resenas-plugin .jejereviews-review-author {
    color: var(--niz-primary) !important;
    font-family: var(--font-primary) !important;
    font-weight: 600 !important;
}

.niz-resenas-plugin .jejereviews-stars {
    color: #F5B301 !important;
}

.niz-resenas-plugin .jejereviews-place-info {
    background: rgba(5,10,8,0.78) !important;
    border: 1px solid var(--niz-glass-border) !important;
    border-radius: var(--niz-radius-sm) !important;
    padding: 24px !important;
    margin-bottom: 2rem !important;
}

.niz-resenas-plugin .jejereviews-place-name {
    color: var(--niz-white) !important;
    font-family: var(--font-primary) !important;
}

.niz-resenas-plugin .jejereviews-place-rating {
    color: var(--niz-primary) !important;
}

/* Texto de puntuación global y cantidad de reseñas — forzar blanco */
.niz-resenas-plugin .jejereviews-place-rating-count,
.niz-resenas-plugin .jejereviews-place-rating-text,
.niz-resenas-plugin [class*="jejereviews-place"] p,
.niz-resenas-plugin [class*="jejereviews-place"] span,
.niz-resenas-plugin [class*="rating-count"],
.niz-resenas-plugin [class*="review-count"],
.niz-resenas-plugin [class*="total-review"] {
    color: rgba(255,255,255,0.85) !important;
}

/* Fallback cards (si el plugin no está activo) */
.niz-resenas-fallback {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 2rem;
}

.niz-resena-card {
    background: rgba(5,10,8,0.74);
    border: 1px solid var(--niz-glass-border);
    padding: 32px 28px;
    border-radius: var(--niz-radius-sm);
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--niz-transition);
    position: relative;
}

.niz-resena-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    color: rgba(207,129,77,0.1);
    font-family: var(--font-display);
    line-height: 1;
}

.niz-resena-card:hover {
    transform: translateY(-4px);
    border-color: rgba(207,129,77,0.2);
    box-shadow: var(--niz-shadow-md);
}

.niz-stars {
    color: #F5B301;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .niz-resenas {
        padding: 90px 0;
        background-size: cover, 380px auto;
    }

    .niz-resenas::after {
        font-size: 8rem;
    }
}

.niz-resena-card p {
    font-style: normal;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

.niz-resena-card strong {
    color: var(--niz-primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.niz-resenas-cta {
    text-align: center;
    margin-top: 3rem;
}
