/* Public hub page refinements. */
.services-hub-intro {
    padding: clamp(48px, 6vw, 78px) 0;
    background:
        radial-gradient(ellipse at 12% 8%, rgba(0, 114, 190, .08), transparent 34%),
        linear-gradient(180deg, #f6f9fc 0%, #fff 100%);
}

.services-hub-intro__content {
    max-width: 940px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid #e3ebf2;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 44px rgba(16, 39, 68, .07);
    text-align: center;
}

.services-hub-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #087f83;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.services-hub-intro__eyebrow::before {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #20a69c;
    content: "";
}

.services-hub-intro h2 {
    max-width: 760px;
    margin: 0 auto;
    color: #102744;
    font-size: clamp(1.8rem, 3.3vw, 2.65rem);
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.16;
}

.services-hub-intro__lead {
    max-width: 740px;
    margin: 18px auto 0;
    color: #087f83;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: 650;
    line-height: 1.55;
}

.services-hub-intro__description {
    max-width: 790px;
    margin: 18px auto 0;
    color: #536b82;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}

.services-hub-intro__description p {
    margin: 0 0 13px;
}

.services-hub-intro__description p:last-child {
    margin-bottom: 0;
}

.services-hub-intro + .public-hub-listing {
    padding-top: clamp(36px, 5vw, 62px);
}

@media (max-width: 575.98px) {
    .services-hub-intro__content {
        border-radius: 18px;
    }

    .services-hub-intro__description {
        text-align: center;
    }
}

.company-hub-intro {
    padding: clamp(42px, 5.5vw, 72px) 0;
    background:
        radial-gradient(ellipse at 92% 10%, rgba(32, 166, 156, .1), transparent 34%),
        linear-gradient(180deg, #f5f9fc 0%, #fff 100%);
}

.company-hub-intro__panel {
    display: grid;
    grid-template-columns: minmax(250px, .82fr) minmax(0, 1.18fr);
    max-width: 1100px;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid #e1eaf1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(16, 39, 68, .07);
}

.company-hub-intro__lead {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 4vw, 48px);
    background: linear-gradient(145deg, #edf6fc 0%, #edf8f6 100%);
}

.company-hub-intro__eyebrow,
.company-hub-listing__eyebrow {
    margin: 0 0 12px;
    color: #087f83;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.company-hub-intro__lead > p:last-child {
    margin: 0;
    color: #102744;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 650;
    line-height: 1.5;
}

.company-hub-intro__description {
    align-self: center;
    padding: clamp(28px, 4vw, 48px);
    color: #536b82;
    font-size: 1rem;
    line-height: 1.8;
}

.company-hub-intro__description p {
    margin: 0 0 14px;
}

.company-hub-intro__description p:last-child {
    margin-bottom: 0;
}

.company-hub-listing {
    padding-top: clamp(46px, 6vw, 76px) !important;
}

.company-hub-listing__heading {
    max-width: 760px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    text-align: center;
}

.company-hub-listing__heading h2 {
    margin: 0;
    color: #102744;
    font-size: clamp(1.8rem, 3.2vw, 2.55rem);
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.18;
}

.company-hub-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 270px;
    flex-direction: column;
    overflow: hidden;
    padding: 30px;
    border: 1px solid #e0e9f0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 39, 68, .06);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.company-hub-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0879e8, #20a69c);
    content: "";
}

.company-hub-card:hover {
    transform: translateY(-5px);
    border-color: #bddbdc;
    box-shadow: 0 18px 38px rgba(16, 39, 68, .11);
}

.company-hub-card:focus-within {
    outline: 3px solid rgba(22, 137, 212, .45);
    outline-offset: 3px;
}

.company-hub-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 16px;
    color: #087f83;
    background: #eaf6f5;
    font-size: 1.2rem;
}

.company-hub-card h3 {
    margin: 0 0 10px;
    color: #102744;
    font-size: 1.18rem;
    font-weight: 720;
    line-height: 1.35;
}

.company-hub-card > p {
    margin: 0 0 22px;
    color: #61758b;
    font-size: .95rem;
    line-height: 1.7;
}

.company-hub-card__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: #0879a8;
    font-weight: 700;
}

.company-hub-card__link i {
    transition: transform .2s ease;
}

.company-hub-card__link:hover i {
    transform: translateX(4px);
}

.company-hub-card__link:focus-visible {
    border-radius: 3px;
    outline: 3px solid #1689d4;
    outline-offset: 4px;
}

@media (max-width: 767.98px) {
    .company-hub-intro__panel {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .company-hub-intro__lead {
        padding-bottom: 28px;
    }

    .company-hub-intro__description {
        padding-top: 26px;
    }

    .company-hub-card {
        min-height: 245px;
    }
}
