/* =================================================================
   pages/services.css - page-specific styles for services.php
   Layered on top of css/site.css (which is loaded first). Only the
   Services page links this file. Everything here is scoped so it
   cannot leak onto other routes.
   ================================================================= */

/* Smooth in-page jumps from the lifecycle strip, with room for the
   sticky header so anchored headings are not hidden underneath it. */
html { scroll-behavior: smooth; }
.stage-section { scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* -----------------------------------------------------------------
   Page title band (not part of the shared foundation)
----------------------------------------------------------------- */
#page-title {
    padding: 42px 0;
    background: #f7f8f9;
    border-bottom: 1px solid var(--line);
}
#page-title h1 {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.2;
}
#page-title > .container > span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 1.05rem;
}

/* -----------------------------------------------------------------
   Lifecycle process strip (7 steps)
----------------------------------------------------------------- */
.lifecycle-strip { margin: 30px 0 60px; }
.lifecycle-strip .process-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.lifecycle-strip .process-steps > li {
    flex: 0 0 14.285%;
    max-width: 14.285%;
    padding: 0 6px;
    text-align: center;
    box-sizing: border-box;
}
.lifecycle-strip .process-steps li > * { display: block; }
.lifecycle-strip .process-steps li .step-num {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    letter-spacing: 1px;
    line-height: 1;
    margin: 0 0 4px 0;
}
.lifecycle-strip .process-steps li a.i-circled {
    width: 60px; height: 60px;
    font-size: 22px;
    background: var(--brand);
    color: #fff;
    margin: 8px auto 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.lifecycle-strip .process-steps li a.i-circled:hover,
.lifecycle-strip .process-steps li a.i-circled:focus-visible {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
}
.lifecycle-strip .process-steps li h5 {
    font-size: 12px;
    line-height: 1.3;
    margin: 12px 0 0 0;
}

@media (max-width: 991.98px) {
    .lifecycle-strip .process-steps > li {
        flex-basis: 25%;
        max-width: 25%;
        margin-bottom: 24px;
    }
}
@media (max-width: 575.98px) {
    .lifecycle-strip .process-steps > li {
        flex-basis: 50%;
        max-width: 50%;
    }
}

/* -----------------------------------------------------------------
   Stage sections
----------------------------------------------------------------- */
.stage-section { padding: 40px 0 20px; }
.stage-section + .stage-section { border-top: 1px solid #eee; }
.stage-header { margin-bottom: 30px; }
.stage-header .stage-icon {
    display: inline-block;
    width: 56px; height: 56px;
    line-height: 56px;
    text-align: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 24px;
    margin-right: 16px;
    vertical-align: middle;
}
.stage-header h3 {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    font-size: 24px;
}
.stage-header .stage-num {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.stage-section .stage-intro {
    font-size: 15px;
    color: #555;
    margin: 0 0 25px 70px;
}

/* -----------------------------------------------------------------
   Activity card grid
----------------------------------------------------------------- */
.activity-grid { margin-top: 0; }
.activity-grid .feature-box {
    position: relative;
    height: 100%;
    margin-top: 0;
    margin-bottom: 20px;
    padding: 18px 18px 18px 64px;
    background: #fafafa;
    border-radius: 6px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.activity-grid .feature-box:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.activity-grid .feature-box .fbox-icon {
    position: absolute;
    width: 36px; height: 36px;
    margin: 0;
    top: 18px; left: 18px;
    border-radius: 6px;
    background: #e7f0f6;
}
.activity-grid .feature-box .fbox-icon i {
    font-size: 18px;
    line-height: 1;
    color: var(--brand);
}
.activity-grid .feature-box h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    text-transform: none;
    letter-spacing: 0;
    color: #222;
}
.activity-grid .feature-box p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* -----------------------------------------------------------------
   Mid-page Fast Start callout
----------------------------------------------------------------- */
.faststart-callout {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 26px 30px;
    margin: 30px 0 10px;
}
.faststart-callout h4 { color: #fff; margin: 0 0 6px 0; font-size: 18px; }
.faststart-callout p { color: rgba(255, 255, 255, 0.92); margin: 0; font-size: 14px; }
.faststart-callout a.button {
    margin: 0;
    background: #fff;
    border-color: #fff;
    color: var(--brand-dark);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.faststart-callout a.button:hover,
.faststart-callout a.button:focus-visible {
    background: #f4f9fc;
    border-color: #f4f9fc;
    color: var(--brand-darker);
}

@media (max-width: 575.98px) {
    .stage-header .stage-icon { display: block; margin-bottom: 10px; margin-right: 0; }
    .stage-header h3 { display: block; font-size: 20px; }
    .stage-section .stage-intro { margin-left: 0; }
}
