/* =========================================
   SERVICES PAGE
========================================= */

.services-page {
    background: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19.5px;
}
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.service-card {
    min-height: 0;
    padding: 30px 27px;

    display: flex;
    flex-direction: column;

    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 25.5px;

    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4.5px);
    border-color: #e2e2e2;
    box-shadow: 0 12px 37.5px rgba(0, 0, 0, 0.06);
}

.price-tag {
    align-self: flex-start;
    margin-bottom: 16.5px;
    padding: 4.5px 15px;

    border: 1px solid #dfe3e7;
    border-radius: 22.5px;

    font-size: 12px;
    color: #68717d;
}

.service-card h2 {
    margin-bottom: 10.5px;

    font-size: 16.5px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.card-sub {
    margin-bottom: 16.5px;

    font-size: 12px;
    line-height: 1.35;
    color: #777777;
}

.card-text {
    margin-bottom: 19.5px;

    font-size: 12px;
    line-height: 1.5;
    color: #777777;
}

.card-tagline {
    margin-top: auto;
    margin-bottom: 13.5px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.card-link {
    font-size: 12px;
    color: #0070d9;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: 0;
        padding: 33px 30px;
    }

    .service-card h2 {
        font-size: 19.5px;
    }

    .card-sub,
    .card-text,
    .card-tagline,
    .card-link,
    .price-tag {
        font-size: 14.2px;
    }
}


/* Two columns on tablets */

@media (max-width: 1120px) {

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