*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #111827;
  line-height: 1.6;
  background-image:
    linear-gradient(rgba(217, 211, 211, 0.481), rgba(33, 48, 214, 0.223)),
    url('../assets/3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.view { display: none; }
.view.active { display: block; }


header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 45%, #2563eb 100%) #10045b;
  border-bottom: 1px solid #e5e7eb00;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #fefeff;
  letter-spacing: -0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: #eff6ff;
  color: #2563eb;
}

.menu-item { position: relative; }
.menu-item:hover .submenu { display: block; }

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  min-width: 180px;
  overflow: hidden;
}

.submenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  text-decoration: none;
  color: #111827;
  font-size: 14px;
  transition: background 0.12s;
}

.submenu a:hover { background: #f9fafb; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline {
  padding: 6px 16px;
  border: 1.5px solid #dde4f3;
  color: #fefefe;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-outline:hover { background: #757677; }

.btn-primary {
  padding: 6px 16px;
  border: 1.5px solid #dde4f3;
  color: #ffffff;
  background: #2563eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover { background: #757677; }


.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #040404;
  padding: 64px 32px;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hero-text { flex: 1; max-width: 600px; }

.hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #040404;
}

.hero-text p {
  font-size: 17px;
  opacity: 0.88;
  margin-bottom: 28px;
  color: black;
}

.search-box {
  display: flex;
  gap: 8px;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 12px;
  font-size: 14px;
  color: #111827;
  background: transparent;
}

.search-box button {
  padding: 9px 20px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.search-box button:hover { background: #1d4ed8; }

.hero-images {
  flex-shrink: 0;
  position: relative;
  width: 420px;
  height: 420px;
  left: 20%;
  top: -80px;
}



.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.icono-badge {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}


.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px;
}

.section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.container1 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.titulo-centrado {
  text-align: center;
}

.pasos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.paso {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.paso:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.paso-icono {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paso-icono svg {
  width: 26px;
  height: 26px;
}

.paso h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.paso p {
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 768px) {
  .pasos { grid-template-columns: 1fr; }
}


.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.category:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}


.jobs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.job-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.job-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.job-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.job-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-card-icon svg {
  width: 20px;
  height: 20px;
}

.job-card p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 5px;
}

.job-card .salary {
  font-size: 14px;
  font-weight: 600;
  color: #10b981;
  margin: 8px 0 16px;
}

.job-card button {
  width: 100%;
  padding: 9px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.job-card button:hover { background: #1d4ed8; }

.cta {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #ffffff;
  text-align: center;
  padding: 64px 32px;
}

.cta-con-foto {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.14) 0%, transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(255,255,255,0.12) 0%, transparent 42%),
    linear-gradient(135deg, #1e3a8a 0%, #1e40af 45%, #2563eb 100%);
}

.cta h2 {
  font-size: 29px;
  font-weight: 700;
  margin-bottom: 8px;
  color:black;

}

.cta p {
  opacity: 0.85;
  margin-bottom: 24px;
  font-size: 16px;
  
}

.cta button {
  padding: 12px 32px;
  background: #ffffff;
  color: #2563eb;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.cta button:hover { opacity: 0.9; }


footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  padding: 24px 32px;
  font-size: 13px;
  color: #6b7280;
}


.login-page {
  min-height: 100vh;
  display: flex;
}

.left-panel {
  flex: 1;
  background-image: url('../assets/la_oportunidad_436x400.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: #ffffff;
  overflow: hidden;
}

.left-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(30,64,175,0.78) 0%, rgba(37,99,235,0.68) 100%);
  z-index: 0;
}

.left-panel .brand {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.left-panel .overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 400px;
}

.left-panel .overlay h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  color:black;
}

.left-panel .overlay p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.65;
}


@media (max-width: 768px) {
  .left-panel { display: none; }
  .hero-images { display: none; }
  .search-box { flex-direction: column; }
  header { padding: 0 16px; }
}