/* =====================================================
   services-hub.css — RapiX Solutions Services Hub Bundle
   var() colours only (RULE 1). Loaded on the Services Hub
   template via enqueue.php.
   Hero, services list (.list-display), CTA are all global —
   this file only carries the intro + why-us blocks.
   ===================================================== */

/* =====================================================
   Intro — asymmetric 2-up manifesto block
   Left: eyebrow + display heading with italic-serif accent.
   Right: longer body paragraph(s).
   Calmer than the home manifesto — this is a preface, not
   the page's loudest moment.
   ===================================================== */

.sh-intro__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.sh-intro__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.sh-intro__heading {
    margin: 0;
    max-width: 18ch;
}

.sh-intro__body {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--leading-body);
    color: var(--color-muted);
    max-width: var(--measure-text);
}

.sh-intro__body p { margin: 0 0 var(--space-4); }
.sh-intro__body p:last-child { margin-bottom: 0; }

@media ( max-width: 1024px ) {
    .sh-intro__inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    .sh-intro__heading { max-width: 100%; }
}

/* =====================================================
   Services list — section head + empty state
   The list itself uses the global .list-display block.
   ===================================================== */

.sh-services__head {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    max-width: 880px;
}

.sh-services__heading { margin: 0; }

.sh-services__sub {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--leading-body);
    color: var(--color-muted);
    max-width: var(--measure-text);
}

.sh-services__sub p { margin: 0 0 var(--space-3); }
.sh-services__sub p:last-child { margin-bottom: 0; }

.sh-services__empty {
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--leading-body);
    color: var(--color-muted);
    padding: var(--space-8);
    background-color: var(--color-white);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    margin: 0;
}

.sh-services__empty strong {
    color: var(--color-text);
    font-weight: var(--fw-semibold);
}

@media ( max-width: 768px ) {
    .sh-services__head { margin-bottom: var(--space-10); }
}

/* =====================================================
   Why Us — sticky-intro + numbered editorial list
   Same pattern as About Values + Service Benefits.
   Italic Cormorant chapter numbers in primary orange.
   ===================================================== */

.sh-why__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-16);
    align-items: start;
}

.sh-why__intro {
    position: sticky;
    top: calc( 80px + var(--space-8) );
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.sh-why__heading { margin: 0; }

.sh-why__sub {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--leading-body);
    color: var(--color-muted);
    max-width: var(--measure-text);
    margin: 0;
}

.sh-why__sub p { margin: 0 0 var(--space-3); }
.sh-why__sub p:last-child { margin-bottom: 0; }

.sh-why__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--color-border);
}

.sh-why-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-10);
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--color-border);
}

.sh-why-row:first-child { padding-top: var(--space-6); }

.sh-why-row__num {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 500;
    font-size: clamp( 2.25rem, 5vw, 3rem );
    line-height: 1;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    align-self: start;
    padding-top: 0.1em;
    min-width: 1.8em;
}

.sh-why-row__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.sh-why-row__title {
    font-family: var(--font-heading);
    font-weight: var(--fw-extrabold);
    font-size: var(--text-h2);
    line-height: var(--leading-snug);
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
}

.sh-why-row__desc {
    font-family: var(--font-body);
    font-size: var(--text-body-lg);
    line-height: var(--leading-body);
    color: var(--color-muted);
    max-width: var(--measure-text);
    margin: 0;
}

@media ( max-width: 1024px ) {
    .sh-why__inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    .sh-why__intro { position: static; }
}

@media ( max-width: 768px ) {
    .sh-why-row {
        gap: var(--space-7);
        padding: var(--space-10) 0;
    }
}

@media ( max-width: 640px ) {
    .sh-why-row {
        grid-template-columns: 1fr;
        gap: var(--space-3);
        padding: var(--space-7) 0;
    }
    .sh-why-row__num { font-size: clamp( 1.875rem, 8vw, 2.5rem ); }
}
