/* Lead capture: homepage conversion section, modal, floating CTA */
.lead-section {
  margin-top: 60px;
  padding: 64px 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .12), transparent 34%),
    linear-gradient(135deg, #0f2e57 0%, #1a3a5c 52%, #2f6fae 100%);
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 44px;
  align-items: center;
}

.lead-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffb6ae;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead-copy h2,
.lead-modal-card h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  text-transform: none;
}

.lead-copy p,
.lead-modal-text {
  max-width: 560px;
  margin: 0 0 22px;
  color: #dbe7f5;
  font-size: 16px;
  line-height: 1.55;
}

.lead-points {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.lead-points li {
  position: relative;
  padding-left: 28px;
  color: #f4f8fd;
  font-size: 15px;
}

.lead-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #f64f47;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}

.lead-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lead-chips span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.lead-form {
  box-sizing: border-box;
  width: 100%;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  color: #1b2a41;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.lead-form *,
.lead-form *::before,
.lead-form *::after {
  box-sizing: border-box;
}

.lead-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lead-form-head strong {
  font-size: 19px;
  line-height: 1.2;
}

.lead-free {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f64f47;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lead-field {
  display: block;
  margin: 0 0 12px;
}

.lead-field label {
  display: block;
  margin: 0;
}

.lead-field label > span {
  display: block;
  margin-bottom: 5px;
  color: #47536a;
  font-size: 12px;
  font-weight: 600;
}

.lead-field label > span em {
  color: #8a94a6;
  font-style: normal;
  font-weight: 400;
}

.lead-field input {
  display: block;
  width: 100%;
  height: 46px;
  padding: 9px 12px;
  border: 1px solid #d6deea;
  border-radius: 10px;
  background: #fff;
  color: #172033;
  font-size: 15px;
  line-height: 1.3;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.lead-field input::placeholder {
  color: #a3adbd;
}

.lead-field input:focus {
  border-color: #2f6fae;
  box-shadow: 0 0 0 3px rgba(47, 111, 174, .14);
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
}

.lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 14px;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.lead-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #1a3a5c;
}

.lead-consent a {
  color: #1a5fb4;
  text-decoration: underline;
}

.lead-submit {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  background: #f64f47;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.lead-submit:hover {
  background: #d93c35;
}

.lead-submit:active {
  transform: translateY(1px);
}

.lead-submit:disabled {
  background: #c7ced9;
  cursor: wait;
}

.lead-status {
  min-height: 18px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.lead-status.is-error {
  color: #c62828;
}

.lead-status.is-success {
  color: #1b7f4b;
}

.lead-note {
  margin-top: 7px;
  color: #98a2b3;
  font-size: 11px;
  text-align: center;
}

.lead-fab {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 1040;
  padding: 13px 18px;
  border: 0;
  border-radius: 999px;
  background: #f64f47;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.lead-fab:hover {
  background: #d93c35;
  transform: translateY(-1px);
}

.lead-mobile-bar {
  display: none;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal.is-open {
  display: flex;
}

.lead-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 35, .72);
  backdrop-filter: blur(3px);
}

.lead-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.lead-modal-card .lead-form {
  width: 100%;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.lead-modal-card h2 {
  color: #14233a;
  font-size: 27px;
}

.lead-modal-card .lead-modal-text {
  color: #5a677b;
  font-size: 14px;
  margin-bottom: 16px;
}

.lead-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: #33405a;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}

.lead-modal-close:hover {
  background: #e1e7f0;
}

body.lead-modal-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .lead-copy h2 {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .lead-section {
    margin-top: 36px;
    padding: 40px 0;
  }

  .lead-copy h2 {
    font-size: 26px;
  }

  .lead-copy p {
    font-size: 14px;
  }

  .lead-form {
    padding: 18px;
  }

  .lead-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lead-fab {
    display: none;
  }

  .lead-mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    background: #fff;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .12);
  }

  .lead-mobile-bar a,
  .lead-mobile-bar button {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
  }

  .lead-mobile-bar .lead-call {
    background: #eef2f7;
    color: #1a3a5c;
  }

  .lead-mobile-bar button {
    background: #f64f47;
    color: #fff;
  }

  body {
    padding-bottom: 62px;
  }

  .lead-modal {
    padding: 10px;
  }

  .lead-modal-card {
    padding: 22px 18px;
    max-height: calc(100vh - 20px);
  }
}
