/* =====================================================
   AANTRIO SERVICES PAGE
   Fully Scoped CSS
   Will Not Affect Other Pages
===================================================== */


/* =====================================================
   ROOT
===================================================== */

.services-page {
    width: 100%;
    overflow: hidden;
    background: #f7f8fa;
    color: #213a5d;
    font-family: "Onest", sans-serif;
}

.services-page *,
.services-page *::before,
.services-page *::after {
    box-sizing: border-box;
}


/* =====================================================
   COLORS
===================================================== */

.services-page {
    --services-navy: #203b63;
    --services-blue: #2468b3;
    --services-orange: #ff8500;

    --services-text: #536275;
    --services-light: #f7f8fa;
    --services-white: #ffffff;

    --services-border: #dbe2ea;

    --services-purple: #6e62c8;
}


/* =====================================================
   HERO SECTION
===================================================== */

.services-hero {
    position: relative;
    overflow: hidden;
    padding: 125px 0 95px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f6f8fb 48%,
            #eef3f9 100%
        );
}


/* Background Decorative Circles */

.services-hero-bg-circle {
    position: absolute;
    border: 1px solid rgba(36, 104, 179, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.circle-one {
    width: 560px;
    height: 560px;
    top: -280px;
    right: -120px;
}

.circle-two {
    width: 350px;
    height: 350px;
    bottom: -210px;
    left: 5%;
}


.services-hero-content {
    position: relative;
    z-index: 2;
}


/* =====================================================
   EYEBROW
===================================================== */

.services-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 28px;

    color: var(--services-blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}

.services-eyebrow-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--services-orange);

    box-shadow:
        0 0 0 5px rgba(255, 133, 0, 0.08);
}


/* =====================================================
   HERO TITLE
===================================================== */

.services-hero h1 {
    max-width: 850px;

    margin: 0;

    color: var(--services-navy);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(44px, 6vw, 82px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -3px;
}

.services-hero h1 span {
    color: var(--services-blue);
}


/* Right Hero Text */

.services-hero-side-text {
    max-width: 330px;

    margin: 0 0 8px auto;

    padding-left: 24px;

    border-left:
        2px solid var(--services-orange);

    color: var(--services-text);

    font-size: 17px;

    line-height: 1.8;
}


/* =====================================================
   HERO BOTTOM
===================================================== */

.services-hero-bottom {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 40px;

    margin-top: 70px;

    padding-top: 35px;

    border-top:
        1px solid rgba(32, 59, 99, 0.12);
}

.services-hero-bottom p {
    max-width: 820px;

    margin: 0;

    color: var(--services-text);

    font-size: 18px;

    line-height: 1.8;
}


.services-scroll-indicator {
    display: flex;

    align-items: center;

    gap: 15px;

    color: var(--services-navy);

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;
}

.services-scroll-indicator i {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;
    height: 42px;

    border: 1px solid var(--services-border);

    border-radius: 50%;

    color: var(--services-blue);
}


/* =====================================================
   SERVICES INTRO
===================================================== */

.services-intro-section {
    padding: 120px 0 40px;
}


.services-section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    padding-bottom: 35px;

    border-bottom:
        1px solid var(--services-border);
}


.services-section-heading > div {
    display: flex;

    flex-direction: column;

    gap: 12px;

    min-width: 160px;
}


.section-number {
    color: var(--services-orange);

    font-family: "Space Grotesk", sans-serif;

    font-size: 38px;

    font-weight: 600;
}


.section-label {
    color: #8491a2;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.services-section-heading h2 {
    max-width: 800px;

    margin: 0;

    color: var(--services-navy);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(34px, 4vw, 58px);

    font-weight: 600;

    line-height: 1.15;

    letter-spacing: -2px;
}

.services-section-heading h2 span {
    color: var(--services-blue);
}


/* =====================================================
   SERVICES GRID
===================================================== */

.services-grid-section {
    padding: 40px 0 110px;
}


/* =====================================================
   SERVICE CARD
===================================================== */

.service-card {
    position: relative;

    display: flex;

    flex-direction: column;

    height: 100%;

    min-height: 470px;

    padding: 38px;

    overflow: hidden;

    border:
        1px solid var(--services-border);

    border-radius: 4px;

    background:
        rgba(255, 255, 255, 0.75);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.service-card:hover {
    transform:
        translateY(-7px);

    box-shadow:
        0 25px 55px rgba(27, 57, 95, 0.09);
}


/* =====================================================
   CARD TOP
===================================================== */

.service-card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;
}


.service-number {
    color: #a3afbd;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* Icon */

.service-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 62px;
    height: 62px;

    border-radius: 16px;

    background:
        rgba(36, 104, 179, 0.08);

    color: var(--services-blue);

    font-size: 25px;
}


/* =====================================================
   CARD CONTENT
===================================================== */

.service-card-content {
    margin-top: auto;

    padding-top: 65px;
}


.service-category {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--services-blue);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.service-card h3 {
    margin-bottom: 20px;

    color: var(--services-navy);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(28px, 2.6vw, 42px);

    font-weight: 600;

    line-height: 1.15;

    letter-spacing: -1px;
}


.service-card p {
    max-width: 650px;

    margin-bottom: 28px;

    color: var(--services-text);

    font-size: 16px;

    line-height: 1.75;
}


/* =====================================================
   TAGS
===================================================== */

.service-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.service-tags span {
    padding: 8px 13px;

    border:
        1px solid var(--services-border);

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.8);

    color: #56677b;

    font-size: 11px;

    font-weight: 500;
}


/* =====================================================
   SERVICE LIST
===================================================== */

.service-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;

    padding: 0;

    margin: 0;

    list-style: none;
}


.service-list li {
    position: relative;

    padding-left: 18px;

    color: var(--services-text);

    font-size: 13px;

    line-height: 1.5;
}


.service-list li::before {
    content: "";

    position: absolute;

    top: 7px;
    left: 0;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        var(--services-orange);
}


/* =====================================================
   CARD ARROW
===================================================== */

.service-card-arrow {
    position: absolute;

    right: 30px;
    bottom: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    background:
        #f2f5f8;

    color: var(--services-navy);

    font-size: 20px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.service-card:hover .service-card-arrow {
    background:
        var(--services-orange);

    color:
        #ffffff;
}


/* =====================================================
   FEATURED CARD
===================================================== */

.service-card-featured {
    border-top:
        3px solid var(--services-blue);

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f4f8fc
        );
}


/* =====================================================
   MANAGED SERVICES CARD
===================================================== */

.service-card-managed {
    border-top:
        3px solid var(--services-orange);
}


/* =====================================================
   TALENT CARD
===================================================== */

.service-card-talent {
    border-top:
        3px solid var(--services-purple);
}


.service-card-talent .service-icon {
    background:
        rgba(110, 98, 200, 0.1);

    color:
        var(--services-purple);
}


.service-card-talent .service-category {
    color:
        var(--services-purple);
}


/* =====================================================
   PROFESSIONAL CARD
===================================================== */

.service-card-professional {
    border-top:
        3px solid #315b91;

    background:
        linear-gradient(
            135deg,
            #fdfefe,
            #f3f6fa
        );
}


/* =====================================================
   PARTNER ECOSYSTEM
===================================================== */

.partner-ecosystem-section {
    padding:
        20px 0 120px;
}


.partner-ecosystem-wrapper {
    position: relative;

    overflow: hidden;

    padding:
        80px 75px;

    background:
        var(--services-navy);

    color:
        #ffffff;
}


/* Background Pattern */

.partner-ecosystem-pattern span {
    position: absolute;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius:
        50%;
}


.partner-ecosystem-pattern span:nth-child(1) {
    width: 420px;
    height: 420px;

    top: -250px;
    right: -80px;
}

.partner-ecosystem-pattern span:nth-child(2) {
    width: 280px;
    height: 280px;

    top: -120px;
    right: 0;
}

.partner-ecosystem-pattern span:nth-child(3) {
    width: 180px;
    height: 180px;

    bottom: -90px;
    left: -50px;
}

.partner-ecosystem-pattern span:nth-child(4) {
    width: 500px;
    height: 500px;

    bottom: -400px;
    left: 30%;
}


/* =====================================================
   PARTNER NUMBER
===================================================== */

.partner-number {
    margin-bottom: 25px;

    color:
        var(--services-orange);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        72px;

    font-weight:
        600;

    line-height:
        1;
}


.partner-eyebrow {
    display: inline-block;

    margin-bottom:
        18px;

    color:
        #8fb5e2;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        2px;
}


.partner-ecosystem-wrapper h2 {
    position: relative;

    margin: 0;

    color:
        #ffffff;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(35px, 4vw, 58px);

    font-weight:
        600;

    line-height:
        1.1;

    letter-spacing:
        -2px;
}


.partner-description {
    position: relative;

    max-width:
        650px;

    margin-bottom:
        40px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size:
        18px;

    line-height:
        1.8;
}


/* =====================================================
   PARTNER CAPABILITIES
===================================================== */

.partner-capabilities {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap:
        18px;
}


.partner-capability {
    display: flex;

    align-items: center;

    gap: 13px;

    padding-bottom:
        15px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.13);

    color:
        #ffffff;

    font-size:
        15px;
}


.partner-capability span {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 26px;
    height: 26px;

    border-radius:
        50%;

    background:
        rgba(255, 133, 0, 0.15);

    color:
        var(--services-orange);
}


/* =====================================================
   CAPABILITIES STRIP
===================================================== */

.capabilities-strip-section {
    padding:
        110px 0;

    background:
        #ffffff;
}


.capabilities-strip-heading {
    display: grid;

    grid-template-columns:
        200px 1fr;

    gap:
        50px;

    align-items:
        start;

    margin-bottom:
        65px;
}


.capabilities-strip-heading > span {
    color:
        var(--services-orange);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        2px;
}


.capabilities-strip-heading h2 {
    max-width:
        950px;

    margin:
        0;

    color:
        var(--services-navy);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(32px, 4vw, 55px);

    font-weight:
        500;

    line-height:
        1.2;

    letter-spacing:
        -2px;
}


.capabilities-strip-heading strong {
    color:
        var(--services-blue);

    font-weight:
        600;
}


/* =====================================================
   CAPABILITIES ITEMS
===================================================== */

.capabilities-strip {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    border-top:
        1px solid var(--services-border);

    border-bottom:
        1px solid var(--services-border);
}


.capability-item {
    display: flex;

    flex-direction:
        column;

    justify-content:
        space-between;

    min-height:
        170px;

    padding:
        25px;

    border-right:
        1px solid var(--services-border);

    color:
        var(--services-navy);

    font-size:
        15px;

    font-weight:
        600;

    line-height:
        1.5;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}


.capability-item:last-child {
    border-right:
        none;
}


.capability-item span {
    color:
        var(--services-orange);

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        1px;
}


.capability-item:hover {
    background:
        var(--services-navy);

    color:
        #ffffff;
}


/* =====================================================
   MESSAGE SECTION
===================================================== */

.services-message-section {
    padding:
        120px 0;

    background:
        #f2f5f8;
}


.services-message {
    position:
        relative;

    padding:
        20px 0;
}


.message-line {
    width:
        70px;

    height:
        3px;

    margin-bottom:
        45px;

    background:
        var(--services-orange);
}


.message-label {
    display:
        inline-block;

    margin-bottom:
        18px;

    color:
        var(--services-blue);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        2px;
}


.services-message h2 {
    max-width:
        480px;

    margin:
        0;

    color:
        var(--services-navy);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(32px, 4vw, 54px);

    font-weight:
        600;

    line-height:
        1.15;

    letter-spacing:
        -2px;
}


.services-message p {
    max-width:
        650px;

    margin:
        0;

    color:
        var(--services-text);

    font-size:
        21px;

    line-height:
        1.7;
}


/* =====================================================
   CTA SECTION
===================================================== */

.services-cta-section {
    padding:
        110px 0 130px;

    background:
        #ffffff;
}


.services-cta-box {
    position:
        relative;

    overflow:
        hidden;

    padding:
        75px 70px;

    background:
        linear-gradient(
            135deg,
            #203b63,
            #172f51
        );
}


.cta-background-text {
    position:
        absolute;

    right:
        -25px;

    bottom:
        -60px;

    color:
        rgba(255, 255, 255, 0.035);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(100px, 17vw, 260px);

    font-weight:
        700;

    line-height:
        1;

    pointer-events:
        none;
}


.cta-eyebrow {
    position:
        relative;

    display:
        inline-block;

    margin-bottom:
        20px;

    color:
        var(--services-orange);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        2px;
}


.services-cta-box h2 {
    position:
        relative;

    margin-bottom:
        18px;

    color:
        #ffffff;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(40px, 5vw, 68px);

    font-weight:
        600;

    line-height:
        1.1;

    letter-spacing:
        -2px;
}


.services-cta-box h2 span {
    color:
        #83b5ed;
}


.services-cta-box p {
    position:
        relative;

    margin:
        0;

    color:
        rgba(255, 255, 255, 0.7);

    font-size:
        18px;
}


/* =====================================================
   CTA BUTTON
===================================================== */

.cta-button-wrapper {
    position:
        relative;

    display:
        flex;

    justify-content:
        flex-end;
}


.services-cta-button {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;

    min-width:
        220px;

    padding:
        10px 10px 10px 25px;

    background:
        var(--services-orange);

    color:
        #ffffff;

    font-size:
        14px;

    font-weight:
        600;

    text-decoration:
        none;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


.services-cta-button span {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        48px;

    height:
        48px;

    background:
        rgba(255, 255, 255, 0.16);

    font-size:
        20px;
}


.services-cta-button:hover {
    transform:
        translateY(-4px);

    background:
        #e97800;

    color:
        #ffffff;
}


/* =====================================================
   LARGE TABLET
===================================================== */

@media (max-width: 1199px) {


    .services-hero {
        padding:
            100px 0 80px;
    }


    .service-card {
        padding:
            32px;
    }


    .partner-ecosystem-wrapper {
        padding:
            65px 50px;
    }


    .capability-item {
        padding:
            20px;
    }


}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {


    /* HERO */

    .services-hero {
        padding:
            85px 0 70px;
    }


    .services-hero h1 {
        max-width:
            700px;
    }


    .services-hero-side-text {
        margin:
            0;

        max-width:
            550px;
    }


    .services-hero-bottom {
        flex-direction:
            column;

        align-items:
            flex-start;

        margin-top:
            50px;
    }


    /* INTRO */

    .services-intro-section {
        padding:
            90px 0 30px;
    }


    .services-section-heading {
        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            25px;
    }


    /* GRID */

    .services-grid-section {
        padding-bottom:
            90px;
    }


    .service-card {
        min-height:
            420px;
    }


    /* PARTNER */

    .partner-ecosystem-wrapper {
        padding:
            60px 40px;
    }


    /* CAPABILITIES */

    .capabilities-strip-section {
        padding:
            90px 0;
    }


    .capabilities-strip-heading {
        grid-template-columns:
            1fr;

        gap:
            20px;
    }


    .capabilities-strip {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .capability-item {
        border-bottom:
            1px solid var(--services-border);
    }


    .capability-item:nth-child(2n) {
        border-right:
            none;
    }


    /* MESSAGE */

    .services-message-section {
        padding:
            90px 0;
    }


    .services-message p {
        font-size:
            19px;
    }


    /* CTA */

    .services-cta-section {
        padding:
            90px 0;
    }


    .cta-button-wrapper {
        justify-content:
            flex-start;

        margin-top:
            40px;
    }


}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {


    /* HERO */

    .services-hero {
        padding:
            70px 0 60px;
    }


    .services-eyebrow {
        margin-bottom:
            20px;
    }


    .services-hero h1 {
        font-size:
            45px;

        letter-spacing:
            -2px;
    }


    .services-hero-side-text {
        padding-left:
            18px;

        font-size:
            15px;
    }


    .services-hero-bottom {
        margin-top:
            40px;

        padding-top:
            25px;
    }


    .services-hero-bottom p {
        font-size:
            16px;
    }


    .services-scroll-indicator {
        font-size:
            12px;
    }


    /* INTRO */

    .services-intro-section {
        padding:
            70px 0 20px;
    }


    .section-number {
        font-size:
            30px;
    }


    /* SERVICE CARDS */

    .services-grid-section {
        padding:
            30px 0 70px;
    }


    .service-card {
        min-height:
            auto;

        padding:
            28px;

        padding-bottom:
            85px;
    }


    .service-card-content {
        padding-top:
            50px;
    }


    .service-card h3 {
        font-size:
            32px;
    }


    .service-list {
        grid-template-columns:
            1fr;
    }


    /* PARTNER */

    .partner-ecosystem-section {
        padding-bottom:
            70px;
    }


    .partner-ecosystem-wrapper {
        padding:
            50px 28px;
    }


    .partner-number {
        font-size:
            55px;
    }


    .partner-description {
        font-size:
            16px;
    }


    .partner-capabilities {
        grid-template-columns:
            1fr;
    }


    /* CAPABILITIES */

    .capabilities-strip-section {
        padding:
            70px 0;
    }


    .capabilities-strip {
        grid-template-columns:
            1fr;
    }


    .capability-item {
        min-height:
            120px;

        border-right:
            none;
    }


    /* MESSAGE */

    .services-message-section {
        padding:
            70px 0;
    }


    .services-message p {
        margin-top:
            15px;

        font-size:
            17px;
    }


    /* CTA */

    .services-cta-section {
        padding:
            70px 0;
    }


    .services-cta-box {
        padding:
            50px 28px;
    }


    .services-cta-box p {
        font-size:
            16px;
    }


}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 575px) {


    .services-hero h1 {
        font-size:
            39px;

        line-height:
            1.08;
    }


    .services-eyebrow {
        font-size:
            9px;

        letter-spacing:
            2px;
    }


    .services-section-heading h2 {
        font-size:
            34px;
    }


    .service-card {
        padding:
            24px;

        padding-bottom:
            80px;
    }


    .service-card h3 {
        font-size:
            28px;
    }


    .service-card p {
        font-size:
            14px;
    }


    .service-tags span {
        font-size:
            10px;

        padding:
            7px 10px;
    }


    .partner-ecosystem-wrapper {
        padding:
            42px 22px;
    }


    .partner-ecosystem-wrapper h2 {
        font-size:
            35px;
    }


    .capabilities-strip-heading h2 {
        font-size:
            34px;
    }


    .services-message h2 {
        font-size:
            35px;
    }


    .services-cta-box {
        padding:
            42px 22px;
    }


    .services-cta-box h2 {
        font-size:
            40px;
    }


    .services-cta-button {
        width:
            100%;

        min-width:
            auto;
    }


}


/* =====================================================
   EXTRA SMALL MOBILE
===================================================== */

@media (max-width: 380px) {


    .services-hero h1 {
        font-size:
            34px;
    }


    .service-card h3 {
        font-size:
            25px;
    }


    .services-cta-box h2 {
        font-size:
            35px;
    }


}

/* =====================================================
   SERVICE CARD — EQUAL SIZE / CONSISTENT CONTENT
   ===================================================== */

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    padding: 38px;
    overflow: hidden;
    border: 1px solid var(--services-border);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.75);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 25px 55px rgba(27, 57, 95, 0.09);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px; /* locks top-row height across all cards */
}

.service-number {
    color: #a3afbd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(36, 104, 179, 0.08);
    color: var(--services-blue);
    font-size: 25px;
    flex-shrink: 0;
}

/* =====================================================
   CARD CONTENT — FLEX, CONSISTENT BLOCKS
   ===================================================== */

.service-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: auto;
    padding-top: 40px;
}

.service-category {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--services-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-card h3 {
    min-height: 100px; /* keeps 1-line and 2-line titles aligned */
    margin-bottom: 16px;
    color: var(--services-navy);
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1px;
}

.service-card p {
    max-width: 650px;
    margin-bottom: 24px;
    color: var(--services-text);
    font-size: 15px;
    line-height: 1.7;

    /* clamp so long/short descriptions occupy the same space */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.7em * 3);
}

/* =====================================================
   TAGS
   ===================================================== */

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

.service-tags span {
    padding: 8px 13px;
    border: 1px solid var(--services-border);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    color: #56677b;
    font-size: 11px;
    font-weight: 500;
}

/* =====================================================
   SERVICE LIST — now visually matches tag chips
   ===================================================== */

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
    margin: 0 0 0 0;
    margin-top: auto;
    list-style: none;
}

.service-list li {
    padding: 8px 13px 8px 22px;
    position: relative;
    border: 1px solid var(--services-border);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    color: #56677b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.service-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--services-orange);
}

/* =====================================================
   CARD ARROW
   ===================================================== */

.service-card-arrow {
    position: absolute;
    right: 30px;
    bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f2f5f8;
    color: var(--services-navy);
    font-size: 20px;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.service-card:hover .service-card-arrow {
    background: var(--services-orange);
    color: #ffffff;
}

/* extra bottom padding so the absolute arrow never overlaps content */
.service-card {
    padding-bottom: 90px;
}

/* =====================================================
   RESPONSIVE — keep same-size behavior on smaller screens
   ===================================================== */

@media (max-width: 767px) {
    .service-card {
        min-height: auto;
        padding: 28px;
        padding-bottom: 85px;
    }

    .service-card p {
        -webkit-line-clamp: 4;
        min-height: calc(1.7em * 4);
    }
}