 /* =========================================
   Nastynuns — WEB3FORMS
========================================= */

            #pedido {
                scroll-margin-top: 110px;
            }

            #pedido .eyebrow {
                margin-bottom: 15px;
            }

            #pedido .desktop-submit-area {
                margin-top: 8px;
            }


            /* SUBMIT BUTTON */

            #pedido .desktop-submit {
                position: relative;

                display: flex;
                align-items: center;
                justify-content: center;
                gap: 12px;

                width: 100%;
                min-height: 56px;

                padding: 16px 22px;

                border: 0;
                border-radius: 9px;

                background: #172438;
                color: #ffffff;

                font-family: inherit;
                font-size: 15px;
                font-weight: 600;

                cursor: pointer;

                transition:
                    background .3s ease,
                    transform .3s ease,
                    box-shadow .3s ease;
            }

            #pedido .desktop-submit:hover:not(:disabled) {
                background: #344d6b;
                transform: translateY(-2px);

                box-shadow: 0 10px 25px rgba(23, 36, 56, .15);
            }

            #pedido .desktop-submit:disabled {
                opacity: .75;
                cursor: wait;
            }


            /* =========================================
   PRELOADER
========================================= */

            #pedido .desktop-spinner {
                display: none;

                width: 21px;
                height: 21px;

                flex-shrink: 0;

                border: 2px solid rgba(255, 255, 255, .25);
                border-top-color: #ffffff;

                border-radius: 50%;

                animation: desktopSpinner .75s linear infinite;
            }

            #pedido .desktop-submit.is-loading .desktop-spinner {
                display: block;
            }

            @keyframes desktopSpinner {
                to {
                    transform: rotate(360deg);
                }
            }


            /* =========================================
   FORM STATUS
========================================= */

            #pedido .desktop-status[hidden] {
                display: none !important;
            }

            #pedido .desktop-status {
                position: relative;

                margin-top: 18px;
                padding: 20px 22px;

                border: 1px solid transparent;
                border-left-width: 4px;
                border-radius: 10px;

                animation: desktopStatusEntrance .4s ease both;
            }

            #pedido .desktop-status>strong {
                display: block;

                font-size: 16px;
                font-weight: 700;

                margin-bottom: 8px;
            }

            #pedido .desktop-status>p {
                font-size: 13px;
                line-height: 1.7;

                color: inherit;
                margin: 0;
            }


            /* SUCCESS */

            #pedido .desktop-status-success {
                background: #f0ece6;

                border-color: #bac2cd;
                border-left-color: #82602b;

                color: #263d59;
            }


            /* ERROR */

            #pedido .desktop-status-error {
                background: #f8eeea;

                border-color: #e8cbc0;
                border-left-color: #b4654f;

                color: #974d3d;
            }


            @keyframes desktopStatusEntrance {

                from {
                    opacity: 0;
                    transform: translateY(10px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }

            }


            /* =========================================
   ADDITIONAL INFORMATION
========================================= */

            #pedido .desktop-contact-note {
                text-align: center;

                margin: 18px 0 12px;

                font-size: 12px;
                line-height: 1.7;
            }

            #pedido .desktop-security {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 7px;

                color: #555f70;
                font-size: 11px;
            }

            #pedido .desktop-security svg {
                width: 16px !important;
                height: 16px !important;

                flex-shrink: 0;

                color: #8c6b36;
            }


            /* MOBILE */

            @media (max-width: 600px) {

                #pedido .desktop-submit {
                    min-height: 54px;
                    font-size: 14px;
                }

                #pedido .desktop-status {
                    padding: 17px;
                }

            }


            /* ACCESSIBILITY */

            @media (prefers-reduced-motion: reduce) {
                #pedido .desktop-status {
                    animation: none;
                }

                #pedido .desktop-spinner {
                    animation: none;
                }

                #pedido .desktop-submit {
                    transition: none;
                }
            }
            /* =========================================
   Nastynuns — RESPONSE MODAL
========================================= */

body.desktop-modal-open {
    overflow: hidden;
}

#desktop-modal [hidden] {
    display: none !important;
}

#desktop-modal {
    position: fixed;

    inset: 0;
    margin: auto;

    width: min(470px, calc(100% - 36px));
    max-width: 470px;
    max-height: calc(100dvh - 36px);

    padding: 0;

    border: 1px solid rgba(23, 36, 56,.12);
    border-radius: 24px;

    background: #ffffff;
    color: #172438;

    box-sizing: border-box;
    overflow: auto;

    box-shadow:
        0 35px 100px rgba(0,0,0,.35);
}

#desktop-modal:not([open]) {
    display: none;
}

#desktop-modal[open] {
    animation:
        desktopModalEntrance
        .45s cubic-bezier(.16,1,.3,1) both;
}


/* =========================================
   BACKGROUND OVERLAY
========================================= */

#desktop-modal::backdrop {
    background: rgba(9, 14, 23,.76);

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);

    animation:
        desktopBackdropEntrance
        .35s ease both;
}


/* =========================================
   INNER CONTENT
========================================= */

.desktop-modal-inner {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 0;
    padding: 48px 38px 25px;

    text-align: center;
}


/* =========================================
   CLOSE BUTTON
========================================= */

#desktop-modal .desktop-modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    min-height: 0;
    padding: 0;

    border: 1px solid #17243815;
    border-radius: 50%;

    background: #f2f1ee;
    color: #555f70;

    font-size: 24px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

#desktop-modal .desktop-modal-close:hover {
    background: #172438;
    color: white;
    transform: rotate(90deg);
}


/* =========================================
   MAIN PRELOADER
========================================= */

.desktop-modal-loader {
    position: relative;

    display: grid;
    place-items: center;

    width: 100px;
    height: 100px;

    margin-bottom: 28px;

    color: #172438;
}

.desktop-loader-ring {
    position: absolute;
    inset: 0;

    border: 4px solid #f1e9da;

    border-top-color: #82602b;
    border-right-color: #cdaa6e;

    border-radius: 50%;

    animation:
        desktopLoaderRotate
        .9s linear infinite;
}

.desktop-loader-ring::before {
    content: "";

    position: absolute;
    inset: 7px;

    border: 1px solid #17243810;
    border-radius: 50%;
}

#desktop-modal .desktop-modal-loader svg {
    display: block;

    width: 32px !important;
    height: 32px !important;

    max-width: 32px;

    animation:
        desktopEnvelopePulse
        1.5s ease-in-out infinite;
}


/* =========================================
   SUCCESS ICON
========================================= */

.desktop-modal-success-icon {
    display: grid;
    place-items: center;

    width: 100px;
    height: 100px;

    margin-bottom: 28px;

    border-radius: 50%;

    background: #f1e9da;
    color: #82602b;

    box-shadow:
        0 0 0 9px #f1e9da55;

    animation:
        desktopResultPop
        .5s cubic-bezier(.16,1,.3,1) both;
}

#desktop-modal .desktop-modal-success-icon svg {
    width: 42px !important;
    height: 42px !important;
}

.desktop-success-check {
    stroke-dasharray: 100;
    stroke-dashoffset: 0;

    animation:
        desktopCheckDraw
        .65s .2s ease both;
}


/* =========================================
   ERROR ICON
========================================= */

.desktop-modal-error-icon {
    display: grid;
    place-items: center;

    width: 100px;
    height: 100px;

    margin-bottom: 28px;

    border-radius: 50%;

    background: #f8eae5;
    color: #ad6450;

    box-shadow:
        0 0 0 9px #f8eae555;

    animation:
        desktopResultPop
        .5s ease both;
}

#desktop-modal .desktop-modal-error-icon svg {
    width: 40px !important;
    height: 40px !important;
}


/* =========================================
   TEXT
========================================= */

.desktop-modal-brand {
    margin-bottom: 16px;

    color: #8c6b36;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

#desktop-modal h2 {
    color: #172438;

    font-size: 29px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.7px;

    margin: 0 0 18px;
}

#desktop-modal p {
    color: #555f70;

    font-size: 15px;
    line-height: 1.8;

    margin: 0;
}


/* Анимация появления результата */

#desktop-modal[data-state="success"]
.desktop-modal-copy,

#desktop-modal[data-state="error"]
.desktop-modal-copy {

    animation:
        desktopResultText
        .5s ease both;

}


/* =========================================
   LOADING PROGRESS
========================================= */

.desktop-modal-progress {
    position: relative;

    width: 100%;
    height: 5px;

    margin-top: 28px;

    overflow: hidden;

    border-radius: 20px;
    background: #f1e9da;
}

.desktop-modal-progress > span {
    position: absolute;

    top: 0;
    left: 0;

    width: 45%;
    height: 100%;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        #82602b,
        #cdaa6e
    );

    animation:
        desktopProgressMove
        1.3s ease-in-out infinite;
}


/* =========================================
   CONFIRM BUTTON
========================================= */

#desktop-modal .desktop-modal-confirm {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 54px;

    margin-top: 28px;
    padding: 15px 22px;

    border: 0;
    border-radius: 9px;

    background: #172438;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

#desktop-modal .desktop-modal-confirm:hover {
    background: #344d6b;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(23, 36, 56,.15);
}


/* =========================================
   FOOTER
========================================= */

.desktop-modal-footer {
    width: 100%;

    margin-top: 30px;
    padding-top: 20px;

    border-top: 1px solid #17243810;

    color: #677489;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes desktopModalEntrance {

    from {
        opacity: 0;
        transform: translateY(25px) scale(.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

@keyframes desktopBackdropEntrance {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

@keyframes desktopLoaderRotate {

    to {
        transform: rotate(360deg);
    }

}

@keyframes desktopEnvelopePulse {

    0%, 100% {
        opacity: .65;
        transform: scale(.92);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }

}

@keyframes desktopProgressMove {

    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(230%);
    }

}

@keyframes desktopResultPop {

    from {
        opacity: 0;
        transform: scale(.6);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

@keyframes desktopCheckDraw {

    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }

}

@keyframes desktopResultText {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    #desktop-modal {
        border-radius: 18px;
    }

    .desktop-modal-inner {
        padding: 38px 24px 22px;
    }

    #desktop-modal h2 {
        font-size: 25px;
    }

    #desktop-modal p {
        font-size: 14px;
    }

    .desktop-modal-loader,
    .desktop-modal-success-icon,
    .desktop-modal-error-icon {

        width: 85px;
        height: 85px;

    }

}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

    #desktop-modal,
    #desktop-modal::backdrop,
    #desktop-modal *,
    #desktop-modal *::before,
    #desktop-modal *::after {

        animation: none !important;
        transition: none !important;

    }

}