/* ─────────────────────────────────────────────────────
   SERVICES HUB PAGE STYLES
   ───────────────────────────────────────────────────── */

/* 1. SERVICES HUB SECTION */
.services-hub {
    padding: 120px 0;
    background: #FDFBF7;
    /* Cream background to match image */
}

.services-group {
    margin-bottom: 120px;
}

.services-group:last-child {
    margin-bottom: 0;
}

/* 2. GROUP HEADER (Matches the "OUR FOCUS" style) */
.services-group .group-header {
    margin-bottom: 60px;
    text-align: left;
    /* Image shows left-aligned header stuff */
    max-width: 800px;
}

.services-group .group-header .kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.services-group .group-header .kicker::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.services-group .group-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--maroon-mid);
    line-height: 1.1;
    margin-bottom: 24px;
}

.services-group .group-header p {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* 3. SERVICE GRID (2 Columns as per image) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* 4. SERVICE HUB CARD (Matches the "Families & Individuals" card) */
.service-hub-card {
    background: #FFF;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
    text-decoration: none;
    height: 100%;
}

.service-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.service-hub-card .card-image {
    height: 280px;
    overflow: hidden;
}

.service-hub-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-hub-card:hover .card-image img {
    transform: scale(1.05);
}

.service-hub-card .card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 20px;
}

.service-hub-card h3 {
    font-family: var(--font-display) !important;
    font-size: 26px;
    color: var(--maroon-mid);
    margin: 0;
}

.service-hub-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Button in card */
.service-hub-card .card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--gold-light);
    color: #FFF;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s ease;
    width: fit-content;
}

/* Darker gold on hover */
.service-hub-card:hover .card-link {
    background: var(--gold);
}

/* 5. RESPONSIVE */
@media (max-width: 1100px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .services-group .group-header {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .services-group .group-header .kicker {
        justify-content: center;
    }
}