/* Shared layouts for GCPC service detail pages */
.service-page-body {
    background: var(--silver-light);
}

.service-page-body .header {
    position: fixed;
}

.service-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 90px;
    background:
        linear-gradient(112deg, rgba(255,255,255,0.94), rgba(195,198,202,0.94) 48%, rgba(239,240,242,0.96)),
        var(--silver);
    border-bottom: 12px solid var(--primary-black);
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 18% 14%, rgba(255,255,255,.74), transparent 48%),
        radial-gradient(ellipse at 84% 82%, rgba(73,77,82,.14), transparent 54%);
    opacity: 0.72;
}

.service-detail-hero::after {
    content: '';
    position: absolute;
    left: 58%;
    right: 22%;
    bottom: -12px;
    height: 12px;
    background: var(--primary-red);
}

.service-breadcrumb,
.service-detail-grid {
    position: relative;
    z-index: 1;
}

.service-breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.service-breadcrumb a {
    color: var(--secondary-red);
    font-weight: 700;
    text-decoration: none;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 4rem;
    align-items: center;
}

.service-detail-copy .section-kicker {
    color: var(--primary-red);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 0.8rem;
}

.service-detail-copy h1 {
    max-width: 820px;
    color: var(--primary-black);
    font-size: clamp(2.35rem, 5vw, 4.5rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.service-lede {
    max-width: 720px;
    color: #303338;
    font-size: 1.18rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.service-mark {
    position: relative;
    width: min(310px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    justify-self: center;
    color: var(--primary-white);
    background: linear-gradient(145deg, var(--primary-red), var(--secondary-red));
    border: 10px solid var(--primary-black);
    border-radius: 50%;
    box-shadow: 0 0 0 12px rgba(255,255,255,0.55), 0 20px 45px rgba(9,9,11,0.22);
}

.service-mark::before {
    content: '';
    position: absolute;
    inset: 18%;
    border: 2px solid rgba(255,255,255,0.58);
    border-radius: 50%;
}

.service-mark i {
    position: relative;
    z-index: 1;
    font-size: 5.25rem;
}

.service-overview {
    padding: 90px 0;
    background: var(--primary-white);
}

.service-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 4rem;
    align-items: start;
}

.service-overview h2,
.service-overview h3 {
    color: var(--primary-black);
}

.service-overview h2 {
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.service-overview h3 {
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
}

.service-overview p {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-capabilities {
    display: grid;
    gap: 0.85rem;
    list-style: none;
}

.service-capabilities li {
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    color: var(--primary-black);
    background: var(--silver-light);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
    font-weight: 600;
}

.service-capabilities li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: var(--primary-red);
    font-weight: 900;
}

.contractor-panel {
    padding: 2rem;
    background: linear-gradient(145deg, #202124, var(--primary-black));
    color: var(--primary-white);
    border-top: 5px solid var(--primary-red);
    border-radius: 14px;
    box-shadow: 0 18px 35px rgba(9,9,11,0.18);
}

.contractor-panel h2 {
    color: var(--primary-white);
    font-size: 1.5rem;
}

.contractor-panel p {
    color: var(--silver);
    font-size: 0.98rem;
}

.contractor-panel ul {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
    list-style: none;
}

.contractor-panel li {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(195,198,202,0.22);
    font-weight: 600;
}

.service-next {
    padding: 80px 0;
    background: linear-gradient(120deg, var(--silver-light), var(--silver));
    text-align: center;
}

.service-next h2 {
    color: var(--primary-black);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-next p {
    max-width: 680px;
    margin: 0 auto 2rem;
    color: var(--dark-gray);
    font-size: 1.05rem;
}

.back-to-services {
    display: inline-block;
    margin-left: 1rem;
    color: var(--primary-black);
    font-weight: 700;
    text-decoration: none;
}

.service-page-footer {
    padding: 2rem 0;
    color: var(--silver);
    background: var(--primary-black);
    text-align: center;
}

@media (max-width: 768px) {
    .service-detail-hero {
        padding: 120px 0 70px;
    }

    .service-detail-grid,
    .service-overview-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-detail-copy {
        text-align: center;
    }

    .service-detail-copy .section-kicker {
        line-height: 1.6;
    }

    .service-detail-copy h1 {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
    }

    .service-lede {
        font-size: 1.05rem;
    }

    .service-mark {
        width: 220px;
    }

    .service-mark i {
        font-size: 4rem;
    }

    .service-overview,
    .service-next {
        padding: 65px 0;
    }

    .service-overview h2,
    .service-next h2 {
        font-size: 1.85rem;
    }

    .back-to-services {
        display: block;
        margin: 1.25rem 0 0;
    }
}
