/*
 * TechJob Portal – Empresas page (SCOPED)
 * IMPORTANT: All selectors are scoped under .tj-empresas-page
 */

.tj-empresas-page{
  background:#1c1c1c;
  color:#E5E5E5;
  padding:72px 0 48px;
}

html.tj-emp-no-scroll,
body.tj-emp-no-scroll{
  overflow:hidden;
}

.tj-empresas-page *{ box-sizing:border-box; }

.tj-emp-hero{ padding:0 16px 40px; }
.tj-emp-hero-inner{ max-width:1100px; margin:0 auto; text-align:center; }
.tj-emp-hero-title{ font-size:52px; line-height:1.1; font-weight:800; margin:0 0 14px; }
.tj-emp-hero-title--white{ color:#fff; }
.tj-emp-hero-title--orange{ color:#FF7A1A; }
.tj-emp-hero-subtitle{ margin:0 auto 22px; max-width:760px; color:#A9A9A9; font-size:16px; line-height:1.5; }
.tj-emp-cta{
  border:0;
  cursor:pointer;
  background:#FF7A1A;
  color:#0E0E0E;
  font-weight:800;
  padding:14px 22px;
  border-radius:14px;
  box-shadow:0 10px 24px rgba(255,122,26,.20);
}
.tj-emp-cta:hover{ filter:brightness(.98); }

.tj-emp-section-title{ padding:8px 16px 18px; }
.tj-emp-section-title-inner{ max-width:1100px; margin:0 auto; text-align:center; }
.tj-emp-kicker{ margin:0 0 8px; letter-spacing:.22em; font-size:12px; color:#FF7A1A; }
.tj-emp-heading{ margin:0; font-size:34px; font-weight:800; color:#fff; }

.tj-emp-slider{ padding:0 16px; }
.tj-emp-slider-inner{ max-width:1100px; margin:0 auto; }
.tj-emp-slider-window{ overflow:hidden; border-radius:18px; }
.tj-emp-slider-track{ display:flex; transition:transform .45s ease; will-change:transform; }
.tj-emp-card{ position:relative; min-width:100%; height:420px; border-radius:18px; overflow:hidden; }
.tj-emp-card-bg{ position:absolute; inset:0; background-size:cover; background-position:center; }
.tj-emp-card-overlay{ position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.12) 100%);
}
.tj-emp-card-content{ position:relative; z-index:2; height:100%; display:flex; gap:22px; align-items:flex-start; padding:28px; }
.tj-emp-avatar{ width:54px; height:54px; border-radius:14px; background:#fff; color:#1c1c1c; display:flex; align-items:center; justify-content:center; font-weight:900; }
.tj-emp-name{ margin:0 0 6px; font-size:34px; font-weight:900; color:#fff; }
.tj-emp-tag{ display:inline-block; margin-bottom:12px; color:#FF7A1A; font-weight:700; font-size:12px; letter-spacing:.06em; }
.tj-emp-desc{ margin:0 0 18px; max-width:520px; color:#E5E5E5; line-height:1.4; }
.tj-emp-metrics{ display:flex; gap:34px; }
.tj-emp-metric-val{ font-size:28px; font-weight:900; color:#FF7A1A; }
.tj-emp-metric-lbl{ color:#A9A9A9; font-size:12px; margin-top:-2px; }

.tj-emp-slider-ui{ display:flex; align-items:center; justify-content:center; gap:14px; padding:18px 0 4px; }
.tj-emp-dots{ display:flex; gap:8px; }
.tj-emp-dot{ width:10px; height:10px; border-radius:999px; background:rgba(255,255,255,.18); border:0; cursor:pointer; }
.tj-emp-dot.is-active{ background:#FF7A1A; }
.tj-emp-nav{ display:flex; gap:10px; }
.tj-emp-navbtn{
  width:44px; height:44px; border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff; cursor:pointer;
}
.tj-emp-navbtn:hover{ background:rgba(255,255,255,.10); }

/* Modal (Empresas) — scoped */
.tj-emp-modal-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.65);
  justify-content:center;
  align-items:center;
  padding:20px;
  z-index:9999;
}
.tj-emp-modal-overlay.is-open{ display:flex; }

.tj-emp-modal{
  width:100%;
  max-width:520px;
  background:#1c1c1c;
  border-radius:24px;
  border:1px solid #333333;
  position:relative;
  padding:34px 26px 26px;
  box-shadow:0 22px 70px rgba(0,0,0,.55);
  animation:tjEmpModalIn .3s ease;
}
@keyframes tjEmpModalIn{
  from{ opacity:0; transform:scale(.92); }
  to{ opacity:1; transform:scale(1); }
}

.tj-emp-modal-close{
  position:absolute;
  top:18px;
  right:18px;
  width:34px;
  height:34px;
  border:0;
  background:transparent;
  color:#6b7280;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  transition:color .2s ease;
}
.tj-emp-modal-close:hover{ color:#ffffff; }

.tj-emp-modal-icon{
  width:70px;
  height:70px;
  border-radius:18px;
  background:linear-gradient(135deg, #FF7A1A, #E07700);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 22px;
}
.tj-emp-modal-icon svg{
  width:36px;
  height:36px;
  fill:#ffffff;
}

.tj-emp-modal-title{
  text-align:center;
  font-size:26px;
  font-weight:900;
  margin:0 0 8px;
  color:#ffffff;
}
.tj-emp-modal-subtitle{
  text-align:center;
  color:#9ca3af;
  font-size:14px;
  margin:0 0 26px;
}

.tj-emp-form{ display:block; }
.tj-emp-form-group{ margin-bottom:16px; }
.tj-emp-form-group label{
  display:block;
  color:#FF7A1A;
  font-size:12px;
  font-weight:900;
  margin:0 0 8px;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.tj-emp-form-group input{
  width:100%;
  background:#2a2a2a;
  border:1px solid #333333;
  border-radius:12px;
  padding:14px 16px;
  color:#ffffff;
  font-size:14px;
  outline:none;
  transition:border-color .2s ease;
}
.tj-emp-form-group input:focus{ border-color:#FF7A1A; }
.tj-emp-form-group input::placeholder{ color:#6b7280; }

.tj-emp-btn-submit{
  width:100%;
  background:linear-gradient(135deg, #FF7A1A, #E07700);
  border:0;
  border-radius:14px;
  padding:16px;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
  margin-top:10px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.tj-emp-btn-submit:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(255,122,26,.30);
}

/* lock scroll while modal open */
.tj-emp-no-scroll{ overflow:hidden !important; }

/* Keep mobile untouched: only tweak modal spacing gently on small screens */
@media (max-width: 768px){
  .tj-emp-modal{ padding:26px 18px 18px; border-radius:18px; }
  .tj-emp-modal-title{ font-size:22px; }
}
