/* ===== 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(20, 28, 70, 0.94) 0%,
        rgba(37, 60, 152, 0.88) 40%,
        rgba(26, 35, 86, 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: #f5f6fb;
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid #e0e3f0;
    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 #e0e3f0;
    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 #e0e3f0;
    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%, #253C98 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: #f5f6fb;
    border: 1px solid #e0e3f0;
    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;
}

/* ===== PROCESS STEPS VISUAL DESIGN ===== */
.process-steps-visual {
    margin: 30px 0 40px;
    padding: 0;
    list-style: none;
    position: relative;
}

/* Vertical connector line */
.process-steps-visual::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 31px;
    width: 3px;
    bottom: 36px;
    background: linear-gradient(180deg, var(--color-green-accent), var(--color-gold));
    border-radius: 3px;
    opacity: 0.4;
}

.process-step-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 24px 28px 24px 0;
    margin-bottom: 0;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-card:last-child {
    margin-bottom: 0;
}

/* Step number badge */
.step-badge {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-green-deep) 0%, var(--color-green-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Righteous', sans-serif;
    font-size: 22px;
    color: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(37, 60, 152, 0.2);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.process-step-card:nth-child(even) .step-badge {
    background: linear-gradient(135deg, #1a2356 0%, var(--color-green-deep) 100%);
}

.process-step-card:hover .step-badge {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 24px rgba(37, 60, 152, 0.35);
}

/* Step content */
.step-content {
    flex: 1;
    background: #f8f9fc;
    border: 1px solid #e8ebf4;
    border-radius: 14px;
    padding: 24px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Arrow pointer from card to badge */
.step-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 22px;
    width: 16px;
    height: 16px;
    background: #f8f9fc;
    border-left: 1px solid #e8ebf4;
    border-bottom: 1px solid #e8ebf4;
    transform: rotate(45deg);
    z-index: 1;
}

.process-step-card:hover .step-content {
    background: #fff;
    border-color: var(--color-green-accent);
    box-shadow: 0 8px 32px rgba(37, 60, 152, 0.1);
    transform: translateX(6px);
}

.process-step-card:hover .step-content::before {
    background: #fff;
    border-color: var(--color-green-accent);
}

.step-content h4 {
    font-family: 'Figtree', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: none;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-content h4 .step-icon {
    width: 20px;
    height: 20px;
    fill: var(--color-green-accent);
    flex-shrink: 0;
}

.step-content p {
    font-size: 14.5px;
    color: #5a6276;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ===== CONTENT BODY ENHANCEMENTS ===== */
.content-body h3 {
    position: relative;
    padding-left: 18px;
}

.content-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(180deg, var(--color-green-accent), var(--color-gold));
    border-radius: 4px;
}

/* ===== SIDEBAR ENHANCEMENTS ===== */
.sidebar a:hover {
    color: var(--color-green-accent) !important;
    padding-left: 4px;
    transition: all 0.25s ease;
}

/* ===== MOBILE GRID ===== */
@media (max-width: 1024px) {
    .mobile-grid-1 {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .sidebar {
        position: static !important;
    }
}

/* ===== 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;
    }

    /* Process steps responsive */
    .process-steps-visual::before {
        left: 23px;
    }

    .step-badge {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 17px;
        border-radius: 12px;
    }

    .process-step-card {
        gap: 14px;
        padding: 16px 0;
    }

    .step-content {
        padding: 18px 20px;
        border-radius: 12px;
    }

    .step-content::before {
        display: none;
    }

    .step-content h4 {
        font-size: 15.5px;
    }

    .step-content p {
        font-size: 13.5px;
    }

    .content-body h3 {
        font-size: 20px !important;
    }
}
