/* 1. SERVICES HERO: Adding the Brand Aura */
#services-hero {
    background-color: var(--navy);
    padding: 15rem 0 10rem; /* Increased for cinematic scale */
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* THE HERO WATERMARK: Keeps it consistent with Careers */
#services-hero::before {
    content: 'EXCELLENCE';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    z-index: 1;
}

#services-hero h1 {
    font-size: 4.5rem; /* 72px */
    font-weight: 800;
    position: relative;
    z-index: 5;
    /* THE SIGNATURE GLOW */
    color: #fff;
    text-shadow: 0 0 1.5rem rgba(255, 255, 255, 0.1);
}

#services-hero .hero-label-red {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2rem;
    color: var(--red);
    display: block;
    position: relative;
    z-index: 5;
}

.white-faded {
    font-size: 1.25rem;
    max-width: 45rem;
    margin: 2rem auto 0;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 5;
}

/* 2. ALTERNATING FLEX BLOCKS */
.service-block {
    padding: 8rem 0;
}

.service-flex,
.service-flex-reverse {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.service-flex-reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.service-text h2 {
    font-size: 2.75rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.service-text p {
    color: var(--grey-label);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* 3. BLUEPRINT PLACEHOLDER */
.blueprint-box {
    width: 100%;
    max-width: 30rem;
    aspect-ratio: 1/1;
    background: #fdfdfd;
    border: 1px dashed #ddd;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blueprint-box i {
    width: 6rem;
    height: 6rem;
    color: #eee;
    stroke-width: 1;
}

/* 4. LIST STYLING */
.service-list-check li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.service-list-check li i {
    color: var(--red);
    width: 1.125rem;
}

/* 5. CONSULTING BOX (Special Callout) */
/* 3. CONSULTING BOX: The Signature Module */
#consulting-services, #consulting-showcase {
    margin-top: 10vh;
    /* padding: 8rem 0 15rem; */
}

.consulting-box, .consulting-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    text-align: center;
    max-width: 65rem;
    margin: 0 auto;
    
    /* THE SIGNATURE MODULE LOOK */
    border-top: 6px solid var(--red);
    box-shadow: 
        0 1rem 2rem rgba(0, 0, 0, 0.02),
        0 4rem 10rem rgba(18, 26, 51, 0.1); /* Deep technical shadow */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Add a 'Serial Number' or technical detail for the Premium feel */
.consulting-box::before {
    content: 'SRVC-MOD-003';
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ddd;
    letter-spacing: 0.2rem;
}

.consulting-box h2 {
    font-size: 2rem;
    letter-spacing: -0.1rem;
    margin-bottom: 1.5rem;
}

.label-red {
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.3rem;
    color: var(--red);
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.5;
    cursor: default;
    user-select: none;
}

.consulting-box p {
    font-size: 1.15rem;
    color: var(--grey-label);
    max-width: 42rem;
    line-height: 1.8;
}

/* THE BUTTON: Re-calibrated for Luxury */
.btn-round, .btn-pill-large {
    background: var(--red);
    color: #fff !important;
    padding: 1.25rem 2.5rem;
    margin: 3rem 0 2rem 0;
    border-radius: 100px;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    box-shadow: 0 1rem 3rem rgba(227, 30, 36, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-round:hover {
    transform: translateY(-0.5rem) scale(1.02);
    box-shadow: 0 2rem 4rem rgba(227, 30, 36, 0.4);
    background-color: #ff2a31; /* Brighter on hover */
}

@media (max-width: 48rem) { /* 768px - Mobile Phones */
    
    /* 1. FORCE THE VERTICAL STACK */
    .service-flex, 
    .service-flex-reverse {
        display: flex;
        flex-direction: column; /* THE FIX: Always stack vertically */
        align-items: center;    /* THE FIX: Center everything horizontally */
        text-align: center;     /* THE FIX: Center all text */
        gap: 3rem;
    }

    /* 2. VISUAL PRIORITY: Image Always on Top */
    .service-visual {
        order: -1; /* Ensures the blueprint box is always first in the stack */
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .blueprint-box {
        max-width: 100%;
        aspect-ratio: 16/9; /* Matches product page's sleek mobile profile */
        border-radius: 1rem;
    }

    /* 3. TEXT CONTENT REFINEMENT */
    .service-text {
        width: 100%;
    }

    .service-text h2 {
        font-size: 1.85rem !important; /* 30px */
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .service-text p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
        max-width: 100%; /* Removes any desktop restrictions */
    }

    /* 4. THE LIST: Centered Block, Left-Aligned Items */
    .service-list-check {
        padding-left: 0;
        display: inline-flex; /* THE FIX: Keeps the list centered as a block */
        flex-direction: column;
        text-align: left; /* Keeps the text aligned with the checkmarks */
        margin: 0 auto;
    }

    .service-list-check li {
        font-size: 0.95rem;
        justify-content: flex-start;
        margin-bottom: 1rem;
    }

    /* 5. CTA SECTION: Full-Width Module */
    .consulting-box {
        padding: 4rem 1.5rem;
        border-radius: 0; /* Bleed to edge for that 'Clinical App' feel */
        width: 100%;
    }

    .btn-round {
        width: 100%; /* Large tap target for mobile */
        padding: 1.25rem 0;
    }
}