/* =========================================================
   belz.in/careers — open positions + job application (21/10/2026)
   Builds on style.css (navbar, buttons, container, colour tokens).
   ========================================================= */

.careers-page { background: #fff; }
.careers-page .navbar { background: rgba(8,15,36,0.55); backdrop-filter: blur(10px); }
.careers-page .navbar.scrolled { background: rgba(8,15,36,0.96); }

/* ── Hero ── */
.cr-hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(155deg, #040C1F 0%, var(--navy) 55%, #0a1535 100%);
  padding: 140px 0 80px;
}
.cr-hero-photo { position: absolute; inset: 0; }
.cr-hero-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.8); }
.cr-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1100px 500px at 15% 30%, rgba(212,175,55,.18), transparent 60%),
              linear-gradient(180deg, rgba(4,12,31,.35) 0%, rgba(4,12,31,.85) 100%);
}
.cr-hero-grid {
  position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.cr-hero-inner { position: relative; z-index: 2; }
.cr-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,.45); background: rgba(212,175,55,.1);
  color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
}
.cr-pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: crPulse 1.8s infinite; }
@keyframes crPulse { 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.cr-title {
  font-family: var(--ff-head); font-weight: 700; line-height: 1.05;
  font-size: clamp(38px, 6.2vw, 72px); margin: 22px 0 18px; letter-spacing: -.5px;
}
.cr-gold { background: linear-gradient(120deg, var(--gold), var(--gold-light), #fff3c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cr-lead { max-width: 680px; font-size: clamp(16px, 1.6vw, 18.5px); color: rgba(255,255,255,.82); line-height: 1.7; }
.cr-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cr-actions .btn-ghost { cursor: pointer; }
.cr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 56px; max-width: 860px; }
.cr-stat { padding: 18px 18px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.cr-stat b { display: block; font-family: var(--ff-head); font-size: 34px; color: var(--gold); line-height: 1; }
.cr-stat span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ── Sections ── */
.cr-section { padding: 96px 0; }
.cr-eyebrow { font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: #b8860b; font-weight: 700; }
.cr-h2 { font-family: var(--ff-head); font-size: clamp(30px, 4vw, 44px); color: var(--navy); line-height: 1.12; margin: 8px 0 10px; }
.cr-sub { color: var(--gray-text); font-size: 16.5px; max-width: 640px; }

.cr-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.cr-why-card {
  position: relative; padding: 30px 26px; border-radius: 16px; background: #fff;
  border: 1px solid var(--gray-light); box-shadow: 0 2px 10px rgba(13,27,62,.04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cr-why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212,175,55,.5); }
.cr-why-card::before { content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold), transparent); }
.cr-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, #fff7dc, #fdf0c2); margin-bottom: 16px; }
.cr-why-card h3 { font-family: var(--ff-head); font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.cr-why-card p { color: var(--gray-text); font-size: 15px; line-height: 1.65; }

/* ── Values band ── */
.cr-band { position: relative; overflow: hidden; color: #fff; padding: 110px 0; background: var(--navy); }
.cr-band-photo { position: absolute; inset: 0; }
.cr-band-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cr-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,15,36,.95), rgba(8,15,36,.55)); }
.cr-band-inner { position: relative; z-index: 2; text-align: center; }
.cr-band blockquote { font-family: var(--ff-head); font-size: clamp(24px, 3.4vw, 38px); line-height: 1.3; max-width: 900px; margin: 0 auto; font-weight: 600; }
.cr-values { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cr-values span { padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(212,175,55,.55); color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }

/* ── Openings ── */
.cr-openings { background: var(--off-white); }
.cr-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 34px 0 24px; }
.cr-search { flex: 1 1 260px; }
.cr-search input { width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid #d6dce8; font-size: 15px; background: #fff; }
.cr-search input:focus, .cr-field input:focus, .cr-field select:focus, .cr-field textarea:focus { outline: 2px solid rgba(212,175,55,.6); outline-offset: 1px; border-color: var(--gold); }
.cr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-chips button, .cr-seg button {
  padding: 8px 15px; border-radius: 999px; border: 1px solid #d6dce8; background: #fff; color: var(--dark-text);
  font-size: 13.5px; font-weight: 500; transition: all .2s;
}
.cr-chips button.on, .cr-seg button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.cr-seg { display: inline-flex; gap: 6px; }

.cr-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cr-loading, .cr-empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--gray-text); background: #fff; border-radius: 14px; border: 1px dashed #cfd6e4; }
.cr-empty h3 { font-family: var(--ff-head); color: var(--navy); font-size: 24px; margin-bottom: 6px; }
.cr-job {
  display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 16px; background: #fff;
  border: 1px solid var(--gray-light); transition: transform .2s, box-shadow .2s, border-color .2s; cursor: pointer;
}
.cr-job:hover, .cr-job:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(212,175,55,.6); outline: none; }
.cr-job-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cr-job h3 { font-family: var(--ff-head); font-size: 23px; color: var(--navy); line-height: 1.15; }
.cr-dept { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #b8860b; }
.cr-new { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; }
.cr-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-tags span { font-size: 12.5px; padding: 5px 11px; border-radius: 8px; background: var(--off-white); color: #3b4767; }
.cr-job p { color: var(--gray-text); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cr-job-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--gray-text); }
.cr-job-foot b { color: var(--navy); font-size: 14px; }

.cr-general {
  margin-top: 34px; padding: 30px 32px; border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, var(--navy), var(--navy-mid)); display: flex; gap: 24px; align-items: center; justify-content: space-between;
}
.cr-general h3 { font-family: var(--ff-head); font-size: 26px; color: var(--gold); }
.cr-general p { color: rgba(255,255,255,.8); max-width: 640px; }
.cr-general .btn-primary { flex-shrink: 0; cursor: pointer; }

/* ── Process ── */
.cr-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; counter-reset: s; }
.cr-steps li { position: relative; padding: 26px 22px; border-radius: 16px; border: 1px solid var(--gray-light); background: #fff; }
.cr-steps li b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); font-family: var(--ff-head); font-size: 20px; margin-bottom: 14px; }
.cr-steps h4 { font-family: var(--ff-head); font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.cr-steps p { color: var(--gray-text); font-size: 14.5px; }

/* ── Footer ── */
.cr-footer { background: var(--dark-bg); color: rgba(255,255,255,.7); padding: 34px 0 20px; font-size: 14px; }
.cr-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cr-footer strong { color: #fff; }
.cr-footer-links { display: flex; gap: 18px; }
.cr-footer-links a:hover { color: var(--gold); }
.cr-footer-copy { margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ── Dialog ── */
.cr-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(4,12,31,.72); backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; padding: 30px 16px; overflow-y: auto; }
.cr-modal[hidden] { display: none; }
.cr-modal-box { position: relative; width: 100%; max-width: 820px; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.4); overflow: hidden; animation: crIn .25s ease-out; }
@keyframes crIn { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.cr-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; font-size: 26px; line-height: 1; color: #fff; background: rgba(255,255,255,.12); z-index: 2; }
.cr-close:hover { background: rgba(255,255,255,.25); }
.cr-modal-head { padding: 28px 32px 22px; background: linear-gradient(120deg, var(--navy), var(--navy-mid)); color: #fff; }
.cr-modal-head .cr-eyebrow { color: var(--gold); }
.cr-modal-head h3 { font-family: var(--ff-head); font-size: 30px; line-height: 1.15; margin-top: 4px; padding-right: 40px; }
.cr-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cr-meta span { font-size: 12.5px; padding: 5px 11px; border-radius: 8px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); }
.cr-modal-body { padding: 26px 32px 32px; }

.cr-jd { color: #2d3858; font-size: 15px; line-height: 1.7; white-space: pre-line; }
.cr-jd-h { font-family: var(--ff-head); font-size: 19px; color: var(--navy); margin: 18px 0 6px; }
.cr-skill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-skill-list span { padding: 5px 12px; border-radius: 999px; background: #fff7dc; color: #7a5b00; font-size: 13px; font-weight: 500; }
.cr-jd-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.cr-jd-actions .btn-primary { cursor: pointer; }

/* ── Form ── */
.cr-form [hidden], .cr-chips[hidden] { display: none !important; }
.cr-form fieldset { border: none; margin: 0 0 22px; padding: 0; }
.cr-form legend { display: flex; align-items: center; gap: 10px; font-family: var(--ff-head); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.cr-form legend i { font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 14px; }
.cr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.cr-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cr-full { grid-column: 1 / -1; }
.cr-field label { display: block; font-size: 13px; font-weight: 600; color: #3b4767; margin-bottom: 5px; }
.cr-field label em { color: #c0392b; font-style: normal; }
.cr-field input, .cr-field select, .cr-field textarea { width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid #cfd6e4; font-size: 15px; background: #fff; color: var(--dark-text); }
.cr-field textarea { resize: vertical; min-height: 80px; }
.cr-field small { display: block; color: var(--gray-text); font-size: 12px; margin-top: 4px; }
.cr-inline { display: flex; gap: 8px; }
.cr-inline input { flex: 1; }
.cr-btn { padding: 11px 16px; border-radius: 9px; font-weight: 600; font-size: 14px; background: var(--navy); color: #fff; white-space: nowrap; transition: opacity .2s; }
.cr-btn:disabled { opacity: .5; cursor: not-allowed; }
.cr-btn.gold { background: var(--gold); color: var(--navy); }
.cr-verified { display: inline-flex; align-items: center; gap: 6px; color: #15803d; font-weight: 700; font-size: 14px; padding: 10px 0; }
.cr-note { font-size: 13px; color: var(--gray-text); margin-top: 6px; }
.cr-note.ok { color: #15803d; }
.cr-note.err { color: #c0392b; }

.cr-toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--off-white); border: 1px solid #dde3ee; gap: 4px; }
.cr-toggle button { padding: 9px 18px; border-radius: 9px; font-weight: 600; font-size: 14px; color: #3b4767; }
.cr-toggle button.on { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(13,27,62,.25); }
.cr-sub-box { margin-top: 14px; padding: 16px; border-radius: 12px; background: #fbfcfe; border: 1px solid #e5eaf3; }

.cr-drop { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 12px; border: 2px dashed #cfd6e4; background: #fbfcfe; cursor: pointer; transition: border-color .2s, background .2s; }
.cr-drop:hover, .cr-drop.drag { border-color: var(--gold); background: #fffbeb; }
.cr-drop.has { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.cr-drop-ico { font-size: 30px; }
.cr-drop b { color: var(--navy); }
.cr-drop small { color: var(--gray-text); display: block; }
.cr-drop input { display: none; }

.cr-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #3b4767; }
.cr-consent input { margin-top: 3px; width: 17px; height: 17px; }
.cr-submit { width: 100%; justify-content: center; padding: 15px; font-size: 16px; cursor: pointer; }
.cr-submit:disabled { opacity: .6; cursor: progress; }
.cr-err { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 14px; }
.cr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cr-done { text-align: center; padding: 24px 10px 8px; }
.cr-done-check { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; color: #fff; background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 10px 30px rgba(34,197,94,.35); animation: crPop .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes crPop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.cr-done h4 { font-family: var(--ff-head); font-size: 30px; color: var(--navy); }
.cr-done p { color: #3b4767; max-width: 520px; margin: 8px auto 0; }
.cr-ref { display: inline-block; margin-top: 16px; padding: 10px 18px; border-radius: 10px; background: #fff7dc; color: #7a5b00; font-weight: 700; letter-spacing: .5px; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .cr-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .careers-page .nav-links { display: none; }
  .careers-page .nav-toggle { display: flex; }
}
@media (max-width: 760px) {
  .cr-hero { min-height: auto; padding: 120px 0 60px; }
  .cr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .cr-section { padding: 70px 0; }
  .cr-why, .cr-jobs, .cr-steps, .cr-grid, .cr-grid-3 { grid-template-columns: 1fr; }
  .cr-general { flex-direction: column; align-items: flex-start; padding: 24px; }
  .cr-modal { padding: 0; }
  .cr-modal-box { border-radius: 0; min-height: 100vh; }
  .cr-modal-head, .cr-modal-body { padding-left: 18px; padding-right: 18px; }
  .cr-inline { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-pulse, .cr-modal-box, .cr-done-check { animation: none; }
  .cr-why-card, .cr-job { transition: none; }
}
