/* Home page styles. */
.brand-home {
    width: 100%;
    min-height: calc(100svh - var(--site-header-height, var(--header-height, 92px)));
    background: #fff;
    color: #20283f;
    overflow: hidden;
    scroll-behavior: smooth;
}

.brand-home-hero {
    position: relative;
    min-height: calc(100svh - var(--site-header-height, var(--header-height, 92px)));
    overflow: hidden;
    background: #edf6ff;
}

.brand-home-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-home-copy {
    position: relative;
    z-index: 2;
    width: min(620px, calc(100% - 48px));
    margin-left: clamp(34px, 13.5vw, 260px);
    padding-top: clamp(130px, 20vh, 210px);
}

.brand-home-copy h1 {
    margin: 0;
    color: #252c40;
    font-size: clamp(38px, 4.1vw, 64px);
    line-height: 1.36;
    font-weight: 700;
}

.brand-home-copy p {
    width: min(520px, 100%);
    margin: 24px 0 0;
    color: #565d6d;
    font-size: 17px;
    line-height: 1.9;
}

.brand-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 124px;
    height: 46px;
    margin-top: 42px;
    padding: 0 28px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: #0875f8;
    box-shadow: 0 14px 28px rgba(8, 117, 248, .22);
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.brand-primary-action:hover {
    transform: translateY(-2px);
    background: #0068ea;
    box-shadow: 0 18px 34px rgba(8, 117, 248, .28);
}

.home-service-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: min(1090px, calc(100% - (var(--page-gutter, 24px) * 2)));
    margin: -62px auto 0;
    position: relative;
    z-index: 3;
    padding-bottom: 84px;
}

.home-service-cards article {
    background: rgba(255, 255, 255, .96);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(31, 51, 82, .08);
}

.home-service-cards article {
    min-height: 160px;
    padding: 28px 30px 24px;
    transition: transform .28s ease, box-shadow .28s ease;
}

.home-service-cards article:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(31, 76, 148, .15);
}

.home-service-cards img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    padding: 7px;
    border-radius: 8px;
    /*background: #0875f8;*/
}

.home-service-cards h2,
.home-solution-copy h2,
.home-advantages h2 {
    margin: 0;
    color: #20283f;
    font-weight: 700;
}

.home-service-cards h2 {
    margin-top: 18px;
    font-size: 19px;
}

.home-service-cards p,
.home-advantages p {
    color: #626b7d;
    font-size: 15px;
    line-height: 1.75;
}

.home-service-cards p {
    margin: 11px 0 0;
}

.home-solution {
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(480px, 1fr);
    align-items: center;
    gap: clamp(42px, 6vw, 96px);
    width: min(var(--content-width, 1120px), calc(100% - (var(--page-gutter, 24px) * 2)));
    min-height: 560px;
    margin: 0 auto;
    padding: 70px 0;
}

.home-solution-left {
    grid-template-columns: minmax(480px, 1fr) minmax(360px, .82fr);
}

.home-solution > img {
    width: 100%;
    aspect-ratio: 1.22;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 20px 34px rgba(32, 90, 158, .12));
}

.home-solution-copy h2 {
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.2;
}

.home-solution-copy {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 42px 48px 48px;
    border-radius: 10px;
}

.home-solution-copy > * {
    position: relative;
    z-index: 1;
}

.home-title-line {
    width: 58px;
    height: 4px;
    margin: 20px 0 22px;
    border-radius: 999px;
    background: #0875f8;
}

.home-pill-row {
    display: none;
}

.home-pill-row span {
    min-width: 126px;
    padding: 12px 22px;
    border: 1px solid #8b94a6;
    border-radius: 8px;
    color: #4a5265;
    text-align: center;
    background: #fff;
}

.home-solution ul {
    list-style: none;
    width: min(100%, 346px);
    margin: 0;
    padding: 0;
}

.home-solution li {
    position: relative;
    min-height: 56px;
    margin: 0;
    padding: 11px 0 11px 52px;
    color: #20283f;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
    border-bottom: 1px solid #dfe6f0;
}

.home-solution li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 30px;
    background: url("images/check-circle.svg") center / contain no-repeat;
    filter: drop-shadow(0 8px 16px rgba(8, 117, 248, .24));
    transform: translateY(-50%);
    box-sizing: border-box;
}

.home-solution li::after {
    content: none;
}

.home-solution .brand-primary-action {
    position: relative;
    justify-content: center;
    min-width: 190px;
    height: 47px;
    margin-top: 28px;
    padding: 0 58px 0 38px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(180deg, #0b8cff 0%, #006eff 100%);
    box-shadow: 0 12px 24px rgba(8, 117, 248, .24);
}

.home-solution .brand-primary-action::before,
.home-solution .brand-primary-action::after {
    content: "";
    position: absolute;
    top: 50%;

}

.home-solution .brand-primary-action::before {
    right: 23px;
    width: 18px;
    height: 0;
    border-top: 2px solid #fff;
    transform: translateY(-50%);
}

.home-solution .brand-primary-action::after {
    right: 22px;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.home-contact {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 108px 0;
    background: #f3f6fb;
    scroll-margin-top: calc(var(--site-header-height, var(--header-height, 92px)) + 24px);
}

.home-contact__copy h2 {
    margin: 0;
    color: #20283f;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.home-contact__copy p {
    display: none;
}

.home-contact__form {
    width: min(900px, calc(100% - (var(--page-gutter, 24px) * 2)));
    margin: 62px auto 0;
    padding: 42px 46px 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 40px rgba(31, 51, 82, .08);
}

.home-contact__form .wpcf7,
.home-contact__form .wpcf7-form {
    margin: 0;
}

.home-contact__form .wpcf7-form p {
    margin: 0 0 20px;
}

.home-contact__form .wpcf7 br {
    display: none;
}

.home-contact__form label {
    display: block;
    margin-bottom: 20px;
    color: #616a7c;
    font-size: 15px;
}

.home-contact__form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.home-contact__form .wpcf7-text,
.home-contact__form .wpcf7-email,
.home-contact__form .wpcf7-tel,
.home-contact__form .wpcf7-textarea {
    width: 100%;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #c9ced8;
    border-radius: 7px;
    color: #20283f;
    background: #fff;
    box-sizing: border-box;
}

.home-contact__form .wpcf7-textarea {
    min-height: 108px;
    padding: 10px 14px;
    resize: vertical;
}

.home-contact__form .wpcf7-submit {
    width: 100%;
    height: 45px;
    margin-top: 4px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: #0875f8;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.home-contact__form .wpcf7-submit:hover {
    background: #0068ea;
    box-shadow: 0 14px 28px rgba(8, 117, 248, .2);
    transform: translateY(-1px);
}

.home-advantages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 72px;
    width: min(1000px, calc(100% - (var(--page-gutter, 24px) * 2)));
    margin: 0 auto;
    padding: 96px 0 64px;
}

.home-advantages article {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    align-items: start;
}

.home-advantages img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.home-advantages h2 {
    font-size: 25px;
}

.home-advantages p {
    margin: 8px 0 0;
}

.motion-ready .motion-item {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
}

.motion-ready .motion-item.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity .52s ease var(--motion-delay, 0s),
        transform .58s ease var(--motion-delay, 0s);
}

.motion-ready .home-service-cards article.is-visible:hover {
    transform: translate3d(0, -8px, 0);
}

.motion-ready .home-title-line {
    transform-origin: left center;
    transform: scaleX(.18);
}

.motion-ready .home-solution-copy.is-visible .home-title-line {
    transform: scaleX(1);
    transition: transform .42s ease .16s;
}

@media (prefers-reduced-motion: reduce) {
.motion-ready .motion-item,
.motion-ready .motion-item.is-visible {
        transition: none !important;
        transform: none !important;
        opacity: 1;
    }
}

@media (max-width: 1000px) {
.brand-home-hero {
        min-height: calc(100svh - var(--site-header-height, var(--header-height, 92px)));
    }

.home-service-cards,
.home-advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.home-solution,
.home-solution-left {
        grid-template-columns: 1fr;
        min-height: 0;
    }

.home-solution-left img {
        order: 2;
    }
}

@media (max-width: 640px) {
.brand-home-copy {
        width: min(100% - 40px, 520px);
        margin: 0 auto;
        padding-top: 118px;
    }

.brand-home-copy h1 {
        font-size: clamp(30px, 9vw, 38px);
        line-height: 1.25;
    }

.home-service-cards,
.home-advantages {
        grid-template-columns: 1fr;
        width: min(100% - 40px, 520px);
    }

.home-service-cards {
        margin-top: 0;
        padding-top: 54px;
    }

.home-solution,
.home-solution-left {
        width: min(100% - 40px, 560px);
        padding: 52px 0;
    }

.home-solution-copy h2 {
        font-size: clamp(26px, 7vw, 34px);
    }

.home-solution-copy {
        padding: 32px 24px 34px;
    }

.home-solution ul {
        width: 100%;
    }

.home-solution li {
        min-height: 50px;
        padding-left: 44px;
        font-size: 17px;
    }

.home-solution li::before {
        width: 28px;
        height: 28px;
    }

.home-solution .brand-primary-action {
        min-width: 170px;
        width: auto;
        font-size: 17px;
    }

.home-contact {
        padding: 72px 0;
    }

.home-contact__form {
        padding: 26px 22px;
        margin-top: 42px;
    }

.home-pill-row span {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
.brand-home-copy {
        padding-top: 84px;
    }

.brand-primary-action {
        width: 100%;
        padding: 0 18px;
    }

.home-solution .brand-primary-action {
        width: auto;
        padding: 0 54px 0 34px;
    }

.home-service-cards article {
        padding: 24px 22px;
    }
}
