.services-header {
    max-width: 52rem;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-subtitle {
    font-size: clamp(1.125rem, 2.2vw, 1.25rem);
    line-height: 1.65;
    opacity: 0.88;
    margin-top: 1.25rem;
}

.services-grid {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    background-color: var(--neutral);
    padding: 2.75rem 2.25rem;
    border-radius: 0.875rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 5px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;                    /* Critical for alignment */
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -15px rgb(0 0 0 / 0.15);
}

/* Vertical color accents */
.service-card.performance   { border-top-color: #ff9900; }
.service-card.accessibility { border-top-color: #00a5b5; }
.service-card.conversion    { border-top-color: #ff9900; }
.service-card.engagement    { border-top-color: #4a6fa5; }
.service-card.creative      { border-top-color: #ca7ead; }
.service-card.integration   { border-top-color: #0066cc; }

.service-lead {
    font-size: 1.18rem;
    line-height: 1.55;
    font-weight: 500;
    margin: 1.5rem 0 1.75rem;
}

.service-benefits {
    list-style: none;
    margin: 0 0 2.25rem 0;
    padding: 0;
    flex-grow: 1;                    /* Pushes link to bottom */
}

.service-benefits li {
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    position: relative;
    line-height: 1.65;
}

.service-benefits li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
    margin-top: auto;                /* Forces link to bottom */
    transition: all 0.25s ease;
}

.service-link:hover {
    color: var(--body-text);
    text-decoration: underline;
}

.services-trust {
    margin: 4.5rem 0 3.5rem;
    text-align: center;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    justify-content: center;
    font-size: 0.96rem;
}

.trust-bar span {
    background: var(--body-bg);
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    white-space: nowrap;
}

.services-cta {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.22rem;
    line-height: 1.7;
    margin-bottom: 2.25rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}