.service-detail-page {
    color: var(--text-dark);
}

.service-detail-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: end;
    overflow: hidden;
    background: #202520;
}

.service-detail-hero-image,
.service-detail-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-detail-hero-image {
    object-fit: cover;
}

.service-detail-hero-shade {
    background: linear-gradient(90deg, rgba(16, 20, 16, 0.92) 0%, rgba(16, 20, 16, 0.76) 48%, rgba(16, 20, 16, 0.2) 100%);
}

.service-detail-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 64px;
    padding-bottom: 56px;
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.service-breadcrumb a {
    color: white;
}

.service-detail-kicker,
.service-section-label {
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
}

.service-detail-kicker {
    color: #b6e35d;
}

.service-detail-hero h1 {
    color: white;
    max-width: 780px;
    font-size: 2.7rem;
    line-height: 1.22;
    margin-bottom: 1rem;
}

.service-detail-lead {
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.service-detail-overview,
.service-materials-section,
.service-factors-section,
.service-process-detail-section,
.service-advantages-section,
.service-faq-section,
.service-related-section,
.service-detail-cta {
    padding: 72px 0;
}

.service-detail-two-column {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
    gap: 5rem;
    align-items: start;
}

.service-detail-two-column h2,
.service-section-heading h2,
.service-faq-layout h2,
.service-detail-cta h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.service-detail-copy p {
    font-size: 1.04rem;
    line-height: 1.9;
}

.service-materials-section,
.service-process-detail-section,
.service-faq-section {
    background: var(--bg-light);
}

.service-section-heading {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.service-section-heading > p:last-child {
    font-size: 1.02rem;
    line-height: 1.8;
}

.service-material-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border-color);
}

.service-material-list li {
    position: relative;
    min-height: 74px;
    display: flex;
    align-items: center;
    padding: 1.15rem 1rem 1.15rem 2.2rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.service-material-list li:nth-child(odd) {
    border-right: 1px solid var(--border-color);
}

.service-material-list li::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
}

.service-factor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.service-factor-item {
    border-top: 3px solid var(--primary-color);
    padding-top: 1.25rem;
}

.service-factor-number {
    display: block;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.service-factor-item h3,
.service-advantage-grid h3,
.service-process-list h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.service-factor-item p,
.service-advantage-grid p,
.service-process-list p {
    margin-bottom: 0;
}

.service-process-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
}

.service-process-list li {
    background: white;
    padding: 1.4rem;
    min-height: 220px;
}

.service-process-list li > span {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

.service-advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.service-advantage-grid section {
    padding: 1.7rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.service-faq-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.65fr) minmax(360px, 1.35fr);
    gap: 4rem;
}

.service-faq-list details {
    border-top: 1px solid var(--border-color);
    padding: 1.15rem 0;
}

.service-faq-list details:last-child {
    border-bottom: 1px solid var(--border-color);
}

.service-faq-list summary {
    cursor: pointer;
    color: var(--text-dark);
    font-weight: 700;
    padding-right: 2rem;
}

.service-faq-list details p {
    margin: 0.85rem 0 0;
    line-height: 1.8;
}

.service-related-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.service-related-links a {
    min-height: 76px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    font-weight: 700;
    padding: 1rem;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.service-related-links a:hover {
    color: var(--secondary-color);
    background: var(--bg-light);
}

.service-detail-cta {
    background: #202520;
}

.service-detail-cta-inner {
    display: grid;
    grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 0.8fr);
    gap: 3rem;
    align-items: center;
}

.service-detail-cta h2,
.service-detail-cta p {
    color: white;
}

.service-detail-cta .service-section-label {
    color: #b6e35d;
}

.service-detail-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.service-detail-actions .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
    .service-detail-two-column,
    .service-faq-layout,
    .service-detail-cta-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-factor-grid,
    .service-related-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .service-detail-hero {
        min-height: 390px;
    }

    .service-detail-hero-shade {
        background: rgba(16, 20, 16, 0.8);
    }

    .service-detail-hero h1 {
        font-size: 2rem;
    }

    .service-detail-overview,
    .service-materials-section,
    .service-factors-section,
    .service-process-detail-section,
    .service-advantages-section,
    .service-faq-section,
    .service-related-section,
    .service-detail-cta {
        padding: 52px 0;
    }

    .service-material-list,
    .service-factor-grid,
    .service-process-list,
    .service-advantage-grid,
    .service-related-links {
        grid-template-columns: 1fr;
    }

    .service-material-list li:nth-child(odd) {
        border-right: 0;
    }

    .service-process-list li {
        min-height: 0;
    }

    .service-detail-actions .btn {
        width: 100%;
    }
}
