/* ============================================================
   services.css — Services page styles
   Sections: teal hero (base), service cards 2x2 grid on cream,
   Our Process five-step strip.
   ============================================================ */

/* ------------------------------------------------------------
   Service cards — [yellow | photo] then [photo | red]
   ------------------------------------------------------------ */
.service-cards {
    background: var(--cream);
    padding: var(--section-py) 0 120px;
}

.service-cards .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    min-height: 700px;
    display: flex;
    flex-direction: column;
}

.service-card h2 {
    font-size: clamp(30px, 3vw, 40px);
    letter-spacing: -0.02em;
}

.service-card > p {
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.6;
    max-width: 520px;
}

.service-card--yellow { background: var(--yellow); }
.service-card--yellow h2 { color: var(--teal-accent); }
.service-card--yellow > p { color: var(--ink); }

.service-card--red { background: var(--red); }
.service-card--red h2 { color: var(--yellow); }
.service-card--red > p { color: rgba(255, 255, 255, 0.95); }

/* Outlined tag pills pinned to the card bottom */
.service-tags {
    margin-top: auto;
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-tags li {
    border: 1.5px solid currentColor;
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.service-card--yellow .service-tags li { color: var(--ink); }
.service-card--red .service-tags li { color: var(--white); }

.service-photo img {
    width: 100%;
    height: 100%;
    min-height: 700px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ------------------------------------------------------------
   Our Process — heading row + staggered five columns
   ------------------------------------------------------------ */
.process {
    padding: var(--section-py) 0 130px;
}

.process-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 64px;
}

.process-heading p {
    font-size: 16px;
    color: var(--grey);
    max-width: 520px;
}

.process-strip {
    background: var(--cream);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.process-step {
    padding: 48px 28px 56px;
    border-left: 1px dashed #D9B96A;
}

.process-step:first-child {
    border-left: none;
}

.process-step h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--teal-accent);
}

.process-step p {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-soft);
}

/* Staggered titles — matches the stair-step rhythm in the design */
.process-step:nth-child(1) { padding-top: 150px; }
.process-step:nth-child(2) { padding-top: 200px; }
.process-step:nth-child(3) { padding-top: 175px; }
.process-step:nth-child(4) { padding-top: 200px; }
.process-step:nth-child(5) { padding-top: 175px; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .service-card,
    .service-photo img {
        min-height: 560px;
    }

    .process-strip {
        grid-template-columns: 1fr;
    }

    .process-step {
        border-left: none;
        border-top: 1px dashed #D9B96A;
        padding: 40px 32px !important; /* neutralise the stagger when stacked */
    }

    .process-step:first-child {
        border-top: none;
    }
}

@media (max-width: 768px) {
    .service-cards .grid {
        grid-template-columns: 1fr;
    }

    /* Stack as: Brand card → photo → Product card → photo */
    .service-cards .grid > :nth-child(3) { order: 4; } /* second photo last */
    .service-cards .grid > :nth-child(4) { order: 3; } /* red card between photos */

    /* Taller, portrait-rectangle cards on phones */
    .service-card {
        min-height: 620px;
        padding: 40px 28px;
    }

    .service-photo img {
        min-height: 440px;
    }

    .process-heading {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
}
