/* ──────────────────────────────────────────────────────────────
   trabaja-con-nosotros/index.css
   Estilos para la página "Trabaja con nosotros"
   ────────────────────────────────────────────────────────────── */

/* ▸ HERO TRABAJA CON NOSOTROS ◂ */
.hero-trabaja {
  background: linear-gradient(135deg, #1fb6d3, #C448EB);
  padding: 80px 20px 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-trabaja::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-trabaja-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-trabaja h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-trabaja-desc {
  font-size: 1.3rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* ▸ FORMULARIO ◂ */
.formulario-trabajo {
  padding: 80px 20px;
  background: #f8f9fa;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.formulario-header {
  text-align: center;
  margin-bottom: 50px;
}

.formulario-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
}

.formulario-header p {
  font-size: 1.1rem;
  color: #666;
}

.formulario-trabajo-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ▸ GRUPOS DE FORMULARIO ◂ */
.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1fb6d3;
  box-shadow: 0 0 0 3px rgba(31, 182, 211, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ▸ RADIO BUTTONS ◂ */
.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: white;
  flex: 1;
  min-width: 200px;
}

.radio-option:hover {
  border-color: #1fb6d3;
  background: #f8fdff;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
  border-color: #1fb6d3;
  background: #1fb6d3;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.radio-text {
  font-weight: 500;
  color: #333;
}

/* ▸ SUBIDA DE ARCHIVOS ◂ */
.file-upload-container {
  position: relative;
}

.file-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
  text-align: center;
}

.file-upload-label:hover {
  border-color: #1fb6d3;
  background: #f8fdff;
}

.file-upload-label i {
  font-size: 2rem;
  color: #1fb6d3;
  margin-bottom: 10px;
}

.file-upload-text {
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.file-upload-hint {
  font-size: 0.9rem;
  color: #666;
}

.file-preview {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #e8f5e8;
  border: 2px solid #4caf50;
  border-radius: 8px;
  margin-top: 10px;
}

.file-preview i {
  color: #4caf50;
  margin-right: 10px;
  font-size: 1.2rem;
}

.file-name {
  flex: 1;
  font-weight: 500;
  color: #333;
}

.file-remove {
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.file-remove:hover {
  background: #cc0000;
  transform: scale(1.1);
}

/* ▸ BOTÓN DE ENVÍO ◂ */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.boton-enviar {
  background: linear-gradient(135deg, #1fb6d3, #C448EB);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.boton-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 182, 211, 0.3);
}

.boton-enviar:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ▸ MENSAJES DE ESTADO ◂ */
.form-message {
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ▸ INFORMACIÓN ADICIONAL ◂ */
.info-trabajo {
  padding: 80px 20px;
  background: white;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.info-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 15px;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1fb6d3, #C448EB);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.info-icon i {
  font-size: 2rem;
  color: white;
}

.info-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
}

.info-card p {
  color: #666;
  line-height: 1.6;
}

/* ▸ RESPONSIVE ◂ */
@media (max-width: 768px) {
  .hero-trabaja h1 {
    font-size: 2.5rem;
  }
  
  .hero-trabaja-desc {
    font-size: 1.1rem;
  }
  
  .formulario-trabajo-form {
    padding: 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .radio-group {
    flex-direction: column;
  }
  
  .radio-option {
    min-width: auto;
  }
  
  .formulario-header h2 {
    font-size: 2rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .info-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero-trabaja {
    padding: 60px 15px 40px;
  }
  
  .hero-trabaja h1 {
    font-size: 2rem;
  }
  
  .formulario-trabajo {
    padding: 40px 15px;
  }
  
  .info-trabajo {
    padding: 40px 15px;
  }
}
