.privacy-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 8px 0 4px;
    color: #333;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
}

.privacy-consent input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.privacy-consent a {
    color: #534f91;
    text-decoration: underline;
}

.form-status {
    min-height: 18px;
    margin-top: 5px;
    color: #a40059;
    font-size: 12px;
    line-height: 1.35;
}

.form-status.is-success {
    color: #176b2c;
}

.js-lead-form.is-sending input[type="submit"] {
    cursor: wait;
    opacity: .65;
}

.js-lead-form input[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: .5;
    filter: grayscale(.15);
}

.js-lead-form input[name="user_phone"] {
    height: 44px;
    padding: 7px 14px;
    color: #13235b;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .015em;
    line-height: 28px;
}

.js-lead-form input[name="user_phone"]::placeholder {
    color: #8b8f99;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}

.phone-hint {
    display: block;
    min-height: 16px;
    margin-top: 4px;
    color: #a40059;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
}

.js-lead-form input[name="user_phone"][aria-invalid="true"] {
    border-color: #a40059;
}

.cookie {
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid #d9d9d9;
    box-shadow: 0 -4px 24px rgba(19, 35, 91, .14);
}

.cookie .confirm {
    display: flex;
    width: 390px;
    gap: 10px;
}

.cookie .button {
    width: auto;
    min-width: 170px;
    height: auto;
    min-height: 38px;
    padding: 10px 12px;
    border: 0;
}

.cookie .button-secondary {
    color: #383f70;
    background: #fff;
    border: 1px solid #776dac;
    box-shadow: none;
}

.cookie-settings-link {
    display: inline-block;
    margin-bottom: 8px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-settings-link:visited {
    color: #fff;
}

.js-zoomable {
    cursor: zoom-in;
}

.js-zoomable:focus-visible {
    outline: 3px solid #c40079;
    outline-offset: 3px;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 10000000;
    display: none;
    place-items: center;
    padding: 56px 24px 24px;
    background: rgba(8, 11, 24, .9);
}

.image-modal.is-open {
    display: grid;
}

.image-modal figure {
    max-width: min(1180px, 96vw);
    max-height: 90vh;
    margin: 0;
    text-align: center;
}

.image-modal img {
    display: block;
    max-width: 100%;
    max-height: calc(90vh - 54px);
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .42);
}

.image-modal figcaption {
    margin-top: 10px;
    color: #fff;
    font-size: 15px;
}

.image-modal-close {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    font-size: 34px;
    line-height: 38px;
}

body.has-image-modal {
    overflow: hidden;
}

#formzakaz {
    left: 50%;
    top: 50%;
    width: min(680px, calc(100vw - 32px));
    max-height: 92vh;
    margin: 0;
    overflow-y: auto;
    transform: translate(-50%, -50%);
}

#formzakaz .context {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    grid-template-areas:
        "heading pricing"
        "name name"
        "image form";
    column-gap: 24px;
    row-gap: 10px;
    padding: 22px;
    overflow: visible;
}

#formzakaz h3 {
    grid-area: heading;
    float: none;
    width: auto;
    font-size: 34px;
    line-height: 1.1;
}

#formzakaz .zakaz {
    grid-area: pricing;
    float: none;
    width: auto;
    margin: 0 26px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

#formzakaz .namekr {
    grid-area: name;
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.35;
}

#formzakaz .clr {
    display: none;
}

#formzakaz .context .img {
    grid-area: image;
    float: none;
    align-self: start;
    width: 205px;
    overflow: hidden;
    border: 1px solid #d9dce8;
    border-radius: 9px;
    background: #fff;
}

#formzakaz .context .img img,
.krygkilist .opiskr .img img {
    display: block;
    width: 100%;
    height: auto;
}

#formzakaz .context .text {
    grid-area: form;
    margin-left: 0;
    padding: 18px;
    border: 1px solid #d9dce8;
    border-radius: 10px;
    background: #f7f8fc;
}

#formzakaz .zag1 {
    padding: 0 0 10px;
    color: #13235b;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
}

#formzakaz .rowinp {
    padding: 7px 0;
}

#formzakaz .inptxt,
#formzakaz .js-lead-form input[name="user_phone"] {
    height: 52px;
    padding: 10px 14px;
    font-size: 22px;
    line-height: 30px;
}

#formzakaz .privacy-consent {
    margin: 10px 0 6px;
    font-size: 14px;
    line-height: 1.42;
}

#formzakaz .privacy-consent input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
}

#formzakaz .phone-hint,
#formzakaz .form-status {
    font-size: 13px;
}

#formzakaz .inpsmb {
    height: 56px;
    font-size: 21px;
}

#formzakaz .popup-close {
    position: absolute;
    top: 8px;
    right: 9px;
    z-index: 2;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #3f4779;
    background: #eef0f7;
    font: 28px/32px Arial, sans-serif;
}

#formzakaz .popup-close:hover,
#formzakaz .popup-close:focus-visible {
    color: #fff;
    background: #c40079;
    outline: none;
}

.primerlist .opiskr {
    overflow: hidden;
}

.primerlist .opiskr img {
    display: block;
    width: 297px;
    height: 212px;
    max-width: none;
    object-fit: cover;
}

.primerlist .opiskr1,
.primerlist .opiskr1 .img {
    width: 283px;
    height: 234px;
}

.primerlist .opiskr1 img {
    display: block;
    width: 283px;
    height: 234px;
    object-fit: contain;
}

.messengers img {
    width: 24px;
    height: 24px;
    max-width: none;
    object-fit: contain;
}

.social_mobile.messengers img {
    width: 34px;
    height: 34px;
}

.kartablock .kontakti {
    box-sizing: border-box;
    padding: 30px 25px;
}

.kartablock .kontakti h2 {
    margin: 0 0 15px;
    font-size: 30px;
    line-height: 17px;
}

.kartablock .kontakti .worktime {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 16.8px;
}

.kartablock .kontakti .adres,
.kartablock .kontakti .phone,
.kartablock .kontakti .email {
    margin: 0;
    padding: 0 0 15px 40px;
    font-size: 16px;
    line-height: 22px;
}

@media (max-width: 767px) {
    .cookie .confirm {
        width: 100%;
        flex-direction: column;
    }

    .cookie .button {
        width: 100%;
    }

    #formzakaz,
    #sendOK {
        left: 4%;
        top: 6%;
        width: 92%;
        margin: 0;
        transform: none;
    }

    #formzakaz .context .img {
        grid-area: image;
        float: none;
        width: min(180px, 100%);
        margin: 0 auto;
        text-align: center;
    }

    #formzakaz .context {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "heading"
            "pricing"
            "name"
            "image"
            "form";
        gap: 8px;
        padding: 18px 14px 14px;
    }

    #formzakaz h3 {
        padding-right: 36px;
        font-size: 29px;
    }

    #formzakaz .zakaz {
        margin: 0;
        text-align: left;
    }

    #formzakaz .context .text {
        margin-left: 0;
        padding: 15px;
    }

    #formzakaz .zag1 {
        font-size: 16px;
    }

    #formzakaz .privacy-consent {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .primerlist .opiskr img {
        width: 240px;
        height: auto;
    }

    .js-lead-form input[name="user_phone"] {
        font-size: 18px;
    }

    .kartablock .kontakti {
        padding: 30px 25px;
    }
}
