.float-tools {
  position: fixed;
  z-index: 46;
  right: calc(50% - 226px);
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-tools .float-call,
.float-mail {
  position: static;
  right: auto;
  bottom: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(26, 58, 91, .28);
}
.float-mail {
  border: 1px solid var(--gold, #c9a84c);
  background: var(--gold, #c9a84c);
  color: var(--deep, #1a3a5b);
}
.float-mail svg,
.float-tools .float-call svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(26, 58, 91, .64);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lead-modal.open { display: flex; }
.lead-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow: auto;
  padding: 28px 26px calc(28px + env(safe-area-inset-bottom, 0px));
  border-radius: 8px 8px 0 0;
  background: #f7f8f9;
  box-shadow: 0 -18px 50px rgba(26, 58, 91, .25);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.lead-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid #dbe0e4;
  border-radius: 50%;
  background: #fff;
  color: #1a3a5b;
  font-size: 24px;
  line-height: 32px;
}
.lead-kicker {
  margin-bottom: 10px;
  color: #c9a84c;
  font: 12px Georgia, serif;
  letter-spacing: .2em;
}
.lead-title {
  padding-right: 45px;
  color: #1a3a5b;
  font-size: 25px;
  line-height: 1.38;
}
.lead-intro {
  margin: 14px 0 22px;
  color: #64717c;
  font-size: 13px;
  line-height: 1.8;
}
.lead-field { margin-bottom: 15px; }
.lead-label {
  display: block;
  margin-bottom: 7px;
  color: #1a3a5b;
  font-size: 13px;
  font-weight: 700;
}
.lead-input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #dfe3e6;
  border-radius: 6px;
  background: #fff;
  color: #1f2d38;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.lead-input:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .12);
}
textarea.lead-input {
  min-height: 92px;
  resize: vertical;
  line-height: 1.6;
}
.lead-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border-radius: 6px;
  background: #1a3a5b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}
.lead-submit:disabled { opacity: .66; }
.lead-error {
  display: none;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(164, 48, 48, .18);
  border-radius: 6px;
  background: rgba(164, 48, 48, .08);
  color: #9f2f2f;
  font-size: 12px;
  line-height: 1.6;
}
.lead-error.show { display: block; }
.lead-success {
  display: none;
  padding: 45px 8px 30px;
  text-align: center;
}
.lead-success.show { display: block; }
.lead-success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #c9a84c;
  color: #fff;
  font-size: 28px;
}
.lead-success strong {
  display: block;
  margin-bottom: 8px;
  color: #1a3a5b;
  font-size: 19px;
}
.lead-success p {
  margin: 0;
  color: #64717c;
  font-size: 13px;
  line-height: 1.8;
}
body.lead-modal-open { overflow: hidden; }
@media (max-width: 480px) {
  .float-tools { right: 20px; }
  .lead-panel { padding-left: 22px; padding-right: 22px; }
}
