/* Service Page Styles */

/* Banner */
.sv-banner {
    margin-top: 80px;
    width: 100%;
    overflow: hidden;
}

.sv-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Process Section - Timeline */
.sv-process {
    padding: 95px 0 100px;
}

.sv-process-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sv-process > .container:nth-child(2) .sv-process-row {
    margin-top: 90px;
}

.sv-process-step {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sv-process-img {
    width: clamp(200px, 22vw, 422px);
    height: auto;
    display: block;
}

.sv-process-card {
    width: clamp(200px, 16.3vw, 313px);
    aspect-ratio: 313 / 349;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    text-align: center;
    flex-shrink: 0;
    padding: 0 20px;
    background: #F4F4F6;
    position: relative;
}

.sv-process-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(50% - 5px) ;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-top: 2px solid #F4F4F6;
    border-right: 2px solid #F4F4F6;
    transform: translateY(-50%) rotate(-45deg);
    background: #F4F4F6;
}

.sv-process-card-down::after{
    bottom: -12px;
    top: unset;
}

.sv-process-card:hover,
.sv-process-card.is-active{
    background: linear-gradient(180deg, #3492F6 0%, #0470E4 100%);
    border: none;
}

.sv-process-card-down:hover,
.sv-process-card-down.is-active{
    background: linear-gradient(180deg, #0470E4 0%, #3492F6 100%);
    border: none;
}

.sv-process-card:hover:after,
.sv-process-card.is-active:after {
    background:#3492F6;
    border-color: #3492F6;
}

.sv-process-card:hover h3,
.sv-process-card:hover  p,
.sv-process-card.is-active h3,
.sv-process-card.is-active p {
    color: #fff;
}

.sv-process-card:hover  .sv-process-bar,
.sv-process-card.is-active .sv-process-bar {
    background: #fff;
}

.sv-process-card h3 {
    font-size: clamp(20px, 1.8vw, 35px);
    font-weight: 600;
    color: #333;
}

.sv-process-bar {
    width: 84px;
    height: 6px;
    background: #61bbff;
    border-radius: 3px;
    margin: clamp(24px, 2.3vw, 45px) 0;
}

.sv-process-card p {
    font-size: clamp(14px, 1.5vw, 28px);
    color: #333;
    line-height: 1.6;
}

.sv-process-connector {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 9px;
    background: #EBECF0;
    position: relative;
    margin: 30px 0;
}



.sv-process-connector-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.sv-process-mobile {
    display: none;
}

.sv-process-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #EBECF0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.sv-process-card .sv-process-dot {
    top: -50px;
}

.sv-process-card-down .sv-process-dot {
    top: auto;
    bottom: -50px;
}

.sv-process-card:hover .sv-process-dot,
.sv-process-card.is-active .sv-process-dot {
    width: 34px;
    height: 34px;
    top: -52px;
    background: linear-gradient(to right, #0062EB, #2F8EF4);
}

.sv-process-card-down:hover .sv-process-dot,
.sv-process-card-down.is-active .sv-process-dot {
    top: auto;
    bottom: -52px;
}

/* Presale Section */
.sv-presale {
    padding: 80px 0 0;
}

.sv-presale-bg {
    background: url(../images/service/support_bg.png) center/cover no-repeat;
    padding: 20px 0 20px;
    margin-top: 50px;
}

.sv-presale-bg .container {
    max-width: 1820px;
    padding: 0 8px;
}

.sv-presale-grid {
    display: flex;
    justify-content: space-between;
    gap: clamp(16px, 1.2vw, 24px);
}

.sv-presale-card {
    width: clamp(260px, 22.5vw, 436px);
    background: #fff;
    border-radius: 37px;
    padding: clamp(38px, 2.9vw, 56px) clamp(26px, 2.3vw, 44px) clamp(96px, 9.2vw, 176px);
    text-align: center;
    flex-shrink: 0;
}

.sv-presale-card img {
    width: clamp(190px, 17vw, 328px);
    height: auto;
    display: block;
    margin: 0 auto;
}

.sv-presale-card h3 {
    font-size: clamp(18px, 1.8vw, 35px);
    font-weight: 600;
    color: #333;
    margin-top: clamp(10px, 0.8vw, 16px);
}

.sv-presale-bar {
    width: 84px;
    height: 6px;
    background: #61bbff;
    border-radius: 3px;
    margin: clamp(24px, 2.3vw, 44px) auto;
}

.sv-presale-card p {
    font-size: clamp(14px, 1.5vw, 28px);
    color: #333;
    line-height: 1.6;
}

.sv-presale-card:hover{
    background: linear-gradient(180deg, #1a3fb7 0%, #2563c9 100%);
}

.sv-presale-card:hover h3,
.sv-presale-card:hover p {
    color: #fff;
}

.sv-presale-card:hover .sv-presale-bar {
    background: #61bbff;
}

/* Delivery Section */
.sv-delivery {
    padding: 80px 0 114px;
}

.sv-delivery-content {
    display: flex;
    align-items: center;
    gap: clamp(40px, 4vw, 80px);
    margin-top: 50px;
}

.sv-delivery-image {
    flex-shrink: 0;
    width: clamp(360px, 40.6vw, 780px);
}

.sv-delivery-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.sv-delivery-text {
    flex: 1;
    min-width: 0;
}

.sv-delivery-text h3 {
    font-size: clamp(24px, 2.1vw, 40px);
    font-weight: 600;
    color: #333;
    margin-bottom: clamp(24px, 2.3vw, 45px);
}

.sv-delivery-text p {
    font-size: clamp(15px, 1.25vw, 24px);
    color: #333;
    line-height: 1.9;
}

/* After-sales Section */
.sv-after {
    padding: 0 0 114px;
    background: #fff;
}

.sv-after-content {
    display: flex;
    gap: clamp(24px, 3vw, 50px);
    margin-top: 50px;
    align-items: stretch;
}

.sv-after-tabs {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    justify-content: space-between;
}

.sv-after-tab {
    width: clamp(150px, 10.3vw, 198px);
    height: clamp(150px, 10.3vw, 198px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: visible;
}

.sv-after-tab .sv-after-tab-icon {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.sv-after-tab .sv-after-tab-icon-default {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.sv-after-tab--active .sv-after-tab-icon {
    display: block;
}

.sv-after-tab--active .sv-after-tab-icon-default {
    display: none;
}

.sv-after-tab span {
    display: none;
}

.sv-after-tab-bar {
    display: none;
    position: absolute;
    left: calc(100% - 4px);
    top: 50%;
    transform: translateY(-50%);
    width: calc(clamp(24px, 3vw, 50px) + 4px);
    height: 8px;
    background: linear-gradient(90deg, #0098F4 0%, #025EEA 100%);
}

.sv-after-tab--active .sv-after-tab-bar {
    display: block;
}

.sv-after-panel {
    flex: 1;
    min-width: 0;
    border-radius: 20px;
    overflow: hidden;
}

.sv-after-panel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .sv-process-img {
        width: 180px;
    }

    .sv-process-card {
        width: 180px;
    }

    .sv-process-row .sv-process-step:nth-child(1),
    .sv-process-row .sv-process-step:nth-child(3) {
        margin-left: 20px;
        margin-right: 20px;
    }

    .sv-process-row:last-child .sv-process-card:first-child,
    .sv-process-row:last-child .sv-process-card:nth-child(3) {
        margin-left: 20px;
        margin-right: 20px;
    }

    .sv-presale-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .sv-presale-card {
        width: calc(50% - 10px);
        padding: 30px 20px 60px;
    }

    .sv-delivery-content {
        gap: 40px;
    }

    .sv-delivery-image {
        width: 50%;
    }

    .sv-after-tab {
        width: 120px;
        height: 120px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .sv-process {
        padding: 56px 0 64px;
    }

    .sv-process .section-title {
        font-size: 28px;
    }

    .sv-process .section-bar.center {
        margin-top: 16px;
    }

    .sv-process > .container:nth-child(2),
    .sv-process > .container:nth-child(4),
    .sv-process-connector {
        display: none;
    }

    .sv-process-mobile {
        display: block;
        margin-top: 30px;
    }

    .sv-process-mobile-list {
        position: relative;
    }

    .sv-process-mobile-list::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 18px;
        bottom: 18px;
        width: 6px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(40, 138, 246, 0.2) 0%, rgba(40, 138, 246, 0.5) 100%);
    }

    .sv-process-mobile-item {
        position: relative;
        padding-left: 64px;
    }

    .sv-process-mobile-item + .sv-process-mobile-item {
        margin-top: 28px;
    }

    .sv-process-mobile-num {
        position: absolute;
        left: 3px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(180deg, #67c6ff 0%, #256fff 100%);
        box-shadow: 0 10px 20px rgba(37, 111, 255, 0.16);
    }

    .sv-process-mobile-card {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 22px 18px 22px 48px;
        background: #f7f7fb;
        border-radius: 28px;
        min-height: 18px;
    }

    .sv-process-mobile-card::before {
        content: '';
        position: absolute;
        left: -13px;
        top: 50%;
        width: 26px;
        height: 26px;
        background: #f7f7fb;
        border-radius: 8px;
        transform: translateY(-50%) rotate(45deg);
    }

    .sv-process-mobile-text {
        flex: 1;
        min-width: 0;
        max-width: 40%;
    }

    .sv-process-mobile-text h3 {
        font-size: 17px;
        font-weight: 600;
        color: #333;
    }

    .sv-process-mobile-text .sv-process-bar {
        width: 56px;
        height: 4px;
        margin: 12px 0 14px;
    }

    .sv-process-mobile-text p {
        font-size: 10px;
        line-height: 1.9;
        color: #333;
    }

    .sv-process-mobile-img {
        width: 230px;
        max-width: 52%;
        height: auto;
        flex-shrink: 0;
    }

    .sv-process-mobile-card.is-active {
        background: linear-gradient(180deg, #3492F6 0%, #0470E4 100%);
    }

    .sv-process-mobile-card.is-active::before {
        background: #3492F6;
    }

    .sv-process-mobile-card.is-active h3,
    .sv-process-mobile-card.is-active p {
        color: #fff;
    }

    .sv-process-mobile-card.is-active .sv-process-bar {
        background: #fff;
    }


    .sv-presale {
        padding: 48px 0 0;
    }

    .sv-presale-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
    }

    .sv-presale-card {
        width: 78px;
        min-height: 160px;
        padding: 12px 8px 16px;
        border-radius: 12px;
    }

    .sv-presale-card img {
        width: 52px;
    }

    .sv-presale-card h3 {
        font-size: 10px;
        margin-top: 4px;
    }

    .sv-presale-bar {
        width: 24px;
        height: 3px;
        margin: 8px auto;
    }

    .sv-presale-card p {
        font-size: 9px;
        line-height: 1.45;
    }

    .sv-delivery {
        padding: 60px 0;
    }

    .sv-delivery-content {
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }

    .sv-delivery-image {
        width: 100%;
    }

    .sv-after {
        padding: 60px 0;
    }

    .sv-after-content {
        flex-direction: column;
        margin-top: 40px;
    }

    .sv-after-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }

    .sv-after-tab {
        width: 70px;
        height: 70px;
    }

    .sv-after-tab-bar {
        left: 50%;
        top: calc(100% - 2px);
        transform: translateX(-50%);
        width: 4px;
        height: 24px;
        background: linear-gradient(180deg, #0098F4 0%, #025EEA 100%);
    }
}
