/* ============================================================
   Vikrama Heritage Careers Portal — Main CSS
   Brand: Gold #ce9418 · Dark #1d1d22 · Light #f7f7f8
   ============================================================ */

:root {
  --gold: #ce9418;
  --gold-dark: #a97612;
  --gold-light: #e8b84b;
  --gold-pale: rgba(206,148,24,.08);
  --dark: #1d1d22;
  --dark-2: #26262d;
  --dark-3: #111115;
  --mid: #72727f;
  --mid-light: #a0a0ad;
  --light: #f4f3ef;
  --white: #ffffff;
  --border: #e6e4df;
  --border-dark: #d0cec8;
  --success: #2d7a4f;
  --success-bg: #edfaf4;
  --error: #c0392b;
  --error-bg: #fef2f2;
  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-xs: 0 1px 3px rgba(0,0,0,.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);
  --shadow-gold: 0 4px 20px rgba(206,148,24,.25);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --transition: all .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); background: var(--white); color: var(--dark); line-height: 1.65; font-size: 15px; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }

/* ── Container ── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .7rem 1.6rem; border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: .85rem; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); text-decoration: none; white-space: nowrap;
  letter-spacing: .02em;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--white); border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 28px rgba(206,148,24,.35); }
.btn--outline { background: transparent; color: var(--dark); border-color: var(--border-dark); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--danger { background: var(--error); color: var(--white); border-color: var(--error); }
.btn--danger:hover { background: #a93226; color: var(--white); }
.btn--sm { padding: .42rem 1rem; font-size: .78rem; }
.btn--lg { padding: .9rem 2.2rem; font-size: .95rem; letter-spacing: .04em; }
.btn--full { width: 100%; }

/* ── Flash messages ── */
.flash-container { position: fixed; top: 1.25rem; right: 1.25rem; z-index: 9999; display: flex; flex-direction: column; gap: .5rem; max-width: 380px; }
.flash {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem;
  padding: .85rem 1.1rem; border-radius: var(--radius-md);
  font-size: .85rem; font-weight: 500; box-shadow: var(--shadow-md);
  animation: slideIn .25s ease; border-left: 4px solid;
}
.flash--success { background: var(--success-bg); color: #1a5c39; border-color: #2d7a4f; }
.flash--error   { background: var(--error-bg); color: #7f1d1d; border-color: var(--error); }
.flash-close { background: none; border: none; cursor: pointer; font-size: 1.1rem; line-height: 1; color: inherit; opacity: .5; margin-top: 1px; flex-shrink: 0; }
.flash-close:hover { opacity: 1; }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── Header ── */
.site-header {
  background: var(--dark-3);
  border-bottom: 1px solid rgba(206,148,24,.3);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.site-header::after {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header-logo { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.header-logo img { height: 38px; filter: brightness(0) invert(1); transition: opacity .2s; }
.header-logo:hover img { opacity: .85; }
.logo-tagline { display: flex; flex-direction: column; gap: .1rem; }
.logo-name { font-family: var(--font-serif); color: var(--white); font-size: 1.15rem; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.logo-sub { color: var(--gold); font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.header-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 500;
  padding: .45rem .9rem; border-radius: var(--radius); transition: var(--transition);
  letter-spacing: .02em;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.07); }

/* ── Decorative divider ── */
.ornament {
  display: flex; align-items: center; gap: 1rem;
  margin: 0 auto 2rem; width: fit-content;
}
.ornament::before, .ornament::after { content: ''; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament-diamond {
  width: 8px; height: 8px; background: var(--gold);
  transform: rotate(45deg); flex-shrink: 0;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark-3);
}
/* Layered background: radial glow + diagonal lines + subtle crosshatch */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(206,148,24,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(206,148,24,.06) 0%, transparent 60%),
    linear-gradient(160deg, #1a1208 0%, #1d1d22 40%, #0f0f12 100%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(206,148,24,.04) 0, rgba(206,148,24,.04) 1px,
      transparent 0, transparent 50%
    );
  background-size: 28px 28px;
}
.hero-overlay { display: none; }
.hero > .container { position: relative; z-index: 1; display: flex; align-items: center; padding-top: 6rem; padding-bottom: 6rem; }
.hero-content { max-width: 580px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--gold-light); font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold-light); }
.hero-title {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 600; line-height: 1.1;
  margin-bottom: .3rem;
}
.hero-title-accent { color: var(--gold-light); display: block; }
.hero-subtitle {
  color: rgba(255,255,255,.6); font-size: .95rem;
  max-width: 500px; margin: 1.25rem 0 2.25rem;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-stat { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.45); font-size: .8rem; }
.hero-stat strong { color: var(--gold-light); font-size: 1.1rem; font-family: var(--font-serif); }

/* Right side decorative element */
.hero-decor {
  position: absolute; right: 0; top: 0; bottom: 0; width: 42%;
  background: linear-gradient(135deg, rgba(206,148,24,.06) 0%, rgba(206,148,24,.02) 100%);
  border-left: 1px solid rgba(206,148,24,.12);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-decor::before {
  content: '';
  width: 320px; height: 320px;
  border: 1px solid rgba(206,148,24,.15);
  border-radius: 50%;
  position: absolute;
}
.hero-decor::after {
  content: '';
  width: 220px; height: 220px;
  border: 1px solid rgba(206,148,24,.1);
  border-radius: 50%;
  position: absolute;
}
.hero-monogram {
  font-family: var(--font-serif);
  font-size: 10rem; font-weight: 300;
  color: rgba(206,148,24,.08);
  line-height: 1; z-index: 1;
  letter-spacing: -.05em;
  user-select: none;
}

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; margin-bottom: .75rem;
}
.section-eyebrow::before, .section-eyebrow::after { content: ''; width: 20px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600; color: var(--dark); line-height: 1.2; margin-bottom: .75rem;
}
.section-subtitle { color: var(--mid); font-size: .9rem; max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* ── Why section ── */
.why-section {
  background: var(--light);
  padding: 5rem 0;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 100%);
}
.perks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.perk-card {
  background: var(--white);
  padding: 2rem 1.75rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.perk-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.perk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.perk-card:hover::before { transform: scaleX(1); }
.perk-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(206,148,24,.12), rgba(206,148,24,.04));
  border: 1px solid rgba(206,148,24,.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
}
.perk-card h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; margin-bottom: .6rem; color: var(--dark); }
.perk-card p { color: var(--mid); font-size: .85rem; line-height: 1.7; }

/* ── Jobs section ── */
.jobs-section { padding: 5rem 0; background: var(--white); }

/* Filters */
.filters-bar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  margin-bottom: 2rem; padding: 1.25rem 1.5rem;
  background: var(--light); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.filter-group { flex: 1; min-width: 160px; }
.filter-input, .filter-select {
  width: 100%; padding: .6rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .85rem;
  background: var(--white); color: var(--dark);
  transition: var(--transition);
}
.filter-input:focus, .filter-select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(206,148,24,.1);
}

.results-count { font-size: .82rem; color: var(--mid); margin-bottom: 1.5rem; }

/* Jobs grid */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }

/* Job card */
.job-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .5rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.job-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(206,148,24,.25); }
.job-card:hover::after { transform: scaleX(1); }

.job-card__header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.job-dept {
  font-size: .68rem; font-weight: 700; color: var(--gold-dark);
  text-transform: uppercase; letter-spacing: .09em;
  background: linear-gradient(135deg, rgba(206,148,24,.12), rgba(206,148,24,.06));
  border: 1px solid rgba(206,148,24,.2);
  padding: .28rem .75rem; border-radius: 20px;
}
.job-type-badge {
  font-size: .68rem; font-weight: 500; color: var(--mid);
  background: var(--light); padding: .28rem .75rem;
  border-radius: 20px; border: 1px solid var(--border);
}
.job-card__title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.job-card__title a { color: var(--dark); }
.job-card__title a:hover { color: var(--gold-dark); }
.job-card__location, .job-card__salary {
  display: flex; align-items: center; gap: .4rem;
  color: var(--mid); font-size: .8rem;
}
.job-card__location svg, .job-card__salary svg { color: var(--gold); flex-shrink: 0; }
.job-card__desc { color: var(--mid); font-size: .85rem; line-height: 1.65; flex: 1; margin: .25rem 0; }
.job-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .75rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.job-card__date { font-size: .72rem; color: var(--mid-light); }

/* ── Page hero (short variant) ── */
.page-hero--short {
  background: linear-gradient(160deg, var(--dark-3) 0%, var(--dark-2) 100%);
  padding: 2.75rem 0 3rem;
  position: relative; overflow: hidden;
}
.page-hero--short::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg, rgba(206,148,24,.03) 0, rgba(206,148,24,.03) 1px, transparent 0, transparent 50%
  );
  background-size: 24px 24px;
}
.page-hero--short::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.page-hero--short .container { position: relative; z-index: 1; }
.breadcrumb {
  color: rgba(255,255,255,.4); font-size: .78rem;
  display: inline-flex; align-items: center; gap: .4rem;
  margin-bottom: .9rem; transition: color .2s;
}
.breadcrumb:hover { color: var(--gold); }
.page-title {
  font-family: var(--font-serif); color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; line-height: 1.15;
}
.page-subtitle { color: rgba(255,255,255,.5); margin-top: .5rem; font-size: .85rem; letter-spacing: .02em; }
.text-gold { color: var(--gold-light); }

/* ── Job detail ── */
.job-detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-top: 1.25rem; flex-wrap: wrap; }
.job-detail-title { font-family: var(--font-serif); color: var(--white); font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; margin: .6rem 0 1.1rem; }
.job-meta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.job-meta-item { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.55); font-size: .82rem; }
.job-meta-item svg { color: var(--gold); opacity: .8; flex-shrink: 0; }

.job-detail-body { padding: 3.5rem 0; background: var(--light); }
.job-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; align-items: start; }

.content-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem;
  margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.content-card h2 {
  font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600;
  margin-bottom: 1.25rem; padding-bottom: .85rem;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--gold), transparent) 1;
}
.rich-text { color: var(--dark); line-height: 1.85; font-size: .9rem; }

.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.6rem;
  margin-bottom: 1.25rem; box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; margin-bottom: 1.1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.sidebar-card--dark { background: var(--dark-2); border-color: rgba(206,148,24,.15); }
.sidebar-card--dark h3 { color: var(--white); border-color: rgba(255,255,255,.1); }
.sidebar-card--dark p { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.75; margin-bottom: 1.1rem; }

.summary-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.6rem; }
.summary-list li { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .84rem; border-bottom: 1px dashed var(--border); padding-bottom: .85rem; }
.summary-list li:last-child { border-bottom: none; padding-bottom: 0; }
.summary-list strong { color: var(--mid); font-weight: 500; }
.summary-list span { color: var(--dark); font-weight: 600; text-align: right; }

/* ── Application form ── */
.form-section { padding: 3.5rem 0; background: var(--light); }
.form-container { max-width: 800px; }
.application-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.75rem;
  box-shadow: var(--shadow-md);
}
.form-section-group { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.form-section-group:last-of-type { border-bottom: none; margin-bottom: 0; }
.form-section-title {
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600;
  margin-bottom: 1.5rem; color: var(--dark);
  display: flex; align-items: center; gap: .75rem;
}
.form-section-title::before { content: ''; width: 3px; height: 1.25rem; background: var(--gold); border-radius: 2px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group--half { max-width: 320px; }
.form-group--grow { flex: 1; }

label { font-size: .8rem; font-weight: 600; color: var(--dark-2); letter-spacing: .01em; }
.required { color: var(--error); margin-left: 1px; }
.optional { color: var(--mid-light); font-weight: 400; font-size: .75rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
select, textarea {
  padding: .7rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); font-family: var(--font-sans);
  font-size: .875rem; color: var(--dark); background: var(--white);
  transition: var(--transition); width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--mid-light); }
input:hover, select:hover, textarea:hover { border-color: var(--border-dark); }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(206,148,24,.1);
  background: #fffdf7;
}
textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

/* File upload */
.file-upload-area {
  position: relative; border: 2px dashed var(--border-dark);
  border-radius: var(--radius-lg); padding: 2.5rem 1.5rem;
  text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--light);
}
.file-upload-area:hover { border-color: var(--gold); background: rgba(206,148,24,.03); }
.file-upload-area.has-file { border-color: var(--gold); background: rgba(206,148,24,.04); border-style: solid; }
.file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-upload-prompt { pointer-events: none; }
.file-upload-prompt svg { color: var(--gold); margin: 0 auto .9rem; opacity: .7; }
.file-upload-prompt p { color: var(--mid); font-size: .875rem; line-height: 1.6; }
.file-upload-prompt p strong { color: var(--dark); }
.file-hint { font-size: .75rem; color: var(--mid-light); margin-top: .3rem; }
.file-name { color: var(--gold-dark); font-weight: 600; font-size: .85rem; margin-top: .6rem; }

.form-footer { border-top: 1px solid var(--border); padding-top: 1.75rem; margin-top: 1.5rem; }
.form-note { font-size: .75rem; color: var(--mid); margin-bottom: 1.25rem; line-height: 1.6; }
.form-actions { display: flex; gap: 1rem; justify-content: flex-end; }
.form-hint { font-size: .76rem; color: var(--mid-light); }
.form-group--checkbox { flex-direction: row; align-items: center; }
.checkbox-label { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .875rem; font-weight: 400; color: var(--dark); }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; }

/* ── Success page ── */
.success-section { padding: 6rem 0; background: var(--light); }
.success-card {
  max-width: 520px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 3.5rem 2.75rem;
  text-align: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.success-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; margin: 0 auto 1.75rem;
  box-shadow: var(--shadow-gold);
}
.success-card h1 { font-family: var(--font-serif); font-size: 2.1rem; margin-bottom: 1rem; }
.success-card p { color: var(--mid); line-height: 1.75; margin-bottom: .5rem; font-size: .9rem; }
.success-card .btn { margin-top: 1.75rem; }

/* ── Empty state ── */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-icon { font-size: 3rem; margin-bottom: 1.25rem; opacity: .5; }
.empty-state h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: .6rem; color: var(--dark); }
.empty-state p { color: var(--mid); font-size: .9rem; }
.empty-state a { color: var(--gold); font-weight: 600; }

/* ── Footer ── */
.site-footer {
  background: var(--dark-3);
  color: rgba(255,255,255,.55);
  padding: 4rem 0 2rem;
  margin-top: auto;
  position: relative;
}
.site-footer::before {
  content: '';
  display: block; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  margin-bottom: 0;
  position: absolute; top: 0; left: 0; right: 0;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .85rem; margin-top: .9rem; line-height: 1.7; color: rgba(255,255,255,.45); }
.footer-tagline { font-style: italic; font-size: .8rem; color: rgba(255,255,255,.3); margin-top: .5rem; }
.footer-links h4, .footer-contact h4 {
  color: var(--gold); font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1.1rem;
}
.footer-links a { display: block; color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: .5rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { display: block; color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: .4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.75rem; text-align: center;
  font-size: .75rem; color: rgba(255,255,255,.25);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .job-detail-layout { grid-template-columns: 1fr; }
  .hero-decor { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .job-detail-header { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .header-nav { display: none; }
  .hero-content { padding: 4rem 0; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .application-form { padding: 1.75rem; }
}
