/* Empleos CSS - Corregido */

/* Variables CSS */
:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --dark: #292F36;
  --light: #88bd88;
  --accent: #FFE66D;
  --font: 'Poppins', sans-serif;
  --brand-text-font: 'Bagel Fat One', cursive;
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Contenedores principales */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

.logo-font {
  font-family: var(--brand-text-font);
  color: var(--primary);
}

/* Hero Section */
.empleos-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}

.empleos-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../../assets/img/hero-bg.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.empleos-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.empleos-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.empleos-hero .hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-visual {
  display: none; /* Ocultar en esta versión */
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: #ffdd44;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border: 1px solid #f0f0f0;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: white;
}

.benefit-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
}

.benefit-card p {
  color: #666;
  line-height: 1.6;
}

/* Positions Grid */
.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.position-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.position-card.featured {
  border: 2px solid var(--accent);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.position-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.position-header h3 {
  color: var(--dark);
  font-size: 1.4rem;
  font-weight: 600;
}

.position-type {
  background: #e3f2fd;
  color: #1976d2;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.position-details {
  margin: 15px 0;
}

.position-details p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.position-details i {
  color: var(--primary);
  width: 16px;
}

.position-description {
  margin: 15px 0 25px;
}

.position-description p {
  color: #666;
  line-height: 1.6;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.step h3 {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 600;
}

.step p {
  color: #666;
  line-height: 1.6;
}

/* Tracking Form */
.tracking-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .empleos-hero h1 {
    font-size: 2.5rem;
  }
  
  .empleos-hero .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .benefits-grid,
  .positions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .position-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 40px 15px;
  }
  
  .empleos-hero {
    padding: 60px 15px;
  }
  
  .empleos-hero h1 {
    font-size: 2rem;
  }
  
  .empleos-hero .hero-subtitle {
    font-size: 1rem;
  }
  
  .benefit-card,
  .position-card {
    padding: 20px;
  }
}