/* site_extra: добавлено при правках */

/* --- Служебные поля формы (чанк form.trap): вне экрана, для людей невидимы --- */
.form-aux {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- Ползунок защиты от спама (чанк form.slider, js/site_extra.js) --- */
.sl {
    margin: 0 0 1rem;
    -webkit-user-select: none;
    user-select: none;
}
.sl__track {
    position: relative;
    height: 52px;
    overflow: hidden;
    border: 1px solid rgba(128, 128, 128, .6);
    background: rgba(128, 128, 128, .12);
}
.sl__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background: rgba(46, 157, 91, .35);
}
.sl__text {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    text-align: center;
    font-size: .9rem;
    line-height: 1.2;
    opacity: .8;
    pointer-events: none;
}
.sl__handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #222;
    border-right: 1px solid rgba(128, 128, 128, .6);
    cursor: grab;
    touch-action: none;
}
.sl__handle:focus-visible {
    outline: 2px solid #2e9d5b;
    outline-offset: -2px;
}
.sl.is-drag .sl__handle {
    cursor: grabbing;
}
.sl.is-done .sl__handle {
    background: #2e9d5b;
    color: #fff;
    cursor: default;
}
.sl.is-done .sl__text {
    opacity: 1;
}
.sl.is-shake .sl__track {
    animation: sl-shake .45s;
    border-color: #dc3545;
}
@keyframes sl-shake {
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}
@media (prefers-reduced-motion: reduce) {
    .sl.is-shake .sl__track { animation: none; }
}
