/* Cookie-баннер и окно «Обратная связь» (на всех страницах сайта) */
.wspl-cookie,.wspl-modal{font-family:'Inter',-apple-system,'Segoe UI',Arial,sans-serif;box-sizing:border-box}
.wspl-cookie *,.wspl-modal *{box-sizing:border-box}
.wspl-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:9990;max-width:980px;margin:0 auto;background:#000;color:#fff;border-radius:6px;padding:20px 24px;display:flex;align-items:center;gap:24px;font-size:14px;line-height:1.5;box-shadow:0 10px 40px rgba(0,0,0,.25)}
.wspl-cookie[hidden]{display:none}
.wspl-cookie p{margin:0;flex:1}
.wspl-cookie a{color:#fff;text-decoration:underline}
.wspl-cookie__btns{display:flex;gap:10px;flex:none}
.wspl-cookie button{cursor:pointer;border-radius:5px;padding:12px 20px;font:400 12px/normal 'Inter',sans-serif;text-transform:uppercase;border:1px solid #fff;background:#fff;color:#000;white-space:nowrap}
.wspl-cookie button.is-ghost{background:transparent;color:#fff}
@media (max-width:700px){.wspl-cookie{flex-direction:column;align-items:stretch;padding:16px;gap:14px}.wspl-cookie__btns{flex-direction:column}}

.wspl-footer__feedback{margin-top:20px;display:inline-flex;text-decoration:none;align-items:center;padding:13px 22px;border:1px solid #fff;border-radius:5px;background:transparent;color:#fff;font:400 12px/normal 'Inter',sans-serif;text-transform:uppercase;cursor:pointer;transition:background .2s,color .2s}
.wspl-footer__feedback:hover{background:#fff;color:#000}

.wspl-modal{position:fixed;inset:0;z-index:99995;display:none;align-items:center;justify-content:center;padding:16px}
.wspl-modal.is-open,.wspl-modal:target{display:flex}
.wspl-modal__bg{position:absolute;inset:0;background:rgba(0,0,0,.6)}
.wspl-modal__box{position:relative;width:100%;max-width:560px;max-height:100%;overflow:auto;background:#fff;color:#000;border-radius:6px;padding:40px}
.wspl-modal__close{position:absolute;right:14px;top:14px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;font-size:26px;line-height:1;color:#000;z-index:2}
.wspl-modal h2{margin:0 0 8px;font:300 32px/1.12 'Inter',sans-serif;color:#000}
.wspl-modal__lead{margin:0 0 24px;font-size:15px;line-height:1.5;color:#666}
.wspl-fb{display:flex;flex-direction:column;gap:16px}
.wspl-fb label.f{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#666}
.wspl-fb input[type=text],.wspl-fb input[type=email],.wspl-fb input[type=tel],.wspl-fb textarea{width:100%;border:1px solid #e5e5e5;border-radius:4px;padding:14px 16px;font:400 14px 'Inter',sans-serif;color:#000;background:#fff;outline:0}
.wspl-fb select,.wspl-cf7 select{width:100%;height:54px;border:1px solid #e5e5e5;border-radius:4px;background:#fff;padding:0 16px;font:400 14px 'Inter',sans-serif;color:#000;outline:0;margin:0}
.wspl-fb input:focus,.wspl-fb textarea:focus,.wspl-fb select:focus,.wspl-cf7 select:focus{border-color:#000}
.wspl-fb textarea{resize:vertical;min-height:110px}
.wspl-fb__consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.45;color:#666}
.wspl-fb__consent input{margin-top:3px;flex:none}
.wspl-fb__consent a{color:#000}
.wspl-fb__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.wspl-fb__msg{padding:12px 14px;border-radius:4px;font-size:14px;line-height:1.5}
.wspl-fb__msg[hidden]{display:none}
.wspl-fb__msg.ok{background:#f0f7f1;color:#1c5c2c;border:1px solid #cfe6d3}
.wspl-fb__msg.err{background:#fbf0f0;color:#8a1f1f;border:1px solid #efcaca}
.wspl-fb button[type=submit]{cursor:pointer;border:1px solid #000;border-radius:5px;background:#000;color:#fff;padding:17px 28px;font:400 13px/normal 'Inter',sans-serif;text-transform:uppercase}
.wspl-fb button[disabled]{opacity:.5;cursor:default}
@media (max-width:560px){.wspl-modal__box{padding:28px 20px}.wspl-modal h2{font-size:26px}}

/* Contact Form 7 (окно и страницы) */
.wspl-cf7{font-family:'Inter',sans-serif}
.wspl-cf7 .wpcf7-form{display:flex;flex-direction:column;gap:18px;margin:0}
.wspl-cf7 .wpcf7-form p{margin:0}.wspl-cf7 br{display:none}
.wspl-cf7 .cf7-cols{display:flex;gap:24px}.wspl-cf7 .cf7-cols>.cf7-row{flex:1;min-width:0}
.wspl-cf7 label{display:flex;flex-direction:column;gap:10px}
.wspl-cf7 label>span:first-child:not(.wpcf7-form-control-wrap){font-size:13px;color:#000}
.wspl-cf7 .wpcf7-form-control-wrap{display:block}
.wspl-cf7 input[type=text],.wspl-cf7 input[type=email],.wspl-cf7 input[type=tel],.wspl-cf7 textarea{width:100%;border:1px solid #e5e5e5;border-radius:4px;background:#fff;padding:16px;font:400 14px 'Inter',sans-serif;color:#000;outline:0;margin:0}
.wspl-cf7 input[type=text],.wspl-cf7 input[type=email],.wspl-cf7 input[type=tel]{height:54px}
.wspl-cf7 textarea{height:108px;resize:vertical}
.wspl-cf7 input:focus,.wspl-cf7 textarea:focus{border-color:#000}
.wspl-cf7 .cf7-consent{font-size:12px;line-height:1.5;color:#666}
.wspl-cf7 .cf7-consent label{flex-direction:row;gap:12px;align-items:flex-start}
.wspl-cf7 .cf7-consent .wpcf7-list-item{margin:0}
.wspl-cf7 .cf7-consent a{color:#000}
.wspl-cf7 .wpcf7-submit{cursor:pointer;border:1px solid #000;border-radius:5px;background:#000;color:#fff;padding:18px 30px;font:400 13px/normal 'Inter',sans-serif;text-transform:uppercase;width:fit-content}
.wspl-cf7 .wpcf7-not-valid-tip{font-size:12px;color:#8a1f1f;margin-top:6px}
.wspl-cf7 .wpcf7-form .wpcf7-response-output{margin-top:0!important}
.wspl-cf7 .wpcf7-spinner{display:none}
@media (max-width:560px){.wspl-cf7 .cf7-cols{flex-direction:column;gap:18px}.wspl-cf7 .wpcf7-submit{width:100%}}

/* Сообщения Contact Form 7 (успех / ошибка) — в стиле сайта: тонкая золотая рамка, отступ от кнопки.
   Перебивают стандартные зелёную/красную рамки плагина. */
.wpcf7 form.wpcf7-form .wpcf7-response-output{margin:24px 0 0!important;padding:14px 18px!important;border:1px solid #c8a96a!important;border-radius:4px;background:#f9f9f9;color:#000;font:400 14px/1.5 'Inter',sans-serif}
.wpcf7 form.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7 form.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7 form.wpcf7-form.failed .wpcf7-response-output,
.wpcf7 form.wpcf7-form.spam .wpcf7-response-output,
.wpcf7 form.wpcf7-form.aborted .wpcf7-response-output{border-color:#c0392b!important;color:#8a1f1f}
.wpcf7 form.wpcf7-form.init .wpcf7-response-output,
.wpcf7 form.wpcf7-form .wpcf7-response-output:empty{display:none!important}
.wspl-cf7 .wpcf7-form .wpcf7-response-output{margin-top:0!important}

/* Страница 404 */
.wspl-404__inner{max-width:560px;margin:0 auto;padding:96px 0 112px;text-align:center}
.wspl-404__code{font:400 14px/1 'Inter',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#8a7447;margin:0 0 18px}
.wspl-404__title{font-family:var(--wspl-font-display);font-weight:600;font-size:36px;line-height:1.15;color:#000;margin:0 0 16px}
.wspl-404__text{font:400 15px/1.6 'Inter',sans-serif;color:#555;margin:0 0 32px}
.wspl-404__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
@media (max-width:640px){
	.wspl-404__inner{padding:56px 0 72px}
	.wspl-404__title{font-size:28px}
	.wspl-404__actions{flex-direction:column;align-items:stretch}
	.wspl-404__actions .wspl-btn{width:100%;justify-content:center;text-align:center}
}
