/* ============================================================
   thrivenvision Careers — High-End Studio Professional UI
   ============================================================ */

/* ── Global Header / Navigation (100% Main Site Parity) ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(6, 5, 12, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom-color: var(--border-glass);
}

.nav__inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--purple-400);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--purple-300);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta-book {
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 9999px;
  background: var(--gradient-purple);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 24px rgba(123, 10, 238, 0.45), 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.25s var(--ease-out);
}

.nav__cta-book:hover {
  background: var(--gradient-purple);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(123, 10, 238, 0.7), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav__cta-book .btn-arrow,
.btn .btn-arrow,
.jobc-btn .btn-arrow,
.mobile-cta__btn .btn-arrow {
  display: inline-block;
  font-size: 1em;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav__cta-book:hover .btn-arrow,
.btn:hover .btn-arrow,
.jobc-btn:hover .btn-arrow,
.mobile-cta__btn:hover .btn-arrow {
  transform: translate(3px, -3px);
}

/* ── Neon Scroll Progress Bar (Identical to Main Site) ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  z-index: 9998;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(247, 101, 255, 0.6);
  pointer-events: none;
}

/* ── Careers Hero ── */
.careers-hero {
  text-align: center;
  padding: 8.5rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.careers-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(123, 10, 238, 0.15);
  border: 1px solid var(--border-glass-bright);
  padding: 0.4rem 1.15rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pink);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.careers-heading {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 1060px;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}

.careers-subtext {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ── Dual Multi-Filter System (MZ Media Style) ── */
.careers-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 48px;
  row-gap: 28px;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.filter-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 12px;
}

.filter-group-title {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.filter-group-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.filter-pill:hover {
  background: rgba(123, 10, 238, 0.18);
  border-color: var(--border-glass-bright);
  color: #fff;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--gradient-purple);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(123, 10, 238, 0.45);
}

/* ── Careers Grid & Job Cards ── */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 6rem;
  position: relative;
  z-index: 1;
}

/* ── Standardized Public Job Post Card ── */
.jobc-card {
  background: rgba(14, 8, 32, 0.75);
  border: 1px solid rgba(123, 10, 238, 0.22);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}

.jobc-card:hover {
  border-color: var(--purple-500);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(123, 10, 238, 0.25);
  transform: translateY(-4px);
}

.jobc-card.hidden {
  display: none !important;
}

.jobc-top {
  margin-bottom: 2rem;
}

.jobc-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.jobc-dept-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.jobc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.24rem 0.68rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.jobc-status-pill--active {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.jobc-status-pill--active .jobc-status-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.jobc-status-pill--closed {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

.jobc-status-pill--closed .jobc-status-dot {
  background: #94a3b8;
}

.jobc-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.jobc-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.jobc-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.jobc-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.jobc-tag--deadline {
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.25);
  font-weight: 600;
}

.jobc-tag--deadline.is-urgent {
  color: var(--pink);
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.35);
}

.jobc-tag--deadline.is-closed {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.2);
}

.jobc-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass-2);
  color: var(--text-primary);
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  width: 100%;
  transition: all 0.25s var(--ease-spring);
  text-decoration: none;
}

.jobc-btn:hover {
  background: var(--gradient-purple);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 30px rgba(123, 10, 238, 0.6), 0 6px 18px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

/* ── Closed / Greyed Out Job Cards ── */
.jobc-card.is-closed {
  opacity: 0.72;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 6, 22, 0.6);
}

.jobc-card.is-closed:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

.jobc-btn.is-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.08);
}

.jobc-btn.is-disabled:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: none;
  box-shadow: none;
  color: var(--text-muted);
}

/* ── Job Details Drawer / Modal ── */
.jobd-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(4, 2, 10, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 3rem 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.jobd-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.jobd-container {
  width: 100%;
  max-width: 820px;
  background: rgba(12, 7, 28, 0.97);
  border: 1px solid var(--border-glass-bright);
  border-radius: 24px;
  padding: 3.5rem 3.2rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(123, 10, 238, 0.25);
  position: relative;
  margin: auto;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.35s var(--ease-spring);
}

.jobd-modal.active .jobd-container {
  transform: translateY(0) scale(1);
}

.jobd-close {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
}

.jobd-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: var(--border-glass-bright);
}

.jobd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
}

.jobd-back:hover {
  color: var(--pink);
}

.jobd-dept {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 0.6rem;
}

.jobd-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.jobd-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--border-glass);
}

.jobd-block {
  margin-bottom: 2.5rem;
}

.jobd-h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.jobd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

.jobd-list li {
  position: relative;
  padding-left: 1.6rem;
}

.jobd-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-secondary);
  font-weight: bold;
}

/* ── Professional Studio Application Card ── */
.jobd-apply-box {
  background: linear-gradient(145deg, rgba(20, 10, 48, 0.7), rgba(8, 4, 20, 0.85));
  border: 1px solid var(--border-glass-2);
  border-radius: 20px;
  padding: 2.8rem 2.5rem;
  margin-top: 3.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.jobd-apply-header {
  margin-bottom: 2.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-glass);
}

.jobd-apply-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  color: #fff;
}

.jobd-apply-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.app-section-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-300);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

/* ── Form Rows & Controls ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.2rem;
  line-height: 1.3;
}

.form-label .req {
  color: var(--pink);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(6, 5, 12, 0.65);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 0.9rem 1.15rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--purple-500);
  background-color: rgba(10, 6, 22, 0.85);
  box-shadow: 0 0 0 3px rgba(123, 10, 238, 0.18), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(6, 5, 12, 0.65);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23b0a8cc' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat !important;
  background-position: right 1.2rem center !important;
  background-size: 12px 8px !important;
  padding-right: 2.8rem;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.form-select:hover {
  border-color: rgba(168, 85, 247, 0.45);
  background-color: rgba(8, 6, 16, 0.85);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23d8b4fe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.form-select:focus,
.form-select:active {
  border-color: var(--purple-500);
  background-color: rgba(10, 6, 22, 0.95);
  box-shadow: 0 0 0 3px rgba(123, 10, 238, 0.22), inset 0 2px 4px rgba(0, 0, 0, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 6.5L6 1.5L11 6.5' stroke='%23d8b4fe' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.form-select option {
  background: var(--dark-900);
  color: #fff;
  padding: 0.5rem;
}

.form-select:disabled, .form-input:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* ── Modern CV / Resume Attachment & Upload Dropzone ── */
.cv-dropzone {
  position: relative;
  background: rgba(6, 5, 12, 0.55);
  border: 1.5px dashed rgba(123, 10, 238, 0.45);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}

.cv-dropzone:hover, .cv-dropzone.is-dragover {
  border-color: var(--brand-secondary);
  background: rgba(123, 10, 238, 0.12);
  box-shadow: 0 0 20px rgba(123, 10, 238, 0.2);
}

.cv-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.cv-dropzone__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  pointer-events: none;
}

.cv-dropzone__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(123, 10, 238, 0.2);
  border: 1px solid var(--border-glass-2);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-spring);
}

.cv-dropzone:hover .cv-dropzone__icon {
  transform: translateY(-2px) scale(1.05);
  color: #fff;
  background: var(--purple-600);
}

.cv-dropzone__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cv-dropzone__primary {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.cv-dropzone__primary strong {
  color: var(--brand-secondary);
}

.cv-dropzone__secondary {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Selected File Preview Box */
.cv-dropzone__preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(123, 10, 238, 0.18);
  border: 1px solid var(--brand-secondary);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  position: relative;
  z-index: 3;
}

.cv-file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-secondary);
  text-align: left;
}

.cv-file-details {
  display: flex;
  flex-direction: column;
}

.cv-file-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}

.cv-file-size {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.cv-file-remove {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.2s;
}

.cv-file-remove:hover {
  background: rgba(239, 68, 68, 0.8);
}

.cv-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0.75rem 0;
}

.cv-or-divider::before,
.cv-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-glass);
}

.cv-or-divider span {
  padding: 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Form Submit Button ── */
.form-submit-btn {
  width: 100%;
  margin-top: 1.8rem;
  padding: 1.05rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .jobd-container {
    padding: 2.2rem 1.4rem;
  }
  .jobd-apply-box {
    padding: 1.8rem 1.2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
   MZ MEDIA STYLE FOOTER
   ============================================================ */
.mz-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2.5rem;
  background: rgba(4, 2, 10, 0.95);
  overflow: hidden;
}

.mz-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.mz-footer__logo img {
  display: block;
  height: 38px;
  width: auto;
}

.mz-footer__contact-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}

.mz-footer__query-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.mz-footer__query-lbl {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mz-footer__email {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.mz-footer__email:hover {
  color: var(--brand-secondary);
}

.mz-footer__socials {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.mz-footer__social-icon {
  color: #fff;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s, color 0.25s, transform 0.25s var(--ease-spring);
}

.mz-footer__social-icon:hover {
  opacity: 1;
  color: var(--brand-secondary);
  transform: translateY(-2px);
}

/* Giant Display Heading */
.mz-footer__headline {
  margin: 4.5rem 0;
  text-align: center;
}

.mz-footer__giant-text {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9.5vw, 8.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  user-select: none;
}

/* Bottom copyright */
.mz-footer__bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
}

.mz-footer__bottom a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.mz-footer__bottom a:hover {
  color: var(--brand-secondary);
}

@media (max-width: 768px) {
  .mz-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .mz-footer__contact-side {
    align-items: flex-start;
  }
  .mz-footer__query-box {
    align-items: flex-start;
  }
  .mz-footer__headline {
    margin: 3rem 0;
    text-align: left;
  }
}


/* ── Phone fixes ──
   Layout clean-up for phones and small tablets. */
@media (max-width: 768px) {
  /* Menu: logo and "View Openings" on one row, links on a second row,
     all lined up on the same left edge */
  .nav { padding: 14px 0; }
  .nav__inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 0 20px;
  }
  .nav__logo img { height: 28px; }
  .nav__cta-book {
    display: inline-flex;
    margin-left: auto;
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  .nav__links {
    order: 3;
    width: 100%;
    gap: 24px;
    padding-top: 2px;
  }

  /* Hero: room for the two-row menu, even side spacing */
  .careers-hero { padding-top: 8.5rem; padding-bottom: 2.5rem; }
  .careers-hero .container { padding-left: 20px; padding-right: 20px; }

  /* Job cards: tidier tag rows */
  .jobc-tags { gap: 0.4rem; }
  .jobc-tag { font-size: 0.66rem; padding: 0.26rem 0.55rem; }

  /* Footer: centered to match the rest of the page */
  .mz-footer__top,
  .mz-footer__contact-side,
  .mz-footer__query-box { align-items: center; text-align: center; }
  .mz-footer__top { justify-content: center; }
  .mz-footer__logo img { margin: 0 auto; }
  .mz-footer__socials { justify-content: center; }
  .mz-footer__bottom, .mz-footer__copy { text-align: center; justify-content: center; }

  /* WhatsApp button: smaller and in the corner so it covers less */
  .wa-float { bottom: 16px; right: 12px; width: 44px; height: 44px; }
  .wa-float svg { width: 22px; height: 22px; }
}

@media (max-width: 360px) {
  .nav__logo img { height: 24px; }
  .nav__cta-book { padding: 7px 12px; font-size: 0.75rem; }
}

/* ── Pop-up messages (public page #toast and admin #adminToast) ──
   These had no styling before, so messages were never visible. */
.toast,
.form-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  z-index: 10000;
  max-width: min(560px, calc(100vw - 32px));
  width: max-content;
  padding: 14px 22px;
  border-radius: 12px;
  background: rgba(16, 10, 34, 0.96);
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.toast.active,
.form-toast.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.toast.is-error,
.form-toast.is-error {
  background: rgba(127, 29, 29, 0.96);
  border-color: rgba(248, 113, 113, 0.6);
}
.toast.is-success {
  background: rgba(20, 83, 45, 0.96);
  border-color: rgba(74, 222, 128, 0.55);
}
@media (max-width: 768px) {
  .toast, .form-toast { bottom: 72px; font-size: 0.85rem; }
}
.jobd-back, .jobd-back:hover { text-decoration: none; cursor: pointer; }
