/* ─────────────────────────────────────────────────────────
   Job Application Form (/job-application-form/)
   ───────────────────────────────────────────────────────── */

/* ── HERO ──────────────────────────────────────────── */
.jaf-hero {
  position: relative;
  padding: 64px 48px 56px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,44,85,0.18) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(255,44,85,0.08) 0%, transparent 50%),
    var(--black);
  color: var(--white);
  overflow: hidden;
}

.jaf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%);
}

.jaf-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.jaf-hero-inner .cr-hero-back { margin-bottom: 22px; }

.jaf-hero-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}

.jaf-hero-h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--white);
}

.jaf-hero-h1 em {
  font-style: italic;
  color: var(--red);
  font-weight: 900;
}

.jaf-hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 720px;
  margin: 0;
}

.jaf-hero-sub strong {
  color: var(--white);
  font-weight: 700;
}

/* ── FORM SECTION ──────────────────────────────────── */
.jaf-form-section {
  padding: 72px 48px 96px;
  background: var(--bg);
}

.jaf-form-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ── ALERTS ────────────────────────────────────────── */
.jaf-alert {
  margin: 0 0 32px;
  padding: 16px 22px;
  border-left: 4px solid var(--red);
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
  color: var(--black);
}

.jaf-alert--success {
  border-left-color: #2BA94B;
}

.jaf-alert--success strong { color: #2BA94B; }
.jaf-alert--error strong   { color: var(--red); }

/* ── FORM LAYOUT ───────────────────────────────────── */
.jaf-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.jaf-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.jaf-row--two {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
  .jaf-row--two { grid-template-columns: 1fr; }
}

.jaf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.jaf-field--full { width: 100%; }

.jaf-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
}

.jaf-req {
  color: var(--red);
  margin-left: 4px;
  font-weight: 900;
}

.jaf-help {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── INPUTS ────────────────────────────────────────── */
.jaf-form input[type="text"],
.jaf-form input[type="email"],
.jaf-form input[type="tel"],
.jaf-form input[type="url"],
.jaf-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  background: #fff;
  color: var(--black);
  border: 1px solid var(--rule);
  border-radius: 0;
  transition: border-color 0.16s, box-shadow 0.16s;
  -webkit-appearance: none;
  appearance: none;
}

.jaf-form input::placeholder,
.jaf-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.65;
}

.jaf-form input:focus,
.jaf-form textarea:focus,
.jaf-form select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,44,85,0.16);
}

/* ── SELECT ────────────────────────────────────────── */
.jaf-select-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.jaf-form select {
  width: 100%;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.4;
  background: #fff;
  color: var(--black);
  border: 1px solid var(--rule);
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.16s, box-shadow 0.16s;
}

.jaf-form select:hover { border-color: rgba(0,0,0,0.35); }

.jaf-select-chev {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--red);
  pointer-events: none;
}

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

/* ── FILE FIELD ────────────────────────────────────── */
.jaf-field--file {
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px dashed var(--rule);
}

.jaf-field--file .jaf-label { margin-bottom: 4px; }

.jaf-form input[type="file"] {
  font-size: 14px;
  font-family: inherit;
  color: var(--black);
}

.jaf-form input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 10px 16px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.18s;
}

.jaf-form input[type="file"]::file-selector-button:hover {
  background: var(--red);
}

/* ── CONSENT ───────────────────────────────────────── */
.jaf-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--black);
  margin-top: 4px;
}

.jaf-consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.jaf-consent a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jaf-consent a:hover { color: var(--black); }

/* ── SUBMIT BUTTON ─────────────────────────────────── */
.jaf-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
  transition: background 0.22s, transform 0.22s;
  box-shadow: 0 10px 28px rgba(255,44,85,0.22);
}

.jaf-submit svg { width: 14px; height: 14px; transition: transform 0.22s; }

.jaf-submit:hover {
  background: var(--black);
  transform: translateY(-2px);
}

.jaf-submit:hover svg { transform: translateX(4px); }

.jaf-submit:focus-visible {
  outline: 3px solid rgba(255,44,85,0.4);
  outline-offset: 2px;
}

/* ── FOOT NOTE ─────────────────────────────────────── */
.jaf-foot-note {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.55;
}

.jaf-foot-note a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}

.jaf-foot-note a:hover {
  color: var(--black);
  border-color: var(--black);
}

/* ── MOBILE ────────────────────────────────────────── */
@media (max-width: 720px) {
  .jaf-hero { padding: 48px 24px 44px; }
  .jaf-form-section { padding: 56px 24px 72px; }
  .jaf-submit { width: 100%; justify-content: center; }
}
