.wup-cms-home {
    padding-top: 28px
}

.wup-cms-home .wup-cms-container {
    max-width: 1180px
}

.wup-cms-home-article {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none
}

.wup-cms-home-article .wup-cms-blocks {
    padding: 0
}

.wup-cms-block {
    padding: 34px 0;
    border-bottom: 1px solid #edf1f6
}

.wup-cms-block:last-child {
    border-bottom: 0
}

.wup-cms-block-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 28px;
    align-items: center
}

.wup-cms-block-media img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(22,42,75,.13)
}

.wup-cms-block-media {
    margin: 0
}

.wup-cms-block-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.3rem,5vw,4.5rem);
    line-height: 1.04;
    letter-spacing: -.045em
}

.wup-cms-block-copy h2 {
    margin: 0 0 13px;
    font-size: clamp(1.65rem,3vw,2.35rem)
}

.wup-cms-block-copy p {
    margin: 0;
    color: #64738b;
    font-size: 1.05rem;
    line-height: 1.7
}

.wup-cms-block-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 11px 18px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(110deg,var(--wup-public-blue),var(--wup-public-violet));
    box-shadow: 0 9px 22px rgba(52,91,210,.22)
}

.wup-cms-home .wup-cms-block-hero {
    margin: 0 0 24px;
    padding: 58px;
    border: 1px solid #dce5f2;
    border-radius: 26px;
    background: radial-gradient(circle at 100% 0,rgba(112,49,223,.16),transparent 38%),radial-gradient(circle at 0 100%,rgba(31,111,255,.13),transparent 36%),#fff;
    box-shadow: var(--wup-public-shadow)
}

.wup-cms-home .wup-cms-block-hero .wup-cms-block-inner:has(.wup-cms-block-media) {
    grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr)
}

.wup-cms-home .wup-cms-block-hero .wup-cms-block-media {
    grid-column: 2;
    grid-row: 1
}

.wup-cms-home .wup-cms-block-hero .wup-cms-block-copy {
    grid-column: 1;
    grid-row: 1
}

.wup-cms-home .wup-cms-block:not(.wup-cms-block-hero) {
    margin-bottom: 18px;
    padding: 38px 42px;
    border: 1px solid #e0e7f1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23,44,77,.06)
}

.wup-cms-home .wup-cms-block-features,.wup-cms-home .wup-cms-block-pricing {
    background: linear-gradient(145deg,#fff,#f6f9ff)
}

.wup-cms-home .wup-cms-block-cta {
    color: #fff;
    background: linear-gradient(115deg,#172a58,#2d66de 70%,#7136d7)
}

.wup-cms-home .wup-cms-block-cta p {
    color: #dce7ff
}

.wup-cms-contact {
    display: grid;
    gap: 14px;
    max-width: 620px;
    margin-top: 20px
}

.wup-cms-contact .form-control {
    border-color: #d7e0ec;
    border-radius: 9px
}

@media(max-width:850px) {
    .wup-cms-home .wup-cms-block-hero {
        padding: 34px
    }

    .wup-cms-home .wup-cms-block-hero .wup-cms-block-inner:has(.wup-cms-block-media) {
        grid-template-columns: 1fr
    }

    .wup-cms-home .wup-cms-block-hero .wup-cms-block-media,.wup-cms-home .wup-cms-block-hero .wup-cms-block-copy {
        grid-column: 1;
        grid-row: auto
    }

}

@media(max-width:575px) {
    .wup-cms-home {
        padding: 16px 12px 40px
    }

    .wup-cms-home .wup-cms-block-hero,.wup-cms-home .wup-cms-block:not(.wup-cms-block-hero) {
        padding: 25px 20px;
        border-radius: 17px
    }

    .wup-cms-block-copy h1 {
        font-size: 2.35rem
    }

}

.wup-public-contact-card {
    margin-top: 26px;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    background: linear-gradient(145deg,#fff,#f9fbff);
    box-shadow: 0 14px 36px rgba(25,45,78,.08);
    overflow: hidden
}

.wup-public-contact-card>header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-bottom: 1px solid #e8edf5
}

.wup-public-contact-card>header>span {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg,#2c79eb,#7242dc);
    color: #fff
}

.wup-public-contact-card h2 {
    margin: 0 0 4px;
    font-size: 1.15rem
}

.wup-public-contact-card header p {
    margin: 0;
    color: #718097;
    font-size: .84rem
}

.wup-public-contact-card .wup-cms-contact {
    max-width: none;
    padding: 24px
}

.wup-contact-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.wup-public-contact-card label>span {
    font-size: .78rem;
    font-weight: 700;
    color: #43516a
}

.wup-public-contact-card label em {
    margin-left: 3px;
    color: #d84949;
    font-style: normal
}

.wup-public-contact-card .form-control {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d7e0ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: none
}

.wup-public-contact-card textarea.form-control {
    min-height: 140px;
    resize: vertical
}

.wup-contact-message-field {
    display: grid;
    gap: 6px
}

.wup-cms-contact label.wup-contact-consent {
    display: flex;
    align-items: center;
    gap: 11px;
    cursor: pointer
}

.wup-contact-consent input {
    position: absolute;
    opacity: 0
}

.wup-contact-consent>span {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #bdc9da;
    border-radius: 5px;
    background: #fff;
    color: transparent
}

.wup-contact-consent input:checked+span {
    border-color: #3477e8;
    background: #3477e8;
    color: #fff
}

.wup-contact-consent small {
    color: #68768b;
    line-height: 1.45
}

.wup-contact-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px
}

.wup-contact-submit>small {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7b8799;
    font-size: .72rem
}

.wup-contact-submit button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(110deg,#2777e9,#7041d9);
    box-shadow: 0 9px 22px rgba(52,91,210,.22)
}

.wup-contact-success {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 18px;
    padding: 15px 17px;
    border: 1px solid #a9e1c3;
    border-radius: 13px;
    background: #ecfbf3;
    color: #17683f
}

.wup-contact-success>span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: #29a36b;
    color: #fff
}

.wup-contact-success p {
    margin: 3px 0 0;
    font-size: .8rem
}

.wup-contact-unavailable {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    background: #f1f4f8;
    color: #67758a
}

@media(max-width:650px) {
    .wup-contact-field-grid {
        grid-template-columns: 1fr
    }

    .wup-public-contact-card>header,.wup-public-contact-card .wup-cms-contact {
        padding: 18px
    }

    .wup-contact-submit {
        align-items: stretch;
        flex-direction: column
    }

    .wup-contact-submit button {
        justify-content: center;
        width: 100%
    }

}

.wup-public-contact-card .iti {
    width: 100%
}

.wup-contact-select {
    position: relative;
    display: block
}

.wup-contact-select>i:first-child {
    position: absolute;
    z-index: 2;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #6d7d96
}

.wup-contact-select>i:last-child {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #8390a4;
    font-size: .7rem;
    pointer-events: none
}

.wup-contact-select select {
    padding-left: 38px;
    padding-right: 36px;
    appearance: none
}

.wup-contact-form-error {
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: .8rem
}

.wup-contact-consent .wup-contact-switch {
    position: relative;
    display: block;
    width: 38px;
    height: 21px;
    flex: 0 0 38px;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    transition: .18s
}

.wup-contact-consent .wup-contact-switch i {
    position: absolute;
    width: 17px;
    height: 17px;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(15,23,42,.24);
    transition: .18s
}

.wup-contact-consent input:checked+.wup-contact-switch {
    background: linear-gradient(110deg,#2777e9,#7041d9)
}

.wup-contact-consent input:checked+.wup-contact-switch i {
    transform: translateX(17px)
}

.wup-contact-consent input:focus-visible+.wup-contact-switch {
    outline: 3px solid #f59e0b;
    outline-offset: 2px
}

.wup-contact-consent small button {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: #2563eb;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer
}

.wup-contact-submit>small i {
    color: #21835a
}

.wup-contact-submit button[aria-busy=true] {
    opacity: .7;
    cursor: wait
}

.wup-public-dialog[hidden] {
    display: none
}

.wup-public-dialog {
    position: fixed;
    z-index: 2100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px
}

.wup-public-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9,18,40,.66);
    backdrop-filter: blur(4px)
}

.wup-public-dialog>section {
    position: relative;
    width: min(100%,470px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(7,18,45,.32);
    text-align: center
}

.wup-public-dialog>section.wup-public-dialog-wide {
    width: min(100%,720px)
}

.wup-public-dialog-close {
    position: absolute;
    right: 14px;
    top: 14px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b
}

.wup-public-dialog-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 17px;
    background: #eaf2ff;
    color: #2f69d6;
    font-size: 1.3rem
}

.wup-public-dialog-icon.success {
    background: #dcfce7;
    color: #168451
}

.wup-public-dialog>section>small {
    display: block;
    margin-bottom: 7px;
    color: #356ed4;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.wup-public-dialog h2 {
    margin: 0 0 10px;
    font-size: 1.35rem
}

.wup-public-dialog p {
    color: #66758b;
    line-height: 1.65
}

.wup-public-dialog>section>.btn {
    margin-top: 8px;
    min-width: 130px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(110deg,#2777e9,#7041d9)
}

.wup-contact-privacy-copy {
    max-height: 52vh;
    overflow: auto;
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    text-align: left;
    line-height: 1.7
}

.wup-public-dialog-open {
    overflow: hidden
}

@media(max-width:575px) {
    .wup-public-dialog {
        padding: 12px
    }

    .wup-public-dialog>section {
        padding: 28px 20px;
        border-radius: 18px
    }

    .wup-contact-consent {
        align-items: flex-start
    }

}
