/* --- Форма: согласие, статус --- */
.consent{grid-column:1/-1;display:flex;gap:12px;align-items:flex-start;font-size:12px;color:#bcb8b0;line-height:1.5;cursor:pointer}
.consent input{margin:2px 0 0;width:16px;height:16px;flex:none;accent-color:#f4f1ea}
.consent a,.chat-consent a{text-decoration:underline;text-underline-offset:2px}
.form-status{grid-column:1/-1;font-size:12px;min-height:18px;color:#e2b4a6}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.submit[disabled]{opacity:.6;cursor:default}
.field.invalid{border-bottom-color:#e2b4a6}
.contact-lines{margin-top:34px;display:flex;flex-direction:column;gap:10px;font-size:15px}
.contact-lines a{border-bottom:1px solid rgba(244,241,234,.3);width:max-content;padding-bottom:3px}
.contact-lines span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#8b877e;display:block;margin-bottom:2px}
.footer-legal{padding:0 var(--pad) 30px;font-size:10px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px 24px;line-height:1.5}
.footer-legal a{text-decoration:underline;text-underline-offset:2px}

/* --- Чат --- */
.chat-btn{position:fixed;right:24px;bottom:24px;z-index:50;display:flex;align-items:center;gap:10px;background:#191918;color:#f4f1ea;border:0;padding:14px 18px;font:11px/1 Arial,Helvetica,sans-serif;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.chat-btn .dot{width:7px;height:7px;border-radius:50%;background:#9fbf8f}.chat-btn{width:52px;height:52px;padding:0;border-radius:50%;justify-content:center;font-size:0;letter-spacing:0;gap:0}.chat-btn:before{content:"";width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f1ea' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5h16v10.5H10l-5 4v-4H4z'/%3E%3C/svg%3E") center/contain no-repeat}.chat-btn .dot{position:absolute;top:7px;right:7px;width:8px;height:8px;border:2px solid #191918;box-sizing:content-box}@media(max-width:560px){.chat-btn{width:46px;height:46px}.chat-btn .dot{top:5px;right:5px}}
.chat{position:fixed;right:24px;bottom:24px;z-index:60;width:360px;max-width:calc(100vw - 32px);height:540px;max-height:calc(100vh - 48px);background:#f4f1ea;color:#171716;display:none;flex-direction:column;box-shadow:0 18px 50px rgba(0,0,0,.25);font-family:Arial,Helvetica,sans-serif}
.chat.open{display:flex}
.chat-head{background:#191918;color:#f4f1ea;padding:16px 18px;display:flex;justify-content:space-between;align-items:center}
.chat-title{font-family:"Iowan Old Style","Baskerville","Times New Roman",serif;font-size:17px}
.chat-sub{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#a7a39b;margin-top:4px}
.chat-close{background:none;border:0;color:#f4f1ea;font-size:22px;line-height:1;cursor:pointer;padding:4px}
.chat-body{flex:1;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:10px}
.msg{max-width:85%;padding:10px 13px;font-size:13px;line-height:1.45;white-space:pre-line}
.msg.bot{background:#fff;align-self:flex-start;border:1px solid rgba(23,23,22,.08)}
.msg.user{background:#191918;color:#f4f1ea;align-self:flex-end}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{background:none;border:1px solid rgba(23,23,22,.35);padding:7px 11px;font:12px Arial,Helvetica,sans-serif;cursor:pointer;color:#171716}
.chip:hover{background:#191918;color:#f4f1ea;border-color:#191918}
.chat-foot{border-top:1px solid rgba(23,23,22,.15);padding:10px 12px}
.chat-input{display:flex;gap:8px}
.chat-input input{flex:1;border:0;background:none;padding:10px 4px;font:13px Arial,Helvetica,sans-serif;outline:none;color:#171716}
.chat-input button{border:0;background:#191918;color:#f4f1ea;padding:0 14px;cursor:pointer;font-size:16px}
.chat-consent{display:none;gap:8px;align-items:flex-start;font-size:11px;color:#5d5952;padding:0 4px 8px;line-height:1.4}
.chat-consent.show{display:flex}
.chat-consent input{margin:1px 0 0;flex:none;accent-color:#191918}
@media(max-width:560px){.chat{right:0;bottom:0;width:100vw;max-width:100vw;height:100%;max-height:100%}.chat-btn{right:16px;bottom:16px}}
