/* Unified service hub layout: photo hero, six service cards, combined guide. */
.asva-service-hub-page,
.asva-service-hub-page *,
.asva-service-hub-page *::before,
.asva-service-hub-page *::after {
    box-sizing: border-box;
}

.asva-service-hub-page {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 0 72px;
    overflow: hidden;
    color: #263544;
    background: linear-gradient(180deg, #dcecf9 0, #e8f2fb 420px, #e8f2fb 100%);
}

html[data-asva-theme="dark"] .asva-service-hub-page {
    color: #e2eaf6;
    background: #101b2c;
}

.asva-service-hub-hero {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
    margin: 0;
    padding: clamp(28px, 4vw, 56px) 24px clamp(52px, 6vw, 76px);
    overflow: hidden;
    color: #ffffff;
    background-color: #10202b;
    background-image:
        linear-gradient(90deg, rgba(5, 17, 25, .73), rgba(5, 17, 25, .20) 68%, rgba(5, 17, 25, .34)),
        linear-gradient(0deg, rgba(5, 17, 25, .62), rgba(5, 17, 25, .10) 64%),
        var(--asva-service-hub-image);
    background-position: center, center, center;
    background-size: cover, cover, cover;
    background-repeat: no-repeat;
}

.asva-service-hub-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 12, 19, .08), rgba(3, 12, 19, .22));
    pointer-events: none;
}

.asva-service-hub-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.asva-service-hub-hero__breadcrumb {
    display: flex;
    margin: 0 0 24px;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .83) !important;
    font: 12px/1.5 Verdana, Geneva, sans-serif !important;
}

.asva-service-hub-hero__breadcrumb a,
html[data-asva-theme] .asva-service-hub-hero__breadcrumb a {
    color: #ffffff !important;
    text-decoration-color: rgba(255, 255, 255, .62);
    text-underline-offset: 3px;
}

.asva-service-hub-hero__title {
    max-width: 900px;
    margin: 0 0 9px !important;
    color: #ffffff !important;
    font: 700 clamp(26px, 3vw, 38px)/1.2 Verdana, Geneva, sans-serif !important;
    text-wrap: balance;
}

.asva-service-hub-hero__lead {
    max-width: 760px;
    margin: 0 0 27px !important;
    color: #edf2f5 !important;
    font: 14px/1.6 Verdana, Geneva, sans-serif !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .28);
}

.asva-service-hub-grid {
    display: grid !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.asva-service-hub-grid .asva-service-switch-card {
    min-height: clamp(244px, 29vh, 300px) !important;
}

.asva-service-hub-page > .asva-service-overview {
    margin-top: 48px;
}

@media (max-width: 980px) {
    .asva-service-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    .asva-service-hub-page {
        padding-bottom: 38px;
    }

    .asva-service-hub-hero {
        min-height: 0;
        padding: 22px 12px 28px;
        background-position: center, center, center;
    }

    .asva-service-hub-hero__breadcrumb {
        margin-bottom: 17px;
        font-size: 10px !important;
    }

    .asva-service-hub-hero__title {
        margin-bottom: 8px !important;
        font-size: clamp(23px, 7vw, 30px) !important;
    }

    .asva-service-hub-hero__lead {
        margin-bottom: 19px !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    .asva-service-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .asva-service-hub-grid .asva-service-switch-card {
        min-height: 92px !important;
    }

    .asva-service-hub-page > .asva-service-overview {
        margin-top: 28px;
    }
}

@media (max-width: 360px) {
    .asva-service-hub-grid {
        grid-template-columns: 1fr !important;
    }

    .asva-service-hub-grid .asva-service-switch-card {
        min-height: 80px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .asva-service-hub-page *,
    .asva-service-hub-page *::before,
    .asva-service-hub-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
