/* ============================================================
   SIRA  |  careers.css
   Styles specific to careers.html (job posting pages)
   Builds on top of styles.css (tokens, .navbar, .btn, footer)
   ============================================================ */

.cr-page-body { background: #F8FAFC; }

/* ── Hero ─────────────────────────────────────────────────── */
.cr-hero {
  background: linear-gradient(160deg, #0D1B2D 0%, #0A1628 55%, #111827 100%);
  color: #fff;
  padding: 64px 0 72px;
}

.cr-hero-inner { max-width: var(--mw); margin: 0 auto; padding: 0 var(--px); }

.cr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FCA5AD;
  margin-bottom: 18px;
}
.cr-eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.cr-hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.8px;
  max-width: 15ch;
}

.cr-hero-lede {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
  max-width: 58ch;
}

/* ── Fact chips under the hero headline ───────────────────── */
.cr-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}
.cr-chip svg { width: 15px; height: 15px; opacity: .75; }
.cr-chip-accent {
  background: rgba(232,25,44,.16);
  border-color: rgba(232,25,44,.42);
  color: #FECDD3;
}

.cr-hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { opacity: .9; }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.32);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }

/* ── Body layout: content + sticky aside ──────────────────── */
.cr-main { max-width: var(--mw); margin: 0 auto; padding: 56px var(--px) 80px; }

.cr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

/* ── Content blocks ───────────────────────────────────────── */
.cr-block { margin-bottom: 44px; }
.cr-block:last-child { margin-bottom: 0; }

.cr-block h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.cr-block p {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 14px;
}
.cr-block p:last-child { margin-bottom: 0; }

/* Checklist / bullet lists */
.cr-list { display: flex; flex-direction: column; gap: 12px; }

.cr-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.72;
  color: #374151;
}

.cr-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(232,25,44,.1);
  border: 1px solid rgba(232,25,44,.28);
}
.cr-list li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 13px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(42deg);
}

/* ── Callout for the on-site requirement ──────────────────── */
.cr-callout {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 14px;
  background: #FFF5F6;
  border: 1px solid rgba(232,25,44,.22);
  border-left: 4px solid var(--red);
}

.cr-callout-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(232,25,44,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.cr-callout-icon svg { width: 19px; height: 19px; }

.cr-callout h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 7px;
}
.cr-callout p {
  font-size: 14px;
  line-height: 1.75;
  color: #4B5563;
  margin: 0 0 8px;
}
.cr-callout p:last-child { margin-bottom: 0; }
.cr-callout strong { color: var(--red); }

/* ── Application steps ────────────────────────────────────── */
.cr-steps { counter-reset: crstep; display: flex; flex-direction: column; gap: 18px; }

.cr-step {
  position: relative;
  padding-left: 52px;
  min-height: 36px;
}

.cr-step::before {
  counter-increment: crstep;
  content: counter(crstep);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin: 6px 0 6px;
}
.cr-step p { font-size: 14.5px; line-height: 1.75; color: #4B5563; margin: 0; }

/* ── Sticky aside card ────────────────────────────────────── */
.cr-aside { position: sticky; top: 96px; }

.cr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(17,24,39,.05);
}

.cr-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
}

.cr-meta { display: flex; flex-direction: column; gap: 15px; margin-bottom: 22px; }

.cr-meta-row { display: flex; gap: 12px; align-items: flex-start; }

.cr-meta-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}
.cr-meta-icon svg { width: 16px; height: 16px; }

.cr-meta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2px;
}
.cr-meta-value { font-size: 14.5px; font-weight: 700; color: var(--dark); line-height: 1.45; }

.cr-card .btn { width: 100%; }

.cr-card-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--gray);
  text-align: center;
}
.cr-card-note a { color: var(--red); font-weight: 600; }
.cr-card-note a:hover { text-decoration: underline; }

/* ── Closing apply band ───────────────────────────────────── */
.cr-apply-band {
  margin-top: 8px;
  padding: 34px 32px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.cr-apply-band h3 { font-size: 20px; font-weight: 800; margin-bottom: 7px; letter-spacing: -0.2px; }
.cr-apply-band p { font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.7; margin: 0; max-width: 46ch; }
.cr-apply-band .btn { flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --px: 40px; }
  .cr-layout { grid-template-columns: 1fr; gap: 40px; }
  .cr-aside { position: static; order: -1; }
  .cr-hero h1 { font-size: 38px; }
}

@media (max-width: 640px) {
  :root { --px: 20px; }
  .cr-hero { padding: 44px 0 52px; }
  .cr-hero h1 { font-size: 30px; max-width: none; }
  .cr-hero-lede { font-size: 15px; }
  .cr-main { padding-top: 40px; padding-bottom: 56px; }
  .cr-block h2 { font-size: 19px; }
  .cr-hero-cta .btn { width: 100%; }
  .cr-apply-band { padding: 26px 22px; }
  .cr-apply-band .btn { width: 100%; }
}
