/* AF Core: lead form details + cookie banner. Base field styles are in the theme. */
.af-lead-form .af-phone { display: grid; grid-template-columns: minmax(7.5rem, 9rem) 1fr; gap: 0.5rem; }
.af-lead-form .af-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.af-lead-form .af-submit { position: relative; width: 100%; min-height: 52px; font-size: 1.0625rem; cursor: pointer; }
.af-lead-form .af-submit[disabled] { opacity: 0.8; cursor: progress; }
.af-lead-form .af-spinner { display: none; width: 1.1rem; height: 1.1rem; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.af-lead-form .af-submit.is-busy .af-spinner { display: inline-block; animation: af-spin-btn 0.7s linear infinite; }
@keyframes af-spin-btn { to { transform: rotate(360deg); } }
.af-lead-form .af-form__status { margin: 0; padding: 0.75rem 1rem; border-radius: 8px; background: #EBF0F4; color: #172636; font-size: 0.9375rem; }
.af-lead-form .af-form__status.is-error { background: #FDECEA; color: #8F2A20; }
.af-lead-form .cf-turnstile { min-height: 0; }
.af-lead-form .af-noscript { padding: 0.75rem 1rem; border-radius: 8px; background: #FFEBE5; color: #172636; }
.af-lead-form-wrap { background: #fff; border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1px 2px rgba(16,28,40,0.06), 0 22px 44px -14px rgba(16,28,40,0.26); color: #1D2835; }
.af-lead-form-wrap a { color: #BC4524; }

/* Cookie banner: bottom sheet on mobile, floating card on desktop. */
.af-consent { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; padding: 0.75rem; }
.af-consent[hidden] { display: none; }
.af-consent__inner { max-width: 44rem; margin-left: auto; background: #101C28; color: #E6ECF2; border-radius: 16px; padding: 1rem 1.125rem; box-shadow: 0 18px 50px -12px rgba(0,0,0,0.45); font-size: 0.9375rem; line-height: 1.5; }
.af-consent__text { margin: 0 0 0.75rem; color: #E6ECF2; }
.af-consent__text a { color: #FF7A59; }
.af-consent__prefs { display: grid; gap: 0.6rem; margin: 0 0 0.875rem; }
.af-consent [hidden] { display: none !important; }
.af-consent__prefs .af-check { color: #E6ECF2; }
.af-consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.af-consent__btn { min-height: 44px; padding: 0 1rem; border-radius: 99px; border: 0; font: inherit; font-weight: 600; cursor: pointer; background: rgba(255,255,255,0.1); color: #fff; }
.af-consent__btn--primary { background: #FF7A59; color: #101C28; }
.af-consent__btn--link { background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.af-consent__btn:focus-visible { outline: 3px solid #FF7A59; outline-offset: 2px; }
@media (max-width: 599px) {
  .af-consent { padding: 0; }
  .af-consent__inner { border-radius: 16px 16px 0 0; padding: 0.875rem 1rem calc(0.875rem + env(safe-area-inset-bottom)); font-size: 0.875rem; }
  .af-consent__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .af-consent__btn--link { grid-column: 1 / -1; min-height: 36px; }
}
