/* ============================================
   SERVICE PAGE STYLES
   ============================================ */

/* ===== SERVICE HERO ===== */
.service-hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #111;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 82px;
    padding-bottom: 54px;
}

.service-hero-content {
    max-width: 780px;
    text-align: center;
}

.service-hero-content h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    margin-bottom: 22px;
    letter-spacing: -0.025em;
    font-family: 'Inter', Arial, sans-serif;
}

.service-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICE CONTENT ===== */
.service-content {
    padding: 80px 0 60px;
    background: var(--white);
}

.service-intro {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

/* "What We Do" label — bigger and bolder */
.service-intro .section-label {
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    justify-content: center;
}

.service-intro .section-title {
    text-align: center;
    color: var(--dark);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-left: auto;
    margin-right: auto;
    max-width: 860px;
}

/* Hide the intro paragraph — only title shows */
.service-intro > p {
    display: none;
}

/* ===== ALTERNATING ROWS ===== */
.service-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 460px;
    border-top: 1px solid #ebebeb;
}

.service-row:last-child {
    border-bottom: 1px solid #ebebeb;
}

/* Text left, image right */
.service-row .sr-text {
    padding: 50px 55px 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.service-row .sr-img {
    overflow: hidden;
    height: 460px;
}

.service-row .sr-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-row:hover .sr-img img {
    transform: scale(1.04);
}

/* Reversed: image left, text right */
.service-row.reverse .sr-text {
    padding: 50px 0 50px 55px;
    order: 2;
}

.service-row.reverse .sr-img {
    order: 1;
    height: 460px;
}

/* Text content inside rows */
.sr-text h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.sr-text p {
    font-size: 17px;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 16px;
}

.sr-text p:last-of-type {
    margin-bottom: 0;
}

.sr-number {
    display: none;
}

/* ===== SERVICE CTA ===== */
.service-cta-section {
    padding: 80px 0;
    background: var(--gradient-2);
}

.service-cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-cta-box h2 {
    font-size: 38px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.service-cta-box p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    line-height: 1.75;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .service-row {
        grid-template-columns: 1fr;
        height: auto;
    }

    .service-row .sr-text,
    .service-row.reverse .sr-text {
        padding: 50px 30px;
        order: 2;
    }

    .service-row .sr-img,
    .service-row.reverse .sr-img {
        order: 1;
        height: 300px;
    }

    .sr-text h3 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 38px;
    }

    .service-cta-box h2 {
        font-size: 28px;
    }

    .service-row .sr-text,
    .service-row.reverse .sr-text {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .service-hero-content h1 {
        font-size: 30px;
    }
}

/* Larger title in service intro */
.service-intro .section-title {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-intro .section-title {
        font-size: 34px;
    }
}

/* ===== SERVICE PAGE MOBILE/TABLET ===== */
@media (max-width: 768px) {
    /* Service page containers go edge-to-edge on mobile */
    .service-content .container,
    .service-cta-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Service rows span full width so images bleed to edges */
    .service-rows {
        margin-left: -16px;
        margin-right: -16px;
    }

    .service-hero-content h1 {
        font-size: 38px;
    }

    .service-hero-content p {
        font-size: 16px;
    }

    .service-hero .container {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .service-content {
        padding: 60px 0 40px;
    }

    .service-intro {
        margin-bottom: 40px;
    }

    .service-intro .section-title {
        font-size: 34px;
    }

    .sr-text h3 {
        font-size: 22px;
    }

    .sr-text p {
        font-size: 15px;
        line-height: 1.75;
    }

    .service-row .sr-text,
    .service-row.reverse .sr-text {
        padding: 40px 16px;
    }

    .service-cta-box h2 {
        font-size: 26px;
    }

    .service-cta-box p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .service-hero-content h1 {
        font-size: 30px;
    }

    .service-hero-content p {
        font-size: 15px;
    }

    .service-intro .section-title {
        font-size: 28px;
    }

    .sr-text h3 {
        font-size: 18px;
    }
}