/* Original Figma hero assets, composed with native Avada Title/Text/Button. */
.counta-home .cb-home-hero.fusion-fullwidth {
    --cb-home-hero-height: calc(100vh - 91.818px);
    --cb-home-hero-lower-height: 155.406px;
    --cb-home-hero-title-height: 122.696px;
    container-type: inline-size;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    overflow: hidden;
    isolation: isolate;
}

.counta-home .cb-home-hero > .fusion-builder-row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.counta-home .cb-home-hero__column.fusion-layout-column {
    width: 100% !important;
    margin: 0 !important;
}

.counta-home .cb-home-hero__column > .fusion-column-wrapper {
    position: relative;
    display: block !important;
    width: 100% !important;
    height: var(--cb-home-hero-height);
    min-height: calc(var(--cb-home-hero-title-height) + var(--cb-home-hero-lower-height) + 124px);
    aspect-ratio: auto;
    margin: 0 !important;
    padding: 0 !important;
    isolation: isolate;
    -webkit-mask-image: var(--cb-media-home-hero-mask-desktop-svg);
    mask-image: var(--cb-media-home-hero-mask-desktop-svg);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.counta-home .cb-home-hero__art {
    display: contents;
}

/* Avada's text formatter can wrap the absolutely positioned artwork in a p. */
.counta-home .cb-home-hero__art > p {
    margin: 0;
    line-height: 0;
}

.counta-home .cb-home-hero__background {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: #f8f3ef;
    -webkit-mask-image: var(--cb-home-hero-mask);
    mask-image: var(--cb-home-hero-mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.counta-home .cb-home-hero__layer {
    position: absolute;
    top: -2.56382%;
    left: 0;
    display: block;
    width: 100%;
    height: 107.86517%;
    max-width: none;
    margin: 0;
    object-fit: contain;
    pointer-events: none;
}

.counta-home .cb-home-hero__shadows {
    z-index: 1;
    mix-blend-mode: multiply;
}

.counta-home .cb-home-hero__cubes {
    z-index: 2;
}

.counta-home .cb-home-hero__team {
    z-index: 4;
}

.counta-home .cb-home-hero__layer img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

.counta-home .cb-home-hero__headline.fusion-title {
    position: absolute;
    z-index: 3;
    top: clamp(76px, 40.80697%, calc(100% - var(--cb-home-hero-lower-height) - var(--cb-home-hero-title-height) - 48px));
    left: 50%;
    display: block;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0 !important;
    padding: 0;
    transform: translate(-50%, var(--cb-home-hero-title-y, 0px));
    mix-blend-mode: darken;
}

@media (prefers-reduced-motion: reduce) {
    .counta-home .cb-home-hero__headline.fusion-title {
        transform: translateX(-50%);
    }
}

.counta-home .cb-home-hero__headline.fusion-title h1 {
    margin: 0 !important;
    padding: 0 !important;
    color: #bd171d !important;
    font-family: Anton, sans-serif !important;
    font-size: 10.390903cqw !important;
    font-weight: 400 !important;
    font-style: normal;
    line-height: .82 !important;
    letter-spacing: .363681cqw !important;
    text-align: center;
    text-transform: uppercase !important;
    white-space: nowrap;
}

.counta-home .cb-home-hero__headline .title-sep-container {
    display: none;
}

.counta-home .cb-home-hero__eyebrow {
    position: absolute;
    z-index: 5;
    top: 30px;
    left: 0;
    width: 100%;
    margin: 0;
    color: #bd171d;
    font: 900 10px / 15.5px Inter, sans-serif;
    letter-spacing: 1.8px;
    text-align: center;
    text-transform: uppercase;
}

.counta-home .cb-home-hero__eyebrow p,
.counta-home .cb-home-hero__copy {
    margin: 0;
}

.counta-home .cb-home-hero__lower {
    position: absolute;
    z-index: 6;
    bottom: 24px;
    left: 50%;
    width: 960px;
    max-width: calc(100% - 64px);
    margin: 0;
    transform: translateX(-50%);
}

.counta-home .cb-home-hero__lower-grid {
    display: grid;
    grid-template-columns: 118px minmax(0, 656px) 118px;
    align-items: end;
    gap: 34px;
}

.counta-home .cb-home-hero__badge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 120px;
    isolation: isolate;
}

.counta-home .cb-home-hero__badge-art {
    position: absolute;
    z-index: -1;
    top: -18px;
    left: -30px;
    display: block;
    max-width: none !important;
}

.counta-home .cb-home-hero__badge-art--mobile,
.counta-home .cb-home-hero__years-mobile {
    display: none;
}

.counta-home .cb-home-hero__badge-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #bd171d;
    font-family: Inter, sans-serif;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.counta-home .cb-home-hero__badge-text strong,
.counta-home .cb-home-hero__badge-text strong > span {
    font-size: 23px;
    font-weight: 900;
    line-height: 27.6px;
    letter-spacing: .92px;
}

.counta-home .cb-home-hero__badge-text > span {
    font-size: 8px;
    line-height: 9.6px;
    letter-spacing: .8px;
    white-space: nowrap;
}

.counta-home .cb-home-hero__redirect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 24px 48px;
    border-radius: 40px;
    background: #fff;
    filter: drop-shadow(0 18px 25px rgba(69, 15, 15, .12));
}

.counta-home .cb-home-hero__copy {
    width: 100%;
    color: #181313;
    font: 400 14px / 21.7px Inter, sans-serif;
    text-align: center;
}

.counta-home .cb-home-hero__copy > span {
    display: block;
}

.counta-home .cb-home-hero__copy br {
    display: none;
}

.counta-home .cb-home-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.counta-home .cb-home-hero__actions .fusion-button-wrapper {
    display: flex;
    flex-shrink: 0;
    margin: 0;
}

.counta-home .cb-home-hero__actions .cb-button {
    min-height: 48px;
    padding: 10px 20px;
    border: 0;
    color: #fff;
    font: 900 10px / 23px Inter, sans-serif;
    letter-spacing: .6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.counta-home .cb-home-hero__actions .cb-button .fusion-button-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.counta-home .cb-home-hero__actions .cb-button__arrow {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 23px;
}

.counta-home .cb-home-hero__actions .cb-button--secondary {
    justify-content: center;
    min-height: 23px;
    padding: 0 20px 4px 0;
    border: 0;
    border-bottom: 2px solid #bd171d;
    border-radius: 0;
    background: transparent;
    color: #181313;
    font: 900 11px / 17.05px Inter, sans-serif;
    letter-spacing: .66px;
}

@supports (height: 100dvh) {
    .counta-home .cb-home-hero.fusion-fullwidth { --cb-home-hero-height: calc(100dvh - 91.818px); }
}

@media (max-width: 1100px) {
    .counta-home .cb-home-hero.fusion-fullwidth { --cb-home-hero-height: calc(100vh - 60px); }
    @supports (height: 100dvh) {
        .counta-home .cb-home-hero.fusion-fullwidth { --cb-home-hero-height: calc(100dvh - 60px); }
    }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .counta-home .cb-home-hero__lower {
        top: auto;
        bottom: 24px;
        max-width: calc(100% - 48px);
    }
    .counta-home .cb-home-hero__lower-grid {
        gap: 16px;
    }
    .counta-home .cb-home-hero__redirect {
        padding-inline: 24px;
    }
    .counta-home .cb-home-hero__actions {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .counta-home .cb-home-hero.fusion-fullwidth {
        --cb-home-hero-lower-height: 331px;
        --cb-home-hero-title-height: 120px;
        /* Figma mobile: artwork 390 × 452, badges at y=346. */
        --cb-home-hero-art-height: calc(100cqw * 452 / 390);
        --cb-home-hero-lower-top: calc(var(--cb-home-hero-art-height) - 106px);
    }
    .counta-home .cb-home-hero__column > .fusion-column-wrapper {
        min-height: calc(var(--cb-home-hero-lower-top) + var(--cb-home-hero-lower-height) + 16px);
        aspect-ratio: auto;
        padding-top: 0 !important;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .counta-home .cb-home-hero__background {
        inset: 0;
        bottom: auto;
        height: calc(var(--cb-home-hero-art-height) + 177px);
        -webkit-mask-image: none;
        mask-image: none;
    }

    .counta-home .cb-home-hero__layer {
        top: 0;
        left: 0;
        width: 100%;
        height: var(--cb-home-hero-art-height);
        transform: none;
    }

    .counta-home .cb-home-hero__layer img {
        object-fit: cover;
    }

    .counta-home .cb-home-hero__headline.fusion-title {
        top: calc(var(--cb-home-hero-art-height) * 170 / 452);
        width: 82.564103cqw;
        max-width: none;
    }

    .counta-home .cb-home-hero__headline.fusion-title h1 {
        font-size: 13.846154cqw !important;
        line-height: 15.384615cqw !important;
        letter-spacing: .484615cqw !important;
        white-space: normal;
    }

    .counta-home .cb-home-hero__eyebrow {
        top: 23px;
    }

    .counta-home .cb-home-hero__lower {
        position: absolute;
        inset: var(--cb-home-hero-lower-top) 16px auto;
        width: auto;
        max-width: none;
        margin: 0;
        transform: none;
    }

    .counta-home .cb-home-hero__lower-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 24px 0;
    }

    .counta-home .cb-home-hero__badge {
        grid-row: 1;
        width: 106px;
        height: 82px;
    }

    .counta-home .cb-home-hero__badge--years {
        grid-column: 1;
    }

    .counta-home .cb-home-hero__badge--improv {
        grid-column: 2;
        justify-self: end;
    }

    .counta-home .cb-home-hero__badge-art--desktop,
    .counta-home .cb-home-hero__years-desktop {
        display: none;
    }

    .counta-home .cb-home-hero__badge-art--mobile,
    .counta-home .cb-home-hero__years-mobile {
        display: block;
    }

    .counta-home .cb-home-hero__badge--years .cb-home-hero__badge-art--mobile {
        left: -31px;
    }

    .counta-home .cb-home-hero__badge-text strong,
    .counta-home .cb-home-hero__badge-text strong > span {
        font-size: 17px;
        line-height: 20.4px;
        letter-spacing: .68px;
    }

    .counta-home .cb-home-hero__badge-text > span {
        font-size: 10px;
        line-height: 12.4px;
    }

    .counta-home .cb-home-hero__redirect {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-height: 225px;
        padding: 24px 48px;
    }

    .counta-home .cb-home-hero__copy > span {
        display: inline;
    }

    .counta-home .cb-home-hero__copy br {
        display: block;
    }

    .counta-home .cb-home-hero__actions {
        flex-direction: column;
        gap: 24px;
    }

    .counta-home .cb-home-hero__actions .fusion-button-wrapper,
    .counta-home .cb-home-hero__actions .cb-button {
        width: 100%;
    }

    .counta-home .cb-home-hero__actions .cb-button--secondary {
        padding-right: 0;
    }

    .counta-home .cb-home-hero__actions .fusion-button-wrapper:has(.cb-button--secondary) {
        width: calc(100% + 2px);
    }
}

@media (max-width: 359px) {
    .counta-home .cb-home-hero__redirect {
        padding-inline: 28px;
    }
}
