/* ===== .ts-aftersales ===== */
/* ============================================
   售后服务模块 — 容器
   ============================================ */
.ts-aftersales-section {
    background: var(--bg);
}


@media (max-width: 991px) {
    .ts-aftersales-section {
        padding: 72px 0 80px;
    }
}

@media (max-width: 575px) {
    .ts-aftersales-section {
        padding: 56px 0 64px;
    }
}
/* ===== .ts-promise ===== */
/* ============================================
   服务承诺 — 三卡（无圆角、无边框，线性图标 + 时间徽章）
   ============================================ */
.ts-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.ts-promise-card {
    background: var(--white-color);
    padding: 2.5rem 2rem;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.ts-promise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 56px rgba(20, 24, 40, 0.10);
}
/* 图标容器：与业务合作页一致（60x60 浅渐变底 + 圆角） */
.ts-promise-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 76, 250, .1), rgba(59, 144, 244, .1));
    margin-bottom: 5rem;
}
.ts-promise-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: url(#coopGradient);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ts-promise-badge {
    position: absolute;
    right: -8px;
    bottom: -6px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: var(--blue);
    background: var(--white-color);
    padding: 3px 6px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(20, 24, 40, 0.10);
}
.ts-promise-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--title-color);
    margin: 0 0 12px;
    line-height: 1.4;
}
.ts-promise-desc {
    font-size: 1rem;
    color: var(--dark-light);
    line-height: 1.7;
    margin: 0;
}


@media (max-width: 991px) {
    .ts-promise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ts-promise-card {
        padding: 38px 30px;
    }
    .ts-promise-icon {
        margin-bottom: 32px;
    }
}

@media (max-width: 575px) {
    .ts-promise-card {
        padding: 30px 24px;
    }
    .ts-promise-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 28px;
    }
    .ts-promise-badge {
        font-size: 0.9375rem;
        padding: 3px 5px;
    }
}
/* ===== .ts-contact ===== */
/* ============================================
   售后联系 — 左图右渐变面板
   ============================================ */
.ts-contact-section {
    display: flex;
    height: 440px;
}
.ts-contact-image {
    flex: 1 1 55%;
    height: 100%;
    overflow: hidden;
}
.ts-contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ts-contact-panel {
    position: relative;
    flex: 1 1 45%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 64px;
    color: #fff;
    overflow: hidden;
}
/* X 形水印 */
.ts-contact-watermark {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 340px;
    height: 340px;
    pointer-events: none;
    z-index: 0;
}
.ts-contact-item {
    position: relative;
    z-index: 1;
}
.ts-contact-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.04em;
}
.ts-contact-value {
    display: block;
    font-size: clamp(1.375rem, 1rem + 1.2vw, 2.25rem);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ts-contact-value:hover {
    opacity: 0.8;
}


@media (max-width: 991px) {
    .ts-contact-section {
        height: auto;
        flex-direction: column;
    }
    .ts-contact-image {
        flex: none;
        height: 280px;
    }
    .ts-contact-panel {
        flex: none;
        height: auto;
        padding: 44px 40px;
    }
    .ts-contact-watermark {
        width: 260px;
        height: 260px;
        right: -40px;
        bottom: -40px;
    }
}

@media (max-width: 575px) {
    .ts-contact-image {
        height: 220px;
    }
    .ts-contact-panel {
        padding: 32px 24px;
    }
    .ts-contact-item {
        padding: 18px 0;
    }
    .ts-contact-watermark {
        width: 200px;
        height: 200px;
        right: -30px;
        bottom: -30px;
    }
}
/* ===== .ts-download ===== */
/* ============================================
   下载中心 — 文件列表
   ============================================ */
.ts-download-section {
    background: var(--bg);
}
.ts-download-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 840px;
    margin: 0 auto;
}
.ts-download-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 26px 32px;
    background: var(--white-color);
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.ts-download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(20, 24, 40, 0.08);
}
.ts-download-icon {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 76, 250, .1), rgba(59, 144, 244, .1));
}
.ts-download-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: url(#coopGradient);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ts-download-info {
    flex: 1 1 auto;
    min-width: 0;
}
.ts-download-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--title-color);
    margin: 0 0 6px;
    line-height: 1.35;
}
.ts-download-type {
    display: inline-block;
    font-size: 1rem;
    color: var(--dark-light);
    letter-spacing: 0.02em;
}
.ts-download-btn {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: #fff;
    font-size: 1.15rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ts-download-card:hover .ts-download-btn {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 144, 244, 0.35);
}
@media (max-width: 991px) {
    .ts-download-section {
        padding: 72px 0 80px;
    }
}


@media (max-width: 575px) {
    .ts-download-section {
        padding: 56px 0 64px;
    }
    .ts-download-card {
        gap: 16px;
        padding: 20px 18px;
    }
    .ts-download-icon {
        width: 50px;
        height: 50px;
    }
    .ts-download-icon svg {
        width: 26px;
        height: 26px;
    }
    .ts-download-name {
        font-size: 1.0625rem;
    }
    .ts-download-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}
/* ===== 全局响应式（跨组件整合） ===== */
/* ============================================
   响应式
   ============================================ */

@media (max-width: 991px) {
    .ts-section-head {
        margin-bottom: 44px;
    }
}

@media (max-width: 575px) {
    .ts-section-head {
        margin-bottom: 36px;
    }
}
