﻿/* Service process page overrides. Shared layout is loaded from skin/css. */

.timeline-section {
    background: linear-gradient(180deg, #F0F9FF 0%, var(--bg) 100%);
    border-top: 1px solid rgba(56,189,248,0.12);
    border-bottom: 1px solid rgba(56,189,248,0.12);
}

.process-timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.process-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 36px;
    width: 3px;
    background: linear-gradient(180deg, var(--highlight), var(--primary));
}

.process-timeline .process-step {
    position: relative;
    isolation: isolate;
    display: grid;
    width: auto;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
        "dot badge"
        "dot title"
        "dot desc"
        "dot detail";
    column-gap: 26px;
    align-items: start;
    padding: 0 0 28px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
}

.process-timeline .process-step:nth-child(even) {
    text-align: left;
}

.process-timeline .process-step:last-child {
    padding-bottom: 0;
}

.process-timeline .process-dot {
    position: relative;
    z-index: 2;
    grid-area: dot;
    width: 42px;
    height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px rgba(180,83,9,0.36);
    color: var(--white);
    font-size: 15px;
    font-weight: 800;
}

.process-timeline .process-step:nth-child(even) .process-dot {
    right: auto;
    left: auto;
}

.process-timeline .process-step-num {
    grid-area: badge;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    width: auto;
    min-width: 84px;
    height: auto;
    min-height: 30px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    margin: 24px 0 6px;
}

.process-timeline .process-step:nth-child(even) .process-step-num {
    justify-self: start;
}

.process-timeline .process-step h3 {
    grid-area: title;
    position: relative;
    z-index: 1;
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 8px;
    text-align: left;
}

.process-timeline .process-step:nth-child(even) h3 {
    text-align: left;
}

.process-timeline .process-step p {
    grid-area: desc;
    position: relative;
    z-index: 1;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.75;
    text-align: left;
}

.process-timeline .process-step:nth-child(even) p {
    text-align: left;
}

.process-timeline .process-step-details {
    grid-area: detail;
    position: relative;
    z-index: 1;
    margin-top: 12px;
    padding: 13px 16px;
    background: rgba(12,74,110,0.04);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    text-align: left;
}

.process-timeline .process-step::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 28px;
    left: 72px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid rgba(12,74,110,0.08);
    box-shadow: var(--shadow);
    z-index: 0;
}

.process-timeline .process-step:nth-child(even)::before {
    left: 72px;
}


.process-timeline .process-step-num,
.process-timeline .process-step h3,
.process-timeline .process-step p,
.process-timeline .process-step-details {
    margin-right: 24px;
}

.process-timeline .process-step:last-child::before {
    bottom: 0;
}
.process-timeline .process-step-details ul {
    list-style: none;
}

.process-timeline .process-step-details li {
    position: relative;
    color: var(--text-light);
    font-size: 14px;
    padding: 4px 0 4px 16px;
}

.process-timeline .process-step-details li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.flow-section {
    background: var(--white);
}

.flow-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 38px;
}

.flow-visual::before {
    content: "";
    position: absolute;
    top: 74px;
    left: 58px;
    right: 58px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--highlight), var(--primary));
}

.flow-item {
    position: relative;
    z-index: 1;
    text-align: center;
}

.flow-num,
.quality-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-num {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--highlight), var(--primary));
    border: 4px solid var(--white);
    box-shadow: 0 8px 18px rgba(12,74,110,0.16);
}

.process-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.flow-item h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.flow-item p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

.quality-section {
    background: linear-gradient(135deg, #083344 0%, var(--primary) 62%, #164E63 100%);
    color: var(--white);
    padding: 82px 16px;
}

.quality-title {
    margin-bottom: 40px;
}

.quality-title h2 {
    color: var(--white);
}

.quality-title p {
    color: rgba(255,255,255,0.8);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.quality-item {
    padding: 28px 22px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
}

.quality-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.14);
}

.quality-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.quality-item p {
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-actions .btn-outline {
    margin-left: 0;
}

.process-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.process-location-note {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.9;
}

.process-location-subnote {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.trust-icon-img,
.float-cta-icon,
.mobile-btn-icon,
.nav-phone-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .process-timeline::before {
        left: 28px;
    }

    .process-step,
    .process-timeline .process-step:nth-child(even) {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 18px;
        padding-bottom: 24px;
    }

    .process-timeline .process-dot,
    .process-timeline .process-step:nth-child(even) .process-dot {
        left: auto;
        right: auto;
        width: 40px;
        height: 40px;
    }

    .process-timeline .process-step::before,
    .process-timeline .process-step:nth-child(even)::before {
        left: 56px;
    }

    .flow-visual,
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-visual::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .flow-visual,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .quality-section {
        padding: 60px 16px;
    }

    .process-timeline .process-step h3 {
        font-size: 19px;
    }
}
