/* ============================================================
   PACE Senior Health Insurance — Careers Page (careers.css)
   Blue Health Color Palette
   ============================================================ */

:root {
  --primary:       #1B4F8A;
  --primary-mid:   #2E7DC4;
  --primary-light: #4A9FD4;
  --primary-pale:  #D6EAF8;
  --primary-xpale: #EBF5FB;
  --deep:          #0D2B4E;
  --text:          #1A2E44;
  --muted:         #5B7FA6;
  --cream:         #F0F6FB;
  --warm:          #E3EFF9;
  --white:         #FFFFFF;
  --gold:          #F0A500;
  --green:         #2E7DC4;  /* mapped to blue */
  --green-pale:    #D6EAF8;  /* mapped to blue-pale */
  --shadow-sm:     0 2px 12px rgba(13,43,78,0.08);
  --shadow-md:     0 6px 28px rgba(13,43,78,0.12);
  --shadow-lg:     0 16px 48px rgba(13,43,78,0.16);
  --radius:        20px;
  --radius-sm:     12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── NAVBAR ──────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(27,79,138,0.10);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-logo-wrap { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo-img  { height: 40px; width: auto; }
.nav-logo-text .brand { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--deep); letter-spacing: 0.04em; }
.nav-logo-text .brand span { color: var(--primary-mid); }
.nav-logo-text .tagline { display: block; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.85rem; font-weight: 400; color: var(--text); padding: 0.5rem 0.9rem; border-radius: 8px; transition: all 0.2s; }
.nav-links a:hover { color: var(--primary-mid); background: var(--primary-xpale); }
.nav-links a.active-page { color: var(--primary-mid); font-weight: 500; }
.nav-links a.nav-cta { background: var(--primary); color: var(--white); padding: 0.55rem 1.3rem; border-radius: 50px; font-weight: 500; }
.nav-links a.nav-cta:hover { background: var(--primary-mid); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--deep); border-radius: 2px; transition: all 0.3s; }


/* ══════════════════════════════════════════════════════
   MOBILE NAV (careers page)
   Desktop-style row (no pop-up / overlay)
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0.9rem 1rem; }
  .hamburger { display: none !important; }
  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 0;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links { scrollbar-width: none; }
}


/* ── HERO ────────────────────────────────────────────────────── */
.careers-hero {
  background: linear-gradient(135deg, var(--deep) 0%, #0a2040 100%);
  padding: 140px 5% 90px;
  position: relative; overflow: hidden;
}
.careers-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(74,159,212,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 80%, rgba(27,79,138,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(74,159,212,0.15); border: 1px solid rgba(74,159,212,0.3);
  color: var(--primary-light); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.careers-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 300;
  color: var(--white); line-height: 1.1; margin-bottom: 1.2rem;
}
.careers-hero h1 em { font-style: italic; color: var(--primary-light); }
.careers-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 600px; line-height: 1.8; margin-bottom: 2.5rem; }
.hero-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 1.5rem; }
.hero-breadcrumb a { color: var(--primary-light); text-decoration: none; }
.hero-breadcrumb a:hover { text-decoration: underline; }
.hero-breadcrumb span { opacity: 0.4; }
.hero-stats-row { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-val { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600; color: var(--white); line-height: 1; }
.hero-stat-lbl { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.3rem; letter-spacing: 0.05em; }

/* ── WHY WORK WITH US ────────────────────────────────────────── */
.why-section {
  padding: 5rem 5%;
  background: var(--white);
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-mid); margin-bottom: 0.6rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; color: var(--deep); line-height: 1.15; }
.section-title em { font-style: italic; color: var(--primary-mid); }
.section-sub { font-size: 0.95rem; color: var(--muted); max-width: 560px; margin: 0.8rem auto 0; line-height: 1.8; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.why-card {
  background: var(--cream); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid rgba(27,79,138,0.07);
  transition: all 0.3s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-pale); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--deep); margin-bottom: 0.7rem; }
.why-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ── BENEFITS STRIP ──────────────────────────────────────────── */
.benefits-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 3rem 5%;
}
.benefits-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.benefits-strip-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--white); flex-shrink: 0; }
.benefits-strip-title em { font-style: italic; }
.benefits-list { display: flex; gap: 1rem; flex-wrap: wrap; }
.benefit-pill {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-size: 0.82rem; font-weight: 400;
  padding: 0.45rem 1rem; border-radius: 50px;
}
.benefit-pill-icon { font-size: 1rem; }

/* ── JOB LISTINGS ────────────────────────────────────────────── */
.jobs-section { padding: 5rem 5%; }
.jobs-inner { max-width: 1200px; margin: 0 auto; }

/* Filter bar */
.filter-bar {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 2.5rem; padding: 1.2rem 1.5rem;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.filter-label { font-size: 0.8rem; font-weight: 500; color: var(--muted); margin-right: 0.5rem; }
.filter-btn {
  padding: 0.45rem 1.1rem; border-radius: 50px; border: 1.5px solid var(--primary-pale);
  background: none; color: var(--muted); font-size: 0.82rem; cursor: pointer;
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.filter-btn:hover { border-color: var(--primary-mid); color: var(--primary-mid); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); font-weight: 500; }
.jobs-count { margin-left: auto; font-size: 0.82rem; color: var(--muted); }

/* Job cards */
.jobs-grid { display: flex; flex-direction: column; gap: 1.5rem; }

.job-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid rgba(27,79,138,0.07);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-pale); }
.job-card[data-type="remote"] .job-header { border-left: 4px solid var(--primary-light); }
.job-card[data-type="full-time"] .job-header { border-left: 4px solid var(--primary); }

.job-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.8rem 2rem; cursor: pointer; user-select: none; gap: 1rem;
}
.job-header-left { display: flex; align-items: center; gap: 1.2rem; flex: 1; min-width: 0; }
.job-dept-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-xpale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
  transition: background 0.2s;
}
.job-card:hover .job-dept-icon { background: var(--primary-pale); }
.job-meta { flex: 1; min-width: 0; }
.job-title { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: var(--deep); line-height: 1.2; }
.job-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.4rem; }
.job-tag {
  font-size: 0.72rem; font-weight: 500; padding: 0.2rem 0.7rem;
  border-radius: 50px; letter-spacing: 0.05em;
}
.tag-type { background: var(--primary-pale); color: var(--primary); }
.tag-dept { background: var(--warm); color: var(--muted); }
.tag-remote { background: var(--primary-xpale); color: var(--primary-mid); }

.job-header-right { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.job-salary { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--primary-mid); white-space: nowrap; }
.job-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-xpale); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--primary-mid);
  transition: all 0.3s; flex-shrink: 0;
}
.job-card.open .job-toggle { background: var(--primary-mid); color: var(--white); transform: rotate(180deg); }

/* Job body */
.job-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
  padding: 0 2rem; border-top: 0px solid transparent;
}
.job-card.open .job-body { max-height: 1000px; padding: 2rem; border-top: 1px solid rgba(27,79,138,0.07); }

.job-info-row { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.job-info-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.job-info-item strong { color: var(--text); }

.job-section-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; margin-top: 1.5rem; }
.job-section-title:first-of-type { margin-top: 0; }

.job-desc { font-size: 0.92rem; color: var(--text); line-height: 1.8; margin-bottom: 0.5rem; }

.job-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.5rem; }
.job-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--text); line-height: 1.6; }
.job-list li::before { content: '→'; color: var(--primary-mid); font-weight: 600; flex-shrink: 0; margin-top: 1px; }

.job-apply-row { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; align-items: center; }
.btn-apply {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: var(--white);
  font-size: 0.9rem; font-weight: 500; padding: 0.8rem 2rem;
  border-radius: 50px; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.btn-apply:hover { background: var(--primary-mid); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,79,138,0.25); }
.btn-save {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid var(--primary-mid); color: var(--primary-mid);
  font-size: 0.9rem; font-weight: 500; padding: 0.8rem 1.5rem;
  border-radius: 50px; background: none; cursor: pointer;
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.btn-save:hover { background: var(--primary-pale); }
.job-deadline { font-size: 0.8rem; color: var(--muted); margin-left: auto; }

/* ── APPLY MODAL ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(13,43,78,0.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius);
  width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; box-shadow: var(--shadow-lg);
  transform: translateY(20px); transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.8rem 2rem 1.2rem;
  border-bottom: 1px solid rgba(27,79,138,0.08);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--deep); }
.modal-subtitle { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--muted); transition: all 0.2s;
}
.modal-close:hover { background: var(--primary-pale); color: var(--primary); }
.modal-body { padding: 1.5rem 2rem 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 500; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 1rem; border: 1.5px solid rgba(27,79,138,0.15);
  border-radius: var(--radius-sm); font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif; color: var(--text);
  background: var(--cream); transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary-mid); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .upload-area {
  border: 2px dashed rgba(27,79,138,0.2); border-radius: var(--radius-sm);
  padding: 1.5rem; text-align: center; cursor: pointer;
  transition: all 0.2s; background: var(--cream);
}
.form-group .upload-area:hover { border-color: var(--primary-mid); background: var(--primary-xpale); }
.upload-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.upload-text { font-size: 0.82rem; color: var(--muted); }
.upload-text strong { color: var(--primary-mid); }
.form-submit {
  width: 100%; padding: 0.9rem; background: var(--primary); color: var(--white);
  border: none; border-radius: 50px; font-size: 0.95rem; font-weight: 500;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--primary-mid); transform: translateY(-1px); }
.form-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 0.8rem; line-height: 1.5; }

/* ── CULTURE SECTION ─────────────────────────────────────────── */
.culture-section {
  padding: 5rem 5%;
  background: var(--white);
}
.culture-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.culture-visual {
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--warm) 100%);
  border-radius: var(--radius); height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; position: relative; overflow: hidden;
}
.culture-visual::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(27,79,138,0.12), transparent);
}
.culture-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 1;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius-sm); padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-md);
}
.culture-badge-val { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; line-height: 1; }
.culture-badge-lbl { font-size: 0.72rem; opacity: 0.8; margin-top: 0.2rem; }
.culture-content .section-tag { text-align: left; }
.culture-content .section-title { text-align: left; margin-bottom: 1rem; }
.culture-content p { font-size: 0.92rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.5rem; }
.culture-values { display: flex; flex-direction: column; gap: 0.8rem; }
.culture-value { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem; background: var(--cream); border-radius: var(--radius-sm); border-left: 3px solid var(--primary-mid); }
.culture-value-icon { font-size: 1.2rem; flex-shrink: 0; }
.culture-value-text { font-size: 0.88rem; font-weight: 500; color: var(--deep); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--deep); color: rgba(255,255,255,0.5);
  padding: 3rem 5% 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1200px; margin: 0 auto 2.5rem; }
.footer-brand-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--white); letter-spacing: 0.04em; }
.footer-brand-name span { color: var(--primary-light); }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 0.6rem; line-height: 1.5; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ── FORM SECTION TITLES ────────────────────────────────────────── */
.form-section-title {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary-mid);
  border-bottom: 1px solid var(--primary-pale);
  padding-bottom: 0.5rem; margin: 1.5rem 0 1rem;
}
.form-section-title:first-of-type { margin-top: 0; }

/* ── CHECKBOX GROUP ──────────────────────────────────────────────── */
.form-checkbox-group { gap: 0.6rem; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.88rem; color: var(--text); cursor: pointer;
  padding: 0.5rem; border-radius: 8px; transition: background 0.2s;
}
.checkbox-label:hover { background: var(--primary-xpale); }
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  accent-color: var(--primary-mid); cursor: pointer;
}

/* ── FORM BUTTON ROW ─────────────────────────────────────────────── */
.form-btn-row { display: flex; gap: 1rem; margin-top: 1.5rem; }
.form-cancel {
  flex: 1; padding: 0.9rem; background: none;
  border: 1.5px solid rgba(27,79,138,0.2); border-radius: 50px;
  font-size: 0.95rem; font-weight: 500; color: var(--muted);
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.form-cancel:hover { border-color: var(--primary-mid); color: var(--primary-mid); }
.form-submit { flex: 2; }

/* ── POSITION BADGE IN MODAL ─────────────────────────────────────── */
.modal-position-badge { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.pos-badge {
  display: inline-block; background: var(--primary-pale); color: var(--primary);
  font-size: 0.78rem; font-weight: 500; padding: 0.25rem 0.8rem;
  border-radius: 50px;
}
.dept-badge {
  display: inline-block; background: var(--warm); color: var(--muted);
  font-size: 0.78rem; font-weight: 500; padding: 0.25rem 0.8rem;
  border-radius: 50px;
}

/* ── CONFIRMATION OVERLAY ────────────────────────────────────────── */
.confirm-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(13,43,78,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden; transition: all 0.35s;
}
.confirm-overlay.open { opacity: 1; visibility: visible; }
.confirm-card {
  background: var(--white); border-radius: var(--radius);
  width: 100%; max-width: 520px;
  padding: 3rem 2.5rem; text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92); transition: transform 0.35s;
}
.confirm-overlay.open .confirm-card { transform: scale(1); }
.confirm-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.confirm-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600; color: var(--deep);
  margin-bottom: 0.6rem;
}
.confirm-sub { font-size: 0.9rem; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }
.confirm-code-box {
  background: var(--primary-xpale); border: 2px dashed var(--primary-pale);
  border-radius: var(--radius-sm); padding: 1.5rem;
  margin-bottom: 1.8rem;
}
.confirm-code-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.confirm-code {
  font-family: 'Courier New', monospace; font-size: 2rem; font-weight: 700;
  color: var(--primary); letter-spacing: 0.15em; margin-bottom: 0.4rem;
}
.confirm-code-hint { font-size: 0.75rem; color: var(--muted); }
.confirm-next {
  background: var(--cream); border-radius: var(--radius-sm);
  padding: 1.5rem; margin-bottom: 2rem; text-align: left;
  border-left: 4px solid var(--primary-mid);
}
.confirm-next-title { font-size: 0.85rem; font-weight: 600; color: var(--deep); margin-bottom: 0.7rem; }
.confirm-next-text { font-size: 0.85rem; color: var(--text); line-height: 1.7; }
.confirm-email {
  display: inline-block; font-size: 1rem; font-weight: 600;
  color: var(--primary-mid); text-decoration: none;
  margin: 0.5rem 0; padding: 0.4rem 1rem;
  background: var(--primary-pale); border-radius: 50px;
  transition: background 0.2s;
}
.confirm-email:hover { background: var(--primary-xpale); text-decoration: underline; }
.confirm-close-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--white);
  font-size: 0.95rem; font-weight: 500; padding: 0.9rem 2.5rem;
  border-radius: 50px; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.confirm-close-btn:hover { background: var(--primary-mid); transform: translateY(-2px); }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .culture-inner { grid-template-columns: 1fr; }
  .culture-visual { height: 280px; }
}
@media (max-width: 768px) {
  .careers-hero { padding: 120px 5% 60px; }
  .hero-stats-row { gap: 1.5rem; }
  .job-header { padding: 1.2rem 1.5rem; }
  .job-card.open .job-body { padding: 1.5rem; }
  .job-header-right { flex-direction: column; align-items: flex-end; gap: 0.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  /* nav handled by slide-in panel above */
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .job-apply-row { flex-direction: column; }
  .job-deadline { margin-left: 0; }
}

/* ============================================================
   MOBILE RESPONSIVE (careers.css) | 768px | 480px | 360px
   ============================================================ */
@media (max-width: 768px) {
  .careers-nav { padding: 0.8rem 1.2rem; }
  .careers-nav .nav-logo-img { height: 32px !important; }
  /* nav handled by slide-in panel above */
  .careers-hero { padding: 5rem 1.2rem 2.5rem; text-align: center; }
  .careers-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .careers-hero p { font-size: 0.93rem; }
  .hero-stats-row { flex-wrap: wrap; gap: 1rem; justify-content: center; }
  .hero-stat-item { min-width: 120px; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .why-card { padding: 1.2rem; }
  .benefits-strip { flex-wrap: wrap; gap: 0.5rem; padding: 1.2rem; justify-content: flex-start; }
  .benefit-pill { font-size: 0.78rem; padding: 0.4rem 0.9rem; }
  .jobs-section { padding: 3rem 1.2rem; }
  .jobs-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .filter-bar { flex-wrap: wrap; gap: 0.5rem; }
  .filter-btn { font-size: 0.78rem; padding: 0.4rem 0.9rem; }
  .job-card { padding: 1.2rem; }
  .job-card-header { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .job-meta { flex-wrap: wrap; gap: 0.4rem; }
  .job-meta-item { font-size: 0.78rem; }
  .job-body { padding: 1.2rem; }
  .job-body-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .job-actions { flex-direction: column; gap: 0.7rem; }
  .job-actions .btn-primary, .job-actions .btn-outline { width: 100%; text-align: center; justify-content: center; display: flex; }
  .culture-section { padding: 3rem 1.2rem; }
  .culture-inner { grid-template-columns: 1fr; gap: 2rem; }
  .culture-visual { height: 220px; font-size: 4rem; }
  .culture-visual img { border-radius: 16px; }
  .culture-badge { bottom: -14px; right: -10px; padding: 0.7rem 1rem; }
  .culture-values { gap: 0.7rem; }
  .culture-value { padding: 0.8rem 1rem; }
  .modal-overlay .modal-box { width: 95vw; max-width: 100%; padding: 1.5rem; margin: 1rem; max-height: 90vh; overflow-y: auto; }
  .modal-form-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .modal-actions { flex-direction: column; gap: 0.7rem; }
  .modal-actions button { width: 100%; }
  .careers-footer { padding: 2.5rem 1.2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; font-size: 0.76rem; }
}
@media (max-width: 480px) {
  .careers-hero { padding: 4.5rem 1rem 2rem; }
  .careers-hero h1 { font-size: clamp(1.7rem, 9vw, 2.2rem); }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 1rem; }
  .jobs-section { padding: 2.5rem 1rem; }
  .job-card { padding: 1rem; }
  .culture-section { padding: 2.5rem 1rem; }
  .culture-visual { height: 180px; }
  .modal-overlay .modal-box { padding: 1.2rem; }
  .modal-title { font-size: 1.2rem; }
  .benefits-strip { padding: 1rem; }
}
@media (max-width: 360px) {
  .careers-hero { padding: 4rem 0.8rem 1.8rem; }
  .jobs-section, .culture-section { padding: 2rem 0.8rem; }
  .job-card, .why-card { padding: 0.9rem; }
  .modal-overlay .modal-box { padding: 1rem; }
}
