/* =========================
   ESTILOS GENERALES (PC)
========================= */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #e1e3e4;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- LOGO ---------- */
#textLogo {
  cursor: pointer;
  max-width: 350px;
}

#contenidoLogo {
  color: var(--dark-color);
  text-decoration: none;
}

/* ---------- HEADER ---------- */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
}

.logo p {
  color: var(--text-light);
  font-size: 0.9rem;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li a {
  display: block;
  padding: 1rem;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  height: 550px;
  padding: 180px 0 100px;
  text-align: center;
}

.hero h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: white;
  margin: 1rem;
}

.btn-primary:hover {
  background-color: #2980b9;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ---------- SECCIONES ---------- */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--light-color);
}

.text-center {
  text-align: center;
}

.opportunities-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #2c3e50;
  margin-bottom: 2.2rem;
  text-align: center;
  font-weight: 400;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

#explorar-oportunidades {
  display: block;
  width: 216px;
  margin: auto;
}

.opportunities-content {
  padding: 0 0 2rem 0;
}

#opportunities-title {
  margin: 2rem;
  color: var(--primary-color);
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

/* ---------- PASOS ---------- */
.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.step {
  flex: 1;
  min-width: 250px;
  margin: 0 1rem 2rem;
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* ---------- TRABAJOS ---------- */
.jobs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2rem 0;
}

.job-card {
  flex: 1;
  min-width: 300px;
  margin: 0 1rem 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.company,
.location {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.card-title {
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.description {
  font-size: 15px;
  margin: 1rem 0 0 1.5rem;
  font-weight: 450;
}

/* ---------- SECCIÓN DIVIDIDA ---------- */
.split-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.split-content {
  flex: 1;
  min-width: 300px;
  padding-right: 2rem;
}

.split-image {
  flex: 1;
  min-width: 300px;
}

.split-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ---------- REGISTRO ---------- */
.registration-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.option {
  flex: 1;
  min-width: 300px;
  margin: 0 1rem 2rem;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* ---------- FOOTER ---------- */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  color: white;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ---------- INPUTS ---------- */
.div-control {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.registration-div,
.login-div {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* =========================
   RESPONSIVE (CELULAR)
========================= */
@media (max-width: 768px) {
  header {
    padding: 0.5rem 0;
  }

  #textLogo {
    max-width: 20rem;
    max-height: 30rem;
  }
  
  nav{
      width: 19.7rem;
  }

  nav ul {
    align-items: center;
    width: 9rem;
  }

  nav ul li a {
    padding: 0.5rem;
    font-weight: 400;
    font-size: 0.8rem;
  }

  .hero {
    height: 400px;
    padding: 120px 0 60px;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .step,
  .job-card,
  .option {
    margin: 0 0 2rem;
  }
}

