/* Pre-footer contact form (same look as /contact form) — all AEA pages */
body.aea-home .aea-prefooter-contact{
  width: min(1080px, calc(100% - 48px)) !important;
  margin: 28px auto 8px !important;
  position: relative;
  z-index: 2;
  scroll-margin-top: 110px;
}
body.aea-home.aea-contact #contact-form{
  scroll-margin-top: 110px;
}
body.aea-home .aea-prefooter-contact__shell{
  position: relative;
  padding: 22px 26px 20px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(155deg, rgba(18, 48, 70, .28), rgba(6, 18, 30, .38));
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 16px 36px rgba(0,0,0,.38);
}
body.aea-home .aea-prefooter-contact__kicker{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  margin-bottom: 6px;
}
body.aea-home .aea-prefooter-contact__shell > h2{
  margin: 0 0 4px;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.12;
  color: #fff;
}
body.aea-home .aea-prefooter-contact__shell > h2 em{
  font-style: normal;
  color: #E2263D;
}
body.aea-home .aea-prefooter-contact__lead{
  margin: 0 0 12px;
  color: rgba(220, 236, 246, .88);
  font-size: 13px;
  line-height: 1.45;
}
body.aea-home .aea-prefooter-contact__fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
body.aea-home .aea-prefooter-contact__field{
  position: relative;
  display: block;
}
body.aea-home .aea-prefooter-contact__ico{
  position: absolute;
  inset-inline-start: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #5ec8ff;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(94, 200, 255, .55));
}
body.aea-home .aea-prefooter-contact__ico--top{
  top: 16px;
  transform: none;
}
body.aea-home .aea-prefooter-contact__ico svg{
  width: 16px;
  height: 16px;
}
body.aea-home .aea-prefooter-contact__field input,
body.aea-home .aea-prefooter-contact__field textarea{
  width: 100%;
  height: 42px;
  border-radius: 999px !important;
  border: 1.5px solid rgba(255, 255, 255, .38) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  font: inherit;
  font-size: 13px;
  padding-block: 0;
  padding-inline: 44px 16px !important;
  outline: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
body.aea-home .aea-prefooter-contact__field textarea{
  height: auto !important;
  border-radius: 18px !important;
  padding-block: 12px 10px !important;
  padding-inline: 44px 16px !important;
  resize: vertical;
  min-height: 72px;
}
body.aea-home .aea-prefooter-contact__field input::placeholder,
body.aea-home .aea-prefooter-contact__field textarea::placeholder{
  color: rgba(160, 184, 200, .85);
}
body.aea-home .aea-prefooter-contact__field input:focus,
body.aea-home .aea-prefooter-contact__field textarea:focus{
  border-color: rgba(120, 220, 255, .75);
  box-shadow: 0 0 0 3px rgba(40, 180, 255, .16), 0 0 18px rgba(40, 180, 255, .18);
  background: rgba(255, 255, 255, .09);
}
body.aea-home .aea-prefooter-contact__field--message{
  margin-bottom: 10px;
}
body.aea-home .aea-prefooter-contact__submit{
  width: 100%;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .01em;
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #ff3550 0%, #e2263d 55%, #c91830 100%);
  box-shadow:
    0 0 0 1px rgba(255, 60, 90, .35),
    0 10px 30px rgba(226, 38, 61, .5),
    0 0 40px rgba(226, 38, 61, .32);
  transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
}
body.aea-home .aea-prefooter-contact__submit svg{
  width: 18px;
  height: 18px;
}
body.aea-home .aea-prefooter-contact__submit:hover{
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 60, 90, .45),
    0 12px 34px rgba(226, 38, 61, .55),
    0 0 42px rgba(226, 38, 61, .35);
}
body.aea-home .aea-prefooter-contact__status{
  display: block;
  margin-top: 10px;
  min-height: 1.2em;
  color: #9db4c4;
  font-size: 13px;
}
body.aea-home .aea-prefooter-contact__status.is-ok{ color: #5ddea0; }
body.aea-home .aea-prefooter-contact__status.is-err{ color: #ff7a8a; }

@media (max-width: 760px){
  body.aea-home .aea-prefooter-contact{
    width: calc(100% - 28px) !important;
    margin: 20px auto 6px !important;
  }
  body.aea-home .aea-prefooter-contact__shell{
    padding: 18px 16px 16px;
    border-radius: 20px;
  }
  body.aea-home .aea-prefooter-contact__fields{
    grid-template-columns: 1fr;
  }
}
