/* ==========================================================
   AIO Pro Chimney - Shared Lead Capture Form
   Injected into all service & city pages
   Styled to match site (red/purple/cream)
   ========================================================== */

.aio-lead-form {
  position: fixed;
  bottom: 30px;
  right: -500px;
  width: 360px;
  max-width: 92vw;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border-top: 6px solid #e63946;
  z-index: 10001;
  padding: 26px 24px 22px;
  transition: right .45s cubic-bezier(.2,.8,.2,1);
  font-family: 'Montserrat', system-ui, -apple-system, Arial, sans-serif;
}

.aio-lead-form.active { right: 30px; }

.aio-lead-form h3 {
  color: #1a1040;
  font-size: 1.35rem;
  margin: 0 0 8px;
  font-weight: 900;
  line-height: 1.2;
}

.aio-lead-form .aio-sub {
  color: #666;
  font-size: .9rem;
  margin: 0 0 16px;
  line-height: 1.4;
}

.aio-lead-form .aio-field {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 2px solid #eee;
  border-radius: 9px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: .95rem;
  background: #f7f7f7;
  transition: .25s;
}

.aio-lead-form .aio-field:focus {
  border-color: #1a1040;
  background: #fff;
  outline: none;
}

.aio-lead-form .aio-submit {
  width: 100%;
  background: linear-gradient(135deg, #e63946 0%, #c1232e 100%);
  color: #fff;
  padding: 13px;
  border: none;
  border-radius: 9px;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(230,57,70,.3);
  transition: .3s;
  font-family: inherit;
}

.aio-lead-form .aio-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(230,57,70,.5);
  filter: brightness(1.08);
}

.aio-lead-form .aio-close {
  position: absolute;
  top: 12px;
  right: 14px;
  cursor: pointer;
  color: #999;
  font-size: 1.4rem;
  line-height: 1;
  background: none;
  border: none;
  padding: 4px 8px;
  transition: .2s;
}

.aio-lead-form .aio-close:hover { color: #e63946; }

.aio-lead-form .aio-trust {
  text-align: center;
  font-size: .75rem;
  color: #888;
  margin-top: 10px;
  line-height: 1.4;
}

.aio-lead-form .aio-trust i { color: #12b76a; margin-right: 4px; }

/* Mobile */
@media (max-width: 600px) {
  .aio-lead-form {
    width: 92%;
    right: -100%;
    bottom: 75px;
    padding: 22px 20px 18px;
  }
  .aio-lead-form.active { right: 4%; }
  .aio-lead-form h3 { font-size: 1.2rem; }
}
