.vfa {
  --vfa-navy: #122544;
  --vfa-ink: #0e1b3e;
  --vfa-blue: #154b9b;
  --vfa-blue-light: #2d71d5;
  --vfa-accent: #a2c2e6;
  --vfa-red: #c8102e;
  --vfa-green: #1a7f4b;
  --vfa-muted: #5b6c82;
  --vfa-line: #e2e8f2;
  --vfa-bg-alt: #f4f7fb;
  --vfa-ease: cubic-bezier(.22, .68, .36, 1);

  color: var(--vfa-ink);
  background-color: #fff;
}

.vfa *,
.vfa *::before,
.vfa *::after { box-sizing: border-box; }

.vfa-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
}

.vfa-container--narrow { max-width: 860px; }

@media (min-width: 768px) {
  .vfa-container { padding: 0 2rem; }
}

.vfa-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--vfa-navy);
}

.vfa-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vfa-hero__overlay {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: linear-gradient(100deg, rgba(18, 37, 68, .93) 0%, rgba(18, 37, 68, .8) 45%, rgba(18, 37, 68, .5) 100%);
}

@media (min-width: 768px) {
  .vfa-hero__overlay { padding: 5rem 0 4rem; }
}

.vfa-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .7);
}

.vfa-hero__breadcrumb a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  transition: color .2s var(--vfa-ease);
}

.vfa-hero__breadcrumb a:hover { color: #fff; }

.vfa-hero__title {
  max-width: 20ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  font-family:'Montserrat',sans-serif;
}

.vfa-hero__lead {
  max-width: 56ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.vfa-hero__rule {
  width: 72px;
  height: 3px;
  margin-top: 1.5rem;
  background-color: var(--vfa-accent);
}

.vfa-section { padding: 2.5rem 0 4rem; }

@media (min-width: 768px) {
  .vfa-section { padding: 3.5rem 0 5rem; }
}

.vfa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .vfa-grid { grid-template-columns: 1fr 1fr; }
}

.vfa-field { display: flex; flex-direction: column; min-width: 0; }

.vfa-field--full { grid-column: 1 / -1; }

.vfa-field label,
.vfa-check label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--vfa-navy);
}

.vfa-field label { margin-bottom: .4rem; }

.vfa-req { color: var(--vfa-red); font-weight: 600; }

.vfa-input,
.vfa-select,
.vfa-textarea {
  width: 100%;
  padding: .75rem .875rem;
  font-family: inherit;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--vfa-ink);
  background-color: #fff;
  border: 1px solid var(--vfa-line);
  border-radius: 8px;
  outline: none;
  transition: border-color .2s var(--vfa-ease), box-shadow .2s var(--vfa-ease);
}

.vfa-input,
.vfa-select { height: 48px; padding-top: 0; padding-bottom: 0; }

.vfa-select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235b6c82' stroke-width='1.8'%3E%3Cpath d='M4 6.5 8 10.5 12 6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
}

.vfa-textarea { resize: vertical; min-height: 140px; }

.vfa-input:focus,
.vfa-select:focus,
.vfa-textarea:focus {
  border-color: var(--vfa-blue-light);
  box-shadow: 0 0 0 3px rgba(45, 113, 213, .15);
}

.vfa-input.has-error,
.vfa-textarea.has-error {
  border-color: var(--vfa-red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .1);
}

.vfa-error {
  margin: .35rem 0 0;
  font-size: .75rem;
  font-weight: 500;
  color: var(--vfa-red);
}

.vfa-alert {
  margin: 0 0 1.75rem;
  padding: .875rem 1rem;
  font-size: .875rem;
  color: #7a0c1c;
  background-color: #fdecef;
  border: 1px solid #f5c4cc;
  border-radius: 8px;
}

.vfa-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.vfa-check {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  margin-top: 1.5rem;
  padding: .875rem 1rem;
  background-color: var(--vfa-bg-alt);
  border: 1px solid var(--vfa-line);
  border-radius: 8px;
}

.vfa-check.has-error { border-color: var(--vfa-red); }

.vfa-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: .1rem;
  accent-color: var(--vfa-blue);
  cursor: pointer;
}

.vfa-check label {
  font-weight: 400;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--vfa-muted);
  cursor: pointer;
}

.vfa-check label a {
  color: var(--vfa-blue);
  text-decoration: underline;
}

.vfa-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}

.vfa-required-note {
  margin: 0;
  font-size: .75rem;
  color: var(--vfa-muted);
}

.vfa-submit {
  padding: .875rem 2rem;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 500;
  color: #fff;
  background-color: var(--vfa-navy);
  border: 1px solid var(--vfa-navy);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .25s var(--vfa-ease), transform .25s var(--vfa-ease),
              box-shadow .25s var(--vfa-ease);
}

.vfa-submit:hover {
  background-color: var(--vfa-blue);
  border-color: var(--vfa-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(18, 37, 68, .22);
}

.vfa-success {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background-color: var(--vfa-bg-alt);
  border: 1px solid var(--vfa-line);
  border-radius: 12px;
}

.vfa-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  color: #fff;
  background-color: var(--vfa-green);
  border-radius: 50%;
}

.vfa-success__title {
  margin: 0 0 .5rem;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--vfa-navy);
}

.vfa-success__text {
  max-width: 44ch;
  margin: 0 auto 1.5rem;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--vfa-muted);
}

.vfa-success__link {
  display: inline-block;
  padding: .75rem 1.75rem;
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background-color: var(--vfa-navy);
  border-radius: 8px;
  transition: background-color .25s var(--vfa-ease);
}

.vfa-success__link:hover { background-color: var(--vfa-blue); }

@media (prefers-reduced-motion: reduce) {
  .vfa-submit { transition-duration: .01ms; }
  .vfa-submit:hover { transform: none; }
}
