/* ==========================================================
   HERO
========================================================== */

.services-hero {
    position: relative;
    height: 360px;
    min-height: 360px;

    align-items: center;

    background:
        url("/images/slide-02.jpg")
        center / cover no-repeat;

    color: #fff;
    overflow: hidden;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(6,20,38,.96) 0%,
        rgba(6,20,38,.82) 52%,
        rgba(6,20,38,.42) 100%
    );
}

.services-hero-inner {
    position: relative;
    z-index: 2;

    padding: 85px 0;

    /* moves eyebrow, heading and paragraph up */
    transform: translateY(-5px);
}

.services-hero-copy {
    max-width: 950px;
}

.services-hero h1 {
    margin: 10px 0 18px;

    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 400;

    line-height: .92;
    letter-spacing: -.025em;
}

.services-hero h1 em {
    color: #62b6df;
    font-weight: 400;
}

.services-hero p {
    max-width: 760px;

    margin: 0;

    font-size: 20px;
    line-height: 1.7;

    color: rgba(255,255,255,.80);
}


/* ==========================================================
   INTRO
========================================================== */

.services-intro {
    padding: 90px 0;
}

.services-two-column {
    display: grid;
    grid-template-columns: .85fr 1.15fr;

    gap: 85px;
    align-items: start;
}

.services-two-column h2,
.services-section-head h2 {
    margin: 14px 0 0;

    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(48px, 5vw, 74px);
    font-weight: 400;

    line-height: .98;
}

.services-two-column h2 em,
.services-section-head h2 em {
    color: #0073ae;
    font-weight: 400;
}

.services-intro-copy p {
    margin: 0 0 22px;

    font-size: 18px;
    line-height: 1.8;

    color: #5c6674;
}


/* ==========================================================
   SERVICES
========================================================== */

.services-section {
    padding: 90px 0 100px;

    background: #e7e0d4;
}

.services-section-head {
    margin-bottom: 45px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.service-card {
    min-height: 380px;

    padding: 32px;

    display: flex;
    flex-direction: column;

    background: #f8f5ee;

    border: 1px solid rgba(20,35,58,.14);
}

.service-number {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .12em;

    color: #0073ae;
}

.service-card h3 {
    margin: 22px 0 18px;

    font-family: "Instrument Serif", Georgia, serif;
    font-size: 34px;
    font-weight: 400;

    line-height: 1.05;

    color: #14233a;
}

.service-card p {
    margin: 0 0 20px;

    font-size: 15px;
    line-height: 1.7;

    color: #5c6674;
}

.service-card ul {
    margin: auto 0 0;
    padding: 0;

    list-style: none;
}

.service-card li {
    padding: 8px 0;

    border-bottom: 1px solid rgba(20,35,58,.10);

    font-size: 14px;

    color: #405069;
}

.service-card li::before {
    content: "— ";
    color: #0073ae;
}


/* ==========================================================
   APPROACH
========================================================== */

.services-approach {
    padding: 95px 0;

    background: #f1ede4;
}

.services-process {
    border-top: 1px solid rgba(20,35,58,.16);
}

.services-process > div {
    display: grid;
    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding: 24px 0;

    border-bottom: 1px solid rgba(20,35,58,.16);
}

.services-process span {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;

    color: #0073ae;
}

.services-process h3 {
    margin: 0 0 7px;

    font-family: "Instrument Serif", Georgia, serif;
    font-size: 30px;
    font-weight: 400;

    color: #14233a;
}

.services-process p {
    margin: 0;

    font-size: 15px;
    line-height: 1.65;

    color: #5c6674;
}


/* ==========================================================
   CTA
========================================================== */

.services-cta {
    padding: 80px 0;

    background: #0e2038;
    color: #fff;
}

.services-cta {
    color: #72c1ea;
}

.eyebrow {
    color: #72c1ea;
    transform: translateY(-50px)
}

.services-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;

    gap: 50px;
    align-items: center;
}

.services-cta h2 {
    max-width: 850px;

    margin: 10px 0 14px;

    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(44px, 4vw, 64px);
    font-weight: 400;

    line-height: 1;
}

.services-cta p {
    margin: 0;

    font-size: 17px;
    line-height: 1.6;

    color: rgba(255,255,255,.65);
}

.services-button {
    display: inline-block;

    padding: 16px 22px;

    background: #0073ae;
    color: #fff;

    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    font-weight: 600;

    letter-spacing: .1em;
    text-transform: uppercase;

    text-decoration: none;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 950px) {

    .services-two-column,
    .services-cta-inner {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 620px) {

    .services-hero {
        min-height: 470px;
    }

    .services-hero-inner {
        transform: none;
    }

    .services-hero h1 {
        font-size: 54px;
    }

    .services-hero p {
        font-size: 17px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
        padding: 28px;
    }

}

/* Tablet/mobile refinements; desktop remains unchanged. */
@media (max-width: 980px) {
    .services-hero {
        height: auto;
        min-height: 400px;
        display: flex;
    }

    .services-hero-inner {
        padding: 64px 0;
        transform: none;
    }

    .services-two-column,
    .services-cta-inner {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-intro,
    .services-section,
    .services-approach,
    .services-cta {
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

@media (max-width: 620px) {
    .services-hero {
        min-height: 410px;
    }

    .services-hero-inner {
        padding: 54px 0;
    }

    .services-hero h1 {
        font-size: clamp(42px, 13vw, 54px);
    }

    .services-hero p {
        font-size: 17px;
        line-height: 1.55;
    }

    .services-intro,
    .services-section,
    .services-approach,
    .services-cta {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .services-process > div {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
    }

    .eyebrow {
        transform: none;
    }

    .services-button {
        width: 100%;
        text-align: center;
    }
}
