
.testimonials-designed {
    background-color: #fff;
    padding: 60px 4%;
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}

/* --- 标题区域：紧凑布局 --- */
.testi-header {
    text-align: center;
    margin-bottom: 30px;
}

.tag-row-cm {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px; /* 紧凑间距 */
}

.star-icon {
    font-size: 16px;
    color: #003366;
}

/* 增加圆框背景样式 */
.tag-label-cm {
    font-size: 11px;
    font-weight: 800;
    color: #003366;
    letter-spacing: 1px;
    background-color: #e8f0fe; /* 浅蓝色背景 */
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

.display-title {
    font-size: 56px;
    font-weight: 900;
    color: #003366;
    margin: 0 0 10px; /* 紧贴副标题 */
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.lead-text {
    color: #666;
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- 网格区域：预留上浮空间 --- */
.testi-staggered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px; /* 预留空间防止上浮卡片遮挡文字 */
}

/* 基础卡片样式 */
.testi-item {
    padding: 50px 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.testi-item:hover {
    transform: translateY(-5px);
}

/* 深色卡片 */
.dark-card {
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.dark-card .rating { color: #f37321; }
.dark-card .testi-heading { color: #fff; }
.dark-card .testi-text { color: #bbb; }
.dark-card .author-box strong { color: #fff; }

/* 浅色卡片 */
.light-card {
    background: #f8f9fb;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.05); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.light-card .author-box {
    border-top-color: #f5f5f5;
}

.light-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
}

/* 交错效果 */
.staggered-up {
    transform: translateY(-50px);
}

.staggered-down {
    transform: translateY(50px);
}

/* 内部元素样式 */
.rating {
    font-size: 14px;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.testi-heading {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.testi-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.author-box {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.author-box strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.author-box span {
    display: block;
    font-size: 13px;
    color: #888;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .staggered-up, .staggered-down { transform: translateY(0); }
    .testi-staggered-grid { grid-template-columns: 1fr; margin-top: 40px; }
    .display-title { font-size: 42px; }
}
