/* ===== Apply Now (vaf-) ===== */
.vaf {
  position: relative;
  overflow: hidden;
}
.vaf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 960px) {
  .vaf-grid {
    grid-template-columns: 1fr;
  }
}
.vaf-left h2 {
  font-family: "Archivo";
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.04;
  margin-top: 12px;
}
.vaf-left p.lead {
  color: var(--body);
  font-size: 16px;
  margin-top: 16px;
  max-width: 560px;
}
.vaf-steps {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}
.vaf-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    border-color 0.25s,
    box-shadow 0.25s;
}
.vaf-step.in {
  opacity: 1;
  transform: none;
}
.vaf-step:hover {
  border-color: var(--amber);
  box-shadow: 0 10px 30px rgba(16, 76, 141, 0.08);
}
.vaf-step .n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid var(--amber);
  border-radius: 4px;
  padding: 6px 9px;
  flex: none;
}
.vaf-step h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.vaf-step span {
  display: block;
  color: var(--body);
  font-size: 14.5px;
  margin-top: 5px;
  line-height: 1.6;
}
.vaf-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.vaf-fact strong {
  display: block;
  font-family: "Archivo";
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.vaf-fact span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.vaf-card {
  background: #104c8d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: clamp(26px, 3.2vw, 42px);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.vaf-card.in {
  opacity: 1;
  transform: none;
}
.vaf-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px 300px at 100% 0%,
    rgba(16, 76, 141, 0.55),
    transparent 60%
  );
  pointer-events: none;
}
.vaf-card > * {
  position: relative;
  z-index: 1;
}
.vaf-card .eyebrow {
  color: var(--amber);
}
.vaf-card h3 {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
  text-transform: uppercase;
  margin-top: 12px;
}
.vaf-card .sub {
  color: var(--d-muted);
  font-size: 14.5px;
  margin-top: 10px;
}
.vaf-form {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.vaf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .vaf-row {
    grid-template-columns: 1fr;
  }
}
.vaf-f {
  position: relative;
}
.vaf-f input,
.vaf-f select,
.vaf-f textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  padding: 20px 16px 10px;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  appearance: none;
}
.vaf-f textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.6;
}
.vaf-f select {
  color: #fff;
  padding-top: 20px;
}
.vaf-f select option {
  background: #121210;
  color: #fff;
}
.vaf-f label {
  position: absolute;
  left: 16px;
  top: 15px;
  font-size: 14.5px;
  color: #9c9c95;
  pointer-events: none;
  transition: 0.18s ease;
  font-family: "Inter", sans-serif;
}
.vaf-f input:focus,
.vaf-f textarea:focus,
.vaf-f select:focus {
  border-color: var(--amber);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(246, 167, 0, 0.14);
}
.vaf-f input:focus + label,
.vaf-f textarea:focus + label,
.vaf-f select:focus + label,
.vaf-f input:not(:placeholder-shown) + label,
.vaf-f textarea:not(:placeholder-shown) + label,
.vaf-f select.has + label {
  top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-family: "IBM Plex Mono", monospace;
}
.vaf-f .req {
  color: var(--amber);
}
.vaf-file {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  padding: 16px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.vaf-file:hover,
.vaf-file.drag {
  border-color: var(--amber);
  background: rgba(246, 167, 0, 0.07);
}
.vaf-file input {
  display: none;
}
.vaf-file .btnf {
  font-family: "Archivo";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: var(--darker);
  border-radius: 4px;
  padding: 9px 14px;
  flex: none;
}
.vaf-file .nm {
  color: #9c9c95;
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vaf-file.has .nm {
  color: var(--amber);
}
.vaf-note {
  color: #8a8a82;
  font-size: 12px;
  line-height: 1.6;
}
.vaf-note a {
  color: var(--d-muted);
  text-decoration: underline;
}
.vaf-submit {
  justify-content: center;
  width: 100%;
  background: #fff;
  color: var(--darker);
  border-radius: 40px;
}
.vaf-submit:hover {
  background: var(--amber);
  transform: translateY(-2px);
}
.vaf-submit .ar {
  background: rgba(0, 0, 0, 0.14);
}
.vaf-ok {
  display: none;
  margin-top: 14px;
  border: 1px solid rgba(246, 167, 0, 0.4);
  background: rgba(246, 167, 0, 0.1);
  color: #fff;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
}
.vaf-ok.show {
  display: block;
  animation: vafPop 0.4s ease;
}
@keyframes vafPop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.vaf-f.err input,
.vaf-f.err textarea {
  border-color: #e2564a;
  animation: vafShake 0.32s;
}
@keyframes vafShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vaf-step,
  .vaf-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .vaf-ok.show,
  .vaf-f.err input {
    animation: none;
  }
}
@media (max-width: 560px) {
  .vaf-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 26px 0 0 !important;
    box-sizing: border-box !important;
  }

  .vaf-row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .vaf-f {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .vaf-f input,
  .vaf-f select,
  .vaf-f textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .vaf-file {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 14px !important;
  }
}
