/* ============================================================
   RoboSpati — Services page
   ============================================================ */

/* ---- Service detail hero icon ---- */
.service-detail-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.service-detail-content h2 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--heading-color);
}
.service-detail-content .lead {
    font-size: 1.08rem;
    color: var(--body-color);
}

/* ---- Process / delivery ---- */
.process-section { background: var(--white); }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    counter-reset: process;
}
.process-step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
}
.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.process-step::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.process-step:hover::after { transform: scaleX(1); }
.process-step-index {
    font-family: var(--font-heading);
    font-weight: var(--fw-black);
    font-size: 1.05rem;
    color: var(--cta);
    margin-bottom: 1rem;
    display: inline-flex;
}
.process-step-index::after {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--accent);
    margin-left: .5rem;
    align-self: center;
}
.process-step h3 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--heading-color);
    margin-bottom: .5rem;
}
.process-step p { font-size: var(--fs-small); color: var(--body-color); margin: 0; }

/* Connector arrows between steps */
.process-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.05rem;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid rgba(11, 143, 234, .35);
    transform: translateY(-50%);
    z-index: 2;
}

@media (max-width: 991.98px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .process-grid { grid-template-columns: 1fr; }
    .process-step:not(:last-child)::before { display: none; }
}
