/* =====================================================
   STARK BRAND VARIABLES (Standardized)
===================================================== */

:root {
    --stark-green: #35823F;
    /* Deep Forest */
    --stark-green-light: #35823F;
    /* Action Green */
    --stark-gold: #F2D202;
    /* Marang Gold */
    --stark-gold-soft: #FDF9E2;
    /* High-end Cream */
    --stark-white: #FFFFFF;
    --stark-light: #F9F9F8;
    /* Page Background */
    --stark-text-main: #333333;
    --stark-text-muted: #666666;
    --stark-shadow: 0 40px 80px rgba(20, 83, 45, 0.12);
    --stark-transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}


/* =====================================================
   SERVICES HERO – PREMIUM UPGRADE
===================================================== */

.services-hero {
    padding: 40px 24px 100px;
    background: var(--stark-green);
    background-image: radial-gradient(circle at top right, rgba(31, 119, 44, 0.5), transparent);
    color: var(--stark-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 6vw, 64px);
    margin-bottom: 25px;
    line-height: 1.1;
}

.services-hero p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
}


/* =====================================================
   SERVICE STORY LAYOUTS
===================================================== */

.service-story {
    padding: 40px 0;
    background: var(--stark-white);
}

.service-story.alt {
    background: var(--stark-light);
}


/* Flex Container for Image/Text Split */

.container.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}


/* Reverse layout for alternating sections */

.container.split.reverse {
    direction: rtl;
}

.container.split.reverse .service-text {
    direction: ltr;
}


/* Text Elements */

.service-text {
    max-width: 540px;
}

.service-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--stark-gold);
    margin-bottom: 15px;
}

.service-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    color: var(--stark-green);
    margin-bottom: 25px;
    line-height: 1.1;
}

.service-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--stark-text-muted);
    margin-bottom: 35px;
}


/* --- THE PREMIUM LIST STYLE --- */

.service-list {
    list-style: none;
    margin-bottom: 40px;
    display: grid;
    gap: 16px;
}

.service-list li {
    position: relative;
    padding-left: 36px;
    font-size: 17px;
    font-weight: 600;
    color: var(--stark-green);
}


/* The custom checkmark badge */

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--stark-gold-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314532D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}


/* --- IMAGE TREATMENT --- */

.service-story img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--stark-shadow);
    transition: var(--stark-transition);
}

.service-story:hover img {
    transform: translateY(-10px) scale(1.02);
}


/* --- SUB-GROUP TITLES --- */

.service-sub-group h3 {
    font-size: 18px;
    color: var(--stark-green);
    margin: 25px 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 3px solid var(--stark-gold);
    padding-left: 15px;
}


/* --- GRID LIST FOR OPTIONAL SERVICES --- */

.service-list.grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}


/* --- TRUST BADGE --- */

.fsp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 83, 45, 0.05);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--stark-green);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 30px;
    border: 1px solid rgba(20, 83, 45, 0.1);
}

.fsp-badge i {
    color: var(--stark-gold);
    font-size: 18px;
}


/* --- RESPONSIVE FIX --- */

@media (max-width: 600px) {
    .service-list.grid-list {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   FINAL CTA – HIGH IMPACT
===================================================== */

.services-cta {
    padding: 40px 24px;
    background: var(--stark-green);
    color: var(--stark-white);
    text-align: center;
    position: relative;
}

.services-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 5vw, 52px);
    margin-bottom: 25px;
    color: var(--stark-white);
}

.services-cta p {
    max-width: 650px;
    margin: 0 auto 45px;
    font-size: 19px;
    line-height: 1.7;
    opacity: 0.9;
}


/* =====================================================
   ANIMATION & RESPONSIVE
===================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .container.split {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .container.split.reverse {
        direction: ltr;
    }
    .service-text {
        max-width: 100%;
        margin: 0 auto;
    }
    .service-list {
        justify-content: center;
        text-align: left;
        max-width: 400px;
        margin: 0 auto 40px;
    }
    .service-story img {
        height: 400px;
        order: -1;
        /* Image appears first on mobile */
    }
}