/* ============================================================
   Services — Alternating image/text details + process timeline
   ============================================================ */

/* --- Service detail items --- */

.services-detail {
    padding: 4rem 0;
}

.service-item {
    padding: 3rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.service-item:first-child {
    padding-top: 0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--color-surface), color-mix(in srgb, var(--color-surface) 80%, var(--color-accent)));
    margin-bottom: 1.5rem;
}

.service-item-content h2 {
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    margin-bottom: 0.75rem;
}

.service-item-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1rem;
    max-width: 60ch;
}

.service-item-details {
    font-size: 0.9375rem;
    color: var(--color-text_muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--color-accent);
}

.service-item .btn {
    margin-top: 0.5rem;
}

@media (min-width: 1024px) {
    .services-detail {
        padding: 5rem 0;
    }

    .service-item {
        display: grid;
        gap: 4rem;
        align-items: center;
        padding: 3.5rem 0;
    }

    .service-item--normal {
        grid-template-columns: 40% 1fr;
    }

    .service-item--reversed {
        grid-template-columns: 1fr 40%;
    }

    .service-item--reversed .service-item-image {
        order: 2;
    }

    .service-item--reversed .service-item-content {
        order: 1;
    }

    .service-item-image img {
        margin-bottom: 0;
        aspect-ratio: 4/3;
    }
}

/* --- Process timeline — PATTERN BREAKER --- */

.process {
    background-color: var(--color-surface);
    padding: 4.5rem 0;
}

.process-container {
    max-width: 800px;
}

.process-header {
    margin-bottom: 2.5rem;
}

.process-header h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 0.5rem;
}

.process-header h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-accent);
    margin-top: 0.75rem;
    border-radius: 1px;
}

.process-intro {
    color: var(--color-text_muted);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.process-timeline {
    position: relative;
    padding-left: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: color-mix(in srgb, var(--color-accent) 30%, transparent);
    border-radius: 1px;
}

.process-step {
    position: relative;
    padding-bottom: 2.25rem;
}

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

.process-node {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-background);
    border-radius: 50%;
    font-family: var(--font-heading), Georgia, serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

.process-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.process-content p {
    font-size: 0.9375rem;
    color: var(--color-text_muted);
    line-height: 1.6;
    max-width: 55ch;
}

@media (min-width: 768px) {
    .process {
        padding: 6rem 0;
    }

    .process-timeline {
        padding-left: 3.5rem;
    }

    .process-node {
        left: -3.5rem;
    }

    .process-step {
        padding-bottom: 2.5rem;
    }
}
