:root {
    --vas-primary: #0071BD;
    --vas-ink: #212121;
    --vas-muted: #2B2B2B;
    --vas-surface: #FFFFFF;
    --vas-soft-blue: #E8F6FF;
    --vas-hero-blue: #003B5D;
    --vas-font-heading: Poppins, sans-serif;
    --vas-font-body: Montserrat, sans-serif;
    /* Home/eCommerce-aligned responsive shell and hero scale. */
    --vas-shell-width: var(--site-shell-width, calc(100% - clamp(32px, 8vw, 128px)));
    --vas-shell-max-width: var(--site-shell-max-width, 1424px);
    --vas-shell-gutter: clamp(12px, 1.1vw, 16px);
    --vas-hero-title-size: 34px;
    --vas-hero-description-size: 16px;
    --vas-button-size: 18px;
    --vas-section-title-size: 30px;
    --vas-section-description-size: 18px;
    --vas-tab-size: 16px;
    --vas-potential-title-size: 28px;
    --vas-potential-description-size: 18px;
    --vas-cta-title-size: 24px;
    --vas-cta-description-size: 15px;
    --vas-cta-button-size: 16px;
}

@media (min-width: 576px) {
    :root {
        --vas-hero-title-size: 38px;
        --vas-hero-description-size: 18px;
        --vas-cta-title-size: 28px;
        --vas-cta-description-size: 17px;
        --vas-cta-button-size: 17px;
    }
}

@media (min-width: 768px) {
    :root {
        --vas-hero-title-size: clamp(38px, 3vw, 46px);
        --vas-hero-description-size: clamp(18px, 1.4vw, 20px);
        --vas-cta-title-size: 30px;
        --vas-cta-description-size: 18px;
        --vas-cta-button-size: 18px;
    }
}

@media (min-width: 992px) {
    :root {
        --vas-button-size: 22px;
        --vas-section-title-size: 36px;
        --vas-section-description-size: 22px;
        --vas-tab-size: 22px;
        --vas-potential-title-size: 32px;
        --vas-potential-description-size: 20px;
        --vas-cta-title-size: 36px;
        --vas-cta-description-size: 22px;
        --vas-cta-button-size: 20px;
    }
}

:is(.vas-hero, .vas-potential-section) > .container {
    width: var(--vas-shell-width);
    max-width: var(--vas-shell-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--vas-shell-gutter);
    padding-left: var(--vas-shell-gutter);
}

.vas-banner,
.vas-hero,
.vas-potential-section {
    max-width: 100%;
    overflow-x: clip;
}

.vas-banner {
    position: absolute;
    top: calc(var(--site-navbar-space, 0px) * -1);
    right: auto;
    left: 0;
    width: 100%;
    height: calc(101vh + var(--site-navbar-space, 0px));
    min-height: calc(720px + var(--site-navbar-space, 0px));
    overflow: hidden;
    background: var(--vas-hero-blue);
}

.vas-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.vas-hero {
    --solution-hero-title-size: var(--vas-hero-title-size);
    --solution-hero-description-size: var(--vas-hero-description-size);
    position: relative;
    box-sizing: border-box;
    z-index: 2;
    height: 101vh;
    min-height: 720px;
    padding-top: var(--site-navbar-space, 0px);
}

.vas-hero .container {
    position: relative;
    top: calc(var(--site-navbar-space, 0px) * -1);
    height: calc(100% + var(--site-navbar-space, 0px));
    min-height: 0 !important;
}

.vas-hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    width: min(62%, 900px);
    max-width: 100%;
    color: var(--vas-surface);
    transform: translateY(-50%);
}

.vas-hero-title,
.vas-hero-description,
.vas-button,
.vas-potential-tab,
.vas-potential-title,
.vas-potential-description {
    font-family: var(--vas-font-heading);
    letter-spacing: 0;
}

.vas-hero-title {
    margin: 0 0 1rem;
    color: var(--vas-surface) !important;
    font-size: var(--vas-hero-title-size);
    font-weight: 700;
    line-height: 1.18;
}

.vas-hero-description {
    max-width: 580px;
    margin: 0 0 2.25rem;
    color: var(--vas-surface);
    font-size: var(--vas-hero-description-size);
    font-weight: 500;
    line-height: 1.35;
}

.vas-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4rem;
    padding: 1rem 3rem;
    border-radius: 1rem;
    background: var(--vas-primary);
    color: var(--vas-surface);
    font-size: var(--vas-button-size);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.vas-button:hover,
.vas-button:focus {
    color: var(--vas-surface);
    background: #0064A6;
    text-decoration: none;
    transform: translateY(-1px);
}

.vas-hero-button {
    min-width: clamp(13.75rem, 23vw, 20.625rem);
}

.vas-potential-section {
    background: var(--vas-surface);
    padding: clamp(2.875rem, 6vw, 3.5rem) 0 clamp(4.5rem, 7vw, 5.75rem);
}

.vas-section-title {
    margin: 0 0 1.125rem;
    color: var(--vas-ink);
    font-family: var(--vas-font-body);
    font-size: var(--vas-section-title-size);
    font-weight: 700;
    line-height: 1.2;
}

.vas-section-description {
    margin: 0 auto 2.5rem;
    color: var(--vas-ink);
    font-family: var(--vas-font-body);
    font-size: var(--vas-section-description-size);
    font-weight: 500;
    line-height: 1.28;
}

.vas-potential-tabs {
    display: flex;
    gap: 0.75rem;
    width: min(100%, 680px);
    margin-bottom: 2.25rem;
    padding: 0.5rem 1.125rem;
    border-radius: 999px;
    background: var(--vas-soft-blue);
}

.vas-potential-tab {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.625rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--vas-ink);
    font-size: var(--vas-tab-size);
    font-weight: 400;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.vas-potential-tab.is-active {
    background: var(--vas-primary);
    color: var(--vas-surface);
    font-weight: 500;
}

.vas-potential-panel {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.vas-potential-panel.is-dissolving {
    opacity: 0;
    transform: translateY(0.5rem);
}

.vas-potential-media {
    overflow: hidden;
    padding: 1rem;
    border: 1.5px solid #424242;
    border-radius: 1.5rem;
    background: var(--vas-surface);
}

.vas-potential-image {
    display: block;
    width: 100%;
    aspect-ratio: 1.54 / 1;
    border-radius: 1.125rem;
    object-fit: cover;
}

.vas-potential-title {
    margin: 0 0 1.25rem;
    color: var(--vas-ink);
    font-size: var(--vas-potential-title-size);
    font-weight: 500;
    line-height: 1.08;
}

.vas-potential-description {
    margin: 0;
    color: var(--vas-muted);
    font-size: var(--vas-potential-description-size);
    font-weight: 400;
    line-height: 1.3;
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

@media (min-width: 992px) {
    .vas-potential-media-col {
        width: 55%;
    }

    .vas-potential-copy-col {
        width: 45%;
    }
}

@media (max-width: 991.98px) {
    .vas-hero-image {
        object-position: 62% center;
    }

    .vas-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(0, 35, 57, 0.88) 0%, rgba(0, 35, 57, 0.64) 55%, rgba(0, 35, 57, 0.22) 100%);
        pointer-events: none;
    }

    .vas-hero-content {
        left: 0;
        width: min(72%, 640px);
        max-width: 100%;
    }

    .vas-button {
        min-height: 3.5rem;
        padding: 0.875rem 2.25rem;
    }

    .vas-potential-tabs {
        width: min(100%, 560px);
        gap: 0.5rem;
        padding: 0.375rem 0.625rem;
    }

}

@media (max-width: 575.98px) {
    .vas-hero-image {
        object-position: 66% center;
    }

    .vas-hero-content {
        top: 50%;
        width: 100%;
        max-width: 100%;
    }

    .vas-hero-description {
        margin-bottom: 1.75rem;
    }

    .vas-button {
        width: 100%;
        max-width: 15rem;
        min-height: 3.125rem;
        padding: 0.75rem 1.75rem;
        border-radius: 0.75rem;
    }

    .vas-potential-section {
        padding-bottom: 4rem;
    }

    .vas-section-description {
        margin-bottom: 1.75rem;
    }

    .vas-potential-tabs {
        flex-direction: column;
        width: min(100%, 360px);
        border-radius: 1.75rem;
    }

    .vas-potential-tab {
        min-height: 2.625rem;
        white-space: normal;
    }

    .vas-potential-media {
        padding: 0.625rem;
        border-radius: 1.125rem;
    }

    .vas-potential-image {
        border-radius: 0.75rem;
    }

}

/* Fluid page layout ------------------------------------------------------- */

.vas-hero .row,
.vas-hero .row > *,
.vas-potential-panel,
.vas-potential-panel > *,
.vas-potential-copy {
    min-width: 0;
}

.vas-section-description,
.vas-potential-title {
    overflow-wrap: anywhere;
}

.vas-potential-tabs {
    max-width: 100%;
}

.vas-potential-tab {
    min-width: 0;
    padding-inline: clamp(0.875rem, 2vw, 1.5rem);
}

@media (min-width: 992px) {
    /* Match eCommerce's fluid desktop grid and stacked tablet behavior. */
    .vas-potential-panel {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: clamp(1.75rem, 4vw, 3.5rem);
        align-items: center;
        margin-right: 0;
        margin-left: 0;
    }

    .vas-potential-media-col,
    .vas-potential-copy-col {
        width: auto;
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .vas-potential-media {
        padding: clamp(0.625rem, 1.25vw, 1rem);
        border-radius: clamp(1.125rem, 2vw, 1.5rem);
    }

    .vas-potential-image {
        border-radius: clamp(0.75rem, 1.5vw, 1.125rem);
    }
}
