.hero-lead {
  position: relative;
  /* Keep the country picker above the following proof bar (z-index: 5). */
  z-index: 6;
  width: min(1240px, calc(100% - 48px));
  margin: -30px auto 0;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 36, 48, .18);
}

.hero-lead-copy .eyebrow { margin-bottom: 8px; }
.hero-lead-copy h2 { margin: 0 0 8px; font-size: clamp(27px, 2.5vw, 40px); }
.hero-lead-copy > p:last-child { margin: 0; color: #455a62; font-size: 14px; }
.hero-lead-form { padding: 0; display: grid; grid-template-columns: .85fr 1fr .9fr 1fr minmax(175px, .75fr); gap: 12px; align-items: end; box-shadow: none; }
.hero-lead-form label,
.hero-lead-form .form-field { min-width: 0; margin: 0; }
.hero-lead-form > label:first-of-type { grid-column: 1; grid-row: 1; }
.hero-lead-form > .phone-form-field { grid-column: 2; grid-row: 1; }
.hero-lead-form > .hero-lead-email { grid-column: 3; grid-row: 1; }
.hero-lead-form > .hero-lead-treatment { grid-column: 4; grid-row: 1; }
.hero-lead-form .consent { grid-column: 1 / -1; grid-row: 2; margin: 2px 0 0; }
.hero-lead-form .form-submit { grid-column: 5; grid-row: 1; width: 100%; min-width: 0; min-height: 48px; }
.hero-lead-form .form-validation-message { grid-column: 1 / -1; margin: 0; }
.hero-lead + .proof-bar { margin-top: 28px; }

@media (max-width: 1050px) {
  .hero-lead { gap: 26px; }
  .hero-lead-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-lead-form > label:first-of-type { grid-column: 1; grid-row: 1; }
  .hero-lead-form > .phone-form-field { grid-column: 2; grid-row: 1; }
  .hero-lead-form > .hero-lead-email { grid-column: 1; grid-row: 2; }
  .hero-lead-form > .hero-lead-treatment { grid-column: 2; grid-row: 2; }
  .hero-lead-form .form-submit { grid-column: 1 / -1; grid-row: 3; }
  .hero-lead-form .consent { grid-column: 1 / -1; grid-row: 4; }
}

@media (max-width: 760px) {
  .section-rail { display: none !important; }
  .hero-lead { width: 100%; margin: 0; padding: 38px 20px; gap: 24px; }
  .hero-lead-copy h2 { font-size: 30px; }
  .hero-lead-form { grid-template-columns: 1fr; gap: 16px; }
  .hero-lead-form > label:first-of-type,
  .hero-lead-form > .phone-form-field,
  .hero-lead-form > .hero-lead-email,
  .hero-lead-form > .hero-lead-treatment,
  .hero-lead-form .form-submit,
  .hero-lead-form .consent,
  .hero-lead-form .form-validation-message { grid-column: 1; grid-row: auto; }
  .hero-lead-form .consent { margin-top: 2px; }
  .hero-lead-form .form-submit { margin-bottom: 72px; }
  .hero-lead + .proof-bar { margin-top: 0; }
}

#hero-lead{scroll-margin-top:100px}
