/* ==============================================================
   RESEÑAS DE GOOGLE Y TESTIMONIOS - CLÍNICA JANDJ
   Componente reutilizable para prueba social
   ============================================================== */

.google-reviews-wrap {
    background: #f8fafc;
    padding: 55px 0 65px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.google-header-badge {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
}

.google-g-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.google-score-text {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.google-stars-gold {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
    margin-left: 8px;
}

.reviews-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.reviews-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 35px auto;
}

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.review-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
    max-width: 360px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.review-user-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.review-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #409FB1 0%, #2b7a89 100%);
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.review-user-name {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
    line-height: 1.2;
}

.review-user-badge {
    font-size: 12px;
    color: #047857;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.review-stars-row {
    color: #d97706;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.review-text-body {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.55;
    margin-bottom: 12px;
}

.review-date-foot {
    font-size: 12px;
    color: #475569;
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-date-foot span:first-child {
    font-weight: 600;
    color: #0f172a;
}

.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
    padding: 11px 26px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.btn-google-reviews:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
    text-decoration: none;
}

@media (max-width: 991px) {
    .review-card-item {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 650px) {
    .review-card-item {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: 0;
    }

    .reviews-main-title {
        font-size: 24px;
    }
}
