/**
 * 客户评价页面样式
 * 
 * @package MTO Moving
 * @since 1.0.0
 */

/* ====================================
   Hero区域 + 统计数据
   ==================================== */
/* Hero区域样式已移至 style.css 的 .page-hero */

/* Google评价CTA */
.google-review-cta {
    text-align: center;
    padding: 32px;
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.google-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

.google-text svg {
    color: #4285f4;
    flex-shrink: 0;
}

.google-text strong {
    color: #f39c12;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #4285f4;
    color: #ffffff;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(66,133,244,0.3);
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: #357ae8;
    box-shadow: 0 6px 16px rgba(66,133,244,0.4);
    transform: translateY(-2px);
}


/* ====================================
   评价列表
   ==================================== */
.reviews-list {
    padding: 60px 0;
    background: #ffffff;
}

/* 瀑布流布局 */
.reviews-grid {
    column-count: 3;
    column-gap: 32px;
    margin-bottom: 48px;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 32px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.review-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: #2c5f8d;
}

.review-card.featured {
    border: 2px solid #f39c12;
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f39c12;
    color: #ffffff;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(243,156,18,0.3);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.customer-info {
    display: flex;
    gap: 12px;
}

.customer-avatar,
.customer-avatar-default {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-avatar-default {
    background: linear-gradient(135deg, #2c5f8d 0%, #4a90c5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.customer-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.customer-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #777777;
    margin: 0;
}

.customer-location svg {
    flex-shrink: 0;
}

.review-rating {
    font-size: 20px;
}

.review-rating .star.filled {
    color: #f39c12;
}

.review-rating .star.empty {
    color: #e0e0e0;
}

.review-content {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 16px;
}

.review-content p:last-child {
    margin-bottom: 0;
}

.review-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.review-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #777777;
}

/* 暂无评价 */
.no-reviews {
    text-align: center;
    padding: 80px 20px;
}

.no-reviews svg {
    color: #e0e0e0;
    margin-bottom: 24px;
}

.no-reviews h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.no-reviews p {
    font-size: 16px;
    color: #777777;
    margin: 0 0 32px 0;
}

/* 分页 */
.reviews-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.reviews-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    color: #555555;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reviews-pagination .page-numbers:hover {
    background: #2c5f8d;
    border-color: #2c5f8d;
    color: #ffffff;
}

.reviews-pagination .page-numbers.current {
    background: #2c5f8d;
    border-color: #2c5f8d;
    color: #ffffff;
}

.reviews-pagination .page-numbers.dots {
    border: none;
    background: none;
}

/* ====================================
   转化CTA区域
   ==================================== */
.reviews-conversion {
    padding: 80px 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #ffffff 100%);
}

.conversion-box {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
}

.conversion-content {
    padding: 48px;
    text-align: center;
}

.conversion-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 16px 0;
}

.conversion-text {
    font-size: 18px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.conversion-text strong {
    color: #f39c12;
    font-weight: 700;
}

.conversion-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
}

.conversion-wechat {
    text-align: center;
}

.wechat-qr {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 8px;
}

.conversion-wechat p {
    font-size: 14px;
    color: #777777;
    margin: 0;
}

.conversion-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.trust-item svg {
    color: #f39c12;
}

/* ====================================
   按钮样式
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* .btn-primary 样式已移至全局 css/style.css */

.btn-secondary {
    background: transparent;
    color: #2c5f8d;
    border: 2px solid #2c5f8d;
}

.btn-secondary:hover {
    background: #2c5f8d;
    color: #ffffff;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 20px;
}

/* ====================================
   响应式设计 - 平板
   ==================================== */
@media (max-width: 1024px) {
    .reviews-stats-simple {
        padding: 32px;
    }

    .reviews-grid {
        column-count: 2;
        column-gap: 24px;
    }
    
    .review-card {
        margin-bottom: 24px;
    }

    .conversion-actions {
        flex-direction: column;
        gap: 24px;
    }

    .conversion-trust {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* ====================================
   响应式设计 - 移动端
   ==================================== */
@media (max-width: 768px) {
    .reviews-hero {
        padding: 60px 0 40px;
    }

    .reviews-hero-title {
        font-size: 32px;
    }

    .reviews-hero-subtitle {
        font-size: 18px;
    }

    .reviews-stats-simple {
        padding: 24px;
    }

    .rating-number {
        font-size: 56px;
    }

    .rating-stars {
        font-size: 24px;
    }

    .google-review-cta {
        padding: 24px;
    }

    .google-text {
        font-size: 16px;
        flex-direction: column;
        text-align: center;
    }

    .reviews-list {
        padding: 40px 0;
    }

    .reviews-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .review-card {
        margin-bottom: 20px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .review-rating {
        font-size: 18px;
    }


    .reviews-pagination {
        flex-wrap: wrap;
    }

    .reviews-pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .reviews-conversion {
        padding: 60px 0;
    }

    .conversion-content {
        padding: 32px 20px;
    }

    .conversion-title {
        font-size: 28px;
    }

    .conversion-text {
        font-size: 16px;
    }

    .btn-lg {
        width: 100%;
        font-size: 18px;
    }

    .conversion-trust {
        flex-direction: column;
        gap: 16px;
    }
}

/* ====================================
   响应式设计 - 小屏手机
   ==================================== */
@media (max-width: 480px) {
    .reviews-hero-title {
        font-size: 28px;
    }

    .reviews-hero-subtitle {
        font-size: 16px;
    }

    .rating-number {
        font-size: 48px;
    }

    .google-text {
        font-size: 15px;
    }

    .btn-google {
        font-size: 16px;
        padding: 12px 24px;
    }

    .conversion-title {
        font-size: 24px;
    }

    .conversion-text {
        font-size: 15px;
    }

    .wechat-qr {
        width: 100px;
        height: 100px;
    }
}

/* ====================================
   动画效果
   ==================================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-card {
    animation: slideUp 0.5s ease-out;
    animation-fill-mode: both;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }

