/* ===== SERVICE PAGE STYLES ===== */
/* Extends the main styles.css design system with unique service page layouts */

/* ===== SERVICE HERO ===== */
.service-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 16px 80px;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        170deg,
        rgba(10, 35, 20, 0.94) 0%,
        rgba(26, 60, 42, 0.88) 40%,
        rgba(15, 45, 30, 0.82) 100%
    );
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.service-hero .service-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Figtree', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.service-breadcrumb a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-breadcrumb a:hover {
    color: #fff;
}

.service-breadcrumb svg {
    width: 14px;
    height: 14px;
    fill: rgba(255, 255, 255, 0.4);
}

.service-hero h1 {
    color: #fff;
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.service-hero h1 span {
    color: var(--color-gold);
}

.service-hero-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    line-height: 1.8;
    max-width: 640px;
    margin-bottom: 32px;
}

.service-hero .btn-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== SERVICE INTRO SECTION ===== */
.service-intro {
    background: #fff;
    padding: 90px 16px;
}

.service-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: start;
}

.service-intro-content h2 {
    font-size: 34px;
    margin-bottom: 20px;
    line-height: 1.25;
}

.service-intro-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.9;
}

.service-intro-sidebar {
    background: #f8faf8;
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid #e8efe8;
    position: sticky;
    top: 100px;
}

.service-intro-sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-green-deep);
}

.sidebar-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-service-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e8efe8;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: #444;
}

.sidebar-service-list li:last-child {
    border-bottom: none;
}

.sidebar-service-list li svg {
    width: 18px;
    height: 18px;
    fill: var(--color-green-accent);
    flex-shrink: 0;
}

.sidebar-service-list li.active {
    color: var(--color-green-accent);
    font-weight: 700;
}

.sidebar-cta {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8efe8;
    text-align: center;
}

.sidebar-cta .btn {
    width: 100%;
    justify-content: center;
}

/* ===== BENEFITS STRIP ===== */
.service-benefits {
    background: var(--color-green-deep);
    padding: 70px 16px;
    color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 165, 90, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-gold);
}

.benefit-item h4 {
    font-family: 'Figtree', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-transform: none;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== WHEN YOU NEED SECTION ===== */
.service-when {
    background: #f8f8f8;
    padding: 90px 16px;
}

.when-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.when-item {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #eee;
    transition: var(--transition);
}

.when-item:hover {
    box-shadow: var(--shadow-card);
    border-color: transparent;
    transform: translateY(-4px);
}

.when-item-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, var(--color-green-deep), var(--color-green-accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Righteous', sans-serif;
    font-size: 18px;
    color: #fff;
}

.when-item h4 {
    font-family: 'Figtree', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.when-item p {
    font-size: 14.5px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== SERVICE PROCESS ===== */
.service-process {
    background: #fff;
    padding: 90px 16px;
}

.process-timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-green-accent), var(--color-gold));
    border-radius: 3px;
}

.timeline-step {
    display: flex;
    gap: 28px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    width: 62px;
    height: 62px;
    min-width: 62px;
    background: #fff;
    border: 3px solid var(--color-green-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Righteous', sans-serif;
    font-size: 22px;
    color: var(--color-green-accent);
    position: relative;
    z-index: 2;
}

.timeline-content {
    padding-top: 14px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===== SERVICE FAQ ===== */
.service-faq {
    background: #f8f8f8;
    padding: 90px 16px;
}

.service-faq .faq-container {
    max-width: 860px;
    margin: 40px auto 0;
}

/* ===== SERVICE CTA ===== */
.service-cta {
    background: linear-gradient(135deg, var(--color-green-deep) 0%, #2e7d4f 100%);
    color: #fff;
    text-align: center;
    padding: 90px 16px;
}

.service-cta h2 {
    color: #fff;
    font-size: 38px;
    margin-bottom: 18px;
}

.service-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.service-cta .cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Righteous', sans-serif;
    font-size: 26px;
    color: var(--color-gold);
    margin-bottom: 24px;
    text-decoration: none;
}

.service-cta .cta-phone svg {
    width: 26px;
    height: 26px;
    fill: var(--color-gold);
}

/* ===== SERVICE MAP SECTION ===== */
.service-map {
    background: #fff;
    padding: 60px 16px;
}

.service-map .map-wrapper {
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-map .map-wrapper iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ===== RELATED SERVICES ===== */
.related-services {
    background: #fff;
    padding: 70px 16px 90px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.related-card {
    background: #f8faf8;
    border: 1px solid #e8efe8;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
    background: #fff;
}

.related-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-green-deep), var(--color-green-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.related-card-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.related-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.related-card p {
    font-size: 13.5px;
    color: #777;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== SERVICE PAGE RESPONSIVE ===== */
@media (max-width: 1024px) {
    .service-hero h1 {
        font-size: 38px;
    }

    .service-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-intro-sidebar {
        position: static;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .service-hero {
        min-height: auto;
        padding: 130px 16px 60px;
    }

    .service-hero h1 {
        font-size: 30px;
    }

    .service-hero-text {
        font-size: 15px;
    }

    .service-intro {
        padding: 60px 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .when-grid {
        grid-template-columns: 1fr;
    }

    .service-when,
    .service-process,
    .service-faq,
    .service-cta {
        padding: 60px 16px;
    }

    .service-cta h2 {
        font-size: 28px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-timeline::before {
        left: 20px;
    }

    .timeline-dot {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 16px;
    }

    .timeline-step {
        gap: 18px;
    }
}
