/* =============================================
   CAREER PAGE – STYLESHEET
   Builds on about.css (split section + footer)
   ============================================= */

/* ── Career split section tweaks ─────────────── */
.career-img {
  object-position: center 30%;
}

/* =============================================
   JOIN OUR TEAM – FORM SECTION
   ============================================= */
.join-section {
  background: var(--dark);
  padding: 5rem 0 6rem;
}

.join-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

.join-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.5rem;
}

.join-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.join-form-full {
  width: 100%;
}

.join-field {
  width: 100%;
}

.join-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  resize: none;
}

.join-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.join-input:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}

.join-textarea {
  min-height: 110px;
}

.join-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.7rem;
}

.join-radio-group {
  display: flex;
  gap: 2rem;
}

.join-radio-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--white);
  cursor: pointer;
}

.join-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.join-radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: inline-block;
  position: relative;
  transition: background 0.25s ease;
}

.join-radio:checked + .join-radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.join-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  position: relative;
}

.join-upload-label:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.04);
  color: var(--white);
}

.join-upload-icon {
  font-size: 1.1rem;
  color: var(--gold);
}

.join-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.join-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.join-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.join-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.join-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.join-section .contact-pill-wrap {
  margin-top: 2.5rem;
}

.join-section .section-pill {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.join-section .section-pill .pill-dot {
  color: var(--gold);
}

.join-section .contact-pill:hover {
  background: var(--gold);
  color: var(--dark);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 600px) {
  .join-form {
    padding: 1.75rem 1.25rem;
  }
  .join-form-row {
    grid-template-columns: 1fr;
  }
  .join-radio-group {
    gap: 1.25rem;
  }
}

/* =============================================
   CAREER – MOBILE OPTIMIZATIONS (≤480px)
   ============================================= */
@media (max-width: 480px) {
  .career-hero { padding: 7rem 1.25rem 3rem; }
  .career-hero-title { font-size: clamp(1.6rem, 8vw, 2.2rem); }

  .openings-grid { grid-template-columns: 1fr !important; gap: 1rem; }
  .opening-card { padding: 1.5rem 1.1rem; }

  .join-section { padding: 3rem 1.25rem; }
  .join-form { padding: 1.5rem 1.1rem; }
  .join-form-row { grid-template-columns: 1fr !important; gap: 0.75rem; }
  .join-input, .join-select { font-size: 16px; }
  .join-radio-group { flex-direction: column; gap: 0.75rem; }

  /* Resume upload button */
  .join-file-label { font-size: 0.85rem; padding: 0.7rem 1rem; width: 100%; text-align: center; }

  .contact-pill-wrap { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .contact-pill { text-align: center; font-size: 0.88rem; }
}

@media (max-width: 900px) {
  .career-hero { padding-top: 80px !important; }
}
@media (max-width: 480px) {
  .career-hero { padding-top: 72px !important; }
}
