/* ==========================================================
   CAREERS PAGE - benefit cards, call-to-action band and the
   "Submit Your Resume" pop-up (prefix .cr- = careers)
   ========================================================== */

/* ---- hero ---- */
.career-hero { padding: 15px 0 15px; }
.career-hero h1 { color: #6c7a7b;; }
.career-hero p { color: #c8d4d2; }
.career-hero .btn { margin-top: 1.6rem; }

/* ---- why join us ---- */
.section-head { max-width: 640px; margin: 0 auto 2.2rem; text-align: center; }
.section-head p { color: #617071; margin-top: 14px; }
.career-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e1e8e4;
  border-radius: 16px;
  padding: 28px;
  transition: transform .25s, box-shadow .25s;
}
.career-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px #102b2d12; }
.career-ico {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 14px; background: #fbefd3;
}
.career-ico svg {
  width: 26px; height: 26px; fill: none; stroke: #b8841f;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.career-card h3 { font: 700 20px Manrope, sans-serif; color: #102b2d; margin: 0 0 8px; }
.career-card p { margin: 0; font-size: 14px; color: #6b7a7b; }

/* ---- call-to-action band ---- */
.career-cta-sec { padding-top: 0; }
.career-cta {
  text-align: center;
  padding: 56px 24px;
  border-radius: 22px;
  color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(216,168,78,.30), transparent 45%), #102b2d;
}
.career-cta h2 {
  font: 800 clamp(28px, 3.4vw, 40px)/1.15 Manrope, sans-serif;
  letter-spacing: -1px; color: #fff; margin: 0 0 12px;
}
.career-cta h2 em { color: #d8a84e; }
.career-cta p { max-width: 520px; margin: 0 auto 26px; color: #c3d3d0; }

/* ---- pop-up ---- */
.cr-dialog { max-width: 520px; }
.cr-modal {
  position: relative;
  border: 0; border-radius: 18px;
  padding: 30px 32px 26px;
  box-shadow: 0 30px 80px rgba(16, 43, 45, .3);
}
.cr-close { position: absolute; top: 18px; right: 18px; }
.cr-title { font: 800 1.45rem/1.2 Manrope, sans-serif; color: #102b2d; margin: 0 0 .35rem; padding-right: 2rem; }
.cr-sub { color: #5d6f70; font-size: .95rem; margin: 0 0 1.4rem; }

.cr-alert {
  display: none; margin-bottom: 1rem; padding: .7rem .9rem;
  border-radius: 10px; background: #fdecee; color: #9b2331; font-size: .88rem;
}
.cr-alert.show { display: block; }

.cr-field { display: grid; grid-template-columns: 84px 1fr; gap: 6px 16px; align-items: start; margin-bottom: 1rem; }
.cr-field > label { margin: 0; padding-top: .7rem; text-align: right; font-weight: 600; font-size: .92rem; color: #12343b; }
.cr-input {
  display: block; width: 100%; margin: 0;
  padding: .7rem .9rem;
  border: 1.5px solid #e2e8e5; border-radius: 10px;
  background: #fff; color: #102b2d;
  font: inherit; font-size: .95rem; outline: 0;
  transition: border-color .18s, box-shadow .18s;
}
.cr-input:focus { border-color: #d8a84e; box-shadow: 0 0 0 4px rgba(216, 168, 78, .25); }
textarea.cr-input { min-height: 96px; resize: vertical; }
.cr-input[type="file"] { padding: .5rem .6rem; cursor: pointer; }
.cr-input[type="file"]::file-selector-button {
  margin-right: .8rem; padding: .4rem .8rem;
  border: 0; border-radius: 8px; background: #fbefd3; color: #12292b;
  font-weight: 700; cursor: pointer;
}
.cr-hint { margin-top: .35rem; font-size: .78rem; color: #7b8889; }
.cr-err { display: none; margin-top: .3rem; font-size: .78rem; color: #d64550; }
.cr-field.err .cr-input { border-color: #d64550; box-shadow: 0 0 0 4px rgba(214, 69, 80, .12); }
.cr-field.err .cr-err { display: block; }

.cr-actions { text-align: right; margin-top: 1.4rem; }
.cr-submit {
  border: 0; border-radius: 10px; padding: .75rem 1.5rem;
  background: #d8a84e; color: #12292b; font-weight: 800; font-size: .98rem;
  box-shadow: 0 12px 24px rgba(216, 168, 78, .4);
  transition: transform .18s, box-shadow .18s;
}
.cr-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(216, 168, 78, .5); }
.cr-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.cr-note { margin: 1rem 0 0; font-size: .8rem; color: #6c7a7b; }
.cr-note a { color: #102b2d; font-weight: 700; }
/* spam trap: people never see or fill this, bots do */
.cr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* thank-you pop-up */
.cr-tick { display: grid; place-items: center; width: 80px; height: 80px; margin: .4rem auto 1.1rem; border-radius: 50%; background: #fbefd3; }
.cr-tick svg { width: 40px; height: 40px; fill: none; stroke: #b8841f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cr-thanks .cr-title { padding-right: 0; }
.cr-thanks .cr-sub { margin-bottom: 1.4rem; }

@media (max-width: 575px) {
  .career-hero { padding: 44px 0 52px; }
  .cr-modal { padding: 26px 20px 22px; }
  .cr-field { grid-template-columns: 1fr; gap: 4px; }
  .cr-field > label { text-align: left; padding-top: 0; }
  .cr-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .career-card, .cr-submit, .cr-input { transition: none; }
}
