/* Application form page */
.afx-apply-hero { background: var(--navy); color: rgba(255,255,255,.85); padding: 72px 0 120px; position: relative; background-size: cover; background-position: center; }
.afx-apply-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28,35,42,.95), rgba(39,48,56,.8)); }
.afx-apply-hero .afx-wrap { position: relative; }
.afx-apply-hero .afx-eyebrow { color: #ff6b61; }
.afx-apply-hero h1 { color: #fff; font-size: 46px; margin: 16px 0 14px; }
.afx-apply-hero p { max-width: 620px; font-size: 17px; }
.afx-apply-body { background: var(--card); padding: 0 0 96px; }
.afx-apply-grid { display: grid; grid-template-columns: 1fr 330px; gap: 32px; margin-top: -72px; position: relative; }
.afx-form { background: #fff; padding: 44px; box-shadow: 0 18px 50px rgba(28,35,42,.12); border-top: 4px solid var(--red); }
.afx-form fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.afx-form legend { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); width: 100%; }
.afx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.afx-field { margin-bottom: 18px; }
.afx-field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.afx-field label i { color: var(--red); font-style: normal; }
.afx-field input[type=text], .afx-field input[type=email], .afx-field input[type=tel], .afx-field select, .afx-field textarea {
  width: 100%; border: 1px solid var(--rule); background: #fff; padding: 12px 14px; font-size: 15px; color: var(--navy); border-radius: 2px; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.afx-field select { height: 48px; }
.afx-field textarea { min-height: 130px; resize: vertical; }
.afx-field input:focus, .afx-field select:focus, .afx-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(39,48,56,.12); }
.afx-field small { display: block; font-size: 12.5px; color: var(--body); margin-top: 6px; }
.afx-field.has-error input, .afx-field.has-error select, .afx-field.has-error textarea { border-color: var(--red); }
.afx-err { display: block; color: var(--red); font-size: 13px; margin-top: 6px; }
.afx-file { border: 2px dashed var(--rule); padding: 22px; text-align: center; cursor: pointer; transition: all .2s; display: block; }
.afx-file:hover { border-color: var(--navy); background: var(--card); }
.afx-file input { display: none; }
.afx-file b { color: var(--navy); display: block; margin-bottom: 4px; }
.afx-file span { font-size: 13px; }
.afx-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--body); margin: 6px 0 24px; }
.afx-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); flex: 0 0 18px; }
.afx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.afx-submit { border: 0; cursor: pointer; font-family: inherit; }
.afx-submit[disabled] { opacity: .6; cursor: wait; }
.afx-alert { display: none; background: #fdecea; color: var(--red-dark); padding: 14px 16px; font-size: 14px; margin-bottom: 20px; border-left: 4px solid var(--red); }
.afx-side { align-self: start; position: sticky; top: 100px; }
.afx-side-card { background: var(--navy); color: rgba(255,255,255,.8); padding: 32px 28px; margin-bottom: 20px; }
.afx-side-card h3 { color: #fff; font-size: 19px; margin-bottom: 16px; }
.afx-side-card ol { padding-left: 0; margin: 0; list-style: none; counter-reset: s; }
.afx-side-card li { counter-increment: s; display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 14.5px; }
.afx-side-card li::before { content: counter(s, decimal-leading-zero); color: #ff6b61; font-weight: 700; }
.afx-side-help { background: #fff; padding: 26px 28px; font-size: 14.5px; border-top: 4px solid var(--red); }
.afx-side-help b { color: var(--navy); display: block; margin-bottom: 8px; font-size: 16px; }
.afx-side-help a { color: var(--navy) !important; font-weight: 600; display: block; margin-top: 6px; }
/* Thank-you page */
.afx-thanks { background: var(--card); padding: 110px 0; text-align: center; }
.afx-thanks-card { background: #fff; max-width: 760px; margin: 0 auto; padding: 60px 48px; border-top: 4px solid var(--red); box-shadow: 0 18px 50px rgba(28,35,42,.1); }
.afx-thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--red); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }
.afx-thanks h1 { font-size: 38px; margin-bottom: 14px; }
.afx-thanks-card > p { font-size: 17px; max-width: 540px; margin: 0 auto 34px; }
.afx-thanks-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); text-align: left; margin-bottom: 36px; }
.afx-thanks-steps div { background: #fff; padding: 22px 20px; font-size: 14px; }
.afx-thanks-steps b { display: block; color: var(--red); font-size: 13px; letter-spacing: .1em; margin-bottom: 6px; }
.afx-thanks-steps strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: 16px; }
.afx-thanks .afx-ctas { justify-content: center; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 991px) {
  .afx-apply-grid { grid-template-columns: 1fr; }
  .afx-side { position: static; }
}
@media (max-width: 600px) {
  .afx-apply-hero h1 { font-size: 32px; }
  .afx-form { padding: 28px 20px; }
  .afx-row { grid-template-columns: 1fr; gap: 0; }
  .afx-thanks-card { padding: 44px 22px; }
  .afx-thanks h1 { font-size: 28px; }
  .afx-thanks-steps { grid-template-columns: 1fr; }
}
