/* public/css/support.css */

/* ========== 服务与支持 + 高端定制服务（合并模块） ========== */
.support-hero-section {
    position: relative;
    overflow: hidden;
}

.support-hero-bg-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: #fff;
    z-index: 0;
}

.support-hero-bg-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: #f0f0f0;
    z-index: 0;
}

.support-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

/* 标题区 */
.support-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.support-hero-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-title-bar {
    width: 6px;
    height: 40px;
    background: #b71c1c;
    flex-shrink: 0;
}

.support-title-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #b71c1c;
    margin-bottom: 2px;
}

.support-title-text p {
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
}

.support-title-link {
    font-size: 16px;
    color: #b71c1c;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.support-title-link:hover {
    color: #d32f2f;
}

.support-hero-divider {
    height: 1px;
    background: #ddd;
    margin-bottom: 60px;
}

/* 内容区 */
.support-hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.support-hero-text {
    flex-shrink: 0;
    width: 320px;
}

.support-hero-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.support-hero-text h3 span {
    color: #b71c1c;
}

.support-hero-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.support-hero-dot-line {
    display: flex;
    align-items: center;
}

.support-hero-dot-line img {
    height: 20px;
    object-fit: contain;
}

.support-hero-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #b71c1c;
    opacity: 0.3;
    flex-shrink: 0;
    position: relative;
}

.support-hero-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b71c1c;
}

.support-hero-line {
    width: 80px;
    height: 2px;
    background: #b71c1c;
    opacity: 0.3;
    position: relative;
}

.support-hero-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid rgba(183, 28, 28, 0.3);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.support-hero-image {
    flex: 1;
    position: relative;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.support-hero-image-bar {
    position: absolute;
    left: -16px;
    top: -16px;
    bottom: -16px;
    width: 16px;
    background: #b71c1c;
    z-index: 1;
}

.support-hero-image-bar::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 16px;
    background: #b71c1c;
}

.support-hero-image img {
    max-width: 900px;
    width: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

/* ========== 赛福设备—定制服务流程 ========== */
.support-process-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: #fff;
}

.support-process-bg-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: #b71c1c;
    z-index: 0;
}

.support-process-inner {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.support-process-title {
    text-align: right;
    margin-bottom: 50px;
    padding-right: 60px;
}

.support-process-title h3 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

.support-process-title h3 span {
    color: #b71c1c;
}

.support-process-title-line {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
}

.process-title-arrow {
    height: 20px;
    object-fit: contain;
    transform: scaleX(-1);
}

.support-process-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.support-process-swiper {
    padding-bottom: 50px;
}

.support-process-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.process-card {
    background: #f0f0f0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    display: flex;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.process-card-inner {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.process-card-inner h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
    display: inline-block;
}

.process-card-img {
    width: 100%;
    height: 160px;
    margin-bottom: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.process-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-card-inner p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    text-align: left;
    flex: 1;
}

/* Swiper 分页器样式 */
.support-process-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s;
}

.support-process-swiper .swiper-pagination-bullet-active {
    background: #b71c1c;
    width: 24px;
    border-radius: 5px;
}

/* ========== 技术互动 ========== */
.support-qa-section {
    padding: 80px 40px;
    background: #fff;
}

.support-qa-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 0;
}

.support-qa-left {
    flex-shrink: 0;
    width: 260px;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
}

.support-qa-title h3 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.support-qa-title-line {
    width: 60px;
    height: 3px;
    background: #b71c1c;
}

.support-qa-right {
    flex: 1;
    display: flex;
    gap: 0;
}

.qa-block {
    flex: 1;
    padding: 40px 30px;
}

.qa-block-light {
    background: #f5f5f5;
}

.qa-block-dark {
    background: #b71c1c;
    color: #fff;
}

.qa-block h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.5;
}

.qa-block-dark h4 {
    color: #fff;
}

.qa-block p {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.qa-block-dark p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== 日常保护保养计划表 ========== */
.support-table-section {
    padding: 60px 40px;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
    background: url("/public/static/img/support/bj1.png");
}

.support-table-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(183, 28, 28, 0.05) 100%);
    pointer-events: none;
}

.support-table-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.support-table-content {
    flex: 1;
}

.support-table-title {
    flex-shrink: 0;
    width: 300px;
    text-align: center;
}

.support-table-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.support-table-title h3 span {
    color: #b71c1c;
}

.support-table-title-line {
    width: 60px;
    height: 3px;
    background: #b71c1c;
    margin: 0 auto;
}

.support-table-title-left {
    text-align: left;
}

.support-table-title-left .support-table-title-line {
    margin: 0;
}

/* ========== 一年后的建议 ========== */
.support-table-section-alt {
    background: url("/public/static/img/support/bj2.png");
}

.support-table-section-alt::before {
    /*background: linear-gradient(135deg, rgba(183, 28, 28, 0.03) 0%, transparent 100%);*/
}

/* ========== 维护表格 ========== */
.maintenance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.maintenance-table thead th {
    background: #b71c1c;
    color: #fff;
    padding: 12px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #a01818;
}

.maintenance-table thead th:first-child {
    width: 40px;
}

.maintenance-table tbody td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
    color: #555;
    line-height: 1.6;
}

.maintenance-table tbody td:first-child {
    text-align: center;
    font-weight: 600;
    width: 40px;
}

.maintenance-table tbody td img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.maintenance-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.maintenance-table tbody tr:hover {
    background: #f0f0f0;
}

/* ========== 响应式 ========== */

/* 平板及以下 ≤1200px */
@media screen and (max-width: 1200px) {
    .support-hero-inner,
    .support-process-section,
    .support-qa-section,
    .support-table-section {
        padding-left: 30px;
        padding-right: 30px;
    }

    .support-hero-content {
        gap: 40px;
    }
}

/* 平板竖屏 ≤992px */
@media screen and (max-width: 992px) {
    .support-hero-bg-left {
        width: 100%;
    }

    .support-hero-bg-right {
        display: none;
    }

    .support-hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .support-hero-text {
        width: 100%;
        text-align: center;
    }

    .support-hero-dot-line {
        justify-content: center;
    }

    .support-hero-image-bar {
        display: none;
    }

    .support-qa-inner {
        flex-direction: column;
    }

    .support-qa-left {
        width: 100%;
        padding-top: 0;
        margin-bottom: 30px;
    }

    .support-qa-right {
        flex-direction: column;
    }

    .support-table-inner {
        flex-direction: column;
        gap: 30px;
    }

    .support-table-title {
        width: 100%;
        text-align: center;
    }

    .support-table-title-left {
        text-align: center;
    }

    .support-table-title-left .support-table-title-line {
        margin: 0 auto;
    }

    .support-process-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机横屏 ≤768px */
@media screen and (max-width: 768px) {
    .support-hero-inner,
    .support-process-section,
    .support-qa-section,
    .support-table-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .support-hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .support-title-text h2 {
        font-size: 22px;
    }

    .support-hero-text h3,
    .support-process-title h3,
    .support-qa-title h3,
    .support-table-title h3 {
        font-size: 20px;
    }

    .support-process-cards {
        grid-template-columns: 1fr;
    }

    .maintenance-table {
        font-size: 12px;
    }

    .maintenance-table thead th {
        padding: 8px 6px;
        font-size: 12px;
    }

    .maintenance-table tbody td {
        padding: 8px 6px;
    }

    .maintenance-table tbody td img {
        width: 60px;
        height: 45px;
    }
}

/* 手机竖屏 ≤480px */
@media screen and (max-width: 480px) {
    .support-title-text h2 {
        font-size: 20px;
    }

    .support-hero-text h3,
    .support-process-title h3,
    .support-qa-title h3,
    .support-table-title h3 {
        font-size: 18px;
    }

    .qa-block {
        padding: 24px 16px;
    }

    .qa-block h4 {
        font-size: 16px;
    }

    .qa-block p {
        font-size: 13px;
    }

    .maintenance-table {
        display: block;
        overflow-x: auto;
    }
}