/* ============================================================
   careers.css — Careers Page Styles
   ============================================================ */

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.cr-hero {
  background: #0d2b2b;
  padding: 5.5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(0,158,96,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(139,26,74,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cr-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cr-hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00c070;
  margin-bottom: 1rem;
}

.cr-hero-title {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.2rem;
}

.cr-hero-title span { color: #00c070; }

.cr-hero-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.72;
  margin-bottom: 2rem;
}

.cr-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cr-btn-primary {
  display: inline-flex;
  align-items: center;
  background: #009e60;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 25px;
  padding: 0.82rem 2rem;
  border: 2px solid #009e60;
  transition: all 0.22s ease;
}

.cr-btn-primary:hover {
  background: #00c070;
  border-color: #00c070;
  color: #0d2b2b;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,192,112,0.38);
}

/* ----------------------------------------------------------
   SECTION COMMON
   ---------------------------------------------------------- */
.cr-section { padding: 5.5rem 1.5rem; }
.cr-section-alt { background: #f2ede0; }
.cr-inner { max-width: 1200px; margin: 0 auto; }

.cr-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.cr-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #009e60;
  margin-bottom: 0.7rem;
}

.cr-rule {
  width: 44px;
  height: 3px;
  background: #009e60;
  border-radius: 2px;
  margin: 0 auto 1.6rem;
}

.cr-title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 700;
  color: #0d2b2b;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.cr-body {
  font-size: 1rem;
  color: #5a5a5a;
  line-height: 1.72;
  margin: 0;
}

/* ----------------------------------------------------------
   WHY PCMLS CARDS
   ---------------------------------------------------------- */
.cr-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cr-why-card {
  background: #ffffff;
  border: 1px solid #e0dbd0;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.cr-why-card:hover {
  border-color: #009e60;
  box-shadow: 0 14px 44px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.cr-why-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,158,96,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.cr-why-icon svg { width: 24px; height: 24px; color: #009e60; }

.cr-why-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0d2b2b;
  margin-bottom: 0.6rem;
}

.cr-why-text {
  font-size: 0.88rem;
  color: #5a5a5a;
  line-height: 1.65;
  margin: 0;
}

/* ----------------------------------------------------------
   STATS ROW
   ---------------------------------------------------------- */
.cr-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 3.5rem 0;
  border-top: 1px solid #e0dbd0;
  border-bottom: 1px solid #e0dbd0;
  margin: 3.5rem 0;
}

.cr-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #0d2b2b;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.cr-stat-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a5a5a;
}

/* ----------------------------------------------------------
   JOB LISTINGS
   ---------------------------------------------------------- */
.cr-filter-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cr-filter-btn {
  background: #ffffff;
  border: 1.5px solid #e0dbd0;
  border-radius: 20px;
  padding: 0.42rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5a5a5a;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cr-filter-btn:hover,
.cr-filter-btn.cr-active {
  border-color: #009e60;
  color: #009e60;
  background: rgba(0,158,96,0.06);
}

.cr-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cr-job-card {
  background: #ffffff;
  border: 1px solid #e0dbd0;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.cr-job-card:hover {
  border-color: #009e60;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.cr-job-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.cr-job-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #009e60;
  background: rgba(0,158,96,0.1);
  border-radius: 12px;
  padding: 0.22rem 0.65rem;
}

.cr-job-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d2b2b;
  margin-bottom: 0.4rem;
}

.cr-job-desc {
  font-size: 0.88rem;
  color: #5a5a5a;
  line-height: 1.6;
  margin: 0;
}

.cr-job-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

.cr-job-detail {
  font-size: 0.78rem;
  color: #5a5a5a;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cr-job-apply {
  display: inline-flex;
  align-items: center;
  background: #009e60;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 20px;
  padding: 0.6rem 1.3rem;
  white-space: nowrap;
  transition: background 0.22s ease, transform 0.22s ease;
  flex-shrink: 0;
}

.cr-job-apply:hover {
  background: #00c070;
  color: #0d2b2b;
  transform: translateY(-1px);
}

/* Hidden jobs */
.cr-job-card.cr-job-hidden { display: none; }

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .cr-why-grid { grid-template-columns: repeat(2, 1fr); }
  .cr-stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cr-why-grid { grid-template-columns: 1fr; }
  .cr-job-card { grid-template-columns: 1fr; }
  .cr-job-apply { width: fit-content; }
  .cr-section { padding: 3.5rem 1.5rem; }
}

@media (max-width: 580px) {
  .cr-hero { padding: 3.5rem 1.5rem 3rem; }
  .cr-hero-actions { flex-direction: column; align-items: center; }
  .cr-stats-row { grid-template-columns: 1fr 1fr; }
}
