/* =====================================================================
   Clar System: przycisk „Zapytanie ofertowe” + formularz 2-krokowy (2.0)
   ===================================================================== */

/* ---------- Przycisk pływający (rozmiar i położenie dopasowuje skrypt do widżetu dostępności) ---------- */
#cq-toggle.cq-toggle{position:fixed;right:12px;bottom:12px;z-index:9999;display:block;width:68px;height:68px;margin:0;padding:0;border:0;border-radius:50%;background:transparent url("/wp-content/uploads/2026/11/ikona-formularz.png") center/100% 100% no-repeat;box-shadow:none;cursor:pointer;line-height:0;-webkit-tap-highlight-color:transparent;transform:scale(1);transition:transform .2s ease,opacity .2s ease,visibility 0s linear 0s}
@media (hover:hover){#cq-toggle.cq-toggle:hover{transform:scale(1.08)}}
#cq-toggle.cq-toggle:active{transform:scale(.96)}
#cq-toggle.cq-toggle:focus{outline:none}
#cq-toggle.cq-toggle:focus-visible{outline:3px solid #f20819;outline-offset:3px}
@media (max-width:1024px){#cq-toggle.cq-toggle{right:15px;bottom:15px}}
body.cq-open #cq-toggle.cq-toggle{opacity:0;visibility:hidden;transition:transform .2s ease,opacity .2s ease,visibility 0s linear .2s}

/* ---------- Blokada przewijania strony pod oknem ---------- */
html.cq-lock{overflow:hidden!important;padding-right:var(--cq-sbw,0px)}
html.cq-lock body{overflow:hidden!important}

/* ---------- Okno ---------- */
#cq-modal{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:24px;font-size:15px;line-height:1.5;visibility:hidden;opacity:0;transition:opacity .25s ease,visibility 0s linear .25s}
#cq-modal.is-open{visibility:visible;opacity:1;transition:opacity .25s ease,visibility 0s linear 0s}
#cq-modal *,#cq-modal *::before,#cq-modal *::after{box-sizing:border-box}
#cq-modal .cq-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#cq-modal .cq-backdrop{position:absolute;inset:0;background:rgba(10,18,44,.5);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#cq-modal .cq-dialog{position:relative;display:flex;flex-direction:column;width:100%;max-width:620px;max-height:100%;background:#fff;color:#141b2d;border-radius:24px;box-shadow:0 30px 90px rgba(10,18,44,.35),0 0 0 1px rgba(10,18,44,.04);overflow:hidden;transform:translateY(18px) scale(.98);transition:transform .3s cubic-bezier(.2,.8,.2,1);outline:none}
#cq-modal.is-open .cq-dialog{transform:none}

/* ---------- Nagłówek z paskiem postępu ---------- */
#cq-modal .cq-head{position:relative;flex:0 0 auto;padding:26px 30px 18px;border-bottom:1px solid #eef0f4}
#cq-modal .cq-close{position:absolute;inset:18px 18px auto auto;z-index:3;width:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:#f3f4f7;box-shadow:none;cursor:pointer;transition:background-color .15s ease,transform .15s ease}
#cq-modal .cq-close::before,#cq-modal .cq-close::after{content:"";position:absolute;inset:50% auto auto 50%;width:14px;height:2px;margin:-1px 0 0 -7px;border-radius:2px;background:#141b2d}
#cq-modal .cq-close::before{transform:rotate(45deg)}
#cq-modal .cq-close::after{transform:rotate(-45deg)}
#cq-modal .cq-close:hover{background:#e7e9ef;transform:rotate(90deg)}
#cq-modal .cq-close:focus{outline:none}
#cq-modal .cq-close:focus-visible{outline:2px solid #0032a0;outline-offset:2px}
#cq-modal .cq-title{margin:0;padding-right:48px;color:#0032a0;font-size:22px;line-height:1.25;font-weight:700;letter-spacing:-.01em}
#cq-modal .cq-lead{margin:6px 0 0;padding-right:48px;font-size:14px;line-height:1.5;color:#667085}
#cq-modal .cq-progress{display:flex;align-items:center;gap:12px;margin-top:18px}
#cq-modal .cq-progress-item{display:flex;align-items:center;gap:8px;flex:0 0 auto;font-size:13px;line-height:1.2;font-weight:600;color:#98a1b3;transition:color .2s ease}
#cq-modal .cq-progress-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#f0f2f6;color:#98a1b3;font-size:12.5px;font-weight:700;transition:background-color .2s ease,color .2s ease}
#cq-modal .cq-progress-item.is-active{color:#141b2d}
#cq-modal .cq-progress-item.is-active .cq-progress-num{background:#0032a0;color:#fff;box-shadow:0 0 0 4px rgba(0,50,160,.12)}
#cq-modal .cq-progress-item.is-done{color:#141b2d}
#cq-modal .cq-progress-item.is-done .cq-progress-num{background:#0032a0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;color:transparent}
#cq-modal .cq-progress-line{position:relative;flex:1 1 auto;height:3px;border-radius:3px;background:#eef0f4;overflow:hidden}
#cq-modal .cq-progress-line span{position:absolute;inset:0 auto 0 0;width:0;border-radius:3px;background:#0032a0;transition:width .35s ease}
#cq-modal .cq-dialog.is-step-2 .cq-progress-line span{width:100%}

/* ---------- Treść: kroki przewijane, przyciski przypięte na dole ---------- */
#cq-modal .cq-body{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}
#cq-modal .cq-form,#cq-modal .cq-form .wpcf7,#cq-modal .cq-form .wpcf7-form{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;margin:0}
#cq-modal .wpcf7-form p{margin:0;padding:0}
#cq-modal .wpcf7-form br{display:none}
#cq-modal .hidden-fields-container{display:none}
#cq-modal .screen-reader-response{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important}
#cq-modal .cq-step{order:0;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:22px 30px 26px;outline:none}
#cq-modal .has-steps .cq-step{display:none}
#cq-modal .has-steps .cq-step.is-active{display:block;animation:cqStepIn .3s ease both}
@keyframes cqStepIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
#cq-modal .cq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#cq-modal .cq-grid > *{min-width:0;margin:0}
#cq-modal .cq-full{grid-column:1/-1}

/* ---------- Pola z etykietą unoszącą się nad tekstem ---------- */
#cq-modal .cq-field label:not(.cq-drop){position:relative;display:block;margin:0;padding:0;font-size:inherit;font-weight:400;line-height:normal;color:inherit;text-transform:none;letter-spacing:normal;cursor:text}
#cq-modal .cq-label{position:absolute;inset:17px auto auto 17px;z-index:1;max-width:calc(100% - 34px);overflow:hidden;font-size:14.5px;line-height:1.2;font-weight:400;color:#667085;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;transform-origin:0 0;transition:transform .18s ease,color .18s ease,top .18s ease}
#cq-modal .cq-field:has(:focus) .cq-label,#cq-modal .cq-field:has(input:not(:placeholder-shown)) .cq-label,#cq-modal .cq-field:has(textarea:not(:placeholder-shown)) .cq-label,#cq-modal .cq-field:has(select) .cq-label{transform:translateY(-9px) scale(.8);font-weight:600}
#cq-modal .cq-field.is-float .cq-label{transform:translateY(-9px) scale(.8);font-weight:600}
#cq-modal .cq-field:has(:focus) .cq-label,#cq-modal .cq-field.is-focus .cq-label{color:#0032a0}
#cq-modal .wpcf7-form-control-wrap{position:relative;display:block}
#cq-modal input.wpcf7-text,#cq-modal select.wpcf7-select,#cq-modal textarea.wpcf7-textarea{display:block;width:100%;max-width:none;height:54px;margin:0;padding:22px 16px 6px;border:1px solid #e3e6ed;border-radius:14px;background-color:#f6f7f9;box-shadow:none;color:#141b2d;font-family:inherit;font-size:15px;font-weight:500;line-height:1.4;letter-spacing:normal;text-transform:none;outline:none;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
#cq-modal textarea.wpcf7-textarea{height:118px;min-height:96px;padding-top:26px;resize:vertical}
#cq-modal .wpcf7-form-control::placeholder{color:transparent;opacity:1;transition:color .15s ease}
#cq-modal .wpcf7-form-control:focus::placeholder{color:#a3abbb}
#cq-modal input.wpcf7-text:hover,#cq-modal select.wpcf7-select:hover,#cq-modal textarea.wpcf7-textarea:hover{border-color:#cfd4de}
#cq-modal input.wpcf7-text:focus,#cq-modal select.wpcf7-select:focus,#cq-modal textarea.wpcf7-textarea:focus{border-color:#0032a0;background-color:#fff;box-shadow:0 0 0 4px rgba(0,50,160,.1)}
#cq-modal select.wpcf7-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:44px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:12px 12px}
#cq-modal select.wpcf7-select.cq-empty{color:#a3abbb;font-weight:400}
#cq-modal select.wpcf7-select option{color:#141b2d;font-weight:400}
#cq-modal .wpcf7-form-control.wpcf7-not-valid{border-color:#f20819;background-color:#fff}
#cq-modal .wpcf7-form-control.wpcf7-not-valid:focus{box-shadow:0 0 0 4px rgba(242,8,25,.1)}
#cq-modal .cq-field:has(.wpcf7-not-valid) .cq-label{color:#c40d1a}
#cq-modal .wpcf7-not-valid-tip{display:block;margin:6px 0 0 4px;font-size:12.5px;line-height:1.35;font-weight:500;color:#c40d1a}

/* Salient podmienia listy rozwijane na własne (select2). W oknie zostawiamy zwykłą listę. */
#cq-modal .select2-container{display:none!important}
#cq-modal select.wpcf7-select.select2-hidden-accessible,#cq-modal select.wpcf7-select.select2-offscreen{position:static!important;width:100%!important;height:54px!important;margin:0!important;padding:22px 44px 6px 16px!important;clip:auto!important;clip-path:none!important;overflow:visible!important;border:1px solid #e3e6ed!important;opacity:1!important;white-space:normal!important}

/* ---------- Załącznik ---------- */
#cq-modal .cq-drop{position:relative;display:flex;align-items:center;gap:12px;margin:0;padding:12px 14px;border:1.5px dashed #cfd4de;border-radius:14px;background:#fafbfc;font-size:inherit;font-weight:400;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
#cq-modal .cq-drop:hover,#cq-modal .cq-drop.is-drag{border-color:#0032a0;background:rgba(0,50,160,.04)}
#cq-modal .cq-drop:focus-within{border-color:#0032a0;box-shadow:0 0 0 4px rgba(0,50,160,.1)}
#cq-modal .cq-drop.has-file{border-style:solid;border-color:#0032a0;background:#fff}
#cq-modal .cq-drop.is-error{border-color:#f20819;background:#fff}
#cq-modal .cq-drop-icon{flex:0 0 36px;width:36px;height:36px;border-radius:12px;background:rgba(0,50,160,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230032a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/%3E%3C/svg%3E") center/17px no-repeat}
#cq-modal .cq-drop.has-file .cq-drop-icon{background:#0032a0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/17px no-repeat}
#cq-modal .cq-drop-text{display:flex;flex:1 1 auto;flex-direction:column;gap:1px;min-width:0}
#cq-modal .cq-drop-title{overflow:hidden;font-size:14px;line-height:1.35;font-weight:600;color:#141b2d;white-space:nowrap;text-overflow:ellipsis}
#cq-modal .cq-drop-hint{font-size:12.5px;line-height:1.4;color:#8a93a6}
#cq-modal .cq-drop.is-error .cq-drop-hint{color:#c40d1a}
#cq-modal .cq-drop .wpcf7-form-control-wrap{position:static;display:contents}
#cq-modal .cq-drop input[type="file"]{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
#cq-modal .cq-drop .wpcf7-not-valid-tip{position:absolute;inset:100% auto auto 0}
#cq-modal .cq-drop-clear{position:relative;z-index:2;display:none;flex:0 0 30px;width:30px;height:30px;margin:0;padding:0;border:0;border-radius:50%;background:#f3f4f7;box-shadow:none;cursor:pointer}
#cq-modal .cq-drop.has-file .cq-drop-clear{display:block}
#cq-modal .cq-drop-clear::before,#cq-modal .cq-drop-clear::after{content:"";position:absolute;inset:50% auto auto 50%;width:12px;height:2px;margin:-1px 0 0 -6px;border-radius:2px;background:#667085}
#cq-modal .cq-drop-clear::before{transform:rotate(45deg)}
#cq-modal .cq-drop-clear::after{transform:rotate(-45deg)}
#cq-modal .cq-drop-clear:hover{background:#e7e9ef}
#cq-modal .cq-drop-clear:focus-visible{outline:2px solid #0032a0;outline-offset:2px}

/* ---------- Zgoda ---------- */
#cq-modal .cq-consent{margin-top:4px}
#cq-modal .cq-consent .wpcf7-list-item{display:block;margin:0}
#cq-modal .cq-consent label{display:flex;align-items:flex-start;gap:12px;margin:0;padding:0;font-size:13px;line-height:1.55;font-weight:400;color:#667085;cursor:pointer}
#cq-modal .cq-consent .wpcf7-list-item-label{font-size:inherit;font-weight:400;line-height:inherit;color:inherit}
#cq-modal .cq-consent label::before,#cq-modal .cq-consent label::after,#cq-modal .cq-consent .wpcf7-list-item-label::before,#cq-modal .cq-consent .wpcf7-list-item-label::after{display:none!important}
#cq-modal .cq-consent input[type="checkbox"]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:static!important;display:inline-block!important;flex:0 0 20px;width:20px!important;height:20px!important;margin:0!important;padding:0;border:1.5px solid #b9c0cd;border-radius:6px;background:#fff center/12px no-repeat;opacity:1!important;visibility:visible!important;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
#cq-modal .cq-consent input[type="checkbox"]:hover{border-color:#0032a0}
#cq-modal .cq-consent input[type="checkbox"]:checked{border-color:#0032a0;background-color:#0032a0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
#cq-modal .cq-consent input[type="checkbox"]:focus{outline:none}
#cq-modal .cq-consent input[type="checkbox"]:focus-visible{outline:2px solid #0032a0;outline-offset:2px}
#cq-modal .cq-consent .wpcf7-not-valid input[type="checkbox"]{border-color:#f20819}
#cq-modal .cq-consent a{color:#0032a0!important;text-decoration:underline;text-underline-offset:2px}
#cq-modal .cq-consent .wpcf7-not-valid-tip{margin-left:32px}

/* ---------- Przyciski na dole okna ---------- */
#cq-modal .cq-nav{order:2;flex:0 0 auto;padding:14px 30px 18px;border-top:1px solid #eef0f4;background:#fff}
#cq-modal .cq-nav,#cq-modal .cq-nav > p{display:flex;align-items:center;justify-content:flex-end;gap:10px}
#cq-modal .cq-nav > p{flex:1 1 auto}
#cq-modal .cq-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;margin:0;padding:0 22px;border:1px solid transparent;border-radius:999px;background:none;box-shadow:none;font-family:inherit;font-size:15px;font-weight:600;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}
#cq-modal .cq-btn:focus{outline:none}
#cq-modal .cq-btn:focus-visible{outline:3px solid #0032a0;outline-offset:3px}
#cq-modal .cq-btn-ghost{border-color:#e3e6ed;background:#fff;color:#141b2d}
#cq-modal .cq-btn-ghost:hover{border-color:#cfd4de;background:#f6f7f9}
#cq-modal .cq-btn-back{margin-right:auto;padding-left:16px}
#cq-modal .cq-btn-back::before{content:"";width:8px;height:8px;margin-right:2px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(45deg)}
#cq-modal .cq-btn-next{padding:0 8px 0 24px;background:#f20819;color:#fff}
#cq-modal .cq-btn-next:hover{background:#d40614}
#cq-modal .cq-btn-ico{display:inline-block;width:32px;height:32px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f20819' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat;transition:transform .2s ease}
#cq-modal .cq-btn-next:hover .cq-btn-ico{transform:translateX(3px)}
#cq-modal .cq-submit{position:relative;display:inline-block;flex:0 0 auto}
#cq-modal #cq-send{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;height:48px!important;margin:0!important;padding:0 50px 0 24px!important;border:0!important;border-radius:999px!important;background:#f20819!important;color:#fff!important;font-family:inherit;font-size:15px!important;font-weight:600!important;line-height:48px!important;letter-spacing:normal!important;text-align:left!important;text-transform:none!important;box-shadow:none!important;opacity:1;cursor:pointer;transition:background-color .2s ease,opacity .2s ease}
#cq-modal .cq-submit::after{content:"";position:absolute;inset:50% 8px auto auto;width:32px;height:32px;margin-top:-16px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f20819' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center/13px no-repeat;pointer-events:none;transition:transform .2s ease}
#cq-modal .cq-submit:hover #cq-send{background:#d40614!important}
#cq-modal .cq-submit:hover::after{transform:translate(2px,-2px)}
#cq-modal #cq-send:focus{outline:none}
#cq-modal #cq-send:focus-visible{outline:3px solid #0032a0!important;outline-offset:3px}
#cq-modal #cq-send:disabled{opacity:.6;cursor:wait}
#cq-modal .cq-submit .wpcf7-spinner{position:absolute;inset:50% auto auto -34px;margin:-12px 0 0}
#cq-modal .has-steps:not(.is-step-2) .cq-btn-back,#cq-modal .has-steps:not(.is-step-2) .cq-submit,#cq-modal .has-steps.is-step-2 .cq-btn-next{display:none}

/* ---------- Komunikaty CF7 ---------- */
#cq-modal .wpcf7 form .wpcf7-response-output{order:1;flex:0 0 auto;margin:0 30px 14px;padding:10px 14px;border:1px solid #e3e6ed;border-radius:12px;background:#f6f7f9;color:#141b2d;font-size:13.5px;line-height:1.5}
#cq-modal .wpcf7 form .wpcf7-response-output:empty{display:none}
#cq-modal .wpcf7 form.invalid .wpcf7-response-output,#cq-modal .wpcf7 form.unaccepted .wpcf7-response-output,#cq-modal .wpcf7 form.failed .wpcf7-response-output,#cq-modal .wpcf7 form.aborted .wpcf7-response-output,#cq-modal .wpcf7 form.spam .wpcf7-response-output{border-color:#f5c2c7;background:#fff5f5;color:#9f1d2b}
#cq-modal .wpcf7 form.sent .wpcf7-response-output{display:none}

/* ---------- Ekran podziękowania ---------- */
#cq-modal .cq-success{display:none;flex:1 1 auto;flex-direction:column;align-items:center;justify-content:center;padding:44px 30px 40px;text-align:center;outline:none}
#cq-modal .cq-dialog.is-sent .cq-form,#cq-modal .cq-dialog.is-sent .cq-progress,#cq-modal .cq-dialog.is-sent .cq-lead{display:none}
#cq-modal .cq-dialog.is-sent .cq-success{display:flex;animation:cqStepIn .3s ease both}
#cq-modal .cq-success-icon{width:64px;height:64px;margin:0 0 18px;border-radius:50%;background:#0032a0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/30px no-repeat;box-shadow:0 0 0 8px rgba(0,50,160,.1)}
#cq-modal .cq-success-title{margin:0 0 6px;color:#141b2d;font-size:20px;line-height:1.3;font-weight:700}
#cq-modal .cq-success-text{max-width:380px;margin:0 0 22px;color:#667085;font-size:14.5px;line-height:1.55}

/* ---------- Telefon: pełny ekran, przyciski przypięte do dołu ---------- */
@media (max-width:690px){
#cq-modal{padding:0;align-items:stretch}
#cq-modal .cq-dialog{max-width:none;height:100%;max-height:none;border-radius:0}
#cq-modal .cq-head{padding:18px 20px 14px}
#cq-modal .cq-close{inset:14px 14px auto auto}
#cq-modal .cq-title{font-size:20px}
#cq-modal .cq-lead{font-size:13.5px}
#cq-modal .cq-progress{margin-top:14px;gap:10px}
#cq-modal .cq-step{padding:18px 20px 22px}
#cq-modal .cq-grid{grid-template-columns:minmax(0,1fr);gap:12px}
#cq-modal input.wpcf7-text,#cq-modal select.wpcf7-select,#cq-modal textarea.wpcf7-textarea{font-size:16px}
#cq-modal .cq-nav{padding:12px 20px calc(12px + env(safe-area-inset-bottom))}
#cq-modal .has-steps.is-step-2 .cq-submit{flex:1 1 auto}
#cq-modal .has-steps.is-step-2 #cq-send{width:100%!important}
#cq-modal .has-steps:not(.is-step-2) .cq-btn-next{flex:1 1 auto;justify-content:space-between}
#cq-modal .wpcf7 form .wpcf7-response-output{margin:0 20px 12px}
}

@media (prefers-reduced-motion:reduce){
#cq-modal,#cq-modal.is-open,#cq-modal .cq-dialog,#cq-toggle.cq-toggle,#cq-modal .cq-progress-line span{transition:none}
#cq-modal .has-steps .cq-step.is-active,#cq-modal .cq-dialog.is-sent .cq-success{animation:none}
#cq-toggle.cq-toggle:hover{transform:none}
}
