.io-chat-bubble { --io: url("assets/icons/chat-bubble.svg"); }

.lead-dialog { width: min(calc(100% - 32px), 860px); max-height: min(790px, calc(100dvh - 32px)); padding: 0; overflow: auto; color: var(--ink); background: #fff; border: 0; border-radius: 22px; box-shadow: 0 30px 100px rgba(8, 36, 27, .28); }
.lead-dialog[open] { animation: dialog-in .22s ease both; }
.lead-dialog::backdrop { background: rgba(8, 29, 23, .64); backdrop-filter: blur(5px); }
.lead-dialog-shell { display: grid; grid-template-columns: .76fr 1.24fr; min-height: 580px; }
.lead-dialog.is-success .lead-dialog-shell { min-height: 500px; }.lead-dialog.is-success .lead-dialog-content { display: grid; align-items: center; padding-block: 52px; }.lead-dialog.is-success .lead-form-intro { display: none; }.lead-dialog.is-success .lead-success { min-height: auto; padding-block: 20px; }
.lead-dialog-brand { position: relative; display: flex; min-height: 100%; flex-direction: column; justify-content: space-between; padding: 36px 31px; overflow: hidden; color: #fff; background: linear-gradient(150deg, #0f3128 0%, #176047 60%, #28785d 130%); }
.lead-dialog-brand::after { content: ""; position: absolute; width: 330px; height: 330px; right: -170px; bottom: -190px; background: rgba(242,233,213,.18); border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.lead-dialog-brand img { position: relative; width: 50px; height: 50px; object-fit: contain; filter: brightness(0) invert(1); }
.lead-dialog-brand > div { position: relative; }.lead-dialog-brand small { display: block; margin-bottom: 12px; color: #a9c9bc; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.lead-dialog-brand h2 { margin: 0 0 16px; color: #fff; font-size: 2.2rem; }.lead-dialog-brand p { color: #c5d9d0; font-size: .84rem; line-height: 1.65; }
.lead-benefits { display: grid; gap: 12px; padding: 0; margin: 28px 0 0; list-style: none; color: #eef8f2; font-size: .75rem; font-weight: 650; }.lead-benefits li { display: flex; align-items: center; gap: 9px; }.lead-benefits .io { width: 18px; height: 18px; color: #91d0b1; }
.lead-dialog-content { position: relative; padding: 36px 38px 30px; }
.lead-dialog-close { position: absolute; z-index: 2; top: 18px; right: 18px; display: grid; width: 40px; height: 40px; padding: 0; place-items: center; color: #46534e; background: #f3f7f5; border: 0; border-radius: 50%; cursor: pointer; }.lead-dialog-close:hover { color: var(--green); background: var(--mint); }.lead-dialog-close .io { width: 19px; height: 19px; }
.lead-form-intro { margin-bottom: 20px; }.lead-form-intro span { display: block; margin-bottom: 7px; color: var(--green-bright); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.lead-form-intro h2 { margin-bottom: 9px; font-size: 1.82rem; }.lead-form-intro p { margin: 0; font-size: .76rem; line-height: 1.55; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 15px; }.lead-form[hidden] { display: none; }.lead-field { display: grid; align-content: start; gap: 6px; }.lead-field--full { grid-column: 1 / -1; }.lead-field label { color: #27322e; font-size: .7rem; font-weight: 750; }.lead-field input, .lead-field select { width: 100%; min-height: 44px; padding: 9px 12px; color: var(--ink); background: #fbfcfb; border: 1px solid #d8dfdb; border-radius: 10px; outline: 0; }.lead-field select { height: 44px; padding-right: 38px; background-image: url("assets/icons/arrow-down.svg"); background-repeat: no-repeat; background-position: right 13px center; background-size: 15px; appearance: none; -webkit-appearance: none; }.lead-field input:focus, .lead-field select:focus { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(40,120,93,.12); }.lead-field [aria-invalid="true"] { border-color: #b83c32; box-shadow: 0 0 0 3px rgba(184,60,50,.09); }.lead-field-error { min-height: 14px; color: #a93028; font-size: .59rem; line-height: 1.3; }
.lead-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.lead-form-footer { grid-column: 1 / -1; margin-top: 2px; }.lead-form-footer .button { width: 100%; }.lead-form-footer .button[aria-busy="true"] { cursor: wait; opacity: .72; }.lead-form-note { margin: 10px 0 0; color: #758079; font-size: .6rem; line-height: 1.5; }.lead-form-status { min-height: 20px; margin: 8px 0 0; color: #a93028; font-size: .65rem; text-align: center; }
.lead-success { display: grid; min-height: 100%; place-content: center; padding: 48px 10px; text-align: center; }.lead-success[hidden] { display: none; }.lead-success-icon { position: relative; display: grid; width: 66px; height: 66px; place-items: center; margin: 0 auto 22px; color: #fff; background: var(--green-bright); border-radius: 20px; box-shadow: 0 14px 30px rgba(40,120,93,.24); isolation: isolate; }.lead-success:not([hidden]) .lead-success-icon { animation: lead-success-pop .5s cubic-bezier(.2,.85,.35,1.35) both; }.lead-success-icon::after { content: ""; position: absolute; z-index: -1; inset: -1px; border: 2px solid rgba(40,120,93,.38); border-radius: inherit; }.lead-success:not([hidden]) .lead-success-icon::after { animation: lead-success-ring .8s .18s ease-out both; }.lead-success-icon .io { width: 30px; height: 30px; }.lead-success:not([hidden]) .lead-success-icon .io { animation: lead-success-check .35s .2s ease-out both; }.lead-success h2 { margin-bottom: 13px; font-size: 2rem; }.lead-success p { max-width: 420px; margin: 0 auto 25px; font-size: .84rem; line-height: 1.65; }

@keyframes lead-success-pop { 0% { opacity: 0; transform: scale(.72) rotate(-5deg); } 100% { opacity: 1; transform: none; } }
@keyframes lead-success-ring { 0% { opacity: .8; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.55); } }
@keyframes lead-success-check { 0% { opacity: 0; transform: scale(.55); } 100% { opacity: 1; transform: none; } }

.sticky-cta { position: fixed; z-index: 92; bottom: 18px; left: 82px; display: flex; width: min(calc(100% - 164px), 800px); min-height: 62px; align-items: center; gap: 13px; padding: 9px 11px 9px 12px; color: #fff; background: linear-gradient(110deg, #0f3128, #153f33 58%, #246f56); border: 1px solid rgba(201,223,211,.26); border-radius: 16px; box-shadow: 0 16px 42px rgba(8,36,27,.23); opacity: 0; pointer-events: none; transform: translateY(calc(100% + 30px)); transition: opacity .24s ease, transform .3s ease; }
.sticky-cta.is-visible { opacity: 1; pointer-events: auto; transform: none; }.sticky-cta-visual { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; background: rgba(255,255,255,.09); border: 1px solid rgba(223,240,231,.18); border-radius: 10px; }.sticky-cta-visual img { width: 25px; height: 25px; object-fit: contain; filter: brightness(0) invert(1); }.sticky-cta-copy { min-width: 0; margin-right: auto; }.sticky-cta-copy strong { display: block; font-size: .78rem; }.sticky-cta-copy span { display: block; color: #b9cbc5; font-size: .6rem; }.sticky-cta-actions { display: flex; flex: 0 0 auto; gap: 7px; }.sticky-cta .button { min-height: 38px; padding: 8px 13px; font-size: .66rem; }.sticky-cta-contact { color: #e8f1ed; background: transparent; border-color: rgba(223,240,231,.3); }
.sticky-cta-close { display: grid; width: 34px; height: 34px; flex: 0 0 34px; padding: 0; place-items: center; color: #b9cbc5; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }.sticky-cta-close:hover { color: #fff; background: rgba(255,255,255,.08); }.sticky-cta-close .io { width: 17px; height: 17px; }

.floating-action { position: fixed; z-index: 94; bottom: 20px; display: grid; width: 48px; height: 48px; min-width: 48px; min-height: 48px; padding: 0; place-items: center; color: #fff; background: #153f33; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 12px 28px rgba(15,49,40,.2); cursor: pointer; transition: opacity .2s ease, transform .2s ease, background .2s ease, bottom .28s ease; }
.floating-action:hover { background: #28785d; transform: translateY(-2px); }.floating-action:focus-visible { outline: 3px solid rgba(40,120,93,.24); outline-offset: 3px; }.floating-action .io { width: 20px; height: 20px; }
.chat-launcher { right: 22px; }.back-to-top { left: 22px; width: 40px; height: 40px; min-width: 40px; min-height: 40px; color: #28785d; background: rgba(255,255,255,.92); border-color: rgba(40,120,93,.22); box-shadow: 0 8px 22px rgba(15,49,40,.11); opacity: 0; pointer-events: none; transform: translateY(8px); backdrop-filter: blur(10px); }.back-to-top:hover { color: #153f33; background: #eef8f2; }.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }.back-to-top .io { width: 17px; height: 17px; transform: rotate(-90deg); }
.chat-prompt { position: fixed; z-index: 94; right: 22px; bottom: 84px; display: flex; width: min(360px, calc(100vw - 32px)); padding: 10px 42px 10px 10px; color: var(--ink); background: #fff; border: 1px solid rgba(21,63,51,.13); border-radius: 20px; box-shadow: 0 18px 48px rgba(15,49,40,.2); opacity: 0; pointer-events: none; transform: translateY(10px) scale(.98); transform-origin: bottom right; transition: opacity .2s ease, transform .22s ease, bottom .28s ease; }
.chat-prompt.is-visible { opacity: 1; pointer-events: auto; transform: none; }.chat-prompt-main { display: flex; width: 100%; align-items: center; gap: 12px; padding: 0; color: inherit; text-align: left; background: transparent; border: 0; cursor: pointer; }.chat-prompt-brand { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; background: #0f3128; border-radius: 13px; }.chat-prompt-brand img { width: 31px; height: 31px; object-fit: contain; filter: brightness(0) invert(1); }.chat-prompt-copy { display: grid; gap: 3px; line-height: 1.25; }.chat-prompt-copy strong { font-size: .75rem; }.chat-prompt-copy small { color: #727b77; font-size: .64rem; }.chat-prompt-close { position: absolute; top: 8px; right: 8px; display: grid; width: 28px; height: 28px; padding: 0; place-items: center; color: #6d7772; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }.chat-prompt-close:hover { color: var(--green); background: var(--mint); }.chat-prompt-close .io { width: 14px; height: 14px; }

@media (max-width: 760px) {
  .lead-dialog-shell { grid-template-columns: 1fr; }.lead-dialog-brand { display: none; }.lead-dialog-content { padding: 50px 24px 28px; }.lead-form { grid-template-columns: 1fr; }.lead-field--full { grid-column: auto; }
  .sticky-cta { right: 12px; bottom: 12px; left: 12px; width: auto; gap: 10px; padding: 11px 12px; border-radius: 15px; }.sticky-cta-visual, .sticky-cta-copy span, .sticky-cta-contact { display: none; }.sticky-cta-copy strong { max-width: 180px; font-size: .74rem; line-height: 1.3; }.sticky-cta-actions { margin-left: auto; }.sticky-cta .button { min-height: 40px; padding: 9px 12px; font-size: .67rem; }.sticky-cta-close { width: 30px; height: 30px; flex-basis: 30px; }
  .floating-action { bottom: 14px; width: 46px; height: 46px; min-width: 46px; min-height: 46px; }.chat-launcher { right: 14px; }.back-to-top { left: 14px; }.chat-prompt { right: 14px; bottom: 70px; width: min(340px, calc(100vw - 28px)); border-radius: 17px; }.sticky-cta-visible .chat-launcher, .sticky-cta-visible .back-to-top { bottom: 86px; }.sticky-cta-visible .chat-prompt { bottom: 142px; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .floating-action, .chat-prompt { transition: none; }
}
