/* Business Valuation Calculator
 * Desktop-first responsive page styles.
 * Form view + results view live on the same route, toggled by Alpine state.
 */

#valuation-calculator {
    background: var(--white);
    color: var(--grey-800);
}

#valuation-calculator [x-cloak] {
    display: none !important;
}

:where(#valuation-calculator) strong,
:where(#valuation-calculator) b {
    font-variation-settings: "slnt" 0, "wght" 600;
}

/* ----------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------- */

.vc-hero {
    position: relative;
    background:
        url("../images/hero-background.webp") 50% 50% / cover no-repeat,
        linear-gradient(180deg, #08349b 0%, #031235 100%);
    color: var(--white);
    overflow: hidden;
}

.vc-hero__wrap {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px;
    display: flex;
    align-items: center;
    gap: 80px;
    justify-content: space-between;
}

.vc-hero__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 0 1 630px;
    min-width: 0;
}

.vc-hero__headings {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vc-hero__heading {
    color: var(--white);
    margin: 0;
}

.vc-hero__eyebrow {
    color: var(--blue-400);
    margin: 0;
}

.vc-hero__lede {
    color: var(--white);
    margin: 0;
}

.vc-hero__visual {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    background: var(--brand-primary);
    border-radius: 32px;
    margin: 0 55px 0 0;
}

.vc-hero__visual img {
    display: block;
}

button[type].vc-hero__cta {
    align-self: flex-start;
}

@media screen and (max-width: 1279px) {
    .vc-hero__wrap {
        padding: 64px 40px;
    }

    .vc-hero__copy {
        flex: 1;
        margin: 0 auto;
        max-width: 676px;
    }

    .vc-hero__visual {
        display: none;
    }

    .vc-hero::before {
        width: 100%;
        opacity: 0.35;
    }
}

@media screen and (max-width: 767px) {
    .vc-hero__wrap {
        padding: 42px 24px;
    }

    .vc-hero__copy {
        gap: 22px;
        text-align: center;
    }

    button[type].vc-hero__cta {
        align-self: stretch;
    }
}

/* ----------------------------------------------------------------------------
 * Form section
 * ------------------------------------------------------------------------- */

.vc-form-section {
    background: var(--grey-25);
    padding: 48px 24px;
    scroll-margin-top: var(--scroll_offset_top);
}

.vc-form-section__wrap {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.vc-form-section__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
}

.vc-form-section__heading {
    margin: 0;
    color: var(--grey-800);
}

.vc-form-section__lede {
    margin: 0;
    color: var(--grey-600);
}

.vc-form {
    width: 100%;
    max-width: 880px;
    background: var(--white);
    border: 1px solid var(--grey-250);
    border-radius: 12px;
    box-shadow: 0 4px 8px -2px color-mix(in srgb, var(--grey-500) 9%, transparent),
    0 2px 4px -2px color-mix(in srgb, var(--grey-500) 9%, transparent);
    overflow: hidden;
}

.vc-form__inner {
    padding: 38px 64px 55px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.vc-form__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

button[type].vc-form__step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--grey-500);
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font: inherit;
}

button[type].vc-form__step:hover:not(.vc-form__step--active) .vc-form__step-num {
    border-color: var(--blue-500);
    color: var(--blue-500);
}

button[type].vc-form__step:hover:not(.vc-form__step--active) .vc-form__step-label {
    color: var(--blue-500);
}

button[type].vc-form__step:focus-visible {
    outline: 2px solid var(--blue-500);
    outline-offset: 4px;
    border-radius: 4px;
}

.vc-form__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--grey-150);
    border-radius: 4px;
    font-size: 14px;
    font-variation-settings: "slnt" 0, "wght" 400;
    color: var(--grey-600);
}

.vc-form__step-label {
    font-size: 14px;
    font-variation-settings: "slnt" 0, "wght" 600;
    letter-spacing: 0.16px;
}

.vc-form__step--active .vc-form__step-num {
    background: var(--blue-500);
    border-color: var(--blue-500);
    color: var(--white);
}

.vc-form__step--active .vc-form__step-label {
    color: var(--blue-500);
}

.vc-form__step-divider {
    width: 31px;
    height: 1px;
    background: var(--grey-200);
}

.vc-form__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vc-form__panel {
    display: contents;
}

.vc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
    align-items: start;
}

.vc-form__row > * {
    min-width: 0;
}

.vc-form__row label[for] {
    margin-right: -4px; /* Avoid wrapping very specific label copy on desktop */
}

.vc-form__row--single {
    grid-template-columns: 1fr;
}

.vc-form__extra {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vc-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vc-form__actions--end {
    justify-content: flex-end;
}

.vc-form__disclaimer {
    border-top: 1px solid var(--grey-100);
    padding: 24px 32px 32px;
}

.vc-form__disclaimer-text {
    color: var(--grey-600);
    font-style: italic;
    margin: 0;
}

@media screen and (max-width: 1279px) {
    .vc-form__inner {
        padding: 38px 62px 56px;
    }

    .vc-form__disclaimer {
        padding: 24px 30px 30px;
    }
}

@media screen and (max-width: 767px) {
    .vc-form-section {
        padding: 24px;
    }

    .vc-form__inner {
        padding: 24px 16px;
        gap: 18px;
    }

    .vc-form__row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vc-form__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .vc-form__actions .link1 {
        align-self: center;
    }

    .vc-form__actions .button3 {
        width: 100%;
    }

    .vc-form__steps {
        gap: 8px;
    }

    .vc-form__step-divider {
        width: 16px;
    }

    .vc-form__disclaimer {
        padding: 22px 30px 24px;
    }

    .vc-form__fields {
        margin: 0 0 6px;
    }
}

/* ----------------------------------------------------------------------------
 * Results
 * ------------------------------------------------------------------------- */

.vc-results {
    background: var(--grey-25);
    padding: 48px 24px;
    scroll-margin-top: var(--scroll_offset_top);
}

.vc-results__wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.vc-results__card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 8px -2px color-mix(in srgb, var(--grey-500) 20%, transparent),
    0 2px 4px -2px color-mix(in srgb, var(--grey-500) 20%, transparent);
    padding: 64px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.vc-results__group {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 0 16px;
}

.vc-results__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.vc-results__heading {
    margin: 0;
    color: var(--grey-800);
}

.vc-results__lede {
    margin: 0;
    color: var(--grey-500);
    max-width: 457px;
}

.vc-results__range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vc-results__range-value {
    color: var(--blue-500);
}

.vc-results__range-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vc-results__range-sep svg {
    fill: var(--blue-500);
}

.vc-results__multiples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--grey-100);
    border-bottom: 1px solid var(--grey-100);
}

.vc-results__multiple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.vc-results__multiple + .vc-results__multiple {
    border-left: 1px solid var(--grey-100);
    padding-left: 32px;
}

.vc-results__multiple:first-child {
    padding-right: 32px;
}

.vc-results__multiple-label {
    color: var(--grey-800);
}

.vc-results__multiple-value {
    color: var(--blue-500);
    margin: 0;
}

.vc-summary {
    border: 1px solid var(--blue-500);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 6px 12px -2px color-mix(in srgb, var(--grey-500) 9%, transparent),
    0 2px 3px -1px color-mix(in srgb, var(--grey-500) 9%, transparent);
}

.vc-summary__header {
    margin: 20px 24px 0;
    background: var(--blue-50);
    border-radius: 8px;
    padding: 11px 12px 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vc-summary__title {
    color: var(--blue-500);
    margin: 0;
}

.vc-summary__edit {
    background: none;
    border: 0;
    padding: 4px;
    cursor: pointer;
    color: var(--blue-500);
    display: inline-flex;
}

.vc-summary__edit:hover {
    color: var(--blue-600);
}

.vc-summary__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    column-gap: 104px;
    row-gap: 24px;
    padding: 24px;
}

.vc-summary__col {
    display: grid;
    grid-row: 1 / -1;
    grid-template-rows: subgrid;
}

.vc-summary__cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.vc-summary__cell-label {
    color: var(--grey-500);
    margin: 0;
}

.vc-summary__cell-value {
    color: var(--grey-800);
    margin: 0;
}

.vc-chart {
    background: var(--grey-25);
    border: 1px solid var(--grey-100);
    border-radius: 12px;
    padding: 24px;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vc-chart__title {
    color: var(--grey-800);
    margin: 0;
}

.vc-chart__plot {
    background: var(--white);
    border-radius: 12px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    height: 343px;
    padding: 24px 24px 48px;
}

.vc-chart__y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--grey-500);
    text-align: right;
}

.vc-chart__bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 24px;
    height: 100%;
    position: relative;
    padding: 0;
    border-left: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
}

/* Dashed gridlines: a horizontal 5px-on/5px-off pattern, masked down to a
 * 1px line at the bottom of each 11.11% row (same spacing as the y-axis ticks). */
.vc-chart__bars::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to right,
        color-mix(in srgb, var(--grey-800) 30%, transparent) 0 5px,
        transparent 5px 10px
    );
    mask: linear-gradient(to bottom, transparent calc(100% - 1px), #000 calc(100% - 1px)) 0 0 / 100% 11.11% repeat-y;
    opacity: 0.6;
}

.vc-chart__bar-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    min-width: 0;
}

.vc-chart__bar {
    width: 100%;
    background: var(--blue-500);
    transition: height 0.3s ease;
}

.vc-chart__bar-value {
    color: var(--grey-800);
    margin: 0 0 4px;
}

.vc-chart__bar-label {
    position: absolute;
    bottom: -32px;
    color: var(--grey-800);
    text-transform: uppercase;
}

.vc-factors {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.vc-factors__intro {
    color: var(--grey-500);
    margin: 0;
}

.vc-factors__intro strong {
    color: var(--grey-800);
    font-variation-settings: "slnt" 0, "wght" 600;
}

/* Column-major grid: each __col fills one column top-to-bottom, so shared
 * grid rows keep the three columns' cells height-aligned. On mobile the
 * table becomes a flex column and the display:contents columns stack as
 * grouped lists (all factors, all higher, all lower) per the design. */
.vc-factors__table {
    display: grid;
    grid-template-columns: 249px 1fr 1fr;
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--vc-factors-rows, 9), auto);
    border: 1px solid var(--grey-100);
    border-radius: 12px;
    overflow: hidden;
}

.vc-factors__col {
    display: contents;
}

.vc-factors__cell {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    background: var(--white);
    color: var(--grey-500);
    margin: 0;
}

.vc-factors__col > .vc-factors__cell:nth-child(odd):not(.vc-factors__cell--head) {
    background: var(--grey-25);
}

.vc-factors__cell--factor {
    color: var(--grey-800);
}

.vc-factors__cell--head {
    color: var(--grey-800);
}

.vc-factors__col--factor .vc-factors__cell--head {
    background: var(--blue-600);
    color: var(--white);
}

.vc-factors__col--higher .vc-factors__cell--head {
    background: color-mix(in srgb, var(--green-500) 20%, transparent);
}

.vc-factors__col--lower .vc-factors__cell--head {
    background: color-mix(in srgb, var(--red-500) 20%, transparent);
}

.vc-results__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.vc-results__disclaimer {
    color: var(--grey-500);
    font-style: italic;
    margin: 0;
}

@media screen and (max-width: 1279px) {
    /* Tablet design drops the card chrome — content sits flat on white */
    .vc-results {
        background: var(--white);
        padding: 48px 24px 58px;
    }

    .vc-results__group {
        margin: 0;
    }

    .vc-results__card {
        background: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        gap: 24px;
    }

    .vc-chart {
        margin: 0;
    }

    .vc-chart__bar-label {
        bottom: -24px;
    }

    .vc-summary__grid {
        column-gap: 48px;
    }
}

@media screen and (max-width: 767px) {
    .vc-results {
        padding: 24px;
    }

    .vc-results__card {
        gap: 24px;
    }

    .vc-results__group {
        gap: 40px;
    }

    .vc-results__range {
        flex-wrap: wrap;
    }

    .vc-results__multiples {
        grid-template-columns: 1fr;
    }

    .vc-results__multiple {
        padding: 14px 0;
        gap: 12px;
    }

    .vc-results__multiple + .vc-results__multiple {
        border-left: 0;
        border-top: 1px solid var(--grey-100);
        padding-left: 0;
    }

    .vc-results__multiple:first-child {
        padding-right: 0;
    }

    .vc-summary__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 24px;
        padding: 24px;
    }

    .vc-summary__col {
        grid-row: auto;
        grid-template-rows: none;
        row-gap: 24px;
    }

    .vc-chart {
        padding: 16px;
    }

    .vc-chart__plot {
        height: 280px;
        padding: 16px 12px 40px;
    }

    .vc-chart__bars {
        padding: 0 8px;
        gap: 12px;
    }

    .vc-factors__table {
        display: flex;
        flex-direction: column;
    }
}

/* ----------------------------------------------------------------------------
 * Considering an Exit
 * ------------------------------------------------------------------------- */

.vc-considering {
    background: linear-gradient(114deg, #08349b 3.63%, #031235 98.39%);
    color: var(--white);
    padding: 48px 24px;
}

.vc-considering__wrap {
    max-width: var(--max_width_1);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.vc-considering__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vc-considering__heading {
    color: var(--white);
    margin: 0;
}

.vc-considering__subheading {
    color: var(--white);
    opacity: 0.8;
    margin: 0;
}

.vc-considering__body {
    display: grid;
    grid-template-columns: minmax(0, 541px) minmax(0, 1fr);
    align-items: center;
    gap: 88px;
    margin: 0 0 0 40px;
}

.vc-considering__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vc-considering__visual img {
    max-width: 100%;
    height: auto;
}

.vc-considering__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.vc-considering__stats {
    display: flex;
    gap: 32px;
    margin: 0 0 0 6px;
    padding: 0;
    list-style: none;
    max-width: 460px;
}

.vc-considering__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.vc-considering__stat-value {
    font-family: var(--font_face_2);
    font-size: 41px;
    line-height: 48px;
    font-variation-settings: "slnt" 0, "wght" 700;
    letter-spacing: -0.82px;
    color: #6896ff;
    margin: 0;
}

.vc-considering__stat-label {
    color: var(--white);
    margin: 0;
    max-width: 140px;
}

.vc-considering__copy {
    color: var(--white);
    margin: 0;
}

.vc-considering__copy strong {
    font-variation-settings: "slnt" 0, "wght" 600;
    text-decoration: underline;
}

@media screen and (max-width: 1279px) {
    .vc-considering__wrap {
        gap: 38px;
    }

    .vc-considering__body {
        grid-template-columns: 1fr;
        gap: 42px;
        margin: 0;
    }

    .vc-considering__visual img {
        max-width: min(541px, 100%);
    }

    .vc-considering__content {
        margin: 0 16px;
    }

    .vc-considering__stats {
        justify-content: space-between;
        gap: 24px;
        margin: 0 6px;
        max-width: none;
        align-self: stretch;
    }

    .vc-considering__copy {
        align-self: stretch;
        text-align: center;
    }

    .vc-considering__cta {
        align-self: center;
    }
}

@media screen and (max-width: 767px) {
    .vc-considering {
        padding: 24px;
    }

    .vc-considering__wrap {
        gap: 24px;
    }

    .vc-considering__visual {
        margin: 0 4px;
    }

    .vc-considering__body {
        gap: 24px;
    }

    .vc-considering__stats {
        display: none;
    }

    .vc-considering__cta {
        align-self: stretch;
        width: 100%;
    }
}

/* ----------------------------------------------------------------------------
 * Behind The Numbers
 * ------------------------------------------------------------------------- */

.vc-behind {
    background: var(--white);
    padding: 48px 24px;
}

.vc-behind__wrap {
    max-width: var(--max_width_1);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vc-behind__header {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.vc-behind__heading {
    margin: 0;
    color: var(--grey-800);
}

.vc-behind__subheading {
    margin: 0;
    color: var(--grey-500);
    opacity: 0.8;
}

.vc-behind__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* The row gap doubles as the header ↔ body spacing inside each
       subgridded card. */
    gap: 16px 24px;
    margin: 0;
    padding: 0 30px;
    list-style: none;
}

/* Card, inner, and header pass the wrapper's rows through as subgrids, giving
   three shared tracks — number chips, titles, bodies — so each lines up at
   the same height across cards regardless of title line count. */
.vc-behind__card {
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 1px 3px color-mix(in srgb, var(--grey-500) 9%, transparent),
    0 1px 2px color-mix(in srgb, var(--grey-500) 9%, transparent);
    min-width: 0;
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
}

.vc-behind__card-inner {
    overflow: hidden;
    background: var(--blue-25);
    border-radius: 12px;
    padding: 22px;
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    gap: 12px;
}

.vc-behind__card-header {
    display: grid;
    grid-template-rows: subgrid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 16px;
}

.vc-behind__card-num {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--blue-50);
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vc-behind__card-title {
    margin: 0;
    color: var(--grey-800);
}

.vc-behind__card-body {
    margin: 0;
    color: var(--grey-500);
}

@media screen and (max-width: 1279px) {
    .vc-behind {
        padding: 24px;
    }

    /* Single column — no cross-card alignment to maintain, so drop the
       subgrid plumbing and stack normally. */
    .vc-behind__cards {
        grid-template-columns: 1fr;
        row-gap: 24px;
        padding: 0;
    }

    .vc-behind__card {
        display: flex;
        grid-row: auto;
    }

    .vc-behind__card-inner {
        display: flex;
        flex-direction: column;
        gap: 16px;
        flex: 1 1 auto;
        padding: 24px 22px;
    }

    .vc-behind__card-num {
        width: 28px;
        height: 28px;
    }

    /* Chip sits beside the title again on the stacked layout. */
    .vc-behind__card-header {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

@media screen and (max-width: 767px) {
    .vc-behind {
        padding: 24px;
    }

    .vc-behind__card-inner {
        gap: 8px;
    }
}

/* ----------------------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------------------- */

.vc-faq {
    background: var(--blue-25);
    padding: 48px 24px;
}

.vc-faq__wrap {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vc-faq__heading {
    text-align: center;
    margin: 0;
    color: var(--grey-800);
}

.vc-faq__card {
    background: var(--white);
    border-radius: 16px;
    padding: 0 24px;
    box-shadow: 0 1px 3px color-mix(in srgb, var(--grey-500) 9%, transparent),
    0 1px 2px color-mix(in srgb, var(--grey-500) 9%, transparent);
}

/* Roomier rows than the component default (scoped to outrank component CSS) */
.vc-faq .accordion-group1__summary {
    padding: 16px 0;
}

@media screen and (max-width: 767px) {
    .vc-faq {
        padding: 24px;
    }

    .vc-faq__wrap {
        gap: 24px;
    }
}

/* ----------------------------------------------------------------------------
 * Know your number CTA
 * ------------------------------------------------------------------------- */

.vc-cta {
    background: linear-gradient(0deg, #F5F8FE 0%, var(--white-200) 73%), #FFF;
    padding: 40px 24px;
}

.vc-cta__wrap {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 484px;
    gap: 16px 80px;
    align-items: center;
}

.vc-cta__visual {
    grid-row: 1 / 3;
    background: var(--blue-500);
    border-radius: 40px;
    overflow: hidden;
    line-height: 0;
}

.vc-cta__visual img {
    width: 100%;
    height: auto;
}

.vc-cta__text {
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.vc-cta__action {
    align-self: start;
    justify-self: start;
}

.vc-cta__heading {
    color: var(--grey-800);
    margin: 0;
}

.vc-cta__body {
    color: var(--grey-800);
    margin: 0;
    max-width: 600px;
}

@media screen and (max-width: 1279px) {
    .vc-cta {
        background: linear-gradient(180deg, var(--white) 0%, var(--blue-25) 100%);
    }

    .vc-cta__visual {
        display: none;
    }

    .vc-cta__wrap {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .vc-cta__text,
    .vc-cta__action {
        align-self: auto;
    }

    .vc-cta__text {
        flex: 1 1 auto;
        gap: 8px;
    }

    .vc-cta__body {
        color: var(--grey-500);
    }
}

@media screen and (max-width: 767px) {
    .vc-cta {
        padding: 40px 24px;
    }

    .vc-cta__wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .vc-cta__text {
        text-align: center;
    }

    .vc-cta__action .button3 {
        width: 100%;
    }
}

/* ----------------------------------------------------------------------------
 * Resources
 * ------------------------------------------------------------------------- */

.vc-resources {
    background: linear-gradient(180deg, var(--blue-25) 0%, var(--white) 73%);
    padding: 48px 24px;
}

.vc-resources__wrap {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vc-resources__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.vc-resources__heading {
    margin: 0;
    color: var(--grey-800);
}

.vc-resources__lede {
    margin: 0;
    color: var(--grey-800);
}

.vc-resources__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vc-resources__item {
    min-width: 0;
    display: flex;
}

.vc-resources__link {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 2px color-mix(in srgb, var(--grey-500) 9%, transparent),
    0 4px 4px color-mix(in srgb, var(--grey-500) 9%, transparent);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vc-resources__link:hover {
    box-shadow: 0 2px 4px -2px color-mix(in srgb, var(--grey-500) 20%, transparent),
    0 8px 16px -2px color-mix(in srgb, var(--grey-500) 20%, transparent);
    transform: translateY(-2px);
}

.vc-resources__image {
    position: relative;
    overflow: hidden;
    margin: 0 -6px;
    align-self: stretch;
}

.vc-resources__image::before {
    display: block;
    content: '';
    padding-top: calc(182 / 249 * 100%);
}

.vc-resources__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc-resources__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--blue-100) 100%);
}

.vc-resources__title {
    margin: 0;
    color: var(--grey-800);
}

.vc-resources__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-500);
    margin-top: auto;
}

.vc-resources__more {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 1279px) {
    .vc-resources {
        padding: 24px 36px 64px;
    }

    .vc-resources__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .vc-resources__image {
        max-width: 250px;
        margin: 0 auto;
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .vc-resources {
        padding: 48px 24px;
    }

    .vc-resources__header {
        text-align: center;
        margin: 0;
        padding: 0 12px;
    }

    .vc-resources__list {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------------------------
 * Footer CTA (floating CTA Panel)
 * ------------------------------------------------------------------------- */

.vc-footer-cta {
    background: var(--white);
    padding: 0 16px 24px;
}

.vc-footer-cta .cta-panel1 {
    max-width: 1140px;
    margin: 0 auto;
}
