/* AMG Variant 1 — compact lead form (former A), isolated from landing styles. */
.lead-card { width:100%; max-width:455px; padding:24px; }
.lead-form-ab .lead-form-topline {display:flex;justify-content:space-between;align-items:center;gap:8px;margin:19px 0 6px;}
.lead-form-ab .lead-form-step {font-size:10px;letter-spacing:.09em;color:#a72d3a;font-weight:900;}
.lead-form-ab .lead-ab-copy {font-size:10px;color:#657892;}
.lead-form-ab .lead-form-tip {font-size:11px;line-height:1.5;color:#5a6f87;margin:0 0 12px;}
.lead-form-ab .lead-form-row,.lead-form-ab .lead-extra-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.lead-form-ab .lead-field {min-width:0;margin-bottom:9px;}
.lead-form-ab .lead-field-full {grid-column:1 / -1;}
.lead-form-ab .lead-field label {font-size:11px;line-height:1.4;font-weight:800;display:block;margin:0 0 5px;}
.lead-form-ab .lead-field input {width:100%;height:44px;font-size:13px;min-width:0;margin:0;padding:10px 11px;background:#f5f7fb;border:1px solid #dce4ee;border-radius:10px;transition:box-shadow .15s,border-color .15s;}
.lead-form-ab .lead-field input:focus {border-color:#2166ad;box-shadow:0 0 0 3px rgba(22,86,163,.12);background:#fff;}
.lead-form-ab .lead-field input[aria-invalid="true"] {border-color:#cf283b;background:#fff5f5;box-shadow:0 0 0 2px rgba(207,40,59,.08);}
.lead-form-ab .lead-required {color:#d71d36;}
.lead-form-ab .lead-optional {font-weight:500;color:#72809a;font-size:10px;}
.lead-form-ab .field-error {font-size:10px;color:#b61830;line-height:1.45;margin:5px 0 0;}
.lead-form-ab .field-error:empty {display:none;}
.lead-form-ab .lead-more {border:1px solid #e0e7f0;border-radius:11px;padding:0 11px;margin-bottom:12px;background:#fcfdff;}
.lead-form-ab .lead-more summary {font-size:11px;color:#185d9c;font-weight:750;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;padding:11px 0;}
.lead-form-ab .lead-more summary::-webkit-details-marker {display:none;}
.lead-form-ab .lead-more summary .icon {width:14px;height:14px;transform:rotate(90deg);transition:transform .15s;}
.lead-form-ab .lead-more[open] summary .icon {transform:rotate(-90deg);}
.lead-form-ab .lead-extra-grid {padding:1px 0 7px;}
.lead-form-ab .lead-picker-shortcut {margin:-1px 0 13px;}
.lead-form-ab .lead-contact-head {margin:7px 0 9px;}
.lead-form-ab [hidden] {display:none!important;}
.lead-form-ab .lead-submit {margin-top:9px;font-size:14px;min-height:48px;}
.lead-form-ab .form-note {margin-top:13px;font-size:10px;line-height:1.55;}
.lead-form-ab .form-feedback {font-size:11px;line-height:1.55;margin:10px 0 0;}
.lead-message-preview {white-space:pre-wrap;overflow-wrap:anywhere;background:#eff4fa;color:#173455;border:1px solid #d9e5f1;border-radius:10px;padding:12px;margin:11px 0 0;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;max-height:230px;overflow:auto;}
.lead-message-preview[hidden] {display:none;}
@media(max-width:800px) { .lead-card{max-width:480px;margin-inline:auto;} }
@media(max-width:420px) { .lead-card{padding:18px 15px;} .lead-form-ab .lead-form-row{gap:7px;} .lead-form-ab .lead-field input{font-size:12px;padding:9px;} .lead-form-ab .lead-extra-grid{gap:7px;} }


/* Turnstile verification and confirmed Google Sheets submission */
.amg-turnstile-wrap {margin:12px 0 6px;min-width:0;}
.amg-turnstile-wrap #amg-turnstile {min-height:66px;}
.amg-turnstile-help {font-size:11px;color:#a72d3a;line-height:1.5;margin:5px 0;}
.amg-turnstile-help:empty {display:none;}
.lead-form-ab .lead-submit:disabled {opacity:.65;cursor:not-allowed;}
.lead-success-dialog {width:min(92vw,430px);border:0;padding:0;border-radius:18px;box-shadow:0 32px 88px #06163055;background:#fff;color:#14284b;}
.lead-success-dialog::backdrop {background:#061630bb;backdrop-filter:blur(5px);}
.lead-success-panel {padding:30px;text-align:center;}
.lead-success-mark {display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:#e3f7ea;color:#157347;font-size:32px;font-weight:900;margin:0 auto 17px;}
.lead-success-panel h2 {font-size:25px;line-height:1.2;margin:0 0 12px;}
.lead-success-panel p {font-size:14px;line-height:1.55;color:#526780;margin:0 0 16px;}
.lead-success-panel .lead-success-reference {background:#f1f5fa;padding:12px;border-radius:10px;color:#193f70;}
.lead-success-panel .lead-success-reference strong {font-weight:900;}
.lead-success-panel .lead-success-details {overflow-wrap:anywhere;font-size:12px;}
@media(max-width:420px) {.lead-success-panel{padding:22px 16px;}}

/* Preferred callback channel; phone remains required in the same form. */
.lead-form-ab .lead-contact-method{border:0;padding:0;margin:7px 0 14px;min-width:0}
.lead-form-ab .lead-contact-method legend{font-size:11px;font-weight:800;margin-bottom:9px;color:#263c55}
.lead-form-ab .lead-contact-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.lead-form-ab .lead-contact-choices label{position:relative;cursor:pointer;margin:0;min-width:0}
.lead-form-ab .lead-contact-choices input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.lead-form-ab .lead-contact-choices span{display:grid;place-items:center;min-height:40px;padding:7px 4px;border-radius:9px;border:1px solid #d5dfeb;background:#f6f8fb;font-size:11px;font-weight:800;color:#38516b}
.lead-form-ab .lead-contact-choices input:checked+span{background:#edf3fb;border-color:#195c9a;color:#134779;box-shadow:inset 0 0 0 1px #195c9a}
.lead-form-ab .lead-contact-choices input:focus-visible+span{outline:3px solid #f9b233;outline-offset:2px}
.lead-form-ab .lead-contact-method small{display:block;font-size:10px;line-height:1.5;color:#718298;margin:8px 0 0}
@media(max-width:650px){.lead-form-ab .lead-field input{font-size:16px}}

/* AMG motion polish: native details retains keyboard semantics while JS smoothly
   animates the block's height during user-initiated open and close. */
.lead-form-ab .lead-more{
  transition:border-color .3s ease,background-color .3s ease,box-shadow .3s ease
}
.lead-form-ab .lead-more[data-expanded="true"]{
  border-color:#b8cfe6;background:#f9fcff;box-shadow:0 6px 20px rgba(18,61,100,.045)
}
.lead-form-ab .lead-more summary{transition:color .25s ease}
.lead-form-ab .lead-more summary .icon{
  transition:transform .36s cubic-bezier(.22,1,.36,1)
}
.lead-form-ab .lead-more[data-expanded="true"] summary .icon{
  transform:rotate(-90deg)
}
.lead-form-ab .lead-more[data-expanded="false"] summary .icon{
  transform:rotate(90deg)
}
.lead-form-ab .lead-extra-grid{
  transform:translateY(0);opacity:1;
  transition:opacity .26s ease,transform .34s cubic-bezier(.22,1,.36,1)
}
.lead-form-ab .lead-more[data-expanded="false"] .lead-extra-grid{
  transform:translateY(-7px);opacity:0
}
.lead-form-ab .lead-contact-choices span{
  transition:border-color .25s ease,background-color .25s ease,
    box-shadow .25s ease,color .25s ease
}
@media(prefers-reduced-motion:reduce){
  .lead-form-ab .lead-more,.lead-form-ab .lead-more summary,
  .lead-form-ab .lead-more summary .icon,.lead-form-ab .lead-extra-grid,
  .lead-form-ab .lead-contact-choices span{transition:none!important}
}
