/* ═══════════════════════════════════════════════════════
   CAREERS PAGE — MOBILE FIRST
   ═══════════════════════════════════════════════════════ */

/* ─── HERO (headline + why triotech + perks) ─── */
.careers-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  padding: 160px 0 40px;
}

.careers-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, var(--glow-primary) 0%, transparent 60%);
  pointer-events: none;
}

.careers-hero > .container {
  position: relative;
  z-index: 1;
}

.careers-hero-upper {
  margin-bottom: 48px;
}

.careers-hero-upper .section-sub {
  max-width: 720px;
}

.careers-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.perk-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(232, 93, 4, 0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.perk-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.perk-text strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

/* ─── APPLICATION FORM SECTION ─── */
.careers-form-section {
  padding: 120px 0 40px;
}

.careers-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 36px);
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.careers-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.careers-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  padding-top: 6px;
}

.careers-form-subtitle {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.careers-form-card .form-group {
  margin-bottom: 14px;
}

.careers-form-card .form-input,
.careers-form-card .form-select {
  padding: 10px 14px;
  font-size: 0.88rem;
}

.careers-form-card .form-label {
  font-size: 0.68rem;
  margin-bottom: 5px;
}

.careers-form-card .form-row {
  gap: 14px;
}

.careers-form-card .form-file-upload {
  padding: 18px;
}

.careers-form-card .form-file-label {
  font-size: 0.75rem;
}

/* ─── CTA + FOOTER ─── */
.careers-cta-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 60px;
}

.careers-cta {
  padding: 20px 0 16px;
}

.careers-cta-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.careers-cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--glow-primary) 0%, transparent 55%);
  pointer-events: none;
}

.careers-cta-inner h2 { position: relative; margin-bottom: 10px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.careers-cta-inner p { position: relative; color: var(--text-secondary); max-width: 500px; margin: 0 auto 16px; font-size: 0.88rem; }
.careers-cta-inner .btn { position: relative; }

.careers-cta-footer .site-footer {
  padding-top: 28px;
  padding-bottom: 16px;
}

.careers-cta-footer .footer-inner {
  margin-bottom: 24px;
}

/* ═══ TABLET (min-width: 768px) ═══ */
@media (min-width: 768px) {
  .careers-perks {
    flex-direction: row;
    gap: 14px;
  }
  .perk-item {
    flex: 1;
  }
  .careers-form-card .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══ DESKTOP (min-width: 1024px) ═══ */
@media (min-width: 1024px) {
  .careers-hero {
    padding: 160px 0 48px;
  }
  .careers-form-card {
    max-width: 900px;
    padding: clamp(28px, 3.5vw, 44px);
  }
}