/* Services hub. Shared foundations, typography and CTA tokens own branding. */
.services-hub {
    --services-ink: #092b46;
    --services-muted: #526579;
    --services-border: #dce8f1;
    --services-radius: 18px;
    color: var(--services-ink);
    background: var(--site-surface);
}
.services-hub :is(section, aside[id]) {
    scroll-margin-top: 110px;
}
.services-hub__section {
    padding: var(--homepage-section-space, clamp(48px, 6vw, 80px)) 0;
}
.services-hub__heading {
    max-width: 770px;
    margin-bottom: 30px;
}
.services-hub__heading h2 {
    margin: 0;
}
.services-hub__heading > p {
    margin: 16px 0 0;
    color: var(--services-muted);
    line-height: 1.75;
}
.services-hub__heading--center {
    margin-inline: auto;
    text-align: center;
}
.services-hub__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
.services-hub__text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 650;
}
.services-hub__text-link:hover {
    color: var(--secondary-color);
}
.services-hub__text-link span {
    transition: transform 180ms ease;
}
.services-hub__text-link:hover span {
    transform: translateX(4px);
}
.services-hub :is(a, button, input, select, summary, [tabindex]):not(:where(.home-locations__card, .home-reviews *)):focus-visible {
    outline: 3px solid #25b995;
    outline-offset: 4px;
}

/* Hero: shared dark surface with readable copy and a separate quote panel. */
.services-hub__hero {
    display: flex;
    flex-direction: column;
    min-height: calc(
        var(--hero-layout-viewport-height, 100vh) - var(--homepage-header-overlay-height, 132px)
    );
    padding: 0;
    background: var(--site-surface-dark);
    color: #fff;
}
.services-hub__hero-grid {
    display: grid;
    flex: 1 0 auto;
    padding-block: clamp(20px, 3svh, 36px) 24px;
    grid-template-columns: var(--site-hero-grid-columns);
    gap: var(--site-hero-grid-gap);
    align-items: center;
}
.services-hub__hero-copy {
    --site-heading-color: #fff;
    --services-muted: rgba(255, 255, 255, 0.88);
    min-width: 0;
}
.services-hub__hero .site-hero-heading .site-heading-accent {
    display: block;
    padding-bottom: 0.14em;
}
.services-hub__hero-lead {
    max-width: 580px;
    margin: 18px 0 26px;
    color: var(--services-muted);
    font-size: 1.1rem;
    line-height: 1.75;
}
.services-hub__hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
}
.services-hub__hero-actions > .primary-btn {
    flex-shrink: 0;
}
.services-hub__hero-plan {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
}
.services-hub__hero-plan > span {
    color: var(--services-muted);
    font-size: 0.86rem;
}
.services-hub__hero-plan a {
    width: fit-content;
    color: #fff;
    font-size: 0.94rem;
    font-weight: 600;
}
.services-hub__hero-plan a:hover {
    color: var(--secondary-color);
}
.services-hub__trust {
    margin-top: auto;
    padding-bottom: 24px;
}
.services-hub__trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-block: 24px;
    border: 1px solid var(--services-border);
    border-radius: var(--site-button-radius);
    background: var(--site-surface);
}
.services-hub__trust-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0 20px;
    text-align: center;
}
.services-hub__trust-grid > div + div {
    border-left: 1px solid var(--services-border);
}
.services-hub__trust-grid strong {
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    color: var(--services-ink);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.services-hub__trust-grid span {
    font-size: 0.82rem;
    color: var(--services-muted);
    line-height: 1.4;
}

/* Overview: editorial copy, a generous image and compact service commitments. */
.services-hub__overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(32px, 5vw, 70px);
}
.services-hub__prose p {
    margin: 0 0 18px;
    color: var(--services-muted);
    line-height: 1.75;
}
.services-hub__prose p:last-child {
    margin-bottom: 0;
}
.services-hub__overview-image {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    align-self: center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--services-radius);
}
.services-hub__overview-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .services-hub__overview-image {
        align-self: stretch;
        max-height: 36rem;
    }
}

.services-hub__benefits-intro {
    margin: 36px 0 24px;
    font-size: 1.15rem;
    font-weight: 650;
    color: var(--primary-color);
}
.services-hub__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.services-hub__benefits > div {
    display: flex;
    align-items: center;
    gap: 16px;
}
.services-hub__benefits i {
    flex: 0 0 36px;
    color: var(--secondary-color);
    font-size: 1.8rem;
}
.services-hub__benefits strong {
    max-width: 165px;
    border-left: 1px solid #cadde9;
    padding-left: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}
.services-hub__experience {
    margin-top: 40px;
    padding: 26px 28px;
    border-radius: var(--services-radius);
    background: var(--site-section-surface);
}
.services-hub__experience > p {
    margin-bottom: 20px;
    color: var(--services-muted);
    font-size: 0.94rem;
}
.services-hub__experience ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.services-hub__experience li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}
.services-hub__experience li i {
    padding-top: 5px;
    color: var(--secondary-color);
}
.services-hub__overview {
    padding-bottom: 0;
}
.services-hub__overview-footer {
    width: 100%;
    margin-top: 36px;
    padding-block: clamp(32px, 5vw, 58px);
    background: var(--site-surface-dark);
    color: #fff;
    text-align: center;
}
.services-hub__support-content {
    display: grid;
    min-width: 0;
    justify-items: center;
    gap: 32px;
}
.services-hub__support-strip {
    display: grid;
    width: 100%;
    min-width: 0;
    justify-items: center;
    gap: 28px;
}
.services-hub__support-strip > h3 {
    width: 100%;
    max-width: none;
    margin: 0;
}
.services-hub__support-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.services-hub__support-cities li {
    display: flex;
}
.services-hub__support-cities li > :is(a, span) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--site-button-radius);
    font-size: 0.95rem;
    font-weight: 550;
    line-height: 1.5;
    white-space: nowrap;
}
.services-hub__support-cities a {
    color: inherit;
    text-decoration: none;
}
.services-hub__support-cities a:hover {
    border-color: var(--secondary-color);
}
.services-hub__support-cities i {
    color: var(--secondary-color);
}
.services-hub__overview-footer .services-hub__actions {
    width: 100%;
    justify-content: center;
}

/* Managed IT uses Home's colored CTA surface and button variants. */
.services-hub__managed {
    position: relative;
    padding: clamp(30px, 5vw, 58px);
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(7, 87, 131, 0.2);
}
.services-hub__managed h2 {
    max-width: 900px;
    margin: 0 auto;
}
.services-hub__managed p {
    max-width: 780px;
    margin: 20px auto 30px;
    font-size: 1rem;
    line-height: 1.65;
}

.services-hub__partnership {
    --site-heading-color: #fff;
    background: var(--site-surface-dark);
    color: #fff;
}
.services-hub .services-hub__partnership .home-locations__heading .site-section-label {
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
}
.services-hub .services-hub__partnership .home-locations__heading .site-section-heading .site-heading-accent {
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
}
.services-hub__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.services-hub__steps > li {
    position: relative;
    display: flex;
    flex: 0 1 calc((100% - 44px) / 3);
    min-width: 0;
}
.services-hub__step-content {
    position: relative;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    column-gap: 20px;
    row-gap: 16px;
    width: 100%;
    min-width: 0;
    min-height: 224px;
    padding: 22px 20px 26px;
    border: 1px solid #08649e;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(10, 43, 72, 0.62), rgba(3, 23, 42, 0.78));
    box-shadow: inset 0 1px 0 rgba(108, 201, 255, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.services-hub__step-heading {
    display: contents;
}
.services-hub__step-icon {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border: 1px solid rgba(36, 158, 255, 0.45);
    border-radius: 50%;
    background: rgba(0, 106, 225, 0.48);
    color: #fff;
    font-size: 1.8rem;
}
.services-hub__steps > li:nth-child(2) .services-hub__step-icon {
    border-color: rgba(0, 213, 178, 0.45);
    background: rgba(0, 176, 148, 0.32);
    color: #00d8b2;
}
.services-hub__step-heading h3 {
    align-self: center;
    min-width: 0;
    margin: 0;
    color: #fff;
    font-size: 1.06rem;
    font-weight: 720;
    line-height: 1.35;
}
.services-hub__step-content p {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.55;
}
.services-hub__step-content::after {
    position: absolute;
    bottom: 0;
    left: 4px;
    width: 126px;
    height: 7px;
    border-radius: 0 6px 0 18px;
    background: #087df5;
    content: "";
}
.services-hub__steps > li:nth-child(2) .services-hub__step-content::after {
    background: #00cba8;
}
.services-hub__steps > li:hover .services-hub__step-content {
    transform: translateY(-3px);
    border-color: #0c9ddd;
    box-shadow: 0 14px 28px rgba(0, 113, 197, 0.14), inset 0 1px 0 rgba(108, 201, 255, 0.07);
}
@media (max-width: 1199.98px) and (min-width: 768px) {
    .services-hub__steps > li {
        flex-basis: calc((100% - 22px) / 2);
    }
}
@media (max-width: 767.98px) {
    .services-hub__steps > li {
        flex-basis: 100%;
    }
    .services-hub__step-content {
        min-height: 0;
        grid-template-columns: 64px minmax(0, 1fr);
    }
}
@media (max-width: 575.98px) {
    .services-hub__steps {
        gap: 12px;
    }
    .services-hub__step-content {
        padding: 20px;
    }
    .services-hub__step-icon {
        width: 64px;
        height: 64px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .services-hub__step-content {
        transition-duration: 0.01ms;
    }
}
/* Five city cards preserve equal hierarchy, including Headquarters. */
.services-hub__headquarters {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 20px 24px;
    border: 1px solid var(--services-border);
    border-radius: 12px;
    background: var(--site-surface);
}
.services-hub__headquarters > i {
    color: var(--primary-color);
    font-size: 1.3rem;
}
.services-hub__headquarters p {
    margin: 0;
    font-size: 0.88rem;
}
.services-hub__headquarters a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 650;
}

@media (max-width: 991.98px) {
    .services-hub__hero-grid,
    .services-hub__overview-grid {
        grid-template-columns: 1fr;
    }
    .services-hub__hero-copy {
        max-width: 740px;
    }
    .services-hub__benefits,
    .services-hub__experience ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .services-hub__headquarters {
        flex-wrap: wrap;
    }
}
@media (max-width: 767.98px) {
    .services-hub__overview-footer {
        padding-block: 32px;
    }
    .services-hub__support-content {
        gap: 28px;
    }
    .services-hub__support-strip {
        gap: 24px;
    }
}
@media (max-width: 575.98px) {
    .services-hub__hero-lead {
        font-size: 1rem;
    }
    .services-hub__benefits {
        gap: 22px 16px;
    }
    .services-hub__benefits > div {
        gap: 9px;
        align-items: flex-start;
    }
    .services-hub__benefits i {
        flex-basis: 25px;
        font-size: 1.3rem;
    }
    .services-hub__benefits strong {
        padding-left: 10px;
        font-size: 0.8rem;
    }
    .services-hub__experience {
        padding: 22px 20px;
    }
    .services-hub__experience ul {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .services-hub__headquarters {
        padding: 18px;
        align-items: center;
    }
    .services-hub__headquarters p {
        min-width: 180px;
    }
    .services-hub__headquarters a {
        margin-left: 0;
    }
    .services-hub__actions {
        align-items: stretch;
        flex-direction: column;
    }
    .services-hub__actions > a {
        justify-content: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .services-hub *,
    .services-hub *::before,
    .services-hub *::after {
        transition: none;
    }
}

@media (min-width: 992px) and (max-height: 850px) {
    .services-hub__hero-grid {
        padding-block: clamp(10px, 2svh, 16px);
    }
    .services-hub__hero-lead {
        margin-block: 12px 18px;
    }
    .services-hub__hero .location-hero__form-intro {
        margin-bottom: 12px;
    }
    .services-hub__hero .location-enquiry__grid {
        gap: 10px 16px;
    }
    .services-hub__hero .location-enquiry label {
        margin-bottom: 4px;
    }
    .services-hub__hero .location-enquiry > button {
        margin-top: 12px;
    }
    .services-hub__trust {
        padding-bottom: 16px;
    }
    .services-hub__trust-grid {
        padding-block: 12px;
    }
}

@media (max-width: 575.98px) {
    .services-hub__trust-grid {
        grid-template-columns: 1fr;
    }
    .services-hub__trust-grid > div {
        padding-block: 12px;
    }
    .services-hub__trust-grid > div + div {
        border-left: 0;
        border-top: 1px solid var(--services-border);
    }
}
