/* ==========================================================================
   Neerja School of Aviation — Telecaller recruitment landing page
   Mobile-first. Tokens first, then base, components, sections.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #071530;
  --navy-800: #0a1f44;
  --navy-700: #12305f;
  --navy-100: #e6ebf4;
  --burgundy-600: #7d1a48;
  --burgundy-700: #63123a;
  --burgundy-100: #f6e9ef;

  /* Neutrals + semantic */
  --text: #0e1a30;
  --text-muted: #51607a;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --border: #d5dbe7;
  --error: #b42318;
  --error-bg: #fef3f2;
  --success: #067647;

  /* Type */
  --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-xs: 0.8125rem;
  --text-sm: 0.9rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.125rem;
  --text-4xl: 3.25rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 18px 50px -18px rgba(7, 21, 48, 0.45);
  --shadow-soft: 0 6px 24px -12px rgba(7, 21, 48, 0.25);
  --header-h: 60px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-4)); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.18; letter-spacing: -0.01em; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy-600); }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--space-5); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--space-16); }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: var(--space-8); }

.kicker {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy-600);
  margin-bottom: var(--space-2);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--navy-800); color: #fff; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-2); }

:focus-visible { outline: 3px solid #2f6fed; outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-8);
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 var(--text-base)/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn--primary { background: var(--burgundy-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(125, 26, 72, 0.8); }
.btn--primary:hover { background: var(--burgundy-700); transform: translateY(-1px); }
.btn--outline { border-color: var(--burgundy-600); color: var(--burgundy-600); background: transparent; }
.btn--outline:hover { background: var(--burgundy-600); color: #fff; }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: var(--navy-100); transform: translateY(-1px); }
.btn--ghost { color: var(--text); border-color: var(--border); background: #fff; }
.btn--sm { min-height: 40px; padding: var(--space-2) var(--space-4); font-size: var(--text-sm); border-radius: var(--radius-sm); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.75; cursor: progress; transform: none; }

.btn__spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--header-h); }
.logo { width: min(260px, 100%); height: auto; }
.site-header__cta { display: none; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(125, 26, 72, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  padding-block: var(--space-8) var(--space-12);
}
.hero__grid { display: grid; gap: var(--space-6); grid-template-areas: "copy" "form" "visual"; }
.hero__copy { grid-area: copy; }
.hero__form { grid-area: form; }
.hero__visual { grid-area: visual; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-3); border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: #5fe3a1; box-shadow: 0 0 0 4px rgba(95, 227, 161, 0.22); }

.hero h1 { font-size: var(--text-3xl); font-weight: 700; }
.hero__sub { margin-top: var(--space-3); font-size: var(--text-base); color: #d3dbea; max-width: 34rem; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-top: var(--space-6); }
.fact {
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}
.fact dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #aab7cf; }
.fact dd { margin-top: 2px; font: 600 var(--text-lg)/1.25 var(--font-heading); }
.fact dd small { font: 500 var(--text-xs)/1 var(--font-body); color: #d3dbea; white-space: nowrap; }
.fact--highlight { grid-column: 1 / -1; background: #fff; border-color: #fff; }
.fact--highlight dt { color: var(--burgundy-600); }
.fact--highlight dd { color: var(--navy-800); font-size: var(--text-xl); }
.fact--highlight dd small { color: var(--text-muted); }
.facts__note { margin-top: var(--space-2); font-size: var(--text-xs); color: #aab7cf; }

.hero__visual img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 12%;
  border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.16);
}

/* ---------- Form card ---------- */
.form-card {
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg); border-top: 5px solid var(--burgundy-600);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-card);
}
.form-card__title { font-size: var(--text-xl); color: var(--navy-800); }
.form-card__hint { margin-top: var(--space-1); margin-bottom: var(--space-4); font-size: var(--text-sm); color: var(--text-muted); }

.field { margin-bottom: var(--space-4); }
.field label { display: block; margin-bottom: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--navy-800); }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--text-muted); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  width: 100%; min-height: 48px; padding: 0 var(--space-3);
  font: 400 1rem/1.3 var(--font-body); color: var(--text);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
}
.field select {
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2351607a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.500l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.85rem center;
}
.field input[type="file"] {
  width: 100%; padding: var(--space-3);
  font: 400 var(--text-sm)/1.3 var(--font-body); color: var(--text-muted);
  background: var(--bg-alt); border: 1.5px dashed #aab4c8; border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input[type="file"]::file-selector-button {
  margin-right: var(--space-3); min-height: 36px; padding: 0 var(--space-4);
  font: 600 var(--text-sm)/1 var(--font-body); color: #fff;
  background: var(--navy-800); border: 0; border-radius: 6px; cursor: pointer;
}
.field label .hint { display: block; margin-top: 2px; font-size: var(--text-xs); font-weight: 400; color: var(--text-muted); }
.field input::placeholder { color: #8591a8; }
.field input:focus, .field select:focus, .field input[type="file"]:focus-visible {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(18, 48, 95, 0.18);
}
.field [aria-invalid="true"] { border-color: var(--error); background-color: var(--error-bg); }

.input-prefix { position: relative; }
.input-prefix__text {
  position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center;
  padding-inline: var(--space-3); color: var(--text-muted); font-weight: 500;
  border-right: 1.5px solid var(--border); pointer-events: none;
}
.input-prefix input[type="tel"] { padding-left: 3.75rem; }

.field__error { font-size: var(--text-xs); color: var(--error); font-weight: 500; }
.field__error:not(:empty) { margin-top: 5px; }

.field--check { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-3); align-items: start; }
.field--check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--burgundy-600); }
.field--check label { margin: 0; font-weight: 400; font-size: var(--text-xs); line-height: 1.5; color: var(--text-muted); }
.field--check .field__error { grid-column: 2; }

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

.form-alert {
  margin-bottom: var(--space-4); padding: var(--space-3) var(--space-4);
  background: var(--error-bg); border: 1px solid #fda29b; border-radius: var(--radius-sm);
  color: var(--error); font-size: var(--text-sm); font-weight: 500;
}

.privacy-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px;
  margin-top: var(--space-3); font-size: var(--text-xs); color: var(--text-muted); text-align: center;
}

.form-success { text-align: center; padding-block: var(--space-8); color: var(--text); }
.form-success:focus { outline: none; }
.form-success svg { color: var(--success); margin-inline: auto; }
.form-success h2 { margin-top: var(--space-4); font-size: var(--text-xl); color: var(--navy-800); }
.form-success p { margin-top: var(--space-3); color: var(--text-muted); }
.form-success__ref { font-size: var(--text-xs); }
.form-filled svg { color: var(--navy-700); }
.form-filled .btn { margin-top: var(--space-6); }
/* Filled vacancy page (set by script.js): no sticky apply bar, grey status dot */
.is-filled .sticky-cta { display: none; }
.is-filled .hero .eyebrow__dot { background: #9aa4b5; box-shadow: none; animation: none; }

/* ---------- Job overview ---------- */
.overview {
  margin-top: var(--space-6);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; box-shadow: var(--shadow-soft);
}
.overview__row { display: grid; gap: 2px; padding: var(--space-4) var(--space-5); }
.overview__row + .overview__row { border-top: 1px solid var(--border); }
.overview dt { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.overview dd { font-size: var(--text-lg); font-weight: 500; color: var(--navy-800); }
.overview dd strong { font-family: var(--font-heading); font-weight: 600; }
.overview__note {
  display: inline-block; margin-left: var(--space-2); padding: 2px 10px; border-radius: 999px;
  background: var(--burgundy-100); color: var(--burgundy-700);
  font-size: var(--text-xs); font-weight: 600; vertical-align: middle;
}
.overview__footnote { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--text-muted); }

/* ---------- Why apply ---------- */
.why { display: grid; gap: var(--space-8); align-items: center; }
.why__visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.why__list { list-style: none; padding: 0; margin-block: var(--space-6); display: grid; gap: var(--space-5); }
.why__list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.why__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--navy-800); color: #fff;
}
.why__list p { margin-top: 2px; color: var(--text-muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
.step {
  position: relative; padding: var(--space-6);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.step__num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--space-4);
  border-radius: 50%; background: var(--burgundy-600); color: #fff;
  font: 700 var(--text-lg)/1 var(--font-heading);
}
.step p { margin-top: var(--space-2); color: var(--text-muted); }

/* ---------- Final CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center; padding-block: var(--space-16); background: var(--navy-900); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 21, 48, 0.86), rgba(7, 21, 48, 0.93));
}
.cta-band p { margin: var(--space-3) auto var(--space-6); max-width: 34rem; color: #d3dbea; }

/* ---------- Header links (vacancy pages) ---------- */
.logo-link { display: block; flex: 0 1 auto; min-width: 0; }
.site-header__nav { display: flex; align-items: center; gap: var(--space-5); flex-shrink: 0; }
.site-header__link { display: none; font-size: var(--text-sm); font-weight: 600; color: var(--navy-800); text-decoration: none; }
.site-header__link:hover { color: var(--burgundy-600); text-decoration: underline; }
@media (min-width: 768px) {
  .site-header__link { display: inline; }
}

/* ---------- Vacancies index page ---------- */
.hero.hero--index { text-align: center; padding-block: var(--space-6); }
.hero--index .eyebrow { margin-bottom: var(--space-3); }
.hero.hero--index h1 { font-size: var(--text-2xl); }
.hero--index .hero__sub { margin-inline: auto; margin-top: var(--space-2); font-size: var(--text-base); max-width: none; }
.hero--index .btn { margin-top: var(--space-4); min-height: 44px; }
@media (min-width: 768px) {
  .hero.hero--index { padding-block: var(--space-8); }
  .hero.hero--index h1 { font-size: 2.25rem; }
}

/* Vacancy cards — newest first; the first card can be .vacancy--featured (full width on desktop). */
.vacancies { list-style: none; padding: 0; display: grid; gap: var(--space-6); }
.vacancies__featured { grid-column: 1 / -1; }
.vacancy {
  position: relative;
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.vacancy:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--navy-100); }
.vacancy:focus-within { border-color: var(--burgundy-600); }
.vacancy__media { position: relative; overflow: hidden; background: var(--navy-100); }
.vacancy__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; transition: transform .4s ease; }
.vacancy:hover .vacancy__media img { transform: scale(1.04); }
.vacancy__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to top, rgba(7, 21, 48, 0.55), transparent);
  pointer-events: none;
}
.vacancy__status {
  position: absolute; left: var(--space-3); top: var(--space-3); z-index: 1;
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-1) var(--space-3); border-radius: 999px;
  background: rgba(7, 21, 48, 0.85); color: #fff;
  font-size: var(--text-xs); font-weight: 600;
}
.vacancy__new {
  position: absolute; right: var(--space-3); top: var(--space-3); z-index: 1;
  padding: var(--space-1) var(--space-3); border-radius: 999px;
  background: var(--burgundy-600); color: #fff;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.vacancy__place {
  position: absolute; left: var(--space-4); bottom: var(--space-3); z-index: 1;
  color: #fff; font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.vacancy__body { display: flex; flex-direction: column; flex: 1; gap: var(--space-3); padding: var(--space-5); }
.vacancy__title { font-size: var(--text-xl); line-height: 1.25; color: var(--navy-800); }
.vacancy__title a { color: inherit; text-decoration: none; }
/* Stretch the title link over the whole card so any click opens the vacancy */
.vacancy__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.vacancy__title a:hover { color: var(--burgundy-600); }
.vacancy__title a:focus-visible { outline: none; }
.vacancy__desc { color: var(--text-muted); font-size: var(--text-sm); }
.vacancy__facts { display: grid; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--border); }
.vacancy__facts div {
  display: grid; grid-template-columns: 2rem 1fr; column-gap: var(--space-3); align-items: center;
  font-size: var(--text-sm);
}
.vacancy__facts div::before {
  content: ""; grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--navy-100) center / 16px no-repeat;
}
.vacancy__facts dt { font-size: 0.7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.vacancy__facts dd { font-weight: 600; color: var(--navy-800); line-height: 1.35; }
.vacancy__facts .vf--location::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1f44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11.5A7 7 0 0 0 5 9.5C5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.vacancy__facts .vf--salary::before { background-color: var(--burgundy-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d1a48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 5h10M7 9h10M15 5c0 6-8 4-8 4l8 10'/%3E%3C/svg%3E"); }
.vacancy__facts .vf--salary dd { color: var(--burgundy-600); }
.vacancy__facts .vf--experience::before { background-color: var(--burgundy-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d1a48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5L2 9z'/%3E%3Cpath d='M6 11v5c0 1.5 2.7 3 6 3s6-1.5 6-3v-5'/%3E%3C/svg%3E"); }
.vacancy__facts .vf--experience dd { color: var(--burgundy-600); }
.vacancy__facts .vf--open::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1f44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M16 14.2c2.8.3 5 2.7 5 5.8'/%3E%3C/svg%3E"); }
.vacancy__cta { position: relative; z-index: 1; margin-top: var(--space-2); }
.vacancy__cta svg { transition: transform .2s ease; }
.vacancy:hover .vacancy__cta svg { transform: translateX(3px); }
@media (min-width: 640px) {
  .vacancies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .vacancy--featured { flex-direction: row; }
  .vacancy--featured .vacancy__media { flex: 0 0 52%; }
  .vacancy--featured .vacancy__media img { height: 100%; aspect-ratio: auto; min-height: 340px; }
  .vacancy--featured .vacancy__body { justify-content: center; padding: var(--space-8); gap: var(--space-4); }
  .vacancy--featured .vacancy__title { font-size: var(--text-2xl); }
  .vacancy--featured .vacancy__desc { font-size: var(--text-base); }
  .vacancy--featured .vacancy__facts { margin-top: 0; }
  .vacancy--featured .vacancy__cta { align-self: flex-start; padding-inline: var(--space-8); }
}
@media (min-width: 1100px) {
  .vacancies { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vacancy:not(.vacancy--featured) .vacancy__body { padding: var(--space-4); }
  .vacancy:not(.vacancy--featured) .vacancy__title { font-size: var(--text-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .vacancy, .vacancy__media img, .vacancy__cta svg { transition: none; }
  .vacancy:hover, .vacancy:hover .vacancy__media img { transform: none; }
}

/* ---------- Thank-you page ---------- */
.thanks {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: grid; align-items: center;
  padding-block: var(--space-12);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(125, 26, 72, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
}
.thanks__card {
  background: #fff; border-radius: var(--radius-lg); border-top: 5px solid var(--burgundy-600);
  padding: var(--space-8) var(--space-5); text-align: center; box-shadow: var(--shadow-card);
}
.thanks__icon { color: var(--success); margin: 0 auto var(--space-4); }
.thanks__card h1 { font-size: var(--text-3xl); color: var(--navy-800); }
.thanks__lead { margin-top: var(--space-3); font-size: var(--text-lg); color: var(--text-muted); }
.thanks__ref {
  display: inline-block; margin-top: var(--space-4); padding: var(--space-2) var(--space-4);
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 600; color: var(--navy-800);
}
.thanks__sub { margin-top: var(--space-8); font-size: var(--text-lg); color: var(--navy-800); }
.thanks__steps {
  margin: var(--space-3) auto 0; padding-left: 1.25rem; max-width: 30rem;
  text-align: left; color: var(--text); display: grid; gap: var(--space-2);
}
.thanks__note { margin: var(--space-6) auto 0; max-width: 30rem; font-size: var(--text-sm); color: var(--text-muted); }
.thanks__more { margin-top: var(--space-6); }
@media (min-width: 768px) {
  .thanks__card { padding: var(--space-12); }
  .thanks__sub { font-size: var(--text-xl); }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--space-8); border-top: 1px solid var(--border); font-size: var(--text-sm); color: var(--text-muted); }
.site-footer__inner { display: grid; gap: var(--space-3); justify-items: center; text-align: center; }
.logo--footer { width: 220px; }

/* ---------- Sticky apply button (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -12px rgba(7, 21, 48, 0.35);
  transition: transform .25s ease, visibility .25s;
}
.sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; }
@media (max-width: 767px) {
  /* Only pages that have the sticky bar reserve room for it */
  body:has(.sticky-cta) { padding-bottom: 76px; }
  body:has(.sticky-cta) .consent-bar { bottom: 84px; }
}
@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

/* ---------- Consent bar ---------- */
.consent-bar {
  position: fixed; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3);
  max-width: 720px; margin-inline: auto; padding: var(--space-3) var(--space-4);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card); font-size: var(--text-sm);
}
.consent-bar p { flex: 1 1 240px; }
.consent-bar__actions { display: flex; gap: var(--space-2); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 480px) {
  .site-header__cta { display: inline-flex; }
  .form-card { padding: var(--space-8); }
}

@media (min-width: 640px) {
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .overview__row { grid-template-columns: 240px 1fr; align-items: center; gap: var(--space-4); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  :root { --header-h: 72px; }
  h2 { font-size: var(--text-3xl); }
  .logo { width: 340px; }
  .section { padding-block: var(--space-24); }
  .hero h1 { font-size: 2.75rem; }
  .hero__sub { font-size: var(--text-lg); }
  .why { grid-template-columns: 1fr 1fr; gap: var(--space-12); }
  .cta-band { padding-block: var(--space-24); }
}

@media (min-width: 1024px) {
  .hero { padding-block: var(--space-12) var(--space-16); }
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    grid-template-areas: "copy form" "visual form";
    column-gap: var(--space-12); row-gap: var(--space-8);
    align-items: start;
  }
  .hero h1 { font-size: var(--text-4xl); }
  .hero__visual img { aspect-ratio: 16 / 9; }
  /* Two selects side by side get cramped in the narrower hero column */
  .hero__form .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation-duration: 0.01ms !important; }
}

/* Vacancy pages whose hero photo is a small crop: keep it from being stretched on tablets */
.hero__visual--compact { max-width: 600px; }
