/* =========================================================
   SERVICE HEROES
========================================================= */

.page-hero-service,
.page-hero-service-detail {
    background-image: url("/static/img/service/service-hero.jpg");
}

.page-hero-spare-parts {
    background-image: url("/static/img/service/spare-parts-hero.jpg");
}

/* =========================================================
   SERVICE FAMILY - SECTION LAYOUT
========================================================= */

.service-intro-section,
.service-story-section,
.service-feature-section,
.service-links-section,
.service-detail-intro-section,
.service-detail-story-section,
.service-detail-feature-section,
.service-detail-links-section,
.spare-parts-intro-section,
.spare-parts-story-section,
.spare-parts-feature-section,
.spare-parts-links-section {
    padding-top: var(--section-space-md);
    padding-bottom: var(--section-space-md);
}

.service-intro-section,
.service-detail-intro-section,
.spare-parts-intro-section {
    background: var(--color-bg-muted);
}

.service-story-section,
.service-detail-story-section,
.spare-parts-story-section {
    background: #ffffff;
}

.service-feature-section,
.service-detail-feature-section {
    background: var(--color-bg-soft);
}

.spare-parts-feature-section {
    background: var(--color-bg-muted);
}

.service-links-section,
.service-detail-links-section,
.spare-parts-links-section {
    padding-top: 0;
    background: #ffffff;
}

/* =========================================================
   SERVICE FAMILY - CONTENT / MEDIA
========================================================= */

.service-content p {
    margin-bottom: 1.35rem;
    color: var(--color-text-soft);
    font-size: var(--fs-body);
    line-height: 1.9;
}

.service-content p:last-child {
    margin-bottom: 0;
}

.service-content strong {
    color: var(--color-text);
    font-weight: 700;
}

.service-media {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--color-border-soft);
    background: var(--color-bg-soft);
}

.service-media__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* =========================================================
   SERVICE FAMILY - ASIDE / SUMMARY / CHECK
========================================================= */

.service-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-summary-card,
.service-check-card,
.service-link-card {
    border: 1px solid var(--color-border-soft);
    background: var(--color-bg-soft);
}

.service-summary-card,
.service-check-card {
    padding: 1.5rem;
}

.service-link-card {
    height: 100%;
    padding: 1.5rem;
}

.service-summary-label {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--color-primary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    line-height: 1;
    text-transform: uppercase;
}

.service-summary-title,
.service-link-title {
    margin: 0 0 0.75rem 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-summary-text,
.service-link-text {
    margin: 0;
    color: var(--color-text-soft);
    font-size: var(--fs-body);
    line-height: 1.8;
}

.service-link-text {
    margin-bottom: 1rem;
}

.service-check-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border-soft);
    list-style: none;
}

.service-check-list li {
    position: relative;
    margin: 0;
    padding: 0.9rem 0 0.9rem 1rem;
    border-bottom: 1px solid var(--color-border-soft);
    color: var(--color-text);
    font-size: var(--fs-body);
    font-weight: 500;
    line-height: 1.7;
}

.service-check-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.service-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.55rem;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
}

/* =========================================================
   SERVICE FAMILY - FEATURE CARDS
========================================================= */

.service-feature-section .section-title,
.service-detail-feature-section .section-title,
.spare-parts-feature-section .section-title {
    max-width: 760px;
    margin-bottom: 1rem;
}

.service-feature-card {
    height: 100%;
    padding: 1.6rem 1.45rem;
    border: 1px solid var(--color-border-soft);
    background: #ffffff;
    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.service-feature-card:hover {
    border-color: var(--color-primary);
    background: rgba(0, 94, 32, 0.04);
    transform: translateY(-2px);
}

.service-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg-soft);
    color: var(--color-primary);
    font-size: 1.2rem;
    line-height: 1;
}

.service-feature-title {
    margin: 0 0 0.7rem 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-feature-text {
    margin: 0;
    color: var(--color-text-soft);
    font-size: var(--fs-body);
    line-height: 1.75;
}

/* =========================================================
   SERVICE LINKS
========================================================= */

.highlights-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.highlights-link i {
    transition: transform var(--transition-fast);
}

.highlights-link:hover i {
    transform: translateX(3px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {
    .service-media {
        min-height: 460px;
    }
}

@media (max-width: 991.98px) {
    .service-intro-section,
    .service-story-section,
    .service-feature-section,
    .service-detail-intro-section,
    .service-detail-story-section,
    .service-detail-feature-section,
    .spare-parts-intro-section,
    .spare-parts-story-section,
    .spare-parts-feature-section {
        padding-top: var(--section-space-sm);
        padding-bottom: var(--section-space-sm);
    }

    .service-links-section,
    .service-detail-links-section,
    .spare-parts-links-section {
        padding-bottom: var(--section-space-sm);
    }

    .service-media {
        min-height: 380px;
    }

    .service-summary-card,
    .service-check-card,
    .service-link-card,
    .service-feature-card {
        padding: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .service-media {
        min-height: 280px;
    }

    .service-content p {
        font-size: var(--fs-body);
        line-height: 1.8;
    }

    .service-summary-card,
    .service-check-card,
    .service-link-card,
    .service-feature-card {
        padding: 1rem;
    }

    .service-summary-title,
    .service-link-title {
        font-size: 1.05rem;
    }

    .service-feature-title {
        font-size: 1rem;
    }
}
